ethyca-fides 2.72.3rc1__py2.py3-none-any.whl → 2.73.0rc0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ethyca-fides might be problematic. Click here for more details.
- {ethyca_fides-2.72.3rc1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/METADATA +2 -2
- {ethyca_fides-2.72.3rc1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/RECORD +271 -259
- fides/_version.py +3 -3
- fides/api/alembic/migrations/versions/a55e12c2c2df_add_tagging_instructions_to_data_.py +29 -0
- fides/api/api/v1/endpoints/generic_overrides.py +70 -1
- fides/api/models/privacy_preference.py +1 -0
- fides/api/models/sql_models.py +3 -0
- fides/api/schemas/taxonomy_extensions.py +8 -0
- fides/api/service/async_dsr/strategies/async_dsr_strategy_polling.py +1 -0
- fides/api/service/connectors/query_configs/saas_query_config.py +141 -78
- fides/api/service/connectors/saas_connector.py +26 -39
- fides/api/service/privacy_request/request_service.py +1 -1
- fides/api/util/saas_util.py +27 -1
- fides/config/execution_settings.py +1 -1
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/Y4fC3QVMk1ujcOb92jMd8/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{1099-d1b22e891705eaf8.js → 1099-fa8b82f521b23cce.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1115-584dac093cef6cc3.js → 1115-d7ce851b36722c41.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1437-4604a69888906ec0.js → 1438-62df8751f76235e7.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1817-bfe4139324aa0279.js → 1817-0de0312294019817.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1975.50599b6774562644.js → 1975.6ca0e76b5a3d1955.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{2040-8eead9d29546a50f.js → 2040-a18cc21821e2d121.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{2397-92f628c53688925b.js → 2397-b9c1b4a7f11e862d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/2921-a5dac2eacdcc32ff.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/2962-342ad1b4ab402ded.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3080-218ac9199ab43f37.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3377-80612c111e047cb6.js → 3377-c2c9eb177bec8719.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/3446-f40c352c43ac950c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3696-e4abb6a922b954a2.js → 3696-21e3dec6c2023875.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3700-1f9f6e5ebfa3ab0a.js → 3700-940e5630ee5efe10.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/3729-a1aaa30987ee9f28.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3772-b945c6839e43c753.js → 3772-bb84842df51d3f3f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/3872-25c16c5a21152b31.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3873-d759bbe7137ae8c2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3923-c1e41661ebf57178.js → 3923-7f0aa36c9e09cedf.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{401-c2f1e4ea077f1f26.js → 401-874303feb3899562.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/4322-2b986cc150c42771.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{4496-8204168bae78092d.js → 4496-903c81292ffd8f91.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5185-bf5655b5d697b714.js → 5185-fc171b6acce9f915.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5258-63325c03319e87dc.js → 5258-cf0d2c4c4d55a94b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/5327-282ef735516d3b89.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{549-3e3b8d01bc984f96.js → 549-2d9bde37e5fe13eb.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5643-7800464c8df7a78e.js → 5643-48a5e0ad8b9fc3f7.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5783-7deeb7de5d2db4c4.js → 5783-63912bab7f80b0f8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/6084-023f8c6e65faeb9c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6419-11d67f7fd4e2f247.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6853-c348f6e95f987cbf.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6882-ec4429aef277a3a4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{6954-8b106311a3be35f4.js → 6954-c44ac4e70e777c2f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/7170-4ac982fffdba3a55.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7245-120f536e09decb85.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{7476-08717f00da5f89ab.js → 7476-4234fb244676ec13.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7488-bad160a2bfd89871.js → 7488-2db0992474f8056e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7630-775c578fa8109b0f.js → 7630-d7bd74d0cfdb22df.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7773-24899908bf8ff659.js → 7773-6dce6187fe2c6984.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{796-6fe49d134f660156.js → 796-fae64888b8b2f369.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{8011-c23d609ed3f0efa5.js → 8011-6e40c969c9fa7d35.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{8212-67ac884660ddb63a.js → 8212-18d8da0f9208f978.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/8373-d6c02a17fb0b118e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/8563-fe06e1fa6d795938.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/8853-28242f6079441663.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9676.1ea49d4b6e0541f2.js → 9676.704cc210f59d0083.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9826-1f42934a2863992e.js → 9826-aecc5ddec86989dc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9899-63998972698a49fb.js → 9899-303921e3d0697960.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{404-962d132471cd41ba.js → 404-c31cef0ce3fbeebf.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-9de54d6135682f7b.js → _app-6f721c56270cb96e.js} +11 -11
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-b9dbc9ac030f0490.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-e2a5c951347195e3.js → multiple-f706664770dd3e7f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-3f0d8698f01aabc5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-7c829e58485fc821.js → add-vendors-fcd031b2b775e4f3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{configure-5c58b69dd473cc06.js → configure-0bd2eb0110873c4d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-58460ac9c1dface5.js → [id]-53f6037b25dd5ccb.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{new-a5e738a234dadc7e.js → new-e74cb5ea87f15b40.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-b6b2d50d894cefa5.js → privacy-experience-ae8dff75e1c6c413.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-25ce8366e689363b.js → [id]-b40fa30ca73e50c2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-faa457089616711a.js → new-7197fadcd57b623d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-30cecb4656886008.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{properties-45a2901a35edc8f7.js → properties-5cba88e6839a087d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-f2690c381c1d1a52.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{consent-a7a4e419e4086033.js → consent-289d21aa6c42828b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-89f202662b70059a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-6c19b6be18db5972.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects-aac70cc10a651e80.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-14dd38964617db2b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources-8e1d671ff51386ff.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-79d06a04698c47c0.js → data-catalog-75403467491a251b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/datastore/[monitorId]-fb69b66faffc8f4a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/datastore-1b0ed3b3ceedfd94.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website/[monitorId]/[systemId]-2978a8aa990ec3a9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website/[monitorId]-968e1c27b0970d67.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website-60ad14c879b4fe27.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-46b2cdceea3993c8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-4c18f83478bf5db2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/detection/{[resourceUrn]-260f5deb68966b70.js → [resourceUrn]-27227f5c402b3a92.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{detection-d735dab3d9f3adc5.js → detection-1fe30896a5df2b9a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery/{[resourceUrn]-c7f055275a2c503f.js → [resourceUrn]-e17f809058842014.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{discovery-b1cfd55c7e127865.js → discovery-2f73cff60a628e42.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-d1bb19fe4ef393dc.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-e04a4e16ccf32aef.js → [...subfieldNames]-58c3f4c0b490264b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-a40c4febe16a0a6d.js → [collectionName]-74290432e74fcdc5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{[datasetId]-f500a77eefb057e7.js → [datasetId]-8dad45f070a06609.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-5c20080cdb053b1d.js → new-6aed6dc24c3be001.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-96355a68e8c28fe8.js → dataset-fdaec997c1b0753f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-448729ee9d1d78c3.js → [id]-63c4805e40673c60.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-42c720ec5c941573.js → new-b5a49743387eecef.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-8f0804d9a38688a4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{index-ca794e85c16cba67.js → index-363b091a4d1d70ad.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-d26992b1651b74ae.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-401b0b6b9d447d00.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/new-privacy-requests-d1152cbc3c1bbbbb.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/digests/{[id]-058125922d1eaeec.js → [id]-0e4e4e7110362022.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/digests/{new-7a5f76708c79f714.js → new-2e15f6272e9aaeb6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/{digests-31bed1f86b89d1d8.js → digests-65626dfcfacdc605.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers/{[key]-d08f3a7cd2d011ec.js → [key]-768c4e2f6b05304c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers/{new-cb2c7fbc26886052.js → new-2d57a70e4d32e651.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers-e71a1d0f7633a968.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates/{[id]-a6ae72abe59ff830.js → [id]-1b31764f520fbbc5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates/{add-template-a3e4b5b575b31be1.js → add-template-4c74456b6677bf07.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates-5deb80abd6156f7f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{notifications-9644c0f088a01fea.js → notifications-8d8716dda9a6f277.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-52b1572442a20ab4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/AntForm-a0437ba647d59799.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikAntFormItem-87285c544450ec46.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-57997dbd451a6eed.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-65009783e0404153.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/forms-eafef007c179340f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/{table-migration-11a70bcfa672ce8f.js → table-migration-7933a824a45d0ee6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-27c56466eab98b15.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{storage-24a8c2ab57625556.js → storage-16f77a6291bb02fe.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{configure-1926359bdf5d6c30.js → configure-d2b3293ab496f7bc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-af4f48d10926e4a4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/{[id]-47118b9976ad7212.js → [id]-dd3c3d780533a9c2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-2e6b0d8b409ba1fd.js → add-property-d1af260c3ddbf68b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{properties-32486c25255c9cb1.js → properties-9bb7fe3577402008.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-479401ebaf1160ab.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-35626e9d8e0a3ca2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-38b4b0d710d162bc.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields/{[id]-a270325109398f48.js → [id]-b5140de4431a7ff5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields/{new-2e0c8e249f286427.js → new-dcc16459e754fbbd.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-4171abc37fe1475c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domain-records-e3dcef1ec8cf8b9e.js → domain-records-3843fbaf5bc433f1.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domains-2e88cc7a6074a28b.js → domains-ea549fabce96fde4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{email-templates-7469d2f85396c693.js → email-templates-0fe318a9dfc1f593.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-20789aa0c84d544e.js → locations-c42c856510cad6fd.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-f84a13eb9688cb5f.js → organization-e4c552a5797c3fa5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{privacy-requests-b72df6f3d460125f.js → privacy-requests-2790d31b59cc3c74.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-aa02bc818e089c49.js → regulations-3c608512c415fca4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-5be9ce7a745ce908.js → test-datasets-e0e1a5142e41e9f2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-2fc7c0d3988427b3.js → [id]-70820c4199cb11cb.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-753ee6b9bb80a657.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-0cae23a599830708.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-6217433a26599521.js → [id]-75d96422db98196f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-b6c4bf35c003965d.js → user-management-598f98fd88505e1e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{webpack-8eac1ea5c825c8b4.js → webpack-0a3b419ab682b8f9.js} +1 -1
- fides/ui-build/static/admin/_next/static/css/012b10627a654d5c.css +1 -0
- fides/ui-build/static/admin/_next/static/css/{f38242c11f7fea64.css → 05d05fc31d09638b.css} +1 -1
- fides/ui-build/static/admin/_next/static/css/0fd6e0884cfcc5f3.css +1 -0
- fides/ui-build/static/admin/_next/static/css/14ba79c49597d37a.css +1 -0
- fides/ui-build/static/admin/_next/static/css/{34a7eb08b86ddb57.css → 3d6582469f7d56e0.css} +1 -1
- fides/ui-build/static/admin/_next/static/css/4861ca3e088f2d05.css +1 -0
- fides/ui-build/static/admin/_next/static/css/8317e07483c73e4f.css +1 -0
- fides/ui-build/static/admin/_next/static/css/a1800714b486e230.css +1 -0
- fides/ui-build/static/admin/_next/static/css/af32fcac7a177a0e.css +1 -0
- fides/ui-build/static/admin/_next/static/css/cb417f0587918f85.css +1 -0
- fides/ui-build/static/admin/_next/static/css/dd15c278b964de80.css +1 -0
- fides/ui-build/static/admin/_next/static/css/{5f393dea1c0d031c.css → f89607996ad54f4b.css} +1 -1
- fides/ui-build/static/admin/_next/static/css/f9a2a44d3d34c904.css +1 -0
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/datastore/[monitorId].html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center/datastore.html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId]/[systemId].html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId].html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center/website.html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/lib/fides-ext-gpp.js +1 -1
- fides/ui-build/static/admin/lib/fides-headless.js +1 -1
- fides/ui-build/static/admin/lib/fides-preview.js +1 -1
- fides/ui-build/static/admin/lib/fides-tcf.js +3 -3
- fides/ui-build/static/admin/lib/fides.js +3 -3
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/new-privacy-requests.html +1 -0
- fides/ui-build/static/admin/notifications/digests/[id].html +1 -1
- fides/ui-build/static/admin/notifications/digests/new.html +1 -1
- fides/ui-build/static/admin/notifications/digests.html +1 -1
- fides/ui-build/static/admin/notifications/providers/[key].html +1 -1
- fides/ui-build/static/admin/notifications/providers/new.html +1 -1
- fides/ui-build/static/admin/notifications/providers.html +1 -1
- fides/ui-build/static/admin/notifications/templates/[id].html +1 -1
- fides/ui-build/static/admin/notifications/templates/add-template.html +1 -1
- fides/ui-build/static/admin/notifications/templates.html +1 -1
- fides/ui-build/static/admin/notifications.html +1 -1
- fides/ui-build/static/admin/poc/ant-components.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/AntForm.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikField.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html +1 -1
- fides/ui-build/static/admin/poc/forms.html +1 -1
- fides/ui-build/static/admin/poc/table-migration.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/settings/about/alpha.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields/[id].html +1 -1
- fides/ui-build/static/admin/settings/custom-fields/new.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/privacy-requests.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/155-bf4e3ffb18f29226.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1896-49010da5c2705fc5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2150-930ffaf2c4718edc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/255-1bc0cbef7a59cdc6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2921-9b596ba7f5267afc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2962-e92d525bf570a9a3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3550-83cb70e80cbe41ba.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4817-066598cef25d7e88.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5279-a05b93a8db6a3e79.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6277-970bb31d9b0c0007.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6315-4a2151f87c7eefb6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6419-9b3a86af57c86791.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6853-6d64d627df6f8194.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7245-53a20677c49b41c8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8373-43b6df89a2085d6b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9046-3a08a09a598396ca.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9070-6d3aaaf5aa5913ba.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9330-6eb11127296c54c2.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9682-65d253d54f84f6f2.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9965-4709f43bf62af9a9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-055d058d16c02957.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-0058fe05f2d23d1a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-a7fe3925771bb6c3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-e9ec351281c54822.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-3b59925f6c9a13a9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-ffb6e0fe6712342e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects-3c935e93208d2bdd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-8d7d9152e215c3b6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources-96be972a983616e3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-e50e9c8e11412b2a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/data-explorer-09a3a992e564f971.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-878aa4ab0746df5b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-a2e9c0bfa67c633d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-6cc1ba1f102ae77d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-18f255a8bbeecaa4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-a8fc95a46de38b35.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-2f1dc17eba11fb4e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-bbec0140433a199b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers-40b9f1f70d27b660.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates-4918f86f7300ac9b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-39b5586d9c8b64aa.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/AntForm-5163f3213377bd35.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikAntFormItem-0b1547cd9b114c6b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-da562cba4cffd6bb.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-3a587676869d2ef6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/forms-defc3b917306a6d8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-787621468b5a7619.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-da634187d8201ab3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-e410d13a2b35cff4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-aec1bf8a409ec75f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-4c20c08ca7ea8cff.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-8e4a76376927afd5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-86f5557384124f79.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-2589729c47976357.js +0 -1
- fides/ui-build/static/admin/_next/static/css/23cf870196941c9a.css +0 -1
- fides/ui-build/static/admin/_next/static/css/304c6f148886a8d4.css +0 -1
- fides/ui-build/static/admin/_next/static/css/de09ed8a0adf1ca2.css +0 -1
- fides/ui-build/static/admin/_next/static/hRLR7azkI57zC2PfdYodO/_buildManifest.js +0 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +0 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/data-explorer.html +0 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +0 -1
- {ethyca_fides-2.72.3rc1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.72.3rc1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.72.3rc1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.72.3rc1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{hRLR7azkI57zC2PfdYodO → Y4fC3QVMk1ujcOb92jMd8}/_ssgManifest.js +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/{new-e399005c3bb4db1b.js → new-bc1568bb47d198a9.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8012],{43376:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/add-systems/manual",function(){return s(33688)}])},33688:function(e,t,s){"use strict";s.r(t);var a=s(24246),r=s(87949),n=s(86677),i=s(27378),o=s(16134),u=s(77213),d=s(77830),l=s(58754),m=s(41337),c=s(57865),h=s(72774),y=s(21103);let b=e=>{let{connector:t}=e;return(0,a.jsxs)(r.xuv,{display:"flex",mb:4,alignItems:"center","data-testid":"header",children:[(0,a.jsx)(m.ZP,{data:t?(0,m.PT)(t):(0,m.Br)("ethyca"),className:"mr-2"}),(0,a.jsxs)(r.X6q,{fontSize:"md",children:["Describe your ",t?t.human_readable:"new"," system"]})]})};t.default=()=>{let{connectorType:e}=(0,n.useRouter)().query,{tabData:t,activeKey:s,onTabChange:m}=(0,y.Z)({isCreate:!0}),f=(0,i.useMemo)(()=>{if(e)return JSON.parse(Array.isArray(e)?e[0]:e)},[e]),x=(0,o.C)(c.gU);return(0,a.jsxs)(u.Z,{title:"Describe your system",children:[(0,a.jsx)(l.Z,{heading:"Add systems",breadcrumbItems:[{title:"Add systems",href:d.xo},{title:"New system"}]}),(0,a.jsx)(b,{connector:f}),x?(0,a.jsx)(h.Z,{}):null,(0,a.jsxs)(r.xuv,{w:{base:"100%",md:"75%"},children:[(0,a.jsx)(r.xvT,{fontSize:"sm",mb:8,children:"Systems are anything that might store or process data in your organization, from a web application, to a database or data warehouse. Describe your system below to register it to the map. You may optionally complete data entry for the system using the additional tabs to navigate the sections."}),(0,a.jsx)(r.A5g,{items:t,activeKey:s,onChange:m})]})]})}}},function(e){e.O(0,[431,8765,9278,5163,699,5277,6344,7245,401,9899,1438,7773,3700,2888,9774,179],function(){return e(e.s=43376)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5822],{87321:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/add-systems/multiple",function(){return t(17035)}])},17035:function(e,s,t){"use strict";t.r(s);var n=t(24246),o=t(
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5822],{87321:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/add-systems/multiple",function(){return t(17035)}])},17035:function(e,s,t){"use strict";t.r(s);var n=t(24246),o=t(87949),d=t(79894),i=t.n(d),r=t(77213),a=t(77830),u=t(58754),l=t(15826);s.default=()=>(0,n.jsxs)(r.Z,{title:"Choose vendors",children:[(0,n.jsx)(u.Z,{heading:"Add systems",breadcrumbItems:[{title:"Add systems",href:a.xo},{title:"Choose vendors"}]}),(0,n.jsx)(o.xuv,{w:{base:"100%",md:"75%"},children:(0,n.jsxs)(o.xvT,{fontSize:"sm",mb:8,children:["Select your vendors below and they will be added as systems to your data map. Fides Compass will automatically populate the system information so that you can quickly configure privacy requests and consent. Add custom systems or unlisted vendors on the ",(0,n.jsx)(i(),{href:a.N5,passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(o.FKJ,{children:"Add a system"})})," ","page."]})}),(0,n.jsx)(l.$,{redirectRoute:a.oG})]})}},function(e){e.O(0,[401,3923,796,2888,9774,179],function(){return e(e.s=87321)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5023],{74245:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/add-systems",function(){return n(5923)}])},69e3:function(e,t,n){"use strict";var s=n(24246),i=n(87949),a=n(91507),r=n.n(a);t.Z=e=>{let{color:t,description:n,title:a,icon:l}=e;return(0,s.jsx)(i.xuv,{borderLeft:"9px solid ".concat(t),borderRadius:"6px",className:r().container,children:(0,s.jsxs)(i.V4A,{className:r().card,"data-testid":"tile-".concat(a),children:[(0,s.jsxs)("div",{className:"mb-1 flex items-center gap-1.5",children:[l,(0,s.jsx)(i.AntTypography.Title,{level:3,children:a})]}),(0,s.jsx)(i.AntTypography.Text,{children:n})]})})}},77867:function(e,t,n){"use strict";var s=n(24246),i=n(87949);t.Z=e=>{let{connected:t,...n}=e,a="red.500";return null==t?a="gray.300":t&&(a="green.500"),(0,s.jsx)(i.xuv,{width:"12px",height:"12px",borderRadius:"6px",backgroundColor:a,...n})}},59301:function(e,t,n){"use strict";var s=n(24246);let{Link:i}=n(87949).AntTypography;t.Z=e=>{let{children:t,...n}=e;return(0,s.jsx)(i,{target:"_blank",rel:"noopener noreferrer",...n,children:t})}},77213:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(24246),i=n(87949),a=n(88038),r=n.n(a),l=n(86677);n(27378);var o=n(25980),c=n(90867),d=n(42478),u=n(77830),m=()=>{let e=(0,l.useRouter)();return(0,s.jsx)(i.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,s.jsxs)(i.xuv,{children:[(0,s.jsxs)(i.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,s.jsx)(i.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,s.jsx)(i.wpx,{onClick:()=>{e.push(u.AD)},children:"Configure"})]}),(0,s.jsxs)(i.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},h=e=>{let{children:t,title:n,padded:a=!0,mainProps:u}=e,h=(0,o.hz)(),x=(0,l.useRouter)(),g="/privacy-requests"===x.pathname||"/datastore-connection"===x.pathname,p=!(h.flags.messagingConfiguration&&g),{data:y}=(0,d.JE)(void 0,{skip:p}),{data:f}=(0,c.PW)(void 0,{skip:p}),j=h.flags.messagingConfiguration&&(!y||!f)&&g;return(0,s.jsxs)(i.kCb,{"data-testid":n,direction:"column",h:"100vh",children:[(0,s.jsxs)(r(),{children:[(0,s.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,s.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,s.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,s.jsxs)(i.kCb,{as:"main",direction:"column",py:a?6:0,px:a?10:0,h:a?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...u,children:[j?(0,s.jsx)(m,{}):null,t]})]})}},58754:function(e,t,n){"use strict";var s=n(24246),i=n(87949),a=n(70788);t.Z=e=>{let{heading:t,breadcrumbItems:n,isSticky:r=!0,children:l,rightContent:o,style:c,...d}=e;return(0,s.jsxs)("div",{...d,style:r?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,s.jsxs)(i.jqI,{justify:"space-between",children:["string"==typeof t?(0,s.jsx)(i.lQT,{className:n||l?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,o&&(0,s.jsx)("div",{"data-testid":"page-header-right-content",children:o})]}),!!n&&(0,s.jsx)(a.m,{className:l?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),l]})}},97181:function(e,t,n){"use strict";n.d(t,{d:function(){return c}});var s=n(24246),i=n(87949),a=n(34090),r=n(27378),l=n(46238),o=n(40324);let c=e=>{let{name:t,label:n,labelProps:c,tooltip:d,isRequired:u,layout:m="inline",helperText:h,...x}=e,[g,p,{setValue:y}]=(0,a.U$)(t),f=!!(p.touched&&p.error),[j,v]=(0,r.useState)("");g.value||"tags"!==x.mode&&"multiple"!==x.mode||(g.value=[]),"tags"===x.mode&&"string"==typeof g.value&&(g.value=[g.value]);let b="tags"===x.mode?(e,t)=>e?e.value!==j||g.value.includes(j)?x.optionRender?x.optionRender(e,t):e.label:'Create "'.concat(j,'"'):void 0:x.optionRender||void 0,C=e=>{v(e),x.onSearch&&x.onSearch(e)},w=(e,t)=>{y(e),x.onChange&&x.onChange(e,t)};return"inline"===m?(0,s.jsx)(i.NIc,{isInvalid:f,isRequired:u,children:(0,s.jsxs)(i.rjZ,{templateColumns:n?"1fr 3fr":"1fr",children:[n?(0,s.jsx)(o.__,{htmlFor:x.id||t,...c,children:n}):null,(0,s.jsxs)(i.jqI,{align:"center",children:[(0,s.jsxs)(i.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,s.jsx)(i.WPr,{...g,id:x.id||t,"data-testid":"controlled-select-".concat(g.name),...x,optionRender:b,onSearch:"tags"===x.mode?C:void 0,onChange:w,value:g.value||void 0,status:f?"error":void 0}),h&&(0,s.jsx)(i.Q6r,{children:h}),(0,s.jsx)(o.Bc,{isInvalid:f,message:p.error,fieldName:g.name})]}),(0,s.jsx)(l.b,{label:d,className:f?"mt-2 self-start":void 0})]})]})}):(0,s.jsx)(i.NIc,{isInvalid:f,isRequired:u,children:(0,s.jsxs)(i.gCW,{alignItems:"start",children:[(0,s.jsxs)(i.jqI,{align:"center",children:[n?(0,s.jsx)(o.__,{htmlFor:x.id||t,fontSize:"xs",my:0,mr:1,...c,children:n}):null,(0,s.jsx)(l.b,{label:d})]}),(0,s.jsx)(i.WPr,{...g,id:x.id||t,"data-testid":"controlled-select-".concat(g.name),...x,optionRender:b,onSearch:"tags"===x.mode?C:void 0,onChange:w,value:g.value||void 0,status:f?"error":void 0}),h&&(0,s.jsx)(i.Q6r,{style:{marginTop:0},children:h}),(0,s.jsx)(o.Bc,{isInvalid:f,message:p.error,fieldName:g.name})]})})}},16220:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});var s=n(25980),i=n(77830);let a=()=>({systemOrDatamapRoute:(0,s.hz)().plus?i.oG:i.So})},57899:function(e,t,n){"use strict";var s=n(24246),i=n(87949),a=n(27378);t.Z=e=>{let{handleConfirm:t,isOpen:n,onClose:r,title:l,message:o,confirmButtonText:c="Continue",cancelButtonText:d="Cancel"}=e,u=(0,a.useRef)(null);return(0,s.jsx)(i.aRR,{isOpen:n,leastDestructiveRef:u,onClose:r,children:(0,s.jsx)(i.dhV,{children:(0,s.jsxs)(i._Tf,{alignItems:"center",textAlign:"center",children:[(0,s.jsx)(i.aNP,{marginTop:3}),(0,s.jsx)(i.fYl,{fontSize:"lg",fontWeight:"bold",children:l}),(0,s.jsx)(i.iPF,{pt:0,children:o}),(0,s.jsxs)(i.xoY,{children:[(0,s.jsx)(i.wpx,{ref:u,onClick:r,size:"large",children:d}),(0,s.jsx)(i.wpx,{onClick:()=>t(),type:"primary",size:"large",className:"ml-3","data-testid":"warning-modal-confirm-btn",children:c})]})]})})})}},70788:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var s=n(24246),i=n(87949),a=n(79894),r=n.n(a),l=n(27378);let{Text:o}=i.AntTypography,c=e=>{let{items:t,...n}=e,a=(0,l.useMemo)(()=>null==t?void 0:t.map((e,n)=>{let a=n===t.length-1,l={...e},c=l.onClick&&!l.href;return("string"==typeof l.title&&(l.title=(0,s.jsx)(o,{style:{color:"inherit",maxWidth:a?void 0:400},ellipsis:!a,id:a?"breadcrumb-current-page":void 0,children:l.title})),c)?l.title=(0,s.jsx)(i.wpx,{type:"text",size:"small",icon:l.icon,onClick:l.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:l.title}):(l.icon&&(l.title=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"anticon align-text-bottom",children:l.icon}),l.title]})),l.href&&l.title&&(l.title=(0,s.jsx)(r(),{href:l.href,className:"ant-breadcrumb-link",children:l.title}),delete l.href)),l}),[t]);return(0,s.jsx)(i.zrq,{items:a,...n})}},42478:function(e,t,n){"use strict";n.d(t,{FU:function(){return c},JE:function(){return i},Ki:function(){return u},SU:function(){return m},W:function(){return h},h9:function(){return a},jc:function(){return s},qt:function(){return o},sn:function(){return d}});let{useGetEmailInviteStatusQuery:s,useGetActiveMessagingProviderQuery:i,useCreateMessagingConfigurationMutation:a,useCreateMessagingConfigurationSecretsMutation:r,useGetMessagingConfigurationDetailsQuery:l,useGetMessagingConfigurationsQuery:o,useGetMessagingConfigurationByKeyQuery:c,useUpdateMessagingConfigurationByKeyMutation:d,useUpdateMessagingConfigurationSecretsByKeyMutation:u,useCreateTestConnectionMessageMutation:m,useDeleteMessagingConfigurationByKeyMutation:h}=n(78780).u.injectEndpoints({endpoints:e=>({getEmailInviteStatus:e.query({query:()=>({url:"/messaging/email-invite/status"}),providesTags:()=>["Email Invite Status"]}),createMessagingConfiguration:e.mutation({query:e=>({url:"messaging/config",method:"POST",body:e}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getActiveMessagingProvider:e.query({queryFn:async(e,t,n,s)=>{let i=await s({url:"messaging/default/active"});return i.error&&404===i.error.status?{data:null}:i},providesTags:["Messaging Config"]}),createMessagingConfigurationSecrets:e.mutation({query:e=>({url:"messaging/default/".concat(e.service_type,"/secret"),method:"PUT",body:e.details}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getMessagingConfigurationDetails:e.query({query:e=>({url:"messaging/default/".concat(e.type)}),providesTags:["Messaging Config"]}),getMessagingConfigurations:e.query({query:()=>({url:"messaging/config"}),providesTags:["Messaging Config"]}),getMessagingConfigurationByKey:e.query({query:e=>({url:"messaging/config/".concat(e.key)}),providesTags:["Messaging Config"]}),createTestConnectionMessage:e.mutation({query:e=>({url:"messaging/test/".concat(e.service_type),method:"POST",body:e.details}),invalidatesTags:["Messaging Config"]}),updateMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"PATCH",body:e.config}),invalidatesTags:["Messaging Config","Configuration Settings"]}),updateMessagingConfigurationSecretsByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key,"/secret"),method:"PUT",body:e.secrets}),invalidatesTags:["Messaging Config","Configuration Settings"]}),deleteMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"DELETE"}),invalidatesTags:["Messaging Config","Configuration Settings"]})})})},5923:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eu}});var s=n(24246),i=n(27378),a=n(16134),r=n(77213),l=n(58754),o=n(15677),c=n(87949),d=n(3124),u=n.n(d),m=n(86677),h=n(25980),x=n(14048),g=n(58452);let p=e=>{let{onCancel:t,onConfirm:n,isOpen:i,onClose:a}=e;return(0,s.jsx)(g.Z,{isOpen:i,onClose:a,onCancel:t,isCentered:!0,title:"Upgrade to choose vendors",message:"To choose vendors and have system information auto-populated using Fides Compass, you will need to upgrade Fides. Meanwhile, you can manually add individual systems using the button below.",cancelButtonText:"Add vendors manually",continueButtonText:"Upgrade",onConfirm:n})};var y=n(77830),f=n(65735),j=n(69e3),v=n(77867),b=n(32885),C=e=>{var t;let{onClick:n}=e,{plus:i,dataFlowScanning:r}=(0,h.hz)(),l=(0,a.C)(b.bw),o=null!==(t=null==l?void 0:l.cluster_health)&&void 0!==t?t:"unknown",d=o===f.wW.HEALTHY;if(!i)return null;let m=null;return r?d||(m="Your cluster appears not to be healthy. Its status is ".concat(o,".")):m="The data flow scanner is not enabled, please check your configuration.",(0,s.jsxs)(c.xuv,{position:"relative",children:[(0,s.jsx)(c.esZ,{title:m,popupVisible:!!m,children:(0,s.jsx)("button",{disabled:!r||!d,type:"button","aria-label":"Data flow scan",className:"text-left",onClick:n,children:(0,s.jsx)(j.Z,{title:"Data flow scan",color:u().FIDESUI_NECTAR,description:"Automatically discover new systems in your Kubernetes infrastructure",icon:(0,s.jsx)(x.pt,{boxSize:6}),"data-testid":"data-flow-scan-btn"})})}),r?(0,s.jsx)(v.Z,{connected:d,title:d?"Cluster is connected and healthy":"Cluster is ".concat(o),position:"absolute",right:-1,top:-1,"data-testid":"cluster-health-indicator"}):null]})},w=n(38764);let T=e=>{let{children:t}=e;return(0,s.jsx)(c.X6q,{as:"h4",size:"xs",fontWeight:"semibold",color:"gray.600",textTransform:"uppercase",mb:4,children:t})};var S=()=>{let e=(0,a.T)(),t=(0,m.useRouter)(),{isOpen:n,onClose:i,onOpen:r}=(0,c.qY0)(),{dictionaryService:l}=(0,h.hz)();return(0,s.jsxs)(c.Kqy,{spacing:9,"data-testid":"add-systems",children:[(0,s.jsxs)(c.Kqy,{spacing:6,maxWidth:"600px",children:[(0,s.jsx)(c.X6q,{as:"h3",size:"md",fontWeight:"semibold",children:"Fides helps you map your systems to manage your privacy"}),(0,s.jsx)(c.xvT,{children:"In Fides, systems describe any services that store or process data for your organization, including third-party APIs, web applications, databases, and data warehouses."}),(0,s.jsx)(c.xvT,{children:"Fides can automatically discover new systems in your AWS infrastructure or Okta accounts. For services not covered by the automated scanners or analog processes, you may also manually add new systems to your map."})]}),(0,s.jsx)(p,{isOpen:n,onConfirm:()=>{window.open("https://ethyca.com/speak-with-us")},onCancel:()=>{t.push(y.N5)},onClose:i}),(0,s.jsxs)(c.xuv,{"data-testid":"manual-options",children:[(0,s.jsx)(T,{children:"Manually add systems"}),(0,s.jsxs)(c.MIq,{columns:{base:1,md:2,xl:3},spacing:"4",children:[(0,s.jsx)("button",{className:"flex flex-col text-left",type:"button","aria-label":"Add a system",onClick:()=>{e((0,o.CQ)(w.D.MANUAL)),t.push(y.N5)},"data-testid":"manual-btn",children:(0,s.jsx)(j.Z,{title:"Add a system",color:u().FIDESUI_SANDSTONE,icon:(0,s.jsx)(x.P$,{boxSize:6}),description:"Manually add a system for services not covered by automated scanners"})}),(0,s.jsx)("button",{className:"flex flex-col text-left",type:"button","aria-label":"Add multiple systems",onClick:()=>{l?(e((0,o.CQ)(w.D.MANUAL)),t.push(y.bJ)):r()},"data-testid":"multiple-btn",children:(0,s.jsx)(j.Z,{title:"Add multiple systems",color:u().FIDESUI_OLIVE,icon:(0,s.jsx)(x.P$,{boxSize:6}),description:"Choose vendors and automatically populate system details"})})]})]}),(0,s.jsxs)(c.xuv,{"data-testid":"automated-options",children:[(0,s.jsx)(T,{children:"Automated infrastructure scanning"}),(0,s.jsxs)(c.MIq,{columns:{base:1,md:2,xl:3},spacing:"4",children:[(0,s.jsx)("button",{className:"flex flex-col text-left",type:"button","aria-label":"Scan your infrastructure (AWS)",onClick:()=>{e((0,o.CQ)(f.GC.AWS)),e((0,o.sz)())},"data-testid":"aws-btn",children:(0,s.jsx)(j.Z,{title:"Scan your infrastructure (AWS)",color:u().FIDESUI_TERRACOTTA,description:"Automatically discover new systems in your AWS infrastructure",icon:(0,s.jsx)(x.bj,{boxSize:6})})}),(0,s.jsx)("button",{className:"flex flex-col text-left",type:"button","aria-label":"Scan your Sign On Provider (Okta)",onClick:()=>{e((0,o.CQ)(f.GC.OKTA)),e((0,o.sz)())},"data-testid":"okta-btn",children:(0,s.jsx)(j.Z,{title:"Scan your Sign On Provider (Okta)",color:u().FIDESUI_MINOS,description:"Automatically discover new systems in your Okta infrastructure",icon:(0,s.jsx)(x.tb,{boxSize:6})})}),(0,s.jsx)(C,{onClick:()=>{e((0,o.sz)()),e((0,o.CQ)(w.D.DATA_FLOW))}})]})]})]})},k=n(34090),_=n(55484),A=n(40324),q=n(812),z=n(17245),I=n(97181),O=n(70788),N=n(28416);let D=e=>"system_type"in e,{useGenerateMutation:F}=n(78780).u.injectEndpoints({endpoints:e=>({generate:e.mutation({query:e=>({url:"generate",method:"POST",body:e})})})});var W=n(59301);let M=e=>{let{message:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.izJ,{}),(0,s.jsx)(c.W20,{maxH:"50vh",overflow:"auto",children:(0,s.jsx)(c.xvT,{as:"pre","data-testid":"error-log",children:t})}),(0,s.jsx)(c.izJ,{})]})};var R=e=>{let{error:t,scanType:n=""}=e;return(0,s.jsxs)(c.Kqy,{"data-testid":"scanner-error",spacing:"4",children:[(0,s.jsxs)(c.Ugi,{children:[(0,s.jsx)(c.j8w,{color:"error",children:"Error"}),(0,s.jsx)(c.X6q,{color:"red.500",size:"lg",children:"Failed to Scan"})]}),403===t.status&&n===f.GC.AWS?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.xvT,{"data-testid":"permission-msg",children:"Fides was unable to scan AWS. It appears that the credentials were valid to login but they did not have adequate permission to complete the scan."}),(0,s.jsxs)(c.xvT,{children:["To fix this issue, double check that you have granted"," ",(0,s.jsx)(W.Z,{href:N.zu,children:"the required permissions"})," ","to these credentials as part of your IAM policy. If you need more help in configuring IAM policies, you can read about them in the"," ",(0,s.jsx)(W.Z,{href:"https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction_access-management.html",children:"AWS documentation"}),"."]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.xvT,{"data-testid":"generic-msg",children:"Fides was unable to scan your infrastructure. Please ensure your credentials are accurate and inspect the error log below for more details."}),(0,s.jsx)(M,{message:t.message}),(0,s.jsxs)(c.xvT,{children:["If this error does not clarify why scanning failed, please"," ",(0,s.jsx)(W.Z,{href:N.we,children:"create a new issue"}),"."]})]})]})},E=n(57899);let K=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.xvT,{color:"gray.500",mb:3,children:"Warning, you are about to cancel the scan!"}),(0,s.jsx)(c.xvT,{color:"gray.500",mb:3,children:"If you cancel scanning, the scanner will stop and no systems will be returned."}),(0,s.jsx)(c.xvT,{color:"gray.500",mb:3,children:"Are you sure you want to cancel?"})]});var Z=e=>{let{title:t,onClose:n}=e,{isOpen:i,onOpen:a,onClose:r}=(0,c.qY0)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(c.Kqy,{spacing:8,"data-testid":"scanner-loading",children:[(0,s.jsxs)(c.Ugi,{children:[(0,s.jsx)(c.xvT,{alignItems:"center",as:"b",color:"gray.900",display:"flex",fontSize:"xl",children:t}),(0,s.jsx)(c.PZ7,{"data-testid":"close-scan-in-progress",display:"inline-block",onClick:a})]}),(0,s.jsx)(c.Kqy,{alignItems:"center",children:(0,s.jsx)(c.$jN,{thickness:"4px",speed:"0.65s",emptyColor:"gray.200",color:"green.300",size:"xl"})})]}),(0,s.jsx)(E.Z,{isOpen:i,onClose:r,handleConfirm:n,title:"Cancel Scan!",message:K,confirmButtonText:"Yes, Cancel",cancelButtonText:"No, Continue Scanning"})]})};let U={aws_access_key_id:"",aws_secret_access_key:"",aws_session_token:"",region_name:""},B=_.Ry().shape({aws_access_key_id:_.Z_().required().trim().matches(/^\w+$/,"Cannot contain spaces or special characters").label("Access Key ID"),aws_secret_access_key:_.Z_().required().trim().matches(/^[^\s]+$/,"Cannot contain spaces").label("Secret"),aws_session_token:_.Z_().optional().trim().matches(/^[^\s]+$/,"Cannot contain spaces").label("Session Token (for temporary credentials)"),region_name:_.Z_().required().label("Default Region")});var P=()=>{let e=(0,a.C)(o.De),t=(0,a.T)(),{successAlert:n}=(0,z.VY)(),[r,l]=(0,i.useState)(),d=e=>{let s=(null!=e?e:[]).filter(D);t((0,o.un)(s)),t((0,o.sz)()),n("Your scan was successfully completed, with ".concat(s.length," new systems detected!"),"Scan Successfully Completed",{isClosable:!0})},u=e=>{l((0,q.nU)(e,{status:500,message:"Our system encountered a problem while connecting to AWS."}))},m=()=>{t((0,o.sz)(2))},[h,{isLoading:x}]=F(),g=async t=>{l(void 0);let n=await h({organization_key:e,generate:{config:t,target:f.GC.AWS,type:f.j.SYSTEMS}});(0,q.D4)(n)?u(n.error):d(n.data.generate_results)};return(0,s.jsx)(k.J9,{initialValues:U,validationSchema:B,onSubmit:g,children:e=>{let{isValid:t,isSubmitting:n,dirty:i}=e;return(0,s.jsx)(k.l0,{"data-testid":"authenticate-aws-form",children:(0,s.jsxs)(c.Kqy,{spacing:10,children:[n?(0,s.jsx)(Z,{title:"System scanning in progress",onClose:m}):null,r?(0,s.jsx)(R,{error:r,scanType:"aws"}):null,n||r?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(c.xuv,{children:[(0,s.jsx)(O.m,{className:"mb-4",items:[{title:"Add systems",href:"",onClick:e=>{e.preventDefault(),m()}},{title:"Authenticate AWS Scanner"}]}),(0,s.jsx)(c.xvT,{children:"To use the scanner to inventory systems in AWS, you must first authenticate to your AWS cloud by providing the following information:"})]}),(0,s.jsxs)(c.Kqy,{children:[(0,s.jsx)(A.j0,{name:"aws_access_key_id",label:"Access Key ID",tooltip:"The Access Key ID created by the cloud hosting provider.",isRequired:!0}),(0,s.jsx)(A.j0,{type:"password",name:"aws_secret_access_key",label:"Secret",tooltip:"The secret associated with the Access Key ID used for authentication.",isRequired:!0}),(0,s.jsx)(A.j0,{type:"password",name:"aws_session_token",label:"Session Token",tooltip:"The session token when using temporary credentials."}),(0,s.jsx)(I.d,{name:"region_name",label:"AWS Region",tooltip:"The geographic region of the cloud hosting provider you would like to scan.",options:N.xO,isRequired:!0,placeholder:"Select a region"})]})]}),n?null:(0,s.jsxs)(c.Ugi,{children:[(0,s.jsx)(c.wpx,{onClick:m,children:"Cancel"}),(0,s.jsx)(c.wpx,{htmlType:"submit",type:"primary",disabled:!i||!t,loading:x,"data-testid":"submit-btn",children:"Save and continue"})]})]})})}})};let Y={orgUrl:"",token:""},L=_.Ry().shape({orgUrl:_.Z_().required().trim().url().label("URL"),token:_.Z_().required().trim().matches(/^[^\s]+$/,"Cannot contain spaces").label("Token")});var X=()=>{let e=(0,a.C)(o.De),t=(0,a.T)(),{successAlert:n}=(0,z.VY)(),[r,l]=(0,i.useState)(),d=e=>{let s=(null!=e?e:[]).filter(D);t((0,o.un)(s)),t((0,o.sz)()),n("Your scan was successfully completed, with ".concat(s.length," new systems detected!"),"Scan Successfully Completed",{isClosable:!0})},u=e=>{l((0,q.nU)(e,{status:500,message:"Our system encountered a problem while connecting to Okta."}))},m=()=>{t((0,o.sz)(2))},[h,{isLoading:x}]=F(),g=async t=>{l(void 0);let n=await h({organization_key:e,generate:{config:t,target:f.GC.OKTA,type:f.j.SYSTEMS}});(0,q.D4)(n)?u(n.error):d(n.data.generate_results)};return(0,s.jsx)(k.J9,{initialValues:Y,validationSchema:L,onSubmit:g,children:e=>{let{isValid:t,isSubmitting:n,dirty:i}=e;return(0,s.jsx)(k.l0,{"data-testid":"authenticate-okta-form",children:(0,s.jsxs)(c.Kqy,{spacing:10,children:[n?(0,s.jsx)(Z,{title:"System scanning in progress",onClose:m}):null,r?(0,s.jsx)(R,{error:r}):null,n||r?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(c.xuv,{children:[(0,s.jsx)(O.m,{className:"mb-4",items:[{title:"Add systems",href:"",onClick:e=>{e.preventDefault(),m()}},{title:"Authenticate Okta Scanner"}]}),(0,s.jsx)(c.xvT,{children:"To use the scanner to inventory systems in Okta, you must first authenticate to your Okta account by providing the following information:"})]}),(0,s.jsxs)(c.Kqy,{children:[(0,s.jsx)(A.j0,{name:"orgUrl",label:"Domain",tooltip:"The URL for your organization's account on Okta"}),(0,s.jsx)(A.j0,{name:"token",label:"Okta token",type:"password",tooltip:"The token generated by Okta for your account."})]})]}),n?null:(0,s.jsxs)(c.Ugi,{children:[(0,s.jsx)(c.wpx,{onClick:m,children:"Cancel"}),(0,s.jsx)(c.wpx,{htmlType:"submit",type:"primary",disabled:!i||!t,loading:x,"data-testid":"submit-btn",children:"Save and continue"})]})]})})}})},J=n(46628),$=n(31883),V=()=>{let e=(0,a.T)(),t=(0,c.pmc)(),[n]=(0,b.J9)(),[r,{data:l}]=(0,b.KW)(),[d,u]=(0,i.useState)(),[m,h]=(0,i.useState)(!1),x=e=>{u((0,q.nU)(e,{status:500,message:"Our system encountered a problem while scanning your infrastructure."}))};(0,i.useEffect)(()=>{(async()=>{let{error:e}=await n();h(!(e&&(0,$.Bw)(e)&&404===e.status));let t=await r({classify:!0});(0,q.D4)(t)&&x(t.error)})()},[r,n]),(0,i.useEffect)(()=>{(async()=>{if(l){let{data:s}=await n(),i=m?(null==s?void 0:s.added_systems)||[]:l.systems;t((0,J.t5)("Your scan was successfully completed, with ".concat(i.length," new systems detected!"))),e((0,o.un)(i)),e((0,o.sz)())}})()},[l,t,e,m,n]);let g=()=>{e((0,o.sz)(2))};return d?(0,s.jsxs)(c.Kqy,{children:[(0,s.jsx)(R,{error:d}),(0,s.jsx)(c.xuv,{children:(0,s.jsx)(c.wpx,{onClick:g,"data-testid":"cancel-btn",children:"Cancel"})})]}):(0,s.jsx)(Z,{title:"Infrastructure scanning in progress",onClose:g})},G=()=>{let e=(0,a.C)(o.Ll);return(0,s.jsxs)(c.xuv,{w:"40%",children:[e===f.GC.AWS?(0,s.jsx)(P,{}):null,e===f.GC.OKTA?(0,s.jsx)(X,{}):null,e===w.D.DATA_FLOW?(0,s.jsx)(V,{}):null]})},Q=n(83265),H=n(46238);let ee=()=>{var e,t;let n=(0,a.T)(),s=e=>{n((0,o.nD)(e)),n((0,o.sz)())},[r]=(0,Q.vz)(),[l]=(0,Q.$f)(),{data:d,isLoading:u}=(0,Q.GQ)(Q.Av),[m,h]=(0,i.useState)(!1);(0,i.useEffect)(()=>{!u&&!m&&(null==d?void 0:d.name)&&(null==d?void 0:d.description)&&n((0,o.sz)())},[u,d,n,m]);let x=(0,c.pmc)();return(0,k.TA)({initialValues:{name:null!==(e=null==d?void 0:d.name)&&void 0!==e?e:"",description:null!==(t=null==d?void 0:d.description)&&void 0!==t?t:""},onSubmit:async e=>{var t,n,i;h(!0);let a={name:null!==(t=e.name)&&void 0!==t?t:null==d?void 0:d.name,description:null!==(n=e.description)&&void 0!==n?n:null==d?void 0:d.description,fides_key:null!==(i=null==d?void 0:d.fides_key)&&void 0!==i?i:Q.Av,organization_fides_key:Q.Av};if(d){let e=await l(a);if((0,q.D4)(e)){x({status:"error",description:(0,q.e$)(e.error)});return}x.closeAll(),s(a)}else{let e=await r(a);if((0,q.D4)(e)){x({status:"error",description:(0,q.e$)(e.error)});return}x.closeAll(),s(a)}},enableReinitialize:!0,validate:e=>{let t={};return e.name||(t.name="Organization name is required"),e.description||(t.description="Organization description is required"),t}})};var et=()=>{let{errors:e,handleBlur:t,handleChange:n,handleSubmit:i,touched:a,values:r,isSubmitting:l}=ee();return(0,s.jsx)(c.m$N.form,{onSubmit:i,w:"40%","data-testid":"organization-info-form",children:(0,s.jsxs)(c.Kqy,{spacing:10,children:[(0,s.jsx)(c.X6q,{as:"h3",size:"lg",children:"Create your Organization"}),(0,s.jsx)("div",{children:"Provide your organization information. This information is used to configure your organization in Fides for data map reporting purposes."}),(0,s.jsx)(c.Kqy,{children:(0,s.jsxs)(c.NIc,{children:[(0,s.jsxs)(c.Kqy,{direction:"row",mb:5,justifyContent:"flex-end",children:[(0,s.jsx)(c.lXp,{w:"100%",children:"Organization name"}),(0,s.jsx)(c.IIB,{type:"text",id:"name",name:"name",focusBorderColor:"gray.700",onChange:n,onBlur:t,value:r.name,isInvalid:a.name&&!!e.name,minW:"65%",w:"65%","data-testid":"input-name"}),(0,s.jsx)(H.b,{label:"The legal name of your organization"})]}),(0,s.jsxs)(c.Kqy,{direction:"row",justifyContent:"flex-end",children:[(0,s.jsx)(c.lXp,{w:"100%",children:"Description"}),(0,s.jsx)(c.IIB,{type:"text",id:"description",name:"description",focusBorderColor:"gray.700",onChange:n,onBlur:t,value:r.description,isInvalid:a.description&&!!e.description,minW:"65%",w:"65%","data-testid":"input-description"}),(0,s.jsx)(H.b,{label:'An explanation of the type of organization and primary activity. For example "Acme Inc. is an e-commerce company that sells scarves."'})]})]})}),(0,s.jsx)(c.wpx,{type:"primary",htmlType:"submit",disabled:!r.name||!r.description,loading:l,"data-testid":"submit-btn",children:"Save and continue"})]})})},en=e=>{let{allColumns:t,selectedColumns:n,onChange:a}=e,r=(0,i.useMemo)(()=>{let e=new Map;return t.forEach(t=>e.set(t.name,!!n.find(e=>e.name===t.name))),e},[t,n]),l=()=>{r.forEach((e,t)=>r.set(t,!1)),a([])},o=e=>{var n;let s=null!==(n=r.get(e.name))&&void 0!==n&&n;r.set(e.name,!s),a(t.filter(e=>r.get(e.name)))};return(0,s.jsx)(c.v2r,{children:e=>{let{onClose:i}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.j2t,{as:c.wpx,icon:(0,s.jsx)(c.mCO,{}),fontWeight:"normal","data-testid":"column-dropdown",children:"Columns"}),(0,s.jsx)(c.qyq,{children:(0,s.jsxs)(c.xuv,{px:2,children:[(0,s.jsxs)(c.xuv,{display:"flex",justifyContent:"space-between",mb:2,children:[(0,s.jsx)(c.wpx,{size:"small",onClick:l,"data-testid":"column-clear-btn",children:"Clear"}),(0,s.jsx)(c.wpx,{type:"primary",size:"small",onClick:i,"data-testid":"column-done-btn",children:"Done"})]}),(0,s.jsx)(c.cOn,{colorScheme:"complimentary",children:(0,s.jsx)(c.Kqy,{children:t.map(e=>{let t=n.filter(t=>t.name===e.name).length>0;return(0,s.jsx)(c.XZJ,{id:e.name,_hover:{bg:"gray.100"},isChecked:t,onChange:()=>o(e),"data-testid":"checkbox-".concat(e.name),children:e.name},e.name)})})})]})})]})}})},es=n(16220);let ei=(e,t)=>t.split(".").reduce((e,t)=>e?e[t]:void 0,e),ea=e=>{let{system:t,attribute:n}=e;if("name"===n)return(0,s.jsx)("label",{htmlFor:"checkbox-".concat(t.fides_key),children:t.name});if("fidesctl_meta.resource_id"===n){var i,a;return(0,s.jsx)(c.xuv,{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",title:(null===(i=t.fidesctl_meta)||void 0===i?void 0:i.resource_id)||"",children:null===(a=t.fidesctl_meta)||void 0===a?void 0:a.resource_id})}return(0,s.jsx)(s.Fragment,{children:ei(t,n)})},er=e=>{let{allSystems:t,checked:n,onChange:i,columns:a,tableHeadProps:r}=e,l=e=>{n.indexOf(e)>=0?i(n.filter(t=>t.fides_key!==e.fides_key)):i([...n,e])},o=t.length===n.length;return 0===a.length?(0,s.jsx)(c.xvT,{children:"No columns selected to display"}):(0,s.jsxs)(c.iA_,{size:"sm",sx:{tableLayout:"fixed"},children:[(0,s.jsx)(c.hrZ,{...r,children:(0,s.jsxs)(c.Tr,{children:[(0,s.jsx)(c.Th,{width:"15px",children:(0,s.jsx)(c.XZJ,{colorScheme:"complimentary",title:"Select All",isChecked:o,onChange:e=>{e.target.checked?i(t):i([])},"data-testid":"select-all"})}),a.map(e=>(0,s.jsx)(c.Th,{children:e.name},e.attribute))]})}),(0,s.jsx)(c.p3B,{children:t.map(e=>(0,s.jsxs)(c.Tr,{children:[(0,s.jsx)(c.Td,{children:(0,s.jsx)(c.XZJ,{colorScheme:"complimentary",value:e.fides_key,isChecked:n.indexOf(e)>=0,onChange:()=>l(e),"data-testid":"checkbox-".concat(e.fides_key)})}),a.map(t=>(0,s.jsx)(c.Td,{children:(0,s.jsx)(ea,{system:e,attribute:t.attribute})},t.attribute))]},e.fides_key))})]})};var el=n(1315);let eo=[{name:"Name",attribute:"name"},{name:"System type",attribute:"system_type"},{name:"Resource ID",attribute:"fidesctl_meta.resource_id"}];var ec=()=>{let e=(0,a.C)(o.j4),t=(0,a.T)(),n=(0,m.useRouter)(),{systemOrDatamapRoute:r}=(0,es.V)(),{isOpen:l,onOpen:d,onClose:u}=(0,c.qY0)(),[h]=(0,el.dB)(),[x,g]=(0,i.useState)(e),[p,y]=(0,i.useState)(eo),{handleError:f}=(0,z.HK)(),j=e=>{n.push(e).then(()=>{t((0,o.mc)())})},v=async()=>{let e=await h(x);return(0,q.D4)(e)?f(e.error):j(r)},b=()=>{t((0,o.sz)(2))},C=(0,s.jsxs)(c.xvT,{color:"gray.500",mb:3,children:["You’re registering ",x.length," of ",e.length," systems available. Do you want to continue with registration or cancel and register all systems now?"]});return(0,s.jsxs)(c.xuv,{maxW:"full",children:[(0,s.jsxs)(c.Kqy,{spacing:10,"data-testid":"scan-results",children:[(0,s.jsx)(O.m,{className:"mb-4",items:[{title:"Add systems",href:"",onClick:e=>{e.preventDefault(),b()}},{title:"Authenticate"},{title:"Scan results"}]}),0===e.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.xvT,{"data-testid":"no-results",children:"No results were found for your infrastructure scan."}),(0,s.jsx)(c.Ugi,{children:(0,s.jsx)(c.wpx,{onClick:b,"data-testid":"back-btn",children:"Back"})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(c.xuv,{children:[(0,s.jsx)(c.xvT,{children:"Below are the results of your infrastructure scan. To continue, select the systems you would like registered in your data map and reports."}),(0,s.jsx)(c.xuv,{display:"flex",justifyContent:"end",children:(0,s.jsx)(en,{allColumns:eo,selectedColumns:p,onChange:y})})]}),(0,s.jsx)(er,{allSystems:e,checked:x,onChange:g,columns:p}),(0,s.jsxs)(c.Ugi,{children:[(0,s.jsx)(c.wpx,{onClick:b,children:"Back"}),(0,s.jsx)(c.wpx,{onClick:()=>{e.length>x.length?d():v()},type:"primary",disabled:0===x.length,"data-testid":"register-btn",children:"Register selected systems"})]})]})]}),(0,s.jsx)(E.Z,{title:"Warning",message:C,handleConfirm:v,isOpen:l,onClose:u})]})},ed=()=>{let e=(0,a.C)(o.xx);return(0,s.jsx)(c.Kqy,{direction:["column","row"],bg:"white",children:(0,s.jsxs)(c.xuv,{display:"flex",justifyContent:"flex-start",w:"100%",children:[1===e?(0,s.jsx)(et,{}):null,2===e?(0,s.jsx)(S,{}):null,3===e?(0,s.jsx)(G,{}):null,4===e?(0,s.jsx)(c.xuv,{pr:10,children:(0,s.jsx)(ec,{})}):null]})})},eu=()=>{let e=(0,a.T)();return(0,i.useEffect)(()=>{e((0,o.sz)(2))},[e]),(0,s.jsxs)(r.Z,{title:"Add systems",children:[(0,s.jsx)(l.Z,{heading:"Add systems"}),(0,s.jsx)(ed,{})]})}},31883:function(e,t,n){"use strict";n.d(t,{Bw:function(){return s.Bw},D4:function(){return s.D4}});var s=n(19043)},91507:function(e){e.exports={container:"CalloutNavCard_container__DXPJb",card:"CalloutNavCard_card__q_XX6"}}},function(e){e.O(0,[431,7245,2888,9774,179],function(){return e(e.s=74245)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4290],{73906:function(e,n,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/configure/add-vendors",function(){return o(32805)}])},32805:function(e,n,o){"use strict";o.r(n);var s=o(24246),t=o(
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4290],{73906:function(e,n,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/configure/add-vendors",function(){return o(32805)}])},32805:function(e,n,o){"use strict";o.r(n);var s=o(24246),t=o(87949),r=o(77213),a=o(77830),i=o(58754),c=o(15826);let{Text:d}=t.AntTypography;n.default=()=>(0,s.jsxs)(r.Z,{title:"Choose vendors",children:[(0,s.jsx)(i.Z,{heading:"Vendors",breadcrumbItems:[{title:"All vendors",href:a.zo},{title:"Choose vendors"}],children:(0,s.jsx)(d,{className:"block w-1/2",children:"Select your vendors below and they will be added as systems to your data map. Fides Compass will automatically populate the system information so that you can quickly configure privacy requests and consent."})}),(0,s.jsx)(c.$,{redirectRoute:a.zo})]})}},function(e){e.O(0,[401,3923,796,2888,9774,179],function(){return e(e.s=73906)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3709],{54727:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/configure",function(){return n(47672)}])},77213:function(e,s,n){"use strict";n.d(s,{Z:function(){return p}});var t=n(24246),i=n(20595),a=n(88038),r=n.n(a),l=n(86677);n(27378);var o=n(25980),c=n(90867),u=n(42478),d=n(77830),g=()=>{let e=(0,l.useRouter)();return(0,t.jsx)(i.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,t.jsxs)(i.xuv,{children:[(0,t.jsxs)(i.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,t.jsx)(i.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,t.jsx)(i.wpx,{onClick:()=>{e.push(d.AD)},children:"Configure"})]}),(0,t.jsxs)(i.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},p=e=>{let{children:s,title:n,padded:a=!0,mainProps:d}=e,p=(0,o.hz)(),x=(0,l.useRouter)(),h="/privacy-requests"===x.pathname||"/datastore-connection"===x.pathname,f=!(p.flags.messagingConfiguration&&h),{data:m}=(0,u.JE)(void 0,{skip:f}),{data:j}=(0,c.PW)(void 0,{skip:f}),C=p.flags.messagingConfiguration&&(!m||!j)&&h;return(0,t.jsxs)(i.kCb,{"data-testid":n,direction:"column",h:"100vh",children:[(0,t.jsxs)(r(),{children:[(0,t.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,t.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,t.jsxs)(i.kCb,{as:"main",direction:"column",py:a?6:0,px:a?10:0,h:a?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...d,children:[C?(0,t.jsx)(g,{}):null,s]})]})}},58754:function(e,s,n){"use strict";var t=n(24246),i=n(20595),a=n(70788);s.Z=e=>{let{heading:s,breadcrumbItems:n,isSticky:r=!0,children:l,rightContent:o,style:c,...u}=e;return(0,t.jsxs)("div",{...u,style:r?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,t.jsxs)(i.jqI,{justify:"space-between",children:["string"==typeof s?(0,t.jsx)(i.lQT,{className:n||l?"pb-4":void 0,level:1,"data-testid":"page-heading",children:s}):s,o&&(0,t.jsx)("div",{"data-testid":"page-header-right-content",children:o})]}),!!n&&(0,t.jsx)(a.m,{className:l?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),l]})}},70788:function(e,s,n){"use strict";n.d(s,{m:function(){return c}});var t=n(24246),i=n(20595),a=n(79894),r=n.n(a),l=n(27378);let{Text:o}=i.AntTypography,c=e=>{let{items:s,...n}=e,a=(0,l.useMemo)(()=>null==s?void 0:s.map((e,n)=>{let a=n===s.length-1,l={...e},c=l.onClick&&!l.href;return("string"==typeof l.title&&(l.title=(0,t.jsx)(o,{style:{color:"inherit",maxWidth:a?void 0:400},ellipsis:!a,id:a?"breadcrumb-current-page":void 0,children:l.title})),c)?l.title=(0,t.jsx)(i.wpx,{type:"text",size:"small",icon:l.icon,onClick:l.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:l.title}):(l.icon&&(l.title=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"anticon align-text-bottom",children:l.icon}),l.title]})),l.href&&l.title&&(l.title=(0,t.jsx)(r(),{href:l.href,className:"ant-breadcrumb-link",children:l.title}),delete l.href)),l}),[s]);return(0,t.jsx)(i.zrq,{items:a,...n})}},6675:function(e,s,n){"use strict";n.d(s,{ZS:function(){return l},a4:function(){return a}});var t=n(3228);let i=n(78780).u.injectEndpoints({endpoints:e=>({getPurposes:e.query({query:()=>"purposes"})})}),{useGetPurposesQuery:a}=i,r={purposes:{},special_purposes:{}},l=(0,t.P1)(i.endpoints.getPurposes.select(),e=>{let{data:s}=e;return s||r})},48347:function(e,s,n){"use strict";n.d(s,{W:function(){return o},m:function(){return c}});var t=n(24246),i=n(20595),a=n(32885);let{Text:r,Title:l}=i.AntTypography,o=()=>{let{isOpen:e,onOpen:s,onClose:n}=(0,i.qY0)();return{isOpen:e,onOpen:s,onClose:n}},c=e=>{let{isOpen:s,onClose:n,fidesKey:o}=e,{data:c,isLoading:u}=(0,a.ho)(o),d=(e,s)=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l,{level:5,children:e}),(null==s?void 0:s.length)?(0,t.jsx)("div",{children:(0,t.jsx)(i.vyj,{size:[0,2],wrap:!0,children:null==s?void 0:s.map(e=>(0,t.jsx)(i.j8w,{children:e},e))})}):(0,t.jsxs)(r,{italic:!0,children:["no known ",e.toLowerCase()]})]});return(0,t.jsxs)(i.u_l,{isOpen:s,onClose:n,size:"xxl",returnFocusOnClose:!1,isCentered:!0,children:[(0,t.jsx)(i.ZAr,{}),(0,t.jsxs)(i.hzk,{maxWidth:"800px",children:[(0,t.jsx)(i.xBx,{children:c?null==c?void 0:c.name:"Vendor"}),(0,t.jsx)(i.fef,{children:u?(0,t.jsx)(i.jqI,{className:"h-80 w-full",align:"center",justify:"center",children:(0,t.jsx)(i.$jN,{})}):!!c&&(0,t.jsxs)(i.AntTypography,{children:[(0,t.jsx)(l,{level:5,children:"Purposes"}),Object.entries(c.purposes||{}).length>0?(0,t.jsx)(i.UQy,{allowMultiple:!0,children:Object.entries(c.purposes).map((e,s)=>{let[n]=e;return(0,t.jsx)(i.Qdk,{children:e=>{let{isExpanded:s}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.KFZ,{backgroundColor:s?"gray.50":"unset",children:[(0,t.jsx)(i.xuv,{flex:"1",textAlign:"left",children:n}),(0,t.jsx)(i.XEm,{})]}),(0,t.jsxs)(i.Hk3,{backgroundColor:"gray.50",children:[(0,t.jsx)(i.jqI,{className:"my-4",vertical:!0,children:d("Data uses",c.purposes[n].data_uses)}),(0,t.jsx)(i.jqI,{className:"my-4",vertical:!0,children:d("Legal basis",c.purposes[n].legal_bases)})]})]})}},s)})}):(0,t.jsx)(r,{italic:!0,children:"no known purposes"}),(0,t.jsx)("div",{className:"my-4",children:d("Features",c.features)}),(0,t.jsx)("div",{className:"my-4",children:d("Data categories",c.data_categories)})]})}),(0,t.jsxs)(i.mzw,{children:[(0,t.jsx)(i.wpx,{size:"small",onClick:n,children:"Close"}),(0,t.jsx)(i.LZC,{})]})]})]})}},42478:function(e,s,n){"use strict";n.d(s,{FU:function(){return c},JE:function(){return i},Ki:function(){return d},SU:function(){return g},W:function(){return p},h9:function(){return a},jc:function(){return t},qt:function(){return o},sn:function(){return u}});let{useGetEmailInviteStatusQuery:t,useGetActiveMessagingProviderQuery:i,useCreateMessagingConfigurationMutation:a,useCreateMessagingConfigurationSecretsMutation:r,useGetMessagingConfigurationDetailsQuery:l,useGetMessagingConfigurationsQuery:o,useGetMessagingConfigurationByKeyQuery:c,useUpdateMessagingConfigurationByKeyMutation:u,useUpdateMessagingConfigurationSecretsByKeyMutation:d,useCreateTestConnectionMessageMutation:g,useDeleteMessagingConfigurationByKeyMutation:p}=n(78780).u.injectEndpoints({endpoints:e=>({getEmailInviteStatus:e.query({query:()=>({url:"/messaging/email-invite/status"}),providesTags:()=>["Email Invite Status"]}),createMessagingConfiguration:e.mutation({query:e=>({url:"messaging/config",method:"POST",body:e}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getActiveMessagingProvider:e.query({queryFn:async(e,s,n,t)=>{let i=await t({url:"messaging/default/active"});return i.error&&404===i.error.status?{data:null}:i},providesTags:["Messaging Config"]}),createMessagingConfigurationSecrets:e.mutation({query:e=>({url:"messaging/default/".concat(e.service_type,"/secret"),method:"PUT",body:e.details}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getMessagingConfigurationDetails:e.query({query:e=>({url:"messaging/default/".concat(e.type)}),providesTags:["Messaging Config"]}),getMessagingConfigurations:e.query({query:()=>({url:"messaging/config"}),providesTags:["Messaging Config"]}),getMessagingConfigurationByKey:e.query({query:e=>({url:"messaging/config/".concat(e.key)}),providesTags:["Messaging Config"]}),createTestConnectionMessage:e.mutation({query:e=>({url:"messaging/test/".concat(e.service_type),method:"POST",body:e.details}),invalidatesTags:["Messaging Config"]}),updateMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"PATCH",body:e.config}),invalidatesTags:["Messaging Config","Configuration Settings"]}),updateMessagingConfigurationSecretsByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key,"/secret"),method:"PUT",body:e.secrets}),invalidatesTags:["Messaging Config","Configuration Settings"]}),deleteMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"DELETE"}),invalidatesTags:["Messaging Config","Configuration Settings"]})})})},47672:function(e,s,n){"use strict";n.r(s),n.d(s,{default:function(){return P}});var t=n(24246),i=n(20595),a=n(27378),r=n(77213),l=n(58754),o=n(92222),c=n(59003),u=n(25980),d=n(47935),g=n(86677);let p=(e,s)=>{let n=e.filter(e=>e.isChecked);return n.length>0?"".concat(s,"=").concat(n.map(e=>e.value).join("&".concat(s,"="))):void 0},x=e=>{let{value:s,displayText:n,isChecked:a,onCheckboxChange:r}=e;return(0,t.jsx)(i.XZJ,{value:s,height:"20px",mb:"25px",isChecked:a,onChange:e=>{let{target:n}=e;r(s,n.checked)},_focusWithin:{bg:"gray.100"},colorScheme:"complimentary",children:(0,t.jsx)(i.xvT,{fontSize:"sm",lineHeight:5,textOverflow:"ellipsis",overflow:"hidden",children:n})},s)},h=e=>{let{options:s,header:n,onCheckboxChange:r,columns:l=3,numDefaultOptions:o=15}=e,[c,u]=(0,a.useState)(!1),d=c?s:s.slice(0,o),g=s.length>o;return(0,t.jsxs)(i.Qdk,{border:"0px",padding:"12px 8px 8px 12px",children:[(0,t.jsx)(i.X6q,{height:"56px",children:(0,t.jsxs)(i.KFZ,{height:"100%",children:[(0,t.jsx)(i.xuv,{flex:"1",alignItems:"center",justifyContent:"center",textAlign:"left",fontWeight:600,children:n}),(0,t.jsx)(i.XEm,{})]})}),(0,t.jsxs)(i.Hk3,{id:"panel-".concat(n),children:[(0,t.jsx)(i.MIq,{columns:l,children:d.map(e=>(0,t.jsx)(x,{...e,onCheckboxChange:r},e.value))}),!c&&g?(0,t.jsx)(i.wpx,{type:"text",onClick:()=>{u(!0)},children:"View more"}):null,c&&g?(0,t.jsx)(i.wpx,{type:"text",onClick:()=>{u(!1)},children:"View less"}):null]})]})},f=e=>{let{heading:s,children:n}=e;return(0,t.jsxs)(i.xuv,{padding:"12px 8px 8px 12px",maxHeight:600,children:[s?(0,t.jsx)(i.X6q,{size:"md",lineHeight:6,fontWeight:"bold",mb:2,children:s}):null,n]})},m=e=>{let{resetFilters:s,isOpen:n,onClose:a,children:r,...l}=e;return(0,t.jsxs)(i.u_l,{isOpen:n,onClose:a,isCentered:!0,size:"2xl",...l,children:[(0,t.jsx)(i.ZAr,{}),(0,t.jsxs)(i.hzk,{children:[(0,t.jsx)(i.xBx,{children:"Filters"}),(0,t.jsx)(i.olH,{}),(0,t.jsx)(i.izJ,{}),(0,t.jsx)(i.fef,{maxH:"85vh",padding:"0px",overflowX:"auto",style:{scrollbarGutter:"stable"},children:r}),(0,t.jsx)(i.mzw,{children:(0,t.jsxs)(i.xuv,{display:"flex",justifyContent:"space-between",width:"100%",children:[(0,t.jsx)(i.wpx,{onClick:s,className:"mr-3 grow",children:"Reset filters"}),(0,t.jsx)(i.wpx,{type:"primary",onClick:a,className:"grow",children:"Done"})]})})]})]})};var j=n(77830),C=n(23923),y=n(16134),v=n(6675),b=n(28079);let k=()=>{let{isOpen:e,onClose:s,onOpen:n}=(0,i.qY0)();(0,b.fd)();let t=(0,y.C)(b.U3);(0,v.a4)();let r=(0,y.C)(v.ZS),[l,o]=(0,a.useState)([]),[c,u]=(0,a.useState)([]),[d,g]=(0,a.useState)([{displayText:"Consent",value:"Consent",isChecked:!1},{displayText:"Legitimate Interest",value:"Legitimate interests",isChecked:!1}]),[p,x]=(0,a.useState)([{displayText:"Advertising",value:"advertising",isChecked:!1},{displayText:"Analytics",value:"analytics",isChecked:!1},{displayText:"Functional",value:"functional",isChecked:!1},{displayText:"Essential",value:"essential",isChecked:!1}]);(0,a.useEffect)(()=>{0===c.length&&u(t.map(e=>({value:e.fides_key,displayText:e.name||e.fides_key,isChecked:!1})))},[t,c,u]),(0,a.useEffect)(()=>{0===l.length&&o([...Object.entries(r.purposes).map(e=>({value:"normal.".concat(e[0]),displayText:e[1].name,isChecked:!1})),...Object.entries(r.special_purposes).map(e=>({value:"special.".concat(e[0]),displayText:e[1].name,isChecked:!1}))])},[r,l,u]);let h=(e,s,n,t)=>{t(n.map(n=>n.value===e?{...n,isChecked:s}:n))};return{isOpen:e,onClose:s,onOpen:n,resetFilters:()=>{u(e=>e.map(e=>({...e,isChecked:!1}))),g(e=>e.map(e=>({...e,isChecked:!1}))),o(e=>e.map(e=>({...e,isChecked:!1}))),x(e=>e.map(e=>({...e,isChecked:!1})))},purposeOptions:l,onPurposeChange:(e,s)=>{h(e,s,l,o)},dataUseOptions:c,onDataUseChange:(e,s)=>{h(e,s,c,u)},legalBasisOptions:d,onLegalBasisChange:(e,s)=>{h(e,s,d,g)},consentCategoryOptions:p,onConsentCategoryChange:(e,s)=>{h(e,s,p,x)}}},w=e=>{let{isOpen:s,isTcfEnabled:n,onClose:a,resetFilters:r,purposeOptions:l,onPurposeChange:o,dataUseOptions:c,onDataUseChange:u,legalBasisOptions:d,onLegalBasisChange:g,consentCategoryOptions:p,onConsentCategoryChange:x}=e;return(0,t.jsx)(m,{isOpen:s,onClose:a,resetFilters:r,children:(0,t.jsx)(i.UQy,{children:(0,t.jsxs)(f,{children:[n?(0,t.jsx)(h,{options:l,onCheckboxChange:o,header:"TCF purposes",columns:1,numDefaultOptions:5}):null,(0,t.jsx)(h,{options:c,onCheckboxChange:u,header:"Data uses"}),n?(0,t.jsx)(h,{options:d,onCheckboxChange:g,header:"Legal basis"}):null,n?null:(0,t.jsx)(h,{options:p,onCheckboxChange:x,header:"Consent categories"})]})})})};var T=n(48347),_=n(32885);let S=(0,o.Cl)(),M={items:[],total:0,page:1,size:25,pages:1},q=()=>{let{tcf:e,dictionaryService:s}=(0,u.hz)(),{isLoading:n}=(0,_.x8)(),{isOpen:r,onOpen:l,onClose:x}=(0,T.W)(),h=(0,g.useRouter)(),[f,m]=(0,a.useState)(),{isOpen:y,onOpen:v,onClose:b,resetFilters:q,purposeOptions:O,onPurposeChange:P,dataUseOptions:E,onDataUseChange:F,legalBasisOptions:z,onLegalBasisChange:N,consentCategoryOptions:R,onConsentCategoryChange:I}=k(),A=(0,a.useMemo)(()=>p(E,"data_uses"),[E]),L=(0,a.useMemo)(()=>p(z,"legal_bases"),[z]),B=(0,a.useMemo)(()=>p(O.filter(e=>e.value.includes("normal")).map(e=>({...e,value:e.value.split(".")[1]})),"purposes"),[O]),U=(0,a.useMemo)(()=>p(O.filter(e=>e.value.includes("special")).map(e=>({...e,value:e.value.split(".")[1]})),"special_purposes"),[O]),Z=(0,a.useMemo)(()=>p(R,"consent_category"),[R]),{PAGE_SIZES:D,pageSize:V,setPageSize:W,onPreviousPageClick:H,isPreviousPageDisabled:K,onNextPageClick:X,isNextPageDisabled:Q,startRange:G,endRange:J,pageIndex:Y,setTotalPages:$,resetPageIndexToDefault:ee}=(0,d.oi)(),[es,en]=(0,a.useState)(),et=(0,a.useCallback)(e=>{ee(),en(e)},[ee,en]),{isFetching:ei,isLoading:ea,data:er}=(0,_.de)({pageIndex:Y,pageSize:V,dataUses:A,search:es,legalBasis:L,purposes:B,specialPurposes:U,consentCategories:Z}),{items:el,total:eo,pages:ec}=(0,a.useMemo)(()=>er||M,[er]);(0,a.useEffect)(()=>{$(ec)},[ec,$]);let eu=(0,a.useMemo)(()=>[S.accessor(e=>e.name,{id:"name",cell:e=>(0,t.jsx)(d.G3,{value:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"Vendor",...e})}),S.accessor(e=>e.data_uses,{id:"tcf_purpose",cell:e=>(0,t.jsx)(d.CI,{plSuffix:"purposes",singSuffix:"purpose",count:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"TCF purpose",...e})}),S.accessor(e=>e.data_uses,{id:"data_uses",cell:e=>(0,t.jsx)(d.CI,{plSuffix:"data uses",singSuffix:"data use",count:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"Data use",...e})}),S.accessor(e=>e.legal_bases,{id:"legal_bases",cell:e=>(0,t.jsx)(d.CI,{plSuffix:"bases",singSuffix:"basis",count:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"Legal basis",...e})}),S.accessor(e=>e.consent_categories,{id:"consent_categories",cell:e=>(0,t.jsx)(d.CI,{plSuffix:"categories",singSuffix:"category",count:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"Categories",...e})}),S.accessor(e=>e.cookies,{id:"cookies",cell:e=>(0,t.jsx)(d.CI,{plSuffix:"cookies",singSuffix:"cookie",count:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"Cookies",...e})})],[]),ed=(0,c.b7)({columns:eu,data:el,state:{columnVisibility:{tcf_purpose:e,data_uses:e,legal_bases:e,consent_categories:!e,cookies:!e}},getCoreRowModel:(0,o.sC)(),columnResizeMode:"onChange",enableColumnResizing:!0});return ea||n?(0,t.jsx)(d.I4,{rowHeight:36,numRows:15}):(0,t.jsxs)(i.kCb,{flex:1,direction:"column",overflow:"auto",children:[r&&f?(0,t.jsx)(T.m,{isOpen:r,fidesKey:f,onClose:x}):null,(0,t.jsxs)(d.Q$,{children:[(0,t.jsx)(d.HO,{globalFilter:es,setGlobalFilter:et,placeholder:"Search"}),(0,t.jsx)(w,{isOpen:y,isTcfEnabled:e,onClose:b,resetFilters:q,purposeOptions:O,onPurposeChange:P,dataUseOptions:E,onDataUseChange:F,legalBasisOptions:z,onLegalBasisChange:N,consentCategoryOptions:R,onConsentCategoryChange:I}),(0,t.jsxs)(i.Ugi,{alignItems:"center",spacing:2,children:[(0,t.jsx)(C.Z,{buttonLabel:"Add vendors",onButtonClick:s?()=>{h.push(j.Gg)}:void 0}),(0,t.jsx)(i.wpx,{onClick:v,"data-testid":"filter-multiple-systems-btn",children:"Filter"})]})]}),(0,t.jsx)(d.ZK,{tableInstance:ed,onRowClick:e=>{m(e.fides_key),l()}}),(0,t.jsx)(d.s8,{totalRows:eo||0,pageSizes:D,setPageSize:W,onPreviousPageClick:H,isPreviousPageDisabled:K||ei,onNextPageClick:X,isNextPageDisabled:Q||ei,startRange:G,endRange:J})]})},{Text:O}=i.AntTypography;var P=()=>(0,t.jsxs)(r.Z,{title:"Vendors",children:[(0,t.jsx)(l.Z,{heading:"Vendors",children:(0,t.jsx)(O,{className:"block w-1/2",children:"Use the table below to manage your vendors. Modify the legal basis for a vendor if permitted and view and group your views by applying different filters"})}),(0,t.jsx)(q,{})]})}},function(e){e.O(0,[401,3923,2888,9774,179],function(){return e(e.s=54727)}),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3709],{54727:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/configure",function(){return n(47672)}])},77213:function(e,s,n){"use strict";n.d(s,{Z:function(){return p}});var t=n(24246),i=n(87949),a=n(88038),r=n.n(a),l=n(86677);n(27378);var o=n(25980),c=n(90867),u=n(42478),d=n(77830),g=()=>{let e=(0,l.useRouter)();return(0,t.jsx)(i.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,t.jsxs)(i.xuv,{children:[(0,t.jsxs)(i.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,t.jsx)(i.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,t.jsx)(i.wpx,{onClick:()=>{e.push(d.AD)},children:"Configure"})]}),(0,t.jsxs)(i.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},p=e=>{let{children:s,title:n,padded:a=!0,mainProps:d}=e,p=(0,o.hz)(),x=(0,l.useRouter)(),h="/privacy-requests"===x.pathname||"/datastore-connection"===x.pathname,f=!(p.flags.messagingConfiguration&&h),{data:m}=(0,u.JE)(void 0,{skip:f}),{data:j}=(0,c.PW)(void 0,{skip:f}),C=p.flags.messagingConfiguration&&(!m||!j)&&h;return(0,t.jsxs)(i.kCb,{"data-testid":n,direction:"column",h:"100vh",children:[(0,t.jsxs)(r(),{children:[(0,t.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,t.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,t.jsxs)(i.kCb,{as:"main",direction:"column",py:a?6:0,px:a?10:0,h:a?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...d,children:[C?(0,t.jsx)(g,{}):null,s]})]})}},58754:function(e,s,n){"use strict";var t=n(24246),i=n(87949),a=n(70788);s.Z=e=>{let{heading:s,breadcrumbItems:n,isSticky:r=!0,children:l,rightContent:o,style:c,...u}=e;return(0,t.jsxs)("div",{...u,style:r?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,t.jsxs)(i.jqI,{justify:"space-between",children:["string"==typeof s?(0,t.jsx)(i.lQT,{className:n||l?"pb-4":void 0,level:1,"data-testid":"page-heading",children:s}):s,o&&(0,t.jsx)("div",{"data-testid":"page-header-right-content",children:o})]}),!!n&&(0,t.jsx)(a.m,{className:l?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),l]})}},70788:function(e,s,n){"use strict";n.d(s,{m:function(){return c}});var t=n(24246),i=n(87949),a=n(79894),r=n.n(a),l=n(27378);let{Text:o}=i.AntTypography,c=e=>{let{items:s,...n}=e,a=(0,l.useMemo)(()=>null==s?void 0:s.map((e,n)=>{let a=n===s.length-1,l={...e},c=l.onClick&&!l.href;return("string"==typeof l.title&&(l.title=(0,t.jsx)(o,{style:{color:"inherit",maxWidth:a?void 0:400},ellipsis:!a,id:a?"breadcrumb-current-page":void 0,children:l.title})),c)?l.title=(0,t.jsx)(i.wpx,{type:"text",size:"small",icon:l.icon,onClick:l.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:l.title}):(l.icon&&(l.title=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"anticon align-text-bottom",children:l.icon}),l.title]})),l.href&&l.title&&(l.title=(0,t.jsx)(r(),{href:l.href,className:"ant-breadcrumb-link",children:l.title}),delete l.href)),l}),[s]);return(0,t.jsx)(i.zrq,{items:a,...n})}},6675:function(e,s,n){"use strict";n.d(s,{ZS:function(){return l},a4:function(){return a}});var t=n(3228);let i=n(78780).u.injectEndpoints({endpoints:e=>({getPurposes:e.query({query:()=>"purposes"})})}),{useGetPurposesQuery:a}=i,r={purposes:{},special_purposes:{}},l=(0,t.P1)(i.endpoints.getPurposes.select(),e=>{let{data:s}=e;return s||r})},48347:function(e,s,n){"use strict";n.d(s,{W:function(){return o},m:function(){return c}});var t=n(24246),i=n(87949),a=n(32885);let{Text:r,Title:l}=i.AntTypography,o=()=>{let{isOpen:e,onOpen:s,onClose:n}=(0,i.qY0)();return{isOpen:e,onOpen:s,onClose:n}},c=e=>{let{isOpen:s,onClose:n,fidesKey:o}=e,{data:c,isLoading:u}=(0,a.ho)(o),d=(e,s)=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l,{level:5,children:e}),(null==s?void 0:s.length)?(0,t.jsx)("div",{children:(0,t.jsx)(i.vyj,{size:[0,2],wrap:!0,children:null==s?void 0:s.map(e=>(0,t.jsx)(i.j8w,{children:e},e))})}):(0,t.jsxs)(r,{italic:!0,children:["no known ",e.toLowerCase()]})]});return(0,t.jsxs)(i.u_l,{isOpen:s,onClose:n,size:"xxl",returnFocusOnClose:!1,isCentered:!0,children:[(0,t.jsx)(i.ZAr,{}),(0,t.jsxs)(i.hzk,{maxWidth:"800px",children:[(0,t.jsx)(i.xBx,{children:c?null==c?void 0:c.name:"Vendor"}),(0,t.jsx)(i.fef,{children:u?(0,t.jsx)(i.jqI,{className:"h-80 w-full",align:"center",justify:"center",children:(0,t.jsx)(i.$jN,{})}):!!c&&(0,t.jsxs)(i.AntTypography,{children:[(0,t.jsx)(l,{level:5,children:"Purposes"}),Object.entries(c.purposes||{}).length>0?(0,t.jsx)(i.UQy,{allowMultiple:!0,children:Object.entries(c.purposes).map((e,s)=>{let[n]=e;return(0,t.jsx)(i.Qdk,{children:e=>{let{isExpanded:s}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.KFZ,{backgroundColor:s?"gray.50":"unset",children:[(0,t.jsx)(i.xuv,{flex:"1",textAlign:"left",children:n}),(0,t.jsx)(i.XEm,{})]}),(0,t.jsxs)(i.Hk3,{backgroundColor:"gray.50",children:[(0,t.jsx)(i.jqI,{className:"my-4",vertical:!0,children:d("Data uses",c.purposes[n].data_uses)}),(0,t.jsx)(i.jqI,{className:"my-4",vertical:!0,children:d("Legal basis",c.purposes[n].legal_bases)})]})]})}},s)})}):(0,t.jsx)(r,{italic:!0,children:"no known purposes"}),(0,t.jsx)("div",{className:"my-4",children:d("Features",c.features)}),(0,t.jsx)("div",{className:"my-4",children:d("Data categories",c.data_categories)})]})}),(0,t.jsxs)(i.mzw,{children:[(0,t.jsx)(i.wpx,{size:"small",onClick:n,children:"Close"}),(0,t.jsx)(i.LZC,{})]})]})]})}},42478:function(e,s,n){"use strict";n.d(s,{FU:function(){return c},JE:function(){return i},Ki:function(){return d},SU:function(){return g},W:function(){return p},h9:function(){return a},jc:function(){return t},qt:function(){return o},sn:function(){return u}});let{useGetEmailInviteStatusQuery:t,useGetActiveMessagingProviderQuery:i,useCreateMessagingConfigurationMutation:a,useCreateMessagingConfigurationSecretsMutation:r,useGetMessagingConfigurationDetailsQuery:l,useGetMessagingConfigurationsQuery:o,useGetMessagingConfigurationByKeyQuery:c,useUpdateMessagingConfigurationByKeyMutation:u,useUpdateMessagingConfigurationSecretsByKeyMutation:d,useCreateTestConnectionMessageMutation:g,useDeleteMessagingConfigurationByKeyMutation:p}=n(78780).u.injectEndpoints({endpoints:e=>({getEmailInviteStatus:e.query({query:()=>({url:"/messaging/email-invite/status"}),providesTags:()=>["Email Invite Status"]}),createMessagingConfiguration:e.mutation({query:e=>({url:"messaging/config",method:"POST",body:e}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getActiveMessagingProvider:e.query({queryFn:async(e,s,n,t)=>{let i=await t({url:"messaging/default/active"});return i.error&&404===i.error.status?{data:null}:i},providesTags:["Messaging Config"]}),createMessagingConfigurationSecrets:e.mutation({query:e=>({url:"messaging/default/".concat(e.service_type,"/secret"),method:"PUT",body:e.details}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getMessagingConfigurationDetails:e.query({query:e=>({url:"messaging/default/".concat(e.type)}),providesTags:["Messaging Config"]}),getMessagingConfigurations:e.query({query:()=>({url:"messaging/config"}),providesTags:["Messaging Config"]}),getMessagingConfigurationByKey:e.query({query:e=>({url:"messaging/config/".concat(e.key)}),providesTags:["Messaging Config"]}),createTestConnectionMessage:e.mutation({query:e=>({url:"messaging/test/".concat(e.service_type),method:"POST",body:e.details}),invalidatesTags:["Messaging Config"]}),updateMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"PATCH",body:e.config}),invalidatesTags:["Messaging Config","Configuration Settings"]}),updateMessagingConfigurationSecretsByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key,"/secret"),method:"PUT",body:e.secrets}),invalidatesTags:["Messaging Config","Configuration Settings"]}),deleteMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"DELETE"}),invalidatesTags:["Messaging Config","Configuration Settings"]})})})},47672:function(e,s,n){"use strict";n.r(s),n.d(s,{default:function(){return P}});var t=n(24246),i=n(87949),a=n(27378),r=n(77213),l=n(58754),o=n(92222),c=n(59003),u=n(25980),d=n(47935),g=n(86677);let p=(e,s)=>{let n=e.filter(e=>e.isChecked);return n.length>0?"".concat(s,"=").concat(n.map(e=>e.value).join("&".concat(s,"="))):void 0},x=e=>{let{value:s,displayText:n,isChecked:a,onCheckboxChange:r}=e;return(0,t.jsx)(i.XZJ,{value:s,height:"20px",mb:"25px",isChecked:a,onChange:e=>{let{target:n}=e;r(s,n.checked)},_focusWithin:{bg:"gray.100"},colorScheme:"complimentary",children:(0,t.jsx)(i.xvT,{fontSize:"sm",lineHeight:5,textOverflow:"ellipsis",overflow:"hidden",children:n})},s)},h=e=>{let{options:s,header:n,onCheckboxChange:r,columns:l=3,numDefaultOptions:o=15}=e,[c,u]=(0,a.useState)(!1),d=c?s:s.slice(0,o),g=s.length>o;return(0,t.jsxs)(i.Qdk,{border:"0px",padding:"12px 8px 8px 12px",children:[(0,t.jsx)(i.X6q,{height:"56px",children:(0,t.jsxs)(i.KFZ,{height:"100%",children:[(0,t.jsx)(i.xuv,{flex:"1",alignItems:"center",justifyContent:"center",textAlign:"left",fontWeight:600,children:n}),(0,t.jsx)(i.XEm,{})]})}),(0,t.jsxs)(i.Hk3,{id:"panel-".concat(n),children:[(0,t.jsx)(i.MIq,{columns:l,children:d.map(e=>(0,t.jsx)(x,{...e,onCheckboxChange:r},e.value))}),!c&&g?(0,t.jsx)(i.wpx,{type:"text",onClick:()=>{u(!0)},children:"View more"}):null,c&&g?(0,t.jsx)(i.wpx,{type:"text",onClick:()=>{u(!1)},children:"View less"}):null]})]})},f=e=>{let{heading:s,children:n}=e;return(0,t.jsxs)(i.xuv,{padding:"12px 8px 8px 12px",maxHeight:600,children:[s?(0,t.jsx)(i.X6q,{size:"md",lineHeight:6,fontWeight:"bold",mb:2,children:s}):null,n]})},m=e=>{let{resetFilters:s,isOpen:n,onClose:a,children:r,...l}=e;return(0,t.jsxs)(i.u_l,{isOpen:n,onClose:a,isCentered:!0,size:"2xl",...l,children:[(0,t.jsx)(i.ZAr,{}),(0,t.jsxs)(i.hzk,{children:[(0,t.jsx)(i.xBx,{children:"Filters"}),(0,t.jsx)(i.olH,{}),(0,t.jsx)(i.izJ,{}),(0,t.jsx)(i.fef,{maxH:"85vh",padding:"0px",overflowX:"auto",style:{scrollbarGutter:"stable"},children:r}),(0,t.jsx)(i.mzw,{children:(0,t.jsxs)(i.xuv,{display:"flex",justifyContent:"space-between",width:"100%",children:[(0,t.jsx)(i.wpx,{onClick:s,className:"mr-3 grow",children:"Reset filters"}),(0,t.jsx)(i.wpx,{type:"primary",onClick:a,className:"grow",children:"Done"})]})})]})]})};var j=n(77830),C=n(23923),y=n(16134),v=n(6675),b=n(28079);let k=()=>{let{isOpen:e,onClose:s,onOpen:n}=(0,i.qY0)();(0,b.fd)();let t=(0,y.C)(b.U3);(0,v.a4)();let r=(0,y.C)(v.ZS),[l,o]=(0,a.useState)([]),[c,u]=(0,a.useState)([]),[d,g]=(0,a.useState)([{displayText:"Consent",value:"Consent",isChecked:!1},{displayText:"Legitimate Interest",value:"Legitimate interests",isChecked:!1}]),[p,x]=(0,a.useState)([{displayText:"Advertising",value:"advertising",isChecked:!1},{displayText:"Analytics",value:"analytics",isChecked:!1},{displayText:"Functional",value:"functional",isChecked:!1},{displayText:"Essential",value:"essential",isChecked:!1}]);(0,a.useEffect)(()=>{0===c.length&&u(t.map(e=>({value:e.fides_key,displayText:e.name||e.fides_key,isChecked:!1})))},[t,c,u]),(0,a.useEffect)(()=>{0===l.length&&o([...Object.entries(r.purposes).map(e=>({value:"normal.".concat(e[0]),displayText:e[1].name,isChecked:!1})),...Object.entries(r.special_purposes).map(e=>({value:"special.".concat(e[0]),displayText:e[1].name,isChecked:!1}))])},[r,l,u]);let h=(e,s,n,t)=>{t(n.map(n=>n.value===e?{...n,isChecked:s}:n))};return{isOpen:e,onClose:s,onOpen:n,resetFilters:()=>{u(e=>e.map(e=>({...e,isChecked:!1}))),g(e=>e.map(e=>({...e,isChecked:!1}))),o(e=>e.map(e=>({...e,isChecked:!1}))),x(e=>e.map(e=>({...e,isChecked:!1})))},purposeOptions:l,onPurposeChange:(e,s)=>{h(e,s,l,o)},dataUseOptions:c,onDataUseChange:(e,s)=>{h(e,s,c,u)},legalBasisOptions:d,onLegalBasisChange:(e,s)=>{h(e,s,d,g)},consentCategoryOptions:p,onConsentCategoryChange:(e,s)=>{h(e,s,p,x)}}},w=e=>{let{isOpen:s,isTcfEnabled:n,onClose:a,resetFilters:r,purposeOptions:l,onPurposeChange:o,dataUseOptions:c,onDataUseChange:u,legalBasisOptions:d,onLegalBasisChange:g,consentCategoryOptions:p,onConsentCategoryChange:x}=e;return(0,t.jsx)(m,{isOpen:s,onClose:a,resetFilters:r,children:(0,t.jsx)(i.UQy,{children:(0,t.jsxs)(f,{children:[n?(0,t.jsx)(h,{options:l,onCheckboxChange:o,header:"TCF purposes",columns:1,numDefaultOptions:5}):null,(0,t.jsx)(h,{options:c,onCheckboxChange:u,header:"Data uses"}),n?(0,t.jsx)(h,{options:d,onCheckboxChange:g,header:"Legal basis"}):null,n?null:(0,t.jsx)(h,{options:p,onCheckboxChange:x,header:"Consent categories"})]})})})};var T=n(48347),_=n(32885);let S=(0,o.Cl)(),M={items:[],total:0,page:1,size:25,pages:1},q=()=>{let{tcf:e,dictionaryService:s}=(0,u.hz)(),{isLoading:n}=(0,_.x8)(),{isOpen:r,onOpen:l,onClose:x}=(0,T.W)(),h=(0,g.useRouter)(),[f,m]=(0,a.useState)(),{isOpen:y,onOpen:v,onClose:b,resetFilters:q,purposeOptions:O,onPurposeChange:P,dataUseOptions:E,onDataUseChange:F,legalBasisOptions:z,onLegalBasisChange:N,consentCategoryOptions:R,onConsentCategoryChange:I}=k(),A=(0,a.useMemo)(()=>p(E,"data_uses"),[E]),L=(0,a.useMemo)(()=>p(z,"legal_bases"),[z]),B=(0,a.useMemo)(()=>p(O.filter(e=>e.value.includes("normal")).map(e=>({...e,value:e.value.split(".")[1]})),"purposes"),[O]),U=(0,a.useMemo)(()=>p(O.filter(e=>e.value.includes("special")).map(e=>({...e,value:e.value.split(".")[1]})),"special_purposes"),[O]),Z=(0,a.useMemo)(()=>p(R,"consent_category"),[R]),{PAGE_SIZES:D,pageSize:V,setPageSize:W,onPreviousPageClick:H,isPreviousPageDisabled:K,onNextPageClick:X,isNextPageDisabled:Q,startRange:G,endRange:J,pageIndex:Y,setTotalPages:$,resetPageIndexToDefault:ee}=(0,d.oi)(),[es,en]=(0,a.useState)(),et=(0,a.useCallback)(e=>{ee(),en(e)},[ee,en]),{isFetching:ei,isLoading:ea,data:er}=(0,_.de)({pageIndex:Y,pageSize:V,dataUses:A,search:es,legalBasis:L,purposes:B,specialPurposes:U,consentCategories:Z}),{items:el,total:eo,pages:ec}=(0,a.useMemo)(()=>er||M,[er]);(0,a.useEffect)(()=>{$(ec)},[ec,$]);let eu=(0,a.useMemo)(()=>[S.accessor(e=>e.name,{id:"name",cell:e=>(0,t.jsx)(d.G3,{value:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"Vendor",...e})}),S.accessor(e=>e.data_uses,{id:"tcf_purpose",cell:e=>(0,t.jsx)(d.CI,{plSuffix:"purposes",singSuffix:"purpose",count:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"TCF purpose",...e})}),S.accessor(e=>e.data_uses,{id:"data_uses",cell:e=>(0,t.jsx)(d.CI,{plSuffix:"data uses",singSuffix:"data use",count:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"Data use",...e})}),S.accessor(e=>e.legal_bases,{id:"legal_bases",cell:e=>(0,t.jsx)(d.CI,{plSuffix:"bases",singSuffix:"basis",count:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"Legal basis",...e})}),S.accessor(e=>e.consent_categories,{id:"consent_categories",cell:e=>(0,t.jsx)(d.CI,{plSuffix:"categories",singSuffix:"category",count:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"Categories",...e})}),S.accessor(e=>e.cookies,{id:"cookies",cell:e=>(0,t.jsx)(d.CI,{plSuffix:"cookies",singSuffix:"cookie",count:e.getValue()}),header:e=>(0,t.jsx)(d.Rr,{value:"Cookies",...e})})],[]),ed=(0,c.b7)({columns:eu,data:el,state:{columnVisibility:{tcf_purpose:e,data_uses:e,legal_bases:e,consent_categories:!e,cookies:!e}},getCoreRowModel:(0,o.sC)(),columnResizeMode:"onChange",enableColumnResizing:!0});return ea||n?(0,t.jsx)(d.I4,{rowHeight:36,numRows:15}):(0,t.jsxs)(i.kCb,{flex:1,direction:"column",overflow:"auto",children:[r&&f?(0,t.jsx)(T.m,{isOpen:r,fidesKey:f,onClose:x}):null,(0,t.jsxs)(d.Q$,{children:[(0,t.jsx)(d.HO,{globalFilter:es,setGlobalFilter:et,placeholder:"Search"}),(0,t.jsx)(w,{isOpen:y,isTcfEnabled:e,onClose:b,resetFilters:q,purposeOptions:O,onPurposeChange:P,dataUseOptions:E,onDataUseChange:F,legalBasisOptions:z,onLegalBasisChange:N,consentCategoryOptions:R,onConsentCategoryChange:I}),(0,t.jsxs)(i.Ugi,{alignItems:"center",spacing:2,children:[(0,t.jsx)(C.Z,{buttonLabel:"Add vendors",onButtonClick:s?()=>{h.push(j.Gg)}:void 0}),(0,t.jsx)(i.wpx,{onClick:v,"data-testid":"filter-multiple-systems-btn",children:"Filter"})]})]}),(0,t.jsx)(d.ZK,{tableInstance:ed,onRowClick:e=>{m(e.fides_key),l()}}),(0,t.jsx)(d.s8,{totalRows:eo||0,pageSizes:D,setPageSize:W,onPreviousPageClick:H,isPreviousPageDisabled:K||ei,onNextPageClick:X,isNextPageDisabled:Q||ei,startRange:G,endRange:J})]})},{Text:O}=i.AntTypography;var P=()=>(0,t.jsxs)(r.Z,{title:"Vendors",children:[(0,t.jsx)(l.Z,{heading:"Vendors",children:(0,t.jsx)(O,{className:"block w-1/2",children:"Use the table below to manage your vendors. Modify the legal basis for a vendor if permitted and view and group your views by applying different filters"})}),(0,t.jsx)(q,{})]})}},function(e){e.O(0,[401,3923,2888,9774,179],function(){return e(e.s=54727)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2357],{5123:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience/[id]",function(){return n(41884)}])},41884:function(e,i,n){"use strict";n.r(i);var r=n(24246),c=n(
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2357],{5123:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience/[id]",function(){return n(41884)}])},41884:function(e,i,n){"use strict";n.r(i);var r=n(24246),c=n(87949),s=n(86677),t=n(77213),d=n(11817),u=n(94315);i.default=()=>{let e=(0,s.useRouter)(),i="";e.query.id&&(i=Array.isArray(e.query.id)?e.query.id[0]:e.query.id);let{data:n,isLoading:a}=(0,u.Qv)(i),{data:l,isLoading:o}=(0,u.fc)(i);return a||o?(0,r.jsx)(t.Z,{title:"Privacy experience",children:(0,r.jsx)(c.kCb,{className:"size-full items-center justify-center overflow-scroll",children:(0,r.jsx)(c.M5Y,{children:(0,r.jsx)(c.$jN,{})})})}):n?(0,r.jsx)(t.Z,{title:"Privacy experience ".concat(n.component),padded:!1,children:(0,r.jsx)(d.Z,{passedInExperience:n,passedInTranslations:l})}):(0,r.jsx)(t.Z,{title:"Privacy experience",children:(0,r.jsxs)(c.xvT,{children:["No privacy experience with id ",i," found."]})})}}},function(e){e.O(0,[8765,3662,6419,6084,1817,2888,9774,179],function(){return e(e.s=5123)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7680],{49048:function(n,e,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience/new",function(){return c(16669)}])},16669:function(n,e,c){"use strict";c.r(e);var i=c(24246),t=c(77213),u=c(11817);e.default=()=>(0,i.jsx)(t.Z,{title:"Privacy Experience",padded:!1,children:(0,i.jsx)(u.Z,{})})}},function(n){n.O(0,[8765,3662,6419,
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7680],{49048:function(n,e,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience/new",function(){return c(16669)}])},16669:function(n,e,c){"use strict";c.r(e);var i=c(24246),t=c(77213),u=c(11817);e.default=()=>(0,i.jsx)(t.Z,{title:"Privacy Experience",padded:!1,children:(0,i.jsx)(u.Z,{})})}},function(n){n.O(0,[8765,3662,6419,6084,1817,2888,9774,179],function(){return n(n.s=49048)}),_N_E=n.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[354],{55173:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience",function(){return s(44061)}])},59301:function(e,t,s){"use strict";var i=s(24246);let{Link:n}=s(
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[354],{55173:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience",function(){return s(44061)}])},59301:function(e,t,s){"use strict";var i=s(24246);let{Link:n}=s(87949).AntTypography;t.Z=e=>{let{children:t,...s}=e;return(0,i.jsx)(n,{target:"_blank",rel:"noopener noreferrer",...s,children:t})}},32222:function(e,t,s){"use strict";s.d(t,{J:function(){return i}});let i=new Map([["overlay","Overlay"],["privacy_center","Privacy center"],["tcf_overlay","TCF overlay"],["modal","Modal"],["banner_and_modal","Banner and modal"],["headless","Headless"]])},44061:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return V}});var i=s(24246),n=s(87949),a=s(27378),r=s(35287),o=s(92222),l=s(59003),c=s(47935),d=s(86677),p=s(77830),u=s(19904),x=s(45277),h=s(59301),y=s(812),g=s(46628),m=s(32885),j=e=>{let{isOpen:t,onClose:s,testId:r="custom-asset-modal",assetType:o}=e,l=(0,a.useRef)(null),[c,d]=(0,a.useState)(null),p=(0,n.pmc)(),{getRootProps:u,getInputProps:j,isDragActive:f}=(0,x.uI)({onDrop:e=>{var t;if("css"!==(null===(t=e[0].name.split(".").pop())||void 0===t?void 0:t.toLowerCase())){p((0,g.Vo)("Only css files are allowed."));return}d(e[0])}}),[v,{isLoading:b}]=(0,m.JQ)(),w=async()=>{if(c){let e=await v({assetType:o,file:c});if((0,y.D4)(e)){p((0,g.Vo)((0,y.e$)(e.error)));return}p((0,g.t5)("Stylesheet uploaded successfully")),s()}};return(0,i.jsxs)(n.u_l,{initialFocusRef:l,isOpen:t,onClose:s,size:"2xl",children:[(0,i.jsx)(n.ZAr,{}),(0,i.jsxs)(n.hzk,{textAlign:"left",p:2,"data-testid":r,children:[(0,i.jsx)(n.xBx,{tabIndex:-1,ref:l,children:"Upload stylesheet"}),(0,i.jsxs)(n.fef,{children:[(0,i.jsxs)(n.xvT,{fontSize:"sm",mb:4,children:["To customize the appearance of your consent experiences, you may upload a CSS stylesheet."," ",(0,i.jsx)(h.Z,{href:"https://raw.githubusercontent.com/ethyca/fides/main/clients/fides-js/src/components/fides.css",children:"Download a template"})," ","as a helpful starting point.",(0,i.jsx)(h.Z,{href:"https://fid.es/customize-styles",children:"Learn more about customizing styles"}),"."]}),(0,i.jsxs)(n.xuv,{...u(),bg:f?"gray.100":"gray.50",border:"2px dashed",borderColor:f?"gray.300":"gray.200",borderRadius:"md",cursor:"pointer",minHeight:"150px",display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",children:[(0,i.jsx)("input",{...j()}),c?(0,i.jsx)(n.xvT,{children:c.name}):f?(0,i.jsx)(n.xvT,{children:"Drop the file here..."}):(0,i.jsx)(n.xvT,{children:"Click or drag and drop your file here."})]})]}),(0,i.jsxs)(n.mzw,{className:"flex w-full justify-end gap-2",children:[(0,i.jsx)(n.wpx,{onClick:s,"data-testid":"cancel-btn",disabled:b,children:"Cancel"}),(0,i.jsx)(n.wpx,{type:"primary",htmlType:"submit",disabled:!c||b,onClick:w,"data-testid":"submit-btn",children:"Submit"})]})]})]})},f=e=>{let{assetType:t}=e,s=(0,n.qY0)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.wpx,{onClick:s.onOpen,children:"Upload stylesheet"}),(0,i.jsx)(j,{isOpen:s.isOpen,onClose:s.onClose,assetType:t})]})},v=s(72625),b=s(32222),w=s(94315);let C=e=>{var t;let s=null!==(t=b.J.get(e))&&void 0!==t?t:e;return(0,i.jsx)(v.G3,{value:s})},T=e=>{let{row:t,getValue:s}=e,[n]=(0,w.o3)(),[r,o]=(0,a.useState)(!1),l=async e=>{o(!0);let s=await n({id:t.original.id,disabled:!e});return o(!1),s},c=s(),{regions:d}=t.original,p=!!d&&d.length>1;return(0,i.jsx)(v.S1,{enabled:!c,onToggle:l,title:p?"Disabling multiple states":"Disabling experience",message:p?"Warning, you are about to disable this privacy experience for multiple locations. If you continue, your privacy notices will not be accessible to users in these locations.":"Warning, you are about to disable this privacy experience. If you continue, your privacy notices will not be accessible to users in this location.",loading:r})};var _=s(88340),S=s(25980),R=s(14048);let P="{privacy-center-hostname-and-path}",k='<script src="https://'.concat(P,'/fides.js"></script>'),E="<script>Fides.gtm()</script>";var z=()=>{let e=(0,n.qY0)(),t=(0,a.useRef)(null),{fidesCloud:s}=(0,S.hz)(),{data:r,isSuccess:o}=(0,m.Vh)(void 0,{skip:!s}),l=(0,a.useMemo)(()=>s&&o&&(null==r?void 0:r.privacy_center_url)?k.replace(P,r.privacy_center_url):k,[null==r?void 0:r.privacy_center_url,s,o]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.wpx,{onClick:e.onOpen,icon:(0,i.jsx)(R.TI,{}),iconPosition:"end","data-testid":"js-tag-btn",children:"Get JavaScript tag"}),(0,i.jsxs)(n.u_l,{isOpen:e.isOpen,onClose:e.onClose,isCentered:!0,size:"xl",initialFocusRef:t,children:[(0,i.jsx)(n.ZAr,{}),(0,i.jsxs)(n.hzk,{"data-testid":"copy-js-tag-modal",children:[(0,i.jsx)(n.xBx,{tabIndex:-1,ref:t,pb:0,children:"Copy JavaScript tag"}),(0,i.jsx)(n.fef,{pt:3,pb:6,children:(0,i.jsxs)(n.Kqy,{spacing:3,children:[(0,i.jsx)(n.xvT,{children:"Copy the code below and paste it onto every page of your website, as high up in the <head> as possible. Replace the bracketed component with your privacy center's hostname and path."}),(0,i.jsxs)(n.EKh,{display:"flex",justifyContent:"space-between",alignItems:"center",p:0,children:[(0,i.jsx)(n.xvT,{p:4,children:l}),(0,i.jsx)(_.Z,{copyText:l})]}),(0,i.jsx)(n.xvT,{children:"Optionally, you can enable Google Tag Manager for managing tags on your website by including the script tag below along with the Fides.js tag. Place it below the Fides.js script tag."}),(0,i.jsxs)(n.EKh,{display:"flex",justifyContent:"space-between",alignItems:"center",p:0,children:[(0,i.jsx)(n.xvT,{p:4,children:E}),(0,i.jsx)(_.Z,{copyText:E})]}),(0,i.jsxs)(n.xvT,{children:["For more information about adding a JavaScript tag to your website, please visit"," ",(0,i.jsx)(n.rUS,{color:"complimentary.500",href:"https://docs.ethyca.com/tutorials/consent-management-configuration/install-fides#install-fidesjs-script-on-your-website",isExternal:!0,children:"docs.ethyca.com"})]})]})})]})]})]})},I=s(22286),D=s(65735);let M={items:[],total:0,page:1,size:25,pages:1},O=()=>{let e=(0,d.useRouter)();return(0,i.jsxs)(n.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:[(0,i.jsxs)(n.gCW,{children:[(0,i.jsx)(n.xvT,{fontSize:"md",fontWeight:"600",children:"No privacy experiences found."}),(0,i.jsx)(n.xvT,{fontSize:"sm",children:'Click "Create new experience" to add your first privacy experience to Fides.'})]}),(0,i.jsx)(n.wpx,{onClick:()=>e.push("".concat(p.w0,"/new")),size:"small",type:"primary","data-testid":"add-privacy-experience-btn",children:"Create new experience"})]})},F=(0,o.Cl)(),N=()=>{let e=(0,d.useRouter)(),{isLoading:t}=(0,m.x8)(),s=(0,u.Tg)([D.Sh.PRIVACY_EXPERIENCE_UPDATE]),{PAGE_SIZES:r,pageSize:x,setPageSize:h,onPreviousPageClick:y,isPreviousPageDisabled:g,onNextPageClick:j,isNextPageDisabled:v,startRange:b,endRange:_,pageIndex:S,setTotalPages:R}=(0,c.oi)(),{isFetching:P,isLoading:k,data:E}=(0,w.cq)({page:S,size:x}),{items:N,total:V,pages:W}=(0,a.useMemo)(()=>E||M,[E]);(0,a.useEffect)(()=>{R(W)},[W,R]);let Z=(0,a.useMemo)(()=>[F.accessor(e=>e.name,{id:"name",cell:e=>(0,i.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,i.jsx)(c.Rr,{value:"Title",...e})}),F.accessor(e=>e.component,{id:"component",cell:e=>C(e.getValue()),header:e=>(0,i.jsx)(c.Rr,{value:"Component",...e})}),F.accessor(e=>e.regions,{id:"regions",cell:e=>(0,i.jsx)(c.WP,{suffix:"Locations",value:(0,I.JL)(e.getValue()),...e}),header:e=>(0,i.jsx)(c.Rr,{value:"Locations",...e}),meta:{showHeaderMenu:!0}}),F.accessor(e=>e.properties.map(e=>e.name),{id:"properties",cell:e=>(0,i.jsx)(c.WP,{suffix:"Properties",value:e.getValue(),...e}),header:e=>(0,i.jsx)(c.Rr,{value:"Properties",...e}),meta:{showHeaderMenu:!0}}),F.accessor(e=>e.updated_at,{id:"updated_at",cell:e=>(0,i.jsx)(c.G3,{value:new Date(e.getValue()).toDateString()}),header:e=>(0,i.jsx)(c.Rr,{value:"Last update",...e})}),s&&F.accessor(e=>e.disabled,{id:"enable",cell:T,header:e=>(0,i.jsx)(c.Rr,{value:"Enable",...e}),meta:{disableRowClick:!0}})].filter(Boolean),[s]),A=(0,l.b7)({getCoreRowModel:(0,o.sC)(),getGroupedRowModel:(0,o.qe)(),getExpandedRowModel:(0,o.rV)(),columns:Z,manualPagination:!0,data:N,state:{expanded:!0},columnResizeMode:"onChange"});return k||t?(0,i.jsx)(c.I4,{rowHeight:36,numRows:15}):(0,i.jsx)("div",{children:(0,i.jsxs)(n.kCb,{flex:1,direction:"column",overflow:"auto",children:[s&&(0,i.jsxs)(c.Q$,{children:[(0,i.jsxs)(n.Ugi,{alignItems:"center",spacing:2,children:[(0,i.jsx)(z,{}),(0,i.jsx)(u.ZP,{scopes:[D.Sh.CUSTOM_ASSET_UPDATE],children:(0,i.jsx)(f,{assetType:D.Db.CUSTOM_FIDES_CSS})})]}),(0,i.jsx)(n.wpx,{onClick:()=>e.push("".concat(p.w0,"/new")),type:"primary","data-testid":"add-privacy-experience-btn",children:"Create new experience"})]}),(0,i.jsx)(c.ZK,{tableInstance:A,onRowClick:s?t=>{let{id:i}=t;s&&e.push("".concat(p.w0,"/").concat(i))}:void 0,emptyTableNotice:(0,i.jsx)(O,{})}),(0,i.jsx)(c.s8,{totalRows:V||0,pageSizes:r,setPageSize:h,onPreviousPageClick:y,isPreviousPageDisabled:g||P,onNextPageClick:j,isNextPageDisabled:v||P,startRange:b,endRange:_})]})})};var V=()=>(0,i.jsxs)(r.Z,{title:"Privacy experiences",children:[(0,i.jsx)(n.xuv,{mb:4,"data-testid":"privacy-experience-page",children:(0,i.jsx)(n.X6q,{fontSize:"2xl",fontWeight:"semibold",mb:2,"data-testid":"header",children:"Privacy experience"})}),(0,i.jsx)(n.xvT,{fontSize:"sm",mb:8,width:{base:"100%",lg:"70%"},children:"Based on your privacy notices, Fides has created the banner and modal privacy experience configuration below. Each experience contains privacy notices and locations where the notices will be displayed. Edit each banner, modal, or privacy center to adjust the included privacy notices, locations, and text that is displayed to your users. When you’re ready to include these privacy notices on your website, copy the JavaScript using the button on this page and place it on your website."}),(0,i.jsx)(n.xuv,{children:(0,i.jsx)(N,{})})]})}},function(e){e.O(0,[5277,6853,2888,9774,179],function(){return e(e.s=55173)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4648],{12037:function(i,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-notices/[id]",function(){return t(48161)}])},48161:function(i,e,t){"use strict";t.r(e);var n=t(24246),c=t(
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4648],{12037:function(i,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-notices/[id]",function(){return t(48161)}])},48161:function(i,e,t){"use strict";t.r(e);var n=t(24246),c=t(87949),s=t(86677),r=t(77213),a=t(77830),o=t(58754),d=t(71922),u=t(34391);e.default=()=>{let i=(0,s.useRouter)(),e="";i.query.id&&(e=Array.isArray(i.query.id)?i.query.id[0]:i.query.id);let{data:t,isLoading:l}=(0,d._g)(e),{data:h}=(0,d.Wq)(e);return l?(0,n.jsx)(r.Z,{title:"Privacy notice",children:(0,n.jsx)(c.M5Y,{children:(0,n.jsx)(c.$jN,{})})}):t?(0,n.jsxs)(r.Z,{title:"Privacy notice ".concat(t.name),children:[(0,n.jsx)(o.Z,{heading:"Privacy Notices",breadcrumbItems:[{title:"All privacy Notices",href:a.IT},{title:t.name}]}),(0,n.jsxs)(c.xuv,{width:{base:"100%",lg:"70%"},"data-testid":"privacy-notice-detail-page",children:[(0,n.jsx)(c.xvT,{fontSize:"sm",mb:8,children:"Configure your privacy notice including consent mechanism, associated data uses and the locations in which this should be displayed to users."}),(0,n.jsx)(u.Z,{privacyNotice:t,availableTranslations:h})]})]}):(0,n.jsx)(r.Z,{title:"Privacy notice",children:(0,n.jsxs)(c.xvT,{children:["No privacy notice with id ",e," found."]})})}}},function(i){i.O(0,[8765,3662,6419,6084,6954,2888,9774,179],function(){return i(i.s=12037)}),_N_E=i.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2158],{15786:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-notices/new",function(){return n(11739)}])},11739:function(e,i,n){"use strict";n.r(i);var t=n(24246),s=n(
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2158],{15786:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-notices/new",function(){return n(11739)}])},11739:function(e,i,n){"use strict";n.r(i);var t=n(24246),s=n(87949),c=n(77213),a=n(77830),o=n(58754),r=n(34391);i.default=()=>(0,t.jsxs)(c.Z,{title:"New privacy notice",children:[(0,t.jsx)(o.Z,{heading:"Privacy Notices",breadcrumbItems:[{title:"All privacy Notices",href:a.IT},{title:"New privacy notice"}]}),(0,t.jsxs)(s.xuv,{width:{base:"100%",lg:"70%"},children:[(0,t.jsx)(s.xvT,{fontSize:"sm",mb:8,children:"Configure your privacy notice including consent mechanism, associated data uses and the locations in which this should be displayed to users."}),(0,t.jsx)(s.xuv,{"data-testid":"new-privacy-notice-page",children:(0,t.jsx)(r.Z,{})})]})]})}},function(e){e.O(0,[8765,3662,6419,6084,6954,2888,9774,179],function(){return e(e.s=15786)}),_N_E=e.O()}]);
|
fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-30cecb4656886008.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7262],{81575:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-notices",function(){return a(13089)}])},58754:function(e,t,a){"use strict";var l=a(24246),i=a(87949),n=a(70788);t.Z=e=>{let{heading:t,breadcrumbItems:a,isSticky:s=!0,children:r,rightContent:o,style:c,...d}=e;return(0,l.jsxs)("div",{...d,style:s?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,l.jsxs)(i.jqI,{justify:"space-between",children:["string"==typeof t?(0,l.jsx)(i.lQT,{className:a||r?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,o&&(0,l.jsx)("div",{"data-testid":"page-header-right-content",children:o})]}),!!a&&(0,l.jsx)(n.m,{className:r?"pb-4":void 0,items:a,"data-testid":"page-breadcrumb"}),r]})}},70788:function(e,t,a){"use strict";a.d(t,{m:function(){return c}});var l=a(24246),i=a(87949),n=a(79894),s=a.n(n),r=a(27378);let{Text:o}=i.AntTypography,c=e=>{let{items:t,...a}=e,n=(0,r.useMemo)(()=>null==t?void 0:t.map((e,a)=>{let n=a===t.length-1,r={...e},c=r.onClick&&!r.href;return("string"==typeof r.title&&(r.title=(0,l.jsx)(o,{style:{color:"inherit",maxWidth:n?void 0:400},ellipsis:!n,id:n?"breadcrumb-current-page":void 0,children:r.title})),c)?r.title=(0,l.jsx)(i.wpx,{type:"text",size:"small",icon:r.icon,onClick:r.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:r.title}):(r.icon&&(r.title=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"anticon align-text-bottom",children:r.icon}),r.title]})),r.href&&r.title&&(r.title=(0,l.jsx)(s(),{href:r.href,className:"ant-breadcrumb-link",children:r.title}),delete r.href)),r}),[t]);return(0,l.jsx)(i.zrq,{items:n,...a})}},2525:function(e,t,a){"use strict";a.d(t,{Q:function(){return r}});var l=a(24246),i=a(87949),n=a(27378),s=a(3110);let r=e=>{let{values:t,columnState:a,tagProps:r,onTagClose:o,onStateChange:c,...d}=e,{isExpanded:u,isWrapped:p,version:h}=a||{},[x,g]=(0,n.useState)(!u),[m,v]=(0,n.useState)(!!p),[f,j]=(0,n.useState)(u?t:null==t?void 0:t.slice(0,2));(0,n.useEffect)(()=>{g(!u)},[u,h]),(0,n.useEffect)(()=>{v(!!p)},[p]),(0,n.useEffect)(()=>{(null==t?void 0:t.length)?j(x?t.slice(0,2):t):j(t)},[x,t,c]),(0,n.useEffect)(()=>{(null==t?void 0:t.length)&&t.length<=2&&!x&&(g(!0),null==c||c(!1))},[t,c,x]);let b=(0,n.useCallback)(()=>{j(null==t?void 0:t.slice(0,2)),g(!0),null==c||c(!1)},[t,c]),y=(0,n.useCallback)(()=>{g(!1),null==c||c(!0)},[c]),w=(0,n.useCallback)(()=>{x?y():b()},[x,y,b]);return(0,n.useMemo)(()=>(null==f?void 0:f.length)?(0,l.jsxs)(i.jqI,{align:x?"center":"start",wrap:m?"wrap":"nowrap",vertical:!x,gap:"small","data-testid":"tag-expandable-cell",style:{overflowX:"auto",...d.style},...d,children:[f.map(e=>(0,l.jsx)(i.j8w,{color:"white","data-testid":e.key,onClose:o?()=>o(e.key):void 0,...r,...e.tagProps,children:(0,l.jsx)(i.lKn,{ellipsis:!!x&&{tooltip:!0},style:{color:"inherit",maxWidth:x?s.TD:void 0},children:e.label})},e.key)),t&&t.length>2&&(0,l.jsx)(i.wpx,{type:"link",size:"small",onClick:e=>{e.stopPropagation(),w()},className:"h-auto p-0",style:{fontSize:"var(--ant-font-size)"},children:x?"+".concat(t.length-2," more"):s.T5})]}):(0,l.jsx)("span",{"data-testid":"tag-expandable-cell-empty"}),[f,x,m,d,t,r,o,w])}},3110:function(e,t,a){"use strict";a.d(t,{DI:function(){return r},T5:function(){return n},TD:function(){return s}});var l=a(24246),i=a(87949);let n="show less",s=150,r=[{key:"expand-all",label:"Expand all",icon:(0,l.jsx)(i.PJP.jbG,{})},{key:"collapse-all",label:"Collapse all",icon:(0,l.jsx)(i.PJP.MVB,{})}]},26070:function(e,t,a){"use strict";a.d(t,{v:function(){return o},Q:function(){return c.Q}});var l=a(24246),i=a(87949),n=a(27378),s=a(3110);let{Text:r}=i.AntTypography,o=e=>{let{values:t,valueSuffix:a,columnState:o,containerProps:c}=e,{isExpanded:d,version:u}=o||{},[p,h]=(0,n.useState)(!d);(0,n.useEffect)(()=>{h(!d)},[d,u]);let x=(0,n.useCallback)(()=>{h(!0)},[]),g=(0,n.useCallback)(()=>{h(!1)},[]),m=(0,n.useCallback)(()=>{p?g():x()},[p,g,x]);return(0,n.useMemo)(()=>(null==t?void 0:t.length)?1===t.length?(0,l.jsx)(i.jqI,{...c,children:(0,l.jsx)(r,{ellipsis:!0,"data-testid":"list-expandable-cell-single",children:t[0]})}):(0,l.jsxs)(i.jqI,{align:p?"center":"flex-start",vertical:!p,gap:p?"small":"none","data-testid":"list-expandable-cell",...c,children:[p?(0,l.jsxs)(r,{ellipsis:!0,children:[t.length," ",a]}):(0,l.jsx)(i.krs,{dataSource:t,renderItem:e=>(0,l.jsx)("li",{children:e})}),(0,l.jsx)(i.wpx,{type:"link",size:"small",onClick:e=>{e.stopPropagation(),m()},className:"h-auto p-0",style:{fontSize:"var(--ant-font-size)"},children:p?"view":s.T5})]}):null,[p,t,a,m,c])};var c=a(2525)},13089:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return T}});var l=a(24246),i=a(87949),n=a(27378),s=a(35287),r=a(58754),o=a(92222),c=a(59003),d=a(47935),u=a(79894),p=a.n(u),h=a(86677),x=a(77830),g=a(8411),m=a(19904),v=a(32885),f=a(22286),j=a(65063),b=a(71922),y=a(65735),w=a(26070);let k={items:[],total:0,page:1,size:25,pages:1},C=()=>(0,l.jsxs)(i.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"no-results-notice",alignSelf:"center",margin:"auto",children:[(0,l.jsxs)(i.gCW,{children:[(0,l.jsx)(i.xvT,{fontSize:"md",fontWeight:"600",children:"No privacy notices found."}),(0,l.jsx)(i.xvT,{fontSize:"sm",children:'Click "Add a privacy notice" to add your first privacy notice to Fides.'})]}),(0,l.jsx)(i.wpx,{href:"".concat(x.IT,"/new"),role:"link",size:"small",type:"primary","data-testid":"add-privacy-notice-btn",children:"Add a privacy notice +"})]}),P=(0,o.Cl)(),R=()=>{let{isLoading:e}=(0,v.x8)(),t=(0,h.useRouter)(),a=(0,m.Tg)([y.Sh.PRIVACY_NOTICE_UPDATE]),{PAGE_SIZES:s,pageSize:r,setPageSize:u,onPreviousPageClick:R,isPreviousPageDisabled:T,onNextPageClick:N,isNextPageDisabled:z,startRange:E,endRange:_,pageIndex:S,setTotalPages:I}=(0,d.oi)(),{isFetching:M,isLoading:V,data:A}=(0,b.J6)({page:S,size:r}),{items:q,total:Q,pages:W}=(0,n.useMemo)(()=>A||k,[A]);(0,n.useEffect)(()=>{I(W)},[W,I]);let D=(0,n.useMemo)(()=>[P.accessor(e=>e.name,{id:"name",cell:e=>(0,l.jsx)(d.G3,{value:e.getValue()}),header:e=>(0,l.jsx)(d.Rr,{value:"Title",...e})}),P.accessor(e=>e.consent_mechanism,{id:"consent_mechanism",cell:e=>(0,f.JA)(e.getValue()),header:e=>(0,l.jsx)(d.Rr,{value:"Mechanism",...e})}),P.accessor(e=>e.configured_regions,{id:"regions",cell:e=>{var t,a;return(0,l.jsx)(w.Q,{values:null!==(a=null===(t=e.getValue())||void 0===t?void 0:t.map(e=>{var t;let a=(0,i.QCN)(e);return{label:a?(0,i.c1K)({isoEntry:a,showFlag:!0}):null!==(t=g.Z8[e])&&void 0!==t?t:e,key:e}}))&&void 0!==a?a:[]})},header:e=>(0,l.jsx)(d.Rr,{value:"Locations",...e}),meta:{disableRowClick:!0}}),P.accessor(e=>e.disabled,{id:"status",cell:e=>(0,f.jN)(e),header:e=>(0,l.jsx)(d.Rr,{value:"Status",...e})}),P.accessor(e=>e.framework,{id:"framework",cell:e=>e.getValue()?(0,l.jsx)(d.A4,{value:j.Ep.get(e.getValue())}):null,header:e=>(0,l.jsx)(d.Rr,{value:"Framework",...e})}),P.accessor(e=>e.children,{id:"children",cell:e=>{var t;return(null===(t=(0,f.Mq)(e.getValue()))||void 0===t?void 0:t.length)?(0,l.jsx)(d.WP,{suffix:"Children",value:(0,f.Mq)(e.getValue()),...e}):(0,l.jsx)(d.G3,{value:"Unassigned"})},header:e=>(0,l.jsx)(d.Rr,{value:"Children",...e}),meta:{showHeaderMenu:!0}}),a&&P.accessor(e=>e.disabled,{id:"enable",cell:f.PS,header:e=>(0,l.jsx)(d.Rr,{value:"Enable",...e}),meta:{disableRowClick:!0}})].filter(Boolean),[a]),B=(0,c.b7)({getCoreRowModel:(0,o.sC)(),getGroupedRowModel:(0,o.qe)(),getExpandedRowModel:(0,o.rV)(),columns:D,manualPagination:!0,data:q,state:{expanded:!0},columnResizeMode:"onChange"});return V||e?(0,l.jsx)(d.I4,{rowHeight:36,numRows:15}):(0,l.jsx)("div",{children:(0,l.jsxs)(i.kCb,{flex:1,direction:"column",overflow:"auto",children:[a&&(0,l.jsx)(d.Q$,{children:(0,l.jsx)(i.Ugi,{alignItems:"center",spacing:4,marginLeft:"auto",children:(0,l.jsx)(p(),{href:"".concat(x.IT,"/new"),passHref:!0,legacyBehavior:!0,children:(0,l.jsx)(i.wpx,{type:"primary","data-testid":"add-privacy-notice-btn",children:"Add a privacy notice +"})})})}),(0,l.jsx)(d.ZK,{tableInstance:B,onRowClick:a?e=>{let{id:l}=e;a&&t.push("".concat(x.IT,"/").concat(l))}:void 0,emptyTableNotice:(0,l.jsx)(C,{})}),(0,l.jsx)(d.s8,{totalRows:Q||0,pageSizes:s,setPageSize:u,onPreviousPageClick:R,isPreviousPageDisabled:T||M,onNextPageClick:N,isNextPageDisabled:z||M,startRange:E,endRange:_})]})})};var T=()=>(0,l.jsxs)(s.Z,{title:"Privacy notices",children:[(0,l.jsx)(r.Z,{heading:"Privacy Notices",children:(0,l.jsx)(i.xvT,{fontSize:"sm",mb:8,width:{base:"100%",lg:"50%"},children:"Manage the privacy notices and mechanisms that are displayed to your users based on their location, what information you collect about them, and how you use that data."})}),(0,l.jsx)(i.xuv,{"data-testid":"privacy-notices-page",children:(0,l.jsx)(R,{})})]})}},function(e){e.O(0,[6853,2888,9774,179],function(){return e(e.s=81575)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1285],{63641:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/properties",function(){return i(63063)}])},63063:function(e,n,i){"use strict";i.r(n);var r=i(24246),s=i(
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1285],{63641:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/properties",function(){return i(63063)}])},63063:function(e,n,i){"use strict";i.r(n);var r=i(24246),s=i(87949),t=i(77213),o=i(58754),a=i(25783);n.default=()=>(0,r.jsxs)(t.Z,{title:"Properties",children:[(0,r.jsx)(o.Z,{heading:"Properties",children:(0,r.jsx)(s.xvT,{fontSize:"sm",width:{base:"100%",lg:"60%"},children:"Review and manage your properties below. Properties are the locations you have configured for consent management such as a website or mobile app."})}),(0,r.jsx)(a.V,{})]})}},function(e){e.O(0,[2040,5783,2888,9774,179],function(){return e(e.s=63641)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3422],{82545:function(e,n,r){var t=r(81822)(r(77400),"DataView");e.exports=t},44538:function(e,n,r){var t=r(81822)(r(77400),"Map");e.exports=t},64825:function(e,n,r){var t=r(81822)(r(77400),"Promise");e.exports=t},46151:function(e,n,r){var t=r(81822)(r(77400),"Set");e.exports=t},66902:function(e,n,r){var t=r(81822)(r(77400),"WeakMap");e.exports=t},80594:function(e){e.exports=function(e,n){for(var r=-1,t=null==e?0:e.length;++r<t&&!1!==n(e[r],r,e););return e}},98213:function(e,n,r){var t=r(24701),a=r(2900),i=r(19785),o=r(43854),s=r(42383),l=r(48519),c=Object.prototype.hasOwnProperty;e.exports=function(e,n){var r=i(e),u=!r&&a(e),_=!r&&!u&&o(e),d=!r&&!u&&!_&&l(e),F=r||u||_||d,p=F?t(e.length,String):[],h=p.length;for(var f in e)(n||c.call(e,f))&&!(F&&("length"==f||_&&("offset"==f||"parent"==f)||d&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||s(f,h)))&&p.push(f);return p}},52033:function(e,n,r){var t=r(26194),a=r(26789)(t);e.exports=a},49819:function(e,n,r){var t=r(18911)();e.exports=t},26194:function(e,n,r){var t=r(49819),a=r(50098);e.exports=function(e,n){return e&&t(e,n,a)}},55829:function(e,n,r){var t=r(99736),a=r(92360);e.exports=function(e){return a(e)&&"[object Arguments]"==t(e)}},46729:function(e,n,r){var t=r(28338),a=r(99678),i=r(11611),o=r(76532),s=/^\[object .+?Constructor\]$/,l=Object.prototype,c=Function.prototype.toString,u=l.hasOwnProperty,_=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||a(e))&&(t(e)?_:s).test(o(e))}},26972:function(e,n,r){var t=r(99736),a=r(84194),i=r(92360),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&a(e.length)&&!!o[t(e)]}},20186:function(e,n,r){var t=r(56016),a=r(50962),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!t(e))return a(e);var n=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&n.push(r);return n}},24701:function(e){e.exports=function(e,n){for(var r=-1,t=Array(e);++r<e;)t[r]=n(r);return t}},39334:function(e){e.exports=function(e){return function(n){return e(n)}}},62079:function(e,n,r){var t=r(31137);e.exports=function(e){return"function"==typeof e?e:t}},64937:function(e,n,r){var t=r(77400)["__core-js_shared__"];e.exports=t},26789:function(e,n,r){var t=r(80068);e.exports=function(e,n){return function(r,a){if(null==r)return r;if(!t(r))return e(r,a);for(var i=r.length,o=n?i:-1,s=Object(r);(n?o--:++o<i)&&!1!==a(s[o],o,s););return r}}},18911:function(e){e.exports=function(e){return function(n,r,t){for(var a=-1,i=Object(n),o=t(n),s=o.length;s--;){var l=o[e?s:++a];if(!1===r(i[l],l,i))break}return n}}},81822:function(e,n,r){var t=r(46729),a=r(15371);e.exports=function(e,n){var r=a(e,n);return t(r)?r:void 0}},3533:function(e,n,r){var t=r(82545),a=r(44538),i=r(64825),o=r(46151),s=r(66902),l=r(99736),c=r(76532),u="[object Map]",_="[object Promise]",d="[object Set]",F="[object WeakMap]",p="[object DataView]",h=c(t),f=c(a),x=c(i),g=c(o),j=c(s),m=l;(t&&m(new t(new ArrayBuffer(1)))!=p||a&&m(new a)!=u||i&&m(i.resolve())!=_||o&&m(new o)!=d||s&&m(new s)!=F)&&(m=function(e){var n=l(e),r="[object Object]"==n?e.constructor:void 0,t=r?c(r):"";if(t)switch(t){case h:return p;case f:return u;case x:return _;case g:return d;case j:return F}return n}),e.exports=m},15371:function(e){e.exports=function(e,n){return null==e?void 0:e[n]}},42383:function(e){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var t=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==t||"symbol"!=t&&n.test(e))&&e>-1&&e%1==0&&e<r}},99678:function(e,n,r){var t,a=r(64937),i=(t=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";e.exports=function(e){return!!i&&i in e}},56016:function(e){var n=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||n)}},50962:function(e,n,r){var t=r(58023)(Object.keys,Object);e.exports=t},18125:function(e,n,r){e=r.nmd(e);var t=r(39120),a=n&&!n.nodeType&&n,i=a&&e&&!e.nodeType&&e,o=i&&i.exports===a&&t.process,s=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=s},58023:function(e){e.exports=function(e,n){return function(r){return e(n(r))}}},76532:function(e){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},47003:function(e,n,r){var t=r(80594),a=r(52033),i=r(62079),o=r(19785);e.exports=function(e,n){return(o(e)?t:a)(e,i(n))}},31137:function(e){e.exports=function(e){return e}},2900:function(e,n,r){var t=r(55829),a=r(92360),i=Object.prototype,o=i.hasOwnProperty,s=i.propertyIsEnumerable,l=t(function(){return arguments}())?t:function(e){return a(e)&&o.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},19785:function(e){var n=Array.isArray;e.exports=n},80068:function(e,n,r){var t=r(28338),a=r(84194);e.exports=function(e){return null!=e&&a(e.length)&&!t(e)}},43854:function(e,n,r){e=r.nmd(e);var t=r(77400),a=r(57714),i=n&&!n.nodeType&&n,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?t.Buffer:void 0,l=s?s.isBuffer:void 0;e.exports=l||a},90104:function(e,n,r){var t=r(20186),a=r(3533),i=r(2900),o=r(19785),s=r(80068),l=r(43854),c=r(56016),u=r(48519),_=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var n=a(e);if("[object Map]"==n||"[object Set]"==n)return!e.size;if(c(e))return!t(e).length;for(var r in e)if(_.call(e,r))return!1;return!0}},28338:function(e,n,r){var t=r(99736),a=r(11611);e.exports=function(e){if(!a(e))return!1;var n=t(e);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},84194:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},11611:function(e){e.exports=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}},48519:function(e,n,r){var t=r(26972),a=r(39334),i=r(18125),o=i&&i.isTypedArray,s=o?a(o):t;e.exports=s},50098:function(e,n,r){var t=r(98213),a=r(20186),i=r(80068);e.exports=function(e){return i(e)?t(e):a(e)}},57714:function(e){e.exports=function(){return!1}},15806:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/reporting",function(){return r(45113)}])},35287:function(e,n,r){"use strict";var t=r(24246),a=r(87949),i=r(88038),o=r.n(i);r(27378),n.Z=e=>{let{children:n,title:r,fullHeight:i,fullWidth:s,mainProps:l}=e;return(0,t.jsxs)(a.kCb,{"data-testid":r,direction:"column",height:i?"100vh":"calc(100vh - 48px)",width:s?"100vw":"calc(100vw - 240px)",children:[(0,t.jsxs)(o(),{children:[(0,t.jsxs)("title",{children:["Fides Admin UI - ",r]}),(0,t.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,t.jsx)(a.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...l,children:n})]})}},58754:function(e,n,r){"use strict";var t=r(24246),a=r(87949),i=r(70788);n.Z=e=>{let{heading:n,breadcrumbItems:r,isSticky:o=!0,children:s,rightContent:l,style:c,...u}=e;return(0,t.jsxs)("div",{...u,style:o?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,t.jsxs)(a.jqI,{justify:"space-between",children:["string"==typeof n?(0,t.jsx)(a.lQT,{className:r||s?"pb-4":void 0,level:1,"data-testid":"page-heading",children:n}):n,l&&(0,t.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!r&&(0,t.jsx)(i.m,{className:s?"pb-4":void 0,items:r,"data-testid":"page-breadcrumb"}),s]})}},70788:function(e,n,r){"use strict";r.d(n,{m:function(){return c}});var t=r(24246),a=r(87949),i=r(79894),o=r.n(i),s=r(27378);let{Text:l}=a.AntTypography,c=e=>{let{items:n,...r}=e,i=(0,s.useMemo)(()=>null==n?void 0:n.map((e,r)=>{let i=r===n.length-1,s={...e},c=s.onClick&&!s.href;return("string"==typeof s.title&&(s.title=(0,t.jsx)(l,{style:{color:"inherit",maxWidth:i?void 0:400},ellipsis:!i,id:i?"breadcrumb-current-page":void 0,children:s.title})),c)?s.title=(0,t.jsx)(a.wpx,{type:"text",size:"small",icon:s.icon,onClick:s.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:s.title}):(s.icon&&(s.title=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"anticon align-text-bottom",children:s.icon}),s.title]})),s.href&&s.title&&(s.title=(0,t.jsx)(o(),{href:s.href,className:"ant-breadcrumb-link",children:s.title}),delete s.href)),s}),[n]);return(0,t.jsx)(a.zrq,{items:i,...r})}},8411:function(e,n,r){"use strict";r.d(n,{NA:function(){return i},Z8:function(){return a}});var t=r(65735);let a={[t._F.ER]:"Eritrea",[t._F.DJ]:"Djibouti",[t._F.MR]:"Mauritania",[t._F.NA]:"Namibia",[t._F.GH]:"Ghana",[t._F.SS]:"South Sudan",[t._F.SC]:"Seychelles",[t._F.IO]:"British Indian Ocean Territory",[t._F.GQ]:"Equatorial Guinea",[t._F.AO]:"Angola",[t._F.CG]:"Republic of the Congo",[t._F.BW]:"Botswana",[t._F.BI]:"Burundi",[t._F.DZ]:"Algeria",[t._F.TD]:"Chad",[t._F.NG]:"Nigeria",[t._F.TZ]:"Tanzania",[t._F.EH]:"Western Sahara",[t._F.SN]:"Senegal",[t._F.LR]:"Liberia",[t._F.ZA]:"South Africa",[t._F.CV]:"Cape Verde",[t._F.GM]:"Gambia",[t._F.SD]:"Sudan",[t._F.KM]:"Comoros",[t._F.SZ]:"Eswatini",[t._F.UG]:"Uganda",[t._F.MG]:"Madagascar",[t._F.RW]:"Rwanda",[t._F.CD]:"DR Congo",[t._F.CM]:"Cameroon",[t._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[t._F.TG]:"Togo",[t._F.MU]:"Mauritius",[t._F.NE]:"Niger",[t._F.BJ]:"Benin",[t._F.EG]:"Egypt",[t._F.LS]:"Lesotho",[t._F.ET]:"Ethiopia",[t._F.MA]:"Morocco",[t._F.YT]:"Mayotte",[t._F.BF]:"Burkina Faso",[t._F.RE]:"R\xe9union",[t._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[t._F.CF]:"Central African Republic",[t._F.MZ]:"Mozambique",[t._F.MW]:"Malawi",[t._F.ML]:"Mali",[t._F.ZM]:"Zambia",[t._F.LY]:"Libya",[t._F.GW]:"Guinea-Bissau",[t._F.SO]:"Somalia",[t._F.KE]:"Kenya",[t._F.GN]:"Guinea",[t._F.ZW]:"Zimbabwe",[t._F.TN]:"Tunisia",[t._F.SL]:"Sierra Leone",[t._F.GA]:"Gabon",[t._F.CI]:"Ivory Coast",[t._F.JO]:"Jordan",[t._F.PK]:"Pakistan",[t._F.KP]:"North Korea",[t._F.MO]:"Macau",[t._F.AM]:"Armenia",[t._F.SY]:"Syria",[t._F.TJ]:"Tajikistan",[t._F.SA]:"Saudi Arabia",[t._F.KR]:"South Korea",[t._F.NP]:"Nepal",[t._F.PH]:"Philippines",[t._F.IQ]:"Iraq",[t._F.LB]:"Lebanon",[t._F.MN]:"Mongolia",[t._F.PS]:"Palestine",[t._F.YE]:"Yemen",[t._F.JP]:"Japan",[t._F.KZ]:"Kazakhstan",[t._F.LK]:"Sri Lanka",[t._F.MM]:"Myanmar",[t._F.KG]:"Kyrgyzstan",[t._F.CN]:"China",[t._F.AF]:"Afghanistan",[t._F.OM]:"Oman",[t._F.IN]:"India",[t._F.LA]:"Laos",[t._F.UZ]:"Uzbekistan",[t._F.MV]:"Maldives",[t._F.ID]:"Indonesia",[t._F.VN]:"Vietnam",[t._F.MY]:"Malaysia",[t._F.TW]:"Taiwan",[t._F.KH]:"Cambodia",[t._F.AE]:"United Arab Emirates",[t._F.HK]:"Hong Kong",[t._F.GE]:"Georgia (Country)",[t._F.BD]:"Bangladesh",[t._F.KW]:"Kuwait",[t._F.TM]:"Turkmenistan",[t._F.QA]:"Qatar",[t._F.BH]:"Bahrain",[t._F.BN]:"Brunei",[t._F.TH]:"Thailand",[t._F.BT]:"Bhutan",[t._F.SG]:"Singapore",[t._F.IL]:"Israel",[t._F.AZ]:"Azerbaijan",[t._F.TL]:"Timor-Leste",[t._F.IR]:"Iran",[t._F.TR]:"Turkey",[t._F.MK]:"North Macedonia",[t._F.IE]:"Ireland",[t._F.DK]:"Denmark",[t._F.SK]:"Slovakia",[t._F.MD]:"Moldova",[t._F.AX]:"\xc5land Islands",[t._F.PL]:"Poland",[t._F.BA]:"Bosnia and Herzegovina",[t._F.SM]:"San Marino",[t._F.CZ]:"Czechia",[t._F.EE]:"Estonia",[t._F.XK]:"Kosovo",[t._F.FO]:"Faroe Islands",[t._F.SJ]:"Svalbard and Jan Mayen",[t._F.GG]:"Guernsey",[t._F.FR]:"France",[t._F.NL]:"Netherlands",[t._F.FI]:"Finland",[t._F.PT]:"Portugal",[t._F.DE]:"Germany",[t._F.MT]:"Malta",[t._F.JE]:"Jersey",[t._F.IS]:"Iceland",[t._F.ES]:"Spain",[t._F.GI]:"Gibraltar",[t._F.NO]:"Norway",[t._F.CY]:"Cyprus",[t._F.RS]:"Serbia",[t._F.LT]:"Lithuania",[t._F.MC]:"Monaco",[t._F.LU]:"Luxembourg",[t._F.UA]:"Ukraine",[t._F.IM]:"Isle of Man",[t._F.RO]:"Romania",[t._F.BE]:"Belgium",[t._F.SE]:"Sweden",[t._F.ME]:"Montenegro",[t._F.LV]:"Latvia",[t._F.VA]:"Vatican City",[t._F.AT]:"Austria",[t._F.AL]:"Albania",[t._F.LI]:"Liechtenstein",[t._F.GR]:"Greece",[t._F.IT]:"Italy",[t._F.AD]:"Andorra",[t._F.GB]:"United Kingdom",[t._F.RU]:"Russia",[t._F.SI]:"Slovenia",[t._F.BY]:"Belarus",[t._F.CH]:"Switzerland",[t._F.HU]:"Hungary",[t._F.BG]:"Bulgaria",[t._F.HR]:"Croatia",[t._F.TC]:"Turks and Caicos Islands",[t._F.CW]:"Cura\xe7ao",[t._F.GP]:"Guadeloupe",[t._F.UM]:"United States Minor Outlying Islands",[t._F.GT]:"Guatemala",[t._F.PM]:"Saint Pierre and Miquelon",[t._F.BQ]:"Caribbean Netherlands",[t._F.GL]:"Greenland",[t._F.SX]:"Sint Maarten",[t._F.PA]:"Panama",[t._F.AW]:"Aruba",[t._F.MQ]:"Martinique",[t._F.AG]:"Antigua and Barbuda",[t._F.BM]:"Bermuda",[t._F.CU]:"Cuba",[t._F.GD]:"Grenada",[t._F.NI]:"Nicaragua",[t._F.LC]:"Saint Lucia",[t._F.KN]:"Saint Kitts and Nevis",[t._F.DO]:"Dominican Republic",[t._F.VC]:"Saint Vincent and the Grenadines",[t._F.BZ]:"Belize",[t._F.HT]:"Haiti",[t._F.JM]:"Jamaica",[t._F.BS]:"Bahamas",[t._F.MX]:"Mexico",[t._F.MF]:"Saint Martin",[t._F.SV]:"El Salvador",[t._F.BL]:"Saint Barth\xe9lemy",[t._F.AI]:"Anguilla",[t._F.MS]:"Montserrat",[t._F.VG]:"British Virgin Islands",[t._F.BB]:"Barbados",[t._F.HN]:"Honduras",[t._F.KY]:"Cayman Islands",[t._F.DM]:"Dominica",[t._F.TT]:"Trinidad and Tobago",[t._F.CR]:"Costa Rica",[t._F.SR]:"Suriname",[t._F.CX]:"Christmas Island",[t._F.WS]:"Samoa",[t._F.PF]:"French Polynesia",[t._F.AS]:"American Samoa",[t._F.NC]:"New Caledonia",[t._F.TK]:"Tokelau",[t._F.PW]:"Palau",[t._F.KI]:"Kiribati",[t._F.VU]:"Vanuatu",[t._F.PN]:"Pitcairn Islands",[t._F.CK]:"Cook Islands",[t._F.FJ]:"Fiji",[t._F.PG]:"Papua New Guinea",[t._F.MP]:"Northern Mariana Islands",[t._F.NU]:"Niue",[t._F.TV]:"Tuvalu",[t._F.NF]:"Norfolk Island",[t._F.TO]:"Tonga",[t._F.FM]:"Micronesia",[t._F.SB]:"Solomon Islands",[t._F.NR]:"Nauru",[t._F.WF]:"Wallis and Futuna",[t._F.GU]:"Guam",[t._F.AU]:"Australia",[t._F.NZ]:"New Zealand",[t._F.MH]:"Marshall Islands",[t._F.CC]:"Cocos (Keeling) Islands",[t._F.VE]:"Venezuela",[t._F.PY]:"Paraguay",[t._F.BR]:"Brazil",[t._F.CO]:"Colombia",[t._F.PE]:"Peru",[t._F.CL]:"Chile",[t._F.UY]:"Uruguay",[t._F.AR]:"Argentina",[t._F.GY]:"Guyana",[t._F.BO]:"Bolivia",[t._F.GF]:"French Guiana",[t._F.EC]:"Ecuador",[t._F.FK]:"Falkland Islands",[t._F.US_AL]:"Alabama",[t._F.US_AK]:"Alaska",[t._F.US_AZ]:"Arizona",[t._F.US_AR]:"Arkansas",[t._F.US_CA]:"California",[t._F.US_CO]:"Colorado",[t._F.US_CT]:"Connecticut",[t._F.US_DE]:"Delaware",[t._F.US_DC]:"District of Columbia (DC)",[t._F.US_FL]:"Florida",[t._F.US_GA]:"Georgia",[t._F.US_HI]:"Hawaii",[t._F.US_ID]:"Idaho",[t._F.US_IL]:"Illinois",[t._F.US_IN]:"Indiana",[t._F.US_IA]:"Iowa",[t._F.US_KS]:"Kansas",[t._F.US_KY]:"Kentucky",[t._F.US_LA]:"Louisiana",[t._F.US_ME]:"Maine",[t._F.US_MD]:"Maryland",[t._F.US_MA]:"Massachusetts",[t._F.US_MI]:"Michigan",[t._F.US_MN]:"Minnesota",[t._F.US_MS]:"Mississippi",[t._F.US_MO]:"Missouri",[t._F.US_MT]:"Montana",[t._F.US_NE]:"Nebraska",[t._F.US_NV]:"Nevada",[t._F.US_NH]:"New Hampshire",[t._F.US_NJ]:"New Jersey",[t._F.US_NM]:"New Mexico",[t._F.US_NY]:"New York",[t._F.US_NC]:"North Carolina",[t._F.US_ND]:"North Dakota",[t._F.US_OH]:"Ohio",[t._F.US_OK]:"Oklahoma",[t._F.US_OR]:"Oregon",[t._F.US_PA]:"Pennsylvania",[t._F.US_PR]:"Puerto Rico",[t._F.US_RI]:"Rhode Island",[t._F.US_SC]:"South Carolina",[t._F.US_SD]:"South Dakota",[t._F.US_TN]:"Tennessee",[t._F.US_TX]:"Texas",[t._F.US_UT]:"Utah",[t._F.US_VA]:"Virginia",[t._F.US_VI]:"United States Virgin Islands",[t._F.US_VT]:"Vermont",[t._F.US_WA]:"Washington",[t._F.US_WV]:"West Virginia",[t._F.US_WI]:"Wisconsin",[t._F.US_WY]:"Wyoming",[t._F.CA_AB]:"Alberta",[t._F.CA_BC]:"British Columbia",[t._F.CA_MB]:"Manitoba",[t._F.CA_NB]:"New Brunswick",[t._F.CA_NL]:"Newfoundland and Labrador",[t._F.CA_NS]:"Nova Scotia",[t._F.CA_ON]:"Ontario",[t._F.CA_PE]:"Prince Edward Island",[t._F.CA_QC]:"Quebec",[t._F.CA_SK]:"Saskatchewan",[t._F.CA_NT]:"Northwest Territories",[t._F.CA_NU]:"Nunavut",[t._F.CA_YT]:"Yukon",[t._F.CA]:"Canada",[t._F.US]:"United States",[t._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[t._F.CARIBBEAN]:"Caribbean",[t._F.EEA]:"European Economic Area (EEA)",[t._F.NON_EEA]:"Non European Economic Area",[t._F.GLOBAL]:"Global"},i=new Map(Object.entries(a));Object.entries(a).map(e=>({value:e[0],label:e[1]}))},45113:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return V}});var t=r(24246),a=r(59003),i=r(92222),o=r(27693),s=r.n(o),l=r(87949),c=r(27378),u=r(35287),_=r(17245),d=r(58754);let F=e=>{let{disableNext:n,pagination:r}=e;return(0,t.jsxs)(l.jqI,{gap:"middle",align:"center",justify:"right",children:[(0,t.jsx)(l.wpx,{onClick:r.previousPage,disabled:1===r.pageIndex,icon:(0,t.jsx)(l.PJP.s$$,{"aria-hidden":!0}),"aria-label":"Previous"}),(0,t.jsx)("span",{"aria-label":"Page ".concat(r.pageIndex),children:r.pageIndex}),(0,t.jsx)(l.wpx,{onClick:r.nextPage,disabled:n,icon:(0,t.jsx)(l.PJP._Qn,{"aria-hidden":!0}),"aria-label":"Next"}),(0,t.jsx)(l.WPr,{className:"w-auto",value:r.pageSize,onChange:r.updatePageSize,options:r.pageSizeOptions.map(e=>({label:e,value:e})),labelRender:e=>{let{value:n}=e;return(0,t.jsxs)("span",{children:[n," / page"]})},"aria-label":"Select page size"})]})};var p=r(47935),h=r(46628),f=r(78780);let x=e=>{var n,r;return null==e?void 0:null===(r=e.startOf("day"))||void 0===r?void 0:null===(n=r.utc())||void 0===n?void 0:n.toISOString()},g=e=>{var n,r;return null==e?void 0:null===(r=e.endOf("day"))||void 0===r?void 0:null===(n=r.utc())||void 0===n?void 0:n.toISOString()},{useLazyDownloadReportQuery:j,useGetAllHistoricalPrivacyPreferencesQuery:m,useLazyGetCurrentPrivacyPreferencesQuery:v}=f.u.injectEndpoints({endpoints:e=>({getCurrentPrivacyPreferences:e.query({query:e=>{let{search:n}=e;return{url:"current-privacy-preferences",params:{email:n,phone_number:n,fides_user_device_id:n,external_id:n}}},providesTags:["Current Privacy Preferences"]}),downloadReport:e.query({query:e=>{let{startDate:n,endDate:r}=e;return{url:"plus/consent_reporting",params:{created_gt:x(n),created_lt:g(r),download_csv:"true"},responseHandler:"content-type"}},providesTags:["Consent Reporting Export"]}),getAllHistoricalPrivacyPreferences:e.query({query:e=>{let{page:n,size:r,startDate:t,endDate:a,includeTotal:i=!0}=e;return{url:"historical-privacy-preferences",params:{page:n,size:r,request_timestamp_gt:x(t),request_timestamp_lt:g(a),include_total:i}}},providesTags:["Consent Reporting"]})})});var S=r(90104),b=r.n(S),y=r(812),C=r(65735);let A={[C.pq.OPT_IN]:"Opt in",[C.pq.OPT_OUT]:"Opt out",[C.pq.ACKNOWLEDGE]:"Acknowledge",[C.pq.TCF]:"TCF"},N={[C.pq.OPT_IN]:l.tAb.SUCCESS,[C.pq.OPT_OUT]:l.tAb.ERROR,[C.pq.ACKNOWLEDGE]:l.tAb.DEFAULT,[C.pq.TCF]:l.tAb.SANDSTONE},M={[C.jP.ACCEPT]:"Accept",[C.jP.BUTTON]:"Button",[C.jP.DISMISS]:"Dismiss",[C.jP.GPC]:"GPC",[C.jP.REJECT]:"Reject",[C.jP.SAVE]:"Save",[C.jP.SCRIPT]:"Script",[C.jP.INDIVIDUAL_NOTICE]:"Individual Notice",[C.jP.ACKNOWLEDGE]:"Acknowledge",[C.jP.EXTERNAL_PROVIDER]:"External Provider"},P={[C.Tz.API]:"API",[C.Tz.BANNER_AND_MODAL]:"Banner and Modal",[C.Tz.MODAL]:"Modal",[C.Tz.OVERLAY]:"Overlay",[C.Tz.PRIVACY_CENTER]:"Privacy Center",[C.Tz.TCF_OVERLAY]:"TCF Overlay"},I=(0,i.Cl)();var T=()=>(0,c.useMemo)(()=>[I.accessor(e=>e.notice_name,{id:"notice_name",cell:e=>{let{getValue:n}=e;return(0,t.jsx)(p.G3,{value:n()})},header:e=>(0,t.jsx)(p.Rr,{value:"Privacy notice",...e}),enableSorting:!1}),I.accessor(e=>e.notice_key,{id:"notice_key",cell:e=>{let{getValue:n}=e;return(0,t.jsx)(p.G3,{value:n()})},header:e=>(0,t.jsx)(p.Rr,{value:"Notice Key",...e}),enableSorting:!1}),I.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:n}=e,r=n(),a=r&&A[r]||r,i=r&&N[r]||"";return(0,t.jsx)(p.A4,{color:i,value:a})},header:e=>(0,t.jsx)(p.Rr,{value:"Preference",...e}),enableSorting:!1,size:100}),I.accessor(e=>e.privacy_notice_history_id,{id:"privacy_notice_history_id",cell:e=>{let{getValue:n}=e;return(0,t.jsx)(p.G3,{value:n()})},header:e=>(0,t.jsx)(p.Rr,{value:"Privacy Notice History Id",...e}),enableSorting:!1})],[]),w=r(47003),E=r.n(w);let R=(0,i.Cl)();var U=()=>{let e=(0,c.useCallback)(e=>{let n=[];if(e){let{preferences:r,...t}=e;E()(t,(e,r)=>{e&&e.forEach(e=>{n.push({key:r,id:e.id,preference:e.preference})})})}return n},[]),n=(0,c.useCallback)(e=>e.filter(e=>!(e.key.startsWith("system_")||e.key.startsWith("vendor_"))),[]);return{tcfColumns:(0,c.useMemo)(()=>[R.accessor(e=>e.key,{id:"key",cell:e=>{let{getValue:n}=e;return(0,t.jsx)(p.G3,{value:n()})},header:e=>(0,t.jsx)(p.Rr,{value:"Type",...e}),enableSorting:!1}),R.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:n}=e;return(0,t.jsx)(p.G3,{value:n()})},header:e=>(0,t.jsx)(p.Rr,{value:"ID",...e}),enableSorting:!1}),R.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:n}=e,r=n(),a=r&&A[r]||r,i=r&&N[r]||"";return(0,t.jsx)(p.A4,{color:i,value:a})},header:e=>(0,t.jsx)(p.Rr,{value:"Preference",...e}),enableSorting:!1,size:100})],[]),mapTcfPreferencesToRowColumns:e,filterTcfConsentPreferences:n}},O=e=>{let{isOpen:n,onClose:r}=e,[o,s]=(0,c.useState)(!1),[u,_]=(0,c.useState)(),[d]=v(),F=(0,l.pmc)();(0,c.useEffect)(()=>{n||(_(void 0),s(!1))},[n]);let h=async e=>{s(!0);let{data:n,isError:r,error:t}=await d({search:e}),a=t&&"status"in t&&(null==t?void 0:t.status);r&&404!==a?F({status:"error",description:(0,y.e$)(t,"A problem occurred while looking up the preferences.")}):_(n||null),s(!1)},f=T(),x=(null==u?void 0:u.preferences)||[],g=!b()(x),j=(0,a.b7)({getCoreRowModel:(0,i.sC)(),data:x,columns:f,getRowId:e=>"".concat(e.privacy_notice_history_id),manualPagination:!0}),{tcfColumns:m,mapTcfPreferencesToRowColumns:S,filterTcfConsentPreferences:C}=U(),A=C(S(u)),N=!b()(A),M=(0,a.b7)({getCoreRowModel:(0,i.sC)(),data:A,columns:m,getRowId:e=>"".concat(e.key,"-").concat(e.id),manualPagination:!0});return(0,t.jsxs)(l.u_l,{id:"consent-lookup-modal",isOpen:n,onClose:r,size:"6xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,t.jsx)(l.ZAr,{}),(0,t.jsxs)(l.hzk,{children:[(0,t.jsx)(l.olH,{}),(0,t.jsx)(l.xBx,{pb:2,children:"Consent preference lookup"}),(0,t.jsxs)(l.fef,{children:[(0,t.jsx)(l.AntTypography.Paragraph,{children:"Use this search to look up an individual's latest consent record. You can search by phone number, email, external ID or device ID to retrieve the most recent consent preference associated with that exact identifier."}),(0,t.jsxs)(l.AntTypography.Paragraph,{children:[(0,t.jsx)("strong",{children:"Note:"})," This is an exact match search—partial entries or similar results will not be returned. This lookup retrieves only the most recent consent preference, not the full consent history."]}),(0,t.jsx)(l.PPS,{layout:"vertical",className:"w-1/2",children:(0,t.jsx)(l.PPS.Item,{label:"Subject search",className:"mb-4 mt-6",children:(0,t.jsx)(l.AntInput.Search,{"data-testid":"subject-search-input",placeholder:"Enter email, phone number, external ID or device ID",enterButton:"Search",onSearch:h,loading:o})})}),(0,t.jsxs)("div",{className:"mb-4",children:[(!N||g)&&(0,t.jsx)(p.ZK,{tableInstance:j,emptyTableNotice:(0,t.jsx)(l.oj8,{description:void 0===u?"Search for an email, phone number, or device ID.":"No results found.",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})}),N&&(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(p.ZK,{tableInstance:M})})]})]})]})]})},k=()=>{let e=(0,l.pmc)(),[n,{isFetching:r}]=j();return{downloadReport:async r=>{let{startDate:t,endDate:a}=r,i=await n({startDate:t,endDate:a});if(i.isError)e({status:"error",description:(0,y.e$)(i.error,"A problem occurred while generating your consent report. Please try again.")});else{let e=document.createElement("a"),n=new Blob([i.data],{type:"text/csv"}),r=window.URL.createObjectURL(n);e.href=r,e.download="consent-reports.csv",e.click(),window.URL.revokeObjectURL(r)}},isDownloadingReport:r}},G=e=>{let{isOpen:n,onClose:r,startDate:a,endDate:i}=e,{downloadReport:o,isDownloadingReport:s}=k(),c=async()=>{await o({startDate:a,endDate:i}),r()};return(0,t.jsxs)(l.u_l,{id:"consent-report-download-modal",isOpen:n,onClose:r,size:"xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,t.jsx)(l.ZAr,{}),(0,t.jsxs)(l.hzk,{children:[(0,t.jsx)(l.olH,{}),(0,t.jsx)(l.xBx,{pb:2,children:"Download consent report"}),(0,t.jsxs)(l.fef,{children:[(0,t.jsx)(l.AntTypography.Paragraph,{children:"The downloaded CSV may differ from the UI in Fides, including column order and naming."}),(0,t.jsx)(l.AntTypography.Paragraph,{children:'For large datasets, file generation may take a few minutes after selecting "Download".'}),(0,t.jsx)(l.jqI,{justify:"flex-end",children:(0,t.jsx)(l.wpx,{loading:s,onClick:c,"data-testid":"download-report-btn",type:"primary",className:"mb-2",children:"Download"})})]})]})]})},B=e=>{let{isOpen:n,onClose:r,tcfPreferences:o}=e,{tcfColumns:s,mapTcfPreferencesToRowColumns:c,filterTcfConsentPreferences:u}=U(),_=u(c(o)),d=(0,a.b7)({getCoreRowModel:(0,i.sC)(),data:_||[],columns:s,getRowId:e=>"".concat(e.key,"-").concat(e.id),manualPagination:!0});return(0,t.jsxs)(l.u_l,{id:"consent-lookup-modal",isOpen:n,onClose:r,size:"4xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,t.jsx)(l.ZAr,{}),(0,t.jsxs)(l.hzk,{"data-testid":"consent-tcf-detail-modal",children:[(0,t.jsx)(l.olH,{}),(0,t.jsx)(l.xBx,{pb:2,children:"TCF Consent Details"}),(0,t.jsx)(l.fef,{children:(0,t.jsx)("div",{className:"mb-4",children:(0,t.jsx)(p.ZK,{tableInstance:d,emptyTableNotice:(0,t.jsx)(l.oj8,{description:" No data found",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})})})})]})]})},D=r(8411),L=r(72625);let K=(0,i.Cl)();var z=e=>{let{onTcfDetailViewClick:n}=e;return(0,c.useMemo)(()=>[K.accessor(e=>e.fides_user_device_id,{id:"fides_user_device_id",cell:e=>{let{getValue:n}=e;return(0,t.jsx)(p.G3,{value:n()})},header:e=>(0,t.jsx)(p.Rr,{value:"User device ID",...e}),enableSorting:!1}),K.accessor(e=>e.user_geography,{id:"user_geography",cell:e=>{let{getValue:n}=e,r=n(),a=r&&(0,l.QCN)(r),i=r&&D.Z8[r]||r,o=a?(0,l.c1K)({isoEntry:a}):i;return(0,t.jsx)(p.G3,{value:o})},header:e=>(0,t.jsx)(p.Rr,{value:"User geography",...e}),enableSorting:!1}),K.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:r,row:a}=e,i=r(),o=i&&A[i]||i,s=i&&N[i]||void 0;return"tcf"===i&&a.original.tcf_preferences?(0,t.jsx)(l.j8w,{color:s,closeIcon:(0,t.jsx)(l.PJP.daM,{}),closeButtonLabel:"View details",onClose:()=>n(a.original.tcf_preferences),children:o}):(0,t.jsx)(p.A4,{color:s,value:o})},header:e=>(0,t.jsx)(p.Rr,{value:"Preference",...e}),enableSorting:!1,size:100}),K.accessor(e=>e.notice_name,{id:"notice_name",cell:e=>{let{getValue:n}=e,r=n(),a="tcf"===r?r.toUpperCase():r;return(0,t.jsx)(p.G3,{value:a})},header:e=>(0,t.jsx)(p.Rr,{value:"Privacy notice",...e}),enableSorting:!1}),K.accessor(e=>e.method,{id:"method",cell:e=>{let{getValue:n}=e,r=n(),a=r&&M[r]||r;return(0,t.jsx)(p.G3,{value:a})},header:e=>(0,t.jsx)(p.Rr,{value:"Method",...e}),enableSorting:!1,size:100}),K.accessor(e=>e.request_origin,{id:"request_origin",cell:e=>{let{getValue:n}=e,r=n(),a=r&&P[r]||r;return(0,t.jsx)(p.G3,{value:a})},header:e=>(0,t.jsx)(p.Rr,{value:"Request origin",...e}),enableSorting:!1,size:120}),K.accessor(e=>e.request_timestamp,{id:"request_timestamp",cell:e=>{let{getValue:n}=e;return(0,t.jsx)(L.Cy,{time:n()})},header:e=>(0,t.jsx)(p.Rr,{value:"Request timestamp",...e}),size:120}),K.accessor(e=>e.url_recorded,{id:"url_recorded",cell:e=>{let{getValue:n}=e;return(0,t.jsx)(p.G3,{value:n()})},header:e=>(0,t.jsx)(p.Rr,{value:"Recorded URL",...e})}),K.accessor(e=>e.external_id,{id:"external_id",cell:e=>{let{getValue:n}=e;return(0,t.jsx)(p.G3,{value:n()})},header:e=>(0,t.jsx)(p.Rr,{value:"External ID",...e}),enableSorting:!1}),K.accessor(e=>e.email,{id:"email",cell:e=>{let{getValue:n}=e;return(0,t.jsx)(p.G3,{value:(0,t.jsx)(l.AntTypography.Link,{href:"mailto:".concat(n()),children:n()})})},header:e=>(0,t.jsx)(p.Rr,{value:"Email",...e}),enableSorting:!1}),K.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:n}=e;return(0,t.jsx)(p.G3,{value:n()})},header:e=>(0,t.jsx)(p.Rr,{value:"Preference ID",...e}),enableSorting:!1})],[n])},V=()=>{var e,n;let r=(0,_.h0)(),{pageIndex:o,pageSize:f,updatePageIndex:x}=r,g=(0,c.useMemo)(()=>s()(),[]),[j,v]=(0,c.useState)(null),[S,b]=(0,c.useState)(null),[y,C]=(0,c.useState)(!1),[A,N]=(0,c.useState)(!1),[M,P]=(0,c.useState)(!1),[I,T]=(0,c.useState)(),w=(0,l.pmc)(),{data:E,isLoading:R,isFetching:U,refetch:k}=m({page:o,size:f,startDate:j,endDate:S,includeTotal:!1}),{items:D}=(0,c.useMemo)(()=>E||{items:[],total:0,pages:0},[E]),L=z({onTcfDetailViewClick:e=>{P(!0),T(e)}}),K=(0,a.b7)({getCoreRowModel:(0,i.sC)(),data:D,columns:L,getRowId:e=>"".concat(e.id),manualPagination:!0}),V=async()=>{x(1),await k(),w((0,h.t5)("Consent report refreshed successfully.","Report Refreshed"))};return(0,t.jsxs)(u.Z,{title:"Consent reporting",children:[(0,t.jsx)(d.Z,{heading:"Consent reporting",rightContent:(0,t.jsx)(l.wpx,{type:"primary",onClick:V,loading:U,children:"Refresh"})}),(0,t.jsx)("div",{"data-testid":"consent-reporting",className:"overflow-auto",children:(0,t.jsxs)(l.jqI,{vertical:!0,gap:"middle",children:[R?(0,t.jsx)("div",{className:"border p-2",children:(0,t.jsx)(p.I4,{rowHeight:26,numRows:10})}):(0,t.jsxs)("div",{children:[(0,t.jsxs)(p.Q$,{children:[(0,t.jsx)(l.gwi,{placeholder:["From","To"],maxDate:g,"data-testid":"input-date-range",onChange:e=>{v(e&&e[0]),b(e&&e[1])}}),(0,t.jsxs)(l.jqI,{gap:12,children:[(0,t.jsx)(l.wpx,{icon:(0,t.jsx)(l.PJP.UWx,{}),"data-testid":"download-btn",onClick:()=>N(!0),"aria-label":"Download Consent Report"}),(0,t.jsx)(l.S0p,{menu:{items:[{key:"1",label:(0,t.jsx)("span",{"data-testid":"consent-preference-lookup-btn",children:"Consent preference lookup"}),onClick:()=>C(!0)}]},overlayStyle:{width:"220px"},trigger:["click"],children:(0,t.jsx)(l.wpx,{"aria-label":"Menu",icon:(0,t.jsx)(l.PJP.r43,{}),"data-testid":"consent-reporting-dropdown-btn"})})]})]}),(0,t.jsx)(p.ZK,{tableInstance:K,emptyTableNotice:(0,t.jsx)(l.oj8,{description:"No results.",image:l.oj8.PRESENTED_IMAGE_SIMPLE,styles:{image:{marginBottom:15}}})})]}),(0,t.jsx)(F,{disableNext:(null!==(n=null==E?void 0:null===(e=E.items)||void 0===e?void 0:e.length)&&void 0!==n?n:0)<f,pagination:r})]})}),(0,t.jsx)(O,{isOpen:y,onClose:()=>C(!1)}),(0,t.jsx)(G,{isOpen:A,onClose:()=>N(!1),startDate:j,endDate:S}),(0,t.jsx)(B,{isOpen:M,onClose:()=>{P(!1),T(void 0)},tcfPreferences:I})]})}}},function(e){e.O(0,[431,7245,2888,9774,179],function(){return e(e.s=15806)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9851],{66393:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent",function(){return i(78220)}])},77213:function(e,n,i){"use strict";i.d(n,{Z:function(){return f}});var t=i(24246),s=i(
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9851],{66393:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent",function(){return i(78220)}])},77213:function(e,n,i){"use strict";i.d(n,{Z:function(){return f}});var t=i(24246),s=i(87949),r=i(88038),o=i.n(r),a=i(86677);i(27378);var g=i(25980),u=i(90867),c=i(42478),d=i(77830),l=()=>{let e=(0,a.useRouter)();return(0,t.jsx)(s.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,t.jsxs)(s.xuv,{children:[(0,t.jsxs)(s.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,t.jsx)(s.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,t.jsx)(s.wpx,{onClick:()=>{e.push(d.AD)},children:"Configure"})]}),(0,t.jsxs)(s.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},f=e=>{let{children:n,title:i,padded:r=!0,mainProps:d}=e,f=(0,g.hz)(),y=(0,a.useRouter)(),m="/privacy-requests"===y.pathname||"/datastore-connection"===y.pathname,C=!(f.flags.messagingConfiguration&&m),{data:p}=(0,c.JE)(void 0,{skip:C}),{data:v}=(0,u.PW)(void 0,{skip:C}),h=f.flags.messagingConfiguration&&(!p||!v)&&m;return(0,t.jsxs)(s.kCb,{"data-testid":i,direction:"column",h:"100vh",children:[(0,t.jsxs)(o(),{children:[(0,t.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,t.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,t.jsxs)(s.kCb,{as:"main",direction:"column",py:r?6:0,px:r?10:0,h:r?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...d,children:[h?(0,t.jsx)(l,{}):null,n]})]})}},42478:function(e,n,i){"use strict";i.d(n,{FU:function(){return u},JE:function(){return s},Ki:function(){return d},SU:function(){return l},W:function(){return f},h9:function(){return r},jc:function(){return t},qt:function(){return g},sn:function(){return c}});let{useGetEmailInviteStatusQuery:t,useGetActiveMessagingProviderQuery:s,useCreateMessagingConfigurationMutation:r,useCreateMessagingConfigurationSecretsMutation:o,useGetMessagingConfigurationDetailsQuery:a,useGetMessagingConfigurationsQuery:g,useGetMessagingConfigurationByKeyQuery:u,useUpdateMessagingConfigurationByKeyMutation:c,useUpdateMessagingConfigurationSecretsByKeyMutation:d,useCreateTestConnectionMessageMutation:l,useDeleteMessagingConfigurationByKeyMutation:f}=i(78780).u.injectEndpoints({endpoints:e=>({getEmailInviteStatus:e.query({query:()=>({url:"/messaging/email-invite/status"}),providesTags:()=>["Email Invite Status"]}),createMessagingConfiguration:e.mutation({query:e=>({url:"messaging/config",method:"POST",body:e}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getActiveMessagingProvider:e.query({queryFn:async(e,n,i,t)=>{let s=await t({url:"messaging/default/active"});return s.error&&404===s.error.status?{data:null}:s},providesTags:["Messaging Config"]}),createMessagingConfigurationSecrets:e.mutation({query:e=>({url:"messaging/default/".concat(e.service_type,"/secret"),method:"PUT",body:e.details}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getMessagingConfigurationDetails:e.query({query:e=>({url:"messaging/default/".concat(e.type)}),providesTags:["Messaging Config"]}),getMessagingConfigurations:e.query({query:()=>({url:"messaging/config"}),providesTags:["Messaging Config"]}),getMessagingConfigurationByKey:e.query({query:e=>({url:"messaging/config/".concat(e.key)}),providesTags:["Messaging Config"]}),createTestConnectionMessage:e.mutation({query:e=>({url:"messaging/test/".concat(e.service_type),method:"POST",body:e.details}),invalidatesTags:["Messaging Config"]}),updateMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"PATCH",body:e.config}),invalidatesTags:["Messaging Config","Configuration Settings"]}),updateMessagingConfigurationSecretsByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key,"/secret"),method:"PUT",body:e.secrets}),invalidatesTags:["Messaging Config","Configuration Settings"]}),deleteMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"DELETE"}),invalidatesTags:["Messaging Config","Configuration Settings"]})})})},78220:function(e,n,i){"use strict";i.r(n);var t=i(24246),s=i(87949),r=i(86677),o=i(27378),a=i(77213),g=i(77830);n.default=()=>{let e=(0,r.useRouter)();return(0,o.useEffect)(()=>{e.push(g.IT)},[e]),(0,t.jsx)(a.Z,{title:"Consent",children:(0,t.jsx)(s.M5Y,{children:(0,t.jsx)(s.$jN,{})})})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=66393)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3296],{92812:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]",function(){return a(93251)}])},81406:function(e,t,a){"use strict";var i=a(24246),s=a(87949);t.Z=()=>(0,i.jsxs)(s.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:[(0,i.jsx)(s.xvT,{fontSize:"md",fontWeight:"600",children:"No resources found"}),(0,i.jsx)(s.xvT,{fontSize:"sm",children:"You're up to date!"})]})},25077:function(e,t,a){"use strict";a.d(t,{Z:function(){return D}});var i=a(24246),s=a(59003),r=a(92222),n=a(87949),l=a(27378),o=a(30952),c=a(47935),d=a(81406),u=a(99763),g=a(72625),p=a(17245),h=a(28976),f=a(8151),x=a(70675),j=e=>{let{resource:t,onDetailClick:a}=e,{successAlert:s}=(0,p.VY)(),r=(0,f.u)(t),[l,{isLoading:o}]=(0,x.v8)(),[c,{isLoading:d}]=(0,x.cM)(),[u,{isLoading:g}]=(0,x.vi)(),j=async()=>{var e;await l({staged_resource_urn:t.urn,monitor_config_id:t.monitor_config_id,unmute_children:!0,classify_monitored_resources:!0}),s("Started classification on ".concat(null!==(e=t.name)&&void 0!==e?e:"this resource"))},m=async()=>{var e;await c({staged_resource_urn:t.urn}),s("Approved ".concat(null!==(e=t.name)&&void 0!==e?e:" resource"))},_=async()=>{var e;await u({staged_resource_urn:t.urn}),s("Hid ".concat(null!==(e=t.name)&&void 0!==e?e:" resource"))},C=o||d||g;return(0,i.jsxs)(n.kCb,{gap:2,justify:"space-between",children:[r===f.e.ATTENTION_REQUIRED&&(0,i.jsx)(n.wpx,{size:"small",onClick:j,loading:o,disabled:C,"data-testid":"classify-btn",children:"Classify"}),r===f.e.IN_REVIEW&&(0,i.jsx)(n.wpx,{size:"small",onClick:m,loading:d,disabled:C,"data-testid":"approve-btn",children:"Approve"}),(0,i.jsx)(n.LZC,{}),(0,i.jsx)(h.Z,{onHideClick:_,onDetailClick:a})]})},m=a(89200),_=a(5945),C=a(61099),v=a(79947),y=a(65735);let I=(0,r.Cl)();var L=(e,t)=>{let a=[];return e?e===y.D$.TABLE?[I.display({id:"name",cell:e=>{let{row:t}=e;return(0,i.jsx)(m.Z,{resource:t.original})},header:"Table"}),I.display({id:"status",cell:e=>{let{row:t}=e;return(0,i.jsx)(_.Z,{status:(0,f.u)(t.original)})},header:"Status"}),I.display({id:"category",cell:e=>{let{row:t}=e;return(0,i.jsx)(C.Z,{resource:t.original})},header:"Data categories",minSize:280,meta:{disableRowClick:!0}}),I.accessor(e=>e.description,{id:"description",cell:e=>(0,i.jsx)(c.G3,{value:e.getValue()}),header:"Description"}),I.accessor(e=>e.updated_at,{id:"lastUpdated",cell:e=>(0,i.jsx)(g.Cy,{time:e.getValue()}),header:"Updated"}),I.display({id:"actions",cell:e=>{let{row:a}=e;return(0,i.jsx)(j,{resource:a.original,onDetailClick:()=>t(a.original)})},header:"Actions",meta:{disableRowClick:!0}})]:e===y.D$.FIELD?[I.display({id:"name",cell:e=>{let{row:t}=e;return(0,i.jsx)(m.Z,{resource:t.original})},header:"Field"}),I.display({id:"status",cell:e=>{let{row:t}=e;return(0,i.jsx)(_.Z,{status:(0,f.u)(t.original)})},header:"Status"}),I.accessor(e=>e.data_type,{id:"dataType",cell:e=>(0,i.jsx)(v.Z,{type:e.getValue()}),header:"Data type"}),I.display({id:"category",cell:e=>{let{row:t}=e;return(0,i.jsx)(C.Z,{resource:t.original})},header:"Data categories",minSize:280,meta:{disableRowClick:!0}}),I.accessor(e=>e.description,{id:"description",cell:e=>(0,i.jsx)(c.G3,{value:e.getValue()}),header:"Description"}),I.accessor(e=>e.updated_at,{id:"lastUpdated",cell:e=>(0,i.jsx)(g.Cy,{time:e.getValue()}),header:"Updated"}),I.display({id:"actions",cell:e=>{let{row:a}=e;return(0,i.jsx)(j,{resource:a.original,onDetailClick:()=>t(a.original)})},header:"Actions",meta:{disableRowClick:!0}})]:a:a},w=a(7940),R=a(80356);let b=[y.LL.ADDITION,y.LL.CLASSIFYING,y.LL.CLASSIFICATION_ADDITION,y.LL.CLASSIFICATION_QUEUED,y.LL.CLASSIFICATION_UPDATE,y.LL.MONITORED,y.LL.PROMOTING,y.LL.REMOVAL,y.LL.REMOVING],k={items:[],total:0,page:1,size:50,pages:1};var D=e=>{let{resourceUrn:t,onRowClick:a}=e,{PAGE_SIZES:g,pageSize:p,setPageSize:h,onPreviousPageClick:f,isPreviousPageDisabled:j,onNextPageClick:m,isNextPageDisabled:_,startRange:C,endRange:v,pageIndex:y,setTotalPages:I,resetPageIndexToDefault:D}=(0,c.oi)(),[N,S]=(0,l.useState)("");(0,l.useEffect)(()=>{D()},[t,D]);let{isFetching:E,isLoading:P,data:A}=(0,x.z8)({staged_resource_urn:t,page:y,size:p,diff_status:b,search:N}),{items:T,total:Z,pages:O}=(0,l.useMemo)(()=>null!=A?A:k,[A]);(0,l.useEffect)(()=>{I(O)},[O,I]);let[U,z]=(0,l.useState)(void 0),M=L((0,w.G)(T[0]),z),V=(0,s.b7)({getCoreRowModel:(0,r.sC)(),getGroupedRowModel:(0,r.qe)(),getExpandedRowModel:(0,r.rV)(),columns:M,manualPagination:!0,data:T,columnResizeMode:"onChange",getRowId:e=>e.urn});return P||E?(0,i.jsx)(c.I4,{rowHeight:36,numRows:36}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.Q$,{children:(0,i.jsx)(n.kCb,{gap:6,align:"center",children:(0,i.jsx)(n.xuv,{flexShrink:0,children:(0,i.jsx)(o.f,{value:N,onChange:S})})})}),(0,i.jsx)(c.ZK,{tableInstance:V,emptyTableNotice:(0,i.jsx)(d.Z,{}),getRowIsClickable:e=>(0,R.Z)(e),onRowClick:a}),(0,i.jsx)(c.s8,{totalRows:Z||0,pageSizes:g,setPageSize:h,onPreviousPageClick:f,isPreviousPageDisabled:j,onNextPageClick:m,isNextPageDisabled:_,startRange:C,endRange:v}),(0,i.jsx)(u.Z,{resource:U,onClose:()=>z(void 0)})]})}},94780:function(e,t,a){"use strict";a.d(t,{X5:function(){return l},pN:function(){return o},sv:function(){return r}});var i=a(24246),s=a(87949);let r=e=>e.split(".")[1],n=[(0,i.jsx)(s.PJP.S9g,{},"layers"),(0,i.jsx)(s.PJP.iA_,{},"table"),(0,i.jsx)(s.PJP.$4y,{style:{transform:"rotate(-90deg)"}},"field")],l=(e,t)=>{if(!e)return[];let a=e.split(".");if(a.length<2)return[];let l=a.splice(0,2).join("."),o=[];return a.reduce((e,i,s)=>{let r=s===a.length-1,c="".concat(e).concat(".").concat(i);return o.push({title:i,href:r?void 0:"".concat(t,"/").concat(l,"/").concat(c),icon:n[s]}),c},l),[{title:r(l),href:"".concat(t,"/").concat(l),icon:(0,i.jsx)(s.PJP.ehp,{})},...o]},o=(e,t)=>{if(!e)return[];let a=e.split(".");if(a.length<2)return[];let i=a.shift(),s=[];return a.reduce((e,i,r)=>{let l=r===a.length-1,o="".concat(e).concat(".").concat(i);return s.push({title:i,href:l?void 0:"".concat(t,"/").concat(o),icon:n[r]}),o},i),s}},93251:function(e,t,a){"use strict";a.r(t);var i=a(24246),s=a(86677),r=a(18225),n=a(77213),l=a(77830),o=a(58754),c=a(25077),d=a(94780),u=a(1315);t.default=()=>{var e,t;let{query:a}=(0,s.useRouter)(),g=a.systemId,p=a.projectUrn,h=a.resourceUrn,{data:f,isLoading:x}=(0,u.rn)(g),j=(0,s.useRouter)(),m=null!==(e=(0,d.X5)(h,"".concat(l.mX,"/").concat(g,"/projects")))&&void 0!==e?e:[];return x?(0,i.jsx)(r.Z,{}):(0,i.jsxs)(n.Z,{title:"Data catalog",children:[(0,i.jsx)(o.Z,{heading:"Data catalog",breadcrumbItems:[{title:"All systems",href:l.mX},{title:null!==(t=null==f?void 0:f.name)&&void 0!==t?t:null==f?void 0:f.fides_key,href:l.mX},...m]}),(0,i.jsx)(c.Z,{resourceUrn:h,onRowClick:e=>j.push("".concat(l.mX,"/").concat(f.fides_key,"/projects/").concat(p,"/").concat(e.urn))})]})}}},function(e){e.O(0,[431,8765,9278,5163,7245,4322,1099,6882,2888,9774,179],function(){return e(e.s=92812)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7818],{50481:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-catalog/[systemId]/projects/[projectUrn]",function(){return n(32065)}])},94780:function(e,t,n){"use strict";n.d(t,{X5:function(){return i},pN:function(){return r},sv:function(){return s}});var o=n(24246),a=n(87949);let s=e=>e.split(".")[1],c=[(0,o.jsx)(a.PJP.S9g,{},"layers"),(0,o.jsx)(a.PJP.iA_,{},"table"),(0,o.jsx)(a.PJP.$4y,{style:{transform:"rotate(-90deg)"}},"field")],i=(e,t)=>{if(!e)return[];let n=e.split(".");if(n.length<2)return[];let i=n.splice(0,2).join("."),r=[];return n.reduce((e,o,a)=>{let s=a===n.length-1,l="".concat(e).concat(".").concat(o);return r.push({title:o,href:s?void 0:"".concat(t,"/").concat(i,"/").concat(l),icon:c[a]}),l},i),[{title:s(i),href:"".concat(t,"/").concat(i),icon:(0,o.jsx)(a.PJP.ehp,{})},...r]},r=(e,t)=>{if(!e)return[];let n=e.split(".");if(n.length<2)return[];let o=n.shift(),a=[];return n.reduce((e,o,s)=>{let i=s===n.length-1,r="".concat(e).concat(".").concat(o);return a.push({title:o,href:i?void 0:"".concat(t,"/").concat(r),icon:c[s]}),r},o),a}},32065:function(e,t,n){"use strict";n.r(t);var o=n(24246),a=n(59003),s=n(92222),c=n(87949),i=n(86677),r=n(27378),l=n(77213),u=n(77830),d=n(58754),g=n(47935),f=n(98800),p=n(81406),h=n(69172),P=n(94780),j=n(70675),m=n(1315);let x={items:[],total:0,page:1,size:50,pages:1};t.default=()=>{let{query:e,push:t}=(0,i.useRouter)(),n=e.systemId,_=e.projectUrn,[w,v]=(0,r.useState)(void 0),{data:b,isLoading:C}=(0,m.rn)(n),{PAGE_SIZES:R,pageSize:N,setPageSize:k,onPreviousPageClick:y,isPreviousPageDisabled:E,onNextPageClick:z,isNextPageDisabled:X,startRange:Z,endRange:D,pageIndex:I,setTotalPages:J}=(0,g.oi)(),{isFetching:M,isLoading:S,data:T}=(0,j.z8)({staged_resource_urn:_,page:I,size:N}),{items:A,total:O,pages:U}=(0,r.useMemo)(()=>null!=T?T:x,[T]);(0,r.useEffect)(()=>{J(U)},[U,J]);let q=(0,h.Z)({onDetailClick:e=>v(e)}),F=(0,a.b7)({getCoreRowModel:(0,s.sC)(),getGroupedRowModel:(0,s.qe)(),getExpandedRowModel:(0,s.rV)(),columns:q,manualPagination:!0,data:A,columnResizeMode:"onChange"}),G=!S&&!C&&!M;return(0,o.jsxs)(l.Z,{title:"Data catalog",children:[(0,o.jsx)(d.Z,{heading:"Data catalog",breadcrumbItems:[{title:"All systems",href:u.mX},{title:(null==b?void 0:b.name)||n,href:u.mX},{title:(0,P.sv)(_),icon:(0,o.jsx)(c.PJP.ehp,{})}]}),!G&&(0,o.jsx)(g.I4,{rowHeight:36,numRows:36}),G&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g.ZK,{tableInstance:F,emptyTableNotice:(0,o.jsx)(p.Z,{}),onRowClick:e=>t("".concat(u.mX,"/").concat(n,"/projects/").concat(_,"/").concat(e.urn,"/"))}),(0,o.jsx)(g.s8,{totalRows:O||0,pageSizes:R,setPageSize:k,onPreviousPageClick:y,isPreviousPageDisabled:E,onNextPageClick:z,isNextPageDisabled:X,startRange:Z,endRange:D}),(0,o.jsx)(f.Z,{dataset:w,onClose:()=>v(void 0)})]})]})}}},function(e){e.O(0,[3872,2888,9774,179],function(){return e(e.s=50481)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{74833:function(e,t,i){var n=i(56127),s=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(s,""):e}},56127:function(e){var t=/\s/;e.exports=function(e){for(var i=e.length;i--&&t.test(e.charAt(i)););return i}},91936:function(e,t,i){var n=i(74833),s=i(11611),r=i(55193),a=0/0,o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return a;if(s(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=s(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var i=l.test(e);return i||c.test(e)?u(e.slice(2),i?2:8):o.test(e)?a:+e}},21865:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-catalog/[systemId]/projects",function(){return i(98791)}])},58754:function(e,t,i){"use strict";var n=i(24246),s=i(87949),r=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:a=!0,children:o,rightContent:l,style:c,...u}=e;return(0,n.jsxs)("div",{...u,style:a?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,n.jsxs)(s.jqI,{justify:"space-between",children:["string"==typeof t?(0,n.jsx)(s.lQT,{className:i||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,l&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!i&&(0,n.jsx)(r.m,{className:o?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),o]})}},70788:function(e,t,i){"use strict";i.d(t,{m:function(){return c}});var n=i(24246),s=i(87949),r=i(79894),a=i.n(r),o=i(27378);let{Text:l}=s.AntTypography,c=e=>{let{items:t,...i}=e,r=(0,o.useMemo)(()=>null==t?void 0:t.map((e,i)=>{let r=i===t.length-1,o={...e},c=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,n.jsx)(l,{style:{color:"inherit",maxWidth:r?void 0:400},ellipsis:!r,id:r?"breadcrumb-current-page":void 0,children:o.title})),c)?o.title=(0,n.jsx)(s.wpx,{type:"text",size:"small",icon:o.icon,onClick:o.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:o.title}):(o.icon&&(o.title=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,n.jsx)(a(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[t]);return(0,n.jsx)(s.zrq,{items:r,...i})}},79609:function(e,t,i){"use strict";i.d(t,{N4:function(){return a},UG:function(){return s},xw:function(){return r}});var n=i(54427);let{useGetCatalogSystemsQuery:s,useGetCatalogProjectsQuery:r,useGetCatalogDatasetsQuery:a}=i(78780).u.injectEndpoints({endpoints:e=>({getCatalogSystems:e.query({query:e=>({method:"GET",url:"/plus/data-catalog/system",params:e}),providesTags:["Catalog Systems","System"]}),getCatalogProjects:e.query({query:e=>{let{...t}=e;return{method:"GET",url:"/plus/data-catalog/project",params:t}},providesTags:["Discovery Monitor Results"]}),getCatalogDatasets:e.query({query:e=>{let{...t}=e;return{method:"GET",url:"/plus/data-catalog/dataset",params:t}},providesTags:["Discovery Monitor Results"]})})});(0,n.oM)({name:"dataCatalog",initialState:{page:1,pageSize:50},reducers:{}})},7940:function(e,t,i){"use strict";i.d(t,{G:function(){return s}});var n=i(65735);let s=e=>{var t,i,s;return e?e.resource_type?e.resource_type:(null===(t=e.schemas)||void 0===t?void 0:t.length)?n.D$.DATABASE:(null===(i=e.tables)||void 0===i?void 0:i.length)?n.D$.SCHEMA:(null===(s=e.fields)||void 0===s?void 0:s.length)?n.D$.TABLE:n.D$.FIELD:void 0}},98559:function(e,t){"use strict";t.Z=e=>{let{name:t,urn:i,monitor_config_id:n,database_name:s,schema_name:r,table_name:a,top_level_field_name:o,top_level_field_urn:l}=e;if(!o)return t;let c=i.split(".");return l?i.replace("".concat(l).concat("."),""):([n,s,r,a,o].forEach(e=>{if(e){let t=c.indexOf(e);t>-1&&c.splice(t,1)}}),c.join("."))}},36168:function(e,t){"use strict";t.Z=e=>{var t;return!!e.parent_table_urn&&null!==(t=e.sub_field_urns)&&void 0!==t&&!!t.length&&!e.top_level_field_name}},80356:function(e,t,i){"use strict";var n=i(7940),s=i(36168),r=i(65735);t.Z=e=>(0,n.G)(e)!==r.D$.FIELD||(0,s.Z)(e)},98791:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return D}});var n=i(24246),s=i(86677),r=i(18225),a=i(77213),o=i(77830),l=i(58754),c=i(92222),u=i(59003),d=i(87949),p=i(27378),g=i(47935),f=i(72625),m=i(89200),x=i(5945),h=i(79609),v=i(99763),j=i(28976),y=i(8151);let b={items:[],total:0,page:1,size:50,pages:1},_=()=>(0,n.jsx)(d.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:(0,n.jsx)(d.gCW,{children:(0,n.jsx)(d.xvT,{fontSize:"md",fontWeight:"600",children:"No resources found"})})}),C=(0,c.Cl)();var w=e=>{let{systemKey:t,monitorConfigIds:i}=e,[r,a]=(0,p.useState)({}),{PAGE_SIZES:l,pageSize:d,setPageSize:w,onPreviousPageClick:R,isPreviousPageDisabled:D,onNextPageClick:k,isNextPageDisabled:E,startRange:S,endRange:T,pageIndex:N,setTotalPages:I}=(0,g.oi)(),{isFetching:P,isLoading:Z,data:z}=(0,h.xw)({page:N,size:d,monitor_config_ids:i}),M=(0,s.useRouter)(),{items:q,total:G,pages:A}=(0,p.useMemo)(()=>null!=z?z:b,[z]);(0,p.useEffect)(()=>{I(A)},[A,I]);let[$,L]=(0,p.useState)(void 0),O=(0,p.useMemo)(()=>[C.accessor(e=>e.name,{id:"name",cell:e=>(0,n.jsx)(m.Z,{resource:e.row.original}),header:"Project"}),C.display({id:"status",cell:e=>{let{row:t}=e;return(0,n.jsx)(x.Z,{status:(0,y.u)(t.original)})},header:"Status"}),C.accessor(e=>e.monitor_config_id,{id:"monitorConfigId",cell:e=>(0,n.jsx)(g.G3,{value:e.getValue()}),header:"Detected by"}),C.accessor(e=>e.description,{id:"description",cell:e=>(0,n.jsx)(g.G3,{value:e.getValue()}),header:"Description"}),C.accessor(e=>e.updated_at,{id:"lastUpdated",cell:e=>(0,n.jsx)(f.Cy,{time:e.getValue()}),header:"Updated",meta:{cellProps:{borderRight:"none"}}}),C.display({id:"actions",cell:e=>{let{row:t}=e;return(0,n.jsx)(j.Z,{onDetailClick:()=>L(t.original)})},size:25,meta:{disableRowClick:!0}})],[]),W=(0,u.b7)({getCoreRowModel:(0,c.sC)(),getGroupedRowModel:(0,c.qe)(),getExpandedRowModel:(0,c.rV)(),manualPagination:!0,columnResizeMode:"onChange",columns:O,data:q,getRowId:e=>e.urn,onRowSelectionChange:a,state:{rowSelection:r}});return Z||P?(0,n.jsx)(g.I4,{rowHeight:36,numRows:36}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(g.ZK,{tableInstance:W,emptyTableNotice:(0,n.jsx)(_,{}),onRowClick:e=>M.push("".concat(o.mX,"/").concat(t,"/projects/").concat(e.urn))}),(0,n.jsx)(g.s8,{totalRows:G||0,pageSizes:l,setPageSize:w,onPreviousPageClick:R,isPreviousPageDisabled:D,onNextPageClick:k,isNextPageDisabled:E,startRange:S,endRange:T}),(0,n.jsx)(v.Z,{resource:$,onClose:()=>L(void 0)})]})},R=i(1315),D=()=>{var e;let{query:t}=(0,s.useRouter)(),i=t.systemId,c=t.monitor_config_ids,{data:u,isLoading:d}=(0,R.rn)(i);return d?(0,n.jsx)(r.Z,{}):(0,n.jsxs)(a.Z,{title:"Data catalog",children:[(0,n.jsx)(l.Z,{heading:"Data catalog",breadcrumbItems:[{title:"All systems",href:o.mX},{title:null!==(e=null==u?void 0:u.name)&&void 0!==e?e:null==u?void 0:u.fides_key}]}),(0,n.jsx)(w,{systemKey:i,monitorConfigIds:c})]})}}},function(e){e.O(0,[8765,9278,5163,1099,6882,2888,9774,179],function(){return e(e.s=21865)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4745],{37441:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-catalog/[systemId]/resources/[resourceUrn]",function(){return a(51887)}])},81406:function(e,t,a){"use strict";var s=a(24246),i=a(87949);t.Z=()=>(0,s.jsxs)(i.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:[(0,s.jsx)(i.xvT,{fontSize:"md",fontWeight:"600",children:"No resources found"}),(0,s.jsx)(i.xvT,{fontSize:"sm",children:"You're up to date!"})]})},25077:function(e,t,a){"use strict";a.d(t,{Z:function(){return D}});var s=a(24246),i=a(59003),r=a(92222),n=a(87949),l=a(27378),o=a(30952),c=a(47935),d=a(81406),u=a(99763),g=a(72625),p=a(17245),h=a(28976),f=a(8151),x=a(70675),m=e=>{let{resource:t,onDetailClick:a}=e,{successAlert:i}=(0,p.VY)(),r=(0,f.u)(t),[l,{isLoading:o}]=(0,x.v8)(),[c,{isLoading:d}]=(0,x.cM)(),[u,{isLoading:g}]=(0,x.vi)(),m=async()=>{var e;await l({staged_resource_urn:t.urn,monitor_config_id:t.monitor_config_id,unmute_children:!0,classify_monitored_resources:!0}),i("Started classification on ".concat(null!==(e=t.name)&&void 0!==e?e:"this resource"))},j=async()=>{var e;await c({staged_resource_urn:t.urn}),i("Approved ".concat(null!==(e=t.name)&&void 0!==e?e:" resource"))},_=async()=>{var e;await u({staged_resource_urn:t.urn}),i("Hid ".concat(null!==(e=t.name)&&void 0!==e?e:" resource"))},C=o||d||g;return(0,s.jsxs)(n.kCb,{gap:2,justify:"space-between",children:[r===f.e.ATTENTION_REQUIRED&&(0,s.jsx)(n.wpx,{size:"small",onClick:m,loading:o,disabled:C,"data-testid":"classify-btn",children:"Classify"}),r===f.e.IN_REVIEW&&(0,s.jsx)(n.wpx,{size:"small",onClick:j,loading:d,disabled:C,"data-testid":"approve-btn",children:"Approve"}),(0,s.jsx)(n.LZC,{}),(0,s.jsx)(h.Z,{onHideClick:_,onDetailClick:a})]})},j=a(89200),_=a(5945),C=a(61099),v=a(79947),y=a(65735);let I=(0,r.Cl)();var L=(e,t)=>{let a=[];return e?e===y.D$.TABLE?[I.display({id:"name",cell:e=>{let{row:t}=e;return(0,s.jsx)(j.Z,{resource:t.original})},header:"Table"}),I.display({id:"status",cell:e=>{let{row:t}=e;return(0,s.jsx)(_.Z,{status:(0,f.u)(t.original)})},header:"Status"}),I.display({id:"category",cell:e=>{let{row:t}=e;return(0,s.jsx)(C.Z,{resource:t.original})},header:"Data categories",minSize:280,meta:{disableRowClick:!0}}),I.accessor(e=>e.description,{id:"description",cell:e=>(0,s.jsx)(c.G3,{value:e.getValue()}),header:"Description"}),I.accessor(e=>e.updated_at,{id:"lastUpdated",cell:e=>(0,s.jsx)(g.Cy,{time:e.getValue()}),header:"Updated"}),I.display({id:"actions",cell:e=>{let{row:a}=e;return(0,s.jsx)(m,{resource:a.original,onDetailClick:()=>t(a.original)})},header:"Actions",meta:{disableRowClick:!0}})]:e===y.D$.FIELD?[I.display({id:"name",cell:e=>{let{row:t}=e;return(0,s.jsx)(j.Z,{resource:t.original})},header:"Field"}),I.display({id:"status",cell:e=>{let{row:t}=e;return(0,s.jsx)(_.Z,{status:(0,f.u)(t.original)})},header:"Status"}),I.accessor(e=>e.data_type,{id:"dataType",cell:e=>(0,s.jsx)(v.Z,{type:e.getValue()}),header:"Data type"}),I.display({id:"category",cell:e=>{let{row:t}=e;return(0,s.jsx)(C.Z,{resource:t.original})},header:"Data categories",minSize:280,meta:{disableRowClick:!0}}),I.accessor(e=>e.description,{id:"description",cell:e=>(0,s.jsx)(c.G3,{value:e.getValue()}),header:"Description"}),I.accessor(e=>e.updated_at,{id:"lastUpdated",cell:e=>(0,s.jsx)(g.Cy,{time:e.getValue()}),header:"Updated"}),I.display({id:"actions",cell:e=>{let{row:a}=e;return(0,s.jsx)(m,{resource:a.original,onDetailClick:()=>t(a.original)})},header:"Actions",meta:{disableRowClick:!0}})]:a:a},w=a(7940),R=a(80356);let b=[y.LL.ADDITION,y.LL.CLASSIFYING,y.LL.CLASSIFICATION_ADDITION,y.LL.CLASSIFICATION_QUEUED,y.LL.CLASSIFICATION_UPDATE,y.LL.MONITORED,y.LL.PROMOTING,y.LL.REMOVAL,y.LL.REMOVING],k={items:[],total:0,page:1,size:50,pages:1};var D=e=>{let{resourceUrn:t,onRowClick:a}=e,{PAGE_SIZES:g,pageSize:p,setPageSize:h,onPreviousPageClick:f,isPreviousPageDisabled:m,onNextPageClick:j,isNextPageDisabled:_,startRange:C,endRange:v,pageIndex:y,setTotalPages:I,resetPageIndexToDefault:D}=(0,c.oi)(),[N,S]=(0,l.useState)("");(0,l.useEffect)(()=>{D()},[t,D]);let{isFetching:E,isLoading:P,data:A}=(0,x.z8)({staged_resource_urn:t,page:y,size:p,diff_status:b,search:N}),{items:T,total:Z,pages:O}=(0,l.useMemo)(()=>null!=A?A:k,[A]);(0,l.useEffect)(()=>{I(O)},[O,I]);let[z,U]=(0,l.useState)(void 0),M=L((0,w.G)(T[0]),U),V=(0,i.b7)({getCoreRowModel:(0,r.sC)(),getGroupedRowModel:(0,r.qe)(),getExpandedRowModel:(0,r.rV)(),columns:M,manualPagination:!0,data:T,columnResizeMode:"onChange",getRowId:e=>e.urn});return P||E?(0,s.jsx)(c.I4,{rowHeight:36,numRows:36}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.Q$,{children:(0,s.jsx)(n.kCb,{gap:6,align:"center",children:(0,s.jsx)(n.xuv,{flexShrink:0,children:(0,s.jsx)(o.f,{value:N,onChange:S})})})}),(0,s.jsx)(c.ZK,{tableInstance:V,emptyTableNotice:(0,s.jsx)(d.Z,{}),getRowIsClickable:e=>(0,R.Z)(e),onRowClick:a}),(0,s.jsx)(c.s8,{totalRows:Z||0,pageSizes:g,setPageSize:h,onPreviousPageClick:f,isPreviousPageDisabled:m,onNextPageClick:j,isNextPageDisabled:_,startRange:C,endRange:v}),(0,s.jsx)(u.Z,{resource:z,onClose:()=>U(void 0)})]})}},94780:function(e,t,a){"use strict";a.d(t,{X5:function(){return l},pN:function(){return o},sv:function(){return r}});var s=a(24246),i=a(87949);let r=e=>e.split(".")[1],n=[(0,s.jsx)(i.PJP.S9g,{},"layers"),(0,s.jsx)(i.PJP.iA_,{},"table"),(0,s.jsx)(i.PJP.$4y,{style:{transform:"rotate(-90deg)"}},"field")],l=(e,t)=>{if(!e)return[];let a=e.split(".");if(a.length<2)return[];let l=a.splice(0,2).join("."),o=[];return a.reduce((e,s,i)=>{let r=i===a.length-1,c="".concat(e).concat(".").concat(s);return o.push({title:s,href:r?void 0:"".concat(t,"/").concat(l,"/").concat(c),icon:n[i]}),c},l),[{title:r(l),href:"".concat(t,"/").concat(l),icon:(0,s.jsx)(i.PJP.ehp,{})},...o]},o=(e,t)=>{if(!e)return[];let a=e.split(".");if(a.length<2)return[];let s=a.shift(),i=[];return a.reduce((e,s,r)=>{let l=r===a.length-1,o="".concat(e).concat(".").concat(s);return i.push({title:s,href:l?void 0:"".concat(t,"/").concat(o),icon:n[r]}),o},s),i}},51887:function(e,t,a){"use strict";a.r(t);var s=a(24246),i=a(86677),r=a(18225),n=a(77213),l=a(77830),o=a(58754),c=a(25077),d=a(94780),u=a(1315);t.default=()=>{var e;let{query:t}=(0,i.useRouter)(),a=t.systemId,g=t.resourceUrn,{data:p,isLoading:h}=(0,u.rn)(a),f=(0,i.useRouter)(),x=(0,d.pN)(g,"".concat(l.mX,"/").concat(a,"/resources"));return h?(0,s.jsx)(r.Z,{}):(0,s.jsxs)(n.Z,{title:"Data catalog",children:[(0,s.jsx)(o.Z,{heading:"Data catalog",breadcrumbItems:[{title:"All systems",href:l.mX},{title:null!==(e=null==p?void 0:p.name)&&void 0!==e?e:null==p?void 0:p.fides_key,href:"".concat(l.mX)},...x]}),(0,s.jsx)(c.Z,{resourceUrn:g,onRowClick:e=>f.push("".concat(l.mX,"/").concat(p.fides_key,"/resources/").concat(e.urn))})]})}}},function(e){e.O(0,[431,8765,9278,5163,7245,4322,1099,6882,2888,9774,179],function(){return e(e.s=37441)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5158],{57300:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-catalog/[systemId]/resources",function(){return a(21174)}])},79609:function(e,t,a){"use strict";a.d(t,{N4:function(){return i},UG:function(){return o},xw:function(){return n}});var s=a(54427);let{useGetCatalogSystemsQuery:o,useGetCatalogProjectsQuery:n,useGetCatalogDatasetsQuery:i}=a(78780).u.injectEndpoints({endpoints:e=>({getCatalogSystems:e.query({query:e=>({method:"GET",url:"/plus/data-catalog/system",params:e}),providesTags:["Catalog Systems","System"]}),getCatalogProjects:e.query({query:e=>{let{...t}=e;return{method:"GET",url:"/plus/data-catalog/project",params:t}},providesTags:["Discovery Monitor Results"]}),getCatalogDatasets:e.query({query:e=>{let{...t}=e;return{method:"GET",url:"/plus/data-catalog/dataset",params:t}},providesTags:["Discovery Monitor Results"]})})});(0,s.oM)({name:"dataCatalog",initialState:{page:1,pageSize:50},reducers:{}})},21174:function(e,t,a){"use strict";a.r(t);var s=a(24246),o=a(59003),n=a(92222),i=a(86677),r=a(27378),l=a(77213),u=a(77830),c=a(58754),d=a(47935),g=a(79609),m=a(98800),p=a(81406),f=a(69172),y=a(1315);let _={items:[],total:0,page:1,size:50,pages:1};t.default=()=>{let{query:e,push:t}=(0,i.useRouter)(),a=e.systemId,C=e.monitor_config_ids,{data:w,isLoading:h}=(0,y.rn)(a),{PAGE_SIZES:v,pageSize:x,setPageSize:R,onPreviousPageClick:j,isPreviousPageDisabled:E,onNextPageClick:P,isNextPageDisabled:N,startRange:b,endRange:T,pageIndex:k,setTotalPages:D}=(0,d.oi)(),{isFetching:M,isLoading:S,data:q}=(0,g.N4)({page:k,size:x,monitor_config_ids:C}),{items:z,total:Z,pages:G}=(0,r.useMemo)(()=>null!=q?q:_,[q]);(0,r.useEffect)(()=>{D(G)},[G,D]);let[I,X]=(0,r.useState)(void 0),O=(0,f.Z)({onDetailClick:e=>X(e)}),A=(0,o.b7)({getCoreRowModel:(0,n.sC)(),getGroupedRowModel:(0,n.qe)(),getExpandedRowModel:(0,n.rV)(),columns:O,manualPagination:!0,data:z,columnResizeMode:"onChange"}),F=!S&&!h&&!M;return(0,s.jsxs)(l.Z,{title:"Data catalog",children:[(0,s.jsx)(c.Z,{heading:"Data catalog",breadcrumbItems:[{title:"All systems",href:u.mX},{title:(null==w?void 0:w.name)||a}]}),!F&&(0,s.jsx)(d.I4,{rowHeight:36,numRows:36}),F&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.ZK,{tableInstance:A,emptyTableNotice:(0,s.jsx)(p.Z,{}),onRowClick:e=>t("".concat(u.mX,"/").concat(a,"/resources/").concat(e.urn))}),(0,s.jsx)(d.s8,{totalRows:Z||0,pageSizes:v,setPageSize:R,onPreviousPageClick:j,isPreviousPageDisabled:E,onNextPageClick:P,isNextPageDisabled:N,startRange:b,endRange:T}),(0,s.jsx)(m.Z,{dataset:I,onClose:()=>X(void 0)})]})]})}}},function(e){e.O(0,[3872,2888,9774,179],function(){return e(e.s=57300)}),_N_E=e.O()}]);
|