ethyca-fides 2.64.6b2__py2.py3-none-any.whl → 2.65.0rc1__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.64.6b2.dist-info → ethyca_fides-2.65.0rc1.dist-info}/METADATA +1 -1
- {ethyca_fides-2.64.6b2.dist-info → ethyca_fides-2.65.0rc1.dist-info}/RECORD +211 -208
- fides/_version.py +3 -3
- fides/api/alembic/migrations/versions/641f6bcd424f_add_user_id_to_manual_task_log.py +28 -0
- fides/api/models/manual_task.py +12 -0
- fides/api/oauth/utils.py +11 -0
- fides/api/request_context.py +76 -0
- fides/api/schemas/saas/strategy_configuration.py +6 -0
- fides/api/service/connectors/saas_connector.py +43 -1
- fides/api/service/execution_context.py +59 -0
- fides/api/service/processors/post_processor_strategy/__init__.py +1 -0
- fides/api/service/processors/post_processor_strategy/post_processor_strategy.py +11 -1
- fides/api/service/processors/post_processor_strategy/post_processor_strategy_extract_for_execution_log.py +73 -0
- fides/api/service/processors/post_processor_strategy/post_processor_strategy_factory.py +4 -0
- fides/api/service/processors/post_processor_strategy/post_processor_strategy_filter.py +2 -0
- fides/api/service/processors/post_processor_strategy/post_processor_strategy_unwrap.py +2 -0
- fides/api/task/graph_task.py +38 -18
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/RoqFFY6vr-QFoBOOVq-m4/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{1040-d246ed641088a416.js → 1040-63c82622e8aee766.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1169-ae67fde0c6d69abc.js → 1169-60d4b584fde8ce55.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1817-60f08a3619b9139c.js → 1817-d6531612cc594bf1.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{2921-85515257dd94ef4d.js → 2921-39af9657977fa42c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3450-4e472b9e2754fa47.js → 3450-1088b1f14a3dc618.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3855-2d045674fbf72a3c.js → 3855-abbb601a0115e0e2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3872-056ddf3ed9d10b51.js → 3872-dc8084d7df0f12e5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3923-257df982a95371b5.js → 3923-da789f963d161387.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{401-3f2160e3910d075b.js → 401-54fe500e30c5ea66.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{409-3e2248a63dd60e58.js → 409-7c75e7a5cd4251a2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{4121-10bfa009892586fa.js → 4121-a3935e484614d586.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{4230-38c6e446801a8729.js → 4230-aeff8d542b494207.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{431-13b0ef67d5a3df2f.js → 431-cc1200b1bec1e1ad.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5309-fd8cd5aedd45f7c1.js → 5309-a7b637d2e3830582.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5574-028ef28c3cf16995.js → 5574-1eb6600d144c90d7.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6084-fa1c82d03f6c256a.js → 6084-a596a272a2cc1c93.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6662-d8ae12f69d325004.js → 6662-29c0da492e0686a5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6853-2644f28976b46c25.js → 6853-7abe83702dff33b3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6882-ea071425d25dd2b0.js → 6882-306b98265a440778.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6954-bb360fb60aac9440.js → 6954-0294aa483799cd3a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7476-7073ec015f84a3e0.js → 7476-c3951a31cc8e30f4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7630-302a13c63f9bfb45.js → 7630-4797e955264ba37b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{787-b393c03ade9d93dc.js → 787-8c3cff5b5504bbfc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{79-b67ba449b0f2cc9c.js → 79-acd3fc646456c35c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{796-b7608f09607288b8.js → 796-231bc790c78485ec.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9046-ece5efe762b810cb.js → 9046-e28291074efc2b9c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9226-c9111590692341b1.js → 9226-e1ab0a8311cfcef5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9392.9a948112de74781b.js → 9392.bb5a989efef5b329.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9676.cc515c853b8cf578.js → 9676.549c72c3eb3df912.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9767-277a0229aae7662a.js → 9767-5700ef84bfa4689a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9826-82c473dcaf892d00.js → 9826-a7302c609a0ae585.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9951-dbd76d7f3a7f1b9a.js → 9951-81e6a96c892bce10.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{404-ef01376efb8427e1.js → 404-136cdc66cc546bf9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-7430e1499432b029.js → _app-3c2c13846cf0246c.js} +54 -54
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-4057c399f58d331e.js → manual-ec060a0c3e154265.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-2726ca51f0327347.js → multiple-1115a66a27198dd2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{add-systems-a2457d5da25aa854.js → add-systems-e857d1d6fa43adb9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-9fe46ed10a7e7a1a.js → add-vendors-01a209a73ca6db10.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{configure-095828301f22cdaa.js → configure-0bafadd4832888a2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-de60a5b74f6b20ff.js → [id]-419ce6a7f72b10b1.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-1ee05fd0bc012ec6.js → privacy-experience-2733b87269ad53d6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-5a2e61c7d88bdda1.js → [id]-caa7ecb68d6b5c77.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-1bc69669215fa55c.js → new-767c51405b61ad4e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-notices-fa8394d2e1072aba.js → privacy-notices-61625c45fdcf931f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{properties-213c5405e9e4219c.js → properties-ae989bd5c2b202f9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{reporting-44aa77149d71a6fe.js → reporting-60272475cb0770fc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{consent-23ab7bd613a0ad53.js → consent-4d2df7770ab3c3c8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/{[projectUrn]-dae11464a091537f.js → [projectUrn]-0b3847fe39d90f6d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{projects-7442023478422295.js → projects-12f7220f0ef3a50c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-5597d2e691313bb0.js → data-catalog-de21ee9984a0e989.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/{[systemId]-da06d05d255d0cd0.js → [systemId]-4b1956ba13d00d12.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/{[monitorId]-895591fe32af0f4c.js → [monitorId]-0d09001cbefac14b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{action-center-a932a39e29ac3489.js → action-center-743321764a03e68d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{activity-2cfdf4d55a7594ba.js → activity-741553e7f5e5dad3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{datamap-07881d1a5fc03d41.js → datamap-286a2f95a62eaa92.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-57be9d40c67b0acb.js → [...subfieldNames]-1574f9f99f3fbd4d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-bd78d6c6264e2467.js → [collectionName]-7137e44d09c4e66f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{[datasetId]-3c9103487b55e76f.js → [datasetId]-4523752f57210b05.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-e30a546a8cfb6658.js → new-5b58be23debaaecc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-500610c0b60f9e7e.js → dataset-d1191d3fbb953e64.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-34958fe8183d9479.js → [id]-8adf2e814c3b9e0d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-761294dbaf59bbe1.js → new-e648583cdd77269f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{datastore-connection-59abd36059863e05.js → datastore-connection-b15447b9e74cd9ca.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{index-ae100a873eb66d59.js → index-215da7ae60a37272.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-c7355ec8b1375390.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-2f51dd2ebc800c0d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{[id]-2aada2c7b9156053.js → [id]-4b9ab7dc0267f8a8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{add-template-fbb7b0c43dedf072.js → add-template-80b95a87ca4a9a0e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{messaging-7230d7ee21368cef.js → messaging-40fa5eff36a01f41.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/{ant-components-7c234412502f8102.js → ant-components-6e551f937e1b70f3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{AntForm-72791aab60f3a4bf.js → AntForm-49eb4b84e5f07ead.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikAntFormItem-da7d11d6146fa746.js → FormikAntFormItem-0c523d8323b900a8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikControlled-3045d24344e99017.js → FormikControlled-3bf5a95f470f351b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikField-5b5b165d3f41a1de.js → FormikField-2056140039ebb8dd.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/{forms-3afd8b6ba6234366.js → forms-641937410482819f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/{table-migration-52d50286216bcb8c.js → table-migration-00d2be9ac59028cf.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-2f2410cdb2f2a918.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{messaging-535b6e5003d892eb.js → messaging-d31a1d8f3c573023.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{storage-7ded688a1e832c63.js → storage-f3ec1a691bb7a6b6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{configure-08e0863d432b3348.js → configure-623420abd445b87d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-d731dd036a0eb44d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/{[id]-b8dcb1f5213521ef.js → [id]-202ba739110fbcc5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-7d8418bb7cb9e1fd.js → add-property-51fc662b550db919.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{properties-537003822f360ae7.js → properties-95f73dad295c22c9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/{datamap-ac25749935da453b.js → datamap-d9b31c6172f67b4c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about/{alpha-647d59bb0aa060bf.js → alpha-1d96cc94c9f9d57a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{about-73adc03fe0182e3f.js → about-0102ed2e53aac3f8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/{[purpose_id]-ffa9e9e79ad75828.js → [purpose_id]-492682d276a487c3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{consent-4fb6c8c4bd9cdb3f.js → consent-dbef1e775cae0b4b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{custom-fields-94c1b7bfc6cec4d2.js → custom-fields-1a7786045d55904c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domain-records-e9838b8e49e64e57.js → domain-records-c62f0e6538a0f14f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domains-0de16778ad2f8865.js → domains-f3ccf59e0cef58c6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{email-templates-aac71677024210ad.js → email-templates-efdf18eadaf4e6df.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-f43e238571b21643.js → locations-c5fdc67504da5d52.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-f5e0a34f6ae473ad.js → organization-d57f3e3a1926ec3c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-05d3c86ca3ca4d5d.js → regulations-a92d6a45948774a4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-31fcf7b52d8028b0.js → test-datasets-f2749e3deaf2de1b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-6db01a1afe2f82d5.js → [id]-5750b7b195f4e050.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{systems-8ec7472a7032301f.js → systems-f23101c2c99a9abf.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{taxonomy-84caae0fc02f8ae1.js → taxonomy-40bdf2e4c0a6a6d5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-e452541827698b1f.js → [id]-c9ea4777da2b9148.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-530be849391d2425.js → user-management-542d299555665262.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{webpack-e25ccaae1ef867a2.js → webpack-933716e3b2904850.js} +1 -1
- fides/ui-build/static/admin/_next/static/css/5f8af79f94072e0f.css +1 -0
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[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/lib/fides-preview.js +1 -1
- fides/ui-build/static/admin/lib/fides-tcf.js +3 -3
- fides/ui-build/static/admin/lib/fides.js +3 -3
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/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/chunks/827-c6fe34fb336467ae.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-8eee4d0314c83e50.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-bf3b87b0dd702551.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-00fb442c4adb7371.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-c8b02ae92dd7e45b.js +0 -1
- fides/ui-build/static/admin/_next/static/css/23391a3311f80cfe.css +0 -1
- fides/ui-build/static/admin/_next/static/onw4yQbMe2hBVwh4fBpNY/_buildManifest.js +0 -1
- {ethyca_fides-2.64.6b2.dist-info → ethyca_fides-2.65.0rc1.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.64.6b2.dist-info → ethyca_fides-2.65.0rc1.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.64.6b2.dist-info → ethyca_fides-2.65.0rc1.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.64.6b2.dist-info → ethyca_fides-2.65.0rc1.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{onw4yQbMe2hBVwh4fBpNY → RoqFFY6vr-QFoBOOVq-m4}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
self.__BUILD_MANIFEST=function(s,e,t,a,c,n,i,d,o,r,p,u,g,f,m,j,b,k,h,y,l,v,I,F,x,_,U,w,q,N,A,S,B,C,z,D,E,L,M,T,P,G,H,J,K,O){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[l,"static/chunks/pages/index-215da7ae60a37272.js"],"/404":["static/chunks/pages/404-136cdc66cc546bf9.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[l,"static/chunks/pages/add-systems-e857d1d6fa43adb9.js"],"/add-systems/manual":[s,e,t,c,p,a,i,u,j,v,I,"static/chunks/pages/add-systems/manual-ec060a0c3e154265.js"],"/add-systems/multiple":[i,g,F,"static/chunks/pages/add-systems/multiple-1115a66a27198dd2.js"],"/consent":["static/chunks/pages/consent-4d2df7770ab3c3c8.js"],"/consent/configure":[i,g,"static/chunks/pages/consent/configure-0bafadd4832888a2.js"],"/consent/configure/add-vendors":[i,g,F,"static/chunks/pages/consent/configure/add-vendors-01a209a73ca6db10.js"],"/consent/privacy-experience":[p,x,"static/chunks/pages/consent/privacy-experience-2733b87269ad53d6.js"],"/consent/privacy-experience/new":[s,e,d,_,f,U,"static/chunks/pages/consent/privacy-experience/new-06bb3b0bf097fcdb.js"],"/consent/privacy-experience/[id]":[s,e,d,_,f,U,"static/chunks/pages/consent/privacy-experience/[id]-419ce6a7f72b10b1.js"],"/consent/privacy-notices":[x,"static/chunks/pages/consent/privacy-notices-61625c45fdcf931f.js"],"/consent/privacy-notices/new":[s,e,d,w,f,q,"static/chunks/pages/consent/privacy-notices/new-767c51405b61ad4e.js"],"/consent/privacy-notices/[id]":[s,e,d,w,f,q,"static/chunks/pages/consent/privacy-notices/[id]-caa7ecb68d6b5c77.js"],"/consent/properties":[N,"static/chunks/pages/consent/properties-ae989bd5c2b202f9.js"],"/consent/reporting":[s,"static/chunks/pages/consent/reporting-60272475cb0770fc.js"],"/data-catalog":[s,e,t,a,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-de21ee9984a0e989.js"],"/data-catalog/[systemId]/projects":[s,e,t,a,b,n,"static/chunks/pages/data-catalog/[systemId]/projects-12f7220f0ef3a50c.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[A,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-0b3847fe39d90f6d.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,e,t,a,b,S,n,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-11d52f1570759c4d.js"],"/data-catalog/[systemId]/resources":[A,"static/chunks/pages/data-catalog/[systemId]/resources-d8db234a44a2ddf4.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,e,t,a,b,S,n,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-b83afa5565d0c84e.js"],"/data-discovery/action-center":["static/chunks/pages/data-discovery/action-center-743321764a03e68d.js"],"/data-discovery/action-center/[monitorId]":[s,e,t,k,"static/chunks/pages/data-discovery/action-center/[monitorId]-0d09001cbefac14b.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,e,t,a,i,j,"static/css/81642473e38c67a5.css","static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-4b1956ba13d00d12.js"],"/data-discovery/activity":[r,"static/chunks/pages/data-discovery/activity-741553e7f5e5dad3.js"],"/data-discovery/detection":[r,B,"static/chunks/pages/data-discovery/detection-8733807dad4bc96e.js"],"/data-discovery/detection/[resourceUrn]":[r,B,"static/chunks/pages/data-discovery/detection/[resourceUrn]-393e20924c83373e.js"],"/data-discovery/discovery":[s,e,t,a,r,C,n,"static/chunks/pages/data-discovery/discovery-9e7dfd5a6acc2e8f.js"],"/data-discovery/discovery/[resourceUrn]":[s,e,t,a,r,C,n,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-14bd7500362ff224.js"],"/datamap":["static/chunks/255-7db55b0e3a0f9dea.js",u,z,"static/chunks/pages/datamap-286a2f95a62eaa92.js"],"/dataset":[o,m,"static/chunks/pages/dataset-d1191d3fbb953e64.js"],"/dataset/new":[o,m,"static/chunks/pages/dataset/new-5b58be23debaaecc.js"],"/dataset/[datasetId]":["static/chunks/9729-fcf6ff4e3534e4a8.js",h,"static/chunks/pages/dataset/[datasetId]-4523752f57210b05.js"],"/dataset/[datasetId]/[collectionName]":[s,e,t,c,a,h,n,"static/chunks/pages/dataset/[datasetId]/[collectionName]-7137e44d09c4e66f.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,e,t,c,a,h,n,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-1574f9f99f3fbd4d.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-b15447b9e74cd9ca.js"],"/datastore-connection/new":[s,c,o,p,D,m,E,"static/chunks/pages/datastore-connection/new-e648583cdd77269f.js"],"/datastore-connection/[id]":[s,c,o,D,m,E,"static/chunks/pages/datastore-connection/[id]-8adf2e814c3b9e0d.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",s,e,t,c,o,L,"static/css/ab65b8cc3144bfc8.css","static/chunks/905-ffdbd0b14167e8bd.js","static/chunks/pages/fides-js-docs-5d8fd1af75f19e2f.js"],"/integrations":[s,e,t,c,d,M,T,n,"static/chunks/pages/integrations-2f51dd2ebc800c0d.js"],"/integrations/[id]":[s,e,t,c,d,M,T,n,"static/chunks/pages/integrations/[id]-c7355ec8b1375390.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,e,t,"static/chunks/pages/messaging-40fa5eff36a01f41.js"],"/messaging/add-template":[P,"static/chunks/pages/messaging/add-template-80b95a87ca4a9a0e.js"],"/messaging/[id]":[P,"static/chunks/pages/messaging/[id]-4b9ab7dc0267f8a8.js"],"/poc/ant-components":["static/chunks/pages/poc/ant-components-6e551f937e1b70f3.js"],"/poc/form-experiments/AntForm":["static/chunks/pages/poc/form-experiments/AntForm-49eb4b84e5f07ead.js"],"/poc/form-experiments/FormikAntFormItem":["static/chunks/pages/poc/form-experiments/FormikAntFormItem-0c523d8323b900a8.js"],"/poc/form-experiments/FormikControlled":["static/chunks/pages/poc/form-experiments/FormikControlled-3bf5a95f470f351b.js"],"/poc/form-experiments/FormikField":["static/chunks/pages/poc/form-experiments/FormikField-2056140039ebb8dd.js"],"/poc/form-experiments/FormikSpreadField":[G,"static/chunks/pages/poc/form-experiments/FormikSpreadField-af097d661f6abcf4.js"],"/poc/forms":[G,"static/chunks/pages/poc/forms-641937410482819f.js"],"/poc/table-migration":[i,g,"static/chunks/pages/poc/table-migration-00d2be9ac59028cf.js"],"/privacy-requests":[H,"static/chunks/pages/privacy-requests-d731dd036a0eb44d.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-623420abd445b87d.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-d31a1d8f3c573023.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-f3ec1a691bb7a6b6.js"],"/privacy-requests/[id]":[H,"static/css/399d4757862a3982.css","static/chunks/pages/privacy-requests/[id]-2f2410cdb2f2a918.js"],"/properties":[N,"static/chunks/pages/properties-95f73dad295c22c9.js"],"/properties/add-property":[J,"static/chunks/pages/properties/add-property-51fc662b550db919.js"],"/properties/[id]":[J,"static/chunks/pages/properties/[id]-202ba739110fbcc5.js"],"/reporting/datamap":[s,e,t,L,u,z,"static/chunks/pages/reporting/datamap-d9b31c6172f67b4c.js"],"/settings/about":["static/chunks/pages/settings/about-0102ed2e53aac3f8.js"],"/settings/about/alpha":["static/chunks/pages/settings/about/alpha-1d96cc94c9f9d57a.js"],"/settings/consent":["static/chunks/pages/settings/consent-dbef1e775cae0b4b.js"],"/settings/consent/[configuration_id]/[purpose_id]":["static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-492682d276a487c3.js"],"/settings/custom-fields":["static/chunks/pages/settings/custom-fields-1a7786045d55904c.js"],"/settings/domain-records":["static/chunks/pages/settings/domain-records-c62f0e6538a0f14f.js"],"/settings/domains":["static/chunks/pages/settings/domains-f3ccf59e0cef58c6.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-efdf18eadaf4e6df.js"],"/settings/locations":[K,k,"static/chunks/pages/settings/locations-c5fdc67504da5d52.js"],"/settings/organization":["static/chunks/pages/settings/organization-d57f3e3a1926ec3c.js"],"/settings/regulations":[K,k,"static/chunks/pages/settings/regulations-a92d6a45948774a4.js"],"/systems":["static/chunks/pages/systems-f23101c2c99a9abf.js"],"/systems/configure/[id]":[s,e,t,c,p,a,i,u,j,v,I,"static/chunks/pages/systems/configure/[id]-5750b7b195f4e050.js"],"/systems/configure/[id]/test-datasets":[o,"static/chunks/pages/systems/configure/[id]/test-datasets-f2749e3deaf2de1b.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",s,e,t,d,"static/chunks/570-c99f07161bd339cd.js","static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-40bdf2e4c0a6a6d5.js"],"/user-management":[y,"static/chunks/pages/user-management-542d299555665262.js"],"/user-management/new":[y,O,"static/chunks/pages/user-management/new-a2524414e968f862.js"],"/user-management/profile/[id]":[y,O,"static/chunks/pages/user-management/profile/[id]-c9ea4777da2b9148.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/consent","/consent/configure","/consent/configure/add-vendors","/consent/privacy-experience","/consent/privacy-experience/new","/consent/privacy-experience/[id]","/consent/privacy-notices","/consent/privacy-notices/new","/consent/privacy-notices/[id]","/consent/properties","/consent/reporting","/data-catalog","/data-catalog/[systemId]/projects","/data-catalog/[systemId]/projects/[projectUrn]","/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]","/data-catalog/[systemId]/resources","/data-catalog/[systemId]/resources/[resourceUrn]","/data-discovery/action-center","/data-discovery/action-center/[monitorId]","/data-discovery/action-center/[monitorId]/[systemId]","/data-discovery/activity","/data-discovery/detection","/data-discovery/detection/[resourceUrn]","/data-discovery/discovery","/data-discovery/discovery/[resourceUrn]","/datamap","/dataset","/dataset/new","/dataset/[datasetId]","/dataset/[datasetId]/[collectionName]","/dataset/[datasetId]/[collectionName]/[...subfieldNames]","/datastore-connection","/datastore-connection/new","/datastore-connection/[id]","/fides-js-docs","/integrations","/integrations/[id]","/login","/login/[provider]","/messaging","/messaging/add-template","/messaging/[id]","/poc/ant-components","/poc/form-experiments/AntForm","/poc/form-experiments/FormikAntFormItem","/poc/form-experiments/FormikControlled","/poc/form-experiments/FormikField","/poc/form-experiments/FormikSpreadField","/poc/forms","/poc/table-migration","/privacy-requests","/privacy-requests/configure","/privacy-requests/configure/messaging","/privacy-requests/configure/storage","/privacy-requests/[id]","/properties","/properties/add-property","/properties/[id]","/reporting/datamap","/settings/about","/settings/about/alpha","/settings/consent","/settings/consent/[configuration_id]/[purpose_id]","/settings/custom-fields","/settings/domain-records","/settings/domains","/settings/email-templates","/settings/locations","/settings/organization","/settings/regulations","/systems","/systems/configure/[id]","/systems/configure/[id]/test-datasets","/taxonomy","/user-management","/user-management/new","/user-management/profile/[id]"]}}("static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/chunks/409-7c75e7a5cd4251a2.js","static/chunks/699-8ca44b0de9fa20f0.js","static/css/d2d4e9a6923e6730.css","static/chunks/401-54fe500e30c5ea66.js","static/chunks/3662-f6a1ddca5ee42076.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/431-cc1200b1bec1e1ad.js","static/chunks/5277-e8a036319456127f.js","static/chunks/9951-81e6a96c892bce10.js","static/chunks/3923-da789f963d161387.js","static/chunks/6084-a596a272a2cc1c93.js","static/chunks/5574-1eb6600d144c90d7.js","static/chunks/1040-63c82622e8aee766.js","static/chunks/6882-306b98265a440778.js","static/css/eb46b504bb5d980d.css","static/chunks/9226-e1ab0a8311cfcef5.js","static/chunks/7476-c3951a31cc8e30f4.js","static/css/972dc7eef106ee7c.css","static/chunks/3450-1088b1f14a3dc618.js","static/css/92fc10cc7ed1aba3.css","static/chunks/796-231bc790c78485ec.js","static/chunks/6853-7abe83702dff33b3.js","static/chunks/9014-eeae6f581158e645.js","static/chunks/1817-d6531612cc594bf1.js","static/chunks/3615-5e2d062d684b8fa1.js","static/chunks/6954-0294aa483799cd3a.js","static/chunks/79-acd3fc646456c35c.js","static/chunks/3872-dc8084d7df0f12e5.js","static/chunks/3855-abbb601a0115e0e2.js","static/chunks/5309-a7b637d2e3830582.js","static/chunks/9046-e28291074efc2b9c.js","static/chunks/4230-aeff8d542b494207.js","static/chunks/1807-3beab149351d5ded.js","static/chunks/9767-5700ef84bfa4689a.js","static/chunks/2599-6c4d22e75028d8b6.js","static/chunks/1316-6cc72a45ebf7ff81.js","static/chunks/6662-29c0da492e0686a5.js","static/chunks/7630-4797e955264ba37b.js","static/chunks/2921-39af9657977fa42c.js","static/chunks/1169-60d4b584fde8ce55.js","static/chunks/787-8c3cff5b5504bbfc.js","static/chunks/9826-a7302c609a0ae585.js","static/chunks/4121-a3935e484614d586.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1040],{66726:function(e,a,n){var i=n(11611),t=n(82846),s=n(91936),r=Math.max,o=Math.min;e.exports=function(e,a,n){var _,l,F,d,c,u,m=0,S=!1,h=!1,C=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(a){var n=_,i=l;return _=l=void 0,m=a,d=e.apply(i,n)}function y(e){var n=e-u,i=e-m;return void 0===u||n>=a||n<0||h&&i>=F}function p(){var e,n,i,s=t();if(y(s))return f(s);c=setTimeout(p,(e=s-u,n=s-m,i=a-e,h?o(i,F-n):i))}function f(e){return(c=void 0,C&&_)?g(e):(_=l=void 0,d)}function b(){var e,n=t(),i=y(n);if(_=arguments,l=this,u=n,i){if(void 0===c)return m=e=u,c=setTimeout(p,a),S?g(e):d;if(h)return clearTimeout(c),c=setTimeout(p,a),g(u)}return void 0===c&&(c=setTimeout(p,a)),d}return a=s(a)||0,i(n)&&(S=!!n.leading,F=(h="maxWait"in n)?r(s(n.maxWait)||0,a):F,C="trailing"in n?!!n.trailing:C),b.cancel=function(){void 0!==c&&clearTimeout(c),m=0,_=u=l=c=void 0},b.flush=function(){return void 0===c?d:f(t())},b}},82846:function(e,a,n){var i=n(77400);e.exports=function(){return i.Date.now()}},7617:function(e,a,n){"use strict";n.d(a,{q:function(){return s}});var i=n(24246),t=n(38355);let s=e=>{let{label:a,isDisabled:n,...s}=e;return(0,i.jsx)(t.OK9,{"data-testid":"tab-".concat(a),_selected:{fontWeight:"600",color:"complimentary.500",borderColor:"complimentary.500"},fontSize:s.fontSize,fontWeight:"500",color:"gray.500",isDisabled:n||!1,children:a})};a.Z=e=>{let{data:a,border:n="partial",...r}=e;return(0,i.jsxs)(t.mQc,{colorScheme:"complimentary",...r,children:[(0,i.jsx)(t.tdY,{width:"partial"===n?"max-content":void 0,children:a.map(e=>(0,i.jsx)(s,{label:e.label,isDisabled:e.isDisabled,fontSize:r.fontSize},e.label))}),(0,i.jsx)(t.nPR,{children:a.map(e=>(0,i.jsx)(t.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})]})}},30952:function(e,a,n){"use strict";n.d(a,{f:function(){return _}});var i=n(24246),t=n(66726),s=n.n(t),r=n(27378),o=n(26917);let _=e=>{let{value:a,onChange:n,placeholder:t,..._}=e,[l,F]=(0,r.useState)(a),d=s()(n,500),c=(0,r.useCallback)(e=>{F(e),d(e)},[]);return(0,i.jsx)(o.Z,{value:l,onChange:c,onClear:()=>{F(""),n("")},placeholder:t,..._})}},26089:function(e,a,n){"use strict";var i=n(24246),t=n(38355),s=n(99830),r=n.n(s);a.Z=e=>{let{onClick:a,children:n}=e;return(0,i.jsx)(t.wpx,{onClick:a,type:"link",role:"link",size:"small",className:r().toastLink,children:n})}},29850:function(e,a,n){"use strict";n.d(a,{R:function(){return F}});var i=n(24246),t=n(38355),s=n(27378),r=n(65450);let o=e=>{let{children:a,className:n,style:s,...r}=e;return(0,i.jsx)(t.wpx,{...r,type:"text",className:"w-full justify-start ".concat(n),style:{fontWeight:600,padding:"var(--ant-select-option-padding)",backgroundColor:"var(--ant-select-option-selected-bg)",...s},children:a})};var _=n(16394);let l=(e,a)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o,{onClick:a,"data-testid":"add-new-system",id:"add-new-system",children:"Add new system +"}),e]}),F=e=>{var a;let{onAddSystem:n,...o}=e,[F,d]=(0,s.useState)(),{data:c,isFetching:u}=(0,r.xF)({page:1,size:25,search:F||void 0}),m=null==c?void 0:null===(a=c.items)||void 0===a?void 0:a.map(e=>({value:e.fides_key,label:e.name})),S=(0,s.useCallback)(e=>{(null==e?void 0:e.length)>1&&d(e),(null==e?void 0:e.length)===0&&d(void 0)},[d]),h=(0,s.useMemo)(()=>(0,_.Ds)(S,300),[S]);return(0,i.jsx)(t.WPr,{placeholder:"Search...","aria-label":"Search for a system to select",dropdownStyle:{minWidth:"500px"},dropdownRender:n?e=>l(e,n):void 0,"data-testid":"system-select",...o,filterOption:!1,options:m,onSearch:h,loading:o.loading||u})}},8411:function(e,a,n){"use strict";n.d(a,{NA:function(){return s},Z8:function(){return t}});var i=n(46420);let t={[i._F.ER]:"Eritrea",[i._F.DJ]:"Djibouti",[i._F.MR]:"Mauritania",[i._F.NA]:"Namibia",[i._F.GH]:"Ghana",[i._F.SS]:"South Sudan",[i._F.SC]:"Seychelles",[i._F.IO]:"British Indian Ocean Territory",[i._F.GQ]:"Equatorial Guinea",[i._F.AO]:"Angola",[i._F.CG]:"Republic of the Congo",[i._F.BW]:"Botswana",[i._F.BI]:"Burundi",[i._F.DZ]:"Algeria",[i._F.TD]:"Chad",[i._F.NG]:"Nigeria",[i._F.TZ]:"Tanzania",[i._F.EH]:"Western Sahara",[i._F.SN]:"Senegal",[i._F.LR]:"Liberia",[i._F.ZA]:"South Africa",[i._F.CV]:"Cape Verde",[i._F.GM]:"Gambia",[i._F.SD]:"Sudan",[i._F.KM]:"Comoros",[i._F.SZ]:"Eswatini",[i._F.UG]:"Uganda",[i._F.MG]:"Madagascar",[i._F.RW]:"Rwanda",[i._F.CD]:"DR Congo",[i._F.CM]:"Cameroon",[i._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[i._F.TG]:"Togo",[i._F.MU]:"Mauritius",[i._F.NE]:"Niger",[i._F.BJ]:"Benin",[i._F.EG]:"Egypt",[i._F.LS]:"Lesotho",[i._F.ET]:"Ethiopia",[i._F.MA]:"Morocco",[i._F.YT]:"Mayotte",[i._F.BF]:"Burkina Faso",[i._F.RE]:"R\xe9union",[i._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[i._F.CF]:"Central African Republic",[i._F.MZ]:"Mozambique",[i._F.MW]:"Malawi",[i._F.ML]:"Mali",[i._F.ZM]:"Zambia",[i._F.LY]:"Libya",[i._F.GW]:"Guinea-Bissau",[i._F.SO]:"Somalia",[i._F.KE]:"Kenya",[i._F.GN]:"Guinea",[i._F.ZW]:"Zimbabwe",[i._F.TN]:"Tunisia",[i._F.SL]:"Sierra Leone",[i._F.GA]:"Gabon",[i._F.CI]:"Ivory Coast",[i._F.JO]:"Jordan",[i._F.PK]:"Pakistan",[i._F.KP]:"North Korea",[i._F.MO]:"Macau",[i._F.AM]:"Armenia",[i._F.SY]:"Syria",[i._F.TJ]:"Tajikistan",[i._F.SA]:"Saudi Arabia",[i._F.KR]:"South Korea",[i._F.NP]:"Nepal",[i._F.PH]:"Philippines",[i._F.IQ]:"Iraq",[i._F.LB]:"Lebanon",[i._F.MN]:"Mongolia",[i._F.PS]:"Palestine",[i._F.YE]:"Yemen",[i._F.JP]:"Japan",[i._F.KZ]:"Kazakhstan",[i._F.LK]:"Sri Lanka",[i._F.MM]:"Myanmar",[i._F.KG]:"Kyrgyzstan",[i._F.CN]:"China",[i._F.AF]:"Afghanistan",[i._F.OM]:"Oman",[i._F.IN]:"India",[i._F.LA]:"Laos",[i._F.UZ]:"Uzbekistan",[i._F.MV]:"Maldives",[i._F.ID]:"Indonesia",[i._F.VN]:"Vietnam",[i._F.MY]:"Malaysia",[i._F.TW]:"Taiwan",[i._F.KH]:"Cambodia",[i._F.AE]:"United Arab Emirates",[i._F.HK]:"Hong Kong",[i._F.GE]:"Georgia (Country)",[i._F.BD]:"Bangladesh",[i._F.KW]:"Kuwait",[i._F.TM]:"Turkmenistan",[i._F.QA]:"Qatar",[i._F.BH]:"Bahrain",[i._F.BN]:"Brunei",[i._F.TH]:"Thailand",[i._F.BT]:"Bhutan",[i._F.SG]:"Singapore",[i._F.IL]:"Israel",[i._F.AZ]:"Azerbaijan",[i._F.TL]:"Timor-Leste",[i._F.IR]:"Iran",[i._F.TR]:"Turkey",[i._F.MK]:"North Macedonia",[i._F.IE]:"Ireland",[i._F.DK]:"Denmark",[i._F.SK]:"Slovakia",[i._F.MD]:"Moldova",[i._F.AX]:"\xc5land Islands",[i._F.PL]:"Poland",[i._F.BA]:"Bosnia and Herzegovina",[i._F.SM]:"San Marino",[i._F.CZ]:"Czechia",[i._F.EE]:"Estonia",[i._F.XK]:"Kosovo",[i._F.FO]:"Faroe Islands",[i._F.SJ]:"Svalbard and Jan Mayen",[i._F.GG]:"Guernsey",[i._F.FR]:"France",[i._F.NL]:"Netherlands",[i._F.FI]:"Finland",[i._F.PT]:"Portugal",[i._F.DE]:"Germany",[i._F.MT]:"Malta",[i._F.JE]:"Jersey",[i._F.IS]:"Iceland",[i._F.ES]:"Spain",[i._F.GI]:"Gibraltar",[i._F.NO]:"Norway",[i._F.CY]:"Cyprus",[i._F.RS]:"Serbia",[i._F.LT]:"Lithuania",[i._F.MC]:"Monaco",[i._F.LU]:"Luxembourg",[i._F.UA]:"Ukraine",[i._F.IM]:"Isle of Man",[i._F.RO]:"Romania",[i._F.BE]:"Belgium",[i._F.SE]:"Sweden",[i._F.ME]:"Montenegro",[i._F.LV]:"Latvia",[i._F.VA]:"Vatican City",[i._F.AT]:"Austria",[i._F.AL]:"Albania",[i._F.LI]:"Liechtenstein",[i._F.GR]:"Greece",[i._F.IT]:"Italy",[i._F.AD]:"Andorra",[i._F.GB]:"United Kingdom",[i._F.RU]:"Russia",[i._F.SI]:"Slovenia",[i._F.BY]:"Belarus",[i._F.CH]:"Switzerland",[i._F.HU]:"Hungary",[i._F.BG]:"Bulgaria",[i._F.HR]:"Croatia",[i._F.TC]:"Turks and Caicos Islands",[i._F.CW]:"Cura\xe7ao",[i._F.GP]:"Guadeloupe",[i._F.UM]:"United States Minor Outlying Islands",[i._F.GT]:"Guatemala",[i._F.PM]:"Saint Pierre and Miquelon",[i._F.BQ]:"Caribbean Netherlands",[i._F.GL]:"Greenland",[i._F.SX]:"Sint Maarten",[i._F.PA]:"Panama",[i._F.AW]:"Aruba",[i._F.MQ]:"Martinique",[i._F.AG]:"Antigua and Barbuda",[i._F.BM]:"Bermuda",[i._F.CU]:"Cuba",[i._F.GD]:"Grenada",[i._F.NI]:"Nicaragua",[i._F.LC]:"Saint Lucia",[i._F.KN]:"Saint Kitts and Nevis",[i._F.DO]:"Dominican Republic",[i._F.VC]:"Saint Vincent and the Grenadines",[i._F.BZ]:"Belize",[i._F.HT]:"Haiti",[i._F.JM]:"Jamaica",[i._F.BS]:"Bahamas",[i._F.MX]:"Mexico",[i._F.MF]:"Saint Martin",[i._F.SV]:"El Salvador",[i._F.BL]:"Saint Barth\xe9lemy",[i._F.AI]:"Anguilla",[i._F.MS]:"Montserrat",[i._F.VG]:"British Virgin Islands",[i._F.BB]:"Barbados",[i._F.HN]:"Honduras",[i._F.KY]:"Cayman Islands",[i._F.DM]:"Dominica",[i._F.TT]:"Trinidad and Tobago",[i._F.CR]:"Costa Rica",[i._F.SR]:"Suriname",[i._F.CX]:"Christmas Island",[i._F.WS]:"Samoa",[i._F.PF]:"French Polynesia",[i._F.AS]:"American Samoa",[i._F.NC]:"New Caledonia",[i._F.TK]:"Tokelau",[i._F.PW]:"Palau",[i._F.KI]:"Kiribati",[i._F.VU]:"Vanuatu",[i._F.PN]:"Pitcairn Islands",[i._F.CK]:"Cook Islands",[i._F.FJ]:"Fiji",[i._F.PG]:"Papua New Guinea",[i._F.MP]:"Northern Mariana Islands",[i._F.NU]:"Niue",[i._F.TV]:"Tuvalu",[i._F.NF]:"Norfolk Island",[i._F.TO]:"Tonga",[i._F.FM]:"Micronesia",[i._F.SB]:"Solomon Islands",[i._F.NR]:"Nauru",[i._F.WF]:"Wallis and Futuna",[i._F.GU]:"Guam",[i._F.AU]:"Australia",[i._F.NZ]:"New Zealand",[i._F.MH]:"Marshall Islands",[i._F.CC]:"Cocos (Keeling) Islands",[i._F.VE]:"Venezuela",[i._F.PY]:"Paraguay",[i._F.BR]:"Brazil",[i._F.CO]:"Colombia",[i._F.PE]:"Peru",[i._F.CL]:"Chile",[i._F.UY]:"Uruguay",[i._F.AR]:"Argentina",[i._F.GY]:"Guyana",[i._F.BO]:"Bolivia",[i._F.GF]:"French Guiana",[i._F.EC]:"Ecuador",[i._F.FK]:"Falkland Islands",[i._F.US_AL]:"Alabama",[i._F.US_AK]:"Alaska",[i._F.US_AZ]:"Arizona",[i._F.US_AR]:"Arkansas",[i._F.US_CA]:"California",[i._F.US_CO]:"Colorado",[i._F.US_CT]:"Connecticut",[i._F.US_DE]:"Delaware",[i._F.US_DC]:"District of Columbia (DC)",[i._F.US_FL]:"Florida",[i._F.US_GA]:"Georgia",[i._F.US_HI]:"Hawaii",[i._F.US_ID]:"Idaho",[i._F.US_IL]:"Illinois",[i._F.US_IN]:"Indiana",[i._F.US_IA]:"Iowa",[i._F.US_KS]:"Kansas",[i._F.US_KY]:"Kentucky",[i._F.US_LA]:"Louisiana",[i._F.US_ME]:"Maine",[i._F.US_MD]:"Maryland",[i._F.US_MA]:"Massachusetts",[i._F.US_MI]:"Michigan",[i._F.US_MN]:"Minnesota",[i._F.US_MS]:"Mississippi",[i._F.US_MO]:"Missouri",[i._F.US_MT]:"Montana",[i._F.US_NE]:"Nebraska",[i._F.US_NV]:"Nevada",[i._F.US_NH]:"New Hampshire",[i._F.US_NJ]:"New Jersey",[i._F.US_NM]:"New Mexico",[i._F.US_NY]:"New York",[i._F.US_NC]:"North Carolina",[i._F.US_ND]:"North Dakota",[i._F.US_OH]:"Ohio",[i._F.US_OK]:"Oklahoma",[i._F.US_OR]:"Oregon",[i._F.US_PA]:"Pennsylvania",[i._F.US_PR]:"Puerto Rico",[i._F.US_RI]:"Rhode Island",[i._F.US_SC]:"South Carolina",[i._F.US_SD]:"South Dakota",[i._F.US_TN]:"Tennessee",[i._F.US_TX]:"Texas",[i._F.US_UT]:"Utah",[i._F.US_VA]:"Virginia",[i._F.US_VI]:"United States Virgin Islands",[i._F.US_VT]:"Vermont",[i._F.US_WA]:"Washington",[i._F.US_WV]:"West Virginia",[i._F.US_WI]:"Wisconsin",[i._F.US_WY]:"Wyoming",[i._F.CA_AB]:"Alberta",[i._F.CA_BC]:"British Columbia",[i._F.CA_MB]:"Manitoba",[i._F.CA_NB]:"New Brunswick",[i._F.CA_NL]:"Newfoundland and Labrador",[i._F.CA_NS]:"Nova Scotia",[i._F.CA_ON]:"Ontario",[i._F.CA_PE]:"Prince Edward Island",[i._F.CA_QC]:"Quebec",[i._F.CA_SK]:"Saskatchewan",[i._F.CA_NT]:"Northwest Territories",[i._F.CA_NU]:"Nunavut",[i._F.CA_YT]:"Yukon",[i._F.CA]:"Canada",[i._F.US]:"United States",[i._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[i._F.CARIBBEAN]:"Caribbean",[i._F.EEA]:"European Economic Area (EEA)",[i._F.NON_EEA]:"Non European Economic Area",[i._F.GLOBAL]:"Global"},s=new Map(Object.entries(t));Object.entries(t).map(e=>({value:e[0],label:e[1]}))},77685:function(e,a,n){"use strict";n.d(a,{i:function(){return M}});var i=n(24246),t=n(38355),s=n(34090),r=n(27378),o=n(55484),_=n(16134),l=n(25980),F=n(97181),d=n(40324),c=n(812),u=n(14047),m=n(45938),S=n(8133),h=n(33335),C=n(32885),g=n(57865),y=n(93237),p=n(65450),f=n(36345);let{Text:b}=t.AntTypography,v={name:"",vendor_id:void 0,description:"",tags:[]},M=e=>{let{onSuccessfulSubmit:a,toastOnSuccess:n,...M}=e,[A,N]=(0,r.useState)(!1),x=(0,_.T)(),{tcf:U,dictionaryService:I}=(0,l.hz)(),{isLoading:j}=(0,C.Rd)(void 0,{skip:!I}),T=(0,_.C)(C.o),w=(0,_.C)(g.gU),[B]=(0,p.in)(),[E]=(0,C.Qk)(),[G]=(0,p.f7)(),{successAlert:k,errorAlert:L}=(0,u.V)(),{setSuggestions:R,setLockedForGVL:D}=g.dictSuggestionsSlice.actions,K=(0,r.useRef)(null),P=(0,r.useMemo)(()=>o.Ry().shape({name:o.Z_().required().label("System name").test("is-unique","",async(e,a)=>{let{data:n}=await B({page:1,size:10,search:e});return!((null==n?void 0:n.items)||[]).filter(a=>a.name===e).some(a=>a.name===e)||a.createError({message:'You already have a system called "'.concat(e,'". Please specify a unique name for this system.')})})}),[B]),O=e=>{if(I){if(!e){x(R("hiding")),x(D(!1));return}x(R("showing")),U&&(0,c.cj)(e)===c.c6.GVL?x(D(!0)):x(D(!1))}},W=()=>{M.onClose(),x(R("initial")),x(D(!1))},V=async e=>{if(N(!0),e.vendor_id){let i=await E([e.vendor_id]);if((0,c.D4)(i))L((0,c.e$)(i.error));else{let{data:e}=i,t=e.systems[0];null==a||a(t.fides_key,t.name),n&&k("".concat(e.name," has been added to your system inventory."))}}else{let i={...e,fides_key:(0,h.E)(e.name),system_type:"",body:"",privacy_declarations:[]},t=await G(i);if((0,c.D4)(t))L((0,c.e$)(t.error));else{let{fides_key:i,name:s}=t.data;null==a||a(i,s),n&&k("".concat(e.name," has been added to your system inventory."))}W()}N(!1)};return(0,i.jsx)(S.Z,{title:"Add New System",...M,onClose:W,children:(0,i.jsx)(s.J9,{initialValues:v,onSubmit:V,validationSchema:P,innerRef:K,children:e=>{let{dirty:a,isValid:n}=e;return(0,i.jsxs)(s.l0,{children:[(0,i.jsx)(m.Gt,{id:"new-system-modal",name:"Add New System"}),(0,i.jsxs)(t.jqI,{vertical:!0,gap:20,className:"pb-6 pt-4",children:[(0,i.jsx)(b,{children:"Fides will add this system to your inventory and configure it for consent using the categories of consent listed below. Optionally, you can check if this system is listed within the Fides compass library by selecting the compass icon below."}),I?(0,i.jsx)(f.Z,{label:"System name",options:T,onVendorSelected:O,isCreate:!0,lockedForGVL:w,isLoading:j}):(0,i.jsx)(d.j0,{id:"name",name:"name",label:"System name",tooltip:"Give the system a unique, and relevant name for reporting purposes. e.g. “Email Data Warehouse”",variant:"stacked",isRequired:!0}),(0,i.jsx)(y.Sv,{id:"description",name:"description",label:"Description",tooltip:"What services does this system perform?",disabled:w}),(0,i.jsx)(F.d,{mode:"tags",id:"tags",name:"tags",label:"System Tags",options:[],layout:"stacked",tooltip:"Are there any tags to associate with this system?",disabled:w})]}),(0,i.jsxs)(t.jqI,{justify:"space-between",children:[(0,i.jsx)(t.wpx,{htmlType:"reset",onClick:W,disabled:j||!a||!n,"data-testid":"cancel-btn",children:"Cancel"}),(0,i.jsx)(t.wpx,{htmlType:"submit",type:"primary",disabled:j||!a||!n,loading:A,"data-testid":"save-btn",children:"Save"})]})]})}})})}},93237:function(e,a,n){"use strict";n.d(a,{Sv:function(){return m},Yb:function(){return u},dQ:function(){return S},lm:function(){return h}});var i=n(24246),t=n(38355),s=n(34090),r=n(27378),o=n(16134),_=n(40324),l=n(46238),F=n(32885),d=n(57865);let c=(e,a,n)=>{var i,t;let[_,l,{setValue:c,setTouched:u}]=(0,s.U$)({name:e,type:n||void 0}),m=!!(l.touched&&l.error),{error:S}=l,h={..._,value:null!==(i=_.value)&&void 0!==i?i:""},[C,g]=(0,r.useState)(null!==(t=h.value)&&void 0!==t?t:""),{values:y}=(0,s.u6)(),{vendor_id:p}=y,f=(0,o.C)((0,F.$e)(p||"")),b=(0,o.C)(d.bN),v=(0,r.useRef)();return(0,r.useEffect)(()=>{"showing"===b&&g(h.value)},[b,g]),(0,r.useEffect)(()=>{if("showing"===b&&f){let n=a?a(f):f[e];h.value!==n&&(c(n),setTimeout(()=>{var e;u(!0),null===(e=v.current)||void 0===e||e.blur()},300))}},[b,c,f,v.current]),(0,r.useEffect)(()=>{"hiding"===b&&c(C)},[b,c,C]),{field:h,isInvalid:m,isShowingSuggestions:b,error:S,inputRef:v}},u=e=>{let{label:a,tooltip:n,disabled:s,isRequired:r=!1,dictField:o,name:F,placeholder:d,id:u}=e,{field:m,isInvalid:S,isShowingSuggestions:h,error:C,inputRef:g}=c(F,o);return(0,i.jsx)(t.NIc,{isInvalid:S,isRequired:r,children:(0,i.jsxs)(t.gCW,{alignItems:"start",children:[(0,i.jsxs)(t.kCb,{alignItems:"center",children:[(0,i.jsx)(_.__,{htmlFor:u||F,fontSize:"xs",my:0,mr:1,children:a}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(_.oi,{...m,ref:g,isRequired:r,isDisabled:s,"data-testid":"input-".concat(m.name),placeholder:d,isPassword:!1,color:"showing"===h?"complimentary.500":"gray.800"}),(0,i.jsx)(_.Bc,{isInvalid:S,message:C,fieldName:m.name})]})})},m=e=>{let{label:a,tooltip:n,disabled:s,isRequired:r=!1,dictField:o,name:F,id:d}=e,{field:u,isInvalid:m,isShowingSuggestions:S,error:h}=c(F,o);return(0,i.jsx)(t.NIc,{isInvalid:m,isRequired:r,children:(0,i.jsxs)(t.gCW,{alignItems:"start",children:[(0,i.jsxs)(t.kCb,{alignItems:"center",children:[(0,i.jsx)(_.__,{htmlFor:d||F,fontSize:"xs",my:0,mr:1,children:a}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(t.gxH,{...u,size:"sm","data-testid":"input-".concat(u.name),focusBorderColor:"primary.600",color:"showing"===S?"complimentary.500":"gray.800",isDisabled:s}),(0,i.jsx)(_.Bc,{isInvalid:m,message:h,fieldName:u.name})]})})},S=e=>{let{label:a,tooltip:n,dictField:r,name:o,id:F,disabled:d}=e,{field:u,isInvalid:m,error:S}=c(o,r,"checkbox");return(0,i.jsxs)(t.NIc,{isInvalid:m,width:"full",children:[(0,i.jsxs)(t.xuv,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,i.jsxs)(t.Ugi,{spacing:1,children:[(0,i.jsx)(_.__,{htmlFor:F||o,fontSize:"xs",my:0,mr:0,children:a}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(t.Ugi,{children:(0,i.jsx)(s.gN,{name:u.name,children:e=>{let{form:{setFieldValue:a}}=e;return(0,i.jsx)(t.rAg,{checked:u.checked,onChange:e=>{a(u.name,e)},disabled:d,className:"mr-2","data-testid":"input-".concat(u.name),size:"small"})}})})]}),(0,i.jsx)(_.Bc,{isInvalid:m,message:S,fieldName:u.name})]})},h=e=>{let{label:a,tooltip:n,dictField:r,name:o,id:F,disabled:d}=e,{field:u,isInvalid:m,error:S,isShowingSuggestions:h}=c(o,r,"numeric"),{setFieldValue:C}=(0,s.u6)();return(0,i.jsxs)(t.NIc,{isInvalid:m,width:"full",children:[(0,i.jsxs)(t.xuv,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,i.jsxs)(t.Ugi,{spacing:1,children:[(0,i.jsx)(_.__,{htmlFor:F||o,fontSize:"xs",my:0,mr:0,children:a}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(t.Ugi,{children:(0,i.jsxs)(t.Y2U,{value:u.value,name:u.name,size:"xs",onBlur:u.onBlur,onChange:e=>{C(u.name,e)},w:"100%",colorScheme:"terracotta",inputMode:"numeric","data-testid":"input-".concat(u.name),color:"showing"===h?"complimentary.500":"gray.800",focusBorderColor:"primary.600",isDisabled:d,children:[(0,i.jsx)(t.zuI,{}),(0,i.jsxs)(t.FiK,{children:[(0,i.jsx)(t.WQu,{}),(0,i.jsx)(t.Y_d,{})]})]})})]}),(0,i.jsx)(_.Bc,{isInvalid:m,message:S,fieldName:u.name})]})}},99830:function(e){e.exports={toastLink:"ToastLink_toastLink__OLSeq"}}}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1040],{66726:function(e,a,n){var i=n(11611),t=n(82846),s=n(91936),r=Math.max,o=Math.min;e.exports=function(e,a,n){var _,l,F,d,c,u,m=0,S=!1,h=!1,C=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(a){var n=_,i=l;return _=l=void 0,m=a,d=e.apply(i,n)}function y(e){var n=e-u,i=e-m;return void 0===u||n>=a||n<0||h&&i>=F}function p(){var e,n,i,s=t();if(y(s))return f(s);c=setTimeout(p,(e=s-u,n=s-m,i=a-e,h?o(i,F-n):i))}function f(e){return(c=void 0,C&&_)?g(e):(_=l=void 0,d)}function b(){var e,n=t(),i=y(n);if(_=arguments,l=this,u=n,i){if(void 0===c)return m=e=u,c=setTimeout(p,a),S?g(e):d;if(h)return clearTimeout(c),c=setTimeout(p,a),g(u)}return void 0===c&&(c=setTimeout(p,a)),d}return a=s(a)||0,i(n)&&(S=!!n.leading,F=(h="maxWait"in n)?r(s(n.maxWait)||0,a):F,C="trailing"in n?!!n.trailing:C),b.cancel=function(){void 0!==c&&clearTimeout(c),m=0,_=u=l=c=void 0},b.flush=function(){return void 0===c?d:f(t())},b}},82846:function(e,a,n){var i=n(77400);e.exports=function(){return i.Date.now()}},7617:function(e,a,n){"use strict";n.d(a,{q:function(){return s}});var i=n(24246),t=n(86920);let s=e=>{let{label:a,isDisabled:n,...s}=e;return(0,i.jsx)(t.OK9,{"data-testid":"tab-".concat(a),_selected:{fontWeight:"600",color:"complimentary.500",borderColor:"complimentary.500"},fontSize:s.fontSize,fontWeight:"500",color:"gray.500",isDisabled:n||!1,children:a})};a.Z=e=>{let{data:a,border:n="partial",...r}=e;return(0,i.jsxs)(t.mQc,{colorScheme:"complimentary",...r,children:[(0,i.jsx)(t.tdY,{width:"partial"===n?"max-content":void 0,children:a.map(e=>(0,i.jsx)(s,{label:e.label,isDisabled:e.isDisabled,fontSize:r.fontSize},e.label))}),(0,i.jsx)(t.nPR,{children:a.map(e=>(0,i.jsx)(t.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})]})}},30952:function(e,a,n){"use strict";n.d(a,{f:function(){return _}});var i=n(24246),t=n(66726),s=n.n(t),r=n(27378),o=n(26917);let _=e=>{let{value:a,onChange:n,placeholder:t,..._}=e,[l,F]=(0,r.useState)(a),d=s()(n,500),c=(0,r.useCallback)(e=>{F(e),d(e)},[]);return(0,i.jsx)(o.Z,{value:l,onChange:c,onClear:()=>{F(""),n("")},placeholder:t,..._})}},26089:function(e,a,n){"use strict";var i=n(24246),t=n(86920),s=n(99830),r=n.n(s);a.Z=e=>{let{onClick:a,children:n}=e;return(0,i.jsx)(t.wpx,{onClick:a,type:"link",role:"link",size:"small",className:r().toastLink,children:n})}},29850:function(e,a,n){"use strict";n.d(a,{R:function(){return F}});var i=n(24246),t=n(86920),s=n(27378),r=n(65450);let o=e=>{let{children:a,className:n,style:s,...r}=e;return(0,i.jsx)(t.wpx,{...r,type:"text",className:"w-full justify-start ".concat(n),style:{fontWeight:600,padding:"var(--ant-select-option-padding)",backgroundColor:"var(--ant-select-option-selected-bg)",...s},children:a})};var _=n(16394);let l=(e,a)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o,{onClick:a,"data-testid":"add-new-system",id:"add-new-system",children:"Add new system +"}),e]}),F=e=>{var a;let{onAddSystem:n,...o}=e,[F,d]=(0,s.useState)(),{data:c,isFetching:u}=(0,r.xF)({page:1,size:25,search:F||void 0}),m=null==c?void 0:null===(a=c.items)||void 0===a?void 0:a.map(e=>({value:e.fides_key,label:e.name})),S=(0,s.useCallback)(e=>{(null==e?void 0:e.length)>1&&d(e),(null==e?void 0:e.length)===0&&d(void 0)},[d]),h=(0,s.useMemo)(()=>(0,_.Ds)(S,300),[S]);return(0,i.jsx)(t.WPr,{placeholder:"Search...","aria-label":"Search for a system to select",dropdownStyle:{minWidth:"500px"},dropdownRender:n?e=>l(e,n):void 0,"data-testid":"system-select",...o,filterOption:!1,options:m,onSearch:h,loading:o.loading||u})}},8411:function(e,a,n){"use strict";n.d(a,{NA:function(){return s},Z8:function(){return t}});var i=n(68309);let t={[i._F.ER]:"Eritrea",[i._F.DJ]:"Djibouti",[i._F.MR]:"Mauritania",[i._F.NA]:"Namibia",[i._F.GH]:"Ghana",[i._F.SS]:"South Sudan",[i._F.SC]:"Seychelles",[i._F.IO]:"British Indian Ocean Territory",[i._F.GQ]:"Equatorial Guinea",[i._F.AO]:"Angola",[i._F.CG]:"Republic of the Congo",[i._F.BW]:"Botswana",[i._F.BI]:"Burundi",[i._F.DZ]:"Algeria",[i._F.TD]:"Chad",[i._F.NG]:"Nigeria",[i._F.TZ]:"Tanzania",[i._F.EH]:"Western Sahara",[i._F.SN]:"Senegal",[i._F.LR]:"Liberia",[i._F.ZA]:"South Africa",[i._F.CV]:"Cape Verde",[i._F.GM]:"Gambia",[i._F.SD]:"Sudan",[i._F.KM]:"Comoros",[i._F.SZ]:"Eswatini",[i._F.UG]:"Uganda",[i._F.MG]:"Madagascar",[i._F.RW]:"Rwanda",[i._F.CD]:"DR Congo",[i._F.CM]:"Cameroon",[i._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[i._F.TG]:"Togo",[i._F.MU]:"Mauritius",[i._F.NE]:"Niger",[i._F.BJ]:"Benin",[i._F.EG]:"Egypt",[i._F.LS]:"Lesotho",[i._F.ET]:"Ethiopia",[i._F.MA]:"Morocco",[i._F.YT]:"Mayotte",[i._F.BF]:"Burkina Faso",[i._F.RE]:"R\xe9union",[i._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[i._F.CF]:"Central African Republic",[i._F.MZ]:"Mozambique",[i._F.MW]:"Malawi",[i._F.ML]:"Mali",[i._F.ZM]:"Zambia",[i._F.LY]:"Libya",[i._F.GW]:"Guinea-Bissau",[i._F.SO]:"Somalia",[i._F.KE]:"Kenya",[i._F.GN]:"Guinea",[i._F.ZW]:"Zimbabwe",[i._F.TN]:"Tunisia",[i._F.SL]:"Sierra Leone",[i._F.GA]:"Gabon",[i._F.CI]:"Ivory Coast",[i._F.JO]:"Jordan",[i._F.PK]:"Pakistan",[i._F.KP]:"North Korea",[i._F.MO]:"Macau",[i._F.AM]:"Armenia",[i._F.SY]:"Syria",[i._F.TJ]:"Tajikistan",[i._F.SA]:"Saudi Arabia",[i._F.KR]:"South Korea",[i._F.NP]:"Nepal",[i._F.PH]:"Philippines",[i._F.IQ]:"Iraq",[i._F.LB]:"Lebanon",[i._F.MN]:"Mongolia",[i._F.PS]:"Palestine",[i._F.YE]:"Yemen",[i._F.JP]:"Japan",[i._F.KZ]:"Kazakhstan",[i._F.LK]:"Sri Lanka",[i._F.MM]:"Myanmar",[i._F.KG]:"Kyrgyzstan",[i._F.CN]:"China",[i._F.AF]:"Afghanistan",[i._F.OM]:"Oman",[i._F.IN]:"India",[i._F.LA]:"Laos",[i._F.UZ]:"Uzbekistan",[i._F.MV]:"Maldives",[i._F.ID]:"Indonesia",[i._F.VN]:"Vietnam",[i._F.MY]:"Malaysia",[i._F.TW]:"Taiwan",[i._F.KH]:"Cambodia",[i._F.AE]:"United Arab Emirates",[i._F.HK]:"Hong Kong",[i._F.GE]:"Georgia (Country)",[i._F.BD]:"Bangladesh",[i._F.KW]:"Kuwait",[i._F.TM]:"Turkmenistan",[i._F.QA]:"Qatar",[i._F.BH]:"Bahrain",[i._F.BN]:"Brunei",[i._F.TH]:"Thailand",[i._F.BT]:"Bhutan",[i._F.SG]:"Singapore",[i._F.IL]:"Israel",[i._F.AZ]:"Azerbaijan",[i._F.TL]:"Timor-Leste",[i._F.IR]:"Iran",[i._F.TR]:"Turkey",[i._F.MK]:"North Macedonia",[i._F.IE]:"Ireland",[i._F.DK]:"Denmark",[i._F.SK]:"Slovakia",[i._F.MD]:"Moldova",[i._F.AX]:"\xc5land Islands",[i._F.PL]:"Poland",[i._F.BA]:"Bosnia and Herzegovina",[i._F.SM]:"San Marino",[i._F.CZ]:"Czechia",[i._F.EE]:"Estonia",[i._F.XK]:"Kosovo",[i._F.FO]:"Faroe Islands",[i._F.SJ]:"Svalbard and Jan Mayen",[i._F.GG]:"Guernsey",[i._F.FR]:"France",[i._F.NL]:"Netherlands",[i._F.FI]:"Finland",[i._F.PT]:"Portugal",[i._F.DE]:"Germany",[i._F.MT]:"Malta",[i._F.JE]:"Jersey",[i._F.IS]:"Iceland",[i._F.ES]:"Spain",[i._F.GI]:"Gibraltar",[i._F.NO]:"Norway",[i._F.CY]:"Cyprus",[i._F.RS]:"Serbia",[i._F.LT]:"Lithuania",[i._F.MC]:"Monaco",[i._F.LU]:"Luxembourg",[i._F.UA]:"Ukraine",[i._F.IM]:"Isle of Man",[i._F.RO]:"Romania",[i._F.BE]:"Belgium",[i._F.SE]:"Sweden",[i._F.ME]:"Montenegro",[i._F.LV]:"Latvia",[i._F.VA]:"Vatican City",[i._F.AT]:"Austria",[i._F.AL]:"Albania",[i._F.LI]:"Liechtenstein",[i._F.GR]:"Greece",[i._F.IT]:"Italy",[i._F.AD]:"Andorra",[i._F.GB]:"United Kingdom",[i._F.RU]:"Russia",[i._F.SI]:"Slovenia",[i._F.BY]:"Belarus",[i._F.CH]:"Switzerland",[i._F.HU]:"Hungary",[i._F.BG]:"Bulgaria",[i._F.HR]:"Croatia",[i._F.TC]:"Turks and Caicos Islands",[i._F.CW]:"Cura\xe7ao",[i._F.GP]:"Guadeloupe",[i._F.UM]:"United States Minor Outlying Islands",[i._F.GT]:"Guatemala",[i._F.PM]:"Saint Pierre and Miquelon",[i._F.BQ]:"Caribbean Netherlands",[i._F.GL]:"Greenland",[i._F.SX]:"Sint Maarten",[i._F.PA]:"Panama",[i._F.AW]:"Aruba",[i._F.MQ]:"Martinique",[i._F.AG]:"Antigua and Barbuda",[i._F.BM]:"Bermuda",[i._F.CU]:"Cuba",[i._F.GD]:"Grenada",[i._F.NI]:"Nicaragua",[i._F.LC]:"Saint Lucia",[i._F.KN]:"Saint Kitts and Nevis",[i._F.DO]:"Dominican Republic",[i._F.VC]:"Saint Vincent and the Grenadines",[i._F.BZ]:"Belize",[i._F.HT]:"Haiti",[i._F.JM]:"Jamaica",[i._F.BS]:"Bahamas",[i._F.MX]:"Mexico",[i._F.MF]:"Saint Martin",[i._F.SV]:"El Salvador",[i._F.BL]:"Saint Barth\xe9lemy",[i._F.AI]:"Anguilla",[i._F.MS]:"Montserrat",[i._F.VG]:"British Virgin Islands",[i._F.BB]:"Barbados",[i._F.HN]:"Honduras",[i._F.KY]:"Cayman Islands",[i._F.DM]:"Dominica",[i._F.TT]:"Trinidad and Tobago",[i._F.CR]:"Costa Rica",[i._F.SR]:"Suriname",[i._F.CX]:"Christmas Island",[i._F.WS]:"Samoa",[i._F.PF]:"French Polynesia",[i._F.AS]:"American Samoa",[i._F.NC]:"New Caledonia",[i._F.TK]:"Tokelau",[i._F.PW]:"Palau",[i._F.KI]:"Kiribati",[i._F.VU]:"Vanuatu",[i._F.PN]:"Pitcairn Islands",[i._F.CK]:"Cook Islands",[i._F.FJ]:"Fiji",[i._F.PG]:"Papua New Guinea",[i._F.MP]:"Northern Mariana Islands",[i._F.NU]:"Niue",[i._F.TV]:"Tuvalu",[i._F.NF]:"Norfolk Island",[i._F.TO]:"Tonga",[i._F.FM]:"Micronesia",[i._F.SB]:"Solomon Islands",[i._F.NR]:"Nauru",[i._F.WF]:"Wallis and Futuna",[i._F.GU]:"Guam",[i._F.AU]:"Australia",[i._F.NZ]:"New Zealand",[i._F.MH]:"Marshall Islands",[i._F.CC]:"Cocos (Keeling) Islands",[i._F.VE]:"Venezuela",[i._F.PY]:"Paraguay",[i._F.BR]:"Brazil",[i._F.CO]:"Colombia",[i._F.PE]:"Peru",[i._F.CL]:"Chile",[i._F.UY]:"Uruguay",[i._F.AR]:"Argentina",[i._F.GY]:"Guyana",[i._F.BO]:"Bolivia",[i._F.GF]:"French Guiana",[i._F.EC]:"Ecuador",[i._F.FK]:"Falkland Islands",[i._F.US_AL]:"Alabama",[i._F.US_AK]:"Alaska",[i._F.US_AZ]:"Arizona",[i._F.US_AR]:"Arkansas",[i._F.US_CA]:"California",[i._F.US_CO]:"Colorado",[i._F.US_CT]:"Connecticut",[i._F.US_DE]:"Delaware",[i._F.US_DC]:"District of Columbia (DC)",[i._F.US_FL]:"Florida",[i._F.US_GA]:"Georgia",[i._F.US_HI]:"Hawaii",[i._F.US_ID]:"Idaho",[i._F.US_IL]:"Illinois",[i._F.US_IN]:"Indiana",[i._F.US_IA]:"Iowa",[i._F.US_KS]:"Kansas",[i._F.US_KY]:"Kentucky",[i._F.US_LA]:"Louisiana",[i._F.US_ME]:"Maine",[i._F.US_MD]:"Maryland",[i._F.US_MA]:"Massachusetts",[i._F.US_MI]:"Michigan",[i._F.US_MN]:"Minnesota",[i._F.US_MS]:"Mississippi",[i._F.US_MO]:"Missouri",[i._F.US_MT]:"Montana",[i._F.US_NE]:"Nebraska",[i._F.US_NV]:"Nevada",[i._F.US_NH]:"New Hampshire",[i._F.US_NJ]:"New Jersey",[i._F.US_NM]:"New Mexico",[i._F.US_NY]:"New York",[i._F.US_NC]:"North Carolina",[i._F.US_ND]:"North Dakota",[i._F.US_OH]:"Ohio",[i._F.US_OK]:"Oklahoma",[i._F.US_OR]:"Oregon",[i._F.US_PA]:"Pennsylvania",[i._F.US_PR]:"Puerto Rico",[i._F.US_RI]:"Rhode Island",[i._F.US_SC]:"South Carolina",[i._F.US_SD]:"South Dakota",[i._F.US_TN]:"Tennessee",[i._F.US_TX]:"Texas",[i._F.US_UT]:"Utah",[i._F.US_VA]:"Virginia",[i._F.US_VI]:"United States Virgin Islands",[i._F.US_VT]:"Vermont",[i._F.US_WA]:"Washington",[i._F.US_WV]:"West Virginia",[i._F.US_WI]:"Wisconsin",[i._F.US_WY]:"Wyoming",[i._F.CA_AB]:"Alberta",[i._F.CA_BC]:"British Columbia",[i._F.CA_MB]:"Manitoba",[i._F.CA_NB]:"New Brunswick",[i._F.CA_NL]:"Newfoundland and Labrador",[i._F.CA_NS]:"Nova Scotia",[i._F.CA_ON]:"Ontario",[i._F.CA_PE]:"Prince Edward Island",[i._F.CA_QC]:"Quebec",[i._F.CA_SK]:"Saskatchewan",[i._F.CA_NT]:"Northwest Territories",[i._F.CA_NU]:"Nunavut",[i._F.CA_YT]:"Yukon",[i._F.CA]:"Canada",[i._F.US]:"United States",[i._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[i._F.CARIBBEAN]:"Caribbean",[i._F.EEA]:"European Economic Area (EEA)",[i._F.NON_EEA]:"Non European Economic Area",[i._F.GLOBAL]:"Global"},s=new Map(Object.entries(t));Object.entries(t).map(e=>({value:e[0],label:e[1]}))},77685:function(e,a,n){"use strict";n.d(a,{i:function(){return M}});var i=n(24246),t=n(86920),s=n(34090),r=n(27378),o=n(55484),_=n(16134),l=n(25980),F=n(97181),d=n(40324),c=n(812),u=n(14047),m=n(45938),S=n(8133),h=n(33335),C=n(32885),g=n(57865),y=n(93237),p=n(65450),f=n(36345);let{Text:b}=t.AntTypography,v={name:"",vendor_id:void 0,description:"",tags:[]},M=e=>{let{onSuccessfulSubmit:a,toastOnSuccess:n,...M}=e,[A,N]=(0,r.useState)(!1),x=(0,_.T)(),{tcf:U,dictionaryService:I}=(0,l.hz)(),{isLoading:j}=(0,C.Rd)(void 0,{skip:!I}),T=(0,_.C)(C.o),w=(0,_.C)(g.gU),[B]=(0,p.in)(),[E]=(0,C.Qk)(),[G]=(0,p.f7)(),{successAlert:k,errorAlert:L}=(0,u.V)(),{setSuggestions:R,setLockedForGVL:D}=g.dictSuggestionsSlice.actions,K=(0,r.useRef)(null),P=(0,r.useMemo)(()=>o.Ry().shape({name:o.Z_().required().label("System name").test("is-unique","",async(e,a)=>{let{data:n}=await B({page:1,size:10,search:e});return!((null==n?void 0:n.items)||[]).filter(a=>a.name===e).some(a=>a.name===e)||a.createError({message:'You already have a system called "'.concat(e,'". Please specify a unique name for this system.')})})}),[B]),O=e=>{if(I){if(!e){x(R("hiding")),x(D(!1));return}x(R("showing")),U&&(0,c.cj)(e)===c.c6.GVL?x(D(!0)):x(D(!1))}},W=()=>{M.onClose(),x(R("initial")),x(D(!1))},V=async e=>{if(N(!0),e.vendor_id){let i=await E([e.vendor_id]);if((0,c.D4)(i))L((0,c.e$)(i.error));else{let{data:e}=i,t=e.systems[0];null==a||a(t.fides_key,t.name),n&&k("".concat(e.name," has been added to your system inventory."))}}else{let i={...e,fides_key:(0,h.E)(e.name),system_type:"",body:"",privacy_declarations:[]},t=await G(i);if((0,c.D4)(t))L((0,c.e$)(t.error));else{let{fides_key:i,name:s}=t.data;null==a||a(i,s),n&&k("".concat(e.name," has been added to your system inventory."))}W()}N(!1)};return(0,i.jsx)(S.Z,{title:"Add New System",...M,onClose:W,children:(0,i.jsx)(s.J9,{initialValues:v,onSubmit:V,validationSchema:P,innerRef:K,children:e=>{let{dirty:a,isValid:n}=e;return(0,i.jsxs)(s.l0,{children:[(0,i.jsx)(m.Gt,{id:"new-system-modal",name:"Add New System"}),(0,i.jsxs)(t.jqI,{vertical:!0,gap:20,className:"pb-6 pt-4",children:[(0,i.jsx)(b,{children:"Fides will add this system to your inventory and configure it for consent using the categories of consent listed below. Optionally, you can check if this system is listed within the Fides compass library by selecting the compass icon below."}),I?(0,i.jsx)(f.Z,{label:"System name",options:T,onVendorSelected:O,isCreate:!0,lockedForGVL:w,isLoading:j}):(0,i.jsx)(d.j0,{id:"name",name:"name",label:"System name",tooltip:"Give the system a unique, and relevant name for reporting purposes. e.g. “Email Data Warehouse”",variant:"stacked",isRequired:!0}),(0,i.jsx)(y.Sv,{id:"description",name:"description",label:"Description",tooltip:"What services does this system perform?",disabled:w}),(0,i.jsx)(F.d,{mode:"tags",id:"tags",name:"tags",label:"System Tags",options:[],layout:"stacked",tooltip:"Are there any tags to associate with this system?",disabled:w})]}),(0,i.jsxs)(t.jqI,{justify:"space-between",children:[(0,i.jsx)(t.wpx,{htmlType:"reset",onClick:W,disabled:j||!a||!n,"data-testid":"cancel-btn",children:"Cancel"}),(0,i.jsx)(t.wpx,{htmlType:"submit",type:"primary",disabled:j||!a||!n,loading:A,"data-testid":"save-btn",children:"Save"})]})]})}})})}},93237:function(e,a,n){"use strict";n.d(a,{Sv:function(){return m},Yb:function(){return u},dQ:function(){return S},lm:function(){return h}});var i=n(24246),t=n(86920),s=n(34090),r=n(27378),o=n(16134),_=n(40324),l=n(46238),F=n(32885),d=n(57865);let c=(e,a,n)=>{var i,t;let[_,l,{setValue:c,setTouched:u}]=(0,s.U$)({name:e,type:n||void 0}),m=!!(l.touched&&l.error),{error:S}=l,h={..._,value:null!==(i=_.value)&&void 0!==i?i:""},[C,g]=(0,r.useState)(null!==(t=h.value)&&void 0!==t?t:""),{values:y}=(0,s.u6)(),{vendor_id:p}=y,f=(0,o.C)((0,F.$e)(p||"")),b=(0,o.C)(d.bN),v=(0,r.useRef)();return(0,r.useEffect)(()=>{"showing"===b&&g(h.value)},[b,g]),(0,r.useEffect)(()=>{if("showing"===b&&f){let n=a?a(f):f[e];h.value!==n&&(c(n),setTimeout(()=>{var e;u(!0),null===(e=v.current)||void 0===e||e.blur()},300))}},[b,c,f,v.current]),(0,r.useEffect)(()=>{"hiding"===b&&c(C)},[b,c,C]),{field:h,isInvalid:m,isShowingSuggestions:b,error:S,inputRef:v}},u=e=>{let{label:a,tooltip:n,disabled:s,isRequired:r=!1,dictField:o,name:F,placeholder:d,id:u}=e,{field:m,isInvalid:S,isShowingSuggestions:h,error:C,inputRef:g}=c(F,o);return(0,i.jsx)(t.NIc,{isInvalid:S,isRequired:r,children:(0,i.jsxs)(t.gCW,{alignItems:"start",children:[(0,i.jsxs)(t.kCb,{alignItems:"center",children:[(0,i.jsx)(_.__,{htmlFor:u||F,fontSize:"xs",my:0,mr:1,children:a}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(_.oi,{...m,ref:g,isRequired:r,isDisabled:s,"data-testid":"input-".concat(m.name),placeholder:d,isPassword:!1,color:"showing"===h?"complimentary.500":"gray.800"}),(0,i.jsx)(_.Bc,{isInvalid:S,message:C,fieldName:m.name})]})})},m=e=>{let{label:a,tooltip:n,disabled:s,isRequired:r=!1,dictField:o,name:F,id:d}=e,{field:u,isInvalid:m,isShowingSuggestions:S,error:h}=c(F,o);return(0,i.jsx)(t.NIc,{isInvalid:m,isRequired:r,children:(0,i.jsxs)(t.gCW,{alignItems:"start",children:[(0,i.jsxs)(t.kCb,{alignItems:"center",children:[(0,i.jsx)(_.__,{htmlFor:d||F,fontSize:"xs",my:0,mr:1,children:a}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(t.gxH,{...u,size:"sm","data-testid":"input-".concat(u.name),focusBorderColor:"primary.600",color:"showing"===S?"complimentary.500":"gray.800",isDisabled:s}),(0,i.jsx)(_.Bc,{isInvalid:m,message:h,fieldName:u.name})]})})},S=e=>{let{label:a,tooltip:n,dictField:r,name:o,id:F,disabled:d}=e,{field:u,isInvalid:m,error:S}=c(o,r,"checkbox");return(0,i.jsxs)(t.NIc,{isInvalid:m,width:"full",children:[(0,i.jsxs)(t.xuv,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,i.jsxs)(t.Ugi,{spacing:1,children:[(0,i.jsx)(_.__,{htmlFor:F||o,fontSize:"xs",my:0,mr:0,children:a}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(t.Ugi,{children:(0,i.jsx)(s.gN,{name:u.name,children:e=>{let{form:{setFieldValue:a}}=e;return(0,i.jsx)(t.rAg,{checked:u.checked,onChange:e=>{a(u.name,e)},disabled:d,className:"mr-2","data-testid":"input-".concat(u.name),size:"small"})}})})]}),(0,i.jsx)(_.Bc,{isInvalid:m,message:S,fieldName:u.name})]})},h=e=>{let{label:a,tooltip:n,dictField:r,name:o,id:F,disabled:d}=e,{field:u,isInvalid:m,error:S,isShowingSuggestions:h}=c(o,r,"numeric"),{setFieldValue:C}=(0,s.u6)();return(0,i.jsxs)(t.NIc,{isInvalid:m,width:"full",children:[(0,i.jsxs)(t.xuv,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,i.jsxs)(t.Ugi,{spacing:1,children:[(0,i.jsx)(_.__,{htmlFor:F||o,fontSize:"xs",my:0,mr:0,children:a}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(t.Ugi,{children:(0,i.jsxs)(t.Y2U,{value:u.value,name:u.name,size:"xs",onBlur:u.onBlur,onChange:e=>{C(u.name,e)},w:"100%",colorScheme:"terracotta",inputMode:"numeric","data-testid":"input-".concat(u.name),color:"showing"===h?"complimentary.500":"gray.800",focusBorderColor:"primary.600",isDisabled:d,children:[(0,i.jsx)(t.zuI,{}),(0,i.jsxs)(t.FiK,{children:[(0,i.jsx)(t.WQu,{}),(0,i.jsx)(t.Y_d,{})]})]})})]}),(0,i.jsx)(_.Bc,{isInvalid:m,message:S,fieldName:u.name})]})}},99830:function(e){e.exports={toastLink:"ToastLink_toastLink__OLSeq"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1169],{59969:function(e,t,i){var r=i(24246),n=i(
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1169],{59969:function(e,t,i){var r=i(24246),n=i(86920);i(27378);var s=i(8557);t.Z=e=>{let{daysLeft:t,includeText:i,status:l}=e;if(!t||l===s.q.COMPLETE||l===s.q.CANCELED||l===s.q.DENIED||l===s.q.IDENTITY_UNVERIFIED)return(0,r.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,r.jsx)(n.j8w,{color:a,children:i?"".concat(t," days left"):t})}},18225:function(e,t,i){var r=i(24246),n=i(86920);t.Z=e=>{let{alignment:t="center",...i}=e;return(0,r.jsx)(n.kCb,{boxSize:"full",align:"center",justify:t,children:(0,r.jsx)(n.$jN,{color:"primary",...i})})}},58754:function(e,t,i){var r=i(24246),n=i(86920),s=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:l=!0,children:a,rightContent:d,style:o,...c}=e;return(0,r.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,r.jsxs)(n.jqI,{justify:"space-between",children:["string"==typeof t?(0,r.jsx)(n.lQT,{className:i||a?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,d&&(0,r.jsx)("div",{"data-testid":"page-header-right-content",children:d})]}),!!i&&(0,r.jsx)(s.m,{className:a?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),a]})}},19904:function(e,t,i){i.d(t,{Tg:function(){return l}});var r=i(24246),n=i(16134),s=i(31793);let l=e=>(0,n.C)(s.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:i}=e;return l(t)?(0,r.jsx)(r.Fragment,{children:i}):null}},14047:function(e,t,i){i.d(t,{H:function(){return s},V:function(){return r.V}});var r=i(84306),n=i(812);let s=()=>{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){i.d(t,{V:function(){return s}});var r=i(24246),n=i(86920);let s=()=>{let e=(0,n.pmc)();return{errorAlert:(t,i,s)=>{let l={...s,position:(null==s?void 0:s.position)||"top",render:e=>{let{onClose:s}=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:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&e.isActive(s.id)?e.update(s.id,l):e(l)},successAlert:(t,i,s)=>{let l={...s,position:(null==s?void 0:s.position)||"top",render:e=>{let{onClose:s}=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:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&e.isActive(s.id)?e.update(s.id,l):e(l)}}}},70788:function(e,t,i){i.d(t,{m:function(){return o}});var r=i(24246),n=i(86920),s=i(79894),l=i.n(s),a=i(27378);let{Text:d}=n.AntTypography,o=e=>{let{items:t,...i}=e,s=(0,a.useMemo)(()=>null==t?void 0:t.map((e,i)=>{let s=i===t.length-1,a={...e},o=a.onClick&&!a.href;return("string"==typeof a.title&&(a.title=(0,r.jsx)(d,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:a.title})),o)?a.title=(0,r.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,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"anticon align-text-bottom",children:a.icon}),a.title]})),a.href&&a.title&&(a.title=(0,r.jsx)(l(),{href:a.href,className:"ant-breadcrumb-link",children:a.title}),delete a.href)),a}),[t]);return(0,r.jsx)(n.zrq,{items:s,...i})}},57526:function(e,t,i){var r=i(24246),n=i(86920),s=i(27378);t.Z=e=>{let{isOpen:t,onClose:i,onApproveRequest:l,isLoading:a,subjectRequest:d}=e,{identity:o,identity_verified_at:c,custom_privacy_request_fields:u}=d,x=(0,s.useCallback)(()=>{l().then(()=>{i()})},[l,i]);return(0,r.jsxs)(n.u_l,{isOpen:t,onClose:i,size:"lg",isCentered:!0,children:[(0,r.jsx)(n.ZAr,{}),(0,r.jsxs)(n.hzk,{children:[(0,r.jsx)(n.xBx,{children:"Privacy request approval"}),(0,r.jsxs)(n.fef,{paddingTop:0,paddingBottom:0,children:[(0,r.jsx)(n.xvT,{color:"gray.500",fontSize:"14px",marginBottom:4,children:"Are you sure you want to approve this privacy request?"}),(0,r.jsxs)(n.QI$,{children:[Object.entries(o).filter(e=>{let[,{value:t}]=e;return null!==t}).map(e=>{let[t,{value:i,label:s}]=e;return(0,r.jsx)(n.HCh,{children:(0,r.jsxs)(n.kCb,{alignItems:"flex-start",children:[(0,r.jsxs)(n.xvT,{mr:2,fontSize:"sm",color:"gray.900",fontWeight:"500",children:[s,":"]}),(0,r.jsx)(n.xvT,{color:"gray.600",fontWeight:"500",fontSize:"sm",mr:2,children:i}),"(",c?"Verified":"Unverified",")"]},t)},t)}),u&&Object.entries(u).filter(e=>{let[,t]=e;return t.value}).map(e=>{let[t,i]=e;return(0,r.jsx)(n.HCh,{children:(0,r.jsxs)(n.kCb,{alignItems:"flex-start",children:[(0,r.jsxs)(n.xvT,{mr:2,fontSize:"sm",color:"gray.900",fontWeight:"500",children:[i.label,":"]}),(0,r.jsxs)(n.xvT,{color:"gray.600",fontWeight:"500",fontSize:"sm",mr:2,children:[Array.isArray(i.value)?i.value.join(", "):i.value," "]}),"(Unverified)"]},t)},t)})]})]}),(0,r.jsx)(n.mzw,{children:(0,r.jsxs)(n.MIq,{columns:2,width:"100%",children:[(0,r.jsx)(n.wpx,{onClick:i,className:"mr-3","data-testid":"cancel-btn",children:"Cancel"}),(0,r.jsx)(n.wpx,{type:"primary","data-testid":"continue-btn",onClick:x,loading:a,children:"Confirm"})]})})]})]})}},66548:function(e,t,i){var r=i(24246),n=i(40324),s=i(86920),l=i(34090),a=i(27378),d=i(55484);let o={denialReason:""};t.Z=e=>{let{isOpen:t,onClose:i,onDenyRequest:c}=e,u=(0,a.useCallback)((e,t)=>{let{setSubmitting:r}=t;c(e.denialReason).then(()=>{r(!1),i()})},[c,i]);return(0,r.jsxs)(s.u_l,{isOpen:t,onClose:i,isCentered:!0,returnFocusOnClose:!1,children:[(0,r.jsx)(s.ZAr,{}),(0,r.jsx)(s.hzk,{width:"100%",maxWidth:"456px","data-testid":"deny-privacy-request-modal",children:(0,r.jsx)(l.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,r.jsxs)(l.l0,{children:[(0,r.jsx)(s.xBx,{children:"Privacy request denial"}),(0,r.jsx)(s.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,r.jsx)(s.fef,{children:(0,r.jsx)(n.Ks,{name:"denialReason",textAreaProps:{focusBorderColor:"primary.600",resize:"none"}})}),(0,r.jsxs)(s.mzw,{className:"flex w-full gap-4",children:[(0,r.jsx)(s.wpx,{disabled:t,onClick:i,className:"grow",children:"Cancel"}),(0,r.jsx)(s.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,i){i.d(t,{Z:function(){return n}});var r=i(90867);let n=e=>{let{subjectRequest:t}=e,[i,n]=(0,r.RW)({fixedCacheKey:t.id}),[s,l]=(0,r.F1)({fixedCacheKey:t.id}),[a,d]=(0,r.rC)({fixedCacheKey:t.id}),o=l.isLoading||n.isLoading;return{approveRequest:i,approveRequestResult:n,denyRequest:s,denyRequestResult:l,handleApproveRequest:()=>i(t),handleDenyRequest:e=>s({id:t.id,reason:e}),handleDeleteRequest:()=>a(t),softDeleteRequestResult:d,isLoading:o}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1817],{11817:function(e,n,i){i.d(n,{Z:function(){return U}});var t=i(24246),o=i(38355),a=i(34090),l=i(86677),r=i(27378),s=i(55484),d=i(16134),c=i(812);let p=(0,o.IUT)({displayName:"DesktopIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M20.5556 4.05556H3.44444C3.10833 4.05556 2.83333 4.33056 2.83333 4.66667V12H21.1667V4.66667C21.1667 4.33056 20.8917 4.05556 20.5556 4.05556ZM23 12V13.8333V15.6667C23 17.0149 21.9038 18.1111 20.5556 18.1111H14.9142L15.2198 19.9445H17.1944C17.7024 19.9445 18.1111 20.3531 18.1111 20.8611C18.1111 21.3691 17.7024 21.7778 17.1944 21.7778H14.4444H9.55556H6.80556C6.29757 21.7778 5.88889 21.3691 5.88889 20.8611C5.88889 20.3531 6.29757 19.9445 6.80556 19.9445H8.78021L9.08576 18.1111H3.44444C2.09618 18.1111 1 17.0149 1 15.6667V13.8333V12V4.66667C1 3.31841 2.09618 2.22223 3.44444 2.22223H20.5556C21.9038 2.22223 23 3.31841 23 4.66667V12ZM2.83333 13.8333V15.6667C2.83333 16.0028 3.10833 16.2778 3.44444 16.2778H10.1476C10.159 16.2778 10.1705 16.2778 10.1781 16.2778H13.8142C13.8257 16.2778 13.8372 16.2778 13.8448 16.2778H20.5556C20.8917 16.2778 21.1667 16.0028 21.1667 15.6667V13.8333H2.83333ZM10.6365 19.9445H13.3597L13.0542 18.1111H10.942L10.6365 19.9445Z"})}),u=(0,o.IUT)({displayName:"MobileIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M6.5 20.25C6.5 20.6281 6.80938 20.9375 7.1875 20.9375H16.8125C17.1906 20.9375 17.5 20.6281 17.5 20.25V16.8125H6.5V20.25ZM6.5 14.75H17.5V3.75C17.5 3.37188 17.1906 3.0625 16.8125 3.0625H7.1875C6.80938 3.0625 6.5 3.37188 6.5 3.75V14.75ZM4.4375 3.75C4.4375 2.2332 5.6707 1 7.1875 1H16.8125C18.3293 1 19.5625 2.2332 19.5625 3.75V20.25C19.5625 21.7668 18.3293 23 16.8125 23H7.1875C5.6707 23 4.4375 21.7668 4.4375 20.25V3.75ZM12 17.8438C12.2735 17.8438 12.5358 17.9524 12.7292 18.1458C12.9226 18.3392 13.0312 18.6015 13.0312 18.875C13.0312 19.1485 12.9226 19.4108 12.7292 19.6042C12.5358 19.7976 12.2735 19.9062 12 19.9062C11.7265 19.9062 11.4642 19.7976 11.2708 19.6042C11.0774 19.4108 10.9688 19.1485 10.9688 18.875C10.9688 18.6015 11.0774 18.3392 11.2708 18.1458C11.4642 17.9524 11.7265 17.8438 12 17.8438Z"})});var v=i(77830),m=i(46628),_=i(7426),f=i(60325);let b={language:{label:"Language",validation:s.Z_()},title:{label:"Title",validation:s.Z_()},description:{label:"Description",validation:s.Z_()},accept_button_label:{label:"Accept button label",validation:s.Z_()},reject_button_label:{label:"Reject button label",validation:s.Z_()},save_button_label:{label:"Save button label",validation:s.Z_()},acknowledge_button_label:{label:"Acknowledge button label",validation:s.Z_()},privacy_policy_url:{label:"Privacy policy URL",validation:s.Z_().url()},privacy_preferences_link_label:{label:"Privacy preferences link label",validation:s.Z_()},banner_title:{label:"Banner title",validation:s.Z_()},banner_description:{label:"Banner description",validation:s.Z_()},purpose_header:{label:"Purpose header",validation:s.Z_()},privacy_policy_link_label:{label:"Privacy policy link label",validation:s.Z_()},modal_link_label:{label:"Modal link label",validation:s.Z_()},is_default:{label:"Default language",validation:s.O7()}};var g=i(34334),y=i(13083),x=i.n(y),h=i(43218),w=i.n(h),C=i(52253),j=i(32885),V=i(46420);let k={language:V.eU.EN,accept_button_label:"Accept",acknowledge_button_label:"OK",banner_description:"",banner_title:"",purpose_header:"",description:"Description",privacy_policy_link_label:"",privacy_policy_url:"",modal_link_label:"",privacy_preferences_link_label:"Privacy preferences",reject_button_label:"Reject All",save_button_label:"Save",title:"Manage your consent preferences",is_default:!0},A=e=>({...k,...e.translations?e.translations[0]:{}}),O=(e,n)=>{var i,t,o,a;let l={options:{allowHTMLDescription:!0,base64Cookie:!1,debug:!1,fidesApiUrl:"http://localhost:8080/api/v1",fidesClearCookie:!0,fidesDisableSaveApi:!0,fidesDisableNoticesServedApi:!0,fidesJsBaseUrl:"",fidesLocale:null===(t=e.translations)||void 0===t?void 0:null===(i=t[0])||void 0===i?void 0:i.language,fidesString:null,geolocationApiUrl:"",isGeolocationEnabled:!1,isOverlayEnabled:!0,isPrefetchEnabled:!1,modalLinkId:null,overlayParentId:C.Vk,preventDismissal:null!==(a=e.dismissable)&&void 0!==a&&a,privacyCenterUrl:"http://localhost:3000",showFidesBrandLink:!0},experience:{available_locales:null===(o=e.translations)||void 0===o?void 0:o.map(e=>e.language),component:e.component,experience_config:{allow_language_selection:!0,auto_detect_language:!0,auto_subdomain_cookie_deletion:!0,component:e.component,disabled:!1,dismissable:e.dismissable,id:"pri_222",is_default:!0,language:"en",layer1_button_options:V.Of.OPT_IN_OPT_OUT,properties:[],regions:["us_ca"],show_layer1_notices:!1,translations:[A(e)]},id:"pri_111",privacy_notices:n,region:"us_ca"},geolocation:{country:"US",location:"US-CA",region:"CA"}};return e.component===V.re.TCF_OVERLAY&&(l.options.fidesTcfGdprApplies=!0,l.options.tcf_enabled=!0,l.geolocation={location:"eea",country:"eea"},l.experience.experience_config.regions=["eea"],l.experience={...l.experience,region:"eea",minimal_tcf:!0,gvl:{vendors:{}},tcf_purpose_names:["Store and/or access information on a device","Use limited data to select advertising","Create profiles for personalised advertising","Use profiles to select personalised advertising","Create profiles to personalise content","Use profiles to select personalised content","Measure advertising performance","Measure content performance","Understand audiences through statistics or combinations of data from different sources","Develop and improve services","Use limited data to select content"]},l.options.apiOptions={getPrivacyExperienceFn:async()=>l.experience}),l},E=e=>{let{language:n,is_default:i,...t}=k,o=Object.keys(t).map(n=>{let i=e[n];return{[n]:void 0!==i?i:k[n]}}).reduce((e,n)=>({...e,...n}),{});return{language:e.language,is_default:e.is_default,...o}},T=(e,n,i)=>e?e.map(e=>i.find(n=>(null==n?void 0:n.id)===e)).map(e=>n===V.re.TCF_OVERLAY&&void 0!==e?{...e,translations:[{language:"en",text:null==e?void 0:e.name}]}:e).filter(e=>void 0!==e):[];var L=i(74022),Z=i(32222);let N=e=>{let{title:n,description:i}=e;return(0,t.jsx)(o.jqI,{className:"h-full items-center justify-center",children:(0,t.jsxs)(o.jqI,{className:"items-center gap-2 rounded-md p-6",style:{backgroundColor:L.Z.colors.white,boxShadow:L.Z.shadows.md,maxWidth:512},vertical:!0,"data-testid":"no-preview-notice",children:[(0,t.jsx)(o.xvT,{fontSize:"lg",fontWeight:"500",align:"center",children:n}),(0,t.jsx)(o.xvT,{color:"gray.500",align:"center",children:i})]})})};var P=e=>{var n,i;let{allPrivacyNotices:s,initialValues:d,translation:c,isMobilePreview:p}=e,u=(0,l.useRouter)().pathname.includes("/new"),{values:v}=(0,a.u6)(),[m,_]=(0,r.useState)([]),[f,b]=(0,r.useState)(!1),[g,y]=(0,r.useState)(),h=[V.re.BANNER_AND_MODAL,V.re.MODAL,V.re.TCF_OVERLAY].includes(v.component),{data:k}=(0,j.de)({pageIndex:1,pageSize:1}),A=(0,r.useMemo)(()=>(null==k?void 0:k.total)||0,[null==k?void 0:k.total]);(0,r.useEffect)(()=>{var e,n;return h&&f&&window.FidesPreview&&v.component&&((null===(e=v.privacy_notice_ids)||void 0===e?void 0:e.length)||v.component===V.re.TCF_OVERLAY)?v.component===V.re.TCF_OVERLAY?(window.FidesPreview("tcf"),y("tcf")):(window.FidesPreview("standard"),y("standard")):window.FidesPreview&&(null===(n=window.FidesPreview)||void 0===n||n.cleanup()),()=>{var e;null===(e=window.FidesPreview)||void 0===e||e.cleanup()}},[v.component,f,h,null===(n=v.privacy_notice_ids)||void 0===n?void 0:n.length,u]),(0,r.useEffect)(()=>{d&&v.component&&s&&(v.privacy_notice_ids?_(T(v.privacy_notice_ids,v.component,s)):_([]))},[v.privacy_notice_ids,s,v.component,d]);let L=(0,r.useMemo)(()=>v.component?O({...d,component:v.component},m):null,[d,m,v.component]);(0,r.useEffect)(()=>{var e,n,i,t;if(!h||!f||!window.FidesPreview||!window.Fides||!(null===(e=v.privacy_notice_ids)||void 0===e?void 0:e.length)&&v.component!==V.re.TCF_OVERLAY)return;v.component===V.re.MODAL&&(L.experience.experience_config.component=V.re.MODAL);let o=null===(n=v.translations)||void 0===n?void 0:n.find(e=>e.language===(null==c?void 0:c.language));(null===(i=v.translations)||void 0===i?void 0:i.length)&&(o?(L.experience.available_locales=[...L.experience.available_locales||[],o.language],L.experience.experience_config.translations[0]=E(o),L.options.fidesLocale=o.language):v.translations&&(L.experience.experience_config.translations[0]=E(v.translations[0]),L.options.fidesLocale=v.translations[0].language)),L.experience.experience_config.show_layer1_notices=!!(null===(t=v.privacy_notice_ids)||void 0===t?void 0:t.length)&&!!v.show_layer1_notices,L.experience.experience_config.layer1_button_options=(v.component===V.re.BANNER_AND_MODAL||v.component===V.re.TCF_OVERLAY)&&v.layer1_button_options?v.layer1_button_options:V.Of.OPT_IN_OPT_OUT,L.options.preventDismissal=!v.dismissable,L.experience.vendor_count=A,L.experience.experience_config.component=v.component,window.Fides.init(L)},[c,L,s,h,A,f,g,v.privacy_notice_ids,v.component,v.translations,v.show_layer1_notices,v.layer1_button_options,v.dismissable,d,m]);let P=document.getElementById("fides-modal");return(P&&P.removeAttribute("tabindex"),v.component)?h?(null===(i=v.privacy_notice_ids)||void 0===i?void 0:i.length)||v.component===V.re.TCF_OVERLAY?(0,t.jsxs)(o.jqI,{className:"size-full items-center justify-center overflow-scroll",children:[(0,t.jsx)(x(),{id:"4b2ec2183c5a567e",dynamic:[C.Vk,v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""],children:"div#fides-overlay{z-index:5000!important}div#".concat(C.Vk,"{width:100%;padding-top:45px;").concat(v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""," margin: auto;pointer-events:none}div#fides-banner-container{position:static!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important}div#fides-banner-container.fides-banner-hidden{display:none}.fides-modal-container{background-color:unset!important;position:static!important;display:none!important}.fides-modal-overlay{background-color:inherit!important;position:static!important;display:none!important}div.fides-modal-content{position:relative!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;left:initial!important;top:initial!important}div.fides-modal-footer{width:unset}")}),h?(0,t.jsx)("style",{children:"div#fides-modal {\n display: flex !important;\n justify-content: center;\n background-color: unset;\n ".concat(v.component===V.re.BANNER_AND_MODAL||v.component===V.re.TCF_OVERLAY?"padding-bottom: 3rem;":"","\n }")}):null,p?(0,t.jsx)("style",{children:"\n div#fides-overlay-wrapper {\n max-width: 400px;\n margin: auto;\n }\n div.fides-modal-button-group {\n flex-direction: column !important;\n }\n div#fides-banner {\n padding: 24px;\n width: 100%;\n }\n\n div#fides-banner-description {\n margin-bottom: 0px;\n }\n\n div#fides-banner-inner div#fides-button-group {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n padding-top: 24px;\n }\n\n .fides-banner-button-group {\n flex-direction: column;\n width: 100%;\n }\n\n button.fides-banner-button {\n margin: 0px;\n width: 100%;\n }\n\n div#fides-banner-inner-container {\n display: flex;\n flex-direction: column;\n max-height: 50vh;\n overflow-y: auto;\n scrollbar-gutter: stable;\n }\n\n div#fides-privacy-policy-link {\n order: 1;\n width: 100%;\n }\n .fides-modal-footer {\n max-width: 100%;\n }\n .fides-banner-secondary-actions {\n flex-direction: column-reverse;\n gap: 12px;\n }\n "}):(0,t.jsx)("style",{children:"\n div#fides-banner {\n width: 60%;\n }\n @media (min-width: 768px) {\n div#fides-banner {\n width: 100%;\n }\n }\n @media (min-width: 1155px) {\n div#fides-banner {\n width: 90%;\n }\n }\n @media (min-width: 1440px) {\n div#fides-banner {\n width: 60%;\n }\n }\n "}),(0,t.jsx)(w(),{id:"fides-js-script",src:"/lib/fides-preview.js",onReady:()=>{b(!0)}}),(0,t.jsx)("div",{id:C.Vk,className:x().dynamic([["4b2ec2183c5a567e",[C.Vk,v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""]]])},v.component)]}):(0,t.jsx)(N,{title:"No privacy notices added",description:'To view a preview of this experience, add a privacy notice under "Privacy Notices" to the left.'}):(0,t.jsx)(N,{title:"".concat(Z.J.get(v.component)," preview not available"),description:"There is no preview available for ".concat(Z.J.get(v.component),". You can edit the available settings\n and languages to the left.")}):(0,t.jsx)(N,{title:"No privacy experience type selected",description:"Please select a privacy experience type to preview."})},D=i(94315),M=i(5331),R=i(16277),F=i(71922),H=i(31883);let S=e=>{let n=(0,f.y3)(e),i={};return Object.entries(n).forEach(e=>{let[n,t]=e;if(t.included){let e=b[n];i[n]=t.required?e.validation.required().label(e.label):e.validation.nullable().label(e.label)}}),s.Ry().shape(i)},B=e=>{let{componentType:n}=e;return S(n)},I=s.Ry().shape({name:s.Z_().required().label("Experience name"),component:s.Z_().required().label("Experience type"),translations:s.IX().when("component",(e,n)=>{let[i]=e;return n.of(B({componentType:i}))})});var U=e=>{var n;let{passedInExperience:i,passedInTranslations:s}=e,[b]=(0,D.mJ)(),[y]=(0,D.$d)(),x=(0,o.pmc)(),[h,w]=(0,r.useState)(!1),C=(0,l.useRouter)(),{data:j}=(0,_.tB)({api_set:!1}),V=null==j?void 0:null===(n=j.plus_consent_settings)||void 0===n?void 0:n.enable_translations,k=(0,d.C)(g.Zp),A=(0,d.C)(g.G1);(0,g.Ah)({page:k,size:A});let O=(0,d.C)(g.fJ),E=(0,d.C)(F.sX),T=i?{...f.DD,...(0,f.Uv)(i)}:f.DD,L=async e=>{var n,t;let o;e.privacy_notice_ids=null===(n=e.privacy_notice_ids)||void 0===n?void 0:n.filter(e=>"tcf_purposes_placeholder"!==e),T.tcf_configuration_id&&!e.tcf_configuration_id&&(e.tcf_configuration_id=null);let a={...e,disabled:null===(t=null==i?void 0:i.disabled)||void 0===t||t,allow_language_selection:e.translations&&e.translations.length>1};if(i){let{component:e,...n}=a;o=await y({...n,id:i.id})}else o=await b(a);(0,H.D4)(o)?x((0,m.Vo)((0,c.e$)(o.error))):(x((0,m.t5)("Privacy experience successfully ".concat(i?"updated":"created"))),C.push(v.w0))},[Z,N]=(0,r.useState)(void 0),[S,B]=(0,r.useState)(!1);return(0,t.jsx)(a.J9,{initialValues:T,enableReinitialize:!0,onSubmit:L,validationSchema:I,children:(0,t.jsx)(a.l0,{style:{height:"100vh"},children:(0,t.jsxs)(o.jqI,{className:"size-full","data-testid":"privacy-experience-detail-page",children:[Z?(0,t.jsx)(R.Z,{translation:Z,translationsEnabled:V,isOOB:S,onReturnToMainForm:()=>{N(void 0),B(!1)}}):(0,t.jsx)(M.d0,{allPrivacyNotices:E,translationsEnabled:V,onSelectTranslation:e=>{N({...e,name:(0,f.Go)(e,O)})},onCreateTranslation:e=>{let n=null==s?void 0:s.find(n=>n.language===e);return n&&B(!0),null!=n?n:{language:e,is_default:!1}}}),(0,t.jsxs)(o.jqI,{vertical:!0,className:"w-full overflow-y-hidden",style:{backgroundColor:o.rSc.colors.gray[50]},children:[(0,t.jsxs)(o.jqI,{className:"flex-row items-center p-4",style:{backgroundColor:o.rSc.colors.white,borderBottom:"1px solid ".concat(o.rSc.colors.gray[100])},children:[(0,t.jsx)(o.xvT,{fontSize:"md",fontWeight:"semibold",children:"PREVIEW"}),(0,t.jsx)(o.LZC,{}),(0,t.jsxs)(o.y02.Group,{onChange:e=>w(e.target.value),defaultValue:!1,children:[(0,t.jsx)(o.y02.Button,{value:!0,title:"View mobile preview",children:(0,t.jsx)(u,{})}),(0,t.jsx)(o.y02.Button,{value:!1,title:"View desktop preview",children:(0,t.jsx)(p,{})})]})]}),(0,t.jsx)(P,{allPrivacyNotices:E,initialValues:T,translation:Z,isMobilePreview:h})]})]})})})}},32222:function(e,n,i){i.d(n,{J:function(){return t}});let t=new Map([["overlay","Overlay"],["privacy_center","Privacy center"],["tcf_overlay","TCF overlay"],["modal","Modal"],["banner_and_modal","Banner and modal"],["headless","Headless"]])},31883:function(e,n,i){i.d(n,{Bw:function(){return t.Bw},D4:function(){return t.D4}});var t=i(19043)}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1817],{11817:function(e,n,i){i.d(n,{Z:function(){return U}});var t=i(24246),o=i(86920),a=i(34090),l=i(86677),r=i(27378),s=i(55484),d=i(16134),c=i(812);let p=(0,o.IUT)({displayName:"DesktopIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M20.5556 4.05556H3.44444C3.10833 4.05556 2.83333 4.33056 2.83333 4.66667V12H21.1667V4.66667C21.1667 4.33056 20.8917 4.05556 20.5556 4.05556ZM23 12V13.8333V15.6667C23 17.0149 21.9038 18.1111 20.5556 18.1111H14.9142L15.2198 19.9445H17.1944C17.7024 19.9445 18.1111 20.3531 18.1111 20.8611C18.1111 21.3691 17.7024 21.7778 17.1944 21.7778H14.4444H9.55556H6.80556C6.29757 21.7778 5.88889 21.3691 5.88889 20.8611C5.88889 20.3531 6.29757 19.9445 6.80556 19.9445H8.78021L9.08576 18.1111H3.44444C2.09618 18.1111 1 17.0149 1 15.6667V13.8333V12V4.66667C1 3.31841 2.09618 2.22223 3.44444 2.22223H20.5556C21.9038 2.22223 23 3.31841 23 4.66667V12ZM2.83333 13.8333V15.6667C2.83333 16.0028 3.10833 16.2778 3.44444 16.2778H10.1476C10.159 16.2778 10.1705 16.2778 10.1781 16.2778H13.8142C13.8257 16.2778 13.8372 16.2778 13.8448 16.2778H20.5556C20.8917 16.2778 21.1667 16.0028 21.1667 15.6667V13.8333H2.83333ZM10.6365 19.9445H13.3597L13.0542 18.1111H10.942L10.6365 19.9445Z"})}),u=(0,o.IUT)({displayName:"MobileIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M6.5 20.25C6.5 20.6281 6.80938 20.9375 7.1875 20.9375H16.8125C17.1906 20.9375 17.5 20.6281 17.5 20.25V16.8125H6.5V20.25ZM6.5 14.75H17.5V3.75C17.5 3.37188 17.1906 3.0625 16.8125 3.0625H7.1875C6.80938 3.0625 6.5 3.37188 6.5 3.75V14.75ZM4.4375 3.75C4.4375 2.2332 5.6707 1 7.1875 1H16.8125C18.3293 1 19.5625 2.2332 19.5625 3.75V20.25C19.5625 21.7668 18.3293 23 16.8125 23H7.1875C5.6707 23 4.4375 21.7668 4.4375 20.25V3.75ZM12 17.8438C12.2735 17.8438 12.5358 17.9524 12.7292 18.1458C12.9226 18.3392 13.0312 18.6015 13.0312 18.875C13.0312 19.1485 12.9226 19.4108 12.7292 19.6042C12.5358 19.7976 12.2735 19.9062 12 19.9062C11.7265 19.9062 11.4642 19.7976 11.2708 19.6042C11.0774 19.4108 10.9688 19.1485 10.9688 18.875C10.9688 18.6015 11.0774 18.3392 11.2708 18.1458C11.4642 17.9524 11.7265 17.8438 12 17.8438Z"})});var v=i(77830),m=i(46628),_=i(7426),f=i(60325);let b={language:{label:"Language",validation:s.Z_()},title:{label:"Title",validation:s.Z_()},description:{label:"Description",validation:s.Z_()},accept_button_label:{label:"Accept button label",validation:s.Z_()},reject_button_label:{label:"Reject button label",validation:s.Z_()},save_button_label:{label:"Save button label",validation:s.Z_()},acknowledge_button_label:{label:"Acknowledge button label",validation:s.Z_()},privacy_policy_url:{label:"Privacy policy URL",validation:s.Z_().url()},privacy_preferences_link_label:{label:"Privacy preferences link label",validation:s.Z_()},banner_title:{label:"Banner title",validation:s.Z_()},banner_description:{label:"Banner description",validation:s.Z_()},purpose_header:{label:"Purpose header",validation:s.Z_()},privacy_policy_link_label:{label:"Privacy policy link label",validation:s.Z_()},modal_link_label:{label:"Modal link label",validation:s.Z_()},is_default:{label:"Default language",validation:s.O7()}};var g=i(34334),y=i(13083),x=i.n(y),h=i(43218),w=i.n(h),C=i(52253),j=i(32885),V=i(68309);let k={language:V.eU.EN,accept_button_label:"Accept",acknowledge_button_label:"OK",banner_description:"",banner_title:"",purpose_header:"",description:"Description",privacy_policy_link_label:"",privacy_policy_url:"",modal_link_label:"",privacy_preferences_link_label:"Privacy preferences",reject_button_label:"Reject All",save_button_label:"Save",title:"Manage your consent preferences",is_default:!0},A=e=>({...k,...e.translations?e.translations[0]:{}}),O=(e,n)=>{var i,t,o,a;let l={options:{allowHTMLDescription:!0,base64Cookie:!1,debug:!1,fidesApiUrl:"http://localhost:8080/api/v1",fidesClearCookie:!0,fidesDisableSaveApi:!0,fidesDisableNoticesServedApi:!0,fidesJsBaseUrl:"",fidesLocale:null===(t=e.translations)||void 0===t?void 0:null===(i=t[0])||void 0===i?void 0:i.language,fidesString:null,geolocationApiUrl:"",isGeolocationEnabled:!1,isOverlayEnabled:!0,isPrefetchEnabled:!1,modalLinkId:null,overlayParentId:C.Vk,preventDismissal:null!==(a=e.dismissable)&&void 0!==a&&a,privacyCenterUrl:"http://localhost:3000",showFidesBrandLink:!0},experience:{available_locales:null===(o=e.translations)||void 0===o?void 0:o.map(e=>e.language),component:e.component,experience_config:{allow_language_selection:!0,auto_detect_language:!0,auto_subdomain_cookie_deletion:!0,component:e.component,disabled:!1,dismissable:e.dismissable,id:"pri_222",is_default:!0,language:"en",layer1_button_options:V.Of.OPT_IN_OPT_OUT,properties:[],regions:["us_ca"],show_layer1_notices:!1,translations:[A(e)]},id:"pri_111",privacy_notices:n,region:"us_ca"},geolocation:{country:"US",location:"US-CA",region:"CA"}};return e.component===V.re.TCF_OVERLAY&&(l.options.fidesTcfGdprApplies=!0,l.options.tcf_enabled=!0,l.geolocation={location:"eea",country:"eea"},l.experience.experience_config.regions=["eea"],l.experience={...l.experience,region:"eea",minimal_tcf:!0,gvl:{vendors:{}},tcf_purpose_names:["Store and/or access information on a device","Use limited data to select advertising","Create profiles for personalised advertising","Use profiles to select personalised advertising","Create profiles to personalise content","Use profiles to select personalised content","Measure advertising performance","Measure content performance","Understand audiences through statistics or combinations of data from different sources","Develop and improve services","Use limited data to select content"]},l.options.apiOptions={getPrivacyExperienceFn:async()=>l.experience}),l},E=e=>{let{language:n,is_default:i,...t}=k,o=Object.keys(t).map(n=>{let i=e[n];return{[n]:void 0!==i?i:k[n]}}).reduce((e,n)=>({...e,...n}),{});return{language:e.language,is_default:e.is_default,...o}},T=(e,n,i)=>e?e.map(e=>i.find(n=>(null==n?void 0:n.id)===e)).map(e=>n===V.re.TCF_OVERLAY&&void 0!==e?{...e,translations:[{language:"en",text:null==e?void 0:e.name}]}:e).filter(e=>void 0!==e):[];var L=i(74022),Z=i(32222);let N=e=>{let{title:n,description:i}=e;return(0,t.jsx)(o.jqI,{className:"h-full items-center justify-center",children:(0,t.jsxs)(o.jqI,{className:"items-center gap-2 rounded-md p-6",style:{backgroundColor:L.Z.colors.white,boxShadow:L.Z.shadows.md,maxWidth:512},vertical:!0,"data-testid":"no-preview-notice",children:[(0,t.jsx)(o.xvT,{fontSize:"lg",fontWeight:"500",align:"center",children:n}),(0,t.jsx)(o.xvT,{color:"gray.500",align:"center",children:i})]})})};var P=e=>{var n,i;let{allPrivacyNotices:s,initialValues:d,translation:c,isMobilePreview:p}=e,u=(0,l.useRouter)().pathname.includes("/new"),{values:v}=(0,a.u6)(),[m,_]=(0,r.useState)([]),[f,b]=(0,r.useState)(!1),[g,y]=(0,r.useState)(),h=[V.re.BANNER_AND_MODAL,V.re.MODAL,V.re.TCF_OVERLAY].includes(v.component),{data:k}=(0,j.de)({pageIndex:1,pageSize:1}),A=(0,r.useMemo)(()=>(null==k?void 0:k.total)||0,[null==k?void 0:k.total]);(0,r.useEffect)(()=>{var e,n;return h&&f&&window.FidesPreview&&v.component&&((null===(e=v.privacy_notice_ids)||void 0===e?void 0:e.length)||v.component===V.re.TCF_OVERLAY)?v.component===V.re.TCF_OVERLAY?(window.FidesPreview("tcf"),y("tcf")):(window.FidesPreview("standard"),y("standard")):window.FidesPreview&&(null===(n=window.FidesPreview)||void 0===n||n.cleanup()),()=>{var e;null===(e=window.FidesPreview)||void 0===e||e.cleanup()}},[v.component,f,h,null===(n=v.privacy_notice_ids)||void 0===n?void 0:n.length,u]),(0,r.useEffect)(()=>{d&&v.component&&s&&(v.privacy_notice_ids?_(T(v.privacy_notice_ids,v.component,s)):_([]))},[v.privacy_notice_ids,s,v.component,d]);let L=(0,r.useMemo)(()=>v.component?O({...d,component:v.component},m):null,[d,m,v.component]);(0,r.useEffect)(()=>{var e,n,i,t;if(!h||!f||!window.FidesPreview||!window.Fides||!(null===(e=v.privacy_notice_ids)||void 0===e?void 0:e.length)&&v.component!==V.re.TCF_OVERLAY)return;v.component===V.re.MODAL&&(L.experience.experience_config.component=V.re.MODAL);let o=null===(n=v.translations)||void 0===n?void 0:n.find(e=>e.language===(null==c?void 0:c.language));(null===(i=v.translations)||void 0===i?void 0:i.length)&&(o?(L.experience.available_locales=[...L.experience.available_locales||[],o.language],L.experience.experience_config.translations[0]=E(o),L.options.fidesLocale=o.language):v.translations&&(L.experience.experience_config.translations[0]=E(v.translations[0]),L.options.fidesLocale=v.translations[0].language)),L.experience.experience_config.show_layer1_notices=!!(null===(t=v.privacy_notice_ids)||void 0===t?void 0:t.length)&&!!v.show_layer1_notices,L.experience.experience_config.layer1_button_options=(v.component===V.re.BANNER_AND_MODAL||v.component===V.re.TCF_OVERLAY)&&v.layer1_button_options?v.layer1_button_options:V.Of.OPT_IN_OPT_OUT,L.options.preventDismissal=!v.dismissable,L.experience.vendor_count=A,L.experience.experience_config.component=v.component,window.Fides.init(L)},[c,L,s,h,A,f,g,v.privacy_notice_ids,v.component,v.translations,v.show_layer1_notices,v.layer1_button_options,v.dismissable,d,m]);let P=document.getElementById("fides-modal");return(P&&P.removeAttribute("tabindex"),v.component)?h?(null===(i=v.privacy_notice_ids)||void 0===i?void 0:i.length)||v.component===V.re.TCF_OVERLAY?(0,t.jsxs)(o.jqI,{className:"size-full items-center justify-center overflow-scroll",children:[(0,t.jsx)(x(),{id:"4b2ec2183c5a567e",dynamic:[C.Vk,v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""],children:"div#fides-overlay{z-index:5000!important}div#".concat(C.Vk,"{width:100%;padding-top:45px;").concat(v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""," margin: auto;pointer-events:none}div#fides-banner-container{position:static!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important}div#fides-banner-container.fides-banner-hidden{display:none}.fides-modal-container{background-color:unset!important;position:static!important;display:none!important}.fides-modal-overlay{background-color:inherit!important;position:static!important;display:none!important}div.fides-modal-content{position:relative!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;left:initial!important;top:initial!important}div.fides-modal-footer{width:unset}")}),h?(0,t.jsx)("style",{children:"div#fides-modal {\n display: flex !important;\n justify-content: center;\n background-color: unset;\n ".concat(v.component===V.re.BANNER_AND_MODAL||v.component===V.re.TCF_OVERLAY?"padding-bottom: 3rem;":"","\n }")}):null,p?(0,t.jsx)("style",{children:"\n div#fides-overlay-wrapper {\n max-width: 400px;\n margin: auto;\n }\n div.fides-modal-button-group {\n flex-direction: column !important;\n }\n div#fides-banner {\n padding: 24px;\n width: 100%;\n }\n\n div#fides-banner-description {\n margin-bottom: 0px;\n }\n\n div#fides-banner-inner div#fides-button-group {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n padding-top: 24px;\n }\n\n .fides-banner-button-group {\n flex-direction: column;\n width: 100%;\n }\n\n button.fides-banner-button {\n margin: 0px;\n width: 100%;\n }\n\n div#fides-banner-inner-container {\n display: flex;\n flex-direction: column;\n max-height: 50vh;\n overflow-y: auto;\n scrollbar-gutter: stable;\n }\n\n div#fides-privacy-policy-link {\n order: 1;\n width: 100%;\n }\n .fides-modal-footer {\n max-width: 100%;\n }\n .fides-banner-secondary-actions {\n flex-direction: column-reverse;\n gap: 12px;\n }\n "}):(0,t.jsx)("style",{children:"\n div#fides-banner {\n width: 60%;\n }\n @media (min-width: 768px) {\n div#fides-banner {\n width: 100%;\n }\n }\n @media (min-width: 1155px) {\n div#fides-banner {\n width: 90%;\n }\n }\n @media (min-width: 1440px) {\n div#fides-banner {\n width: 60%;\n }\n }\n "}),(0,t.jsx)(w(),{id:"fides-js-script",src:"/lib/fides-preview.js",onReady:()=>{b(!0)}}),(0,t.jsx)("div",{id:C.Vk,className:x().dynamic([["4b2ec2183c5a567e",[C.Vk,v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""]]])},v.component)]}):(0,t.jsx)(N,{title:"No privacy notices added",description:'To view a preview of this experience, add a privacy notice under "Privacy Notices" to the left.'}):(0,t.jsx)(N,{title:"".concat(Z.J.get(v.component)," preview not available"),description:"There is no preview available for ".concat(Z.J.get(v.component),". You can edit the available settings\n and languages to the left.")}):(0,t.jsx)(N,{title:"No privacy experience type selected",description:"Please select a privacy experience type to preview."})},D=i(94315),M=i(5331),R=i(16277),F=i(71922),H=i(31883);let S=e=>{let n=(0,f.y3)(e),i={};return Object.entries(n).forEach(e=>{let[n,t]=e;if(t.included){let e=b[n];i[n]=t.required?e.validation.required().label(e.label):e.validation.nullable().label(e.label)}}),s.Ry().shape(i)},B=e=>{let{componentType:n}=e;return S(n)},I=s.Ry().shape({name:s.Z_().required().label("Experience name"),component:s.Z_().required().label("Experience type"),translations:s.IX().when("component",(e,n)=>{let[i]=e;return n.of(B({componentType:i}))})});var U=e=>{var n;let{passedInExperience:i,passedInTranslations:s}=e,[b]=(0,D.mJ)(),[y]=(0,D.$d)(),x=(0,o.pmc)(),[h,w]=(0,r.useState)(!1),C=(0,l.useRouter)(),{data:j}=(0,_.tB)({api_set:!1}),V=null==j?void 0:null===(n=j.plus_consent_settings)||void 0===n?void 0:n.enable_translations,k=(0,d.C)(g.Zp),A=(0,d.C)(g.G1);(0,g.Ah)({page:k,size:A});let O=(0,d.C)(g.fJ),E=(0,d.C)(F.sX),T=i?{...f.DD,...(0,f.Uv)(i)}:f.DD,L=async e=>{var n,t;let o;e.privacy_notice_ids=null===(n=e.privacy_notice_ids)||void 0===n?void 0:n.filter(e=>"tcf_purposes_placeholder"!==e),T.tcf_configuration_id&&!e.tcf_configuration_id&&(e.tcf_configuration_id=null);let a={...e,disabled:null===(t=null==i?void 0:i.disabled)||void 0===t||t,allow_language_selection:e.translations&&e.translations.length>1};if(i){let{component:e,...n}=a;o=await y({...n,id:i.id})}else o=await b(a);(0,H.D4)(o)?x((0,m.Vo)((0,c.e$)(o.error))):(x((0,m.t5)("Privacy experience successfully ".concat(i?"updated":"created"))),C.push(v.w0))},[Z,N]=(0,r.useState)(void 0),[S,B]=(0,r.useState)(!1);return(0,t.jsx)(a.J9,{initialValues:T,enableReinitialize:!0,onSubmit:L,validationSchema:I,children:(0,t.jsx)(a.l0,{style:{height:"100vh"},children:(0,t.jsxs)(o.jqI,{className:"size-full","data-testid":"privacy-experience-detail-page",children:[Z?(0,t.jsx)(R.Z,{translation:Z,translationsEnabled:V,isOOB:S,onReturnToMainForm:()=>{N(void 0),B(!1)}}):(0,t.jsx)(M.d0,{allPrivacyNotices:E,translationsEnabled:V,onSelectTranslation:e=>{N({...e,name:(0,f.Go)(e,O)})},onCreateTranslation:e=>{let n=null==s?void 0:s.find(n=>n.language===e);return n&&B(!0),null!=n?n:{language:e,is_default:!1}}}),(0,t.jsxs)(o.jqI,{vertical:!0,className:"w-full overflow-y-hidden",style:{backgroundColor:o.rSc.colors.gray[50]},children:[(0,t.jsxs)(o.jqI,{className:"flex-row items-center p-4",style:{backgroundColor:o.rSc.colors.white,borderBottom:"1px solid ".concat(o.rSc.colors.gray[100])},children:[(0,t.jsx)(o.xvT,{fontSize:"md",fontWeight:"semibold",children:"PREVIEW"}),(0,t.jsx)(o.LZC,{}),(0,t.jsxs)(o.y02.Group,{onChange:e=>w(e.target.value),defaultValue:!1,children:[(0,t.jsx)(o.y02.Button,{value:!0,title:"View mobile preview",children:(0,t.jsx)(u,{})}),(0,t.jsx)(o.y02.Button,{value:!1,title:"View desktop preview",children:(0,t.jsx)(p,{})})]})]}),(0,t.jsx)(P,{allPrivacyNotices:E,initialValues:T,translation:Z,isMobilePreview:h})]})]})})})}},32222:function(e,n,i){i.d(n,{J:function(){return t}});let t=new Map([["overlay","Overlay"],["privacy_center","Privacy center"],["tcf_overlay","TCF overlay"],["modal","Modal"],["banner_and_modal","Banner and modal"],["headless","Headless"]])},31883:function(e,n,i){i.d(n,{Bw:function(){return t.Bw},D4:function(){return t.D4}});var t=i(19043)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2921],{95813:function(e,l,r){r.d(l,{S:function(){return t}});let t={input:"default text",radio:"2",checkbox:!0,switch:!0,select:"2",multiselect:["2"],tags:["1"],date:"",number:12}},12921:function(e,l,r){r.r(l),r.d(l,{FormikSpreadFieldPOC:function(){return u}});var t=r(24246),n=r(
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2921],{95813:function(e,l,r){r.d(l,{S:function(){return t}});let t={input:"default text",radio:"2",checkbox:!0,switch:!0,select:"2",multiselect:["2"],tags:["1"],date:"",number:12}},12921:function(e,l,r){r.r(l),r.d(l,{FormikSpreadFieldPOC:function(){return u}});var t=r(24246),n=r(86920),i=r(3124),s=r.n(i),d=r(34090),c=r(95813);let{Text:o,Title:a}=n.AntTypography,u=()=>(0,t.jsx)(d.J9,{initialValues:{...c.S},onSubmit:console.log,children:e=>{let{values:l}=e;return(0,t.jsxs)(n.bue,{children:[(0,t.jsxs)(n.JGx,{span:12,children:[(0,t.jsx)(a,{level:2,children:"<Formik> + <Form> + {...field}"}),(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)(n.j8w,{color:"red",children:"non functional"}),(0,t.jsx)(n.j8w,{color:"red",children:"high effort"})]}),(0,t.jsx)(d.l0,{children:(0,t.jsxs)(n.jqI,{vertical:!0,gap:16,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"input",children:"Input"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"input",children:e=>{let{field:l}=e;return(0,t.jsx)(n.uFc,{...l,id:"input",type:"text"})}})})]}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"radio",children:e=>{let{field:l}=e;return(0,t.jsxs)(n.y02.Group,{...l,children:[(0,t.jsx)(n.y02,{value:"1",children:"Radio 1"}),(0,t.jsx)(n.y02,{value:"2",children:"Radio 2"})]})}})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(d.gN,{name:"checkbox",children:e=>{let{field:r}=e;return(0,t.jsx)(n.E_O,{...r,defaultChecked:l.checkbox,children:"Checkbox"})}}),(0,t.jsx)(o,{type:"warning",children:"Requires additional logic to handle default state"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"switch",children:"Switch"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"switch",children:e=>{let{field:l}=e;return(0,t.jsx)(n.rAg,{id:"switch",...l})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant Switch's onChange is too different from Formik, requires to be fully controlled."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"select",children:"Select"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"select",children:e=>{let{field:r}=e;return(0,t.jsx)(n.WPr,{allowClear:!0,id:"select",className:"w-full",defaultValue:l.select,status:"error",...r,options:[{value:"1",label:"Option 1"},{value:"2",label:"Option 2"}]})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant Select's onChange is too different from Formik, requires to be fully controlled."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"multiselect",children:"Multiselect"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"multiselect",children:e=>{let{field:r}=e;return(0,t.jsx)(n.WPr,{mode:"multiple",allowClear:!0,id:"multiselect",className:"w-full",defaultValue:l.multiselect,status:"error",...r,options:[{value:"1",label:"Option 1"},{value:"2",label:"Option 2"}]})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant Select's onChange is too different from Formik, requires to be fully controlled."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"tags",children:"Tags"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"tags",children:e=>{let{field:r}=e;return(0,t.jsx)(n.WPr,{mode:"tags",allowClear:!0,id:"tags",className:"w-full",defaultValue:l.tags,status:"error",...r,options:[{value:"1",label:"Option 1"},{value:"2",label:"Option 2"}]})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant Select's onChange is too different from Formik, requires to be fully controlled."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"date",children:"Date"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"date",children:e=>{let{field:l}=e;return(0,t.jsx)(n.cv2,{id:"date",status:"error",...l})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant DatePicker's onChange is different from Formik, requires to be fully controlled."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"number",children:"Number"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"number",children:e=>{let{field:r}=e;return(0,t.jsx)(n.W7D,{id:"number",defaultValue:l.number,status:"error",...r})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant InputNumber's onChange is different from Formik, requires to be fully controlled."})]})]})})]}),(0,t.jsxs)(n.JGx,{span:8,offset:4,children:[(0,t.jsx)(a,{level:4,children:"Controlled Values"}),(0,t.jsx)(n.V4A,{style:{backgroundColor:s().FIDESUI_MINOS,color:s().FIDESUI_CORINTH},children:(0,t.jsx)("pre",{children:(0,t.jsxs)("code",{children:["{\n",Object.keys(l).map(e=>" ".concat(e,": ").concat(l[e],"\n")),"}"]})})})]})]})}});l.default=u}}]);
|