ethyca-fides 2.58.3b0__py2.py3-none-any.whl → 2.58.3b2__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ethyca_fides-2.58.3b0.dist-info → ethyca_fides-2.58.3b2.dist-info}/METADATA +1 -1
- {ethyca_fides-2.58.3b0.dist-info → ethyca_fides-2.58.3b2.dist-info}/RECORD +153 -154
- fides/_version.py +3 -3
- fides/api/api/deps.py +30 -0
- fides/api/models/comment.py +11 -0
- fides/api/models/manual_webhook.py +89 -14
- fides/api/schemas/manual_webhook_schemas.py +9 -8
- fides/config/database_settings.py +46 -0
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1376-f2e68d1cfdacfd48.js → 1376-92890c17ce39ca0d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{146-9567a3d2f9e21b83.js → 146-d1820217dc36d46d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1817-5c32a7592d18a859.js → 1817-6abbe957a53026d7.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/1904-281183a117e26585.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/2479-b4f7a1c7c711cb65.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{4450-d354a1152f4747e2.js → 3244-3d94bf3393366412.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/3702-a09b4dc5996407e9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3855-c02445526594fc1f.js → 3855-237afbbea7f54707.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3872-0b61e674a790491b.js → 3872-c53d74aebd12cfd3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/401-839481005c1ba95e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{4060-fd2f97afa5ba80d4.js → 4060-52fd85fb1e15a2b8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{4121-28beb1c0ce3330b6.js → 4121-476f657b03a78965.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/5102-626b9ff42e904276.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{5480-ff3e05a015ee2799.js → 5480-1623dbacdf4e6794.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5487-f281d138cb89b5c9.js → 5487-9a2aecb0ec63d567.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5973-28d2af853d8498d7.js → 5973-5bd8a418363f5721.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6372-8479ec83d73af02b.js → 6372-2aee10b79089521a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/6395-4224d6d26d1e8bb7.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{6853-3562089cc16a6799.js → 6853-ca5dacd25c9ccb7c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6954-23438f7f9729748b.js → 6954-127745bfdc5bc0b3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7751-95349028f1ee3fb5.js → 7751-3913b8c055f599e5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{79-488979db197d250c.js → 79-77cfed02164241ca.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/8934-ffa2b0509bc7a845.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9572-2b9b10e146130c85.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9767-d1d54cb9b74c0693.js → 9767-41557aea29a9ab55.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/9951-66aad0602aadfbe2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-fadef5a6a65d3ec4.js → _app-13a604eb8d39dffc.js} +15 -15
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-58e9256e86916ecd.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-a55d3b39681cca27.js → multiple-2392e3a101fae073.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{add-systems-661ff00f91fe62df.js → add-systems-a6926f7ec7ad10cf.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-9ec60eaff5eece51.js → add-vendors-7dfe37b9f0ff9a3c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{configure-4403425cf6cb43d1.js → configure-dba7848b760ba227.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-7dcbcd6f74029d90.js → privacy-experience-7eeeee3769e73f78.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-notices-c27810fc7d8ad4c0.js → privacy-notices-65091908d6296afc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{reporting-71c8a8557a0fb316.js → reporting-7a1976c0d1aca8b6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-6dae602b509b00b5.js → data-catalog-75989f9732d90793.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-be5c906b8ba14722.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-9547de08dc4360f2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{action-center-f17380b9fd139dde.js → action-center-38476c697da53480.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-c541d5492b17f62c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/detection/{[resourceUrn]-054ca46a782e99a5.js → [resourceUrn]-1bcaa606739ea1c5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{detection-b75dd3e4306ac18e.js → detection-22f55dc12354b4c6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery/{[resourceUrn]-1da20aeb6fc995e4.js → [resourceUrn]-86111c25dc30ef2b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{discovery-cad50b0cc6d1050c.js → discovery-853be75f08b9ab5c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{datamap-c0714c24a342ae76.js → datamap-423172d31de8e9c6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-afb5d98731bc1bb1.js → new-5aff1d01c6c30ad6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-13e06b0a4a8c114c.js → dataset-f4d57b3432c57112.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-d796cf4c25d0b988.js → [id]-b2b1168d0361baa8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-814849a549132ffa.js → new-4ec06a523dd493ac.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{datastore-connection-be295129568a929c.js → datastore-connection-0faa9b3c4555e585.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{index-b0926c4083d4ac88.js → index-e72904e316ede1b0.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-b29d0b9ca55b2561.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{[id]-b1d39bb680cfd6d2.js → [id]-54ea39f203182c53.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{messaging-ea8c82f36520e542.js → messaging-d889076067104e56.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{storage-2a56dc41a292a468.js → storage-3355b4803b2916f3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{privacy-requests-f394d59981a4f50c.js → privacy-requests-3ac47981f1e2b0aa.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/{datamap-b461324d13ae41e6.js → datamap-fe743440d7eb007b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{consent-b359f061d3b9d455.js → consent-cdc866af93898716.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-a7dc8113067dff42.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-b208f9fd45ebb829.js → organization-5bcc7a6976e01a56.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-37c8930711ca2b8e.js → test-datasets-0b47ff26897c1d9a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]-dd053a3bf2a9ca6c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{systems-4f07a39a7def714a.js → systems-820893393f1516ee.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-8fccd670220dbf60.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-963b0dbbf93b9e49.js → [id]-d527d1d1635541df.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-cb40808c1509f191.js → user-management-facb8c0128a44cb1.js} +1 -1
- fides/ui-build/static/admin/_next/static/css/92c81f666644c594.css +1 -0
- fides/ui-build/static/admin/_next/static/mtd4pVNz37pTqkBaHNMbV/_buildManifest.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/ant-poc.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/2397-eae0fd1e90821f7e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/355-45bc45d448c9911b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3938-ebc24cf8e57d7665.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4723-ee2929f284f324fe.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5258-506e9e524f8dd8c8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6315-43837fe5ed5ecf5d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7980-923cd5125080d75a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8499-14fb2a3207baa9a6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9046-399597b0e3484cdf.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9255-336a890ada321f89.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9999-3de189da9fffcc53.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-9beb93c78931d391.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-44fe13c0557746dd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-49367fa740570834.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-dfc91b69873ffaab.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-dadebdf2d6fbcc64.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-1c770b51690416d8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]-d5857bb2ec2f8b67.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-8b5ef781c76b3b9e.js +0 -1
- fides/ui-build/static/admin/_next/static/sSd6wygps1Baq1nFEC_PK/_buildManifest.js +0 -1
- {ethyca_fides-2.58.3b0.dist-info → ethyca_fides-2.58.3b2.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.58.3b0.dist-info → ethyca_fides-2.58.3b2.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.58.3b0.dist-info → ethyca_fides-2.58.3b2.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.58.3b0.dist-info → ethyca_fides-2.58.3b2.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{sSd6wygps1Baq1nFEC_PK → mtd4pVNz37pTqkBaHNMbV}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1904],{11904:function(e,s,a){a.d(s,{Z:function(){return Z}});var i,t,l=a(24246),r=a(59003),n=a(92222),o=a(77181),d=a(86677),c=a(27378),u=a(14481),g=a(45896),x=a(70675),j=a(72625),m=a(79947),h=a(50169),I=a(28278),C=a(74241),p=a(62656),f=a(91761),L=a(61099),v=a(87667),y=e=>{let{resourceType:s}=e,a=(0,n.Cl)();return s===p.D$.SCHEMA?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,l.jsx)(v.Z,{result:e.row.original,changeTypeOverride:I.E.CLASSIFICATION}),header:e=>(0,l.jsx)(u.Rr,{value:"Name",...e}),size:300}),a.accessor(e=>e.urn,{id:"project",cell:e=>(0,l.jsx)(u.G3,{value:(0,C.Z)(e.getValue())}),header:e=>(0,l.jsx)(u.Rr,{value:"Project",...e})}),a.display({id:"status",cell:e=>(0,l.jsx)(h.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Status",...e})}),a.accessor(e=>e.system,{id:"system",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"System",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,l.jsx)(j.Cy,{time:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"When",...e})}),a.display({id:"action",cell:e=>e.row.original.diff_status!==p.LL.MUTED?(0,l.jsx)(f.Z,{resource:e.row.original}):(0,l.jsx)(u.G3,{value:"--"}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:s===p.D$.TABLE?{columns:[a.display({id:"select",cell:e=>{var s;let{row:a}=e;return(0,l.jsx)(j.k,{isChecked:a.getIsSelected(),onChange:a.getToggleSelectedHandler(),dataTestId:"select-".concat(null!==(s=a.original.name)&&void 0!==s?s:a.id)})},header:e=>{let{table:s}=e;return(0,l.jsx)(j.k,{isChecked:s.getIsAllPageRowsSelected(),isIndeterminate:s.getIsSomeRowsSelected(),onChange:s.getToggleAllRowsSelectedHandler(),dataTestId:"select-all-rows"})},maxSize:40}),a.accessor(e=>e.name,{id:"tables",cell:e=>(0,l.jsx)(v.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Table name",...e}),size:300}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,l.jsx)(u.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,l.jsx)(h.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Status",...e})}),a.display({id:"type",cell:()=>(0,l.jsx)(u.G3,{value:"Table"}),header:"Type"}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,l.jsx)(j.Cy,{time:e.getValue()}),header:"Time"}),a.display({id:"actions",cell:e=>(0,l.jsx)(f.Z,{resource:e.row.original}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:s===p.D$.FIELD?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,l.jsx)(v.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Field name",...e}),size:300}),a.accessor(e=>e.source_data_type,{id:"data-type",cell:e=>(0,l.jsx)(m.Z,{type:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"Data type",...e})}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,l.jsx)(u.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,l.jsx)(h.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Status",...e})}),a.display({id:"type",cell:()=>(0,l.jsx)(u.G3,{value:"Field"}),header:"Type"}),a.display({id:"classifications",cell:e=>{let{row:s}=e;return(0,l.jsx)(L.Z,{resource:s.original})},meta:{overflow:"visible",disableRowClick:!0},header:"Data category",minSize:280}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,l.jsx)(j.Cy,{time:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,l.jsx)(f.Z,{resource:e.row.original}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:{columns:[]}};(i=t||(t={}))[i.ACTION_REQUIRED=0]="ACTION_REQUIRED",i[i.UNMONITORED=1]="UNMONITORED";var _=e=>{let{initialFilterTabIndex:s=0}=e,[a,i]=(0,c.useState)(s),t=(0,c.useMemo)(()=>[{label:"Action Required",filters:[p.LL.CLASSIFICATION_ADDITION,p.LL.CLASSIFICATION_UPDATE],childFilters:[p.LL.CLASSIFICATION_ADDITION,p.LL.CLASSIFICATION_UPDATE]},{label:"In progress",filters:[p.LL.CLASSIFYING,p.LL.CLASSIFICATION_QUEUED],childFilters:[p.LL.CLASSIFYING,p.LL.CLASSIFICATION_QUEUED]},{label:"Unmonitored",filters:[p.LL.MUTED],childFilters:[]}],[]);return{filterTabs:t,filterTabIndex:a,setFilterTabIndex:i,activeDiffFilters:t[a].filters,activeChildDiffFilters:t[a].childFilters}},T=a(47182),S=a(38347),R=a(79494),b=e=>{let{resourceUrn:s}=e,[a,{isLoading:i}]=(0,x.Hf)(),[t,{isLoading:r}]=(0,x.zV)(),n=i||r,d=async e=>{await t({staged_resource_urns:e})},c=async e=>{await a({staged_resource_urns:e})};return(0,l.jsx)(o.jqI,{"data-testid":"bulk-actions-menu",children:(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(R.Z,{title:"Confirm all",icon:(0,l.jsx)(o.nQG,{}),onClick:()=>c([s]),disabled:n,loading:i,type:"primary",size:"middle"}),(0,l.jsx)(R.Z,{title:"Ignore all",icon:(0,l.jsx)(o.tpL,{}),onClick:()=>d([s]),disabled:n,loading:r,size:"middle"})]})})},w=e=>{let{selectedUrns:s}=e,[a,{isLoading:i}]=(0,x.Hf)(),[t,{isLoading:r}]=(0,x.zV)(),n=i||r,d=async e=>{await a({staged_resource_urns:e})},c=async e=>{await t({staged_resource_urns:e})};return s.length?(0,l.jsxs)(o.jqI,{className:"items-center","data-testid":"bulk-actions-menu",children:[(0,l.jsx)(o.xvT,{fontSize:"xs",fontWeight:"semibold",minW:16,mr:4,children:"".concat(s.length," selected")}),(0,l.jsxs)(o.jqI,{className:"gap-2",children:[(0,l.jsx)(R.Z,{title:"Confirm",icon:(0,l.jsx)(o.nQG,{}),onClick:()=>d(s),disabled:n,loading:i,type:"primary",size:"middle"}),(0,l.jsx)(R.Z,{title:"Ignore",icon:(0,l.jsx)(o.tpL,{}),disabled:n,loading:r,onClick:()=>c(s),size:"middle"})]})]}):null},D=a(7940),A=a(80285),N=a(36168),F=a(57454);let k={items:[],total:0,page:1,size:50,pages:1},E=()=>(0,l.jsx)(o.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:(0,l.jsxs)(o.gCW,{children:[(0,l.jsx)(o.xvT,{fontSize:"md",fontWeight:"600",children:"No activity found"}),(0,l.jsx)(o.xvT,{fontSize:"sm",children:"You're up to date!"})]})});var Z=e=>{var s,a;let{resourceUrn:i}=e,j=(0,d.useRouter)(),[m,h]=(0,c.useState)(""),{filterTabs:I,setFilterTabIndex:C,filterTabIndex:f,activeDiffFilters:L,activeChildDiffFilters:v}=_({initialFilterTabIndex:(null===(s=j.query)||void 0===s?void 0:s.filterTabIndex)?Number(null===(a=j.query)||void 0===a?void 0:a.filterTabIndex):void 0}),[R,Z]=(0,c.useState)({}),{PAGE_SIZES:O,pageSize:z,setPageSize:U,onPreviousPageClick:M,isPreviousPageDisabled:P,onNextPageClick:G,isNextPageDisabled:V,startRange:$,endRange:q,pageIndex:H,setTotalPages:Q,resetPageIndexToDefault:W}=(0,u.oi)();(0,c.useEffect)(()=>{W()},[i,m,W,L,v]);let{isFetching:Y,isLoading:B,data:K}=(0,x.z8)({staged_resource_urn:i,page:H,size:z,child_diff_status:v,diff_status:L,search:m}),X=(0,D.G)(null==K?void 0:K.items[0]),{items:J,total:ee,pages:es}=(0,c.useMemo)(()=>null!=K?K:k,[K]);(0,c.useEffect)(()=>{Q(es)},[es,Q]);let{columns:ea}=y({resourceType:X}),ei=(0,c.useMemo)(()=>ea,[ea]),{navigateToDiscoveryResults:et}=(0,T.Z)(),el=(0,r.b7)({getCoreRowModel:(0,n.sC)(),getGroupedRowModel:(0,n.qe)(),getExpandedRowModel:(0,n.rV)(),columns:ei,manualPagination:!0,onRowSelectionChange:Z,state:{rowSelection:R},getRowId:A.Z,data:J,columnResizeMode:"onChange"}),er=Object.keys(R).filter(e=>R[e]);return B?(0,l.jsx)(u.I4,{rowHeight:36,numRows:36}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(g.Z,{filterTabs:I,filterTabIndex:f,onChange:C}),(0,l.jsxs)(u.Q$,{children:[(0,l.jsxs)(o.kCb,{gap:6,align:"center",children:[(0,l.jsx)(o.xuv,{flexShrink:0,children:(0,l.jsx)(F.M,{value:m,onChange:h})}),(0,l.jsx)(S.Z,{})]}),X===p.D$.TABLE&&!!er.length&&(0,l.jsx)(w,{selectedUrns:er}),X===p.D$.FIELD&&f!==t.UNMONITORED&&(0,l.jsx)(b,{resourceUrn:i})]}),(0,l.jsx)(u.ZK,{tableInstance:el,onRowClick:e=>et({resourceUrn:e.urn,filterTabIndex:f}),getRowIsClickable:e=>X!==p.D$.FIELD||(0,N.Z)(e),emptyTableNotice:(0,l.jsx)(E,{})}),(0,l.jsx)(u.s8,{totalRows:ee||0,pageSizes:O,setPageSize:U,onPreviousPageClick:M,isPreviousPageDisabled:P||Y,onNextPageClick:G,isNextPageDisabled:V||Y,startRange:$,endRange:q})]})}},91761:function(e,s,a){var i=a(24246),t=a(77181),l=a(812),r=a(14047),n=a(7940),o=a(98559),d=a(62656),c=a(79494),u=a(70675);s.Z=e=>{let{resource:s}=e,[a,{isLoading:g}]=(0,u.v8)(),[x,{isLoading:j}]=(0,u.cM)(),[m,{isLoading:h}]=(0,u.vi)(),I=j||h||g,{diff_status:C,child_diff_statuses:p,top_level_field_name:f}=s,{successAlert:L,errorAlert:v}=(0,r.V)(),y=C===d.LL.CLASSIFICATION_ADDITION||C===d.LL.CLASSIFICATION_UPDATE,_=p&&(p[d.LL.CLASSIFICATION_ADDITION]||p[d.LL.CLASSIFICATION_UPDATE]),T=(y||_)&&!f,S=y||_,R=(0,n.G)(s)!==d.D$.FIELD,b=T&&S&&R,w=async()=>{let e=await x({staged_resource_urn:s.urn});(0,l.D4)(e)?v((0,l.e$)(e.error),"Failed to promote resource"):L('These changes have been added to a Fides dataset. To view, navigate to "Manage datasets".',"Table changes confirmed")},D=async()=>{let e=await m({staged_resource_urn:s.urn});(0,l.D4)(e)?v((0,l.e$)(e.error),"Failed to mute resource"):L("Ignored changes will not be added to a Fides dataset.","".concat(s.name||"Changes"," ignored"))},A=async()=>{let e=await a({staged_resource_urn:s.urn,monitor_config_id:s.monitor_config_id,start_classification:!0,classify_monitored_resources:!0});(0,l.D4)(e)?v((0,l.e$)(e.error),"Failed to reclassify resource"):L("Reclassification of ".concat((0,o.Z)(s)||"the resource"," has begun. The results may take some time to appear in the “Data discovery“ tab."),"Reclassification started")};return(0,i.jsxs)(t.Ugi,{gap:2,children:[T&&(0,i.jsx)(c.Z,{title:"Confirm",icon:(0,i.jsx)(t.nQG,{}),onClick:w,disabled:I,loading:j}),S&&(0,i.jsx)(c.Z,{title:"Ignore",icon:(0,i.jsx)(t.tpL,{}),onClick:D,disabled:I,loading:h}),R&&!b&&(0,i.jsx)(c.Z,{title:"Reclassify",icon:(0,i.jsx)(t.nyI,{}),onClick:A,disabled:I,loading:g}),b&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.LZC,{}),(0,i.jsxs)(t.v2r,{children:[(0,i.jsx)(t.j2t,{as:t.wpx,size:"small",type:"text",icon:(0,i.jsx)(t.nXP,{transform:"rotate(90deg)"}),className:"w-6 gap-0","data-testid":"actions-overflow-btn"}),(0,i.jsx)(t.qyq,{children:(0,i.jsx)(t.sNh,{onClick:A,icon:(0,i.jsx)(t.nyI,{}),"data-testid":"action-reclassify",children:"Reclassify"})})]})]})]})}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2479],{11611:function(e){e.exports=function(e){var i=typeof e;return null!=e&&("object"==i||"function"==i)}},55193:function(e,i,t){var r=t(99736),a=t(92360);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},1039:function(e,i,t){"use strict";t.d(i,{Z:function(){return C}});var r=t(24246),a=t(59003),s=t(92222),n=t(77181),o=t(86677),l=t(27378),c=t(14481),d=t(45896),u=t(70675),g=t(72625),h=t(54409),m=t(79947),L=t(87667),x=t(50169),v=t(28278),f=t(62656),p=t(74241),j=e=>{let{resourceType:i,changeTypeOverride:t}=e,a=(0,s.Cl)(),n=[];return i?i===f.D$.SCHEMA?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,r.jsx)(L.Z,{changeTypeOverride:t,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,p.Z)(e.getValue())}),header:e=>(0,r.jsx)(c.Rr,{value:"Project",...e})}),a.display({id:"status",cell:e=>(0,r.jsx)(x.Z,{changeTypeOverride:t,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)(g.Cy,{time:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,r.jsx)(h.Z,{ignoreChildActions:t===v.E.MONITORED||t===v.E.MUTED,resource:e.row.original}),header:"Actions",size:200,meta:{disableRowClick:!0}})]}:i===f.D$.TABLE?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,r.jsx)(L.Z,{changeTypeOverride:t,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)(x.Z,{changeTypeOverride:t,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)(g.Cy,{time:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,r.jsx)(h.Z,{resource:e.row.original}),header:"Actions",size:200,meta:{disableRowClick:!0}})]}:i===f.D$.FIELD?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,r.jsx)(L.Z,{changeTypeOverride:t,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)(x.Z,{changeTypeOverride:t,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)(g.Cy,{time:e.getValue()}),header:e=>(0,r.jsx)(c.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,r.jsx)(h.Z,{resource:e.row.original}),header:"Actions",size:200,meta:{disableRowClick:!0}})]}:{columns:n}:{columns:n}},_=e=>{let{initialFilterTabIndex:i=0}=e,[t,r]=(0,l.useState)(i),a=(0,l.useMemo)(()=>[{label:"Action Required",filters:[f.LL.ADDITION,f.LL.REMOVAL],childFilters:[f.LL.ADDITION,f.LL.REMOVAL]},{label:"Monitored",filters:[f.LL.MONITORED],childFilters:[],changeTypeOverride:v.E.MONITORED},{label:"Unmonitored",filters:[f.LL.MUTED],childFilters:[],changeTypeOverride:v.E.MUTED}],[]);return{filterTabs:a,filterTabIndex:t,setFilterTabIndex:r,activeDiffFilters:a[t].filters,activeChildDiffFilters:a[t].childFilters,activeChangeTypeOverride:a[t].changeTypeOverride}},y=t(47182),D=t(38347),b=t(7940),T=t(80285),w=t(36168),R=t(57454);let H={items:[],total:0,page:1,size:50,pages:1},M=()=>(0,r.jsx)(n.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:(0,r.jsxs)(n.gCW,{children:[(0,r.jsx)(n.xvT,{fontSize:"md",fontWeight:"600",children:"No activity found"}),(0,r.jsx)(n.xvT,{fontSize:"sm",children:"You're up to date!"})]})});var C=e=>{var i,t;let{resourceUrn:g}=e,h=(0,o.useRouter)(),[m,L]=(0,l.useState)(""),{filterTabs:x,setFilterTabIndex:v,filterTabIndex:p,activeDiffFilters:C,activeChildDiffFilters:Z,activeChangeTypeOverride:E}=_({initialFilterTabIndex:(null===(i=h.query)||void 0===i?void 0:i.filterTabIndex)?Number(null===(t=h.query)||void 0===t?void 0:t.filterTabIndex):void 0}),{PAGE_SIZES:I,pageSize:O,setPageSize:F,onPreviousPageClick:k,isPreviousPageDisabled:A,onNextPageClick:V,isNextPageDisabled:N,startRange:S,endRange:$,pageIndex:z,setTotalPages:G,resetPageIndexToDefault:P}=(0,c.oi)();(0,l.useEffect)(()=>{P()},[g,m,P,C,Z]);let{isFetching:U,isLoading:B,data:W}=(0,u.z8)({staged_resource_urn:g,page:z,size:O,child_diff_status:Z,diff_status:C,search:m}),q=(0,b.G)(null==W?void 0:W.items[0]),{columns:Q}=j({resourceType:q,changeTypeOverride:E}),{items:K,total:Y,pages:J}=(0,l.useMemo)(()=>null!=W?W:H,[W]);(0,l.useEffect)(()=>{G(J)},[J,G]);let X=(0,l.useMemo)(()=>Q,[Q]),{navigateToDetectionResults:ee}=(0,y.Z)(),ei=(0,a.b7)({getCoreRowModel:(0,s.sC)(),getGroupedRowModel:(0,s.qe)(),getExpandedRowModel:(0,s.rV)(),getRowId:T.Z,columns:X,manualPagination:!0,data:K,columnResizeMode:"onChange"});return B?(0,r.jsx)(c.I4,{rowHeight:36,numRows:36}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.Z,{filterTabs:x,filterTabIndex:p,onChange:v}),(0,r.jsx)(c.Q$,{children:(0,r.jsx)(n.kCb,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"full",children:(0,r.jsxs)(n.kCb,{gap:6,align:"center",children:[(0,r.jsx)(n.xuv,{flexShrink:0,children:(0,r.jsx)(R.M,{value:m,onChange:L})}),(0,r.jsx)(D.Z,{})]})})}),(0,r.jsx)(c.ZK,{tableInstance:ei,onRowClick:e=>ee({resourceUrn:e.urn,filterTabIndex:p}),getRowIsClickable:e=>q!==f.D$.FIELD||(0,w.Z)(e),emptyTableNotice:(0,r.jsx)(M,{})}),(0,r.jsx)(c.s8,{totalRows:Y||0,pageSizes:I,setPageSize:F,onPreviousPageClick:k,isPreviousPageDisabled:A||U,onNextPageClick:V,isNextPageDisabled:N||U,startRange:S,endRange:$})]})}},54409:function(e,i,t){"use strict";t.d(i,{Z:function(){return m}});var r=t(24246),a=t(77181),s=t(812),n=t(14047),o=t(62656),l=t(31883);let c=(0,a.IUT)({displayName:"MonitorOffIcon",viewBox:"0 0 12 12",path:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{"fill-rule":"evenodd","clip-rule":"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",{"clip-path":"url(#clip0_341_3102)",children:(0,r.jsx)("path",{"fill-rule":"evenodd","clip-rule":"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=t(79494),g=t(70675),h=t(7940),m=e=>{let{resource:i,ignoreChildActions:t=!1}=e,m=(0,h.G)(i),[L,{isLoading:x}]=(0,g.v8)(),[v,{isLoading:f}]=(0,g.vi)(),[p,{isLoading:j}]=(0,g.Tl)(),{successAlert:_,errorAlert:y}=(0,n.V)(),D=async()=>{let e=await L({staged_resource_urn:i.urn,monitor_config_id:i.monitor_config_id});(0,l.D4)(e)?y((0,s.e$)(e.error,"Failed to confirm resource")):_("Data discovery has started. The results may take some time to appear in the “Data discovery“ tab.","".concat(i.name||"The resource"," is now being monitored."))},b=async()=>{let e=await p({staged_resource_urn:i.urn});(0,l.D4)(e)?y((0,s.e$)(e.error),"Failed to un-mute resource"):_("".concat(i.name||"The resource"," has been un-muted and is now being monitored."))},T=async()=>{let e=await L({staged_resource_urn:i.urn,monitor_config_id:i.monitor_config_id,unmute_children:!0,classify_monitored_resources:!0});(0,l.D4)(e)?y((0,s.e$)(e.error),"Failed to un-mute resource"):_("Data discovery has started. The results may take some time to appear in the “Data discovery“ tab.","".concat(i.name||"The resource"," is now being monitored."))},w=async()=>{let e=await L({staged_resource_urn:i.urn,monitor_config_id:i.monitor_config_id});(0,l.D4)(e)?y((0,s.e$)(e.error),"Failed to confirm resource"):_('These changes have been added to a Fides dataset. To view, navigate to "Manage datasets".',"Table changes confirmed")},R=async()=>{let e=await v({staged_resource_urn:i.urn});(0,l.D4)(e)?y((0,s.e$)(e.error),"Failed to mute resource"):_("Ignored data will not be monitored for changes or added to Fides datasets.","".concat(i.name||"Resource"," ignored"))},H=x||f||j,{diff_status:M,child_diff_statuses:C}=i,Z=m===o.D$.SCHEMA,E=m===o.D$.FIELD,I=Z&&void 0===M||!E&&M===o.LL.ADDITION,O=M!==o.LL.MUTED,F=M===o.LL.MUTED&&!E,k=M===o.LL.MUTED&&E,A=C&&(C[o.LL.ADDITION]||C[o.LL.REMOVAL]),V=M===o.LL.MONITORED&&!t&&A;return(0,r.jsxs)(a.Ugi,{children:[I&&(0,r.jsx)(u.Z,{title:"Monitor",icon:(0,r.jsx)(d,{}),onClick:D,disabled:H,loading:x}),k&&(0,r.jsx)(u.Z,{title:"Un-Mute",icon:(0,r.jsx)(d,{}),onClick:b,disabled:H,loading:x}),F&&(0,r.jsx)(u.Z,{title:"Monitor",icon:(0,r.jsx)(d,{}),onClick:T,disabled:H,loading:x}),V&&(0,r.jsx)(u.Z,{title:"Confirm",icon:(0,r.jsx)(a.nQG,{}),onClick:w,disabled:H,loading:x}),O&&(0,r.jsx)(u.Z,{title:"Ignore",icon:(0,r.jsx)(c,{}),onClick:R,disabled:H,loading:f})]})}},7940:function(e,i,t){"use strict";t.d(i,{G:function(){return a}});var r=t(62656);let a=e=>{var i,t,a;return e?e.resource_type?e.resource_type:(null===(i=e.schemas)||void 0===i?void 0:i.length)?r.D$.DATABASE:(null===(t=e.tables)||void 0===t?void 0:t.length)?r.D$.SCHEMA:(null===(a=e.fields)||void 0===a?void 0:a.length)?r.D$.TABLE:r.D$.FIELD:void 0}},98559:function(e,i){"use strict";i.Z=e=>{let{name:i,urn:t,monitor_config_id:r,database_name:a,schema_name:s,table_name:n,top_level_field_name:o,top_level_field_urn:l}=e;if(!o)return i;let c=t.split(".");return l?t.replace("".concat(l).concat("."),""):([r,a,s,n,o].forEach(e=>{if(e){let i=c.indexOf(e);i>-1&&c.splice(i,1)}}),c.join("."))}},36168:function(e,i){"use strict";i.Z=e=>{var i;return!!e.parent_table_urn&&null!==(i=e.sub_field_urns)&&void 0!==i&&!!i.length&&!e.top_level_field_name}},80356:function(e,i,t){"use strict";var r=t(7940),a=t(36168),s=t(62656);i.Z=e=>(0,r.G)(e)!==s.D$.FIELD||(0,a.Z)(e)},31883:function(e,i,t){"use strict";t.d(i,{Bw:function(){return r.Bw},D4:function(){return r.D4}});var r=t(19043)}}]);
|