ethyca-fides 2.72.4b1__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.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/METADATA +1 -1
- {ethyca_fides-2.72.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/RECORD +248 -246
- fides/_version.py +3 -3
- fides/api/service/async_dsr/strategies/async_dsr_strategy_polling.py +1 -0
- fides/api/service/connectors/saas_connector.py +25 -38
- 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-1959c2e271a9588d.js → 1099-fa8b82f521b23cce.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1115-d8f2a0953960d648.js → 1115-d7ce851b36722c41.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1437-c3c8f421fc8d9bf7.js → 1438-62df8751f76235e7.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1817-877489cf6bb7185c.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-b9e38ecc741148fc.js → 2040-a18cc21821e2d121.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{2397-39c59d3fdf13042e.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/3080-218ac9199ab43f37.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3377-6e7bdffc46ffe15d.js → 3377-c2c9eb177bec8719.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3696-84990aa1baa21fad.js → 3696-21e3dec6c2023875.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3700-bde60c51fb2606a8.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-3c849a72d0129ae4.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-6e82c845722d09ce.js → 3923-7f0aa36c9e09cedf.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{401-63df8127ab5e8b1a.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-6ff88def38644170.js → 4496-903c81292ffd8f91.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5185-e662084251450372.js → 5185-fc171b6acce9f915.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5258-004011f620451d36.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-cb23e43b4fe4750e.js → 549-2d9bde37e5fe13eb.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5643-fb6082b8ecb6c0d9.js → 5643-48a5e0ad8b9fc3f7.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5783-0171fca3154d4812.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/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-d909264a2674ea4e.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-305e4a8a8be70fad.js → 7245-120f536e09decb85.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7476-2e1176b163688789.js → 7476-4234fb244676ec13.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7488-502aeb16e3a27d42.js → 7488-2db0992474f8056e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7630-bb44ecce0b2146ed.js → 7630-d7bd74d0cfdb22df.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7773-1303b235272f3dbf.js → 7773-6dce6187fe2c6984.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{796-d30fca0fe341916b.js → 796-fae64888b8b2f369.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{8011-866a514d483aaaac.js → 8011-6e40c969c9fa7d35.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{8212-334e971822270277.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-fd27a5fd2ed44c3d.js → 9826-aecc5ddec86989dc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9899-ea04d345468691b3.js → 9899-303921e3d0697960.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{404-5cffe00870fefd79.js → 404-c31cef0ce3fbeebf.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-32ece8369a437df8.js → _app-6f721c56270cb96e.js} +7 -7
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-02f6ef0e6a161961.js → manual-b9dbc9ac030f0490.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-4458172cd75babb0.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-1a821b298d86a22d.js → add-vendors-fcd031b2b775e4f3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{configure-6f35d961da39f539.js → configure-0bd2eb0110873c4d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-4caea1cb619aad01.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-0311c558666456cc.js → privacy-experience-ae8dff75e1c6c413.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-b062d2a4a8102ce1.js → [id]-b40fa30ca73e50c2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-524a3e86b2568398.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-15dac492b739cf83.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-7496b13734f49085.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-04a493b26a5dfdaf.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]-67c9fb9b18cb17a0.js → [resourceUrn]-27227f5c402b3a92.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{detection-c9d69ae424e73377.js → detection-1fe30896a5df2b9a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery/{[resourceUrn]-e5102013ec48b60c.js → [resourceUrn]-e17f809058842014.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{discovery-4094104544531055.js → discovery-2f73cff60a628e42.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{datamap-eaae94fb326cc676.js → datamap-d1bb19fe4ef393dc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-d2af9a78b22a3b33.js → [...subfieldNames]-58c3f4c0b490264b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-4b711c3a257f4754.js → [collectionName]-74290432e74fcdc5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{[datasetId]-cf0b5a30b3b37e20.js → [datasetId]-8dad45f070a06609.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-b651d5f466e4019d.js → new-6aed6dc24c3be001.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-35be9dda6a1114ce.js → dataset-fdaec997c1b0753f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-3fcfe1430c11e0c7.js → [id]-63c4805e40673c60.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-c967e9f37709c645.js → new-b5a49743387eecef.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{datastore-connection-a4abc6ee516b13d4.js → datastore-connection-8f0804d9a38688a4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{index-37c1abb674e1aea6.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]-3306676f61000f3b.js → [id]-0e4e4e7110362022.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/digests/{new-798fb0ca1205e684.js → new-2e15f6272e9aaeb6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/{digests-20c129ac4a57f2e5.js → digests-65626dfcfacdc605.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers/{[key]-749898f45b528480.js → [key]-768c4e2f6b05304c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers/{new-2798b151240303c5.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]-40d9f4a82335cb5c.js → [id]-1b31764f520fbbc5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates/{add-template-c38096d698ebfaa9.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-9586f35322edb190.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-e58cac7ad960a847.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-a948294b5b2ff677.js → storage-16f77a6291bb02fe.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{configure-f9af184bf0a04729.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]-7545993189dc1bb1.js → [id]-dd3c3d780533a9c2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-8cc4b3170f7851f9.js → add-property-d1af260c3ddbf68b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{properties-83b4002f896071b3.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-4171abc37fe1475c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domain-records-b90fb07aa18a396b.js → domain-records-3843fbaf5bc433f1.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domains-eea6685e7aa5953c.js → domains-ea549fabce96fde4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{email-templates-4a1985c24bf2dc90.js → email-templates-0fe318a9dfc1f593.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-06780a5a03c51fb0.js → locations-c42c856510cad6fd.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-5e8af0aeb40cbadd.js → organization-e4c552a5797c3fa5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{privacy-requests-b3156b0882717119.js → privacy-requests-2790d31b59cc3c74.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-825f705fc04c9262.js → regulations-3c608512c415fca4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-4bfe49a2d99a905f.js → test-datasets-e0e1a5142e41e9f2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-7f98c2d62b08265d.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]-9a920390f7f61e88.js → [id]-75d96422db98196f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-827f9bcad90d8856.js → user-management-598f98fd88505e1e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{webpack-3a17ce9d4ecac24a.js → webpack-0a3b419ab682b8f9.js} +1 -1
- fides/ui-build/static/admin/_next/static/css/8317e07483c73e4f.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-preview.js +1 -1
- fides/ui-build/static/admin/lib/fides-tcf.js +2 -2
- fides/ui-build/static/admin/lib/fides.js +2 -2
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/new-privacy-requests.html +1 -1
- 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/KrreFSHeuO3A1ZudBtGj2/_buildManifest.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/155-17c9584d4944ce7e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2921-bcd6a8741e98e7ce.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4817-cb54f4a8ed82122f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5279-28226a4eaaba9e56.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6277-2d53a51b7727d7b1.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6315-08729296f49e6898.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6468-f73d542ab5bcf746.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6853-56c933239103eef6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7059-362b53ad2cbe480e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8373-9debd1f8d36cd013.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9046-aaba9b46ed37f1e2.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9330-38845205515126c3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9682-0aab88e56ba618a3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9965-bd9d95c187ddcda5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-cfd6175cd093217c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-ca99b84429667b5f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-3b04a6d7447ae824.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-313fc265356df659.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-96ec3aa63de556ec.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects-04bb0d25beccc031.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-855eca0ddf47f4dc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources-e436f291ccce41c7.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-b45b49ab68d15585.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-ee1cf6e7f60d46db.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/data-explorer/[monitorId]-1cebd59598196388.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/data-explorer-a725550fc25e45e2.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-f67b897b206d1156.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-17887a476280c480.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-484063d65850e03e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-514131e87ac65082.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/new-privacy-requests-b0533759c1fe400c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers-4ebdfd1e0e4bfbe6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates-0e0ff3689c02c12e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-d9c3128f1c85ef06.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/AntForm-616164210b90485e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikAntFormItem-f462c200e6795276.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-891177e7bbd6a4a4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-cb6cd181c8ffbb9a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/forms-540bf3af41cd40fb.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-27ff988967e9153d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-cd94476ab282dd7f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-9459019a37ffe8d8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-260f460fea1bc187.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-2c71096d348013aa.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-72e6a6394b1c58c2.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-ddb0121f14bc3b84.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-4d945ab1aab9be54.js +0 -1
- fides/ui-build/static/admin/_next/static/css/4d3cb2ffee0cfa2c.css +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].html +0 -1
- fides/ui-build/static/admin/data-discovery/action-center/data-explorer/[monitorId].html +0 -1
- fides/ui-build/static/admin/data-discovery/action-center/data-explorer.html +0 -1
- {ethyca_fides-2.72.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.72.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.72.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.72.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{KrreFSHeuO3A1ZudBtGj2 → Y4fC3QVMk1ujcOb92jMd8}/_ssgManifest.js +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields/{[id]-9b395e59fa62cbe5.js → [id]-b5140de4431a7ff5.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields/{new-a0bb7928ac4a894e.js → new-dcc16459e754fbbd.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/{new-6b3564b9ae9ee7dd.js → new-bc1568bb47d198a9.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5135],{77713:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/consent/[configuration_id]/[purpose_id]",function(){return i(80758)}])},59301:function(e,t,i){"use strict";var r=i(24246);let{Link:n}=i(20595).AntTypography;t.Z=e=>{let{children:t,...i}=e;return(0,r.jsx)(n,{target:"_blank",rel:"noopener noreferrer",...i,children:t})}},35287:function(e,t,i){"use strict";var r=i(24246),n=i(20595),s=i(88038),o=i.n(s);i(27378),t.Z=e=>{let{children:t,title:i,mainProps:s}=e;return(0,r.jsxs)(n.kCb,{"data-testid":i,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,r.jsxs)(o(),{children:[(0,r.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,r.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,r.jsx)(n.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...s,children:t})]})}},58754:function(e,t,i){"use strict";var r=i(24246),n=i(20595),s=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:o=!0,children:d,rightContent:l,style:a,...c}=e;return(0,r.jsxs)("div",{...c,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",...a}:{paddingBottom:"24px",...a},children:[(0,r.jsxs)(n.jqI,{justify:"space-between",children:["string"==typeof t?(0,r.jsx)(n.lQT,{className:i||d?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,l&&(0,r.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!i&&(0,r.jsx)(s.m,{className:d?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),d]})}},97181:function(e,t,i){"use strict";i.d(t,{d:function(){return a}});var r=i(24246),n=i(20595),s=i(34090),o=i(27378),d=i(46238),l=i(40324);let a=e=>{let{name:t,label:i,labelProps:a,tooltip:c,isRequired:u,layout:p="inline",helperText:h,...v}=e,[_,m,{setValue:x}]=(0,s.U$)(t),f=!!(m.touched&&m.error),[g,R]=(0,o.useState)("");_.value||"tags"!==v.mode&&"multiple"!==v.mode||(_.value=[]),"tags"===v.mode&&"string"==typeof _.value&&(_.value=[_.value]);let j="tags"===v.mode?(e,t)=>e?e.value!==g||_.value.includes(g)?v.optionRender?v.optionRender(e,t):e.label:'Create "'.concat(g,'"'):void 0:v.optionRender||void 0,I=e=>{R(e),v.onSearch&&v.onSearch(e)},E=(e,t)=>{x(e),v.onChange&&v.onChange(e,t)};return"inline"===p?(0,r.jsx)(n.NIc,{isInvalid:f,isRequired:u,children:(0,r.jsxs)(n.rjZ,{templateColumns:i?"1fr 3fr":"1fr",children:[i?(0,r.jsx)(l.__,{htmlFor:v.id||t,...a,children:i}):null,(0,r.jsxs)(n.jqI,{align:"center",children:[(0,r.jsxs)(n.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,r.jsx)(n.WPr,{..._,id:v.id||t,"data-testid":"controlled-select-".concat(_.name),...v,optionRender:j,onSearch:"tags"===v.mode?I:void 0,onChange:E,value:_.value||void 0,status:f?"error":void 0}),h&&(0,r.jsx)(n.Q6r,{children:h}),(0,r.jsx)(l.Bc,{isInvalid:f,message:m.error,fieldName:_.name})]}),(0,r.jsx)(d.b,{label:c,className:f?"mt-2 self-start":void 0})]})]})}):(0,r.jsx)(n.NIc,{isInvalid:f,isRequired:u,children:(0,r.jsxs)(n.gCW,{alignItems:"start",children:[(0,r.jsxs)(n.jqI,{align:"center",children:[i?(0,r.jsx)(l.__,{htmlFor:v.id||t,fontSize:"xs",my:0,mr:1,...a,children:i}):null,(0,r.jsx)(d.b,{label:c})]}),(0,r.jsx)(n.WPr,{..._,id:v.id||t,"data-testid":"controlled-select-".concat(_.name),...v,optionRender:j,onSearch:"tags"===v.mode?I:void 0,onChange:E,value:_.value||void 0,status:f?"error":void 0}),h&&(0,r.jsx)(n.Q6r,{style:{marginTop:0},children:h}),(0,r.jsx)(l.Bc,{isInvalid:f,message:m.error,fieldName:_.name})]})})}},8133:function(e,t,i){"use strict";var r=i(24246),n=i(20595);t.Z=e=>{let{title:t,children:i,isOpen:s,onClose:o,modalContentProps:d,showCloseButton:l=!1,footer:a,...c}=e;return(0,r.jsxs)(n.u_l,{isOpen:s,onClose:o,isCentered:!0,scrollBehavior:"inside",size:"xl",id:"add-modal",...c,children:[(0,r.jsx)(n.ZAr,{}),(0,r.jsxs)(n.hzk,{textAlign:"left",p:0,"data-testid":"add-modal-content",...d,children:[l&&(0,r.jsx)(n.olH,{}),(0,r.jsx)(n.xBx,{p:0,children:(0,r.jsx)(n.xuv,{backgroundColor:"gray.50",px:6,py:4,border:"1px",borderColor:"gray.200",borderTopRadius:6,display:"flex",justifyContent:"space-between",alignItems:"center",children:(0,r.jsx)(n.X6q,{as:"h3",size:"sm",children:t})})}),(0,r.jsx)(n.fef,{pb:4,overflow:"auto",children:i}),a&&(0,r.jsx)(n.mzw,{children:a})]})]})}},70788:function(e,t,i){"use strict";i.d(t,{m:function(){return a}});var r=i(24246),n=i(20595),s=i(79894),o=i.n(s),d=i(27378);let{Text:l}=n.AntTypography,a=e=>{let{items:t,...i}=e,s=(0,d.useMemo)(()=>null==t?void 0:t.map((e,i)=>{let s=i===t.length-1,d={...e},a=d.onClick&&!d.href;return("string"==typeof d.title&&(d.title=(0,r.jsx)(l,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,id:s?"breadcrumb-current-page":void 0,children:d.title})),a)?d.title=(0,r.jsx)(n.wpx,{type:"text",size:"small",icon:d.icon,onClick:d.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:d.title}):(d.icon&&(d.title=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"anticon align-text-bottom",children:d.icon}),d.title]})),d.href&&d.title&&(d.title=(0,r.jsx)(o(),{href:d.href,className:"ant-breadcrumb-link",children:d.title}),delete d.href)),d}),[t]);return(0,r.jsx)(n.zrq,{items:s,...i})}},6675:function(e,t,i){"use strict";i.d(t,{ZS:function(){return d},a4:function(){return s}});var r=i(3228);let n=i(78780).u.injectEndpoints({endpoints:e=>({getPurposes:e.query({query:()=>"purposes"})})}),{useGetPurposesQuery:s}=n,o={purposes:{},special_purposes:{}},d=(0,r.P1)(n.endpoints.getPurposes.select(),e=>{let{data:t}=e;return t||o})},51263:function(e,t,i){"use strict";var r=i(24246),n=i(20595);t.Z=e=>{let{title:t,children:i,...s}=e;return(0,r.jsxs)(n.xuv,{backgroundColor:"var(--fidesui-bg-corinth)",borderRadius:"4px",padding:"3","data-testid":"setting-".concat(t),...s,children:[(0,r.jsx)(n.xvT,{as:"h3",fontSize:"md",fontWeight:"bold",lineHeight:5,color:"gray.700",mb:3,children:t}),i]})}},59512:function(e,t,i){"use strict";i.d(t,{Cu:function(){return d},Py:function(){return n},fj:function(){return o},uh:function(){return s}});var r=i(65735);let n=[1,3,4,5,6],s="https://ethyca.com/docs/tutorials/consent-management/consent-management-configuration/configure-tcf#vendor-overrides",o={[r.FF.PURPOSE_RESTRICTION]:"Purpose restriction",[r.FF.REQUIRE_CONSENT]:"Require consent",[r.FF.REQUIRE_LEGITIMATE_INTEREST]:"Require legitimate interest"},d={[r.PY.RESTRICT_ALL_VENDORS]:"Restrict all vendors",[r.PY.RESTRICT_SPECIFIC_VENDORS]:"Restrict specific vendors",[r.PY.ALLOW_SPECIFIC_VENDORS]:"Allow specific vendors"}},80758:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return Z}});var r=i(24246),n=i(20595),s=i(86677),o=i(27378),d=i(59301),l=i(35287),a=i(58754),c=i(6675),u=i(51263),p=i(59512),h=i(59003),v=i(92222),_=i(47935),m=i(65735),x=i(34090),f=i(55484),g=i(97181),R=i(812),j=i(8133),I=i(46628),E=i(52955);let y=e=>{if(/^\d+$/.test(e))return!0;let t=e.match(/^(\d+)-(\d+)$/);return!!t&&parseInt(t[1],10)<parseInt(t[2],10)},C=e=>{if(/^\d+$/.test(e)){let t=parseInt(e,10);return{start:t,end:t}}let t=e.match(/^(\d+)-(\d+)$/);return t?{start:parseInt(t[1],10),end:parseInt(t[2],10)}:null},T=(e,t)=>e.end===e.start?e.start>=t.start&&(null===t.end||e.start<=t.end):t.end===t.start?t.start>=e.start&&(null===e.end||t.start<=e.end):null===e.end&&null!==t.end?e.start<=t.end:null===t.end&&null!==e.end?t.start<=e.end:null===e.end&&null===t.end||e.start<=t.end&&e.end>=t.start||t.start<=e.end&&t.end>=e.start,b=(e,t)=>e.end===e.start?e.start>=t.start&&(null===t.end||e.start<=t.end):null===t.end?e.start>=t.start:null!==e.end&&e.start>=t.start&&e.end<=t.end,S=(e,t,i,r)=>{var n;let s=t.filter(e=>e.purpose_id===i&&e.id!==r);if(!(null===(n=e.vendor_ids)||void 0===n?void 0:n.length))return!1;let o=e.vendor_ids.map(C).filter(e=>null!==e);return 0!==o.length&&s.some(t=>{let i=e.vendor_restriction===m.PY.RESTRICT_SPECIFIC_VENDORS&&t.vendor_restriction===m.PY.ALLOW_SPECIFIC_VENDORS||e.vendor_restriction===m.PY.ALLOW_SPECIFIC_VENDORS&&t.vendor_restriction===m.PY.RESTRICT_SPECIFIC_VENDORS,r=t.vendor_ids.map(C).filter(e=>null!==e);return i?e.vendor_restriction===m.PY.ALLOW_SPECIFIC_VENDORS?r.some(e=>o.some(t=>!b(e,t))):o.some(e=>r.some(t=>!b(e,t))):t.vendor_restriction===e.vendor_restriction&&o.some(e=>r.some(t=>T(e,t)))})},N=e=>{if(/^\d+$/.test(e))return{start_vendor_id:parseInt(e,10),end_vendor_id:null};let t=e.match(/^(\d+)-(\d+)$/);if(t){let e=parseInt(t[1],10),i=parseInt(t[2],10);if(e<i)return{start_vendor_id:e,end_vendor_id:i}}return null},F=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(N).filter(e=>null!==e)},w="This restriction type is already in use for this purpose",P={restriction_type:"",vendor_restriction:"",vendor_ids:[]},O=e=>{let{isOpen:t,onClose:i,initialValues:s=P,existingRestrictions:o=[],purposeId:d,restrictionId:l,configurationId:a}=e,c=(0,n.pmc)(),[u]=(0,E.a_)(),[h]=(0,E.h3)(),v=!(d&&p.Py.includes(+d)),_=o.filter(e=>e.id!==l).map(e=>e.restriction_type),C=[{value:m.FF.PURPOSE_RESTRICTION,label:p.fj[m.FF.PURPOSE_RESTRICTION],disabled:_.includes(m.FF.PURPOSE_RESTRICTION),title:_.includes(m.FF.PURPOSE_RESTRICTION)?w:void 0},{value:m.FF.REQUIRE_CONSENT,label:p.fj[m.FF.REQUIRE_CONSENT],disabled:_.includes(m.FF.REQUIRE_CONSENT),title:_.includes(m.FF.REQUIRE_CONSENT)?w:void 0},{value:m.FF.REQUIRE_LEGITIMATE_INTEREST,label:p.fj[m.FF.REQUIRE_LEGITIMATE_INTEREST],disabled:_.includes(m.FF.REQUIRE_LEGITIMATE_INTEREST),title:_.includes(m.FF.REQUIRE_LEGITIMATE_INTEREST)?w:void 0}],T=[{value:m.PY.RESTRICT_ALL_VENDORS,label:p.Cu[m.PY.RESTRICT_ALL_VENDORS],disabled:_.length>0,title:_.length>0?"Cannot restrict all vendors when other restrictions exist":void 0},{value:m.PY.RESTRICT_SPECIFIC_VENDORS,label:p.Cu[m.PY.RESTRICT_SPECIFIC_VENDORS]},{value:m.PY.ALLOW_SPECIFIC_VENDORS,label:p.Cu[m.PY.ALLOW_SPECIFIC_VENDORS]}],b=f.Ry().shape({restriction_type:f.Z_().required("Restriction type is required"),vendor_restriction:f.Z_().required("Vendor restriction is required"),vendor_ids:f.IX().when("vendor_restriction",{is:e=>e!==m.PY.RESTRICT_ALL_VENDORS,then:e=>e.required("At least one vendor ID is required").min(1,"At least one vendor ID is required").test("valid-format","Vendor IDs must be numbers or ranges (e.g., 10 or 15-300)",e=>{var t;return null===(t=null==e?void 0:e.every(e=>y(e)))||void 0===t||t}).test("no-conflicts","One or more of these vendors already have a restriction for this purpose. Please update the existing restriction or remove duplicates.",(e,t)=>!S({...t.parent,vendor_ids:e},o,d,l))})}),N=async e=>{try{let t={restriction_type:e.restriction_type,vendor_restriction:e.vendor_restriction,range_entries:e.vendor_restriction!==m.PY.RESTRICT_ALL_VENDORS?F(e.vendor_ids):[]},r={...t,purpose_id:null!=d?d:0};if(l){let e=await h({configuration_id:a,restriction_id:l,restriction:t});if((0,R.D4)(e)){c((0,I.Vo)("Failed to update restriction"));return}c((0,I.t5)("Restriction updated successfully"))}else{let e=await u({configuration_id:a,restriction:r});if((0,R.D4)(e)){c((0,I.Vo)("Failed to create restriction"));return}c((0,I.t5)("Restriction created successfully"))}i()}catch(e){c((0,I.Vo)("Failed to save restriction"))}};return(0,r.jsx)(j.Z,{isOpen:t,onClose:i,title:"Edit restriction",children:(0,r.jsx)(x.J9,{initialValues:{...s,restriction_type:v?s.restriction_type:m.FF.PURPOSE_RESTRICTION},onSubmit:N,validationSchema:b,children:e=>{let{values:t,validateField:s,setTouched:o}=e;return(0,r.jsx)(x.l0,{children:(0,r.jsxs)(n.jqI,{vertical:!0,className:"gap-6",children:[(0,r.jsx)(n.xvT,{className:"text-sm",children:"Define how specific vendors are restricted from processing data for this purpose. Select a restriction type, set whether the listed vendors are restricted or allowed, and specify which vendor IDs the restriction applies to."}),(0,r.jsx)(n.esZ,{title:v?void 0:"Non-flexible purposes only support Purpose restrictions and cannot be restricted by consent or legitimate interest settings.",children:(0,r.jsx)(g.d,{name:"restriction_type",label:"Restriction type",options:C,layout:"stacked",tooltip:"Choose how vendors are permitted to process data for this purpose. This setting overrides the vendor's declared legal basis in the Global Vendor List.",isRequired:!0,disabled:!v,className:"w-full"})}),(0,r.jsx)(g.d,{name:"vendor_restriction",label:"Vendor restriction",options:T,layout:"stacked",tooltip:"Decide if the restriction applies to all vendors, specific vendors, or if only certain vendors are allowed.",isRequired:!0}),(0,r.jsx)(n.UO1,{in:!!t.restriction_type&&!!t.vendor_restriction&&t.vendor_restriction!==m.PY.RESTRICT_ALL_VENDORS,animateOpacity:!0,children:(0,r.jsx)(g.d,{name:"vendor_ids",label:"Vendor IDs",mode:"tags",options:[],layout:"stacked",placeholder:"Enter vendor IDs",open:!1,suffixIcon:(0,r.jsx)("span",{}),tooltip:"List the specific vendors that are restricted or allowed from processing data for this purpose.",disabled:t.vendor_restriction===m.PY.RESTRICT_ALL_VENDORS,tokenSeparators:[","," "],onBlur:()=>{setTimeout(()=>{o({vendor_ids:!0}),s("vendor_ids")},100)},helperText:"Enter IDs (e.g. 123) or ranges (e.g. 1-10) and press enter",isRequired:!0})}),(0,r.jsxs)(n.jqI,{justify:"flex-end",className:"gap-3 pt-4",children:[(0,r.jsx)(n.wpx,{onClick:i,"data-testid":"cancel-restriction-button",children:"Cancel"}),(0,r.jsx)(n.wpx,{type:"primary",htmlType:"submit","data-testid":"save-restriction-button",children:"Save"})]})]})})}})})};var L=i(72625),q=i(58452);let A=e=>{let{currentValues:t,existingRestrictions:i}=e,[d,l]=(0,o.useState)(!1),[a,c]=(0,o.useState)(!1),u=(0,s.useRouter)(),p=(0,n.pmc)(),[h]=(0,E.FC)(),v=u.query.purpose_id?parseInt(u.query.purpose_id,10):void 0,_=u.query.configuration_id,m=async()=>{try{if(!(null==t?void 0:t.id))return;let e=await h({configuration_id:_,restriction_id:t.id});if((0,R.D4)(e)){p((0,I.Vo)("Failed to delete publisher restriction"));return}l(!1),p((0,I.t5)("Publisher restriction deleted successfully"))}catch(e){p((0,I.Vo)("Failed to delete publisher restriction"))}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.vyj,{children:[(0,r.jsx)(n.wpx,{size:"small",onClick:()=>c(!0),"data-testid":"edit-restriction-button",children:"Edit"}),(0,r.jsx)(n.wpx,{size:"small",onClick:()=>l(!0),"data-testid":"delete-restriction-button",children:"Delete"})]}),(0,r.jsx)(O,{isOpen:a,onClose:()=>c(!1),initialValues:t,existingRestrictions:i,purposeId:v,restrictionId:null==t?void 0:t.id,configurationId:_}),(0,r.jsx)(q.Z,{isOpen:d,onClose:()=>l(!1),onConfirm:m,title:"Confirm deletion",message:"Are you sure you want to delete this publisher restriction? This action cannot be undone.",cancelButtonText:"Cancel",continueButtonText:"Delete"})]})},D=(0,v.Cl)(),V=()=>(0,o.useMemo)(()=>[D.accessor(e=>e.restriction_type,{id:"restriction_type",cell:e=>{let{getValue:t}=e,i=t();return(0,r.jsx)(_.G3,{value:p.fj[i]})},header:e=>(0,r.jsx)(_.Rr,{value:"Restriction type",...e})}),D.accessor(e=>e.vendor_restriction,{id:"vendor_restriction",cell:e=>{let{getValue:t}=e,i=t();return(0,r.jsx)(_.G3,{value:p.Cu[i]})},header:e=>(0,r.jsx)(_.Rr,{value:"Vendor restriction",...e})}),D.accessor(e=>e.vendor_ids,{id:"vendor_ids",cell:e=>{let{getValue:t}=e;return(0,r.jsx)(_.G3,{value:t().join(", ")||"All vendors"})},header:e=>(0,r.jsx)(L.vs,{value:"Vendors",helperText:"Specify which vendors the restriction applies to. You can apply restrictions to all vendors, specific vendors by their IDs, or allow only certain vendors while restricting the rest.",...e})}),D.display({id:"actions",cell:e=>(0,r.jsx)(A,{currentValues:e.row.original,existingRestrictions:e.table.getRowModel().rows.map(e=>e.original)}),header:"Actions",size:154,meta:{disableRowClick:!0}})],[]),k=e=>{let{onAdd:t}=e;return(0,r.jsxs)(n.jqI,{vertical:!0,align:"center",className:"mt-6 w-full gap-3 self-center whitespace-normal py-10","data-testid":"empty-table-notice",children:[(0,r.jsx)(n.xvT,{fontSize:"md",fontWeight:"semibold",children:"Add a restriction"}),(0,r.jsx)(n.xvT,{fontSize:"sm",className:"max-w-[70%]",children:"No restrictions have been added. By default, all vendors follow their declared legal basis unless a restriction is applied—add a restriction to override this behavior."}),(0,r.jsx)(n.wpx,{type:"primary",onClick:t,children:"Add +"})]})},U=()=>{let[e,t]=(0,o.useState)(!1),i=V(),d=(0,s.useRouter)(),l=d.query.purpose_id?parseInt(d.query.purpose_id,10):void 0,a=d.query.configuration_id,{data:c,isFetching:u}=(0,E.a9)({configuration_id:a,purpose_id:null!=l?l:0},{skip:!a||!l}),p=((null==c?void 0:c.items)||[]).map(e=>{var t;return{id:e.id,restriction_type:e.restriction_type,vendor_restriction:e.vendor_restriction,vendor_ids:(null===(t=e.range_entries)||void 0===t?void 0:t.map(e=>e.end_vendor_id?"".concat(e.start_vendor_id,"-").concat(e.end_vendor_id):e.start_vendor_id.toString()))||[],purpose_id:e.purpose_id}}),x=p.some(e=>e.vendor_restriction===m.PY.RESTRICT_ALL_VENDORS),f=Object.values(m.FF).every(e=>p.some(t=>t.restriction_type===e)),g=(0,h.b7)({getCoreRowModel:(0,v.sC)(),columns:i,data:p,columnResizeMode:"onChange",manualPagination:!0}),R=()=>{t(!0)};return(0,r.jsxs)(n.jqI,{vertical:!0,className:"overflow-auto",children:[(0,r.jsxs)(_.Q$,{children:[(0,r.jsx)(n.LZC,{}),(0,r.jsx)(n.esZ,{title:x?'Each vendor must have a unique restriction type. When "Restrict all vendors" is active for any restriction type, no other restrictions can be added.':f?"Each purpose must have a unique restriction type. When all restriction types are active, no other restrictions can be added. Use the 'Edit' button to change the vendor restrictions on each type.":void 0,children:(0,r.jsx)(n.wpx,{type:"primary",onClick:R,disabled:x||f,"data-testid":"add-restriction-button",children:"Add restriction +"})})]}),u?(0,r.jsx)(_.I4,{rowHeight:36,numRows:3}):(0,r.jsx)(_.ZK,{tableInstance:g,emptyTableNotice:(0,r.jsx)(k,{onAdd:R})}),(0,r.jsx)(O,{isOpen:e,onClose:()=>{t(!1)},existingRestrictions:p,purposeId:l,configurationId:a})]})};var Z=()=>{let e=(0,s.useRouter)(),t=decodeURIComponent(e.query.configuration_id),i=decodeURIComponent(e.query.purpose_id),{data:h,isLoading:v}=(0,c.a4)(),{data:_}=(0,E.NZ)(t),m=(0,o.useMemo)(()=>null==h?void 0:h.purposes[i],[h,i]);return(0,r.jsxs)(l.Z,{title:"Consent Configuration",children:[(0,r.jsx)(a.Z,{heading:"Consent configuration",breadcrumbItems:[{title:"Consent settings",href:"/settings/consent"},{title:(null==_?void 0:_.name)||"Configuration"},{title:"TCF purpose ".concat(i)}]}),(0,r.jsxs)(n.vyj,{direction:"vertical",size:"middle",children:[(0,r.jsxs)(n.vyj,{direction:"vertical",size:"middle",children:[(0,r.jsx)(u.Z,{title:"TCF purpose ".concat(i).concat((null==m?void 0:m.name)?": ".concat(null==m?void 0:m.name):""),children:v?(0,r.jsxs)(n.jqI,{vertical:!0,className:"gap-1.5",children:[(0,r.jsx)(n.OdW,{height:"16px",width:"100%"}),(0,r.jsx)(n.OdW,{height:"16px",width:"100%"}),(0,r.jsx)(n.OdW,{height:"16px",width:"30%"})]}):!!m&&(0,r.jsx)(n.xvT,{fontSize:"sm",children:null==m?void 0:m.description})}),(0,r.jsx)(u.Z,{title:(null==_?void 0:_.name)||"Configuration",children:(0,r.jsx)(n.vyj,{direction:"vertical",className:"gap-3",children:(0,r.jsxs)(n.xvT,{fontSize:"sm",children:["Add restrictions to control how vendors process data for specific purposes. For each restriction, choose a restriction type. Then, decide whether the restriction applies to all vendors, specific vendors, or only to a limited set of allowed vendors. You can add multiple restrictions—they'll appear in the table below."," ",(0,r.jsx)(d.Z,{href:p.uh,children:"Learn more about publisher restrictions"})," ","in our docs."]})})})]}),(0,r.jsx)(U,{})]})]})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=77713)}),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[210],{53748:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/consent",function(){return i(96236)}])},59301:function(e,t,i){"use strict";var s=i(24246);let{Link:n}=i(20595).AntTypography;t.Z=e=>{let{children:t,...i}=e;return(0,s.jsx)(n,{target:"_blank",rel:"noopener noreferrer",...i,children:t})}},56358:function(e,t,i){"use strict";i.d(t,{q:function(){return n}});var s=i(24246);let n=(0,i(20595).IUT)({displayName:"TrashCanOutlineIcon",viewBox:"0 0 11 12",path:(0,s.jsx)("path",{d:"M4.5166 1.60859L4.1084 2.21875H7.22363L6.81543 1.60859C6.7832 1.56133 6.72949 1.53125 6.67148 1.53125H4.6584C4.60039 1.53125 4.54668 1.55918 4.51445 1.60859H4.5166ZM7.6748 1.03711L8.46328 2.21875H8.75977H9.79102H9.96289C10.2486 2.21875 10.4785 2.44863 10.4785 2.73438C10.4785 3.02012 10.2486 3.25 9.96289 3.25H9.79102V9.78125C9.79102 10.7309 9.02188 11.5 8.07227 11.5H3.25977C2.31016 11.5 1.54102 10.7309 1.54102 9.78125V3.25H1.36914C1.0834 3.25 0.853516 3.02012 0.853516 2.73438C0.853516 2.44863 1.0834 2.21875 1.36914 2.21875H1.54102H2.57227H2.86875L3.65723 1.03496C3.88066 0.701953 4.25664 0.5 4.6584 0.5H6.67148C7.07324 0.5 7.44922 0.701953 7.67266 1.03496L7.6748 1.03711ZM2.57227 3.25V9.78125C2.57227 10.1615 2.87949 10.4688 3.25977 10.4688H8.07227C8.45254 10.4688 8.75977 10.1615 8.75977 9.78125V3.25H2.57227ZM4.29102 4.625V9.09375C4.29102 9.28281 4.13633 9.4375 3.94727 9.4375C3.7582 9.4375 3.60352 9.28281 3.60352 9.09375V4.625C3.60352 4.43594 3.7582 4.28125 3.94727 4.28125C4.13633 4.28125 4.29102 4.43594 4.29102 4.625ZM6.00977 4.625V9.09375C6.00977 9.28281 5.85508 9.4375 5.66602 9.4375C5.47695 9.4375 5.32227 9.28281 5.32227 9.09375V4.625C5.32227 4.43594 5.47695 4.28125 5.66602 4.28125C5.85508 4.28125 6.00977 4.43594 6.00977 4.625ZM7.72852 4.625V9.09375C7.72852 9.28281 7.57383 9.4375 7.38477 9.4375C7.1957 9.4375 7.04102 9.28281 7.04102 9.09375V4.625C7.04102 4.43594 7.1957 4.28125 7.38477 4.28125C7.57383 4.28125 7.72852 4.43594 7.72852 4.625Z",fill:"currentColor"})})},58754:function(e,t,i){"use strict";var s=i(24246),n=i(20595),r=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:o=!0,children:l,rightContent:a,style:d,...c}=e;return(0,s.jsxs)("div",{...c,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",...d}:{paddingBottom:"24px",...d},children:[(0,s.jsxs)(n.jqI,{justify:"space-between",children:["string"==typeof t?(0,s.jsx)(n.lQT,{className:i||l?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,a&&(0,s.jsx)("div",{"data-testid":"page-header-right-content",children:a})]}),!!i&&(0,s.jsx)(r.m,{className:l?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),l]})}},19904:function(e,t,i){"use strict";i.d(t,{Tg:function(){return o}});var s=i(24246),n=i(16134),r=i(31793);let o=e=>(0,n.C)(r.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:i}=e;return o(t)?(0,s.jsx)(s.Fragment,{children:i}):null}},8133:function(e,t,i){"use strict";var s=i(24246),n=i(20595);t.Z=e=>{let{title:t,children:i,isOpen:r,onClose:o,modalContentProps:l,showCloseButton:a=!1,footer:d,...c}=e;return(0,s.jsxs)(n.u_l,{isOpen:r,onClose:o,isCentered:!0,scrollBehavior:"inside",size:"xl",id:"add-modal",...c,children:[(0,s.jsx)(n.ZAr,{}),(0,s.jsxs)(n.hzk,{textAlign:"left",p:0,"data-testid":"add-modal-content",...l,children:[a&&(0,s.jsx)(n.olH,{}),(0,s.jsx)(n.xBx,{p:0,children:(0,s.jsx)(n.xuv,{backgroundColor:"gray.50",px:6,py:4,border:"1px",borderColor:"gray.200",borderTopRadius:6,display:"flex",justifyContent:"space-between",alignItems:"center",children:(0,s.jsx)(n.X6q,{as:"h3",size:"sm",children:t})})}),(0,s.jsx)(n.fef,{pb:4,overflow:"auto",children:i}),d&&(0,s.jsx)(n.mzw,{children:d})]})]})}},70788:function(e,t,i){"use strict";i.d(t,{m:function(){return d}});var s=i(24246),n=i(20595),r=i(79894),o=i.n(r),l=i(27378);let{Text:a}=n.AntTypography,d=e=>{let{items:t,...i}=e,r=(0,l.useMemo)(()=>null==t?void 0:t.map((e,i)=>{let r=i===t.length-1,l={...e},d=l.onClick&&!l.href;return("string"==typeof l.title&&(l.title=(0,s.jsx)(a,{style:{color:"inherit",maxWidth:r?void 0:400},ellipsis:!r,id:r?"breadcrumb-current-page":void 0,children:l.title})),d)?l.title=(0,s.jsx)(n.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)(o(),{href:l.href,className:"ant-breadcrumb-link",children:l.title}),delete l.href)),l}),[t]);return(0,s.jsx)(n.zrq,{items:r,...i})}},6675:function(e,t,i){"use strict";i.d(t,{ZS:function(){return l},a4:function(){return r}});var s=i(3228);let n=i(78780).u.injectEndpoints({endpoints:e=>({getPurposes:e.query({query:()=>"purposes"})})}),{useGetPurposesQuery:r}=n,o={purposes:{},special_purposes:{}},l=(0,s.P1)(n.endpoints.getPurposes.select(),e=>{let{data:t}=e;return t||o})},51263:function(e,t,i){"use strict";var s=i(24246),n=i(20595);t.Z=e=>{let{title:t,children:i,...r}=e;return(0,s.jsxs)(n.xuv,{backgroundColor:"var(--fidesui-bg-corinth)",borderRadius:"4px",padding:"3","data-testid":"setting-".concat(t),...r,children:[(0,s.jsx)(n.xvT,{as:"h3",fontSize:"md",fontWeight:"bold",lineHeight:5,color:"gray.700",mb:3,children:t}),i]})}},59512:function(e,t,i){"use strict";i.d(t,{Cu:function(){return l},Py:function(){return n},fj:function(){return o},uh:function(){return r}});var s=i(65735);let n=[1,3,4,5,6],r="https://ethyca.com/docs/tutorials/consent-management/consent-management-configuration/configure-tcf#vendor-overrides",o={[s.FF.PURPOSE_RESTRICTION]:"Purpose restriction",[s.FF.REQUIRE_CONSENT]:"Require consent",[s.FF.REQUIRE_LEGITIMATE_INTEREST]:"Require legitimate interest"},l={[s.PY.RESTRICT_ALL_VENDORS]:"Restrict all vendors",[s.PY.RESTRICT_SPECIFIC_VENDORS]:"Restrict specific vendors",[s.PY.ALLOW_SPECIFIC_VENDORS]:"Allow specific vendors"}},96236:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return J}});var s=i(24246),n=i(20595),r=i(34090),o=i(27378),l=i(16134),a=i(25980),d=i(812),c=i(77213),u=i(58754),p=i(6675),h=i(46628),x=i(7426),g=i(40324);let m=e=>{let{children:t,purpose:i,endCol:r}=e;return(0,s.jsx)(n.kCb,{flex:"1",justifyContent:"center",alignItems:"center",borderLeft:"solid 1px",borderRight:r?"solid 1px":"unset",borderColor:"gray.200",height:"100%",minWidth:"36px",children:[1,3,4,5,6].includes(i)?null:(0,s.jsx)(n.xuv,{children:t})})};var f=()=>{let{values:e,setFieldValue:t}=(0,r.u6)(),{purposes:i}=(0,l.C)(p.ZS);return(0,s.jsx)(r.F2,{name:"purposeOverrides",render:()=>(0,s.jsxs)(n.kCb,{flexDirection:"column",minWidth:"944px",children:[(0,s.jsxs)(n.kCb,{width:"100%",border:"solid 1px",borderColor:"gray.200",backgroundColor:"gray.50",height:"36px",children:[(0,s.jsx)(n.kCb,{width:"600px",pl:"4",fontSize:"xs",fontWeight:"medium",lineHeight:"4",alignItems:"center",borderRight:"solid 1px",borderColor:"gray.200",children:"TCF purpose"}),(0,s.jsx)(n.kCb,{flex:"1",alignItems:"center",borderRight:"solid 1px",borderColor:"gray.200",minWidth:"36px",children:(0,s.jsx)(n.xvT,{pl:"4",fontSize:"xs",fontWeight:"medium",lineHeight:"4",children:"Allowed"})}),(0,s.jsx)(n.kCb,{flex:"1",alignItems:"center",borderRight:"solid 1px",borderColor:"gray.200",children:(0,s.jsx)(n.xvT,{pl:"4",fontSize:"xs",fontWeight:"medium",lineHeight:"4",children:"Consent"})}),(0,s.jsx)(n.kCb,{flex:"1",alignItems:"center",children:(0,s.jsx)(n.xvT,{pl:"4",fontSize:"xs",fontWeight:"medium",lineHeight:"4",children:"Legitimate interest"})})]}),e.purposeOverrides.map((r,o)=>(0,s.jsxs)(n.kCb,{width:"100%",height:"36px",alignItems:"center",borderBottom:"solid 1px",borderColor:"gray.200",backgroundColor:"#fff",children:[(0,s.jsxs)(n.kCb,{width:"600px",borderLeft:"solid 1px",borderColor:"gray.200",p:0,alignItems:"center",height:"100%",pl:"4",fontSize:"xs",fontWeight:"normal",lineHeight:"4",children:["Purpose ",r.purpose,": ",i[r.purpose].name]}),(0,s.jsx)(n.kCb,{flex:"1",justifyContent:"center",alignItems:"center",borderLeft:"solid 1px",borderColor:"gray.200",height:"100%",children:(0,s.jsx)(n.xuv,{children:(0,s.jsx)(g.w8,{name:"purposeOverrides[".concat(o,"].is_included"),onChange:e=>{e||(t("purposeOverrides[".concat(o,"].is_consent"),!1),t("purposeOverrides[".concat(o,"].is_legitimate_interest"),!1))}})})}),(0,s.jsx)(m,{purpose:r.purpose,children:(0,s.jsx)(g.w8,{isDisabled:!e.purposeOverrides[o].is_included||e.purposeOverrides[o].is_legitimate_interest,name:"purposeOverrides[".concat(o,"].is_consent")})}),(0,s.jsx)(m,{purpose:r.purpose,endCol:!0,children:(0,s.jsx)(g.w8,{isDisabled:!e.purposeOverrides[o].is_included||e.purposeOverrides[o].is_consent,name:"purposeOverrides[".concat(o,"].is_legitimate_interest")})})]},r.purpose))]})})},v=i(59301),j=e=>{let{name:t,enabled:i}=e;return(0,s.jsxs)(n.Kqy,{spacing:2,fontSize:"sm",lineHeight:"5",fontWeight:"medium",color:"gray.700",children:[(0,s.jsxs)(n.xvT,{children:[t," status"," ",i?(0,s.jsx)(n.j8w,{color:"success",children:"Enabled"}):(0,s.jsx)(n.j8w,{color:"error",children:"Disabled"})]}),(0,s.jsxs)(n.xvT,{children:["To ",i?"disable":"enable"," ",t,", please contact your Fides administrator or"," ",(0,s.jsx)(v.Z,{href:"mailto:support@ethyca.com",children:"Ethyca support"}),"."]})]})},b=i(46238),C=e=>{var t,i;let{label:o,options:l,layout:a,defaultFirstSelected:d=!0,...c}=e,[u,p]=(0,r.U$)(c),h={...u,value:null!==(t=u.value)&&void 0!==t?t:""},x=!!(p.touched&&p.error),m=d?l[0]:void 0,f=null!==(i=l.find(e=>e.value===h.value))&&void 0!==i?i:m,v=e=>{h.onChange(c.name)(e.target.value)};return"stacked"===a?(0,s.jsxs)(n.NIc,{isInvalid:x,children:[(0,s.jsxs)(n.jqI,{className:"w-fit",children:[o?(0,s.jsx)(g.__,{children:o}):null,(0,s.jsx)(n.y02.Group,{onChange:v,value:null==f?void 0:f.value,"data-testid":"input-".concat(h.name),children:(0,s.jsx)(n.jqI,{className:"flex-col gap-3",children:l.map(e=>{let{value:t,label:i,tooltip:r}=e;return(0,s.jsx)(n.y02,{value:t,"data-testid":"option-".concat(t),children:(0,s.jsxs)(n.jqI,{className:"items-center gap-2",children:[(0,s.jsx)(n.xvT,{fontSize:"sm",fontWeight:"medium",children:i}),r?(0,s.jsx)(b.b,{label:r}):null]})},t)})})})]}),(0,s.jsx)(g.Bc,{isInvalid:x,message:p.error,fieldName:h.name})]}):(0,s.jsxs)(n.NIc,{isInvalid:x,children:[(0,s.jsxs)(n.rjZ,{templateColumns:"1fr 3fr",children:[(0,s.jsx)(g.__,{children:o}),(0,s.jsx)(n.y02.Group,{onChange:v,value:null==f?void 0:f.value,"data-testid":"input-".concat(h.name),children:(0,s.jsx)(n.jqI,{children:l.map(e=>(0,s.jsx)(n.y02,{value:e.value,"data-testid":"option-".concat(e.value),children:e.label},e.value))})})]}),(0,s.jsx)(g.Bc,{isInvalid:x,message:p.error,fieldName:h.name})]})},y=i(65735),_=i(51263);let w=e=>{let{title:t,children:i}=e;return(0,s.jsxs)(n.Kqy,{spacing:3,mb:3,"data-testid":"section-".concat(t),children:[(0,s.jsx)(n.xvT,{fontSize:"sm",fontWeight:"bold",lineHeight:5,color:"gray.700",children:t}),i]})};var T=()=>{let{tcf:e}=(0,a.hz)(),t=!!(0,l.C)(x.D2).enabled,{values:i,setFieldValue:o}=(0,r.u6)(),d=!!i.gpp.us_approach;return(0,s.jsx)(_.Z,{title:"Global Privacy Platform",children:(0,s.jsxs)(n.Kqy,{spacing:6,children:[(0,s.jsx)(j,{name:"GPP",enabled:t}),t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(w,{title:"GPP U.S.",children:(0,s.jsx)(C,{name:"gpp.us_approach",layout:"stacked",defaultFirstSelected:!1,options:[{label:"Enable U.S. National",value:y.en.NATIONAL,tooltip:"When US National is selected, Fides will present the same privacy notices to all consumers located anywhere in the United States."},{label:"Enable U.S. State-by-State",value:y.en.STATE,tooltip:"When state-by-state is selected, Fides will only present consent to consumers and save their preferences if they are located in a state that is supported by the GPP. The consent options presented to consumers will vary depending on the regulations in each state."},{label:"Enable US National and State-by-State notices",value:y.en.ALL,tooltip:"When enabled, Fides can be configured to serve the National and U.S. state notices. This mode is intended to provide consent coverage to U.S. states with new privacy laws where GPP support lags behind the effective date of state laws."}]})}),d?(0,s.jsxs)(w,{title:"MSPA",children:[(0,s.jsx)(g.Xl,{name:"gpp.mspa_covered_transactions",label:"All transactions covered by MSPA",tooltip:"When selected, the Fides CMP will communicate to downstream vendors that all preferences are covered under the MSPA.",onChange:e=>{e||(o("gpp.mspa_service_provider_mode",!1),o("gpp.mspa_opt_out_option_mode",!1))}}),(0,s.jsx)(g.w8,{label:"Enable MSPA service provider mode",name:"gpp.mspa_service_provider_mode",variant:"switchFirst",tooltip:"Enable service provider mode if you do not engage in any sales or sharing of personal information.",isDisabled:!!i.gpp.mspa_opt_out_option_mode||!i.gpp.mspa_covered_transactions}),(0,s.jsx)(g.w8,{label:"Enable MSPA opt-out option mode",name:"gpp.mspa_opt_out_option_mode",variant:"switchFirst",tooltip:"Enable opt-out option mode if you engage or may engage in the sales or sharing of personal information, or process any information for the purpose of targeted advertising.",isDisabled:!!i.gpp.mspa_service_provider_mode||!i.gpp.mspa_covered_transactions})]}):null]}):null,e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.izJ,{color:"gray.200"}),(0,s.jsxs)(w,{title:"GPP Europe",children:[(0,s.jsx)(n.xvT,{fontSize:"sm",fontWeight:"medium",children:"Configure TCF string for Global Privacy Platform"}),(0,s.jsx)(g.w8,{label:"Enable TC string",name:"gpp.enable_tcfeu_string",variant:"switchFirst",tooltip:"When enabled, the GPP API will include a TCF EU consent string for users who are in regions where TCF applies."})]})]}):null]})})},S=i(64781),I=i(60325),N=()=>{var e,t,i;let{tcf:o}=(0,a.hz)(),{values:l,setFieldValue:d}=(0,r.u6)(),{data:c,isLoading:u}=(0,S.gT)(),p=[...(0,I.k1)(null!==(t=null==c?void 0:c.locations)&&void 0!==t?t:[]),...(0,I.k1)(null!==(i=null==c?void 0:c.location_groups)&&void 0!==i?i:[])].sort((e,t)=>e.name<t.name?-1:1);return o?(0,s.jsxs)(_.Z,{title:"Publisher settings",children:[(0,s.jsx)(n.AntTypography.Paragraph,{className:"mb-3",children:"Specify the country in which your organization operates for TCF compliance. This setting will determine the 'Publisher Country Code ' transmitted in the Transparency and Consent (TC) Data."}),(0,s.jsx)(n.PPS.Item,{label:"Publisher country",htmlFor:"publisher_country_code",children:(0,s.jsx)(n.AOh,{"data-testid":"input-publisher_settings.publisher_country_code",id:"publisher_country_code",loading:u,allowClear:!0,options:(0,n.Ky_)(null==p?void 0:p.map(e=>e.id)),placeholder:"Select a country",value:null===(e=l.tcfPublisherSettings.publisher_country_code)||void 0===e?void 0:e.replace("_","-").toUpperCase(),onChange:e=>d("tcfPublisherSettings.publisher_country_code",null==e?void 0:e.toLowerCase()),className:"!w-80"})})]}):null},E=i(52955),P=i(71795),k=i(59512),F=i(55484),L=i(8133),O=i(31883);let R=F.Ry().shape({name:F.Z_().required().label("Name")}),z=e=>{let{isOpen:t,onClose:i,onSuccess:o}=e,l=(0,n.pmc)(),[a]=(0,E.LK)(),c=async e=>{let t=await a({name:e.name});(0,O.D4)(t)?l((0,h.Vo)((0,d.e$)(t.error))):(l((0,h.t5)("Successfully created TCF configuration")),null==o||o(t.data.id),i())};return(0,s.jsx)(L.Z,{title:"Create a new TCF configuration",isOpen:t,onClose:i,children:(0,s.jsx)(r.J9,{initialValues:{name:""},onSubmit:c,validationSchema:R,children:e=>{let{isValid:t,dirty:o}=e;return(0,s.jsx)(r.l0,{children:(0,s.jsxs)(n.vyj,{direction:"vertical",size:"small",className:"w-full",children:[(0,s.jsx)(n.xvT,{children:"TCF configurations allow you to define unique sets of publisher restrictions. These configurations can be added to privacy experiences."}),(0,s.jsx)(g.j0,{id:"name",name:"name",label:"Name",isRequired:!0,variant:"stacked"}),(0,s.jsxs)(n.vyj,{className:"w-full justify-end pt-6",children:[(0,s.jsx)(n.wpx,{onClick:i,children:"Cancel"}),(0,s.jsx)(n.wpx,{type:"primary",htmlType:"submit",disabled:!t||!o,"data-testid":"save-config-button",children:"Save"})]})]})})}})})};var A=i(79894),q=i.n(A);let Z=e=>{let{width:t,style:i,borderLeft:r=!1,borderRight:o=!1,...l}=e;return(0,s.jsx)(n.jqI,{align:"center",className:"h-full px-4",...l,style:{borderLeft:r?"solid 1px":"none",borderRight:o?"solid 1px":"none",borderColor:"var(--ant-color-border)",width:t,...i},role:"cell"})},W=e=>{let{width:t,style:i,borderLeft:r=!1,children:o,...l}=e;return(0,s.jsx)(n.jqI,{align:"center",role:"columnheader",className:"px-4",...l,style:{borderLeft:r?"solid 1px":"none",borderColor:"var(--ant-color-border)",fontWeight:500,whiteSpace:"nowrap",width:t,...i},children:o})},H=e=>{let{isHeader:t=!1,isLastRow:i=!1,style:r,...o}=e;return(0,s.jsx)(n.jqI,{role:t?"rowheader":"row",className:"h-9 w-full",...o,style:{backgroundColor:t?"var(--fidesui-bg-default)":void 0,borderBottom:i?"none":"solid 1px",borderColor:"var(--ant-color-border)",...r}})},M=e=>{let{config:t,isLoading:i,style:r,...o}=e,{purposes:a}=(0,l.C)(p.ZS);return(0,s.jsxs)(n.jqI,{vertical:!0,...o,style:{maxWidth:"1200px",border:"solid 1px",borderColor:"var(--ant-color-border)",backgroundColor:"var(--ant-color-bg-base)",fontSize:"12px",...r},"aria-label":"Publisher restrictions table",role:"table","data-testid":"publisher-restrictions-table",children:[(0,s.jsxs)(H,{isHeader:!0,style:{width:"100%"},children:[(0,s.jsx)(W,{width:"600px",children:"TCF purpose"}),(0,s.jsxs)(W,{flex:1,gap:3,borderLeft:!0,children:["Restrictions",(0,s.jsx)(b.b,{label:"Restrictions control how vendors are permitted to process data for specific purposes. Fides supports three restriction types: Purpose Restriction to completely disallow data processing for a purpose, Require Consent to allow processing only with explicit user consent, and Require Legitimate Interest to allow processing based on legitimate business interest unless the user objects."})]}),(0,s.jsxs)(W,{width:"100px",gap:3,borderLeft:!0,children:["Flexible",(0,s.jsx)(b.b,{label:'Indicates whether the legal basis for this purpose can be overridden by publisher restrictions. If marked "No," the purpose has a fixed legal basis defined by the TCF and cannot be changed.'})]}),(0,s.jsx)(W,{width:"100px",borderLeft:!0,children:"Actions"})]}),Object.values(a).map((e,r)=>(0,s.jsxs)(H,{isLastRow:r===Object.values(a).length-1,children:[(0,s.jsxs)(Z,{width:"600px",children:["Purpose ",e.id,": ",e.name]}),(0,s.jsx)(Z,{flex:1,borderLeft:!0,"data-testid":"restriction-type-cell-".concat(e.id),children:i?(0,s.jsx)(n.OdW,{height:"16px",width:"100%"}):(()=>{var i;let r=(null==t?void 0:null===(i=t.restriction_types_per_purpose)||void 0===i?void 0:i[e.id])||[];return 0===r.length?"none":1===r.length?(0,s.jsx)(n.xvT,{size:"sm",whiteSpace:"nowrap",children:k.fj[r[0]]}):(0,s.jsxs)(n.xvT,{children:[r.length," restrictions"]})})()}),(0,s.jsx)(Z,{width:"100px",borderLeft:!0,children:k.Py.includes(e.id)?(0,s.jsx)(n.j8w,{color:"error","data-testid":"flexibility-tag-".concat(e.id),children:"No"}):(0,s.jsx)(n.j8w,{color:"success","data-testid":"flexibility-tag-".concat(e.id),children:"Yes"})}),(0,s.jsx)(Z,{width:"100px",borderLeft:!0,children:(0,s.jsx)(q(),{href:"/settings/consent/".concat(null==t?void 0:t.id,"/").concat(e.id),passHref:!0,legacyBehavior:!0,children:(0,s.jsx)(n.wpx,{size:"small","data-testid":"edit-restriction-btn-".concat(e.id),children:"Edit"})})})]},e.id))]})};var V=i(56358),D=i(19904);let B=()=>(0,s.jsxs)(n.vyj,{direction:"vertical",size:"small",children:[(0,s.jsx)(n.OdW,{width:"100%",className:"h-4"}),(0,s.jsx)(n.OdW,{width:"100%",className:"h-4"}),(0,s.jsx)(n.OdW,{width:"100%",className:"h-4"})]}),G=e=>{let{searchResults:t,selectedConfigId:i,handleSelection:r,userCanDeleteConfigs:o,onDeleteOpen:l,setConfigToDelete:a}=e;return(0,s.jsx)(n.y02.Group,{onChange:e=>r(e.target.value),value:i,className:"flex flex-col gap-2",children:t.map(e=>(0,s.jsxs)(n.jqI,{className:o?"justify-between":"justify-start","data-testid":"tcf-config-item-".concat(e.id),children:[(0,s.jsx)(n.y02,{value:e.id,name:"tcf-config-id","data-testid":"tcf-config-item",children:(0,s.jsx)(n.xvT,{className:"text-sm",children:e.name})}),o&&(0,s.jsx)(n.wpx,{type:"text",size:"small","aria-label":"Delete",icon:(0,s.jsx)(V.q,{fontSize:16}),onClick:t=>{t.stopPropagation(),a(e),l()},"data-testid":"delete-config-button"})]},e.id))})},U=e=>{let t,{searchTerm:i,setSearchTerm:r,searchResults:l,selectedConfigId:a,handleSelection:d,userCanCreateConfigs:c,userCanDeleteConfigs:u,modalOnOpen:p,onDeleteOpen:h,setConfigToDelete:x,isLoading:g,setDropdownOpen:m,configurations:f}=e,[v,j]=(0,o.useState)(a);return(0,o.useEffect)(()=>{j(a)},[a]),t=g?(0,s.jsx)(B,{}):0===l.length?(0,s.jsx)(n.xvT,{className:"text-center",children:"No configurations found."}):(0,s.jsx)(G,{searchResults:l,selectedConfigId:v,handleSelection:e=>{j(e)},userCanDeleteConfigs:u,onDeleteOpen:h,setConfigToDelete:x}),(0,s.jsxs)(n.V4A,{title:"TCF configurations",className:"min-w-[300px]",extra:(0,s.jsx)(n.wpx,{type:"text",size:"small","aria-label":"Close",icon:(0,s.jsx)(n.Two,{}),onClick:()=>m(!1),"data-testid":"close-config-dropdown"}),style:{boxShadow:"var(--ant-box-shadow)"},children:[f.length>10&&(0,s.jsx)(n.BZy,{size:"sm",children:(0,s.jsx)(n.AntInput,{className:"mb-4",placeholder:"Search...",onChange:e=>r(e.target.value),value:i})}),t,(0,s.jsxs)(n.jqI,{gap:"small",className:"mt-4",children:[c&&(0,s.jsx)(n.wpx,{size:"small",onClick:()=>{p(),m(!1)},className:"flex-1","data-testid":"create-config-button",children:"+ Create"}),(0,s.jsx)(n.wpx,{size:"small",onClick:()=>d(v),className:"flex-1","data-testid":"apply-config-button",disabled:v===a,children:"Apply"})]})]})},$=e=>(0,s.jsx)(U,{...e}),Y=e=>{var t;let{selectedConfigId:i,configurations:r,isLoading:l=!1,onConfigurationSelect:a,onConfigurationDelete:c}=e,u=(0,D.Tg)([y.Sh.PRIVACY_EXPERIENCE_CREATE]),p=(0,D.Tg)([y.Sh.PRIVACY_EXPERIENCE_CREATE]),h=(0,n.pmc)({id:"tcf-config-toast"}),[x]=(0,E.Cm)(),{isOpen:g,onOpen:m,onClose:f}=(0,n.qY0)(),{isOpen:v,onOpen:j,onClose:b}=(0,n.qY0)(),[C,_]=(0,o.useState)(""),[w,T]=(0,o.useState)(),[S,I]=(0,o.useState)(!1),N=(0,o.useMemo)(()=>C?r.filter(e=>e.name.toLowerCase().includes(C.toLowerCase())):r,[r,C]),P=(0,o.useMemo)(()=>r.find(e=>e.id===i),[r,i]),k=null!==(t=null==P?void 0:P.name)&&void 0!==t?t:"Select Configuration",F=e=>{a(e),I(!1)},L=async e=>{try{await x(e).unwrap(),null==c||c(e),T(void 0),b(),h({status:"success",description:'Configuration "'.concat(null==w?void 0:w.name,'" was successfully deleted.')})}catch(e){h({status:"error",description:(0,d.e$)(e,"A problem occurred while deleting the configuration.")})}};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.S0p,{open:S,onOpenChange:I,trigger:["click"],overlayStyle:{zIndex:999},dropdownRender:()=>$({searchTerm:C,setSearchTerm:_,searchResults:N,selectedConfigId:i,handleSelection:F,userCanCreateConfigs:u,userCanDeleteConfigs:p,modalOnOpen:m,onDeleteOpen:j,setConfigToDelete:T,isLoading:l,setDropdownOpen:I,configurations:r}),children:(0,s.jsx)(n.wpx,{icon:(0,s.jsx)(n.v4q,{}),iconPosition:"end","data-testid":"tcf-config-dropdown-trigger",children:k})}),(0,s.jsx)(z,{isOpen:g,onClose:f,onSuccess:e=>{a(e)}}),(0,s.jsx)(n.cVQ,{isOpen:v,onClose:()=>{T(void 0),b()},onConfirm:()=>{w&&L(w.id)},title:"Delete configuration",message:"Are you sure you want to delete this configuration? This action cannot be undone."})]})};var K=i(32885);let X=e=>{let{defaultChecked:t,onChange:i,...r}=e,l=(0,n.pmc)(),[a,c]=(0,o.useState)(t),[u,p]=(0,o.useState)(!1),{isLoading:g}=(0,K.x8)(),[m,{isLoading:f}]=(0,x.L)(),[v]=(0,K.M7)(),{data:j}=(0,K.n3)(void 0,{skip:g}),C=async e=>{let t=await m({consent:{override_vendor_purposes:e}});e&&j&&await v(j.map(e=>({...e,is_included:!0,required_legal_basis:void 0}))),(t=>{if(l.closeAll(),null==i||i(e),(0,O.D4)(t)){let e=(0,d.e$)(t.error,"An unexpected error occurred while saving vendor override settings. Please try again.");null==i||i(!1),l((0,h.Vo)(e))}})(t)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.vyj,{direction:"vertical",size:"small",children:[(0,s.jsx)(n.xvT,{children:"Configure overrides for TCF related purposes."}),(0,s.jsxs)(n.vyj,{size:"small",children:[(0,s.jsx)(n.rAg,{size:"small",disabled:f,loading:f,...r,checked:a,defaultChecked:t,onClick:e=>{e?(c(e),C(e)):p(!0)},"data-testid":"tcf-override-toggle"}),(0,s.jsx)(n.xvT,{children:"Override vendor purposes"}),(0,s.jsx)(b.b,{label:"Toggle on if you want to globally change any flexible legal bases or remove TCF purposes from your CMP"})]})]}),(0,s.jsx)(n.cVQ,{isOpen:u,onClose:()=>p(!1),onConfirm:()=>{c(!1),C(!1),p(!1)},title:"Disable Vendor Overrides",message:"Are you sure you want to disable vendor overrides? Clicking 'Continue' will immediately remove any custom configurations you have set for TCF purposes for all experiences."})]})},Q=e=>{var t;let{isTCFOverrideEnabled:i}=e,[r,l]=(0,o.useState)(i),[a,d]=(0,o.useState)(!1),[c,u]=(0,P._)("selectedTCFConfigId",null),{data:p,isLoading:h}=(0,E.LS)({page:1,size:50},{skip:!i}),{data:x,isFetching:g}=(0,E.NZ)(c||"",{skip:!c});return(0,o.useEffect)(()=>{var e,t;!h&&(null==p?void 0:null===(e=p.items)||void 0===e?void 0:e.length)&&!c&&u(p.items[0].id),h||!c||(null==p?void 0:null===(t=p.items)||void 0===t?void 0:t.length)||u(null)},[h,null==p?void 0:p.items,c,u]),(0,s.jsxs)(_.Z,{title:"Publisher restrictions",fontSize:"sm",children:[(0,s.jsxs)(n.vyj,{direction:"vertical",size:"small",style:{width:"100%"},children:[(0,s.jsx)(X,{defaultChecked:r,onChange:e=>l(e)}),r&&(0,s.jsxs)(s.Fragment,{children:[h&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.OdW,{height:"20px"}),(0,s.jsx)(n.OdW,{height:"20px"}),(0,s.jsx)(n.OdW,{height:"32px",width:"200px"})]}),!h&&(null==p?void 0:null===(t=p.items)||void 0===t?void 0:t.length)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.xvT,{children:"The table below allows you to adjust which TCF purposes you allow as part of your user facing notices and business activities."}),(0,s.jsxs)(n.xvT,{children:["To configure this section, select a TCF purpose to edit the restriction type and vendors."," ",(0,s.jsx)(v.Z,{href:k.uh,children:"Learn more about publisher restrictions"})," ","in our docs."]}),(0,s.jsx)(Y,{selectedConfigId:c||"",configurations:(null==p?void 0:p.items)||[],onConfigurationSelect:u})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.xvT,{children:['To define custom publisher restrictions select "create configuration" below.'," ",(0,s.jsx)(v.Z,{href:k.uh,children:"Learn more about publisher restrictions"})," ","in our docs."]}),(0,s.jsx)(n.wpx,{onClick:()=>d(!0),"data-testid":"create-config-button",children:"Create configuration +"})]})]})]}),(0,s.jsx)(z,{isOpen:a,onClose:()=>d(!1),onSuccess:e=>{u(e)}}),r&&c&&(0,s.jsx)(M,{className:"mt-3",config:x,isLoading:g})]})};var J=()=>{var e,t;let{isLoading:i}=(0,K.x8)(),{tcf:g}=(0,a.hz)(),{data:m,isLoading:v}=(0,K.n3)(void 0,{skip:i||!g}),[b,{isLoading:C}]=(0,K.M7)(),{data:w,isLoading:S}=(0,x.tB)({api_set:!0}),{data:I,isLoading:E}=(0,x.tB)({api_set:!1}),[P]=(0,x.L)(),k=(0,l.C)(x.D2),F=(0,l.C)(x.Yh),L=(0,o.useMemo)(()=>w&&(null==w?void 0:w.consent)&&"override_vendor_purposes"in w.consent?w.consent.override_vendor_purposes:!!I&&null!=I&&!!I.consent&&"override_vendor_purposes"in I.consent&&I.consent.override_vendor_purposes,[w,I]),{isLoading:O}=(0,p.a4)(),R=(0,n.pmc)(),z=async e=>{var t;let i=e=>{if(R.closeAll(),(0,d.D4)(e)){let t=(0,d.e$)(e.error,"An unexpected error occurred while saving. Please try again.");R((0,h.Vo)(t))}else R((0,h.t5)("Settings saved successfully"))},s=[...e.purposeOverrides.map(e=>{let t;return e.is_consent&&(t=y.I$.CONSENT),e.is_legitimate_interest&&(t=y.I$.LEGITIMATE_INTERESTS),{purpose:e.purpose,is_included:e.is_included,required_legal_basis:t}})];if(L){let e=await b(s);if((0,d.D4)(e)){i(e);return}}let{enabled:n,...r}=e.gpp;i(await P({gpp:r,plus_consent_settings:{tcf_publisher_country_code:null!==(t=e.tcfPublisherSettings.publisher_country_code)&&void 0!==t?t:null}}))},A=(0,o.useMemo)(()=>({purposeOverrides:m?m.map(e=>({purpose:e.purpose,is_included:e.is_included,is_consent:e.required_legal_basis===y.I$.CONSENT,is_legitimate_interest:e.required_legal_basis===y.I$.LEGITIMATE_INTERESTS})):[],gpp:k,tcfPublisherSettings:{publisher_country_code:F.tcf_publisher_country_code}}),[m,k,F]),q=(0,o.useMemo)(()=>(null==m?void 0:m.some(e=>!e.is_included||e.required_legal_basis===y.I$.CONSENT||e.required_legal_basis===y.I$.LEGITIMATE_INTERESTS))||!1,[m]),Z=null===(t=(0,a.hz)())||void 0===t?void 0:null===(e=t.flags)||void 0===e?void 0:e.publisherRestrictions;return(0,s.jsx)(c.Z,{title:"Consent Configuration",children:i||O||v||S||E?(0,s.jsx)(n.kCb,{justifyContent:"center",alignItems:"center",height:"100%",children:(0,s.jsx)(n.$jN,{})}):(0,s.jsxs)(n.xuv,{"data-testid":"consent-configuration",children:[(0,s.jsx)(u.Z,{heading:"Consent settings"}),(0,s.jsxs)(n.Kqy,{spacing:3,mb:3,children:[(0,s.jsx)(_.Z,{title:"Transparency & Consent Framework settings",children:(0,s.jsx)(j,{name:"TCF",enabled:g})}),g&&!q&&Z&&(0,s.jsx)(Q,{isTCFOverrideEnabled:L})]}),(0,s.jsx)(r.J9,{initialValues:A,enableReinitialize:!0,onSubmit:z,children:e=>{let{dirty:t,isValid:i,isSubmitting:o}=e;return(0,s.jsx)(r.l0,{children:(0,s.jsxs)(n.Kqy,{spacing:6,children:[g&&(q||!Z)&&(0,s.jsxs)(_.Z,{title:"Vendor overrides",fontSize:"sm",children:[(0,s.jsx)(X,{defaultChecked:L,disabled:C}),L&&(0,s.jsxs)(n.Kqy,{mt:2,spacing:2,children:[(0,s.jsx)(n.xvT,{children:"The table below allows you to adjust which TCF purposes you allow as part of your user facing notices and business activites."}),(0,s.jsx)(n.xvT,{children:"To configure this section, select the purposes you allow and where available, the appropriate legal bases (either Consent or Legitimate Interest)."}),(0,s.jsx)(f,{})]})]}),(0,s.jsx)(N,{}),(0,s.jsx)(T,{}),(0,s.jsx)(n.wpx,{htmlType:"submit",type:"primary",disabled:!t||!i,loading:o,"data-testid":"save-btn",className:"self-start",children:"Save"})]})})}})]})})}},31883:function(e,t,i){"use strict";i.d(t,{Bw:function(){return s.Bw},D4:function(){return s.D4}});var s=i(19043)}},function(e){e.O(0,[5279,2888,9774,179],function(){return e(e.s=53748)}),_N_E=e.O()}]);
|
fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-72e6a6394b1c58c2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4065],{74833:function(e,t,n){var i=n(56127),a=/^\s+/;e.exports=function(e){return e?e.slice(0,i(e)+1).replace(a,""):e}},56127:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},66726:function(e,t,n){var i=n(11611),a=n(82846),r=n(91936),s=Math.max,o=Math.min;e.exports=function(e,t,n){var l,u,c,d,g,f,p=0,m=!1,h=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var n=l,i=u;return l=u=void 0,p=t,d=e.apply(i,n)}function x(e){var n=e-f,i=e-p;return void 0===f||n>=t||n<0||h&&i>=c}function C(){var e,n,i,r=a();if(x(r))return b(r);g=setTimeout(C,(e=r-f,n=r-p,i=t-e,h?o(i,c-n):i))}function b(e){return(g=void 0,y&&l)?v(e):(l=u=void 0,d)}function S(){var e,n=a(),i=x(n);if(l=arguments,u=this,f=n,i){if(void 0===g)return p=e=f,g=setTimeout(C,t),m?v(e):d;if(h)return clearTimeout(g),g=setTimeout(C,t),v(f)}return void 0===g&&(g=setTimeout(C,t)),d}return t=r(t)||0,i(n)&&(m=!!n.leading,c=(h="maxWait"in n)?s(r(n.maxWait)||0,t):c,y="trailing"in n?!!n.trailing:y),S.cancel=function(){void 0!==g&&clearTimeout(g),p=0,l=f=u=g=void 0},S.flush=function(){return void 0===g?d:b(a())},S}},11611:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},55193:function(e,t,n){var i=n(99736),a=n(92360);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==i(e)}},82846:function(e,t,n){var i=n(77400);e.exports=function(){return i.Date.now()}},91936:function(e,t,n){var i=n(74833),a=n(11611),r=n(55193),s=0/0,o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return s;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):o.test(e)?s:+e}},1770:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/custom-fields",function(){return n(5810)}])},30952:function(e,t,n){"use strict";n.d(t,{f:function(){return l}});var i=n(24246),a=n(66726),r=n.n(a),s=n(27378),o=n(26917);let l=e=>{let{value:t,onChange:n,placeholder:a,...l}=e,[u,c]=(0,s.useState)(t);(0,s.useEffect)(()=>{c(t||"")},[t]);let d=r()(n,500),g=(0,s.useCallback)(e=>{c(e),d(e)},[]);return(0,i.jsx)(o.Z,{value:u,onChange:g,onClear:()=>{c(""),n("")},placeholder:a,...l})}},77213:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i=n(24246),a=n(20595),r=n(88038),s=n.n(r),o=n(86677);n(27378);var l=n(25980),u=n(90867),c=n(42478),d=n(77830),g=()=>{let e=(0,o.useRouter)();return(0,i.jsx)(a.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,i.jsxs)(a.xuv,{children:[(0,i.jsxs)(a.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,i.jsx)(a.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,i.jsx)(a.wpx,{onClick:()=>{e.push(d.AD)},children:"Configure"})]}),(0,i.jsxs)(a.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:t,title:n,padded:r=!0,mainProps:d}=e,f=(0,l.hz)(),p=(0,o.useRouter)(),m="/privacy-requests"===p.pathname||"/datastore-connection"===p.pathname,h=!(f.flags.messagingConfiguration&&m),{data:y}=(0,c.JE)(void 0,{skip:h}),{data:v}=(0,u.PW)(void 0,{skip:h}),x=f.flags.messagingConfiguration&&(!y||!v)&&m;return(0,i.jsxs)(a.kCb,{"data-testid":n,direction:"column",h:"100vh",children:[(0,i.jsxs)(s(),{children:[(0,i.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,i.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,i.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,i.jsxs)(a.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:[x?(0,i.jsx)(g,{}):null,t]})]})}},58754:function(e,t,n){"use strict";var i=n(24246),a=n(20595),r=n(70788);t.Z=e=>{let{heading:t,breadcrumbItems:n,isSticky:s=!0,children:o,rightContent:l,style:u,...c}=e;return(0,i.jsxs)("div",{...c,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",...u}:{paddingBottom:"24px",...u},children:[(0,i.jsxs)(a.jqI,{justify:"space-between",children:["string"==typeof t?(0,i.jsx)(a.lQT,{className:n||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,l&&(0,i.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!n&&(0,i.jsx)(r.m,{className:o?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),o]})}},19904:function(e,t,n){"use strict";n.d(t,{Tg:function(){return s}});var i=n(24246),a=n(16134),r=n(31793);let s=e=>(0,a.C)(r.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:n}=e;return s(t)?(0,i.jsx)(i.Fragment,{children:n}):null}},70788:function(e,t,n){"use strict";n.d(t,{m:function(){return u}});var i=n(24246),a=n(20595),r=n(79894),s=n.n(r),o=n(27378);let{Text:l}=a.AntTypography,u=e=>{let{items:t,...n}=e,r=(0,o.useMemo)(()=>null==t?void 0:t.map((e,n)=>{let r=n===t.length-1,o={...e},u=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,i.jsx)(l,{style:{color:"inherit",maxWidth:r?void 0:400},ellipsis:!r,id:r?"breadcrumb-current-page":void 0,children:o.title})),u)?o.title=(0,i.jsx)(a.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,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,i.jsx)(s(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[t]);return(0,i.jsx)(a.zrq,{items:r,...n})}},8125:function(e,t,n){"use strict";n.d(t,{V:function(){return r},o:function(){return u}});var i=n(27378),a=n(32735);let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{enableSelection:n=!1,getRowKey:r,bulkActions:s,isLoading:o=!1,isFetching:l=!1,dataSource:u=[],totalRows:c=0,currentPage:d,pageSize:g,customTableProps:f={}}=t,p=(0,i.useCallback)(e=>{if(e&&"object"==typeof e){if(e.id)return String(e.id);if(e.key)return String(e.key)}return String(e)},[]),m=r||p,[h,y]=(0,i.useState)([]),[v,x]=(0,i.useState)([]),C=(0,i.useCallback)(()=>{y([]),x([])},[]),b=(0,i.useMemo)(()=>({selectedRowKeys:h,selectedRows:v,resetSelections:C}),[h,v,C]),S=(0,i.useMemo)(()=>{if(n)return{selectedRowKeys:h,onChange:(e,t)=>{y(e),x(t)}}},[n,h]),T=(0,i.useCallback)((t,n,i)=>{var a,r;let s=null!==(a=t.current)&&void 0!==a?a:e.pageIndex,o=null!==(r=t.pageSize)&&void 0!==r?r:e.pageSize,l=s!==e.pageIndex||o!==e.pageSize;l?(t.current&&t.current!==e.pageIndex&&e.updatePageIndex(t.current),t.pageSize&&t.pageSize!==e.pageSize&&e.updatePageSize(t.pageSize)):e.updateFilters(n||{});let u=i&&!Array.isArray(i)?i.field:void 0,c=i&&!Array.isArray(i)&&null!==i.order?i.order:void 0;l||e.updateSorting(u,c)},[e]),j=(0,i.useMemo)(()=>{var t,n,i,r,s;return{current:null!=d?d:e.pageIndex,pageSize:null!=g?g:e.pageSize,total:c,showSizeChanger:null===(r=null===(t=e.paginationConfig)||void 0===t?void 0:t.showSizeChanger)||void 0===r||r,pageSizeOptions:null!==(s=null===(i=e.paginationConfig)||void 0===i?void 0:null===(n=i.pageSizeOptions)||void 0===n?void 0:n.map(String))&&void 0!==s?s:a.VZ}},[d,e.pageIndex,g,e.pageSize,c,e.paginationConfig]),E=(0,i.useMemo)(()=>({dataSource:u,loading:o||l,pagination:j,onChange:T,rowKey:m,scroll:{x:"max-content",scrollToFirstRowOnChange:!0},size:"small",bordered:!0,...f}),[u,o,l,j,T,m,f]),A=h.map(String),k=v.length>0,w=(0,i.useCallback)(e=>{let t=null==s?void 0:s.actions.find(t=>t.key===e);return t?{disabled:!k||!!t.disabled&&t.disabled(v),loading:t.loading||!1,onClick:()=>t.onClick(v)}:{disabled:!0,loading:!1}},[s,k,v]);return(0,i.useMemo)(()=>({tableProps:E,selectionProps:S,selectionState:b,selectedRows:v,selectedKeys:A,hasSelectedRows:k,resetSelections:C,getBulkActionProps:w,isLoadingOrFetching:o||l,hasData:u.length>0}),[E,S,b,v,A,k,C,w,o,l,u.length])};var s=n(40431),o=n(17245);let l=()=>({filters:(0,s.WJ)(e=>e).withDefault({})}),u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{pagination:t={},sorting:n={},search:a={},onStateChange:r,disableUrlState:u=!1}=e,{pageIndex:c,pageSize:d,resetPagination:g,updatePageIndex:f,updatePageSize:p,pageSizeOptions:m,showSizeChanger:h}=(0,o.h0)({...t,disableUrlState:u}),{sortKey:y,sortOrder:v,updateSorting:x,resetSorting:C}=(0,o.rK)({...n,disableUrlState:u}),{searchQuery:b,updateSearch:S,resetSearch:T}=(0,o.Rx)({...a,disableUrlState:u}),[j,E]=(0,i.useState)({}),A=(0,i.useMemo)(()=>u?null:l(),[u]),[k,w]=(0,s.XI)(null!=A?A:{},{history:"push"}),P=(0,i.useMemo)(()=>{var e;return{pageIndex:c,pageSize:d,sortKey:y,sortOrder:v,columnFilters:u?j:null!==(e=k.filters)&&void 0!==e?e:{},searchQuery:b}},[u,j,k,c,d,y,v,b]),_=(0,i.useCallback)((e,t)=>{x(e,t),g()},[x,g]),M=(0,i.useCallback)(e=>{if(u)E(e);else{let t=Object.fromEntries(Object.entries(e).filter(e=>{let[,t]=e;return null!=t}));w({filters:Object.keys(t).length>0?t:null})}g()},[u,w,g]),I=(0,i.useCallback)(e=>{S(e),g()},[S,g]),z=(0,i.useCallback)(()=>{u?E({}):w({filters:null}),g(),C(),T()},[u,w,g,C,T]);return(0,i.useEffect)(()=>{r&&r(P)},[P,r]),{state:P,pageIndex:P.pageIndex,pageSize:P.pageSize,updatePageIndex:f,updatePageSize:p,sortKey:P.sortKey,sortOrder:P.sortOrder,updateSorting:_,columnFilters:P.columnFilters,updateFilters:M,searchQuery:P.searchQuery,updateSearch:I,resetState:z,paginationConfig:{pageSizeOptions:m,showSizeChanger:h}}}},8917:function(e,t,n){"use strict";n.d(t,{C7:function(){return o},P3:function(){return u},TY:function(){return l},Uv:function(){return a},uP:function(){return s}});var i,a,r=n(65735);let s=new Map([[r.P6.SYSTEM,"system:information"],[r.P6.DATA_USE,"taxonomy:data use"],[r.P6.DATA_CATEGORY,"taxonomy:data category"],[r.P6.DATA_SUBJECT,"taxonomy:data subject"],[r.P6.PRIVACY_DECLARATION,"system:data use"]]);(i=a||(a={})).SINGLE_SELECT="singleSelect",i.MULTIPLE_SELECT="multipleSelect",i.OPEN_TEXT="openText";let o=[{label:"taxonomy:".concat(r.P6.DATA_CATEGORY),value:r.P6.DATA_CATEGORY},{label:"taxonomy:".concat(r.P6.DATA_SUBJECT),value:r.P6.DATA_SUBJECT},{label:"taxonomy:".concat(r.P6.DATA_USE),value:r.P6.DATA_USE},{label:"".concat(r.P6.SYSTEM,":information"),value:r.P6.SYSTEM},{label:"system:data use",value:r.P6.PRIVACY_DECLARATION}],l=[{label:"Single select",value:"singleSelect"},{label:"Multiple select",value:"multipleSelect"},{label:"Open text",value:"openText"}],u={singleSelect:"Single-value select",multipleSelect:"Multi-value select",openText:"Open text"}},66236:function(e,t,n){"use strict";n.d(t,{S:function(){return s},_:function(){return r}});var i=n(8917),a=n(65735);let r=e=>e.field_type===a.AL.STRING_?i.Uv.MULTIPLE_SELECT:e.allow_list_id?i.Uv.SINGLE_SELECT:i.Uv.OPEN_TEXT,s=e=>i.P3[r(e)]},42478:function(e,t,n){"use strict";n.d(t,{FU:function(){return u},JE:function(){return a},Ki:function(){return d},SU:function(){return g},W:function(){return f},h9:function(){return r},jc:function(){return i},qt:function(){return l},sn:function(){return c}});let{useGetEmailInviteStatusQuery:i,useGetActiveMessagingProviderQuery:a,useCreateMessagingConfigurationMutation:r,useCreateMessagingConfigurationSecretsMutation:s,useGetMessagingConfigurationDetailsQuery:o,useGetMessagingConfigurationsQuery:l,useGetMessagingConfigurationByKeyQuery:u,useUpdateMessagingConfigurationByKeyMutation:c,useUpdateMessagingConfigurationSecretsByKeyMutation:d,useCreateTestConnectionMessageMutation:g,useDeleteMessagingConfigurationByKeyMutation:f}=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,i)=>{let a=await i({url:"messaging/default/active"});return a.error&&404===a.error.status?{data:null}:a},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"]})})})},5810:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var i=n(24246),a=n(77213),r=n(20595),s=n(27378),o=n(58754),l=n(30952),u=n(86677),c=n(77830),d=n(19904),g=n(8125),f=n(8917),p=n(72625),m=n(32885),h=e=>{var t;let{field:n,isDisabled:a}=e,[r,{isLoading:s}]=(0,m.yM)(),o=async e=>r({...n,active:e});return(0,i.jsx)(p.S1,{enabled:null!==(t=n.active)&&void 0!==t&&t,onToggle:o,title:"Disable custom field",message:"Are you sure you want to disable this custom field?",isDisabled:a,"aria-label":n.active?"Disable custom field":"Enable custom field",loading:s})},y=n(66236),v=n(65735),x=()=>{let e=(0,g.o)({pagination:{defaultPageSize:25,pageSizeOptions:[10,25,50]},search:{defaultSearchQuery:""}}),t=(0,u.useRouter)(),{data:n,isLoading:a}=(0,m.GH)(),{tableProps:o}=(0,g.V)(e,{dataSource:n||[],totalRows:(null==n?void 0:n.length)||0,isLoading:a,customTableProps:{layout:"fixed"}}),l=(0,d.Tg)([v.Sh.CUSTOM_FIELD_UPDATE]);return{tableProps:o,columns:(0,s.useMemo)(()=>[{title:"Name",dataIndex:"name",key:"name",filteredValue:e.searchQuery?[e.searchQuery]:null,onFilter:(e,t)=>t.name.toLowerCase().includes(e.toString().toLowerCase())},{title:"Description",dataIndex:"description",key:"description",render:e=>(0,i.jsx)(r.AntTypography.Text,{ellipsis:{tooltip:e},className:"w-96",children:e}),width:384},{title:"Type",dataIndex:"field_type",key:"field_type",render:(e,t)=>(0,y.S)(t)},{title:"Applies to",dataIndex:"resource_type",key:"resource_type",render:e=>f.uP.get(e)||e},{title:"Enabled",dataIndex:"active",key:"active",hidden:!l,render:(e,t)=>(0,i.jsx)(h,{field:t,isDisabled:!l}),width:96},{title:"Actions",key:"actions",render:(e,n)=>(0,i.jsx)(r.jqI,{gap:"middle",children:(0,i.jsx)(r.wpx,{size:"small",onClick:()=>t.push("".concat(c.WC,"/").concat(n.id)),"data-testid":"edit-btn",children:"Edit"})}),hidden:!l,width:96}],[t,l,e.searchQuery,l]),searchQuery:e.searchQuery,updateSearch:e.updateSearch,onAddClick:()=>t.push("".concat(c.WC,"/new"))}},C=()=>{let{tableProps:e,columns:t,searchQuery:n,updateSearch:a,onAddClick:s}=x();return(0,i.jsxs)(r.jqI,{vertical:!0,gap:"middle",children:[(0,i.jsxs)(r.jqI,{justify:"space-between",children:[(0,i.jsx)(l.f,{value:n,onChange:a,placeholder:"Search custom fields..."}),(0,i.jsx)(r.wpx,{onClick:s,type:"primary","data-testid":"add-custom-field-btn",children:"Add custom field"})]}),(0,i.jsx)(r.V5H,{...e,columns:t})]})},b=()=>(0,i.jsx)(a.Z,{title:"Custom fields",children:(0,i.jsxs)(r.xuv,{"data-testid":"custom-fields-management",children:[(0,i.jsx)(o.Z,{heading:"Custom fields",children:(0,i.jsx)(r.AntTypography.Paragraph,{className:"max-w-screen-md",children:"Custom fields provide organizations with the capability to capture metrics that are unique to their specific needs, allowing them to create customized reports. These fields can be added to either systems or elements within a taxonomy, and once added, they become reportable fields that are visible on the data map."})}),(0,i.jsx)(C,{})]})})}},function(e){e.O(0,[431,7245,2888,9774,179],function(){return e(e.s=1770)}),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3785],{58095:function(e,t,n){var s=n(8817);e.exports=function(e,t){return!!(null==e?0:e.length)&&s(e,t,0)>-1}},21796:function(e){e.exports=function(e,t,n){for(var s=-1,l=null==e?0:e.length;++s<l;)if(n(t,e[s]))return!0;return!1}},8817:function(e,t,n){var s=n(95372),l=n(1129),a=n(58263);e.exports=function(e,t,n){return t==t?a(e,t,n):s(e,l,n)}},1129:function(e){e.exports=function(e){return e!=e}},74833:function(e,t,n){var s=n(56127),l=/^\s+/;e.exports=function(e){return e?e.slice(0,s(e)+1).replace(l,""):e}},92198:function(e,t,n){var s=n(52485),l=n(58095),a=n(21796),r=n(65581),i=n(47111),o=n(43735);e.exports=function(e,t,n){var d=-1,u=l,c=e.length,p=!0,m=[],f=m;if(n)p=!1,u=a;else if(c>=200){var h=t?null:i(e);if(h)return o(h);p=!1,u=r,f=new s}else f=t?[]:m;e:for(;++d<c;){var g=e[d],v=t?t(g):g;if(g=n||0!==g?g:0,p&&v==v){for(var x=f.length;x--;)if(f[x]===v)continue e;t&&f.push(v),m.push(g)}else u(f,v,n)||(f!==m&&f.push(v),m.push(g))}return m}},47111:function(e,t,n){var s=n(46151),l=n(50344),a=n(43735),r=s&&1/a(new s([,-0]))[1]==1/0?function(e){return new s(e)}:l;e.exports=r},58263:function(e){e.exports=function(e,t,n){for(var s=n-1,l=e.length;++s<l;)if(e[s]===t)return s;return -1}},56127:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},66726:function(e,t,n){var s=n(11611),l=n(82846),a=n(91936),r=Math.max,i=Math.min;e.exports=function(e,t,n){var o,d,u,c,p,m,f=0,h=!1,g=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function x(t){var n=o,s=d;return o=d=void 0,f=t,c=e.apply(s,n)}function y(e){var n=e-m,s=e-f;return void 0===m||n>=t||n<0||g&&s>=u}function j(){var e,n,s,a=l();if(y(a))return b(a);p=setTimeout(j,(e=a-m,n=a-f,s=t-e,g?i(s,u-n):s))}function b(e){return(p=void 0,v&&o)?x(e):(o=d=void 0,c)}function k(){var e,n=l(),s=y(n);if(o=arguments,d=this,m=n,s){if(void 0===p)return f=e=m,p=setTimeout(j,t),h?x(e):c;if(g)return clearTimeout(p),p=setTimeout(j,t),x(m)}return void 0===p&&(p=setTimeout(j,t)),c}return t=a(t)||0,s(n)&&(h=!!n.leading,u=(g="maxWait"in n)?r(a(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==p&&clearTimeout(p),f=0,o=m=d=p=void 0},k.flush=function(){return void 0===p?c:b(l())},k}},56141:function(e,t,n){var s=n(32866);e.exports=function(e,t){return s(e,t)}},50344:function(e){e.exports=function(){}},82846:function(e,t,n){var s=n(77400);e.exports=function(){return s.Date.now()}},91936:function(e,t,n){var s=n(74833),l=n(11611),a=n(55193),r=0/0,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,d=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return r;if(l(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=l(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=s(e);var n=o.test(e);return n||d.test(e)?u(e.slice(2),n?2:8):i.test(e)?r:+e}},83766:function(e,t,n){var s=n(92198);e.exports=function(e){return e&&e.length?s(e):[]}},90988:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/systems",function(){return n(69955)}])},30952:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var s=n(24246),l=n(66726),a=n.n(l),r=n(27378),i=n(26917);let o=e=>{let{value:t,onChange:n,placeholder:l,...o}=e,[d,u]=(0,r.useState)(t);(0,r.useEffect)(()=>{u(t||"")},[t]);let c=a()(n,500),p=(0,r.useCallback)(e=>{u(e),c(e)},[]);return(0,s.jsx)(i.Z,{value:d,onChange:p,onClear:()=>{u(""),n("")},placeholder:l,...o})}},35287:function(e,t,n){"use strict";var s=n(24246),l=n(20595),a=n(88038),r=n.n(a);n(27378),t.Z=e=>{let{children:t,title:n,mainProps:a}=e;return(0,s.jsxs)(l.kCb,{"data-testid":n,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",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.jsx)(l.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...a,children:t})]})}},58754:function(e,t,n){"use strict";var s=n(24246),l=n(20595),a=n(70788);t.Z=e=>{let{heading:t,breadcrumbItems:n,isSticky:r=!0,children:i,rightContent:o,style:d,...u}=e;return(0,s.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",...d}:{paddingBottom:"24px",...d},children:[(0,s.jsxs)(l.jqI,{justify:"space-between",children:["string"==typeof t?(0,s.jsx)(l.lQT,{className:n||i?"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:i?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),i]})}},19904:function(e,t,n){"use strict";n.d(t,{Tg:function(){return r}});var s=n(24246),l=n(16134),a=n(31793);let r=e=>(0,l.C)(a.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:n}=e;return r(t)?(0,s.jsx)(s.Fragment,{children:n}):null}},97181:function(e,t,n){"use strict";n.d(t,{d:function(){return d}});var s=n(24246),l=n(20595),a=n(34090),r=n(27378),i=n(46238),o=n(40324);let d=e=>{let{name:t,label:n,labelProps:d,tooltip:u,isRequired:c,layout:p="inline",helperText:m,...f}=e,[h,g,{setValue:v}]=(0,a.U$)(t),x=!!(g.touched&&g.error),[y,j]=(0,r.useState)("");h.value||"tags"!==f.mode&&"multiple"!==f.mode||(h.value=[]),"tags"===f.mode&&"string"==typeof h.value&&(h.value=[h.value]);let b="tags"===f.mode?(e,t)=>e?e.value!==y||h.value.includes(y)?f.optionRender?f.optionRender(e,t):e.label:'Create "'.concat(y,'"'):void 0:f.optionRender||void 0,k=e=>{j(e),f.onSearch&&f.onSearch(e)},_=(e,t)=>{v(e),f.onChange&&f.onChange(e,t)};return"inline"===p?(0,s.jsx)(l.NIc,{isInvalid:x,isRequired:c,children:(0,s.jsxs)(l.rjZ,{templateColumns:n?"1fr 3fr":"1fr",children:[n?(0,s.jsx)(o.__,{htmlFor:f.id||t,...d,children:n}):null,(0,s.jsxs)(l.jqI,{align:"center",children:[(0,s.jsxs)(l.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,s.jsx)(l.WPr,{...h,id:f.id||t,"data-testid":"controlled-select-".concat(h.name),...f,optionRender:b,onSearch:"tags"===f.mode?k:void 0,onChange:_,value:h.value||void 0,status:x?"error":void 0}),m&&(0,s.jsx)(l.Q6r,{children:m}),(0,s.jsx)(o.Bc,{isInvalid:x,message:g.error,fieldName:h.name})]}),(0,s.jsx)(i.b,{label:u,className:x?"mt-2 self-start":void 0})]})]})}):(0,s.jsx)(l.NIc,{isInvalid:x,isRequired:c,children:(0,s.jsxs)(l.gCW,{alignItems:"start",children:[(0,s.jsxs)(l.jqI,{align:"center",children:[n?(0,s.jsx)(o.__,{htmlFor:f.id||t,fontSize:"xs",my:0,mr:1,...d,children:n}):null,(0,s.jsx)(i.b,{label:u})]}),(0,s.jsx)(l.WPr,{...h,id:f.id||t,"data-testid":"controlled-select-".concat(h.name),...f,optionRender:b,onSearch:"tags"===f.mode?k:void 0,onChange:_,value:h.value||void 0,status:x?"error":void 0}),m&&(0,s.jsx)(l.Q6r,{style:{marginTop:0},children:m}),(0,s.jsx)(o.Bc,{isInvalid:x,message:g.error,fieldName:h.name})]})})}},70788:function(e,t,n){"use strict";n.d(t,{m:function(){return d}});var s=n(24246),l=n(20595),a=n(79894),r=n.n(a),i=n(27378);let{Text:o}=l.AntTypography,d=e=>{let{items:t,...n}=e,a=(0,i.useMemo)(()=>null==t?void 0:t.map((e,n)=>{let a=n===t.length-1,i={...e},d=i.onClick&&!i.href;return("string"==typeof i.title&&(i.title=(0,s.jsx)(o,{style:{color:"inherit",maxWidth:a?void 0:400},ellipsis:!a,id:a?"breadcrumb-current-page":void 0,children:i.title})),d)?i.title=(0,s.jsx)(l.wpx,{type:"text",size:"small",icon:i.icon,onClick:i.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:i.title}):(i.icon&&(i.title=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"anticon align-text-bottom",children:i.icon}),i.title]})),i.href&&i.title&&(i.title=(0,s.jsx)(r(),{href:i.href,className:"ant-breadcrumb-link",children:i.title}),delete i.href)),i}),[t]);return(0,s.jsx)(l.zrq,{items:a,...n})}},33335:function(e,t,n){"use strict";n.d(t,{E:function(){return s}});let s=e=>e.toLowerCase().replace(/[ .]/g,"_").replace(/[^a-zA-Z0-9_<>-]/g,"")},22583:function(e,t,n){"use strict";n.d(t,{j:function(){return l}});var s=n(65735);let l={[s.Ej.TAXONOMY_WHITE]:"default",[s.Ej.TAXONOMY_RED]:"error",[s.Ej.TAXONOMY_ORANGE]:"warning",[s.Ej.TAXONOMY_YELLOW]:"caution",[s.Ej.TAXONOMY_GREEN]:"success",[s.Ej.TAXONOMY_BLUE]:"info",[s.Ej.TAXONOMY_PURPLE]:"alert",[s.Ej.SANDSTONE]:"sandstone",[s.Ej.MINOS]:"minos"}},92818:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var s=n(24246),l=n(27378),a=n(97181),r=n(22583),i=n(65735);let o={[i.Ej.TAXONOMY_WHITE]:"White",[i.Ej.TAXONOMY_RED]:"Red",[i.Ej.TAXONOMY_ORANGE]:"Orange",[i.Ej.TAXONOMY_YELLOW]:"Yellow",[i.Ej.TAXONOMY_GREEN]:"Green",[i.Ej.TAXONOMY_BLUE]:"Blue",[i.Ej.TAXONOMY_PURPLE]:"Purple",[i.Ej.SANDSTONE]:"Sandstone",[i.Ej.MINOS]:"Minos"},d=e=>{let{color:t,...n}=e;return(0,s.jsx)("span",{"aria-hidden":!0,className:"mr-2 inline-block size-4 rounded-lg align-middle",style:{backgroundColor:"var(--fidesui-bg-".concat(r.j[t],")"),border:t===i.Ej.TAXONOMY_WHITE?"1px solid var(--fidesui-neutral-200)":"none",...n.style}})},u=e=>{let t=null==e?void 0:e.value,n=null==e?void 0:e.label;return(0,s.jsxs)("span",{className:"flex items-center",children:[(0,s.jsx)(d,{color:t}),(0,s.jsx)("span",{children:n})]})};t.Z=e=>{let t=Object.values(i.Ej).map(e=>({value:e,label:o[e]})),[n,r]=(0,l.useState)(void 0);return(0,s.jsx)(a.d,{...e,options:t,optionRender:u,layout:"stacked",value:n,onChange:e=>{r(e)},prefix:(0,s.jsx)(d,{color:null!=n?n:i.Ej.TAXONOMY_WHITE,style:{marginBottom:"2px"}})})}},69955:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Q}});var s=n(24246),l=n(20595),a=n(86677),r=n(27378),i=n(25980),o=n(35287),d=n(77830),u=n(58754),c=n(30952),p=n(812),m=n(65450),f=n(34090),h=n(83766),g=n.n(h),v=n(55484),x=n(97181),y=n(40324),j=n(28079),b=n(1315),k=n(92818);let _="all-suggested";var E=e=>{let{options:t,loading:n,name:a,suggestedDataUses:i,...o}=e,[d,u,{setValue:c}]=(0,f.U$)(a),p=!!(u.touched&&u.error),m=(0,r.useMemo)(()=>{let e=[],n=[];return null==t||t.forEach(t=>{i.includes(t.value)?e.push(t):n.push(t)}),{suggested:e,all:n}},[t,i]),h=m.suggested.length?[{label:"Select all suggested",value:_},{label:(0,s.jsxs)(l.vyj,{children:[(0,s.jsx)(l.QMR,{size:14}),(0,s.jsx)("span",{children:"Suggested data uses"})]}),value:"suggested",options:m.suggested},{label:(0,s.jsxs)(l.vyj,{children:[(0,s.jsx)(l.PJP.BBB,{}),(0,s.jsx)("span",{children:"All data uses"})]}),value:"all",options:m.all}]:m.all;return(0,s.jsxs)(l.jqI,{vertical:!0,gap:"small",children:[(0,s.jsx)(l.jqI,{align:"center",children:(0,s.jsx)(y.__,{htmlFor:o.id||a,fontSize:"xs",my:0,mr:1,children:"Data uses"})}),(0,s.jsx)(l.WPr,{options:h,mode:"multiple",placeholder:"Select data uses",allowClear:!0,loading:n,value:d.value,onChange:e=>{e.includes(_)?c(g()([...i,...e.filter(e=>e!==_)])):c(e)},status:p?"error":void 0,virtual:!1,...o}),(0,s.jsx)(y.Bc,{isInvalid:p,message:u.error,fieldName:d.name})]})},S=n(65735);let w=v.Ry().shape({name:v.Z_().required("Name is required").label("Name"),label_color:v.Z_().required("Color is required").label("Color"),systems:v.IX().of(v.Z_()).label("Systems"),data_uses:v.IX().of(v.Z_()).label("Data uses")});var C=e=>{let{selectedSystemKeys:t=[],onSubmit:n,onCancel:a,isSubmitting:i=!1}=e,{data:o=[],isLoading:d}=(0,j.fd)(),{data:u,isLoading:c}=(0,b.K3)(),p=(0,r.useMemo)(()=>o.map(e=>({label:e.name||e.fides_key,value:e.fides_key})),[o]),m=(0,r.useMemo)(()=>{var e;let n=null!==(e=null==u?void 0:u.filter(e=>t.includes(e.fides_key)))&&void 0!==e?e:[];return g()(null==n?void 0:n.flatMap(e=>e.privacy_declarations.map(e=>e.data_use)))},[u,t]),h=(0,r.useMemo)(()=>{var e;return null!==(e=null==u?void 0:u.map(e=>({label:e.name||e.fides_key,value:e.fides_key})))&&void 0!==e?e:[]},[u]),v={name:"",description:"",label_color:S.Ej.TAXONOMY_WHITE,systems:t,data_uses:[],active:!0};return(0,s.jsx)(f.J9,{initialValues:v,validationSchema:w,onSubmit:n,enableReinitialize:!0,children:e=>{let{isValid:t,dirty:n}=e;return(0,s.jsx)(f.l0,{children:(0,s.jsxs)(l.jqI,{vertical:!0,gap:"middle",children:[(0,s.jsx)(l.AntTypography.Title,{level:2,children:"Create system group"}),(0,s.jsx)(y.j0,{name:"name",label:"Name",isRequired:!0,variant:"stacked",placeholder:"Enter system group name"}),(0,s.jsx)(y.Ks,{name:"description",label:"Description",variant:"stacked",placeholder:"Enter system group description",resize:!1}),(0,s.jsx)(x.d,{name:"systems",label:"Systems",mode:"multiple",placeholder:"Select systems",options:h,layout:"stacked",allowClear:!0,loading:c}),(0,s.jsx)(k.Z,{name:"label_color",label:"Color"}),(0,s.jsx)(E,{name:"data_uses",options:p,loading:d,suggestedDataUses:m}),(0,s.jsxs)(l.jqI,{gap:"small",justify:"space-between",className:"pt-4",children:[(0,s.jsx)(l.wpx,{onClick:a,disabled:i,children:"Cancel"}),(0,s.jsx)(l.wpx,{type:"primary",htmlType:"submit",loading:i,disabled:!t||!n||i,"data-testid":"save-btn",children:"Create group"})]})]})})}})},N=n(31793),T=n(31883),O=e=>{let{selectedRowKeys:t,createModalIsOpen:n,setCreateModalIsOpen:a,handleCreateSystemGroup:o,handleBulkAddToGroup:d,groupMenuItems:u}=e,[c,f]=l.Pg3.useMessage(),[h,g]=(0,r.useState)(!1),[v]=(0,m.WP)(),{plus:x}=(0,i.hz)(),{data:y}=(0,N.wv)({page:1,size:100,include_external:!1}),[j]=(0,m.C9)(),b=(0,r.useCallback)(async e=>{let n=await v({data_steward:e,system_keys:t});(0,T.D4)(n)?c.error((0,p.e$)(n.error,"A problem occurred assigning stewards")):c.success("".concat(t.length," systems assigned to ").concat(e," successfully"))},[v,t,c]),k=async()=>{let e=await j(t);(0,T.D4)(e)?c.error((0,p.e$)(e.error,"A problem occurred deleting systems")):c.success("".concat(t.length," systems deleted successfully"))},_=(0,r.useMemo)(()=>{let e=[];return u.length&&x&&e.push(t.length?{key:"add-to-system-group",label:"Add to system group",children:[{key:"new-group",label:"Create new group +",onClick:()=>a(!0)},{type:"divider"},...u.map(e=>({key:e.key,label:e.label,onClick:()=>d(e.key)}))]}:{key:"new-group",label:"Create system group +",onClick:()=>a(!0)}),(null==y?void 0:y.items.length)&&e.push({key:"assign-data-steward",label:"Assign data steward",disabled:!t.length,children:y.items.map(e=>({key:e.username,label:e.username,onClick:()=>b(e.username)}))},{type:"divider"}),e.push({key:"delete",label:"Delete",disabled:!t.length,onClick:()=>{g(!0)}}),e},[u,x,null==y?void 0:y.items,t.length,a,d,b]);return(0,s.jsxs)(s.Fragment,{children:[f,(0,s.jsx)(l.$zI,{open:h,onCancel:()=>g(!1),onOk:k,okText:"Delete",okType:"danger",centered:!0,children:(0,s.jsxs)(l.AntTypography.Paragraph,{children:["Delete ",t.length," systems? This action cannot be undone."]})}),(0,s.jsx)(l.$zI,{open:n,destroyOnHidden:!0,onCancel:()=>a(!1),centered:!0,width:768,footer:null,children:(0,s.jsx)(C,{selectedSystemKeys:t.map(e=>e.toString()),onSubmit:o,onCancel:()=>a(!1)})}),(0,s.jsx)(l.S0p,{trigger:["click"],menu:{items:_},children:(0,s.jsx)(l.wpx,{icon:(0,s.jsx)(l.PJP._ME,{}),children:"Actions"})})]})},A=n(19904),I=n(26070),M=n(3110),P=n(99640),D=n(8125),R=n(16394),z=n(33335),W=n(69353),X=n(88832),Y=n(34929),q=e=>{let{privacyDeclarations:t,...n}=e,{getDataUseDisplayName:l}=(0,Y.Z)(),a=t.map(e=>e.data_use).map(e=>({label:l(e),key:e}));return(0,s.jsx)(I.Q,{values:a,...n})},Z=n(56141),B=n.n(Z),L=n(22583);let $="update-system-groups-msg";var F=e=>{let{selectedGroups:t,allGroups:n,system:a,columnState:i,...o}=e,[d,u]=(0,r.useState)(!1),[c,m]=(0,r.useState)(t.map(e=>e.fides_key)),[f,h]=l.Pg3.useMessage(),[g]=(0,b.qQ)(),v=async()=>{if(u(!1),B()(c,t.map(e=>e.fides_key)))return;f.open({key:$,type:"loading",content:"Updating groups for ".concat(a.name,"...")});let e=await g({...a,system_groups:c});(0,T.D4)(e)?f.open({key:$,type:"error",content:(0,p.e$)(e.error,"Failed to update system groups")}):f.open({key:$,type:"success",content:"Groups updated for ".concat(a.name)}),setTimeout(()=>{f.destroy($)},3e3)};return(0,s.jsxs)(l.jqI,{gap:"small",...o,children:[h,!d&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.j8w,{onClick:()=>u(!0),addable:!0,"data-testid":"group-add-btn","aria-label":"Add group"}),(0,s.jsx)(I.Q,{values:t.map(e=>e&&{label:e.name,key:e.fides_key,tagProps:{color:e.label_color?"".concat(L.j[e.label_color]):void 0,bordered:!1}}),columnState:i})]}),d&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.WPr,{options:n.map(e=>({label:e.name,value:e.fides_key})),mode:"tags",defaultValue:t.map(e=>e.fides_key),defaultOpen:!0,onChange:e=>{m(e)},onOpenChange:e=>{e||v()},onBlur:()=>u(!1),"aria-label":"Select groups"}),(0,s.jsx)(l.wpx,{"aria-label":"Update groups",icon:(0,s.jsx)(l.PJP.MCw,{}),onClick:v})]})]})},G=()=>{let{data:e}=(0,W.QD)(),t=(0,r.useMemo)(()=>e?e.reduce((e,t)=>({...e,[t.fides_key]:t}),{}):{},[e]),{data:n}=(0,N.wv)({page:1,size:100,include_external:!1}),[o]=(0,m.DW)(),[d]=(0,W.Xz)(),[u]=(0,W.Nr)(),[c,f]=(0,r.useState)(!1),[h,v]=(0,r.useState)(!1),[x,y]=(0,r.useState)(!1),[j,b]=(0,r.useState)(!1),[k,_]=(0,r.useState)(null),E=(0,D.o)({pagination:{defaultPageSize:25,pageSizeOptions:[25,50,100]},search:{defaultSearchQuery:""},sorting:{defaultSortKey:X.E.NAME,defaultSortOrder:"ascend",validColumns:[X.E.NAME]}}),{columnFilters:w,pageIndex:C,pageSize:O,searchQuery:Y,updateSearch:Z,sortKey:B,sortOrder:L}=E,{data:$,isLoading:G,isFetching:U}=(0,m.xF)({page:C,size:O,search:Y,sort_by:B,sort_asc:"ascend"===L,show_deleted:!0,...w}),Q=(0,r.useMemo)(()=>{var e,t;return{enableSelection:!0,dataSource:null!==(e=null==$?void 0:$.items)&&void 0!==e?e:[],totalRows:null!==(t=null==$?void 0:$.total)&&void 0!==t?t:0,isLoading:G,isFetching:U,getRowKey:e=>e.fides_key,customTableProps:{locale:{emptyText:(0,s.jsx)("div",{children:"No systems found"})}}}},[$,G,U]),{tableProps:J,selectionProps:H}=(0,D.V)(E,Q),{selectedRowKeys:K}=null!=H?H:{},[V,ee]=l.Pg3.useMessage(),{plus:et}=(0,i.hz)(),en=(0,a.useRouter)(),es=(0,A.Tg)([S.Sh.SYSTEM_DELETE]),el=async e=>{let t=await o(e.fides_key);(0,T.D4)(t)?V.error((0,p.e$)(t.error,"Failed to delete system")):V.success("Successfully deleted system"),b(!1)},ea=async e=>{let t={...e,fides_key:(0,z.E)(e.name),active:!0},n=await u(t);if((0,T.D4)(n))V.error((0,p.e$)(n.error));else{var s,l;let e="System group '".concat(n.data.name,"' created");(null===(s=n.data.systems)||void 0===s?void 0:s.length)===1?e+=" with system '".concat(n.data.systems[0],"'"):(null===(l=n.data.systems)||void 0===l?void 0:l.length)&&(e+=" with ".concat(n.data.systems.length," systems")),V.success(e)}y(!1)},er=(0,r.useCallback)(async e=>{var n;if(!K)return;let s=t[e],l=await d({...s,systems:g()([...null!==(n=s.systems)&&void 0!==n?n:[],...K.map(e=>e.toString())])});(0,T.D4)(l)?V.error((0,p.e$)(l.error)):V.success("".concat(null==K?void 0:K.length," systems added to group '").concat(e,"'"))},[t,d,K,V]),ei=(0,r.useMemo)(()=>{var t;return null!==(t=null==e?void 0:e.map(e=>({key:e.fides_key,label:e.name,onClick:()=>er(e.fides_key)})))&&void 0!==t?t:[]},[e,er]);return{tableProps:J,selectionProps:H,columns:(0,r.useMemo)(()=>{var a;return[{title:"Name",dataIndex:"name",key:X.E.NAME,render:(e,t)=>(0,s.jsx)(P.Z,{href:"/systems/configure/".concat(t.fides_key),"data-testid":"system-link-".concat(t.fides_key),children:e||t.fides_key}),ellipsis:!0,fixed:"left",sorter:!0,sortOrder:B===X.E.NAME?L:null},{dataIndex:"system_groups",key:X.E.SYSTEM_GROUPS,render:(n,l)=>{var a;return(0,s.jsx)(F,{selectedGroups:null!==(a=null==n?void 0:n.map(e=>null==t?void 0:t[e]).filter(e=>!!e))&&void 0!==a?a:[],allGroups:e,system:{...l,system_groups:null!=n?n:[]},columnState:{isWrapped:!0,isExpanded:c},className:"w-[432px]"})},title:"Groups",hidden:!et,menu:{items:M.DI,onClick:e=>{e.domEvent.stopPropagation(),"expand-all"===e.key?f(!0):"collapse-all"===e.key&&f(!1)}},filters:(0,R.nZ)(null==e?void 0:e.map(e=>e.fides_key),e=>{var n,s;return null!==(s=null===(n=t[e])||void 0===n?void 0:n.name)&&void 0!==s?s:e}),filteredValue:(null==w?void 0:w.system_groups)||null},{title:"Data uses",menu:{items:M.DI,onClick:e=>{e.domEvent.stopPropagation(),"expand-all"===e.key?v(!0):"collapse-all"===e.key&&v(!1)}},dataIndex:"privacy_declarations",key:X.E.DATA_USES,render:e=>(0,s.jsx)(q,{privacyDeclarations:e,columnState:{isWrapped:!0,isExpanded:h}})},{title:"Data stewards",dataIndex:"data_stewards",key:X.E.DATA_STEWARDS,render:e=>(0,s.jsx)(I.v,{values:null!=e?e:[],valueSuffix:"users"}),filters:(0,R.nZ)(null==n?void 0:null===(a=n.items)||void 0===a?void 0:a.map(e=>e.username)),filteredValue:(null==w?void 0:w.data_stewards)||null},{title:"Description",dataIndex:"description",key:X.E.DESCRIPTION,render:e=>(0,s.jsx)("div",{className:"max-w-96",children:(0,s.jsx)(l.AntTypography.Text,{ellipsis:{tooltip:e},children:e})}),ellipsis:!0},{title:"Actions",key:X.E.ACTIONS,render:(e,t)=>(0,s.jsxs)(l.jqI,{gap:"small",children:[(0,s.jsx)(l.wpx,{size:"small",onClick:()=>en.push("/systems/configure/".concat(t.fides_key)),icon:(0,s.jsx)(l.PJP.I8b,{}),"data-testid":"edit-btn",children:"Edit"}),es&&(0,s.jsx)(l.wpx,{size:"small",onClick:()=>{_(t),b(!0)},icon:(0,s.jsx)(l.PJP.ZNm,{}),"data-testid":"delete-btn",children:"Delete"})]}),fixed:"right"}]},[B,L,et,e,null==w?void 0:w.system_groups,null==w?void 0:w.data_stewards,null==n?void 0:n.items,c,t,h,es,en]),searchQuery:Y,updateSearch:Z,columnFilters:w,pageIndex:C,pageSize:O,createModalIsOpen:x,setCreateModalIsOpen:y,deleteModalIsOpen:j,setDeleteModalIsOpen:b,setSelectedSystemForDelete:_,handleCreateSystemGroup:ea,handleDelete:el,handleBulkAddToGroup:er,messageContext:ee,groupMenuItems:ei,selectedSystemForDelete:k}},U=()=>{var e,t;let{tableProps:n,selectionProps:a,columns:r,searchQuery:i,updateSearch:o,createModalIsOpen:d,setCreateModalIsOpen:u,deleteModalIsOpen:p,setDeleteModalIsOpen:m,handleDelete:f,handleCreateSystemGroup:h,handleBulkAddToGroup:g,messageContext:v,groupMenuItems:x,selectedSystemForDelete:y}=G();return(0,s.jsxs)(s.Fragment,{children:[v,(0,s.jsxs)(l.jqI,{justify:"space-between",className:"mb-4",children:[(0,s.jsx)(c.f,{value:i,onChange:o,"data-testid":"system-search"}),(0,s.jsxs)(l.jqI,{gap:"small",children:[(0,s.jsx)(O,{selectedRowKeys:null!==(e=null==a?void 0:a.selectedRowKeys)&&void 0!==e?e:[],createModalIsOpen:d,setCreateModalIsOpen:u,handleCreateSystemGroup:h,handleBulkAddToGroup:g,groupMenuItems:x}),(0,s.jsx)(l.$zI,{open:p,onCancel:()=>m(!1),onOk:()=>!!y&&f(y),okText:"Delete",okType:"danger",cancelText:"Cancel",centered:!0,children:(0,s.jsxs)(l.AntTypography.Paragraph,{children:["Are you sure you want to delete"," ",null!==(t=null==y?void 0:y.name)&&void 0!==t?t:null==y?void 0:y.fides_key,"? This action cannot be undone."]})})]})]}),(0,s.jsx)(l.V5H,{...n,columns:r,rowSelection:a})]})},Q=()=>{let e=(0,a.useRouter)(),{dictionaryService:t}=(0,i.hz)();return(0,s.jsx)(o.Z,{title:"System inventory",children:(0,s.jsxs)(l.xuv,{"data-testid":"system-management",children:[(0,s.jsxs)(u.Z,{heading:"System inventory",breadcrumbItems:[{title:"All systems"}],children:[t&&(0,s.jsx)(l.S0p,{trigger:["click"],menu:{items:[{label:"Create new system",key:"add-system",onClick:()=>e.push(d.N5)},{label:"Add multiple systems",key:"add-multiple-systems",onClick:()=>e.push(d.bJ)}]},children:(0,s.jsx)(l.wpx,{type:"primary","data-testid":"add-system-btn",icon:(0,s.jsx)(l.PJP._ME,{}),className:"absolute right-8 top-8",children:"Add system"})}),!t&&(0,s.jsx)(l.wpx,{type:"primary","data-testid":"add-system-btn",onClick:()=>e.push(d.N5),children:"Add new system"})]}),(0,s.jsx)(U,{})]})})}},31883:function(e,t,n){"use strict";n.d(t,{Bw:function(){return s.Bw},D4:function(){return s.D4}});var s=n(19043)}},function(e){e.O(0,[431,8765,9278,5163,7245,9965,2888,9774,179],function(){return e(e.s=90988)}),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4202],{58095:function(e,t,n){var r=n(8817);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},21796:function(e){e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},8817:function(e,t,n){var r=n(95372),i=n(1129),a=n(58263);e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,i,n)}},1129:function(e){e.exports=function(e){return e!=e}},75733:function(e){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}},92198:function(e,t,n){var r=n(52485),i=n(58095),a=n(21796),l=n(65581),o=n(47111),s=n(43735);e.exports=function(e,t,n){var u=-1,d=i,c=e.length,f=!0,h=[],m=h;if(n)f=!1,d=a;else if(c>=200){var p=t?null:o(e);if(p)return s(p);f=!1,d=l,m=new r}else m=t?[]:h;e:for(;++u<c;){var _=e[u],x=t?t(_):_;if(_=n||0!==_?_:0,f&&x==x){for(var v=m.length;v--;)if(m[v]===x)continue e;t&&m.push(x),h.push(_)}else d(m,x,n)||(m!==h&&m.push(x),h.push(_))}return h}},70830:function(e,t,n){var r=n(76747),i=n(31159),a=n(64373),l=n(37948);e.exports=function(e,t){return t=r(t,e),null==(e=a(e,t))||delete e[l(i(t))]}},47111:function(e,t,n){var r=n(46151),i=n(50344),a=n(43735),l=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:i;e.exports=l},64373:function(e,t,n){var r=n(79867),i=n(75733);e.exports=function(e,t){return t.length<2?e:r(e,i(t,0,-1))}},58263:function(e){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1}},50344:function(e){e.exports=function(){}},83766:function(e,t,n){var r=n(92198);e.exports=function(e){return e&&e.length?r(e):[]}},43551:function(e,t,n){var r=n(70830);e.exports=function(e,t){return null==e||r(e,t)}},71180:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/taxonomy",function(){return n(33031)}])},18225:function(e,t,n){"use strict";var r=n(24246),i=n(20595);t.Z=e=>{let{alignment:t="center",...n}=e;return(0,r.jsx)(i.kCb,{boxSize:"full",align:"center",justify:t,children:(0,r.jsx)(i.$jN,{color:"primary",...n})})}},19904:function(e,t,n){"use strict";n.d(t,{Tg:function(){return l}});var r=n(24246),i=n(16134),a=n(31793);let l=e=>(0,i.C)(a.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:n}=e;return l(t)?(0,r.jsx)(r.Fragment,{children:n}):null}},94799:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(76649);let i=e=>(0,r.Ln)({id:"string"},e),a=e=>(null!=e?e:[]).filter(i)},30320:function(e,t,n){"use strict";n.d(t,{m:function(){return s}});var r=n(27378),i=n(25980),a=n(17245),l=n(32885),o=n(94799);let s=e=>{let{resourceFidesKey:t,resourceType:n}=e,{errorAlert:s}=(0,a.VY)(),{plus:u}=(0,i.hz)(),d=(0,r.useMemo)(()=>null!=t?t:"",[]),c=(0,l.YU)(!0,{skip:!u}),f=(0,l.VN)(n,{skip:!u}),{data:h,isLoading:m,error:p,isError:_}=(0,l.PV)(null!=t?t:"",{skip:""!==d&&!(u&&d)}),[x]=(0,l._D)(),v=c.isLoading||f.isLoading||m,E=(0,r.useMemo)(()=>new Map((0,o.k)(c.data).map(e=>{var t;return[e.id,{...e,options:(null!==(t=e.allowed_values)&&void 0!==t?t:[]).map(e=>({value:e,label:e}))}]})),[c.data]),y=(0,r.useMemo)(()=>{var e;return null===(e=f.data)||void 0===e?void 0:e.filter(e=>e.active)},[f.data]),g=(0,r.useMemo)(()=>new Map((0,o.k)(y).map(e=>[e.id,e])),[y]),T=(0,r.useMemo)(()=>_&&(null==p?void 0:p.status)===404?new Map:new Map((0,o.k)(h).map(e=>[e.custom_field_definition_id,e])),[h,_,p]),A=(0,r.useMemo)(()=>{let e=[...g.keys()];return e.sort(),e},[g]),j=(0,r.useMemo)(()=>{let e={};return y&&T&&y.forEach(t=>{let n=T.get(t.id||"");n&&(t.allow_list_id&&"string[]"===t.field_type?e[n.custom_field_definition_id]=n.value:e[n.custom_field_definition_id]=n.value.toString())}),e},[y,T]),S=(0,r.useCallback)(async e=>{if(!u)return;let r="fides_key"in e&&""!==e.fides_key?e.fides_key:t;if(!r)return;let{customFieldValues:i}=e;if(!i||0===Object.keys(i).length)return;let a=[],l=[];A.forEach(e=>{let t=T.get(e),n=i[e];void 0===n||""===n||Array.isArray(n)&&0===n.length?(null==t?void 0:t.id)&&l.push(t.id):a.push({custom_field_definition_id:e,resource_id:r,id:null==t?void 0:t.id,value:n})});try{await x({resource_type:n,resource_id:r,upsert:a,delete:l})}catch(e){s("One or more custom fields have failed to save, please try again."),console.error(e)}},[u,T,s,t,A,x,n]);return{customFieldValues:j,definitionIdToCustomField:T,idToAllowListWithOptions:E,idToCustomFieldDefinition:g,isEnabled:u,isLoading:v,sortedCustomFieldDefinitionIds:A,upsertCustomFields:S}}},33162:function(e,t,n){"use strict";n.d(t,{uc:function(){return c},mZ:function(){return d.m}});var r=n(24246),i=n(20595),a=n(34090),l=n(30234),o=n(65735),s=n(97181),u=n(40324),d=n(30320);let c=e=>{let{resourceFidesKey:t,resourceType:n}=e,{idToAllowListWithOptions:c,idToCustomFieldDefinition:f,isEnabled:h,isLoading:m,sortedCustomFieldDefinitionIds:p}=(0,d.m)({resourceFidesKey:t,resourceType:n});return h&&0!==p.length?(0,r.jsx)(l.Z,{heading:"Custom fields",children:(0,r.jsx)(i.kCb,{flexDir:"column","data-testid":"custom-fields-list",children:(0,r.jsx)(i.kCb,{flexDir:"column",gap:"24px",children:m?(0,r.jsx)(i.M5Y,{children:(0,r.jsx)(i.$jN,{})}):p.length>0&&(0,r.jsx)(i.kCb,{flexDirection:"column",gap:"12px",paddingBottom:"24px",children:p.map(e=>{let t=f.get(e);if(!t)return null;let n="customFieldValues.".concat(t.id);if(!t.allow_list_id&&t.field_type===o.AL.STRING)return(0,r.jsx)(a.gN,{name:n,children:e=>{let{field:n}=e;return(0,r.jsx)(u.j0,{...n,label:t.name,tooltip:t.description,variant:"stacked"})}},e);let i=c.get(t.allow_list_id);if(!i)return null;let{options:l}=i;return(0,r.jsx)(s.d,{name:n,allowClear:!0,mode:t.field_type!==o.AL.STRING?"multiple":void 0,label:t.name,options:l,tooltip:t.description,layout:"stacked",className:"w-full"},e)})})})})}):null};n(94799)},97181:function(e,t,n){"use strict";n.d(t,{d:function(){return u}});var r=n(24246),i=n(20595),a=n(34090),l=n(27378),o=n(46238),s=n(40324);let u=e=>{let{name:t,label:n,labelProps:u,tooltip:d,isRequired:c,layout:f="inline",helperText:h,...m}=e,[p,_,{setValue:x}]=(0,a.U$)(t),v=!!(_.touched&&_.error),[E,y]=(0,l.useState)("");p.value||"tags"!==m.mode&&"multiple"!==m.mode||(p.value=[]),"tags"===m.mode&&"string"==typeof p.value&&(p.value=[p.value]);let g="tags"===m.mode?(e,t)=>e?e.value!==E||p.value.includes(E)?m.optionRender?m.optionRender(e,t):e.label:'Create "'.concat(E,'"'):void 0:m.optionRender||void 0,T=e=>{y(e),m.onSearch&&m.onSearch(e)},A=(e,t)=>{x(e),m.onChange&&m.onChange(e,t)};return"inline"===f?(0,r.jsx)(i.NIc,{isInvalid:v,isRequired:c,children:(0,r.jsxs)(i.rjZ,{templateColumns:n?"1fr 3fr":"1fr",children:[n?(0,r.jsx)(s.__,{htmlFor:m.id||t,...u,children:n}):null,(0,r.jsxs)(i.jqI,{align:"center",children:[(0,r.jsxs)(i.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,r.jsx)(i.WPr,{...p,id:m.id||t,"data-testid":"controlled-select-".concat(p.name),...m,optionRender:g,onSearch:"tags"===m.mode?T:void 0,onChange:A,value:p.value||void 0,status:v?"error":void 0}),h&&(0,r.jsx)(i.Q6r,{children:h}),(0,r.jsx)(s.Bc,{isInvalid:v,message:_.error,fieldName:p.name})]}),(0,r.jsx)(o.b,{label:d,className:v?"mt-2 self-start":void 0})]})]})}):(0,r.jsx)(i.NIc,{isInvalid:v,isRequired:c,children:(0,r.jsxs)(i.gCW,{alignItems:"start",children:[(0,r.jsxs)(i.jqI,{align:"center",children:[n?(0,r.jsx)(s.__,{htmlFor:m.id||t,fontSize:"xs",my:0,mr:1,...u,children:n}):null,(0,r.jsx)(o.b,{label:d})]}),(0,r.jsx)(i.WPr,{...p,id:m.id||t,"data-testid":"controlled-select-".concat(p.name),...m,optionRender:g,onSearch:"tags"===m.mode?T:void 0,onChange:A,value:p.value||void 0,status:v?"error":void 0}),h&&(0,r.jsx)(i.Q6r,{style:{marginTop:0},children:h}),(0,r.jsx)(s.Bc,{isInvalid:v,message:_.error,fieldName:p.name})]})})}},30234:function(e,t,n){"use strict";var r=n(24246),i=n(20595);t.Z=e=>{let{heading:t,HeadingButton:n,children:a}=e;return(0,r.jsx)(i.Kqy,{spacing:4,children:(0,r.jsxs)(i.xuv,{maxWidth:"720px",border:"1px",borderColor:"gray.200",borderRadius:6,overflow:"visible",mt:6,children:[(0,r.jsxs)(i.xuv,{backgroundColor:"gray.50",px:6,py:4,display:"flex",flexDirection:"row",alignItems:"center",borderBottom:"1px",borderColor:"gray.200",borderTopRadius:6,children:[(0,r.jsx)(i.X6q,{as:"h3",size:"xs",children:t}),n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.LZC,{}),(0,r.jsx)(n,{})]}):null]}),(0,r.jsx)(i.Kqy,{spacing:4,px:6,py:6,children:a})]})})}},22583:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(65735);let i={[r.Ej.TAXONOMY_WHITE]:"default",[r.Ej.TAXONOMY_RED]:"error",[r.Ej.TAXONOMY_ORANGE]:"warning",[r.Ej.TAXONOMY_YELLOW]:"caution",[r.Ej.TAXONOMY_GREEN]:"success",[r.Ej.TAXONOMY_BLUE]:"info",[r.Ej.TAXONOMY_PURPLE]:"alert",[r.Ej.SANDSTONE]:"sandstone",[r.Ej.MINOS]:"minos"}},92818:function(e,t,n){"use strict";n.d(t,{r:function(){return s}});var r=n(24246),i=n(27378),a=n(97181),l=n(22583),o=n(65735);let s={[o.Ej.TAXONOMY_WHITE]:"White",[o.Ej.TAXONOMY_RED]:"Red",[o.Ej.TAXONOMY_ORANGE]:"Orange",[o.Ej.TAXONOMY_YELLOW]:"Yellow",[o.Ej.TAXONOMY_GREEN]:"Green",[o.Ej.TAXONOMY_BLUE]:"Blue",[o.Ej.TAXONOMY_PURPLE]:"Purple",[o.Ej.SANDSTONE]:"Sandstone",[o.Ej.MINOS]:"Minos"},u=e=>{let{color:t,...n}=e;return(0,r.jsx)("span",{"aria-hidden":!0,className:"mr-2 inline-block size-4 rounded-lg align-middle",style:{backgroundColor:"var(--fidesui-bg-".concat(l.j[t],")"),border:t===o.Ej.TAXONOMY_WHITE?"1px solid var(--fidesui-neutral-200)":"none",...n.style}})},d=e=>{let t=null==e?void 0:e.value,n=null==e?void 0:e.label;return(0,r.jsxs)("span",{className:"flex items-center",children:[(0,r.jsx)(u,{color:t}),(0,r.jsx)("span",{children:n})]})};t.Z=e=>{let t=Object.values(o.Ej).map(e=>({value:e,label:s[e]})),[n,l]=(0,i.useState)(void 0);return(0,r.jsx)(a.d,{...e,options:t,optionRender:d,layout:"stacked",value:n,onChange:e=>{l(e)},prefix:(0,r.jsx)(u,{color:null!=n?n:o.Ej.TAXONOMY_WHITE,style:{marginBottom:"2px"}})})}},59001:function(e,t,n){"use strict";n.d(t,{Ch:function(){return s},Lo:function(){return l},_g:function(){return u},ac:function(){return a},aq:function(){return d}});var r,i,a,l,o=n(65735);let s="root";(r=a||(a={})).DATA_CATEGORY="data_category",r.DATA_USE="data_use",r.DATA_SUBJECT="data_subject",r.SYSTEM_GROUP="system_group",(i=l||(l={})).DATA_CATEGORIES="Data categories",i.DATA_USES="Data uses",i.DATA_SUBJECTS="Data subjects",i.SYSTEM_GROUPS="System groups";let u=e=>{switch(e){case"data_category":return"Data categories";case"data_use":return"Data uses";case"data_subject":return"Data subjects";case"system_group":return"System groups";default:return e}},d=e=>{switch(e){case"data_category":return{UPDATE:o.Sh.DATA_CATEGORY_UPDATE,CREATE:o.Sh.DATA_CATEGORY_CREATE,DELETE:o.Sh.DATA_CATEGORY_DELETE,READ:o.Sh.DATA_CATEGORY_READ};case"data_use":return{UPDATE:o.Sh.DATA_USE_UPDATE,CREATE:o.Sh.DATA_USE_CREATE,DELETE:o.Sh.DATA_USE_DELETE,READ:o.Sh.DATA_USE_READ};case"data_subject":return{UPDATE:o.Sh.DATA_SUBJECT_UPDATE,CREATE:o.Sh.DATA_SUBJECT_CREATE,DELETE:o.Sh.DATA_SUBJECT_DELETE,READ:o.Sh.DATA_SUBJECT_READ};case"system_group":return{UPDATE:o.Sh.SYSTEM_GROUP_UPDATE,CREATE:o.Sh.SYSTEM_GROUP_CREATE,DELETE:o.Sh.SYSTEM_GROUP_DELETE,READ:o.Sh.SYSTEM_GROUP_READ};default:return{UPDATE:o.Sh.TAXONOMY_UPDATE,CREATE:o.Sh.TAXONOMY_CREATE,DELETE:o.Sh.TAXONOMY_DELETE,READ:o.Sh.TAXONOMY_READ}}}},90673:function(e,t,n){"use strict";n.d(t,{Cd:function(){return a},Xl:function(){return l}});var r=n(65735),i=n(59001);let a=(e,t)=>{let n;if(null==t&&e.every(e=>void 0===e.parent_key))n=e;else{let r=null!=t?t:null;n=e.filter(e=>e.parent_key===r)}return n.map(t=>{var n,r;let i=t.fides_key;return{value:t.fides_key,label:""===t.name||null==t.name?t.fides_key:t.name,description:t.description,children:a(e,i),is_default:null!==(n=t.is_default)&&void 0!==n&&n,active:null!==(r=t.active)&&void 0!==r&&r}})},l=e=>{switch(e){case i.ac.DATA_CATEGORY:return r.P6.DATA_CATEGORY;case i.ac.DATA_SUBJECT:return r.P6.DATA_SUBJECT;case i.ac.DATA_USE:return r.P6.DATA_USE;default:return}}},33031:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eL}});var r,i,a=n(24246),l=n(20595),o=n(69238),s=n.n(o),u=n(63662),d=n(27378),c=n(25980),f=n(812),h=n(77213),m=n(58754),p=n(19904),_=n(46628),x=n(33162),v=n(79806),E=n(56358),y=n(59001),g=n(90673),T=n(30002),A=n(28079),j=n(69353),S=n(5785);let{useGetCustomTaxonomiesQuery:b,useLazyGetTaxonomyQuery:C,useCreateTaxonomyMutation:O,useUpdateTaxonomyMutation:N,useDeleteTaxonomyMutation:I}=n(78780).u.injectEndpoints({endpoints:e=>({getCustomTaxonomies:e.query({query:()=>({url:"taxonomies"})}),getTaxonomy:e.query({query:e=>({url:"taxonomies/".concat(e)}),providesTags:(e,t,n)=>[{type:"Taxonomy",id:n}],transformResponse:e=>{let t=[],n=[...e],r=n.filter(e=>null===e.parent_key);r.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)),t.push(...r);let i=n.filter(e=>null!==e.parent_key);for(;i.length>0;){let e=i.filter(e=>t.some(t=>t.fides_key===e.parent_key));if(0===e.length){t.push(...i.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)));break}e.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)),t.push(...e),i=i.filter(t=>!e.includes(t))}return t}}),createTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,...n}=e;return{url:"taxonomies/".concat(t),method:"POST",body:n}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}}),updateTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,...n}=e;return{url:"taxonomies/".concat(t),method:"PUT",body:n}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}}),deleteTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,key:n}=e;return{url:"taxonomies/".concat(t,"/").concat(n),method:"DELETE"}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}})})});var D=e=>{let{taxonomyType:t}=e,[n,r]=(0,S.Vj)(),[i,a]=(0,T.nC)(),[l,o]=(0,A.dk)(),[s,u]=(0,j.cw)(),[c,f]=(0,S.Ti)(),[h,m]=(0,A.Ql)(),[p,_]=(0,T.wG)(),[x,v]=(0,j.Nr)(),[E]=(0,S.jU)(),[g]=(0,A.LG)(),[b]=(0,T.h8)(),[D]=(0,j.Xz)(),[k]=(0,S.K9)(),[R]=(0,A.gu)(),[P]=(0,T.Kv)(),[w]=(0,j.Uv)(),[L,M]=C(),[U,V]=O(),[Y]=N(),[F]=I(),B=(0,d.useCallback)(()=>t?L(t):Promise.resolve(void 0),[t,L]),z=(0,d.useCallback)(e=>t?U({taxonomyType:t,...e}):Promise.resolve(void 0),[t,U]),G=(0,d.useCallback)(e=>t?Y({taxonomyType:t,...e}):Promise.resolve(void 0),[t,Y]),H=(0,d.useCallback)(e=>t?F({taxonomyType:t,key:e}):Promise.resolve(void 0),[t,F]);return t===y.ac.DATA_CATEGORY?{getAllTrigger:n,taxonomyItems:r.data||[],updateTrigger:E,deleteTrigger:k,createTrigger:c,isLoading:r.isLoading,isError:r.isError,isCreating:f.isLoading}:t===y.ac.DATA_USE?{getAllTrigger:l,taxonomyItems:o.data||[],updateTrigger:g,deleteTrigger:R,createTrigger:h,isLoading:o.isLoading,isError:o.isError,isCreating:m.isLoading}:t===y.ac.DATA_SUBJECT?{getAllTrigger:i,taxonomyItems:a.data||[],updateTrigger:b,deleteTrigger:P,createTrigger:p,isLoading:a.isLoading,isError:a.isError,isCreating:_.isLoading}:t===y.ac.SYSTEM_GROUP?{getAllTrigger:s,taxonomyItems:u.data||[],updateTrigger:D,deleteTrigger:w,createTrigger:x,isLoading:u.isLoading,isError:u.isError,isCreating:v.isLoading}:{getAllTrigger:B,taxonomyItems:(null==M?void 0:M.data)||[],updateTrigger:G,deleteTrigger:H,createTrigger:z,isLoading:(null==M?void 0:M.isLoading)||!1,isError:(null==M?void 0:M.isError)||!1,isCreating:V.isLoading}},k=n(31883),R=n(90104),P=n.n(R),w=n(18225),L=n(65735),M=e=>{let{customFields:t,formId:n,form:r}=e,{idToAllowListWithOptions:i,idToCustomFieldDefinition:o,isEnabled:s,isLoading:u,sortedCustomFieldDefinitionIds:d}=t;return s&&0!==d.length?(0,a.jsxs)(l.PPS,{form:r,name:n,initialValues:t.customFieldValues,layout:"vertical","data-testid":"custom-fields-form",children:[(0,a.jsx)("div",{className:"mb-2",children:(0,a.jsx)(l.AntTypography.Title,{level:3,children:"Custom fields"})}),u?(0,a.jsx)(w.Z,{}):(0,a.jsx)("div",{children:!P()(d)&&(0,a.jsx)("div",{children:d.map(e=>{let t=o.get(e);if(!t)return null;let{id:n,name:r,description:s,allow_list_id:u,field_type:d}=t;if(!u&&d===L.AL.STRING)return(0,a.jsx)(l.PPS.Item,{name:n,label:r,tooltip:s,children:(0,a.jsx)(l.AntInput,{})},e);let c=i.get(t.allow_list_id);if(!c)return null;let{options:f}=c;return(0,a.jsx)(l.PPS.Item,{name:n,label:r,tooltip:s,children:(0,a.jsx)(l.WPr,{mode:"string"!==d?"multiple":void 0,allowClear:!0,options:f})},e)})})})]}):null},U=n(43551),V=n.n(U),Y=()=>{let e=l.PPS.useFormInstance(),t=l.PPS.useWatch(["rights","values"],e);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.PPS.Item,{label:"Automated Decisions or Profiling",name:"automated_decisions_or_profiling",layout:"horizontal",valuePropName:"checked",children:(0,a.jsx)(l.E_O,{"data-testid":"edit-taxonomy-form_automated-decisions"})}),(0,a.jsx)(l.PPS.Item,{name:["rights","values"],label:"Rights",children:(0,a.jsx)(l.WPr,{mode:"multiple",options:(0,f.MM)(L.ts),"data-testid":"edit-taxonomy-form_rights"})}),t&&!P()(t)&&(0,a.jsx)(l.PPS.Item,{name:["rights","strategy"],label:"Strategy",required:!0,rules:[{required:!0,message:"Please select a strategy"}],children:(0,a.jsx)(l.WPr,{options:(0,f.MM)(L.jX),"data-testid":"edit-taxonomy-form_strategy"})})]})},F=n(83766),B=n.n(F),z=n(1315),G=n(22583),H=n(92818);let X=e=>{let{color:t,...n}=e;return(0,a.jsx)("span",{"aria-hidden":!0,className:"mr-2 inline-block size-4 rounded-lg align-middle",style:{backgroundColor:"var(--fidesui-bg-".concat(G.j[t],")"),border:t===L.Ej.TAXONOMY_WHITE?"1px solid var(--fidesui-neutral-200)":"none",...n.style}})};var q=e=>{let t=Object.values(L.Ej).map(e=>({value:e,label:(0,a.jsxs)("span",{className:"flex items-center",children:[(0,a.jsx)(X,{color:e}),(0,a.jsx)("span",{children:H.r[e]})]})}));return(0,a.jsx)(l.WPr,{...e,options:t,placeholder:"Select color"})};let W="all-suggested";var Z=e=>{let{initialValues:t,onSubmit:n,form:r,formId:i,isDisabled:o}=e,{data:s=[],isLoading:u}=(0,A.fd)(),{data:c,isLoading:f}=(0,z.K3)(),h=(0,d.useMemo)(()=>s.map(e=>({label:e.name||e.fides_key,value:e.fides_key})),[s]),m=l.PPS.useWatch("systems",r),p=(0,d.useMemo)(()=>{var e;let t=m||[];if(!c||0===t.length)return[];let n=null!==(e=null==c?void 0:c.filter(e=>t.includes(e.fides_key)))&&void 0!==e?e:[];return B()(null==n?void 0:n.flatMap(e=>e.privacy_declarations.map(e=>e.data_use)))},[c,m]),_=(0,d.useMemo)(()=>{var e;return null!==(e=null==c?void 0:c.map(e=>({label:e.name||e.fides_key,value:e.fides_key})))&&void 0!==e?e:[]},[c]),x=(0,d.useMemo)(()=>{let e=[],t=[];return(h.forEach(n=>{p.includes(n.value)?e.push(n):t.push(n)}),0===e.length)?t:[{label:"Select all suggested",value:W},{label:(0,a.jsxs)(l.vyj,{children:[(0,a.jsx)(l.QMR,{size:14}),(0,a.jsx)("span",{children:"Suggested data uses"})]}),options:e},{label:(0,a.jsxs)(l.vyj,{children:[(0,a.jsx)(l.PJP.BBB,{}),(0,a.jsx)("span",{children:"All data uses"})]}),options:t}]},[h,p]);return(0,a.jsxs)(l.PPS,{name:i,initialValues:t,onFinish:e=>{var r,i;let a={...t,...e};(!(null==a?void 0:null===(r=a.rights)||void 0===r?void 0:r.values)||P()(null==a?void 0:null===(i=a.rights)||void 0===i?void 0:i.values))&&V()(a,"rights"),n(a)},layout:"vertical",form:r,children:[(0,a.jsx)(l.PPS.Item,{label:"Name",name:"name",children:(0,a.jsx)(l.AntInput,{"data-testid":"edit-taxonomy-form_name",disabled:o})}),(0,a.jsx)(l.PPS.Item,{label:"Description",name:"description",children:(0,a.jsx)(l.AntInput.TextArea,{rows:4,"data-testid":"edit-taxonomy-form_description",disabled:o})}),(0,a.jsx)(l.PPS.Item,{label:"Systems",name:"systems",children:(0,a.jsx)(l.WPr,{mode:"multiple",placeholder:"Select systems",options:_,allowClear:!0,loading:f,disabled:o,"data-testid":"edit-taxonomy-form_systems"})}),(0,a.jsx)(l.PPS.Item,{label:"Color",name:"label_color",children:(0,a.jsx)(q,{disabled:o,"data-testid":"edit-taxonomy-form_color"})}),(0,a.jsx)(l.PPS.Item,{label:"Data uses",name:"data_uses",children:(0,a.jsx)(l.WPr,{mode:"multiple",placeholder:"Select data uses",options:x,allowClear:!0,loading:u,disabled:o,onChange:e=>{if(e.includes(W)){let t=B()([...p,...e.filter(e=>e!==W)]);r.setFieldsValue({data_uses:t})}else r.setFieldsValue({data_uses:e})},"data-testid":"edit-taxonomy-form_data_uses"})})]})},J=e=>{let{initialValues:t,onSubmit:n,form:r,formId:i,taxonomyType:o,isDisabled:s}=e,u=o===y.ac.DATA_SUBJECT;return o===y.ac.SYSTEM_GROUP?(0,a.jsx)(Z,{initialValues:t,onSubmit:n,form:r,formId:i,isDisabled:s}):(0,a.jsxs)(l.PPS,{name:i,initialValues:t,onFinish:e=>{var r,i;let a={...t,...e};(!(null==a?void 0:null===(r=a.rights)||void 0===r?void 0:r.values)||P()(null==a?void 0:null===(i=a.rights)||void 0===i?void 0:i.values))&&V()(a,"rights"),n(a)},layout:"vertical",form:r,children:[(0,a.jsx)(l.PPS.Item,{label:"Name",name:"name",children:(0,a.jsx)(l.AntInput,{"data-testid":"edit-taxonomy-form_name",disabled:s})}),(0,a.jsx)(l.PPS.Item,{label:"Description",name:"description",children:(0,a.jsx)(l.AntInput.TextArea,{rows:4,"data-testid":"edit-taxonomy-form_description",disabled:s})}),u&&(0,a.jsx)(Y,{})]})},K=e=>{let{taxonomyItem:t,taxonomyType:n,onClose:r}=e,i="edit-taxonomy-form",[o]=l.PPS.useForm(),[s]=l.PPS.useForm(),u=(0,l.pmc)(),{isOpen:d,onOpen:c,onClose:h}=(0,l.qY0)(),{updateTrigger:m}=D({taxonomyType:n}),T=(0,x.mZ)({resourceFidesKey:null==t?void 0:t.fides_key,resourceType:(0,g.Xl)(n)}),A=(0,p.Tg)([(0,y.aq)(n).UPDATE]),j=(0,p.Tg)([(0,y.aq)(n).DELETE]),S=async e=>{let n=await m(e);if((0,k.D4)(n)){u((0,_.Vo)((0,f.e$)(n.error)));return}if(T.isEnabled){let e=s.getFieldsValue();await T.upsertCustomFields({fides_key:null==t?void 0:t.fides_key,customFieldValues:e})}u((0,_.t5)("Taxonomy successfully updated")),r()},b=async()=>{await m({...t,active:!1}),h(),r()},C=async()=>{await m({...t,active:!0}),h(),r()};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(v.ZP,{isOpen:!!t,onClose:r,header:(0,a.jsx)(v.zR,{title:(null==t?void 0:t.name)||""}),footer:(0,a.jsxs)(l.zeN,{justifyContent:"space-between",children:[(null==t?void 0:t.active)&&j&&(0,a.jsx)(l.esZ,{title:"Delete label",children:(0,a.jsx)(l.wpx,{"aria-label":"delete",icon:(0,a.jsx)(E.q,{fontSize:"small"}),onClick:c,"data-testid":"delete-btn"})}),!(null==t?void 0:t.active)&&A&&(0,a.jsx)(l.esZ,{title:"Enable label",children:(0,a.jsx)(l.wpx,{"aria-label":"enable",onClick:C,"data-testid":"enable-btn",icon:(0,a.jsx)(l.tEF,{fontSize:"small"})})}),(0,a.jsx)("div",{className:"flex gap-2",children:A&&(0,a.jsx)(l.wpx,{htmlType:"submit",type:"primary","data-testid":"save-btn",form:i,children:"Save"})})]}),children:[(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("div",{className:"mb-2",children:(0,a.jsx)(l.AntTypography.Title,{level:3,children:"Details"})}),(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("span",{className:"w-1/3 shrink-0 text-sm text-gray-500",children:"Fides key:"}),(0,a.jsx)(l.esZ,{title:null==t?void 0:t.fides_key,trigger:"click",children:(0,a.jsx)("span",{className:"flex-1 truncate","data-testid":"edit-drawer-fides-key",children:null==t?void 0:t.fides_key})})]})]}),!!t&&(0,a.jsx)(J,{initialValues:t,onSubmit:S,form:o,formId:i,taxonomyType:n,isDisabled:!A}),T.isEnabled&&!T.isLoading&&(0,a.jsx)(M,{form:s,formId:"custom-fields-form",customFields:T})]}),(0,a.jsx)(l.cVQ,{isOpen:d,onClose:h,onConfirm:b,title:"Delete ".concat(n),message:(0,a.jsx)(l.Kqy,{children:(0,a.jsxs)(l.xvT,{children:["You are about to permanently delete the ",n," ",(0,a.jsx)(l.xvT,{color:"complimentary.500",as:"span",fontWeight:"bold",children:null==t?void 0:t.name})," ","from your taxonomy. Are you sure you would like to continue?"]})})})]})};n(51901);var $=n(86298),Q=n(3124),ee=n.n(Q);(r=i||(i={})).DEFAULT="DEFAULT",r.ACTIVE_HOVER="ACTIVE_HOVER",r.PARENT_OF_HOVER="PARENT_OF_HOVER",r.CHILD_OF_HOVER="CHILD_OF_HOVER",r.SIBLING_OF_HOVER="SIBLING_OF_HOVER",r.INACTIVE="INACTIVE";let et=(0,d.createContext)({activeNodeKey:null,setActiveNodeKey:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{},getNodeHoverStatus:()=>"DEFAULT"}),en=e=>{let{children:t}=e,[n,r]=(0,d.useState)(null),i=(0,d.useCallback)(e=>{e!==n&&r(e)},[n]),l=(0,d.useCallback)(()=>{r(null)},[]),o=(0,d.useCallback)(e=>n?e===n?"ACTIVE_HOVER":n.startsWith("".concat(e,"."))||e===y.Ch?"PARENT_OF_HOVER":e.startsWith("".concat(n,"."))||n===y.Ch?"CHILD_OF_HOVER":n.split(".").slice(0,-1).join(".")===e.split(".").slice(0,-1).join(".")?"SIBLING_OF_HOVER":"INACTIVE":"DEFAULT",[n]),s=(0,d.useMemo)(()=>({activeNodeKey:n,setActiveNodeKey:r,onMouseEnter:i,onMouseLeave:l,getNodeHoverStatus:o}),[n,r,i,l,o]);return(0,a.jsx)(et.Provider,{value:s,children:t})};function er(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function ei(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=el)):void 0===t&&(t=ea);for(var n,r,i,a,l,o=new eu(e),s=[o];n=s.pop();)if((i=t(n.data))&&(l=(i=Array.from(i)).length))for(n.children=i,a=l-1;a>=0;--a)s.push(r=i[a]=new eu(i[a])),r.parent=n,r.depth=n.depth+1;return o.eachBefore(es)}function ea(e){return e.children}function el(e){return Array.isArray(e)?e[1]:null}function eo(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function es(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function eu(e){this.data=e,this.depth=this.height=0,this.parent=null}function ed(e,t){return e.parent===t.parent?1:2}function ec(e){var t=e.children;return t?t[0]:e.t}function ef(e){var t=e.children;return t?t[t.length-1]:e.t}function eh(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}function em(e){return null==e?null:function(e){if("function"!=typeof e)throw Error();return e}(e)}eu.prototype=ei.prototype={constructor:eu,count:function(){return this.eachAfter(er)},each:function(e,t){let n=-1;for(let r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,a=this,l=[a],o=[],s=-1;a=l.pop();)if(o.push(a),n=a.children)for(r=0,i=n.length;r<i;++r)l.push(n[r]);for(;a=o.pop();)e.call(t,a,++s,this);return this},eachBefore:function(e,t){for(var n,r,i=this,a=[i],l=-1;i=a.pop();)if(e.call(t,i,++l,this),n=i.children)for(r=n.length-1;r>=0;--r)a.push(n[r]);return this},find:function(e,t){let n=-1;for(let r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)r.push(t=t.parent);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return ei(this).eachBefore(eo)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,a=[i];do for(e=a.reverse(),a=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)a.push(t[n]);while(a.length)}},eh.prototype=Object.create(eu.prototype);var ep={depth:-1},e_={},ex={};function ev(e){return e.id}function eE(e){return e.parentId}function ey(e){let t=e.length;if(t<2)return"";for(;--t>1&&!eg(e,t););return e.slice(0,t)}function eg(e,t){if("/"===e[t]){let n=0;for(;t>0&&"\\"===e[--t];)++n;if((1&n)==0)return!0}return!1}let eT=function(){var e=ed,t=1,n=1,r=null;function i(i){var s=function(e){for(var t,n,r,i,a,l=new eh(e,0),o=[l];t=o.pop();)if(r=t._.children)for(t.children=Array(a=r.length),i=a-1;i>=0;--i)o.push(n=t.children[i]=new eh(r[i],i)),n.parent=t;return(l.parent=new eh(null,0)).children=[l],l}(i);if(s.eachAfter(a),s.parent.m=-s.z,s.eachBefore(l),r)i.eachBefore(o);else{var u=i,d=i,c=i;i.eachBefore(function(e){e.x<u.x&&(u=e),e.x>d.x&&(d=e),e.depth>c.depth&&(c=e)});var f=u===d?1:e(u,d)/2,h=f-u.x,m=t/(d.x+f+h),p=n/(c.depth||1);i.eachBefore(function(e){e.x=(e.x+h)*m,e.y=e.depth*p})}return i}function a(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n){!function(e){for(var t,n=0,r=0,i=e.children,a=i.length;--a>=0;)t=i[a],t.z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var a=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+e(t._,i._));t.parent.A=function(t,n,r){if(n){for(var i,a,l,o=t,s=t,u=n,d=o.parent.children[0],c=o.m,f=s.m,h=u.m,m=d.m;u=ef(u),o=ec(o),u&&o;)d=ec(d),(s=ef(s)).a=t,(l=u.z+h-o.z-c+e(u._,o._))>0&&(function(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}((i=u,a=r,i.a.parent===t.parent?i.a:a),t,l),c+=l,f+=l),h+=u.m,c+=o.m,m+=d.m,f+=s.m;u&&!ef(s)&&(s.t=u,s.m+=h-f),o&&!ec(d)&&(d.t=o,d.m+=c-m,r=t)}return r}(t,i,t.parent.A||r[0])}function l(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function o(e){e.x*=t,e.y=e.depth*n}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i}();var eA=e=>{let{nodes:t,edges:n,options:r}=e;return(0,d.useMemo)(()=>{if(0===t.length)return{nodes:t,edges:n};let e=(function(){var e,t=ev,n=eE;function r(r){var i,a,l,o,s,u,d,c,f=Array.from(r),h=t,m=n,p=new Map;if(null!=e){let t=f.map((t,n)=>{var i;let a;return i=e(t,n,r),a=(i=`${i}`).length,eg(i,a-1)&&!eg(i,a-2)&&(i=i.slice(0,-1)),"/"===i[0]?i:`/${i}`}),n=t.map(ey),i=new Set(t).add("");for(let e of n)i.has(e)||(i.add(e),t.push(e),n.push(ey(e)),f.push(ex));h=(e,n)=>t[n],m=(e,t)=>n[t]}for(l=0,i=f.length;l<i;++l)a=f[l],u=f[l]=new eu(a),null!=(d=h(a,l,r))&&(d+="")&&(c=u.id=d,p.set(c,p.has(c)?e_:u)),null!=(d=m(a,l,r))&&(d+="")&&(u.parent=d);for(l=0;l<i;++l)if(d=(u=f[l]).parent){if(!(s=p.get(d)))throw Error("missing: "+d);if(s===e_)throw Error("ambiguous: "+d);s.children?s.children.push(u):s.children=[u],u.parent=s}else{if(o)throw Error("multiple roots");o=u}if(!o)throw Error("no root");if(null!=e){for(;o.data===ex&&1===o.children.length;)o=o.children[0],--i;for(let e=f.length-1;e>=0&&(u=f[e]).data===ex;--e)u.data=null}if(o.parent=ep,o.eachBefore(function(e){e.depth=e.parent.depth+1,--i}).eachBefore(es),o.parent=null,i>0)throw Error("cycle");return o}return r.id=function(e){return arguments.length?(t=em(e),r):t},r.parentId=function(e){return arguments.length?(n=em(e),r):n},r.path=function(t){return arguments.length?(e=em(t),r):e},r})().id(e=>e.id).parentId(e=>{var t;return null===(t=n.find(t=>t.target===e.id))||void 0===t?void 0:t.source})(t),i="LR"===r.direction?[35,320]:[320,35];return{nodes:eT.nodeSize(i).separation((e,t)=>e.parent===t.parent?1:1.5)(e).descendants().map(e=>{let t;return t="LR"===r.direction?{x:e.y,y:e.x}:{x:e.x,y:e.y},{...e.data,position:t}}),edges:n}},[t,n,r])},ej=e=>{let{positionAbsoluteX:t,positionAbsoluteY:n,nodeWidth:r}=e,{setCenter:i,getZoom:a}=(0,$._K)();return{centerScreenOnNode:(0,d.useCallback)(()=>i(t+r/2,n,{duration:500,zoom:a()}),[a,t,n,r,i])}},eS=n(1945),eb=n.n(eS),eC=n(8335),eO=e=>{let{type:t,inactive:n=!1}=e;return(0,a.jsx)($.HH,{type:t,position:"source"===t?eC.Ly.Right:eC.Ly.Left,style:{width:8,height:8,backgroundColor:n?ee().FIDESUI_NEUTRAL_400:ee().FIDESUI_MINOS},className:"transition-colors duration-300 ease-in"})},eN=e=>{let{data:t,positionAbsoluteX:n,positionAbsoluteY:r}=e,{onCancel:i,onSubmit:o,parentKey:s,isLoading:u=!1}=t,c=(0,d.useRef)(null),[f,h]=(0,d.useState)(""),{centerScreenOnNode:m}=ej({positionAbsoluteX:n,positionAbsoluteY:r,nodeWidth:200});(0,d.useEffect)(()=>{h("");let e=()=>{var e;return null===(e=c.current)||void 0===e?void 0:e.focus({cursor:"start",preventScroll:!0})};(async()=>{await m(),e()})()},[s,m,n,r]);let p=()=>{!u&&f.trim()&&o(f)},_=()=>{u||i()};return(0,a.jsxs)("div",{style:{width:200},"data-testid":"taxonomy-text-input-node",children:[(0,a.jsx)(l.AntInput,{placeholder:"Type label name...",ref:c,onBlur:_,onSubmit:p,value:f,onChange:e=>h(e.target.value),onKeyUp:e=>{"Escape"===e.key&&_()},onPressEnter:p,className:eb().input,suffix:u&&(0,a.jsx)(l.ZJQ,{size:"small"})}),(0,a.jsx)(eO,{type:"target"})]})},eI=e=>{let{getNodeHoverStatus:t}=(0,d.useContext)(et),{target:n}=e,r=t(n),l=(0,d.useCallback)(()=>{switch(r){case i.ACTIVE_HOVER:case i.PARENT_OF_HOVER:return ee().FIDESUI_MINOS;case i.INACTIVE:return ee().NEUTRAL_400;default:return ee().FIDESUI_SANDSTONE}},[r]),o=(0,d.useCallback)(()=>{switch(r){case i.ACTIVE_HOVER:case i.PARENT_OF_HOVER:return 2;default:return 1}},[r]);return(0,a.jsx)($.Jd,{...e,style:{stroke:l(),strokeWidth:o(),transition:"stroke 0.3s ease 0s"}})},eD=n(34770),ek=n.n(eD),eR=e=>{let{data:t,positionAbsoluteX:n,positionAbsoluteY:r}=e,{onMouseEnter:o,onMouseLeave:s,getNodeHoverStatus:u}=(0,d.useContext)(et),{taxonomyType:c,taxonomyItem:f,onAddButtonClick:h,onTaxonomyItemClick:m,label:p,hasChildren:_,isLastCreatedItem:x,resetLastCreatedItemKey:v,userCanAddLabels:E}=t,{centerScreenOnNode:g}=ej({positionAbsoluteX:n,positionAbsoluteY:r,nodeWidth:200});(0,d.useEffect)(()=>{let e=async()=>{await g(),o(null==f?void 0:f.fides_key)};x&&(e(),v())},[x,o,null==f?void 0:f.fides_key,v,g]);let T=u(null==f?void 0:f.fides_key),A=(0,d.useCallback)(()=>{switch(T){case i.ACTIVE_HOVER:return ek()["button--hover"];case i.PARENT_OF_HOVER:return ek()["button--parent-hover"];case i.INACTIVE:return ek()["button--inactive"];case i.DEFAULT:case i.CHILD_OF_HOVER:case i.SIBLING_OF_HOVER:default:return""}},[T]),j=(null==f?void 0:f.fides_key)===y.Ch,S=c===y.ac.DATA_SUBJECT;return(0,a.jsxs)("div",{className:ek().container,onMouseEnter:()=>o(null==f?void 0:f.fides_key),onMouseLeave:()=>s(null==f?void 0:f.fides_key),"data-testid":"taxonomy-node-".concat(null==f?void 0:f.fides_key),children:[(0,a.jsx)(l.wpx,{className:"".concat(ek().button," ").concat(A()),onClick:()=>null==m?void 0:m(f),disabled:!m,type:"text",children:(0,a.jsxs)(l.AntTypography.Text,{ellipsis:!0,style:{color:"inherit"},children:[(null==f?void 0:f.active)===!1?"(disabled) ":"",p]})}),!j&&(0,a.jsx)(eO,{type:"target",inactive:T===i.INACTIVE}),_&&(0,a.jsx)(eO,{type:"source",inactive:T===i.INACTIVE}),E&&(!S||j)&&(0,a.jsx)("div",{className:ek()["add-button-container"],children:(0,a.jsx)(l.wpx,{type:"default",className:"".concat(ek()["add-button"]," ").concat(T===i.ACTIVE_HOVER?ek()["add-button--visible"]:""),icon:(0,a.jsx)(l.PJP.mm_,{size:20}),onClick:()=>null==h?void 0:h(f),size:"middle","data-testid":"taxonomy-add-child-label-button","aria-label":"Add child label to ".concat(p)})})]})};let eP=e=>{let{taxonomyType:t,taxonomyItems:n,draftNewItem:r,lastCreatedItemKey:i,resetLastCreatedItemKey:l,onTaxonomyItemClick:o,onAddButtonClick:s,onCancelDraftItem:u,onSubmitDraftItem:c,userCanAddLabels:f,isCreating:h=!1}=e,{fitView:m}=(0,$._K)();(0,d.useEffect)(()=>{setTimeout(()=>m(),150)},[m,t]);let p=[(0,d.useMemo)(()=>({id:y.Ch,position:{x:0,y:0},data:{label:(0,y._g)(t),taxonomyItem:{fides_key:y.Ch},taxonomyType:t,onTaxonomyItemClick:null,onAddButtonClick:s,hasChildren:0!==n.length,userCanAddLabels:f},type:"taxonomyTreeNode"}),[t,n.length,s,f])],_=[];if(n.forEach(e=>{let n=e.name||e.fides_key.split(".").pop()||"",r={id:e.fides_key,position:{x:0,y:0},data:{label:n,taxonomyType:t,taxonomyItem:e,onTaxonomyItemClick:o,onAddButtonClick:s,hasChildren:!1,isLastCreatedItem:i===e.fides_key,resetLastCreatedItemKey:l,userCanAddLabels:f},type:"taxonomyTreeNode"};p.push(r);let a=e.parent_key?p.find(t=>t.id===e.parent_key):null,u=a?a.id:y.Ch,d=e.fides_key,c={id:"".concat(u,"-").concat(d),source:u,target:d,type:"taxonomyTreeEdge"};_.push(c),a&&(a.data.hasChildren=!0)}),r){let e=r.parent_key||y.Ch;p.push({id:"draft-node",position:{x:0,y:0},type:"textInputNode",data:{parentKey:e,onCancel:u,onSubmit:c,isLoading:h},hidden:!r}),_.push({id:"draft-line",source:e,target:"draft-node",animated:!0});let t=p.find(t=>t.id===e);t&&(t.data.hasChildren=!0)}let{nodes:x,edges:v}=eA({nodes:p,edges:_,options:{direction:"LR"}}),E=(0,d.useMemo)(()=>({taxonomyTreeNode:eR,textInputNode:eN}),[]),g=(0,d.useMemo)(()=>({taxonomyTreeEdge:eI}),[]);return(0,a.jsx)("div",{className:"size-full",style:{backgroundColor:ee().FIDESUI_BG_CORINTH},"data-testid":"taxonomy-interactive-tree",children:(0,a.jsx)(en,{children:(0,a.jsxs)($.x$,{nodes:x,edges:v,nodeTypes:E,edgeTypes:g,maxZoom:2,minZoom:.3,nodesConnectable:!1,edgesFocusable:!1,elementsSelectable:!1,proOptions:{hideAttribution:!0},children:[(0,a.jsx)($.Aq,{color:ee().FIDESUI_NEUTRAL_100,variant:$.T7.Dots,size:3}),(0,a.jsx)($.a9,{nodeStrokeWidth:3,pannable:!0}),(0,a.jsx)($.ZX,{showInteractive:!1})]})})})};var ew=e=>(0,a.jsx)($.tV,{children:(0,a.jsx)(eP,{...e})}),eL=()=>{let[e,t]=(0,d.useState)(y.ac.DATA_CATEGORY),n=(0,c.hz)().plus,{data:r}=b(void 0,{skip:!n}),{createTrigger:i,getAllTrigger:o,taxonomyItems:x=[],isCreating:v}=D({taxonomyType:e}),E=(0,u.useSearchParams)(),g=(null==E?void 0:E.get("showDisabledItems"))==="true";(0,d.useEffect)(()=>{o()},[o,e]);let[T,A]=(0,d.useState)(null),[j,S]=(0,d.useState)(null),[C,O]=(0,d.useState)(null);(0,d.useEffect)(()=>{S(null),O(null),A(null)},[e]),(0,d.useEffect)(()=>{e!==y.ac.SYSTEM_GROUP||n||t(y.ac.DATA_CATEGORY)},[e,n]);let N=(0,l.pmc)(),I=(0,d.useCallback)(async e=>{if(!j)return;let t=(null==j?void 0:j.parent_key)===y.Ch,n={...j,name:e,parent_key:t?null:j.parent_key},r=await i(n);if((0,f.D4)(r)){N((0,_.Vo)((0,f.e$)(r.error)));return}O(r.data.fides_key),N((0,_.t5)("New label successfully created")),S(null)},[i,j,N]),k=s()(x,"active"),R=(0,p.Tg)([(0,y.aq)(e).CREATE]);return(0,a.jsxs)(h.Z,{title:"Taxonomy",children:[(0,a.jsxs)(l.jqI,{vertical:!0,className:"h-full",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(m.Z,{heading:"Taxonomy"}),(0,a.jsx)("div",{className:"hidden",children:(0,a.jsx)("div",{className:"mb-5 flex justify-between",children:(0,a.jsxs)(l.vyj.Compact,{children:[(0,a.jsx)(l.AntInput,{className:"min-w-[350px]",placeholder:"Search",allowClear:!0}),(0,a.jsx)(l.wpx,{type:"default",children:"Clear"})]})})})]}),(0,a.jsxs)("div",{className:"relative grow",children:[(0,a.jsx)("div",{className:"absolute left-2 top-2 z-[1]",children:(0,a.jsx)(l.AHg,{selectedKeys:[e],onSelect:e=>{let{key:n}=e;return t(n)},items:(()=>{let e={[y.Lo.DATA_CATEGORIES]:y.ac.DATA_CATEGORY,[y.Lo.DATA_USES]:y.ac.DATA_USE,[y.Lo.DATA_SUBJECTS]:y.ac.DATA_SUBJECT,[y.Lo.SYSTEM_GROUPS]:y.ac.SYSTEM_GROUP},t=(0,f.MM)(y.Lo).filter(e=>n||e.value!==y.Lo.SYSTEM_GROUPS).map(t=>({label:t.label,key:e[t.value]}));return(null==r?void 0:r.length)&&r.forEach(e=>{t.push({label:e.name,key:e.fides_key})}),t})(),"data-testid":"taxonomy-type-selector"})}),!!x.length&&(0,a.jsx)(ew,{userCanAddLabels:R,taxonomyItems:g?x:k,draftNewItem:j,lastCreatedItemKey:C,resetLastCreatedItemKey:()=>O(null),onTaxonomyItemClick:e=>{A(e)},onAddButtonClick:e=>{var t;S({parent_key:null!==(t=null==e?void 0:e.fides_key)&&void 0!==t?t:null,is_default:!1,description:""})},taxonomyType:e,onCancelDraftItem:()=>S(null),onSubmitDraftItem:I,isCreating:v})]})]}),T&&(0,a.jsx)(K,{taxonomyItem:T,taxonomyType:e,onClose:()=>A(null)})]})}},31883:function(e,t,n){"use strict";n.d(t,{Bw:function(){return r.Bw},D4:function(){return r.D4}});var r=n(19043)},1945:function(e){e.exports={input:"TaxonomyTextInputNode_input__P9czz"}},34770:function(e){e.exports={container:"TaxonomyTreeNode_container__T4KpF",button:"TaxonomyTreeNode_button__mcbOd","button--hover":"TaxonomyTreeNode_button--hover__oycXY","button--parent-hover":"TaxonomyTreeNode_button--parent-hover__pwAPl","button--inactive":"TaxonomyTreeNode_button--inactive__Fjdpe","add-button-container":"TaxonomyTreeNode_add-button-container__eEoRN","add-button":"TaxonomyTreeNode_add-button__oM2vI","add-button--visible":"TaxonomyTreeNode_add-button--visible__Ojqqf"}}},function(e){e.O(0,[1096,431,8765,9278,5163,3662,6148,7245,3772,2888,9774,179],function(){return e(e.s=71180)}),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-cyrillic-ext-400-normal.06b6faa3.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-cyrillic-400-normal.5122dff0.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-greek-ext-400-normal.2271c2a1.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-greek-400-normal.d1deb2fe.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-vietnamese-400-normal.ebde713a.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-latin-ext-400-normal.261aa6d4.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-latin-400-normal.493934f7.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-cyrillic-ext-500-normal.563e11f7.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-cyrillic-500-normal.017c512f.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-greek-ext-500-normal.9ef8ce0d.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-greek-500-normal.599dd974.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-vietnamese-500-normal.7b524ed3.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-latin-ext-500-normal.47503116.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-latin-500-normal.b7be75b9.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-cyrillic-ext-600-normal.4eb7a897.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-cyrillic-600-normal.9f2082d5.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-greek-ext-600-normal.04ef07b9.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-greek-600-normal.eff3b663.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-vietnamese-600-normal.eb82de1d.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-latin-ext-600-normal.0a04c3cd.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-latin-600-normal.a3e93aa0.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-cyrillic-ext-700-normal.7c668daa.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-cyrillic-700-normal.8b03fbd1.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-greek-ext-700-normal.5fb4f9ba.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-greek-700-normal.54b722f0.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-vietnamese-700-normal.00e401a9.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-latin-ext-700-normal.07491ea2.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-latin-700-normal.7ddf3c11.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.left-2{left:.5rem}.left-3{left:.75rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-8{right:2rem}.top-0{top:0}.top-2{top:.5rem}.top-3{top:.75rem}.top-8{top:2rem}.z-\[1\]{z-index:1}.z-\[2\]{z-index:2}.m-0{margin:0}.m-1{margin:.25rem}.mx-4{margin-left:1rem;margin-right:1rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.\!mb-0{margin-bottom:0!important}.\!mt-0{margin-top:0!important}.-ml-2{margin-left:-.5rem}.-mt-4{margin-top:-1rem}.-mt-px{margin-top:-1px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-px{margin-bottom:1px}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-\[10px\]{margin-right:10px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-\[-25px\]{margin-top:-25px}.mt-\[7\.25px\]{margin-top:7.25px}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.size-2{width:.5rem;height:.5rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-full{width:100%;height:100%}.h-4{height:1rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-\[150px\]{height:150px}.h-\[calc\(100\%-48px\)\]{height:calc(100% - 48px)}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-96{max-height:24rem}.\!w-80{width:20rem!important}.\!w-auto{width:auto!important}.w-0{width:0}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/5{width:20%}.w-2\/3{width:66.666667%}.w-32{width:8rem}.w-4\/5{width:80%}.w-48{width:12rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-80{width:20rem}.w-96{width:24rem}.w-\[432px\]{width:432px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-min{width:-moz-min-content;width:min-content}.min-w-0{min-width:0}.min-w-\[100px\]{min-width:100px}.min-w-\[125px\]{min-width:125px}.min-w-\[220px\]{min-width:220px}.min-w-\[300px\]{min-width:300px}.min-w-\[350px\]{min-width:350px}.\!max-w-\[200px\]{max-width:200px!important}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4{max-width:1rem}.max-w-40{max-width:10rem}.max-w-96{max-width:24rem}.max-w-\[250px\]{max-width:250px}.max-w-\[300px\]{max-width:300px}.max-w-\[70\%\]{max-width:70%}.max-w-full{max-width:100%}.max-w-screen-md{max-width:768px}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-1\/2{flex-basis:50%}.basis-1\/3{flex-basis:33.333333%}.rotate-180{--tw-rotate:180deg}.rotate-180,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.\!resize-none{resize:none!important}.resize{resize:both}.\!list-none{list-style-type:none!important}.list-disc{list-style-type:disc}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-t{border-top-width:1px}.\!border-none{border-style:none!important}.border-none{border-style:none}.border-\[\#DEE5EE\]{--tw-border-opacity:1;border-color:rgb(222 229 238/var(--tw-border-opacity,1))}.\!bg-transparent{background-color:transparent!important}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\[var\(--ant-padding\)\]{padding:var(--ant-padding)}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pl-0{padding-left:0}.pl-0\.5{padding-left:.125rem}.pl-1{padding-left:.25rem}.pl-2\.5{padding-left:.625rem}.pl-4{padding-left:1rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-\[var\(--ant-padding-xl\)\]{padding-right:var(--ant-padding-xl)}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-\[5px\]{padding-top:5px}.text-left{text-align:left}.text-center{text-align:center}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.align-text-bottom{vertical-align:text-bottom}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.ordinal{--tw-ordinal:ordinal}.ordinal,.tabular-nums{font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.tabular-nums{--tw-numeric-spacing:tabular-nums}.text-\[var\(--ant-font-size-sm\)\]{color:var(--ant-font-size-sm)}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-inherit{color:inherit}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-transparent{color:transparent}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\:\!bg-gray-700:hover{--tw-bg-opacity:1!important;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))!important}.hover\:bg-transparent:hover{background-color:transparent}.focus\:\!bg-gray-700:focus{--tw-bg-opacity:1!important;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))!important}.active\:bg-transparent:active{background-color:transparent}.group:hover .group-hover\:visible{visibility:visible}@media (min-width:1024px){.lg\:inline{display:inline}}@media (min-width:1280px){.xl\:block{display:block}.xl\:hidden{display:none}}@media (min-width:1536px){.\32xl\:w-\[432px\]{width:432px}}.\[\&_th\]\:\!break-normal th{overflow-wrap:normal!important;word-break:normal!important}:export{FIDESUI_FULL_BLACK:#000;FIDESUI_FULL_WHITE:#fff;FIDESUI_BG_WHITE:#fff;FIDESUI_NEUTRAL_50:#fafafa;FIDESUI_NEUTRAL_75:#f5f5f5;FIDESUI_NEUTRAL_100:#e6e6e8;FIDESUI_NEUTRAL_200:#d1d2d4;FIDESUI_NEUTRAL_300:#bcbec1;FIDESUI_NEUTRAL_400:#a8aaad;FIDESUI_NEUTRAL_500:#93969a;FIDESUI_NEUTRAL_600:#7e8185;FIDESUI_NEUTRAL_700:#696c71;FIDESUI_NEUTRAL_800:#53575c;FIDESUI_NEUTRAL_900:#2b2e35;FIDESUI_BG_DEFAULT:#f5f5f5;FIDESUI_CORINTH:#fafafa;FIDESUI_BG_CORINTH:#fafafa;FIDESUI_LIMESTONE:#f1efee;FIDESUI_MINOS:#2b2e35;FIDESUI_BG_MINOS:#4f525b;FIDESUI_TERRACOTTA:#b9704b;FIDESUI_BG_TERRACOTTA:#f1b193;FIDESUI_OLIVE:#999b83;FIDESUI_BG_OLIVE:#d4d5c8;FIDESUI_MARBLE:#cdd2d3;FIDESUI_BG_MARBLE:#e1e5e6;FIDESUI_SANDSTONE:#cecac2;FIDESUI_BG_SANDSTONE:#e3e0d9;FIDESUI_NECTAR:#f0ebc1;FIDESUI_BG_NECTAR:#f5f2d7;FIDESUI_ERROR:#d9534f;FIDESUI_BG_ERROR:#f7c2c2;FIDESUI_WARNING:#e59d47;FIDESUI_BG_WARNING:#fbddb5;FIDESUI_BG_CAUTION:#f6e3a4;FIDESUI_SUCCESS:#5a9a68;FIDESUI_BG_SUCCESS:#c3e6b2;FIDESUI_INFO:#4a90e2;FIDESUI_BG_INFO:#a5d6f3;FIDESUI_ALERT:#7b4ea9;FIDESUI_BG_ALERT:#d9b0d7;FIDESUI_ERROR_TEXT:#d32f2f;FIDESUI_SUCCESS_TEXT:#388e3c;FIDESUI_LINK:#2272ce}h1,h2,h3,h4,h5,h6{font-weight:700}:root{--fidesui-full-black:#000;--fidesui-full-white:#fff;--fidesui-bg-white:#fff;--fidesui-neutral-50:#fafafa;--fidesui-neutral-75:#f5f5f5;--fidesui-neutral-100:#e6e6e8;--fidesui-neutral-200:#d1d2d4;--fidesui-neutral-300:#bcbec1;--fidesui-neutral-400:#a8aaad;--fidesui-neutral-500:#93969a;--fidesui-neutral-600:#7e8185;--fidesui-neutral-700:#696c71;--fidesui-neutral-800:#53575c;--fidesui-neutral-900:#2b2e35;--fidesui-bg-default:#f5f5f5;--fidesui-corinth:#fafafa;--fidesui-bg-corinth:#fafafa;--fidesui-limestone:#f1efee;--fidesui-minos:#2b2e35;--fidesui-bg-minos:#4f525b;--fidesui-terracotta:#b9704b;--fidesui-bg-terracotta:#f1b193;--fidesui-olive:#999b83;--fidesui-bg-olive:#d4d5c8;--fidesui-marble:#cdd2d3;--fidesui-bg-marble:#e1e5e6;--fidesui-sandstone:#cecac2;--fidesui-bg-sandstone:#e3e0d9;--fidesui-nectar:#f0ebc1;--fidesui-bg-nectar:#f5f2d7;--fidesui-error:#d9534f;--fidesui-bg-error:#f7c2c2;--fidesui-warning:#e59d47;--fidesui-bg-warning:#fbddb5;--fidesui-bg-caution:#f6e3a4;--fidesui-success:#5a9a68;--fidesui-bg-success:#c3e6b2;--fidesui-info:#4a90e2;--fidesui-bg-info:#a5d6f3;--fidesui-alert:#7b4ea9;--fidesui-bg-alert:#d9b0d7;--fidesui-error-text:#d32f2f;--fidesui-success-text:#388e3c;--fidesui-link:#2272ce}:focus-visible{outline-color:var(--fidesui-minos)}.ant-input-compact-item.ant-input-css-var{--ant-color-border:var(--fidesui-neutral-200);--ant-input-hover-border-color:var(--fidesui-neutral-200)}.ant-btn-compact-item.ant-btn-variant-outlined{--ant-button-default-border-color:var(--fidesui-neutral-200);--ant-button-default-hover-border-color:var(--fidesui-neutral-200);--ant-button-default-hover-bg:var(--fidesui-neutral-200);--ant-button-default-bg:var(--fidesui-neutral-50)}.ant-btn-icon{line-height:1}.ant-form-item-label{font-weight:600}.ant-menu-dark .ant-menu-sub>.ant-menu-item>.ant-menu-title-content a{color:var(--fidesui-neutral-200)}.ant-menu-dark .ant-menu-sub>.ant-menu-item>.ant-menu-title-content a:focus-visible{text-decoration:underline}.ant-menu-dark .ant-menu-sub>.ant-menu-item:focus-within:not(.ant-menu-item-selected){background-color:var(--fidesui-neutral-800)}.ant-menu-dark .ant-menu-sub>.ant-menu-item:hover{--ant-menu-dark-item-hover-bg:var(--fidesui-neutral-800)}.ant-menu-dark .ant-menu-sub>.ant-menu-item.ant-menu-item-selected>.ant-menu-title-content a{color:var(--fidesui-minos)}.ant-menu .ant-menu-submenu-arrow{--ant-border-radius:0px}.ant-menu .ant-menu-submenu-arrow:after,.ant-menu .ant-menu-submenu-arrow:before{width:calc(var(--ant-font-size)/7*5*.65)}.ant-menu.ant-menu-horizontal .ant-menu-item:first-child{padding-left:0}.ant-menu.ant-menu-horizontal .ant-menu-item:first-child:after{inset-inline-start:0}.ant-input:-moz-read-only{--ant-color-text:var(--fidesui-neutral-700);--ant-color-bg-container:var(--fidesui-neutral-50);--ant-input-hover-bg:var(--fidesui-neutral-50);--ant-input-active-bg:var(--fidesui-neutral-50);--ant-input-active-border-color:var(--ant-color-border);--ant-input-hover-border-color:var(--ant-color-border);--ant-input-active-shadow:none;--ant-input-hove-shadow:none}.ant-input:read-only{--ant-color-text:var(--fidesui-neutral-700);--ant-color-bg-container:var(--fidesui-neutral-50);--ant-input-hover-bg:var(--fidesui-neutral-50);--ant-input-active-bg:var(--fidesui-neutral-50);--ant-input-active-border-color:var(--ant-color-border);--ant-input-hover-border-color:var(--ant-color-border);--ant-input-active-shadow:none;--ant-input-hove-shadow:none}.ant-steps-item-title{font-weight:500}.ant-table-wrapper .ant-table{--ant-table-header-icon-color:var(--fidesui-neutral-300)}.ant-table-cell *{--ant-font-size:var(--ant-table-cell-font-size-sm)}.ant-list :focus-visible{outline:auto}.ant-list .ant-list-item .ant-list-item-meta .ant-list-item-meta-title>a:focus-visible,.ant-list .ant-list-item .ant-list-item-meta .ant-list-item-meta-title>a:hover,.ant-list .ant-list-item-meta-title a:focus-visible,.ant-list .ant-list-item-meta-title a:hover{color:var(--fidesui-neutral-600)}.ant-select-dropdown .ant-select-item-group{font-weight:600;font-size:var(--ant-select-option-font-size);color:var(--ant-color-text);border-radius:0}.ant-select-dropdown .ant-select-item-group:not(:first-child){border-top:1px solid var(--ant-color-border)}.ant-progress-steps-item{border-radius:calc(var(--ant-progress-line-border-radius)/40)}.ant-tree .ant-tree-node-content-wrapper{white-space:nowrap}.ant-list .ant-list-item .ant-list-item-action li{padding-left:0}.ant-list-item-action-split{display:none}.ant-popover .ant-popover-inner-content{--ant-popover-inner-content-padding:0}.CustomTypography_paragraph__c2AID.ant-typography{margin-bottom:0}.CustomTypography_paragraph__c2AID.ant-typography:not(:last-child){margin-bottom:1em}.CustomTypography_sm__pWu1p{font-size:var(--ant-font-size-sm)!important}.CustomTypography_default__ZT1tF{font-size:var(--ant-font-size)!important}.CustomTypography_lg__dP6f4{font-size:var(--ant-font-size-lg)!important}.CustomTypography_h1__HnHaB{font-size:var(--ant-font-size-heading-1)!important}.CustomTypography_h2__D50up{font-size:var(--ant-font-size-heading-2)!important}.CustomTypography_h3__gBiAY{font-size:var(--ant-font-size-heading-3)!important}.CustomTypography_h4__r1NNB{font-size:var(--ant-font-size-heading-4)!important}.CustomTypography_h5__TUNTk{font-size:var(--ant-font-size-heading-5)!important}.CustomTypography_primaryColorLink__t9FZ3{color:var(--fides-color-primary)!important}.CustomTypography_primaryColorLink__t9FZ3 strong{color:inherit!important;text-decoration:inherit!important}.CustomTypography_primaryColorLink__t9FZ3:hover{color:var(--fidesui-neutral-800)!important;text-decoration:underline!important}.CustomTypography_unStyled__SED1R{color:inherit!important;text-decoration:inherit!important}.CustomTableHeaderCell_customTableHeaderCell__YXEen{display:flex;align-items:center}.CustomTableHeaderCell_customTableHeaderCell__children__WxTeU{flex:1}.CustomTableHeaderCell_customTableHeaderCell__button__xSmE5.ant-table-filter-trigger{margin-inline-start:calc(var(--ant-table-cell-padding-inline-sm)/2);width:20px}.CustomTag_tag__4q0OL{display:inline-flex;align-items:center;gap:calc(var(--ant-margin-xs)*.75);line-height:calc(var(--ant-line-height-sm)*var(--ant-font-size-sm) - 2px);min-height:calc(var(--ant-line-height-sm)*var(--ant-font-size-sm));font-weight:400;--ant-padding-xxs:0}.CustomTag_tag__4q0OL svg:not([data-icon]){width:10px;height:10px}.CustomTag_tag__4q0OL .ant-tag-close-icon svg{width:12px;height:12px}.CustomTag_buttonTag__IYAPu{border-radius:var(--ant-border-radius-sm)}.CustomTag_buttonTag__IYAPu:focus .ant-tag,.CustomTag_buttonTag__IYAPu:hover .ant-tag{background:#fafafa!important}.CustomTag_buttonTag__IYAPu:focus-visible{outline:none}.CustomTag_buttonTag__IYAPu:focus-visible .ant-tag{border:1px solid #2b2e35}.CustomTag_closeButton__Un_6X{border-radius:var(--ant-border-radius-xs)}.CustomTag_closeButton__Un_6X:focus-visible{outline:1px solid #2b2e35;outline-offset:2px}.CustomTooltip_tooltipChild__uzOBp{--custom-tooltip-outline-width:1px}.CustomTooltip_tooltipChild__uzOBp:focus-visible{outline:var(--custom-tooltip-outline-width) dashed #2b2e35;outline-offset:1px;transition:outline-offset 0s,outline 0s}.FloatingMenu_menu__msgMt{--ant-menu-item-height:36px!important;--ant-menu-item-margin-inline:8px!important;--ant-menu-item-width:calc(100% - 16px)!important;padding-top:4px;padding-bottom:4px;border-radius:6px;box-shadow:0 4px 6px -2px rgba(0,0,0,.05),0 10px 15px -3px rgba(0,0,0,.1)!important}.SelectInline_selectInlineRoot__sebHb{--ant-padding-sm:0;--ant-padding-xxs:0;--ant-select-multiple-selector-bg-disabled:transparent!important;--ant-select-option-selected-font-weight:400!important}.SelectInline_selectInlineRoot__sebHb .ant-select-selector{cursor:auto!important}.NavMenu_menu__ecOrj{--ant-menu-item-margin-block:0!important;--ant-menu-item-margin-inline:0!important;--ant-menu-item-width:100%!important;--ant-margin:8px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/4d3cb2ffee0cfa2c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/4d3cb2ffee0cfa2c.css" data-n-g=""/><link rel="preload" href="/_next/static/css/f9a2a44d3d34c904.css" as="style"/><link rel="stylesheet" href="/_next/static/css/f9a2a44d3d34c904.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-3a17ce9d4ecac24a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-32ece8369a437df8.js" defer=""></script><script src="/_next/static/chunks/431-e01ee730c8ad9ece.js" defer=""></script><script src="/_next/static/chunks/8765-f622a35b40a7ec63.js" defer=""></script><script src="/_next/static/chunks/9278-08cc704317fe535e.js" defer=""></script><script src="/_next/static/chunks/5163-e682273cd76a7d07.js" defer=""></script><script src="/_next/static/chunks/6344-ca66a6e10d128179.js" defer=""></script><script src="/_next/static/chunks/7245-305e4a8a8be70fad.js" defer=""></script><script src="/_next/static/chunks/401-63df8127ab5e8b1a.js" defer=""></script><script src="/_next/static/chunks/7059-362b53ad2cbe480e.js" defer=""></script><script src="/_next/static/chunks/1437-c3c8f421fc8d9bf7.js" defer=""></script><script src="/_next/static/chunks/pages/data-discovery/action-center/%5BmonitorId%5D/%5BsystemId%5D-b45b49ab68d15585.js" defer=""></script><script src="/_next/static/KrreFSHeuO3A1ZudBtGj2/_buildManifest.js" defer=""></script><script src="/_next/static/KrreFSHeuO3A1ZudBtGj2/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/data-discovery/action-center/[monitorId]/[systemId]","query":{},"buildId":"KrreFSHeuO3A1ZudBtGj2","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/4d3cb2ffee0cfa2c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/4d3cb2ffee0cfa2c.css" data-n-g=""/><link rel="preload" href="/_next/static/css/cb417f0587918f85.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cb417f0587918f85.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-3a17ce9d4ecac24a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-32ece8369a437df8.js" defer=""></script><script src="/_next/static/chunks/431-e01ee730c8ad9ece.js" defer=""></script><script src="/_next/static/chunks/8765-f622a35b40a7ec63.js" defer=""></script><script src="/_next/static/chunks/9278-08cc704317fe535e.js" defer=""></script><script src="/_next/static/chunks/5163-e682273cd76a7d07.js" defer=""></script><script src="/_next/static/chunks/7245-305e4a8a8be70fad.js" defer=""></script><script src="/_next/static/chunks/4817-cb54f4a8ed82122f.js" defer=""></script><script src="/_next/static/chunks/7059-362b53ad2cbe480e.js" defer=""></script><script src="/_next/static/chunks/9965-bd9d95c187ddcda5.js" defer=""></script><script src="/_next/static/chunks/pages/data-discovery/action-center/%5BmonitorId%5D-ee1cf6e7f60d46db.js" defer=""></script><script src="/_next/static/KrreFSHeuO3A1ZudBtGj2/_buildManifest.js" defer=""></script><script src="/_next/static/KrreFSHeuO3A1ZudBtGj2/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/data-discovery/action-center/[monitorId]","query":{},"buildId":"KrreFSHeuO3A1ZudBtGj2","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/4d3cb2ffee0cfa2c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/4d3cb2ffee0cfa2c.css" data-n-g=""/><link rel="preload" href="/_next/static/css/a1800714b486e230.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a1800714b486e230.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-3a17ce9d4ecac24a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-32ece8369a437df8.js" defer=""></script><script src="/_next/static/chunks/431-e01ee730c8ad9ece.js" defer=""></script><script src="/_next/static/chunks/8765-f622a35b40a7ec63.js" defer=""></script><script src="/_next/static/chunks/9278-08cc704317fe535e.js" defer=""></script><script src="/_next/static/chunks/5163-e682273cd76a7d07.js" defer=""></script><script src="/_next/static/chunks/7245-305e4a8a8be70fad.js" defer=""></script><script src="/_next/static/chunks/7059-362b53ad2cbe480e.js" defer=""></script><script src="/_next/static/chunks/pages/data-discovery/action-center/data-explorer/%5BmonitorId%5D-1cebd59598196388.js" defer=""></script><script src="/_next/static/KrreFSHeuO3A1ZudBtGj2/_buildManifest.js" defer=""></script><script src="/_next/static/KrreFSHeuO3A1ZudBtGj2/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/data-discovery/action-center/data-explorer/[monitorId]","query":{},"buildId":"KrreFSHeuO3A1ZudBtGj2","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/4d3cb2ffee0cfa2c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/4d3cb2ffee0cfa2c.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-3a17ce9d4ecac24a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-32ece8369a437df8.js" defer=""></script><script src="/_next/static/chunks/pages/data-discovery/action-center/data-explorer-a725550fc25e45e2.js" defer=""></script><script src="/_next/static/KrreFSHeuO3A1ZudBtGj2/_buildManifest.js" defer=""></script><script src="/_next/static/KrreFSHeuO3A1ZudBtGj2/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/data-discovery/action-center/data-explorer","query":{},"buildId":"KrreFSHeuO3A1ZudBtGj2","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|