ethyca-fides 2.65.0rc3__py2.py3-none-any.whl → 2.65.0rc5__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.65.0rc3.dist-info → ethyca_fides-2.65.0rc5.dist-info}/METADATA +1 -1
- {ethyca_fides-2.65.0rc3.dist-info → ethyca_fides-2.65.0rc5.dist-info}/RECORD +193 -192
- fides/_version.py +3 -3
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/H6J379bxdB7afh9KsNn3m/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3450-1088b1f14a3dc618.js → 3450-48fe55b339a61586.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3855-abbb601a0115e0e2.js → 3855-44e1171660633b6f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3872-dc8084d7df0f12e5.js → 3872-a7ee651751f5e145.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/3988-046b3a2866b5cb99.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4121-536e7e853d0833c0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{431-cc1200b1bec1e1ad.js → 431-458946a2cae21b5d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5309-a7b637d2e3830582.js → 5309-018fe2068151d699.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6662-29c0da492e0686a5.js → 6662-9fdd39c18df7c887.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6882-306b98265a440778.js → 6882-f807b643776c8d47.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7476-c3951a31cc8e30f4.js → 7476-7fc24f19a2cc563a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{79-acd3fc646456c35c.js → 79-d4c8900a83eb83bc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{796-231bc790c78485ec.js → 796-a98f370ec9b5cbf9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9046-e28291074efc2b9c.js → 9046-b3dccae317a7bae5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-3c2c13846cf0246c.js → _app-1ca52174d2d533c0.js} +5 -5
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{configure-0bafadd4832888a2.js → configure-3ede98dedea9f621.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-2733b87269ad53d6.js → privacy-experience-efa0f3e3991dc139.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-notices-61625c45fdcf931f.js → privacy-notices-25cb30b4585622d6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{reporting-60272475cb0770fc.js → reporting-b65b5ab73dfcb801.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/{[projectUrn]-0b3847fe39d90f6d.js → [projectUrn]-c956a3faed9f922c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{projects-12f7220f0ef3a50c.js → projects-691e19bdd29b8c3b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{resources-d8db234a44a2ddf4.js → resources-7648bbd4f6711e4d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-de21ee9984a0e989.js → data-catalog-b1616ecfd86a2e2e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/{[systemId]-4b1956ba13d00d12.js → [systemId]-052028439e802c76.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/{[monitorId]-0d09001cbefac14b.js → [monitorId]-99d3a2197ab8a9b0.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{action-center-743321764a03e68d.js → action-center-a694e71d11bed653.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{activity-741553e7f5e5dad3.js → activity-312edbab3c17f26a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{datamap-286a2f95a62eaa92.js → datamap-e8bfa1a3a8b84b6d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-1574f9f99f3fbd4d.js → [...subfieldNames]-0908c69f0e44df4f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-7137e44d09c4e66f.js → [collectionName]-8383a9ae58a43e3e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{[datasetId]-4523752f57210b05.js → [datasetId]-286826d09c6304a0.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-d1191d3fbb953e64.js → dataset-dee8f5a0afbc5ec9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/{[id]-c7355ec8b1375390.js → [id]-897665973e3e8348.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-4ce156e73fe3608f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{messaging-40fa5eff36a01f41.js → messaging-10084105bae43a19.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-104f33c424613732.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-b1772281866cb827.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/{datamap-d9b31c6172f67b4c.js → datamap-49e5607055db1bee.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/{[purpose_id]-492682d276a487c3.js → [purpose_id]-c54d90dd4ac04de3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{custom-fields-1a7786045d55904c.js → custom-fields-80bf043deb37a20c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domain-records-c62f0e6538a0f14f.js → domain-records-c2ef327dc49618e9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{systems-f23101c2c99a9abf.js → systems-5332864c5e8595dc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/webpack-8fc1c717e1c0f7ae.js +1 -0
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.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/images/connector-logos/manual_tasks.svg +25 -0
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/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/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/settings/about/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.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- fides/ui-build/static/admin/_next/static/_Fm4x5HeQXsJ2c2T4P7Lj/_buildManifest.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1169-60d4b584fde8ce55.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4121-a3935e484614d586.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-2f51dd2ebc800c0d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-2f2410cdb2f2a918.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-d731dd036a0eb44d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/webpack-933716e3b2904850.js +0 -1
- {ethyca_fides-2.65.0rc3.dist-info → ethyca_fides-2.65.0rc5.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.65.0rc3.dist-info → ethyca_fides-2.65.0rc5.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.65.0rc3.dist-info → ethyca_fides-2.65.0rc5.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.65.0rc3.dist-info → ethyca_fides-2.65.0rc5.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{_Fm4x5HeQXsJ2c2T4P7Lj → H6J379bxdB7afh9KsNn3m}/_ssgManifest.js +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{1040-63c82622e8aee766.js → 1040-94f81c731c29246d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{1817-d6531612cc594bf1.js → 1817-f2f34b8bd569ae1d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{2921-39af9657977fa42c.js → 2921-c19da1016b81bda3.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{3923-da789f963d161387.js → 3923-5a82816119f8f907.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{401-54fe500e30c5ea66.js → 401-7fa53f1e774e02fb.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{409-7c75e7a5cd4251a2.js → 409-03011bbedb4d72f6.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{4230-aeff8d542b494207.js → 4230-864eac33691cd299.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{5574-1eb6600d144c90d7.js → 5574-48d7c9a526a3a0fe.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{6084-a596a272a2cc1c93.js → 6084-4a1964e1b20c9eee.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{6853-7abe83702dff33b3.js → 6853-19268388843a58f5.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{6954-0294aa483799cd3a.js → 6954-ec0697d355730f74.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{7630-4797e955264ba37b.js → 7630-e0e04e495732ae8f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{787-8c3cff5b5504bbfc.js → 787-0c18bf9acef937de.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{9226-e1ab0a8311cfcef5.js → 9226-a5904e64ab72cb18.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{9767-5700ef84bfa4689a.js → 9767-67ac42acb6d83d3f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{9826-a7302c609a0ae585.js → 9826-7b769d4863df242a.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{9951-81e6a96c892bce10.js → 9951-0bd10606966aeddc.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{404-136cdc66cc546bf9.js → 404-ac335065bc49f818.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-ec060a0c3e154265.js → manual-3964f3039ce3f18c.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-1115a66a27198dd2.js → multiple-a2ae50c2f0e7608e.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{add-systems-e857d1d6fa43adb9.js → add-systems-4f20f18ec01fd15a.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-01a209a73ca6db10.js → add-vendors-4957c0b6fa498f6e.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-419ce6a7f72b10b1.js → [id]-f285b2dca83711ba.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-caa7ecb68d6b5c77.js → [id]-21c96b42424c33bc.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-767c51405b61ad4e.js → new-e494f14ce371390c.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{properties-ae989bd5c2b202f9.js → properties-78ba4553dd12d0d3.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{consent-4d2df7770ab3c3c8.js → consent-87c06e0daf2b2e87.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-5b58be23debaaecc.js → new-021f5f99ae01ec07.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-8adf2e814c3b9e0d.js → [id]-1b7bfb005fd8e4e1.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-e648583cdd77269f.js → new-b737165f7752f039.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{datastore-connection-b15447b9e74cd9ca.js → datastore-connection-6b02666ce735e092.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{index-215da7ae60a37272.js → index-99ad22eddbb6b7f2.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{[id]-4b9ab7dc0267f8a8.js → [id]-8970d29f1710f486.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{add-template-80b95a87ca4a9a0e.js → add-template-db905b79b189989c.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/{ant-components-6e551f937e1b70f3.js → ant-components-cf7c0b3782c0c7a6.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{AntForm-49eb4b84e5f07ead.js → AntForm-8cf5c6bb7f4595eb.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikAntFormItem-0c523d8323b900a8.js → FormikAntFormItem-01904c9c8521ef1c.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikControlled-3bf5a95f470f351b.js → FormikControlled-ed8c23307b2b6868.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikField-2056140039ebb8dd.js → FormikField-3ec8e1811906a1d2.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/{forms-641937410482819f.js → forms-18fc8b3a8ccfc80b.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/{table-migration-00d2be9ac59028cf.js → table-migration-372166dc1d6268ea.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{messaging-d31a1d8f3c573023.js → messaging-a29479bc35b00f45.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{storage-f3ec1a691bb7a6b6.js → storage-10e2886bc4d4f62b.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{configure-623420abd445b87d.js → configure-340150cac5bf8e4a.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{[id]-202ba739110fbcc5.js → [id]-d9cdc82249593440.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-51fc662b550db919.js → add-property-d2e0236ab65b1fb9.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{properties-95f73dad295c22c9.js → properties-156bd0e36831ed04.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/about/{alpha-1d96cc94c9f9d57a.js → alpha-68697c49b290ba50.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{about-0102ed2e53aac3f8.js → about-a45a5b9f78c64e27.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{consent-dbef1e775cae0b4b.js → consent-2ecf179f6587e3b3.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domains-f3ccf59e0cef58c6.js → domains-bdc7ee59802c2e4a.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{email-templates-efdf18eadaf4e6df.js → email-templates-6af619d1d57bb99c.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-c5fdc67504da5d52.js → locations-09cb08245844c601.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-d57f3e3a1926ec3c.js → organization-d9e7feee568f6e35.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-a92d6a45948774a4.js → regulations-7cfbb9149f96961a.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-f2749e3deaf2de1b.js → test-datasets-bf283f27c1fa2953.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-5750b7b195f4e050.js → [id]-0252e5f648c5e3f8.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{taxonomy-40bdf2e4c0a6a6d5.js → taxonomy-80f4ab8b7b6e7f5e.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-c9ea4777da2b9148.js → [id]-e607e07bd1ef2da0.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-542d299555665262.js → user-management-d539f1c4e6adf73a.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3855],{66726:function(e,t,i){var r=i(11611),n=i(82846),a=i(91936),s=Math.max,l=Math.min;e.exports=function(e,t,i){var o,c,u,d,p,g,f=0,x=!1,h=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function j(t){var i=o,r=c;return o=c=void 0,f=t,d=e.apply(r,i)}function m(e){var i=e-g,r=e-f;return void 0===g||i>=t||i<0||h&&r>=u}function C(){var e,i,r,a=n();if(m(a))return y(a);p=setTimeout(C,(e=a-g,i=a-f,r=t-e,h?l(r,u-i):r))}function y(e){return(p=void 0,v&&o)?j(e):(o=c=void 0,d)}function I(){var e,i=n(),r=m(i);if(o=arguments,c=this,g=i,r){if(void 0===p)return f=e=g,p=setTimeout(C,t),x?j(e):d;if(h)return clearTimeout(p),p=setTimeout(C,t),j(g)}return void 0===p&&(p=setTimeout(C,t)),d}return t=a(t)||0,r(i)&&(x=!!i.leading,u=(h="maxWait"in i)?s(a(i.maxWait)||0,t):u,v="trailing"in i?!!i.trailing:v),I.cancel=function(){void 0!==p&&clearTimeout(p),f=0,o=g=c=p=void 0},I.flush=function(){return void 0===p?d:y(n())},I}},82846:function(e,t,i){var r=i(77400);e.exports=function(){return r.Date.now()}},30952:function(e,t,i){"use strict";i.d(t,{f:function(){return o}});var r=i(24246),n=i(66726),a=i.n(n),s=i(27378),l=i(26917);let o=e=>{let{value:t,onChange:i,placeholder:n,...o}=e,[c,u]=(0,s.useState)(t),d=a()(i,500),p=(0,s.useCallback)(e=>{u(e),d(e)},[]);return(0,r.jsx)(l.Z,{value:c,onChange:p,onClear:()=>{u(""),i("")},placeholder:n,...o})}},14047:function(e,t,i){"use strict";i.d(t,{H:function(){return a},V:function(){return r.V}});var r=i(84306),n=i(812);let a=()=>{let{errorAlert:e}=(0,r.V)();return{handleError:t=>{let i="An unexpected error occurred. Please try again.";(0,n.Ot)(t)?i=t.data.detail:(0,n.tB)(t)&&(i=t.data.detail[0].msg),e(i)}}}},84306:function(e,t,i){"use strict";i.d(t,{V:function(){return a}});var r=i(24246),n=i(86920);let a=()=>{let e=(0,n.pmc)();return{errorAlert:(t,i,a)=>{let s={...a,position:(null==a?void 0:a.position)||"top",render:e=>{let{onClose:a}=e;return(0,r.jsxs)(n.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,r.jsx)(n.zMQ,{}),(0,r.jsxs)(n.xuv,{children:[i&&(0,r.jsx)(n.CdC,{children:i}),(0,r.jsx)(n.XaZ,{children:t})]}),(0,r.jsx)(n.PZ7,{onClick:a,position:"relative",right:0,size:"sm",top:-1})]})}};(null==a?void 0:a.id)&&e.isActive(a.id)?e.update(a.id,s):e(s)},successAlert:(t,i,a)=>{let s={...a,position:(null==a?void 0:a.position)||"top",render:e=>{let{onClose:a}=e;return(0,r.jsxs)(n.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,r.jsx)(n.zMQ,{}),(0,r.jsxs)(n.xuv,{children:[i&&(0,r.jsx)(n.CdC,{children:i}),(0,r.jsx)(n.XaZ,{children:t})]}),(0,r.jsx)(n.PZ7,{onClick:a,position:"relative",right:0,size:"sm",top:-1})]})}};(null==a?void 0:a.id)&&e.isActive(a.id)?e.update(a.id,s):e(s)}}}},81406:function(e,t,i){"use strict";var r=i(24246),n=i(86920);t.Z=()=>(0,r.jsxs)(n.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:[(0,r.jsx)(n.xvT,{fontSize:"md",fontWeight:"600",children:"No resources found"}),(0,r.jsx)(n.xvT,{fontSize:"sm",children:"You're up to date!"})]})},25077:function(e,t,i){"use strict";i.d(t,{Z:function(){return A}});var r=i(24246),n=i(59003),a=i(92222),s=i(86920),l=i(27378),o=i(30952),c=i(
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3855],{66726:function(e,t,i){var r=i(11611),n=i(82846),a=i(91936),s=Math.max,l=Math.min;e.exports=function(e,t,i){var o,c,u,d,p,g,f=0,x=!1,h=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function j(t){var i=o,r=c;return o=c=void 0,f=t,d=e.apply(r,i)}function m(e){var i=e-g,r=e-f;return void 0===g||i>=t||i<0||h&&r>=u}function C(){var e,i,r,a=n();if(m(a))return y(a);p=setTimeout(C,(e=a-g,i=a-f,r=t-e,h?l(r,u-i):r))}function y(e){return(p=void 0,v&&o)?j(e):(o=c=void 0,d)}function I(){var e,i=n(),r=m(i);if(o=arguments,c=this,g=i,r){if(void 0===p)return f=e=g,p=setTimeout(C,t),x?j(e):d;if(h)return clearTimeout(p),p=setTimeout(C,t),j(g)}return void 0===p&&(p=setTimeout(C,t)),d}return t=a(t)||0,r(i)&&(x=!!i.leading,u=(h="maxWait"in i)?s(a(i.maxWait)||0,t):u,v="trailing"in i?!!i.trailing:v),I.cancel=function(){void 0!==p&&clearTimeout(p),f=0,o=g=c=p=void 0},I.flush=function(){return void 0===p?d:y(n())},I}},82846:function(e,t,i){var r=i(77400);e.exports=function(){return r.Date.now()}},30952:function(e,t,i){"use strict";i.d(t,{f:function(){return o}});var r=i(24246),n=i(66726),a=i.n(n),s=i(27378),l=i(26917);let o=e=>{let{value:t,onChange:i,placeholder:n,...o}=e,[c,u]=(0,s.useState)(t),d=a()(i,500),p=(0,s.useCallback)(e=>{u(e),d(e)},[]);return(0,r.jsx)(l.Z,{value:c,onChange:p,onClear:()=>{u(""),i("")},placeholder:n,...o})}},14047:function(e,t,i){"use strict";i.d(t,{H:function(){return a},V:function(){return r.V}});var r=i(84306),n=i(812);let a=()=>{let{errorAlert:e}=(0,r.V)();return{handleError:t=>{let i="An unexpected error occurred. Please try again.";(0,n.Ot)(t)?i=t.data.detail:(0,n.tB)(t)&&(i=t.data.detail[0].msg),e(i)}}}},84306:function(e,t,i){"use strict";i.d(t,{V:function(){return a}});var r=i(24246),n=i(86920);let a=()=>{let e=(0,n.pmc)();return{errorAlert:(t,i,a)=>{let s={...a,position:(null==a?void 0:a.position)||"top",render:e=>{let{onClose:a}=e;return(0,r.jsxs)(n.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,r.jsx)(n.zMQ,{}),(0,r.jsxs)(n.xuv,{children:[i&&(0,r.jsx)(n.CdC,{children:i}),(0,r.jsx)(n.XaZ,{children:t})]}),(0,r.jsx)(n.PZ7,{onClick:a,position:"relative",right:0,size:"sm",top:-1})]})}};(null==a?void 0:a.id)&&e.isActive(a.id)?e.update(a.id,s):e(s)},successAlert:(t,i,a)=>{let s={...a,position:(null==a?void 0:a.position)||"top",render:e=>{let{onClose:a}=e;return(0,r.jsxs)(n.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,r.jsx)(n.zMQ,{}),(0,r.jsxs)(n.xuv,{children:[i&&(0,r.jsx)(n.CdC,{children:i}),(0,r.jsx)(n.XaZ,{children:t})]}),(0,r.jsx)(n.PZ7,{onClick:a,position:"relative",right:0,size:"sm",top:-1})]})}};(null==a?void 0:a.id)&&e.isActive(a.id)?e.update(a.id,s):e(s)}}}},81406:function(e,t,i){"use strict";var r=i(24246),n=i(86920);t.Z=()=>(0,r.jsxs)(n.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:[(0,r.jsx)(n.xvT,{fontSize:"md",fontWeight:"600",children:"No resources found"}),(0,r.jsx)(n.xvT,{fontSize:"sm",children:"You're up to date!"})]})},25077:function(e,t,i){"use strict";i.d(t,{Z:function(){return A}});var r=i(24246),n=i(59003),a=i(92222),s=i(86920),l=i(27378),o=i(30952),c=i(47935),u=i(81406),d=i(99763),p=i(72625),g=i(14047),f=i(28976),x=i(8151),h=i(70675),v=e=>{let{resource:t,onDetailClick:i}=e,{successAlert:n}=(0,g.V)(),a=(0,x.u)(t),[l,{isLoading:o}]=(0,h.v8)(),[c,{isLoading:u}]=(0,h.cM)(),[d,{isLoading:p}]=(0,h.vi)(),v=async()=>{var e;await l({staged_resource_urn:t.urn,monitor_config_id:t.monitor_config_id,unmute_children:!0,classify_monitored_resources:!0}),n("Started classification on ".concat(null!==(e=t.name)&&void 0!==e?e:"this resource"))},j=async()=>{var e;await c({staged_resource_urn:t.urn}),n("Approved ".concat(null!==(e=t.name)&&void 0!==e?e:" resource"))},m=async()=>{var e;await d({staged_resource_urn:t.urn}),n("Hid ".concat(null!==(e=t.name)&&void 0!==e?e:" resource"))},C=o||u||p;return(0,r.jsxs)(s.kCb,{gap:2,justify:"space-between",children:[a===x.e.ATTENTION_REQUIRED&&(0,r.jsx)(s.wpx,{size:"small",onClick:v,loading:o,disabled:C,"data-testid":"classify-btn",children:"Classify"}),a===x.e.IN_REVIEW&&(0,r.jsx)(s.wpx,{size:"small",onClick:j,loading:u,disabled:C,"data-testid":"approve-btn",children:"Approve"}),(0,r.jsx)(s.LZC,{}),(0,r.jsx)(f.Z,{onHideClick:m,onDetailClick:i})]})},j=i(89200),m=i(5945),C=i(61099),y=i(79947),I=i(68309);let L=(0,a.Cl)();var _=(e,t)=>{let i=[];return e?e===I.D$.TABLE?[L.display({id:"name",cell:e=>{let{row:t}=e;return(0,r.jsx)(j.Z,{resource:t.original})},header:"Table"}),L.display({id:"status",cell:e=>{let{row:t}=e;return(0,r.jsx)(m.Z,{status:(0,x.u)(t.original)})},header:"Status"}),L.display({id:"category",cell:e=>{let{row:t}=e;return(0,r.jsx)(C.Z,{resource:t.original})},header:"Data categories",minSize:280,meta:{disableRowClick:!0}}),L.accessor(e=>e.description,{id:"description",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:"Description"}),L.accessor(e=>e.updated_at,{id:"lastUpdated",cell:e=>(0,r.jsx)(p.Cy,{time:e.getValue()}),header:"Updated"}),L.display({id:"actions",cell:e=>{let{row:i}=e;return(0,r.jsx)(v,{resource:i.original,onDetailClick:()=>t(i.original)})},header:"Actions",meta:{disableRowClick:!0}})]:e===I.D$.FIELD?[L.display({id:"name",cell:e=>{let{row:t}=e;return(0,r.jsx)(j.Z,{resource:t.original})},header:"Field"}),L.display({id:"status",cell:e=>{let{row:t}=e;return(0,r.jsx)(m.Z,{status:(0,x.u)(t.original)})},header:"Status"}),L.accessor(e=>e.data_type,{id:"dataType",cell:e=>(0,r.jsx)(y.Z,{type:e.getValue()}),header:"Data type"}),L.display({id:"category",cell:e=>{let{row:t}=e;return(0,r.jsx)(C.Z,{resource:t.original})},header:"Data categories",minSize:280,meta:{disableRowClick:!0}}),L.accessor(e=>e.description,{id:"description",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:"Description"}),L.accessor(e=>e.updated_at,{id:"lastUpdated",cell:e=>(0,r.jsx)(p.Cy,{time:e.getValue()}),header:"Updated"}),L.display({id:"actions",cell:e=>{let{row:i}=e;return(0,r.jsx)(v,{resource:i.original,onDetailClick:()=>t(i.original)})},header:"Actions",meta:{disableRowClick:!0}})]:i:i},b=i(7940),k=i(80356);let w=[I.LL.ADDITION,I.LL.CLASSIFYING,I.LL.CLASSIFICATION_ADDITION,I.LL.CLASSIFICATION_QUEUED,I.LL.CLASSIFICATION_UPDATE,I.LL.MONITORED,I.LL.PROMOTING,I.LL.REMOVAL,I.LL.REMOVING],T={items:[],total:0,page:1,size:50,pages:1};var A=e=>{let{resourceUrn:t,onRowClick:i}=e,{PAGE_SIZES:p,pageSize:g,setPageSize:f,onPreviousPageClick:x,isPreviousPageDisabled:v,onNextPageClick:j,isNextPageDisabled:m,startRange:C,endRange:y,pageIndex:I,setTotalPages:L,resetPageIndexToDefault:A}=(0,c.oi)(),[R,S]=(0,l.useState)("");(0,l.useEffect)(()=>{A()},[t,A]);let{isFetching:Z,isLoading:D,data:E}=(0,h.z8)({staged_resource_urn:t,page:I,size:g,diff_status:w,search:R}),{items:P,total:N,pages:z}=(0,l.useMemo)(()=>null!=E?E:T,[E]);(0,l.useEffect)(()=>{L(z)},[z,L]);let[M,V]=(0,l.useState)(void 0),O=_((0,b.G)(P[0]),V),U=(0,n.b7)({getCoreRowModel:(0,a.sC)(),getGroupedRowModel:(0,a.qe)(),getExpandedRowModel:(0,a.rV)(),columns:O,manualPagination:!0,data:P,columnResizeMode:"onChange",getRowId:e=>e.urn});return D||Z?(0,r.jsx)(c.I4,{rowHeight:36,numRows:36}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Q$,{children:(0,r.jsx)(s.kCb,{gap:6,align:"center",children:(0,r.jsx)(s.xuv,{flexShrink:0,children:(0,r.jsx)(o.f,{value:R,onChange:S})})})}),(0,r.jsx)(c.ZK,{tableInstance:U,emptyTableNotice:(0,r.jsx)(u.Z,{}),getRowIsClickable:e=>(0,k.Z)(e),onRowClick:i}),(0,r.jsx)(c.s8,{totalRows:N||0,pageSizes:p,setPageSize:f,onPreviousPageClick:x,isPreviousPageDisabled:v,onNextPageClick:j,isNextPageDisabled:m,startRange:C,endRange:y}),(0,r.jsx)(d.Z,{resource:M,onClose:()=>V(void 0)})]})}},94780:function(e,t,i){"use strict";i.d(t,{X5:function(){return l},pN:function(){return o},sv:function(){return a}});var r=i(24246),n=i(86920);let a=e=>e.split(".")[1],s=[(0,r.jsx)(n.PJP.S9g,{},"layers"),(0,r.jsx)(n.PJP.iA_,{},"table"),(0,r.jsx)(n.PJP.$4y,{style:{transform:"rotate(-90deg)"}},"field")],l=(e,t)=>{if(!e)return[];let i=e.split(".");if(i.length<2)return[];let l=i.splice(0,2).join("."),o=[];return i.reduce((e,r,n)=>{let a=n===i.length-1,c="".concat(e).concat(".").concat(r);return o.push({title:r,href:a?void 0:"".concat(t,"/").concat(l,"/").concat(c),icon:s[n]}),c},l),[{title:a(l),href:"".concat(t,"/").concat(l),icon:(0,r.jsx)(n.PJP.ehp,{})},...o]},o=(e,t)=>{if(!e)return[];let i=e.split(".");if(i.length<2)return[];let r=i.shift(),n=[];return i.reduce((e,r,a)=>{let l=a===i.length-1,o="".concat(e).concat(".").concat(r);return n.push({title:r,href:l?void 0:"".concat(t,"/").concat(o),icon:s[a]}),o},r),n}},79947:function(e,t,i){"use strict";var r=i(24246),n=i(86920);t.Z=e=>{let{type:t}=e;return(0,r.jsx)(n.kCb,{align:"center",h:"full",children:!!t&&(0,r.jsx)(n.j8w,{children:t})})}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3872],{77213:function(e,t,i){i.d(t,{Z:function(){return f}});var n=i(24246),r=i(86920),s=i(88038),l=i.n(s),d=i(86677);i(27378);var a=i(25980),o=i(90867),c=i(77830),u=()=>{let e=(0,d.useRouter)();return(0,n.jsx)(r.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,n.jsxs)(r.xuv,{children:[(0,n.jsxs)(r.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,n.jsx)(r.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,n.jsx)(r.wpx,{onClick:()=>{e.push(c.fz)},children:"Configure"})]}),(0,n.jsxs)(r.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},f=e=>{let{children:t,title:i,padded:s=!0,mainProps:c}=e,f=(0,a.hz)(),x=(0,d.useRouter)(),h="/privacy-requests"===x.pathname||"/datastore-connection"===x.pathname,p=!(f.flags.privacyRequestsConfiguration&&h),{data:m}=(0,o.JE)(void 0,{skip:p}),{data:j}=(0,o.PW)(void 0,{skip:p}),v=f.flags.privacyRequestsConfiguration&&(!m||!j)&&h;return(0,n.jsxs)(r.kCb,{"data-testid":i,direction:"column",h:"100vh",children:[(0,n.jsxs)(l(),{children:[(0,n.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,n.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsxs)(r.kCb,{as:"main",direction:"column",py:s?6:0,px:s?10:0,h:s?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...c,children:[v?(0,n.jsx)(u,{}):null,t]})]})}},58754:function(e,t,i){var n=i(24246),r=i(86920),s=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:l=!0,children:d,rightContent:a,style:o,...c}=e;return(0,n.jsxs)("div",{...c,style:l?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...o}:{paddingBottom:"24px",...o},children:[(0,n.jsxs)(r.jqI,{justify:"space-between",children:["string"==typeof t?(0,n.jsx)(r.lQT,{className:i||d?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,a&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:a})]}),!!i&&(0,n.jsx)(s.m,{className:d?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),d]})}},79789:function(e,t,i){i.d(t,{Hn:function(){return d},XU:function(){return l},Z5:function(){return a},aG:function(){return u},cB:function(){return s},hX:function(){return c},vQ:function(){return o}});var n=i(24246),r=i(86920);let s=e=>{let{text:t,...i}=e;return(0,n.jsx)(r.X6q,{fontSize:"sm",mt:4,mb:1,...i,children:t})},l=e=>{let{children:t}=e;return(0,n.jsx)(r.xvT,{fontSize:"14px",mb:4,children:t})},d=e=>{let{children:t,href:i}=e;return(0,n.jsx)(r.rUS,{href:i,textDecoration:"underline",isExternal:!0,children:t})},a=e=>{let{children:t}=e;return(0,n.jsx)(r.QI$,{fontSize:"14px",mb:4,children:t})},o=e=>{let{children:t}=e;return(0,n.jsx)(r.GSI,{fontSize:"14px",mb:4,ml:6,children:t})},c=e=>{let{children:t}=e;return(0,n.jsx)(r.EKh,{display:"block",whiteSpace:"pre",p:4,mb:4,overflowX:"scroll",children:t})},u=e=>{let{data:t}=e;return(0,n.jsxs)(r.iA_,{fontSize:"14px",children:[(0,n.jsx)(r.hrZ,{children:(0,n.jsxs)(r.Tr,{children:[(0,n.jsx)(r.Th,{children:"Permission"}),(0,n.jsx)(r.Th,{children:"Description"})]})}),(0,n.jsx)(r.p3B,{children:t.map(e=>(0,n.jsxs)(r.Tr,{children:[(0,n.jsx)(r.Td,{children:(0,n.jsx)(r.Vp9,{children:e.permission})}),(0,n.jsx)(r.Td,{children:e.description})]},e.permission))})]})}},70788:function(e,t,i){i.d(t,{m:function(){return o}});var n=i(24246),r=i(86920),s=i(79894),l=i.n(s),d=i(27378);let{Text:a}=r.AntTypography,o=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},o=d.onClick&&!d.href;return("string"==typeof d.title&&(d.title=(0,n.jsx)(a,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:d.title})),o)?d.title=(0,n.jsx)(r.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,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"anticon align-text-bottom",children:d.icon}),d.title]})),d.href&&d.title&&(d.title=(0,n.jsx)(l(),{href:d.href,className:"ant-breadcrumb-link",children:d.title}),delete d.href)),d}),[t]);return(0,n.jsx)(r.zrq,{items:s,...i})}},89200:function(e,t,i){var n=i(24246),r=i(
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3872],{77213:function(e,t,i){i.d(t,{Z:function(){return f}});var n=i(24246),r=i(86920),s=i(88038),l=i.n(s),d=i(86677);i(27378);var a=i(25980),o=i(90867),c=i(77830),u=()=>{let e=(0,d.useRouter)();return(0,n.jsx)(r.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,n.jsxs)(r.xuv,{children:[(0,n.jsxs)(r.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,n.jsx)(r.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,n.jsx)(r.wpx,{onClick:()=>{e.push(c.fz)},children:"Configure"})]}),(0,n.jsxs)(r.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},f=e=>{let{children:t,title:i,padded:s=!0,mainProps:c}=e,f=(0,a.hz)(),x=(0,d.useRouter)(),h="/privacy-requests"===x.pathname||"/datastore-connection"===x.pathname,p=!(f.flags.privacyRequestsConfiguration&&h),{data:m}=(0,o.JE)(void 0,{skip:p}),{data:j}=(0,o.PW)(void 0,{skip:p}),v=f.flags.privacyRequestsConfiguration&&(!m||!j)&&h;return(0,n.jsxs)(r.kCb,{"data-testid":i,direction:"column",h:"100vh",children:[(0,n.jsxs)(l(),{children:[(0,n.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,n.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsxs)(r.kCb,{as:"main",direction:"column",py:s?6:0,px:s?10:0,h:s?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...c,children:[v?(0,n.jsx)(u,{}):null,t]})]})}},58754:function(e,t,i){var n=i(24246),r=i(86920),s=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:l=!0,children:d,rightContent:a,style:o,...c}=e;return(0,n.jsxs)("div",{...c,style:l?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...o}:{paddingBottom:"24px",...o},children:[(0,n.jsxs)(r.jqI,{justify:"space-between",children:["string"==typeof t?(0,n.jsx)(r.lQT,{className:i||d?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,a&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:a})]}),!!i&&(0,n.jsx)(s.m,{className:d?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),d]})}},79789:function(e,t,i){i.d(t,{Hn:function(){return d},XU:function(){return l},Z5:function(){return a},aG:function(){return u},cB:function(){return s},hX:function(){return c},vQ:function(){return o}});var n=i(24246),r=i(86920);let s=e=>{let{text:t,...i}=e;return(0,n.jsx)(r.X6q,{fontSize:"sm",mt:4,mb:1,...i,children:t})},l=e=>{let{children:t}=e;return(0,n.jsx)(r.xvT,{fontSize:"14px",mb:4,children:t})},d=e=>{let{children:t,href:i}=e;return(0,n.jsx)(r.rUS,{href:i,textDecoration:"underline",isExternal:!0,children:t})},a=e=>{let{children:t}=e;return(0,n.jsx)(r.QI$,{fontSize:"14px",mb:4,children:t})},o=e=>{let{children:t}=e;return(0,n.jsx)(r.GSI,{fontSize:"14px",mb:4,ml:6,children:t})},c=e=>{let{children:t}=e;return(0,n.jsx)(r.EKh,{display:"block",whiteSpace:"pre",p:4,mb:4,overflowX:"scroll",children:t})},u=e=>{let{data:t}=e;return(0,n.jsxs)(r.iA_,{fontSize:"14px",children:[(0,n.jsx)(r.hrZ,{children:(0,n.jsxs)(r.Tr,{children:[(0,n.jsx)(r.Th,{children:"Permission"}),(0,n.jsx)(r.Th,{children:"Description"})]})}),(0,n.jsx)(r.p3B,{children:t.map(e=>(0,n.jsxs)(r.Tr,{children:[(0,n.jsx)(r.Td,{children:(0,n.jsx)(r.Vp9,{children:e.permission})}),(0,n.jsx)(r.Td,{children:e.description})]},e.permission))})]})}},70788:function(e,t,i){i.d(t,{m:function(){return o}});var n=i(24246),r=i(86920),s=i(79894),l=i.n(s),d=i(27378);let{Text:a}=r.AntTypography,o=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},o=d.onClick&&!d.href;return("string"==typeof d.title&&(d.title=(0,n.jsx)(a,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:d.title})),o)?d.title=(0,n.jsx)(r.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,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"anticon align-text-bottom",children:d.icon}),d.title]})),d.href&&d.title&&(d.title=(0,n.jsx)(l(),{href:d.href,className:"ant-breadcrumb-link",children:d.title}),delete d.href)),d}),[t]);return(0,n.jsx)(r.zrq,{items:s,...i})}},89200:function(e,t,i){var n=i(24246),r=i(47935),s=i(98559),l=i(80356);t.Z=e=>{let{resource:t}=e;return(0,n.jsx)(r.G3,{value:(0,s.Z)(t),fontWeight:(0,l.Z)(t)?"semibold":"normal"})}},5945:function(e,t,i){var n=i(24246),r=i(47935),s=i(8151);let l={[s.e.ATTENTION_REQUIRED]:"error",[s.e.APPROVED]:"success",[s.e.IN_REVIEW]:"warning",[s.e.CLASSIFYING]:"info",[s.e.NONE]:"marble"};t.Z=e=>{let{status:t}=e;return(0,n.jsx)(r.A4,{color:l[t],value:t})}},98800:function(e,t,i){var n=i(24246),r=i(86920),s=i(79789);t.Z=e=>{var t;let{dataset:i,onClose:l}=e;return(0,n.jsxs)(r.dys,{isOpen:!!i,onClose:l,size:"md",children:[(0,n.jsx)(r.P1B,{}),(0,n.jsxs)(r.scA,{children:[(0,n.jsx)(r.OXI,{children:(null==i?void 0:i.name)||(null==i?void 0:i.urn)}),(0,n.jsx)(r.cCv,{}),(0,n.jsxs)(r.Ng0,{children:[(0,n.jsx)(s.cB,{text:"Title",mt:0}),(0,n.jsx)(s.XU,{children:null!==(t=null==i?void 0:i.name)&&void 0!==t?t:null==i?void 0:i.urn}),(null==i?void 0:i.description)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.cB,{text:"Description"}),(0,n.jsx)(s.XU,{children:null==i?void 0:i.description})]})]})]})]})}},81406:function(e,t,i){var n=i(24246),r=i(86920);t.Z=()=>(0,n.jsxs)(r.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:[(0,n.jsx)(r.xvT,{fontSize:"md",fontWeight:"600",children:"No resources found"}),(0,n.jsx)(r.xvT,{fontSize:"sm",children:"You're up to date!"})]})},69172:function(e,t,i){var n=i(24246),r=i(92222),s=i(86920),l=i(27378),d=i(47935),a=i(72625),o=i(89200),c=i(5945),u=i(8151);let f=(0,r.Cl)(),x=e=>{let{onDetailClick:t}=e;return(0,n.jsxs)(s.v2r,{children:[(0,n.jsx)(s.j2t,{as:s.wpx,size:"small",type:"text",icon:(0,n.jsx)(s.nXP,{transform:"rotate(90deg)"}),className:"w-6 gap-0","data-testid":"dataset-actions"}),(0,n.jsx)(s.qyq,{children:(0,n.jsx)(s.sNh,{"data-testid":"view-dataset-details",onClick:t,children:"View details"})})]})};t.Z=e=>{let{onDetailClick:t}=e;return(0,l.useMemo)(()=>[f.accessor(e=>e.name,{id:"name",cell:e=>(0,n.jsx)(o.Z,{resource:e.row.original}),header:"Dataset"}),f.display({id:"status",cell:e=>{let{row:t}=e;return(0,n.jsx)(c.Z,{status:(0,u.u)(t.original)})},header:"Status"}),f.accessor(e=>e.description,{id:"description",cell:e=>(0,n.jsx)(d.G3,{value:e.getValue()}),header:"Description"}),f.accessor(e=>e.updated_at,{id:"lastUpdated",cell:e=>(0,n.jsx)(a.Cy,{time:e.getValue()}),header:"Updated"}),f.display({id:"actions",cell:e=>{let{row:i}=e;return(0,n.jsx)(x,{onDetailClick:()=>t(i.original)})},size:25,meta:{disableRowClick:!0}})],[t])}},8151:function(e,t,i){i.d(t,{e:function(){return r},u:function(){return l}});var n,r,s=i(68309);(n=r||(r={})).ATTENTION_REQUIRED="Attention required",n.IN_REVIEW="In review",n.APPROVED="Approved",n.CLASSIFYING="Classifying",n.NONE="None";let l=e=>{if(!e)return"Approved";let t=e.diff_status===s.LL.ADDITION||e.diff_status===s.LL.REMOVAL,i=e.child_diff_statuses&&(e.child_diff_statuses[s.LL.ADDITION]||e.child_diff_statuses[s.LL.REMOVAL]);if(t||i)return"Attention required";let n=e.diff_status===s.LL.CLASSIFICATION_QUEUED||e.diff_status===s.LL.CLASSIFYING,r=e.child_diff_statuses&&(e.child_diff_statuses[s.LL.CLASSIFICATION_QUEUED]||e.child_diff_statuses[s.LL.CLASSIFYING]);if(n||r)return"Classifying";let l=e.diff_status===s.LL.CLASSIFICATION_ADDITION||e.diff_status===s.LL.CLASSIFICATION_UPDATE,d=e.child_diff_statuses&&(e.child_diff_statuses[s.LL.CLASSIFICATION_ADDITION]||e.child_diff_statuses[s.LL.CLASSIFICATION_UPDATE]);return l||d?"In review":"Approved"}},7940:function(e,t,i){i.d(t,{G:function(){return r}});var n=i(68309);let r=e=>{var t,i,r;return e?e.resource_type?e.resource_type:(null===(t=e.schemas)||void 0===t?void 0:t.length)?n.D$.DATABASE:(null===(i=e.tables)||void 0===i?void 0:i.length)?n.D$.SCHEMA:(null===(r=e.fields)||void 0===r?void 0:r.length)?n.D$.TABLE:n.D$.FIELD:void 0}},98559:function(e,t){t.Z=e=>{let{name:t,urn:i,monitor_config_id:n,database_name:r,schema_name:s,table_name:l,top_level_field_name:d,top_level_field_urn:a}=e;if(!d)return t;let o=i.split(".");return a?i.replace("".concat(a).concat("."),""):([n,r,s,l,d].forEach(e=>{if(e){let t=o.indexOf(e);t>-1&&o.splice(t,1)}}),o.join("."))}},36168:function(e,t){t.Z=e=>{var t;return!!e.parent_table_urn&&null!==(t=e.sub_field_urns)&&void 0!==t&&!!t.length&&!e.top_level_field_name}},80356:function(e,t,i){var n=i(7940),r=i(36168),s=i(68309);t.Z=e=>(0,n.G)(e)!==s.D$.FIELD||(0,r.Z)(e)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3988],{59969:function(e,t,r){var i=r(24246),n=r(86920);r(27378);var l=r(8557);t.Z=e=>{let{daysLeft:t,includeText:r,status:s}=e;if(!t||s===l.q.COMPLETE||s===l.q.CANCELED||s===l.q.DENIED||s===l.q.IDENTITY_UNVERIFIED)return(0,i.jsx)("span",{children:"-"});let a="";switch(!0){case t>=10:a="success";break;case t<10&&t>4:a="warning";break;case t<5:a="error"}return(0,i.jsx)(n.j8w,{color:a,children:r?"".concat(t," days left"):t})}},18225:function(e,t,r){var i=r(24246),n=r(86920);t.Z=e=>{let{alignment:t="center",...r}=e;return(0,i.jsx)(n.kCb,{boxSize:"full",align:"center",justify:t,children:(0,i.jsx)(n.$jN,{color:"primary",...r})})}},58754:function(e,t,r){var i=r(24246),n=r(86920),l=r(70788);t.Z=e=>{let{heading:t,breadcrumbItems:r,isSticky:s=!0,children:a,rightContent:d,style:o,...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",...o}:{paddingBottom:"24px",...o},children:[(0,i.jsxs)(n.jqI,{justify:"space-between",children:["string"==typeof t?(0,i.jsx)(n.lQT,{className:r||a?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,d&&(0,i.jsx)("div",{"data-testid":"page-header-right-content",children:d})]}),!!r&&(0,i.jsx)(l.m,{className:a?"pb-4":void 0,items:r,"data-testid":"page-breadcrumb"}),a]})}},19904:function(e,t,r){r.d(t,{Tg:function(){return s}});var i=r(24246),n=r(16134),l=r(31793);let s=e=>(0,n.C)(l.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:r}=e;return s(t)?(0,i.jsx)(i.Fragment,{children:r}):null}},14047:function(e,t,r){r.d(t,{H:function(){return l},V:function(){return i.V}});var i=r(84306),n=r(812);let l=()=>{let{errorAlert:e}=(0,i.V)();return{handleError:t=>{let r="An unexpected error occurred. Please try again.";(0,n.Ot)(t)?r=t.data.detail:(0,n.tB)(t)&&(r=t.data.detail[0].msg),e(r)}}}},84306:function(e,t,r){r.d(t,{V:function(){return l}});var i=r(24246),n=r(86920);let l=()=>{let e=(0,n.pmc)();return{errorAlert:(t,r,l)=>{let s={...l,position:(null==l?void 0:l.position)||"top",render:e=>{let{onClose:l}=e;return(0,i.jsxs)(n.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,i.jsx)(n.zMQ,{}),(0,i.jsxs)(n.xuv,{children:[r&&(0,i.jsx)(n.CdC,{children:r}),(0,i.jsx)(n.XaZ,{children:t})]}),(0,i.jsx)(n.PZ7,{onClick:l,position:"relative",right:0,size:"sm",top:-1})]})}};(null==l?void 0:l.id)&&e.isActive(l.id)?e.update(l.id,s):e(s)},successAlert:(t,r,l)=>{let s={...l,position:(null==l?void 0:l.position)||"top",render:e=>{let{onClose:l}=e;return(0,i.jsxs)(n.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,i.jsx)(n.zMQ,{}),(0,i.jsxs)(n.xuv,{children:[r&&(0,i.jsx)(n.CdC,{children:r}),(0,i.jsx)(n.XaZ,{children:t})]}),(0,i.jsx)(n.PZ7,{onClick:l,position:"relative",right:0,size:"sm",top:-1})]})}};(null==l?void 0:l.id)&&e.isActive(l.id)?e.update(l.id,s):e(s)}}}},70788:function(e,t,r){r.d(t,{m:function(){return o}});var i=r(24246),n=r(86920),l=r(79894),s=r.n(l),a=r(27378);let{Text:d}=n.AntTypography,o=e=>{let{items:t,...r}=e,l=(0,a.useMemo)(()=>null==t?void 0:t.map((e,r)=>{let l=r===t.length-1,a={...e},o=a.onClick&&!a.href;return("string"==typeof a.title&&(a.title=(0,i.jsx)(d,{style:{color:"inherit",maxWidth:l?void 0:400},ellipsis:!l,children:a.title})),o)?a.title=(0,i.jsx)(n.wpx,{type:"text",size:"small",icon:a.icon,onClick:a.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:a.title}):(a.icon&&(a.title=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"anticon align-text-bottom",children:a.icon}),a.title]})),a.href&&a.title&&(a.title=(0,i.jsx)(s(),{href:a.href,className:"ant-breadcrumb-link",children:a.title}),delete a.href)),a}),[t]);return(0,i.jsx)(n.zrq,{items:l,...r})}},57526:function(e,t,r){var i=r(24246),n=r(86920),l=r(27378);t.Z=e=>{let{isOpen:t,onClose:r,onApproveRequest:s,isLoading:a,subjectRequest:d}=e,{identity:o,identity_verified_at:c,custom_privacy_request_fields:u}=d,h=(0,l.useCallback)(()=>{s().then(()=>{r()})},[s,r]);return(0,i.jsxs)(n.u_l,{isOpen:t,onClose:r,size:"lg",isCentered:!0,children:[(0,i.jsx)(n.ZAr,{}),(0,i.jsxs)(n.hzk,{children:[(0,i.jsx)(n.xBx,{children:"Privacy request approval"}),(0,i.jsxs)(n.fef,{paddingTop:0,paddingBottom:0,children:[(0,i.jsx)(n.xvT,{color:"gray.500",fontSize:"14px",marginBottom:4,children:"Are you sure you want to approve this privacy request?"}),(0,i.jsxs)(n.QI$,{children:[Object.entries(o).filter(e=>{let[,{value:t}]=e;return null!==t}).map(e=>{let[t,{value:r,label:l}]=e;return(0,i.jsx)(n.HCh,{children:(0,i.jsxs)(n.kCb,{alignItems:"flex-start",children:[(0,i.jsxs)(n.xvT,{mr:2,fontSize:"sm",color:"gray.900",fontWeight:"500",children:[l,":"]}),(0,i.jsx)(n.xvT,{color:"gray.600",fontWeight:"500",fontSize:"sm",mr:2,children:r}),"(",c?"Verified":"Unverified",")"]},t)},t)}),u&&Object.entries(u).filter(e=>{let[,t]=e;return t.value}).map(e=>{let[t,r]=e;return(0,i.jsx)(n.HCh,{children:(0,i.jsxs)(n.kCb,{alignItems:"flex-start",children:[(0,i.jsxs)(n.xvT,{mr:2,fontSize:"sm",color:"gray.900",fontWeight:"500",children:[r.label,":"]}),(0,i.jsxs)(n.xvT,{color:"gray.600",fontWeight:"500",fontSize:"sm",mr:2,children:[Array.isArray(r.value)?r.value.join(", "):r.value," "]}),"(Unverified)"]},t)},t)})]})]}),(0,i.jsx)(n.mzw,{children:(0,i.jsxs)(n.MIq,{columns:2,width:"100%",children:[(0,i.jsx)(n.wpx,{onClick:r,className:"mr-3","data-testid":"cancel-btn",children:"Cancel"}),(0,i.jsx)(n.wpx,{type:"primary","data-testid":"continue-btn",onClick:h,loading:a,children:"Confirm"})]})})]})]})}},66548:function(e,t,r){var i=r(24246),n=r(40324),l=r(86920),s=r(34090),a=r(27378),d=r(55484);let o={denialReason:""};t.Z=e=>{let{isOpen:t,onClose:r,onDenyRequest:c}=e,u=(0,a.useCallback)((e,t)=>{let{setSubmitting:i}=t;c(e.denialReason).then(()=>{i(!1),r()})},[c,r]);return(0,i.jsxs)(l.u_l,{isOpen:t,onClose:r,isCentered:!0,returnFocusOnClose:!1,children:[(0,i.jsx)(l.ZAr,{}),(0,i.jsx)(l.hzk,{width:"100%",maxWidth:"456px","data-testid":"deny-privacy-request-modal",children:(0,i.jsx)(s.J9,{initialValues:o,validationSchema:d.Ry({denialReason:d.Z_().required().label("Reason for denial")}),onSubmit:u,children:e=>{let{isSubmitting:t,dirty:a,isValid:d}=e;return(0,i.jsxs)(s.l0,{children:[(0,i.jsx)(l.xBx,{children:"Privacy request denial"}),(0,i.jsx)(l.fef,{color:"gray.500",fontSize:"14px",children:"Please enter a reason for denying this privacy request. Please note: this can be seen by the user in their notification email."}),(0,i.jsx)(l.fef,{children:(0,i.jsx)(n.Ks,{name:"denialReason",textAreaProps:{focusBorderColor:"primary.600",resize:"none"}})}),(0,i.jsxs)(l.mzw,{className:"flex w-full gap-4",children:[(0,i.jsx)(l.wpx,{disabled:t,onClick:r,className:"grow",children:"Cancel"}),(0,i.jsx)(l.wpx,{htmlType:"submit",type:"primary",disabled:!a||!d,loading:t,className:"grow","data-testid":"deny-privacy-request-modal-btn",children:"Confirm"})]})]})}})})]})}},45489:function(e,t,r){r.d(t,{Z:function(){return n}});var i=r(90867);let n=e=>{let{subjectRequest:t}=e,[r,n]=(0,i.RW)({fixedCacheKey:t.id}),[l,s]=(0,i.F1)({fixedCacheKey:t.id}),[a,d]=(0,i.rC)({fixedCacheKey:t.id}),o=s.isLoading||n.isLoading;return{approveRequest:r,approveRequestResult:n,denyRequest:l,denyRequestResult:s,handleApproveRequest:()=>r(t),handleDenyRequest:e=>l({id:t.id,reason:e}),handleDeleteRequest:()=>a(t),softDeleteRequestResult:d,isLoading:o}}},72281:function(e,t,r){r.d(t,{G:function(){return l},d:function(){return s}});var i=r(86677),n=r(27378);let l={REQUEST:"request",MANUAL_TASK:"manual-tasks"},s=()=>{let e=(0,i.useRouter)(),[t,r]=(0,n.useState)(l.REQUEST),s=(0,n.useMemo)(()=>({request:!0,manualTask:!0}),[]),a=(0,n.useCallback)(()=>{let{tab:t}=e.query;return t&&"string"==typeof t&&Object.values(l).includes(t)?t:null},[e.query]),d=(0,n.useCallback)(t=>{e.replace({pathname:e.pathname,query:{...e.query,tab:t}},void 0,{shallow:!0})},[e]);return(0,n.useEffect)(()=>{if(!e.isReady)return;let t=a();if(t&&(t===l.REQUEST||t===l.MANUAL_TASK&&s.manualTask)){r(t);return}r(l.REQUEST),d(l.REQUEST)},[e.isReady,e.query,s,a,d]),{activeTab:t,handleTabChange:(0,n.useCallback)(e=>{Object.values(l).includes(e)&&(r(e),d(e))},[d]),availableTabs:s}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4121],{7617:function(e,s,a){a.d(s,{q:function(){return l}});var t=a(24246),n=a(86920);let l=e=>{let{label:s,isDisabled:a,...l}=e;return(0,t.jsx)(n.OK9,{"data-testid":"tab-".concat(s),_selected:{fontWeight:"600",color:"complimentary.500",borderColor:"complimentary.500"},fontSize:l.fontSize,fontWeight:"500",color:"gray.500",isDisabled:a||!1,children:s})};s.Z=e=>{let{data:s,border:a="partial",...i}=e;return(0,t.jsxs)(n.mQc,{colorScheme:"complimentary",...i,children:[(0,t.jsx)(n.tdY,{width:"partial"===a?"max-content":void 0,children:s.map(e=>(0,t.jsx)(l,{label:e.label,isDisabled:e.isDisabled,fontSize:i.fontSize},e.label))}),(0,t.jsx)(n.nPR,{children:s.map(e=>(0,t.jsx)(n.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})]})}},44121:function(e,s,a){a.d(s,{Z:function(){return ee}});var t=a(24246),n=a(86920),l=a(91437),i=()=>(0,t.jsxs)(n.xuv,{children:[(0,t.jsx)(n.xuv,{pb:4,fontSize:"18px",fontWeight:"semibold",children:"Role Description"}),(0,t.jsx)(n.gCW,{spacing:4,children:l.K.map(e=>(0,t.jsxs)(n.xuv,{width:"100%",padding:4,borderRadius:"md",backgroundColor:"gray.75",fontSize:"14px",children:[(0,t.jsx)(n.xuv,{fontWeight:"semibold",children:e.label}),(0,t.jsx)(n.xuv,{color:"gray.700",children:e.description})]},e.roleKey))})]}),r=a(16134),d=a(7617),o=a(68309),c=a(19904),h=a(34090),m=a(86677),p=a(27378),x=a(812),u=a(46238),j=a(58452),w=a(77830),g=a(46628),b=a(26917),f=a(1315),y=a(95492),v=a(65497);let _=e=>{let{assignedSystems:s,onAssignedSystemChange:a}=e,l=(0,r.C)(v.Ux);if((0,v.d6)(l,{skip:!l}),0===s.length)return null;let i=e=>{a(s.filter(s=>s.fides_key!==e.fides_key))};return(0,t.jsxs)(n.iA_,{size:"sm","data-testid":"assign-systems-delete-table",children:[(0,t.jsx)(n.hrZ,{children:(0,t.jsxs)(n.Tr,{children:[(0,t.jsx)(n.Th,{children:"System"}),(0,t.jsx)(n.Th,{})]})}),(0,t.jsx)(n.p3B,{children:s.map(e=>(0,t.jsxs)(n.Tr,{_hover:{bg:"gray.50"},"data-testid":"row-".concat(e.fides_key),children:[(0,t.jsx)(n.Td,{children:e.name}),(0,t.jsx)(n.Td,{textAlign:"end",children:(0,t.jsx)(n.wpx,{"aria-label":"Unassign system from user",icon:(0,t.jsx)(y.l,{}),onClick:()=>i(e),"data-testid":"unassign-btn"})})]},e.fides_key))})]})};var C=e=>{let{allSystems:s,assignedSystems:a,onChange:l}=e,i=e=>{a.find(s=>s.fides_key===e.fides_key)?l(a.filter(s=>s.fides_key!==e.fides_key)):l([...a,e])};return(0,t.jsx)(n.xuv,{overflowY:"auto",maxHeight:"300px",children:(0,t.jsxs)(n.iA_,{size:"sm","data-testid":"assign-systems-table",maxHeight:"50vh",overflowY:"scroll",children:[(0,t.jsx)(n.hrZ,{position:"sticky",top:0,background:"white",zIndex:1,children:(0,t.jsxs)(n.Tr,{children:[(0,t.jsx)(n.Th,{children:"System"}),(0,t.jsx)(n.Th,{children:"Assign"})]})}),(0,t.jsx)(n.p3B,{children:s.map(e=>{let s=!!a.find(s=>s.fides_key===e.fides_key);return(0,t.jsxs)(n.Tr,{_hover:{bg:"gray.50"},"data-testid":"row-".concat(e.fides_key),children:[(0,t.jsx)(n.Td,{children:e.name}),(0,t.jsx)(n.Td,{children:(0,t.jsx)(n.rAg,{checked:s,onChange:()=>i(e),"data-testid":"assign-switch"})})]},e.fides_key)})})]})})};let S=(e,s)=>{var a,t;return(null===(a=e.name)||void 0===a?void 0:a.toLocaleLowerCase().includes(s.toLocaleLowerCase()))||(null===(t=e.description)||void 0===t?void 0:t.toLocaleLowerCase().includes(s.toLocaleLowerCase()))};var k=e=>{let{isOpen:s,onClose:a,assignedSystems:l,onAssignedSystemChange:i}=e,{data:r}=(0,f.K3)(),[d,o]=(0,p.useState)(""),[c,h]=(0,p.useState)(l),m=async()=>{i(c),a()},x=!r||0===r.length,u=(0,p.useMemo)(()=>r?r.filter(e=>S(e,d)):[],[r,d]),j=(0,p.useMemo)(()=>{let e=new Set(c.map(e=>e.fides_key));return u.every(s=>e.has(s.fides_key))},[u,c]);return(0,t.jsxs)(n.u_l,{isOpen:s,onClose:a,size:"2xl",children:[(0,t.jsx)(n.ZAr,{}),(0,t.jsxs)(n.hzk,{p:8,"data-testid":"confirmation-modal",children:[(0,t.jsxs)(n.xBx,{fontWeight:"medium",display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,t.jsx)(n.xvT,{children:"Assign systems"}),(0,t.jsxs)(n.j8w,{color:"success",children:["Assigned to ",l.length," systems"]})]}),(0,t.jsx)(n.fef,{"data-testid":"assign-systems-modal-body",children:x?(0,t.jsx)(n.xvT,{children:"No systems found"}):(0,t.jsxs)(n.Kqy,{spacing:4,children:[(0,t.jsxs)(n.kCb,{justifyContent:"space-between",children:[(0,t.jsx)(n.xvT,{fontSize:"sm",flexGrow:1,fontWeight:"medium",children:"Assign systems in your organization to this user"}),(0,t.jsx)(n.xuv,{children:(0,t.jsxs)(n.NIc,{display:"flex",alignItems:"center",children:[(0,t.jsx)(n.lXp,{fontSize:"sm",htmlFor:"assign-all-systems",mb:"0",children:"Assign all systems"}),(0,t.jsx)(n.rAg,{size:"small",id:"assign-all-systems",checked:j,onChange:e=>{e&&r?h(u):h(r?r.filter(e=>!u.includes(e)):[])},"data-testid":"assign-all-systems-toggle"})]})})]}),(0,t.jsx)(b.Z,{value:d,onChange:o,placeholder:"Search for systems","data-testid":"system-search",withIcon:!0}),(0,t.jsx)(C,{allSystems:u,assignedSystems:c,onChange:h})]})}),(0,t.jsx)(n.mzw,{justifyContent:"flex-start",children:(0,t.jsxs)("div",{children:[(0,t.jsx)(n.wpx,{onClick:a,className:"mr-2","data-testid":"cancel-btn",children:"Cancel"}),x?null:(0,t.jsx)(n.wpx,{type:"primary",onClick:m,"data-testid":"confirm-btn",children:"Confirm"})]})})]})]})},E=e=>{let{label:s,roleKey:a,isSelected:l,isDisabled:i,assignedSystems:r,onAssignedSystemChange:d}=e,{setFieldValue:c}=(0,h.u6)(),m=(0,n.qY0)(),p=i?"You do not have sufficient permissions to assign this role.":void 0;return l?(0,t.jsxs)(n.Kqy,{borderRadius:"md",border:"1px solid",borderColor:"gray.200",p:4,backgroundColor:"gray.50","aria-selected":"true",spacing:4,"data-testid":"selected",children:[(0,t.jsxs)(n.kCb,{alignItems:"center",justifyContent:"space-between",children:[(0,t.jsx)(n.xvT,{fontSize:"md",fontWeight:"semibold",children:s}),(0,t.jsx)(n.StI,{})]}),a!==o.A7.APPROVER&&a!==o.A7.RESPONDENT&&a!==o.A7.EXTERNAL_RESPONDENT?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(n.kCb,{alignItems:"center",children:[(0,t.jsx)(n.xvT,{fontSize:"sm",fontWeight:"semibold",mr:1,children:"Assigned systems"}),(0,t.jsx)(u.b,{label:"Assigned systems refer to those systems that have been specifically allocated to a user for management purposes. Users assigned to a system possess full edit permissions and are listed as the Data Steward for the respective system."})]}),(0,t.jsx)(n.wpx,{disabled:i,title:p,type:"primary",size:"small",onClick:m.onOpen,"data-testid":"assign-systems-btn",children:"Assign systems +"}),(0,t.jsx)(_,{assignedSystems:r,onAssignedSystemChange:d}),m.isOpen?(0,t.jsx)(k,{isOpen:m.isOpen,onClose:m.onClose,assignedSystems:r,onAssignedSystemChange:d}):null]}):null]}):(0,t.jsx)(n.wpx,{onClick:()=>{c("roles",[a])},"data-testid":"role-option-".concat(s),title:p,disabled:i,children:s})};let P={roles:[]};var T=()=>{var e,s;let a=(0,n.pmc)(),i=(0,m.useRouter)(),d=(0,r.C)(v.Ux);(0,v.d6)(d,{skip:!d});let{isOpen:b,onOpen:f,onClose:y}=(0,n.qY0)(),_=(0,r.C)(v.R$),[C,S]=(0,p.useState)(_),[k]=(0,v.G$)();(0,p.useEffect)(()=>{S(_)},[_]);let{data:T,isLoading:A}=(0,v.gU)(null!=d?d:"",{skip:!d}),[R]=(0,v.lD)(),N=!!(null==T?void 0:null===(e=T.roles)||void 0===e?void 0:e.includes(o.A7.EXTERNAL_RESPONDENT)),O=async e=>{if(b&&y(),!d)return;let s=e.roles.includes(o.A7.APPROVER),t=await R({user_id:d,payload:{roles:e.roles}});if((0,x.D4)(t)){a((0,g.Vo)((0,x.e$)(t.error)));return}if(!s){let e=C.map(e=>e.fides_key),s=await k({userId:d,fidesKeys:e});if((0,x.D4)(s)){a((0,g.Vo)((0,x.e$)(s.error)));return}}a((0,g.t5)("Permissions updated"))},z=async e=>{d&&(C.length>0&&e.roles.includes(o.A7.APPROVER)?f():await O(e))},I=(0,c.Tg)([o.Sh.USER_PERMISSION_ASSIGN_OWNERS]);if(!d)return null;if(A)return(0,t.jsx)(n.$jN,{});if(!I&&(null==T?void 0:null===(s=T.roles)||void 0===s?void 0:s.includes(o.A7.OWNER)))return(0,t.jsx)(n.xvT,{"data-testid":"insufficient-access",children:"You do not have sufficient access to change this user's permissions."});let q=(null==T?void 0:T.roles)?{roles:T.roles}:P,D=l.K.filter(e=>N?e.roleKey===o.A7.EXTERNAL_RESPONDENT:e.roleKey!==o.A7.EXTERNAL_RESPONDENT),U=N?"External respondent role cannot be changed":void 0;return(0,t.jsx)(h.J9,{onSubmit:z,initialValues:q,enableReinitialize:!0,children:e=>{let{values:s,isSubmitting:a,dirty:l}=e;return(0,t.jsxs)(h.l0,{children:[(0,t.jsxs)(n.Kqy,{spacing:7,children:[(0,t.jsxs)(n.Kqy,{spacing:3,"data-testid":"role-options",children:[(0,t.jsxs)(n.kCb,{alignItems:"center",children:[(0,t.jsx)(n.xvT,{fontSize:"sm",fontWeight:"semibold",mr:1,children:"User role"}),(0,t.jsx)(u.b,{label:"A user's role in the organization determines what parts of the UI they can access and which functions are available to them."})]}),D.map(e=>{let a=s.roles.indexOf(e.roleKey)>=0,n=e.roleKey===o.A7.OWNER?!I:N;return(0,t.jsx)(E,{isSelected:a,isDisabled:n,assignedSystems:C,onAssignedSystemChange:S,...e},e.roleKey)}),!N&&(0,t.jsx)(n.esZ,{title:"To invite a new External respondent user, create a manual task integration and then click on the 'Manage secure access' button",children:(0,t.jsx)(n.wpx,{disabled:!0,"data-testid":"role-option-External respondent",children:"External respondent"})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(n.wpx,{onClick:()=>i.push(w.e3),children:"Cancel"}),(0,t.jsx)(n.esZ,{title:U,children:(0,t.jsx)(n.wpx,{className:"ml-2",type:"primary",htmlType:"submit",loading:a,disabled:!l&&C===_||N,"data-testid":"save-btn",children:"Save"})})]})]}),(0,t.jsx)(j.Z,{isOpen:b,onClose:y,onConfirm:()=>O(s),title:"Change role to Approver",testId:"downgrade-to-approver-confirmation-modal",continueButtonText:"Yes",message:(0,t.jsx)(n.xvT,{children:"Switching to an approver role will remove all assigned systems. Do you wish to proceed?"})})]})}})},A=a(61038),R=a(55484),N=a(25980),O=a(40324),z=a(96006),I=a(7426);let{useGetEmailInviteStatusQuery:q}=a(78780).u.injectEndpoints({endpoints:e=>({getEmailInviteStatus:e.query({query:()=>({url:"/messaging/email-invite/status"}),providesTags:()=>["Email Invite Status"]})})});var D=a(76174),U=a(91317),Z=a(31883);let W=R.Ry().shape({password:z.a.label("Password"),passwordConfirmation:R.Z_().required().oneOf([R.iH("password")],"Passwords must match").label("Password confirmation")}),K={password:"",passwordConfirmation:""},L=e=>{let s=(0,n.qY0)(),a=(0,n.pmc)(),[t]=(0,v.ls)(),l=async n=>{let l=await t({id:e,new_password:n.password});(0,Z.D4)(l)?a((0,g.Vo)((0,x.e$)(l.error))):(a((0,g.t5)("Successfully reset user's password. Please inform the user of their new password.")),s.onClose())};return{...s,handleResetPassword:l}};var V=e=>{let{id:s}=e,{handleResetPassword:a,isOpen:l,onClose:i,onOpen:r}=L(s);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.wpx,{onClick:r,"data-testid":"reset-password-btn",children:"Reset password"}),(0,t.jsxs)(n.u_l,{isCentered:!0,isOpen:l,onClose:i,children:[(0,t.jsx)(n.ZAr,{}),(0,t.jsx)(n.hzk,{children:(0,t.jsx)(h.J9,{initialValues:K,validationSchema:W,onSubmit:a,children:e=>{let{isSubmitting:s,dirty:a,isValid:l}=e;return(0,t.jsxs)(h.l0,{children:[(0,t.jsx)(n.xBx,{children:"Reset Password"}),(0,t.jsx)(n.olH,{}),(0,t.jsx)(n.fef,{children:(0,t.jsxs)(n.Kqy,{direction:"column",spacing:4,children:[(0,t.jsx)(n.xvT,{mb:2,children:"Choose a new password for this user."}),(0,t.jsx)(O.j0,{name:"password",label:"Password",placeholder:"********",type:"password",tooltip:"Password must contain at least 8 characters, 1 number, 1 capital letter, 1 lowercase letter, and at least 1 symbol.",autoComplete:"new-password"}),(0,t.jsx)(O.j0,{name:"passwordConfirmation",label:"Confirm Password",placeholder:"********",type:"password",tooltip:"Must match above password.",autoComplete:"confirm-password"})]})}),(0,t.jsx)(n.mzw,{children:(0,t.jsxs)("div",{className:"w-full gap-2",children:[(0,t.jsx)(n.wpx,{onClick:i,className:"w-1/2",children:"Cancel"}),(0,t.jsx)(n.wpx,{type:"primary",disabled:!a||!l,loading:s,htmlType:"submit",className:"w-1/2","data-testid":"submit-btn",children:"Change Password"})]})})]})}})})]})]})};let B=e=>{let s=(0,n.qY0)(),a=(0,n.pmc)(),[t,l]=(0,p.useState)(""),[i,r]=(0,p.useState)(""),[d,{isLoading:o}]=(0,v.ev)(),c=!!(e&&i&&t),h=async()=>{c&&d({id:e,old_password:t,new_password:i}).unwrap().then(()=>{a((0,g.t5)("Password updated")),s.onClose()})};return{...s,changePasswordValidation:c,handleChange:e=>{"oldPassword"===e.target.name?l(e.target.value):r(e.target.value)},handleChangePassword:h,isLoading:o,newPasswordValue:i,oldPasswordValue:t}};var Y=e=>{let{id:s}=e,{changePasswordValidation:a,handleChange:l,handleChangePassword:i,isLoading:r,isOpen:d,newPasswordValue:o,oldPasswordValue:c,onClose:h,onOpen:m}=B(s);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.wpx,{onClick:m,"data-testid":"update-password-btn",children:"Update password"}),(0,t.jsxs)(n.u_l,{isCentered:!0,isOpen:d,onClose:h,children:[(0,t.jsx)(n.ZAr,{}),(0,t.jsxs)(n.hzk,{children:[(0,t.jsx)(n.xBx,{children:"Update Password"}),(0,t.jsx)(n.olH,{}),(0,t.jsx)(n.fef,{pb:6,children:(0,t.jsxs)(n.Kqy,{direction:"column",spacing:"15px",children:[(0,t.jsx)(n.NIc,{children:(0,t.jsx)(n.IIB,{isRequired:!0,name:"oldPassword",onChange:l,placeholder:"Old Password",type:"password",value:c,"data-testid":"input-oldPassword"})}),(0,t.jsx)(n.NIc,{children:(0,t.jsx)(n.IIB,{isRequired:!0,name:"newPassword",onChange:l,placeholder:"New Password",type:"password",value:o,"data-testid":"input-newPassword"})})]})}),(0,t.jsxs)(n.mzw,{children:[(0,t.jsx)(n.wpx,{onClick:h,className:"mr-2 w-1/2",children:"Cancel"}),(0,t.jsx)(n.wpx,{type:"primary",disabled:!a,loading:r,onClick:i,htmlType:"submit",className:"mr-3 w-1/2","data-testid":"submit-btn",children:"Change Password"})]})]})]})]})},F=()=>{var e;let s=(0,r.C)(v.Ux),a=(0,r.C)(U.dy),l=!!a&&a.id===s,{data:i}=(0,v.gU)(null!=s?s:"",{skip:!s});return(null==i?void 0:null===(e=i.roles)||void 0===e?void 0:e.includes(o.A7.EXTERNAL_RESPONDENT))?null:(0,t.jsx)(n.xuv,{children:s?(0,t.jsxs)(n.Ugi,{children:[l?(0,t.jsx)(Y,{id:s}):null,(0,t.jsx)(c.ZP,{scopes:[o.Sh.USER_PASSWORD_RESET],children:(0,t.jsx)(V,{id:s})})]}):null})};let $=(e,s,a,t)=>!e||e&&!s||e&&s&&!0===a&&!!t,M=(e,s,a)=>!!(e&&s&&a),X=(e,s,a,t,n,l)=>!!e&&!s&&$(a,t,n,l),H=(e,s,a,t)=>$(e,s,a,t),G={username:"",first_name:"",email_address:"",last_name:"",password:"",password_login_enabled:!1},J=(e,s,a,t,n)=>R.Ry().shape({username:R.Z_().required().label("Username"),email_address:R.Z_().email().required().label("Email address"),first_name:R.Z_().label("First name"),last_name:R.Z_().label("Last name"),password:R.Z_().when(["password_login_enabled"],{is:l=>X(e,s,a,t,n,l),then:()=>z.a.label("Password"),otherwise:()=>R.Z_().optional().label("Password")}),password_login_enabled:R.O7().label("Allow password login")});var Q=e=>{let{onSubmit:s,initialValues:a,canEditNames:l}=e,i=(0,m.useRouter)(),d=(0,n.pmc)(),o=(0,r.T)(),c=(0,n.qY0)(),{data:p}=q(),{data:u}=(0,D.qv)();(0,I.tB)({api_set:!1});let j=(0,r.C)(v.ZC),b=(0,r.C)(I.iR),{plus:f}=(0,N.hz)(),_=(null==p?void 0:p.enabled)||!1,C=(null==b?void 0:b.allow_username_password_login)||!1,S=!j,k=!S&&!l,E=u&&u.length>0||!1,P=M(f,E,C),T=null!=a?a:G;j&&"password_login_enabled"in j&&(T={...T,password_login_enabled:!!j.password_login_enabled});let R=J(S,_,f,E,C),z=async e=>{let a=X(S,_,f,E,C,e.password_login_enabled),t={username:e.username,email_address:e.email_address,first_name:e.first_name,last_name:e.last_name};P&&(t.password_login_enabled=e.password_login_enabled),a&&e.password&&(t.password=e.password);let n=await s(t);if((0,x.D4)(n)){d((0,g.Vo)((0,x.e$)(n.error)));return}d((0,g.t5)("".concat(S?"User created. By default, new users are set to the Viewer role. To change the role, please go to the Permissions tab.":"User updated."))),(null==n?void 0:n.data)&&o((0,v.Vv)(n.data.id))};return(0,t.jsx)(h.J9,{onSubmit:z,initialValues:T,validationSchema:R,"data-testid":"user-form",children:e=>{let{dirty:s,isSubmitting:a,isValid:l,values:r}=e;return(0,t.jsx)(h.l0,{children:(0,t.jsxs)(n.Kqy,{maxW:["xs","xs","100%"],width:"100%",spacing:7,children:[(0,t.jsxs)(n.Kqy,{spacing:6,maxWidth:"55%",children:[(0,t.jsxs)(n.kCb,{children:[(0,t.jsxs)(n.xvT,{display:"flex",alignItems:"center",fontSize:"sm",fontWeight:"semibold",children:["Profile"," ",(null==j?void 0:j.disabled)&&(0,t.jsx)(n.j8w,{color:"success",className:"ml-2","data-testid":"invite-sent-badge",children:"Invite sent"})]}),(0,t.jsx)(n.xuv,{marginLeft:"auto",children:(0,t.jsxs)(n.Ugi,{children:[H(f,E,C||!1,r.password_login_enabled)&&(0,t.jsx)(F,{"data-testid":"password-management"}),S?null:(0,t.jsxs)(n.xuv,{children:[(0,t.jsx)(n.wpx,{"aria-label":"delete",icon:(0,t.jsx)(y.l,{}),onClick:c.onOpen,"data-testid":"delete-user-btn"}),(0,t.jsx)(A.Z,{user:j,...c})]})]})})]}),(0,t.jsx)(O.j0,{name:"username",label:"Username",variant:"block",placeholder:"Enter new username",disabled:!S,isRequired:!0,"data-testid":"input-username"}),(0,t.jsx)(O.j0,{name:"email_address",label:"Email address",variant:"block",placeholder:"Enter email of user",isRequired:!0,"data-testid":"input-email-address"}),(0,t.jsx)(O.j0,{name:"first_name",label:"First name",variant:"block",placeholder:"Enter first name of user",disabled:k,"data-testid":"input-first-name"}),(0,t.jsx)(O.j0,{name:"last_name",label:"Last name",variant:"block",placeholder:"Enter last name of user",disabled:k,"data-testid":"input-last-name"}),P&&(0,t.jsx)(O.w8,{name:"password_login_enabled",label:"Allow password login",tooltip:"When enabled, user can log in with username and password. When disabled, user must use SSO.",variant:"stacked",isDisabled:!S,"data-testid":"toggle-allow-password-login",size:"default"}),X(S,_,f,E,C,r.password_login_enabled)&&(0,t.jsx)(O.j0,{name:"password",label:"Password",variant:"block",placeholder:"********",type:"password",tooltip:"Password must contain at least 8 characters, 1 number, 1 capital letter, 1 lowercase letter, and at least 1 symbol.",isRequired:!0,"data-testid":"input-password"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(n.wpx,{onClick:()=>i.push(w.e3),className:"mr-3","data-testid":"cancel-btn",children:"Cancel"}),(0,t.jsx)(n.wpx,{htmlType:"submit",type:"primary",disabled:!s||!l,loading:a,"data-testid":"save-user-btn",children:"Save"})]})]})})}})},ee=e=>{let{onSubmit:s,initialValues:a,...l}=e,h=(0,r.C)(v.Ux);(0,v.Fk)(h,{skip:!h});let m=(0,c.Tg)([o.Sh.USER_PERMISSION_UPDATE]),p=[{label:"Profile",content:(0,t.jsx)(Q,{onSubmit:s,initialValues:a,...l})},{label:"Permissions",content:(0,t.jsxs)(n.kCb,{gap:"97px",children:[(0,t.jsx)(n.xuv,{w:{base:"100%",md:"50%",xl:"50%"},children:(0,t.jsx)(T,{})}),(0,t.jsx)(n.xuv,{position:"absolute",top:"96px",right:6,height:"calc(100% + 100px)",overflowY:"scroll",padding:6,w:"35%",borderLeftWidth:"1px",children:(0,t.jsx)(i,{})})]}),isDisabled:!h||!m}];return(0,t.jsx)(d.Z,{data:p})}},31883:function(e,s,a){a.d(s,{Bw:function(){return t.Bw},D4:function(){return t.D4}});var t=a(19043)}}]);
|
fides/ui-build/static/admin/_next/static/chunks/{431-cc1200b1bec1e1ad.js → 431-458946a2cae21b5d.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[431],{66726:function(t,e,i){var n=i(11611),r=i(82846),s=i(91936),o=Math.max,l=Math.min;t.exports=function(t,e,i){var a,c,u,d,f,x,v=0,h=!1,I=!1,j=!0;if("function"!=typeof t)throw TypeError("Expected a function");function E(e){var i=a,n=c;return a=c=void 0,v=e,d=t.apply(n,i)}function p(t){var i=t-x,n=t-v;return void 0===x||i>=e||i<0||I&&n>=u}function L(){var t,i,n,s=r();if(p(s))return m(s);f=setTimeout(L,(t=s-x,i=s-v,n=e-t,I?l(n,u-i):n))}function m(t){return(f=void 0,j&&a)?E(t):(a=c=void 0,d)}function C(){var t,i=r(),n=p(i);if(a=arguments,c=this,x=i,n){if(void 0===f)return v=t=x,f=setTimeout(L,e),h?E(t):d;if(I)return clearTimeout(f),f=setTimeout(L,e),E(x)}return void 0===f&&(f=setTimeout(L,e)),d}return e=s(e)||0,n(i)&&(h=!!i.leading,u=(I="maxWait"in i)?o(s(i.maxWait)||0,e):u,j="trailing"in i?!!i.trailing:j),C.cancel=function(){void 0!==f&&clearTimeout(f),v=0,a=x=c=f=void 0},C.flush=function(){return void 0===f?d:m(r())},C}},82846:function(t,e,i){var n=i(77400);t.exports=function(){return n.Date.now()}},30952:function(t,e,i){"use strict";i.d(e,{f:function(){return a}});var n=i(24246),r=i(66726),s=i.n(r),o=i(27378),l=i(26917);let a=t=>{let{value:e,onChange:i,placeholder:r,...a}=t,[c,u]=(0,o.useState)(e),d=s()(i,500),f=(0,o.useCallback)(t=>{u(t),d(t)},[]);return(0,n.jsx)(l.Z,{value:c,onChange:f,onClear:()=>{u(""),i("")},placeholder:r,...a})}},35287:function(t,e,i){"use strict";var n=i(24246),r=i(86920),s=i(88038),o=i.n(s);i(27378),e.Z=t=>{let{children:e,title:i,mainProps:s}=t;return(0,n.jsxs)(r.kCb,{"data-testid":i,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,n.jsxs)(o(),{children:[(0,n.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,n.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsx)(r.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...s,children:e})]})}},14047:function(t,e,i){"use strict";i.d(e,{H:function(){return s},V:function(){return n.V}});var n=i(84306),r=i(812);let s=()=>{let{errorAlert:t}=(0,n.V)();return{handleError:e=>{let i="An unexpected error occurred. Please try again.";(0,r.Ot)(e)?i=e.data.detail:(0,r.tB)(e)&&(i=e.data.detail[0].msg),t(i)}}}},84306:function(t,e,i){"use strict";i.d(e,{V:function(){return s}});var n=i(24246),r=i(86920);let s=()=>{let t=(0,r.pmc)();return{errorAlert:(e,i,s)=>{let o={...s,position:(null==s?void 0:s.position)||"top",render:t=>{let{onClose:s}=t;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:e})]}),(0,n.jsx)(r.PZ7,{onClick:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&t.isActive(s.id)?t.update(s.id,o):t(o)},successAlert:(e,i,s)=>{let o={...s,position:(null==s?void 0:s.position)||"top",render:t=>{let{onClose:s}=t;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:e})]}),(0,n.jsx)(r.PZ7,{onClick:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&t.isActive(s.id)?t.update(s.id,o):t(o)}}}},79494:function(t,e,i){"use strict";var n=i(24246),r=i(86920);e.Z=t=>{let{title:e,icon:i,type:s,...o}=t;return(0,n.jsx)(r.wpx,{size:"small",type:s,"data-testid":"action-".concat(e),icon:i,iconPosition:"start",...o,children:e})}},38347:function(t,e,i){"use strict";var n=i(24246),r=i(86920),s=i(56839);e.Z=()=>(0,n.jsxs)(r.J2e,{isLazy:!0,trigger:"hover",children:[(0,n.jsx)(r.xol,{children:(0,n.jsx)(r.UOT,{color:"gray.400"})}),(0,n.jsxs)(r.yky,{bgColor:"gray.800",color:"white",fontSize:"sm",w:"auto",border:"none",children:[(0,n.jsx)(r.Ytg,{fontWeight:"semibold",border:"none",pb:0,children:"Activity legend:"}),(0,n.jsx)(r.QHN,{bgColor:"gray.800"}),(0,n.jsx)(r.baG,{border:"none",children:(0,n.jsxs)(r.MIq,{columns:2,spacing:2,children:[(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.Rv,{})," Change detected"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.$P,{})," Data labeled"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.zj,{})," Monitoring"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.dK,{})," Addition detected"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.Kr,{})," Unmonitored"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.q1,{})," Removal detected"]})]})})]})]})},47182:function(t,e,i){"use strict";var n=i(86677),r=i(77830);e.Z=()=>{let t=(0,n.useRouter)();return{monitorId:t.query.monitorId,resourceUrn:t.query.resourceUrn,navigateToDetectionResults:e=>{let{resourceUrn:i,filterTabIndex:n}=e;t.push({pathname:r.dS,query:{resourceUrn:i,filterTabIndex:n}})},navigateToDiscoveryResults:e=>{let{resourceUrn:i,filterTabIndex:n}=e;t.push({pathname:r.Sj,query:{resourceUrn:i,filterTabIndex:n}})}}}},56839:function(t,e,i){"use strict";i.d(e,{dK:function(){return u},Rv:function(){return x},$P:function(){return f},zj:function(){return v},Kr:function(){return h},q1:function(){return d},QL:function(){return I}});var n=i(24246),r=i(86920);let s=(0,r.IUT)({displayName:"CircleIcon",viewBox:"0 0 200 200",path:(0,n.jsx)("path",{fill:"currentColor",d:"M 100, 100 m -75, 0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0"})}),o=(0,r.IUT)({displayName:"RightDownArrowIcon",viewBox:"0 0 8 8",path:(0,n.jsx)("path",{fill:"currentColor",d:"M7.23192 8H8V7.23192V1.85539V1.08731H6.46385V1.85539V5.37654L1.62976 0.544855L1.08731 0L0 1.08731L0.542454 1.62976L5.37654 6.46385H1.85539H1.08731V8H1.85539H7.23192Z"})}),l=(0,r.IUT)({displayName:"RightUpArrowIcon",viewBox:"0 0 8 8",path:(0,n.jsx)("path",{fill:"currentColor",d:"M7.23192 0H8V0.768077V6.14461V6.91269H6.46385V6.14461V2.62346L1.62976 7.45515L1.08731 8L0 6.91269L0.542454 6.37024L5.37654 1.53615H1.85539H1.08731V0H1.85539H7.23192Z"})}),a=(0,r.IUT)({displayName:"TagIcon",viewBox:"0 0 9 10",path:(0,n.jsx)("path",{fill:"currentColor",d:"M0 0.5V5L4.5 9.5L9 5L4.5 0.5H0ZM2.25 2.10714C2.4205 2.10714 2.58401 2.17487 2.70457 2.29543C2.82513 2.41599 2.89286 2.5795 2.89286 2.75C2.89286 2.9205 2.82513 3.08401 2.70457 3.20457C2.58401 3.32513 2.4205 3.39286 2.25 3.39286C2.0795 3.39286 1.91599 3.32513 1.79543 3.20457C1.67487 3.08401 1.60714 2.9205 1.60714 2.75C1.60714 2.5795 1.67487 2.41599 1.79543 2.29543C1.91599 2.17487 2.0795 2.10714 2.25 2.10714Z"})});var c=i(28278);let u=()=>(0,n.jsx)(l,{color:"green.400",boxSize:2,mr:2,"data-testid":"add-icon"}),d=()=>(0,n.jsx)(o,{color:"red.400",boxSize:2,mr:2,"data-testid":"remove-icon"}),f=()=>(0,n.jsx)(a,{color:"orange.400",boxSize:3,mr:1,"data-testid":"classify-icon"}),x=()=>(0,n.jsx)(s,{color:"blue.400",boxSize:2.5,mb:"2px",mr:"6px","data-testid":"change-icon"}),v=()=>(0,n.jsx)(s,{color:"green.400",boxSize:2,mr:2,"data-testid":"monitored-icon"}),h=()=>(0,n.jsx)(s,{color:"red.400",boxSize:2,mr:2,"data-testid":"muted-icon"}),I={[c.E.ADDITION]:(0,n.jsx)(u,{}),[c.E.REMOVAL]:(0,n.jsx)(d,{}),[c.E.CLASSIFICATION]:(0,n.jsx)(f,{}),[c.E.CHANGE]:(0,n.jsx)(x,{}),[c.E.MONITORED]:(0,n.jsx)(v,{}),[c.E.MUTED]:(0,n.jsx)(h,{}),[c.E.IN_PROGRESS]:(0,n.jsx)(()=>(0,n.jsx)(s,{color:"orange.400",boxSize:2,mr:2,"data-testid":"in-progress-icon"}),{}),[c.E.NONE]:null}},87667:function(t,e,i){"use strict";var n=i(24246),r=i(86920),s=i(56839),o=i(20449),l=i(98559),a=i(80356);e.Z=t=>{let{result:e,changeTypeOverride:i}=t,c=null!=i?i:(0,o.Z)(e);return(0,n.jsxs)(r.kCb,{alignItems:"center",height:"100%",children:[(0,n.jsx)(r.esZ,{title:c,children:(0,n.jsx)("span",{children:s.QL[c]})}),(0,n.jsx)(r.xvT,{fontSize:"xs",lineHeight:4,fontWeight:(0,a.Z)(e)?"semibold":"normal",overflow:"hidden",textOverflow:"ellipsis",children:(0,l.Z)(e)})]})}},50169:function(t,e,i){"use strict";var n=i(24246),r=i(85422),s=i(28278),o=i(20449);let l={[s.E.MUTED]:{color:"marble",label:"Unmonitored"},[s.E.MONITORED]:{color:"success",label:"Monitoring"},[s.E.IN_PROGRESS]:{color:"info",label:"Classifying"}};e.Z=t=>{var e,i,s,a,c;let{result:u,changeTypeOverride:d}=t;if(null===(e=u.user_assigned_data_categories)||void 0===e?void 0:e.length)return(0,n.jsx)(r.A4,{color:"success",value:"Reviewed"});let f=null!=d?d:(0,o.Z)(u);return(0,n.jsx)(r.A4,{color:null!==(a=null===(i=l[f])||void 0===i?void 0:i.color)&&void 0!==a?a:"warning",value:null!==(c=null===(s=l[f])||void 0===s?void 0:s.label)&&void 0!==c?c:"Pending review"})}},28278:function(t,e,i){"use strict";var n,r;i.d(e,{E:function(){return n}}),(r=n||(n={})).ADDITION="Addition",r.CHANGE="Change",r.REMOVAL="Removal",r.CLASSIFICATION="Classification",r.IN_PROGRESS="Classifying",r.MONITORED="Monitoring",r.MUTED="Unmonitored",r.NONE="--"},74241:function(t,e){"use strict";e.Z=t=>{let e=t.split(".");return e.length>1?e[1]:""}},20449:function(t,e,i){"use strict";var n=i(28278),r=i(68309);e.Z=t=>t.diff_status===r.LL.ADDITION?n.E.ADDITION:t.diff_status===r.LL.REMOVAL?n.E.REMOVAL:t.diff_status===r.LL.CLASSIFYING||t.diff_status===r.LL.CLASSIFICATION_QUEUED?n.E.IN_PROGRESS:t.diff_status===r.LL.CLASSIFICATION_ADDITION||t.diff_status===r.LL.CLASSIFICATION_UPDATE?n.E.CLASSIFICATION:t.child_diff_statuses?t.child_diff_statuses[r.LL.CLASSIFYING]||t.child_diff_statuses[r.LL.CLASSIFICATION_QUEUED]?n.E.IN_PROGRESS:t.child_diff_statuses[r.LL.CLASSIFICATION_ADDITION]||t.child_diff_statuses[r.LL.CLASSIFICATION_UPDATE]?n.E.CLASSIFICATION:t.child_diff_statuses[r.LL.ADDITION]||t.child_diff_statuses[r.LL.REMOVAL]?n.E.CHANGE:t.diff_status===r.LL.MONITORED?n.E.MONITORED:t.diff_status===r.LL.MUTED?n.E.MUTED:n.E.NONE:n.E.NONE},7940:function(t,e,i){"use strict";i.d(e,{G:function(){return r}});var n=i(68309);let r=t=>{var e,i,r;return t?t.resource_type?t.resource_type:(null===(e=t.schemas)||void 0===e?void 0:e.length)?n.D$.DATABASE:(null===(i=t.tables)||void 0===i?void 0:i.length)?n.D$.SCHEMA:(null===(r=t.fields)||void 0===r?void 0:r.length)?n.D$.TABLE:n.D$.FIELD:void 0}},98559:function(t,e){"use strict";e.Z=t=>{let{name:e,urn:i,monitor_config_id:n,database_name:r,schema_name:s,table_name:o,top_level_field_name:l,top_level_field_urn:a}=t;if(!l)return e;let c=i.split(".");return a?i.replace("".concat(a).concat("."),""):([n,r,s,o,l].forEach(t=>{if(t){let e=c.indexOf(t);e>-1&&c.splice(e,1)}}),c.join("."))}},80285:function(t,e){"use strict";e.Z=t=>t.urn},36168:function(t,e){"use strict";e.Z=t=>{var e;return!!t.parent_table_urn&&null!==(e=t.sub_field_urns)&&void 0!==e&&!!e.length&&!t.top_level_field_name}},80356:function(t,e,i){"use strict";var n=i(7940),r=i(36168),s=i(68309);e.Z=t=>(0,n.G)(t)!==s.D$.FIELD||(0,r.Z)(t)}}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[431],{66726:function(t,e,i){var n=i(11611),r=i(82846),s=i(91936),o=Math.max,l=Math.min;t.exports=function(t,e,i){var a,c,u,d,f,x,v=0,h=!1,I=!1,j=!0;if("function"!=typeof t)throw TypeError("Expected a function");function E(e){var i=a,n=c;return a=c=void 0,v=e,d=t.apply(n,i)}function p(t){var i=t-x,n=t-v;return void 0===x||i>=e||i<0||I&&n>=u}function L(){var t,i,n,s=r();if(p(s))return m(s);f=setTimeout(L,(t=s-x,i=s-v,n=e-t,I?l(n,u-i):n))}function m(t){return(f=void 0,j&&a)?E(t):(a=c=void 0,d)}function C(){var t,i=r(),n=p(i);if(a=arguments,c=this,x=i,n){if(void 0===f)return v=t=x,f=setTimeout(L,e),h?E(t):d;if(I)return clearTimeout(f),f=setTimeout(L,e),E(x)}return void 0===f&&(f=setTimeout(L,e)),d}return e=s(e)||0,n(i)&&(h=!!i.leading,u=(I="maxWait"in i)?o(s(i.maxWait)||0,e):u,j="trailing"in i?!!i.trailing:j),C.cancel=function(){void 0!==f&&clearTimeout(f),v=0,a=x=c=f=void 0},C.flush=function(){return void 0===f?d:m(r())},C}},82846:function(t,e,i){var n=i(77400);t.exports=function(){return n.Date.now()}},30952:function(t,e,i){"use strict";i.d(e,{f:function(){return a}});var n=i(24246),r=i(66726),s=i.n(r),o=i(27378),l=i(26917);let a=t=>{let{value:e,onChange:i,placeholder:r,...a}=t,[c,u]=(0,o.useState)(e),d=s()(i,500),f=(0,o.useCallback)(t=>{u(t),d(t)},[]);return(0,n.jsx)(l.Z,{value:c,onChange:f,onClear:()=>{u(""),i("")},placeholder:r,...a})}},35287:function(t,e,i){"use strict";var n=i(24246),r=i(86920),s=i(88038),o=i.n(s);i(27378),e.Z=t=>{let{children:e,title:i,mainProps:s}=t;return(0,n.jsxs)(r.kCb,{"data-testid":i,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,n.jsxs)(o(),{children:[(0,n.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,n.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsx)(r.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...s,children:e})]})}},14047:function(t,e,i){"use strict";i.d(e,{H:function(){return s},V:function(){return n.V}});var n=i(84306),r=i(812);let s=()=>{let{errorAlert:t}=(0,n.V)();return{handleError:e=>{let i="An unexpected error occurred. Please try again.";(0,r.Ot)(e)?i=e.data.detail:(0,r.tB)(e)&&(i=e.data.detail[0].msg),t(i)}}}},84306:function(t,e,i){"use strict";i.d(e,{V:function(){return s}});var n=i(24246),r=i(86920);let s=()=>{let t=(0,r.pmc)();return{errorAlert:(e,i,s)=>{let o={...s,position:(null==s?void 0:s.position)||"top",render:t=>{let{onClose:s}=t;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:e})]}),(0,n.jsx)(r.PZ7,{onClick:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&t.isActive(s.id)?t.update(s.id,o):t(o)},successAlert:(e,i,s)=>{let o={...s,position:(null==s?void 0:s.position)||"top",render:t=>{let{onClose:s}=t;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:e})]}),(0,n.jsx)(r.PZ7,{onClick:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&t.isActive(s.id)?t.update(s.id,o):t(o)}}}},79494:function(t,e,i){"use strict";var n=i(24246),r=i(86920);e.Z=t=>{let{title:e,icon:i,type:s,...o}=t;return(0,n.jsx)(r.wpx,{size:"small",type:s,"data-testid":"action-".concat(e),icon:i,iconPosition:"start",...o,children:e})}},38347:function(t,e,i){"use strict";var n=i(24246),r=i(86920),s=i(56839);e.Z=()=>(0,n.jsxs)(r.J2e,{isLazy:!0,trigger:"hover",children:[(0,n.jsx)(r.xol,{children:(0,n.jsx)(r.UOT,{color:"gray.400"})}),(0,n.jsxs)(r.yky,{bgColor:"gray.800",color:"white",fontSize:"sm",w:"auto",border:"none",children:[(0,n.jsx)(r.Ytg,{fontWeight:"semibold",border:"none",pb:0,children:"Activity legend:"}),(0,n.jsx)(r.QHN,{bgColor:"gray.800"}),(0,n.jsx)(r.baG,{border:"none",children:(0,n.jsxs)(r.MIq,{columns:2,spacing:2,children:[(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.Rv,{})," Change detected"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.$P,{})," Data labeled"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.zj,{})," Monitoring"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.dK,{})," Addition detected"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.Kr,{})," Unmonitored"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.q1,{})," Removal detected"]})]})})]})]})},47182:function(t,e,i){"use strict";var n=i(86677),r=i(77830);e.Z=()=>{let t=(0,n.useRouter)();return{monitorId:t.query.monitorId,resourceUrn:t.query.resourceUrn,navigateToDetectionResults:e=>{let{resourceUrn:i,filterTabIndex:n}=e;t.push({pathname:r.dS,query:{resourceUrn:i,filterTabIndex:n}})},navigateToDiscoveryResults:e=>{let{resourceUrn:i,filterTabIndex:n}=e;t.push({pathname:r.Sj,query:{resourceUrn:i,filterTabIndex:n}})}}}},56839:function(t,e,i){"use strict";i.d(e,{dK:function(){return u},Rv:function(){return x},$P:function(){return f},zj:function(){return v},Kr:function(){return h},q1:function(){return d},QL:function(){return I}});var n=i(24246),r=i(86920);let s=(0,r.IUT)({displayName:"CircleIcon",viewBox:"0 0 200 200",path:(0,n.jsx)("path",{fill:"currentColor",d:"M 100, 100 m -75, 0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0"})}),o=(0,r.IUT)({displayName:"RightDownArrowIcon",viewBox:"0 0 8 8",path:(0,n.jsx)("path",{fill:"currentColor",d:"M7.23192 8H8V7.23192V1.85539V1.08731H6.46385V1.85539V5.37654L1.62976 0.544855L1.08731 0L0 1.08731L0.542454 1.62976L5.37654 6.46385H1.85539H1.08731V8H1.85539H7.23192Z"})}),l=(0,r.IUT)({displayName:"RightUpArrowIcon",viewBox:"0 0 8 8",path:(0,n.jsx)("path",{fill:"currentColor",d:"M7.23192 0H8V0.768077V6.14461V6.91269H6.46385V6.14461V2.62346L1.62976 7.45515L1.08731 8L0 6.91269L0.542454 6.37024L5.37654 1.53615H1.85539H1.08731V0H1.85539H7.23192Z"})}),a=(0,r.IUT)({displayName:"TagIcon",viewBox:"0 0 9 10",path:(0,n.jsx)("path",{fill:"currentColor",d:"M0 0.5V5L4.5 9.5L9 5L4.5 0.5H0ZM2.25 2.10714C2.4205 2.10714 2.58401 2.17487 2.70457 2.29543C2.82513 2.41599 2.89286 2.5795 2.89286 2.75C2.89286 2.9205 2.82513 3.08401 2.70457 3.20457C2.58401 3.32513 2.4205 3.39286 2.25 3.39286C2.0795 3.39286 1.91599 3.32513 1.79543 3.20457C1.67487 3.08401 1.60714 2.9205 1.60714 2.75C1.60714 2.5795 1.67487 2.41599 1.79543 2.29543C1.91599 2.17487 2.0795 2.10714 2.25 2.10714Z"})});var c=i(28278);let u=()=>(0,n.jsx)(l,{color:"green.400",boxSize:2,mr:2,"data-testid":"add-icon"}),d=()=>(0,n.jsx)(o,{color:"red.400",boxSize:2,mr:2,"data-testid":"remove-icon"}),f=()=>(0,n.jsx)(a,{color:"orange.400",boxSize:3,mr:1,"data-testid":"classify-icon"}),x=()=>(0,n.jsx)(s,{color:"blue.400",boxSize:2.5,mb:"2px",mr:"6px","data-testid":"change-icon"}),v=()=>(0,n.jsx)(s,{color:"green.400",boxSize:2,mr:2,"data-testid":"monitored-icon"}),h=()=>(0,n.jsx)(s,{color:"red.400",boxSize:2,mr:2,"data-testid":"muted-icon"}),I={[c.E.ADDITION]:(0,n.jsx)(u,{}),[c.E.REMOVAL]:(0,n.jsx)(d,{}),[c.E.CLASSIFICATION]:(0,n.jsx)(f,{}),[c.E.CHANGE]:(0,n.jsx)(x,{}),[c.E.MONITORED]:(0,n.jsx)(v,{}),[c.E.MUTED]:(0,n.jsx)(h,{}),[c.E.IN_PROGRESS]:(0,n.jsx)(()=>(0,n.jsx)(s,{color:"orange.400",boxSize:2,mr:2,"data-testid":"in-progress-icon"}),{}),[c.E.NONE]:null}},87667:function(t,e,i){"use strict";var n=i(24246),r=i(86920),s=i(56839),o=i(20449),l=i(98559),a=i(80356);e.Z=t=>{let{result:e,changeTypeOverride:i}=t,c=null!=i?i:(0,o.Z)(e);return(0,n.jsxs)(r.kCb,{alignItems:"center",height:"100%",children:[(0,n.jsx)(r.esZ,{title:c,children:(0,n.jsx)("span",{children:s.QL[c]})}),(0,n.jsx)(r.xvT,{fontSize:"xs",lineHeight:4,fontWeight:(0,a.Z)(e)?"semibold":"normal",overflow:"hidden",textOverflow:"ellipsis",children:(0,l.Z)(e)})]})}},50169:function(t,e,i){"use strict";var n=i(24246),r=i(47935),s=i(28278),o=i(20449);let l={[s.E.MUTED]:{color:"marble",label:"Unmonitored"},[s.E.MONITORED]:{color:"success",label:"Monitoring"},[s.E.IN_PROGRESS]:{color:"info",label:"Classifying"}};e.Z=t=>{var e,i,s,a,c;let{result:u,changeTypeOverride:d}=t;if(null===(e=u.user_assigned_data_categories)||void 0===e?void 0:e.length)return(0,n.jsx)(r.A4,{color:"success",value:"Reviewed"});let f=null!=d?d:(0,o.Z)(u);return(0,n.jsx)(r.A4,{color:null!==(a=null===(i=l[f])||void 0===i?void 0:i.color)&&void 0!==a?a:"warning",value:null!==(c=null===(s=l[f])||void 0===s?void 0:s.label)&&void 0!==c?c:"Pending review"})}},28278:function(t,e,i){"use strict";var n,r;i.d(e,{E:function(){return n}}),(r=n||(n={})).ADDITION="Addition",r.CHANGE="Change",r.REMOVAL="Removal",r.CLASSIFICATION="Classification",r.IN_PROGRESS="Classifying",r.MONITORED="Monitoring",r.MUTED="Unmonitored",r.NONE="--"},74241:function(t,e){"use strict";e.Z=t=>{let e=t.split(".");return e.length>1?e[1]:""}},20449:function(t,e,i){"use strict";var n=i(28278),r=i(68309);e.Z=t=>t.diff_status===r.LL.ADDITION?n.E.ADDITION:t.diff_status===r.LL.REMOVAL?n.E.REMOVAL:t.diff_status===r.LL.CLASSIFYING||t.diff_status===r.LL.CLASSIFICATION_QUEUED?n.E.IN_PROGRESS:t.diff_status===r.LL.CLASSIFICATION_ADDITION||t.diff_status===r.LL.CLASSIFICATION_UPDATE?n.E.CLASSIFICATION:t.child_diff_statuses?t.child_diff_statuses[r.LL.CLASSIFYING]||t.child_diff_statuses[r.LL.CLASSIFICATION_QUEUED]?n.E.IN_PROGRESS:t.child_diff_statuses[r.LL.CLASSIFICATION_ADDITION]||t.child_diff_statuses[r.LL.CLASSIFICATION_UPDATE]?n.E.CLASSIFICATION:t.child_diff_statuses[r.LL.ADDITION]||t.child_diff_statuses[r.LL.REMOVAL]?n.E.CHANGE:t.diff_status===r.LL.MONITORED?n.E.MONITORED:t.diff_status===r.LL.MUTED?n.E.MUTED:n.E.NONE:n.E.NONE},7940:function(t,e,i){"use strict";i.d(e,{G:function(){return r}});var n=i(68309);let r=t=>{var e,i,r;return t?t.resource_type?t.resource_type:(null===(e=t.schemas)||void 0===e?void 0:e.length)?n.D$.DATABASE:(null===(i=t.tables)||void 0===i?void 0:i.length)?n.D$.SCHEMA:(null===(r=t.fields)||void 0===r?void 0:r.length)?n.D$.TABLE:n.D$.FIELD:void 0}},98559:function(t,e){"use strict";e.Z=t=>{let{name:e,urn:i,monitor_config_id:n,database_name:r,schema_name:s,table_name:o,top_level_field_name:l,top_level_field_urn:a}=t;if(!l)return e;let c=i.split(".");return a?i.replace("".concat(a).concat("."),""):([n,r,s,o,l].forEach(t=>{if(t){let e=c.indexOf(t);e>-1&&c.splice(e,1)}}),c.join("."))}},80285:function(t,e){"use strict";e.Z=t=>t.urn},36168:function(t,e){"use strict";e.Z=t=>{var e;return!!t.parent_table_urn&&null!==(e=t.sub_field_urns)&&void 0!==e&&!!e.length&&!t.top_level_field_name}},80356:function(t,e,i){"use strict";var n=i(7940),r=i(36168),s=i(68309);e.Z=t=>(0,n.G)(t)!==s.D$.FIELD||(0,r.Z)(t)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5309],{74833:function(e,t,i){var r=i(56127),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},56127:function(e){var t=/\s/;e.exports=function(e){for(var i=e.length;i--&&t.test(e.charAt(i)););return i}},11611:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},55193:function(e,t,i){var r=i(99736),a=i(92360);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},91936:function(e,t,i){var r=i(74833),a=i(11611),s=i(55193),l=0/0,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return l;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=r(e);var i=o.test(e);return i||c.test(e)?d(e.slice(2),i?2:8):n.test(e)?l:+e}},7617:function(e,t,i){"use strict";i.d(t,{q:function(){return s}});var r=i(24246),a=i(86920);let s=e=>{let{label:t,isDisabled:i,...s}=e;return(0,r.jsx)(a.OK9,{"data-testid":"tab-".concat(t),_selected:{fontWeight:"600",color:"complimentary.500",borderColor:"complimentary.500"},fontSize:s.fontSize,fontWeight:"500",color:"gray.500",isDisabled:i||!1,children:t})};t.Z=e=>{let{data:t,border:i="partial",...l}=e;return(0,r.jsxs)(a.mQc,{colorScheme:"complimentary",...l,children:[(0,r.jsx)(a.tdY,{width:"partial"===i?"max-content":void 0,children:t.map(e=>(0,r.jsx)(s,{label:e.label,isDisabled:e.isDisabled,fontSize:l.fontSize},e.label))}),(0,r.jsx)(a.nPR,{children:t.map(e=>(0,r.jsx)(a.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})]})}},66379:function(e,t,i){"use strict";var r=i(24246),a=i(86920),s=i(7617);t.Z=e=>{let{data:t,border:i="partial",borderWidth:l=2,...n}=e;return(0,r.jsx)(a.mQc,{colorScheme:"complimentary",...n,children:(0,r.jsx)(a.tdY,{width:"partial"===i?"max-content":void 0,borderBottomWidth:l,children:t.map(e=>(0,r.jsx)(s.q,{label:e.label,"data-testid":e.label,isDisabled:e.isDisabled,fontSize:n.fontSize},e.label))})})}},58754:function(e,t,i){"use strict";var r=i(24246),a=i(86920),s=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:l=!0,children:n,rightContent:o,style:c,...d}=e;return(0,r.jsxs)("div",{...d,style:l?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,r.jsxs)(a.jqI,{justify:"space-between",children:["string"==typeof t?(0,r.jsx)(a.lQT,{className:i||n?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,o&&(0,r.jsx)("div",{"data-testid":"page-header-right-content",children:o})]}),!!i&&(0,r.jsx)(s.m,{className:n?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),n]})}},70788:function(e,t,i){"use strict";i.d(t,{m:function(){return c}});var r=i(24246),a=i(86920),s=i(79894),l=i.n(s),n=i(27378);let{Text:o}=a.AntTypography,c=e=>{let{items:t,...i}=e,s=(0,n.useMemo)(()=>null==t?void 0:t.map((e,i)=>{let s=i===t.length-1,n={...e},c=n.onClick&&!n.href;return("string"==typeof n.title&&(n.title=(0,r.jsx)(o,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:n.title})),c)?n.title=(0,r.jsx)(a.wpx,{type:"text",size:"small",icon:n.icon,onClick:n.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:n.title}):(n.icon&&(n.title=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"anticon align-text-bottom",children:n.icon}),n.title]})),n.href&&n.title&&(n.title=(0,r.jsx)(l(),{href:n.href,className:"ant-breadcrumb-link",children:n.title}),delete n.href)),n}),[t]);return(0,r.jsx)(a.zrq,{items:s,...i})}},45896:function(e,t,i){"use strict";var r=i(24246),a=i(66379);t.Z=e=>{let{filterTabs:t,onChange:i,filterTabIndex:s}=e;return(0,r.jsx)(a.Z,{border:"full-width",mb:5,size:"sm",data:t,borderWidth:1,index:s,onChange:i})}},69828:function(e,t,i){"use strict";i.d(t,{Y:function(){return l}});var r=i(24246),a=i(86920),s=i(70788);let l=[(0,r.jsx)(a.PJP.S9g,{},"layers"),(0,r.jsx)(a.PJP.ehp,{},"dataset"),(0,r.jsx)(a.PJP.iA_,{},"table"),(0,r.jsx)(a.PJP.$4y,{style:{transform:"rotate(-90deg)"}},"field")];t.Z=e=>{let{resourceUrn:t,parentLink:i,onPathClick:a=()=>{}}=e,n=[];if(t||n.push({title:"All activity"}),t){n.push({title:"All activity",href:i});let e=t.split(".");e.forEach((t,i)=>{0!==i&&n.push({title:t,icon:l[i-1],onClick:t=>{t.preventDefault(),a(e.slice(0,i+1).join("."))}})})}return(0,r.jsx)(s.m,{"data-testid":"results-breadcrumb",items:n})}},1039:function(e,t,i){"use strict";i.d(t,{Z:function(){return H}});var r=i(24246),a=i(59003),s=i(92222),l=i(86920),n=i(86677),o=i(27378),c=i(85422),d=i(45896),u=i(70675),h=i(72625),x=i(54409),m=i(79947),p=i(87667),g=i(50169),f=i(28278),j=i(68309),v=i(74241),L=e=>{let{resourceType:t,changeTypeOverride:i}=e,a=(0,s.Cl)(),l=[];return t?t===j.D$.SCHEMA?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,r.jsx)(p.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Name",...e}),size:300}),a.accessor(e=>e.urn,{id:"project",cell:e=>(0,r.jsx)(c.G3,{value:(0,v.Z)(e.getValue())}),header:e=>(0,r.jsx)(c.Rr,{value:"Project",...e})}),a.display({id:"status",cell:e=>(0,r.jsx)(g.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Status",...e})}),a.accessor(e=>e.system,{id:"system",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"System",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,r.jsx)(h.Cy,{time:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,r.jsx)(x.Z,{ignoreChildActions:i===f.E.MONITORED||i===f.E.MUTED,resource:e.row.original}),header:"Actions",size:200,meta:{disableRowClick:!0}})]}:t===j.D$.TABLE?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,r.jsx)(p.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Table name",...e}),size:300}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,r.jsx)(c.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,r.jsx)(g.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Status",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,r.jsx)(h.Cy,{time:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,r.jsx)(x.Z,{resource:e.row.original}),header:"Actions",size:200,meta:{disableRowClick:!0}})]}:t===j.D$.FIELD?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,r.jsx)(p.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Field name",...e}),size:300}),a.accessor(e=>e.source_data_type,{id:"data-type",cell:e=>(0,r.jsx)(m.Z,{type:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"Data type",...e})}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,r.jsx)(c.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,r.jsx)(g.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Status",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,r.jsx)(h.Cy,{time:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,r.jsx)(x.Z,{resource:e.row.original}),header:"Actions",size:200,meta:{disableRowClick:!0}})]}:t===j.D$.ENDPOINT?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,r.jsx)(p.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Object",...e}),size:300}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,r.jsx)(c.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,r.jsx)(g.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Status",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,r.jsx)(h.Cy,{time:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,r.jsx)(x.Z,{resource:e.row.original}),header:"Actions",size:200,meta:{disableRowClick:!0}})]}:{columns:l}:{columns:l}},b=e=>{let{initialFilterTabIndex:t=0}=e,[i,r]=(0,o.useState)(t),a=(0,o.useMemo)(()=>[{label:"Action Required",filters:[j.LL.ADDITION,j.LL.REMOVAL],childFilters:[j.LL.ADDITION,j.LL.REMOVAL]},{label:"Monitored",filters:[j.LL.MONITORED],childFilters:[],changeTypeOverride:f.E.MONITORED},{label:"Unmonitored",filters:[j.LL.MUTED],childFilters:[],changeTypeOverride:f.E.MUTED}],[]);return{filterTabs:a,filterTabIndex:i,setFilterTabIndex:r,activeDiffFilters:a[i].filters,activeChildDiffFilters:a[i].childFilters,activeChangeTypeOverride:a[i].changeTypeOverride}},y=i(47182),D=i(38347),R=i(7940),w=i(80285),T=i(36168),_=i(30952);let C={items:[],total:0,page:1,size:50,pages:1},I=()=>(0,r.jsx)(l.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:(0,r.jsxs)(l.gCW,{children:[(0,r.jsx)(l.xvT,{fontSize:"md",fontWeight:"600",children:"No activity found"}),(0,r.jsx)(l.xvT,{fontSize:"sm",children:"You're up to date!"})]})});var H=e=>{var t,i;let{resourceUrn:h}=e,x=(0,n.useRouter)(),[m,p]=(0,o.useState)(""),{filterTabs:g,setFilterTabIndex:f,filterTabIndex:v,activeDiffFilters:H,activeChildDiffFilters:Z,activeChangeTypeOverride:M}=b({initialFilterTabIndex:(null===(t=x.query)||void 0===t?void 0:t.filterTabIndex)?Number(null===(i=x.query)||void 0===i?void 0:i.filterTabIndex):void 0}),{PAGE_SIZES:O,pageSize:E,setPageSize:k,onPreviousPageClick:S,isPreviousPageDisabled:N,onNextPageClick:A,isNextPageDisabled:z,startRange:P,endRange:V,pageIndex:F,setTotalPages:$,resetPageIndexToDefault:U}=(0,c.oi)();(0,o.useEffect)(()=>{U()},[h,m,U,H,Z]);let{isFetching:W,isLoading:G,data:q}=(0,u.z8)({staged_resource_urn:h,page:F,size:E,child_diff_status:Z,diff_status:H,search:m}),B=(0,R.G)(null==q?void 0:q.items[0]),{columns:J}=L({resourceType:B,changeTypeOverride:M}),{items:Q,total:Y,pages:K}=(0,o.useMemo)(()=>null!=q?q:C,[q]);(0,o.useEffect)(()=>{$(K)},[K,$]);let X=(0,o.useMemo)(()=>J,[J]),{navigateToDetectionResults:ee}=(0,y.Z)(),et=(0,a.b7)({getCoreRowModel:(0,s.sC)(),getGroupedRowModel:(0,s.qe)(),getExpandedRowModel:(0,s.rV)(),getRowId:w.Z,columns:X,manualPagination:!0,data:Q,columnResizeMode:"onChange"});return G?(0,r.jsx)(c.I4,{rowHeight:36,numRows:36}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.Z,{filterTabs:g,filterTabIndex:v,onChange:f}),(0,r.jsx)(c.Q$,{children:(0,r.jsx)(l.kCb,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"full",children:(0,r.jsxs)(l.kCb,{gap:6,align:"center",children:[(0,r.jsx)(l.xuv,{flexShrink:0,children:(0,r.jsx)(_.f,{value:m,onChange:p})}),(0,r.jsx)(D.Z,{})]})})}),(0,r.jsx)(c.ZK,{tableInstance:et,onRowClick:e=>ee({resourceUrn:e.urn,filterTabIndex:v}),getRowIsClickable:e=>B!==j.D$.FIELD||(0,T.Z)(e),emptyTableNotice:(0,r.jsx)(I,{})}),(0,r.jsx)(c.s8,{totalRows:Y||0,pageSizes:O,setPageSize:k,onPreviousPageClick:S,isPreviousPageDisabled:N||W,onNextPageClick:A,isNextPageDisabled:z||W,startRange:P,endRange:V})]})}},54409:function(e,t,i){"use strict";i.d(t,{Z:function(){return m}});var r=i(24246),a=i(86920),s=i(812),l=i(14047),n=i(68309),o=i(31883);let c=(0,a.IUT)({displayName:"MonitorOffIcon",viewBox:"0 0 12 12",path:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.47125 1H5.85H6.15H6.51188L6.58875 1.36914L7.52062 5.83268L6.42408 4.98635L6.03375 3.11719L5.8038 4.50761L4.99323 3.882L5.40562 1.38867L5.47125 1ZM4.80795 5.0022L4.67675 5.79545L5.48735 6.42109L5.61854 5.62783L4.80795 5.0022ZM6.73856 6.49227L6.96125 7.55866L8.42407 8.6877L8.69498 8.00228L7.94864 7.42624L7.88625 7.58398L7.83501 7.33853L6.73856 6.49227ZM8.33138 6.45844L9.07755 7.03434L9.30188 6.4668H11.55H12V5.5293H11.55H9H8.69812L8.58375 5.82031L8.33138 6.45844ZM7.27551 9.06443L7.35399 9.125H7.28813L7.27551 9.06443ZM4.49147 6.91566L5.30209 7.54131L4.79437 10.6113L4.72875 11H4.35H4.05H3.69563L3.61313 10.6406L2.64563 6.46875H0.45H0V5.53125H0.45H2.69777L3.49646 6.1477L4.15125 8.97266L4.49147 6.91566Z",fill:"currentColor"}),(0,r.jsx)("g",{clipPath:"url(#clip0_341_3102)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.6755 10.4168L0.164222 2.304L0.775218 1.51237L11.2865 9.62517L10.6755 10.4168Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_341_3102",children:(0,r.jsx)("rect",{width:"11.5",height:"9",fill:"white",transform:"translate(0 1.5)"})})})]})}),d=(0,a.IUT)({displayName:"MonitorOnIcon",viewBox:"0 0 12 10",path:(0,r.jsx)("path",{d:"M5.47125 0H5.85H6.15H6.51188L6.58875 0.369141L7.88625 6.58398L8.58375 4.82031L8.69812 4.5293H9H11.55H12V5.4668H11.55H9.30188L8.36625 7.83398L8.25188 8.125H7.95H7.65H7.28813L7.21125 7.75586L6.03375 2.11719L4.79437 9.61133L4.72875 10H4.35H4.05H3.69563L3.61313 9.64062L2.64563 5.46875H0.45H0V4.53125H0.45H3H3.35438L3.43688 4.89062L4.15125 7.97266L5.40562 0.388672L5.47125 0Z",fill:"currentColor"})});var u=i(79494),h=i(70675),x=i(7940),m=e=>{let{resource:t,ignoreChildActions:i=!1}=e,m=(0,x.G)(t),[p,{isLoading:g}]=(0,h.v8)(),[f,{isLoading:j}]=(0,h.vi)(),[v,{isLoading:L}]=(0,h.Tl)(),{successAlert:b,errorAlert:y}=(0,l.V)(),D=async()=>{let e=await p({staged_resource_urn:t.urn,monitor_config_id:t.monitor_config_id});(0,o.D4)(e)?y((0,s.e$)(e.error,"Failed to confirm resource")):b("Data discovery has started. The results may take some time to appear in the “Data discovery“ tab.","".concat(t.name||"The resource"," is now being monitored."))},R=async()=>{let e=await v({staged_resource_urn:t.urn});(0,o.D4)(e)?y((0,s.e$)(e.error),"Failed to un-mute resource"):b("".concat(t.name||"The resource"," has been un-muted and is now being monitored."))},w=async()=>{let e=await p({staged_resource_urn:t.urn,monitor_config_id:t.monitor_config_id,unmute_children:!0,classify_monitored_resources:!0});(0,o.D4)(e)?y((0,s.e$)(e.error),"Failed to un-mute resource"):b("Data discovery has started. The results may take some time to appear in the “Data discovery“ tab.","".concat(t.name||"The resource"," is now being monitored."))},T=async()=>{let e=await f({staged_resource_urn:t.urn});(0,o.D4)(e)?y((0,s.e$)(e.error),"Failed to mute resource"):b("Ignored data will not be monitored for changes or added to Fides datasets.","".concat(t.name||"Resource"," ignored"))},_=g||j||L,{diff_status:C,child_diff_statuses:I}=t,H=m===n.D$.SCHEMA,Z=m===n.D$.FIELD,M=I&&(I[n.LL.CLASSIFICATION_ADDITION]||I[n.LL.CLASSIFICATION_UPDATE]),O=H&&void 0===C||!Z&&C===n.LL.ADDITION||M,E=C!==n.LL.MUTED,k=C===n.LL.MUTED&&!Z,S=C===n.LL.MUTED&&Z,N=I&&(I[n.LL.ADDITION]||I[n.LL.REMOVAL]),A=C===n.LL.MONITORED&&!i&&N&&!M;return(0,r.jsxs)(a.Ugi,{children:[(O||A)&&(0,r.jsx)(u.Z,{title:"Monitor",icon:(0,r.jsx)(d,{}),onClick:D,disabled:_,loading:g}),S&&(0,r.jsx)(u.Z,{title:"Un-Mute",icon:(0,r.jsx)(d,{}),onClick:R,disabled:_,loading:g}),k&&(0,r.jsx)(u.Z,{title:"Monitor",icon:(0,r.jsx)(d,{}),onClick:w,disabled:_,loading:g}),E&&(0,r.jsx)(u.Z,{title:"Ignore",icon:(0,r.jsx)(c,{}),onClick:T,disabled:_,loading:j})]})}},79947:function(e,t,i){"use strict";var r=i(24246),a=i(86920);t.Z=e=>{let{type:t}=e;return(0,r.jsx)(a.kCb,{align:"center",h:"full",children:!!t&&(0,r.jsx)(a.j8w,{children:t})})}},31883:function(e,t,i){"use strict";i.d(t,{Bw:function(){return r.Bw},D4:function(){return r.D4}});var r=i(19043)}}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5309],{74833:function(e,t,i){var r=i(56127),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},56127:function(e){var t=/\s/;e.exports=function(e){for(var i=e.length;i--&&t.test(e.charAt(i)););return i}},11611:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},55193:function(e,t,i){var r=i(99736),a=i(92360);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},91936:function(e,t,i){var r=i(74833),a=i(11611),s=i(55193),l=0/0,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return l;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=r(e);var i=o.test(e);return i||c.test(e)?d(e.slice(2),i?2:8):n.test(e)?l:+e}},7617:function(e,t,i){"use strict";i.d(t,{q:function(){return s}});var r=i(24246),a=i(86920);let s=e=>{let{label:t,isDisabled:i,...s}=e;return(0,r.jsx)(a.OK9,{"data-testid":"tab-".concat(t),_selected:{fontWeight:"600",color:"complimentary.500",borderColor:"complimentary.500"},fontSize:s.fontSize,fontWeight:"500",color:"gray.500",isDisabled:i||!1,children:t})};t.Z=e=>{let{data:t,border:i="partial",...l}=e;return(0,r.jsxs)(a.mQc,{colorScheme:"complimentary",...l,children:[(0,r.jsx)(a.tdY,{width:"partial"===i?"max-content":void 0,children:t.map(e=>(0,r.jsx)(s,{label:e.label,isDisabled:e.isDisabled,fontSize:l.fontSize},e.label))}),(0,r.jsx)(a.nPR,{children:t.map(e=>(0,r.jsx)(a.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})]})}},66379:function(e,t,i){"use strict";var r=i(24246),a=i(86920),s=i(7617);t.Z=e=>{let{data:t,border:i="partial",borderWidth:l=2,...n}=e;return(0,r.jsx)(a.mQc,{colorScheme:"complimentary",...n,children:(0,r.jsx)(a.tdY,{width:"partial"===i?"max-content":void 0,borderBottomWidth:l,children:t.map(e=>(0,r.jsx)(s.q,{label:e.label,"data-testid":e.label,isDisabled:e.isDisabled,fontSize:n.fontSize},e.label))})})}},58754:function(e,t,i){"use strict";var r=i(24246),a=i(86920),s=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:l=!0,children:n,rightContent:o,style:c,...d}=e;return(0,r.jsxs)("div",{...d,style:l?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,r.jsxs)(a.jqI,{justify:"space-between",children:["string"==typeof t?(0,r.jsx)(a.lQT,{className:i||n?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,o&&(0,r.jsx)("div",{"data-testid":"page-header-right-content",children:o})]}),!!i&&(0,r.jsx)(s.m,{className:n?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),n]})}},70788:function(e,t,i){"use strict";i.d(t,{m:function(){return c}});var r=i(24246),a=i(86920),s=i(79894),l=i.n(s),n=i(27378);let{Text:o}=a.AntTypography,c=e=>{let{items:t,...i}=e,s=(0,n.useMemo)(()=>null==t?void 0:t.map((e,i)=>{let s=i===t.length-1,n={...e},c=n.onClick&&!n.href;return("string"==typeof n.title&&(n.title=(0,r.jsx)(o,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:n.title})),c)?n.title=(0,r.jsx)(a.wpx,{type:"text",size:"small",icon:n.icon,onClick:n.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:n.title}):(n.icon&&(n.title=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"anticon align-text-bottom",children:n.icon}),n.title]})),n.href&&n.title&&(n.title=(0,r.jsx)(l(),{href:n.href,className:"ant-breadcrumb-link",children:n.title}),delete n.href)),n}),[t]);return(0,r.jsx)(a.zrq,{items:s,...i})}},45896:function(e,t,i){"use strict";var r=i(24246),a=i(66379);t.Z=e=>{let{filterTabs:t,onChange:i,filterTabIndex:s}=e;return(0,r.jsx)(a.Z,{border:"full-width",mb:5,size:"sm",data:t,borderWidth:1,index:s,onChange:i})}},69828:function(e,t,i){"use strict";i.d(t,{Y:function(){return l}});var r=i(24246),a=i(86920),s=i(70788);let l=[(0,r.jsx)(a.PJP.S9g,{},"layers"),(0,r.jsx)(a.PJP.ehp,{},"dataset"),(0,r.jsx)(a.PJP.iA_,{},"table"),(0,r.jsx)(a.PJP.$4y,{style:{transform:"rotate(-90deg)"}},"field")];t.Z=e=>{let{resourceUrn:t,parentLink:i,onPathClick:a=()=>{}}=e,n=[];if(t||n.push({title:"All activity"}),t){n.push({title:"All activity",href:i});let e=t.split(".");e.forEach((t,i)=>{0!==i&&n.push({title:t,icon:l[i-1],onClick:t=>{t.preventDefault(),a(e.slice(0,i+1).join("."))}})})}return(0,r.jsx)(s.m,{"data-testid":"results-breadcrumb",items:n})}},1039:function(e,t,i){"use strict";i.d(t,{Z:function(){return H}});var r=i(24246),a=i(59003),s=i(92222),l=i(86920),n=i(86677),o=i(27378),c=i(47935),d=i(45896),u=i(70675),h=i(72625),x=i(54409),m=i(79947),p=i(87667),g=i(50169),f=i(28278),j=i(68309),v=i(74241),L=e=>{let{resourceType:t,changeTypeOverride:i}=e,a=(0,s.Cl)(),l=[];return t?t===j.D$.SCHEMA?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,r.jsx)(p.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Name",...e}),size:300}),a.accessor(e=>e.urn,{id:"project",cell:e=>(0,r.jsx)(c.G3,{value:(0,v.Z)(e.getValue())}),header:e=>(0,r.jsx)(c.Rr,{value:"Project",...e})}),a.display({id:"status",cell:e=>(0,r.jsx)(g.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Status",...e})}),a.accessor(e=>e.system,{id:"system",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"System",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,r.jsx)(h.Cy,{time:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,r.jsx)(x.Z,{ignoreChildActions:i===f.E.MONITORED||i===f.E.MUTED,resource:e.row.original}),header:"Actions",size:200,meta:{disableRowClick:!0}})]}:t===j.D$.TABLE?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,r.jsx)(p.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Table name",...e}),size:300}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,r.jsx)(c.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,r.jsx)(g.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Status",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,r.jsx)(h.Cy,{time:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,r.jsx)(x.Z,{resource:e.row.original}),header:"Actions",size:200,meta:{disableRowClick:!0}})]}:t===j.D$.FIELD?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,r.jsx)(p.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Field name",...e}),size:300}),a.accessor(e=>e.source_data_type,{id:"data-type",cell:e=>(0,r.jsx)(m.Z,{type:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"Data type",...e})}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,r.jsx)(c.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,r.jsx)(g.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Status",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,r.jsx)(h.Cy,{time:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,r.jsx)(x.Z,{resource:e.row.original}),header:"Actions",size:200,meta:{disableRowClick:!0}})]}:t===j.D$.ENDPOINT?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,r.jsx)(p.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Object",...e}),size:300}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,r.jsx)(c.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,r.jsx)(g.Z,{changeTypeOverride:i,result:e.row.original}),header:e=>(0,r.jsx)(c.Rr,{value:"Status",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,r.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,r.jsx)(h.Cy,{time:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,r.jsx)(x.Z,{resource:e.row.original}),header:"Actions",size:200,meta:{disableRowClick:!0}})]}:{columns:l}:{columns:l}},b=e=>{let{initialFilterTabIndex:t=0}=e,[i,r]=(0,o.useState)(t),a=(0,o.useMemo)(()=>[{label:"Action Required",filters:[j.LL.ADDITION,j.LL.REMOVAL],childFilters:[j.LL.ADDITION,j.LL.REMOVAL]},{label:"Monitored",filters:[j.LL.MONITORED],childFilters:[],changeTypeOverride:f.E.MONITORED},{label:"Unmonitored",filters:[j.LL.MUTED],childFilters:[],changeTypeOverride:f.E.MUTED}],[]);return{filterTabs:a,filterTabIndex:i,setFilterTabIndex:r,activeDiffFilters:a[i].filters,activeChildDiffFilters:a[i].childFilters,activeChangeTypeOverride:a[i].changeTypeOverride}},y=i(47182),D=i(38347),R=i(7940),w=i(80285),T=i(36168),_=i(30952);let C={items:[],total:0,page:1,size:50,pages:1},I=()=>(0,r.jsx)(l.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:(0,r.jsxs)(l.gCW,{children:[(0,r.jsx)(l.xvT,{fontSize:"md",fontWeight:"600",children:"No activity found"}),(0,r.jsx)(l.xvT,{fontSize:"sm",children:"You're up to date!"})]})});var H=e=>{var t,i;let{resourceUrn:h}=e,x=(0,n.useRouter)(),[m,p]=(0,o.useState)(""),{filterTabs:g,setFilterTabIndex:f,filterTabIndex:v,activeDiffFilters:H,activeChildDiffFilters:Z,activeChangeTypeOverride:M}=b({initialFilterTabIndex:(null===(t=x.query)||void 0===t?void 0:t.filterTabIndex)?Number(null===(i=x.query)||void 0===i?void 0:i.filterTabIndex):void 0}),{PAGE_SIZES:O,pageSize:E,setPageSize:k,onPreviousPageClick:S,isPreviousPageDisabled:N,onNextPageClick:A,isNextPageDisabled:z,startRange:P,endRange:V,pageIndex:F,setTotalPages:$,resetPageIndexToDefault:U}=(0,c.oi)();(0,o.useEffect)(()=>{U()},[h,m,U,H,Z]);let{isFetching:W,isLoading:G,data:q}=(0,u.z8)({staged_resource_urn:h,page:F,size:E,child_diff_status:Z,diff_status:H,search:m}),B=(0,R.G)(null==q?void 0:q.items[0]),{columns:J}=L({resourceType:B,changeTypeOverride:M}),{items:Q,total:Y,pages:K}=(0,o.useMemo)(()=>null!=q?q:C,[q]);(0,o.useEffect)(()=>{$(K)},[K,$]);let X=(0,o.useMemo)(()=>J,[J]),{navigateToDetectionResults:ee}=(0,y.Z)(),et=(0,a.b7)({getCoreRowModel:(0,s.sC)(),getGroupedRowModel:(0,s.qe)(),getExpandedRowModel:(0,s.rV)(),getRowId:w.Z,columns:X,manualPagination:!0,data:Q,columnResizeMode:"onChange"});return G?(0,r.jsx)(c.I4,{rowHeight:36,numRows:36}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.Z,{filterTabs:g,filterTabIndex:v,onChange:f}),(0,r.jsx)(c.Q$,{children:(0,r.jsx)(l.kCb,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"full",children:(0,r.jsxs)(l.kCb,{gap:6,align:"center",children:[(0,r.jsx)(l.xuv,{flexShrink:0,children:(0,r.jsx)(_.f,{value:m,onChange:p})}),(0,r.jsx)(D.Z,{})]})})}),(0,r.jsx)(c.ZK,{tableInstance:et,onRowClick:e=>ee({resourceUrn:e.urn,filterTabIndex:v}),getRowIsClickable:e=>B!==j.D$.FIELD||(0,T.Z)(e),emptyTableNotice:(0,r.jsx)(I,{})}),(0,r.jsx)(c.s8,{totalRows:Y||0,pageSizes:O,setPageSize:k,onPreviousPageClick:S,isPreviousPageDisabled:N||W,onNextPageClick:A,isNextPageDisabled:z||W,startRange:P,endRange:V})]})}},54409:function(e,t,i){"use strict";i.d(t,{Z:function(){return m}});var r=i(24246),a=i(86920),s=i(812),l=i(14047),n=i(68309),o=i(31883);let c=(0,a.IUT)({displayName:"MonitorOffIcon",viewBox:"0 0 12 12",path:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.47125 1H5.85H6.15H6.51188L6.58875 1.36914L7.52062 5.83268L6.42408 4.98635L6.03375 3.11719L5.8038 4.50761L4.99323 3.882L5.40562 1.38867L5.47125 1ZM4.80795 5.0022L4.67675 5.79545L5.48735 6.42109L5.61854 5.62783L4.80795 5.0022ZM6.73856 6.49227L6.96125 7.55866L8.42407 8.6877L8.69498 8.00228L7.94864 7.42624L7.88625 7.58398L7.83501 7.33853L6.73856 6.49227ZM8.33138 6.45844L9.07755 7.03434L9.30188 6.4668H11.55H12V5.5293H11.55H9H8.69812L8.58375 5.82031L8.33138 6.45844ZM7.27551 9.06443L7.35399 9.125H7.28813L7.27551 9.06443ZM4.49147 6.91566L5.30209 7.54131L4.79437 10.6113L4.72875 11H4.35H4.05H3.69563L3.61313 10.6406L2.64563 6.46875H0.45H0V5.53125H0.45H2.69777L3.49646 6.1477L4.15125 8.97266L4.49147 6.91566Z",fill:"currentColor"}),(0,r.jsx)("g",{clipPath:"url(#clip0_341_3102)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.6755 10.4168L0.164222 2.304L0.775218 1.51237L11.2865 9.62517L10.6755 10.4168Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_341_3102",children:(0,r.jsx)("rect",{width:"11.5",height:"9",fill:"white",transform:"translate(0 1.5)"})})})]})}),d=(0,a.IUT)({displayName:"MonitorOnIcon",viewBox:"0 0 12 10",path:(0,r.jsx)("path",{d:"M5.47125 0H5.85H6.15H6.51188L6.58875 0.369141L7.88625 6.58398L8.58375 4.82031L8.69812 4.5293H9H11.55H12V5.4668H11.55H9.30188L8.36625 7.83398L8.25188 8.125H7.95H7.65H7.28813L7.21125 7.75586L6.03375 2.11719L4.79437 9.61133L4.72875 10H4.35H4.05H3.69563L3.61313 9.64062L2.64563 5.46875H0.45H0V4.53125H0.45H3H3.35438L3.43688 4.89062L4.15125 7.97266L5.40562 0.388672L5.47125 0Z",fill:"currentColor"})});var u=i(79494),h=i(70675),x=i(7940),m=e=>{let{resource:t,ignoreChildActions:i=!1}=e,m=(0,x.G)(t),[p,{isLoading:g}]=(0,h.v8)(),[f,{isLoading:j}]=(0,h.vi)(),[v,{isLoading:L}]=(0,h.Tl)(),{successAlert:b,errorAlert:y}=(0,l.V)(),D=async()=>{let e=await p({staged_resource_urn:t.urn,monitor_config_id:t.monitor_config_id});(0,o.D4)(e)?y((0,s.e$)(e.error,"Failed to confirm resource")):b("Data discovery has started. The results may take some time to appear in the “Data discovery“ tab.","".concat(t.name||"The resource"," is now being monitored."))},R=async()=>{let e=await v({staged_resource_urn:t.urn});(0,o.D4)(e)?y((0,s.e$)(e.error),"Failed to un-mute resource"):b("".concat(t.name||"The resource"," has been un-muted and is now being monitored."))},w=async()=>{let e=await p({staged_resource_urn:t.urn,monitor_config_id:t.monitor_config_id,unmute_children:!0,classify_monitored_resources:!0});(0,o.D4)(e)?y((0,s.e$)(e.error),"Failed to un-mute resource"):b("Data discovery has started. The results may take some time to appear in the “Data discovery“ tab.","".concat(t.name||"The resource"," is now being monitored."))},T=async()=>{let e=await f({staged_resource_urn:t.urn});(0,o.D4)(e)?y((0,s.e$)(e.error),"Failed to mute resource"):b("Ignored data will not be monitored for changes or added to Fides datasets.","".concat(t.name||"Resource"," ignored"))},_=g||j||L,{diff_status:C,child_diff_statuses:I}=t,H=m===n.D$.SCHEMA,Z=m===n.D$.FIELD,M=I&&(I[n.LL.CLASSIFICATION_ADDITION]||I[n.LL.CLASSIFICATION_UPDATE]),O=H&&void 0===C||!Z&&C===n.LL.ADDITION||M,E=C!==n.LL.MUTED,k=C===n.LL.MUTED&&!Z,S=C===n.LL.MUTED&&Z,N=I&&(I[n.LL.ADDITION]||I[n.LL.REMOVAL]),A=C===n.LL.MONITORED&&!i&&N&&!M;return(0,r.jsxs)(a.Ugi,{children:[(O||A)&&(0,r.jsx)(u.Z,{title:"Monitor",icon:(0,r.jsx)(d,{}),onClick:D,disabled:_,loading:g}),S&&(0,r.jsx)(u.Z,{title:"Un-Mute",icon:(0,r.jsx)(d,{}),onClick:R,disabled:_,loading:g}),k&&(0,r.jsx)(u.Z,{title:"Monitor",icon:(0,r.jsx)(d,{}),onClick:w,disabled:_,loading:g}),E&&(0,r.jsx)(u.Z,{title:"Ignore",icon:(0,r.jsx)(c,{}),onClick:T,disabled:_,loading:j})]})}},79947:function(e,t,i){"use strict";var r=i(24246),a=i(86920);t.Z=e=>{let{type:t}=e;return(0,r.jsx)(a.kCb,{align:"center",h:"full",children:!!t&&(0,r.jsx)(a.j8w,{children:t})})}},31883:function(e,t,i){"use strict";i.d(t,{Bw:function(){return r.Bw},D4:function(){return r.D4}});var r=i(19043)}}]);
|