ethyca-fides 2.56.3b2__py2.py3-none-any.whl → 2.57.0rc0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ethyca_fides-2.56.3b2.dist-info → ethyca_fides-2.57.0rc0.dist-info}/METADATA +1 -1
- {ethyca_fides-2.56.3b2.dist-info → ethyca_fides-2.57.0rc0.dist-info}/RECORD +107 -106
- fides/_version.py +3 -3
- fides/api/service/connectors/query_configs/bigquery_query_config.py +46 -15
- fides/api/service/connectors/query_configs/query_config.py +118 -21
- fides/api/util/collection_util.py +29 -4
- fides/api/util/logger_context_utils.py +36 -1
- fides/service/privacy_request/privacy_request_service.py +14 -5
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/8xQRBeECrXm95hw4NKfpE/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5574-a4047e826a8cd4c3.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5834-bd9ed01c4ab2ef5c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5973-67c7562997f7d5cb.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6277-515c922445b8edc5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9767-4c591bd478c72650.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-fdbafb5a47a6a28c.js → [id]-443e6dd191ce5588.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{new-fc4635c6eea7165f.js → new-36162d5bea29dcc2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-bdc686761a0d2d60.js → [id]-2d651499c07d12d9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-8618ab5fa45cd074.js → new-36e57d2f2446be82.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-740824dfa6823e26.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-5541ecd2f62711a5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-a6e793e9a8ed00a9.js → [id]-0616437e1a82d3ed.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-7d314bb7238af067.js → new-f8218440494e8532.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-a6448ce6ba7f0cf5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-1a6965d78bfb26b0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-c6396feeefca887b.js → [id]-82d9af34546adaa2.js} +1 -1
- fides/ui-build/static/admin/_next/static/css/{bd5a72c010fa9c14.css → b8dbda131f8d4c05.css} +1 -1
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/ant-poc.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/lib/fides-headless.js +1 -1
- fides/ui-build/static/admin/lib/fides-tcf.js +3 -3
- fides/ui-build/static/admin/lib/fides.js +2 -2
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/2201-abd6092e6df98c26.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6277-b55810d66362f56e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6362-8f79e403fdc2404a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7495-a61f0c9fcb458664.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-fc00dbeb18a7b731.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-295756e1fd640b59.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-20489bceb7b068b8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-21c9902e7b098b39.js +0 -1
- fides/ui-build/static/admin/_next/static/n4uO6TqGfiKHQ-X5XYkoy/_buildManifest.js +0 -1
- {ethyca_fides-2.56.3b2.dist-info → ethyca_fides-2.57.0rc0.dist-info}/LICENSE +0 -0
- {ethyca_fides-2.56.3b2.dist-info → ethyca_fides-2.57.0rc0.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.56.3b2.dist-info → ethyca_fides-2.57.0rc0.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.56.3b2.dist-info → ethyca_fides-2.57.0rc0.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{n4uO6TqGfiKHQ-X5XYkoy → 8xQRBeECrXm95hw4NKfpE}/_ssgManifest.js +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{_app-3b7bbcdb61d952e7.js → _app-c580f4c12ff5a438.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9767],{7617:function(e,t,n){n.d(t,{q:function(){return r}});var i=n(24246),a=n(56351);let r=e=>{let{label:t,isDisabled:n,...r}=e;return(0,i.jsx)(a.OK9,{"data-testid":"tab-".concat(t),_selected:{fontWeight:"600",color:"complimentary.500",borderColor:"complimentary.500"},fontSize:r.fontSize,fontWeight:"500",color:"gray.500",isDisabled:n||!1,children:t})};t.Z=e=>{let{data:t,border:n="partial",...l}=e;return(0,i.jsxs)(a.mQc,{colorScheme:"complimentary",...l,children:[(0,i.jsx)(a.tdY,{width:"partial"===n?"max-content":void 0,children:t.map(e=>(0,i.jsx)(r,{label:e.label,isDisabled:e.isDisabled,fontSize:l.fontSize},e.label))}),(0,i.jsx)(a.nPR,{children:t.map(e=>(0,i.jsx)(a.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})]})}},97181:function(e,t,n){n.d(t,{d:function(){return c}});var i=n(24246),a=n(56351),r=n(34090),l=n(27378),s=n(91613),o=n(40324);let c=e=>{let{name:t,label:n,labelProps:c,tooltip:d,isRequired:u,layout:h="inline",...x}=e,[p,m,{setValue:f}]=(0,r.U$)(t),g=!!(m.touched&&m.error),[y,v]=(0,l.useState)("");p.value||"tags"!==x.mode&&"multiple"!==x.mode||(p.value=[]),"tags"===x.mode&&"string"==typeof p.value&&(p.value=[p.value]);let j="tags"===x.mode?(e,t)=>e?e.value!==y||p.value.includes(y)?x.optionRender?x.optionRender(e,t):e.label:'Create "'.concat(y,'"'):void 0:x.optionRender||void 0,b=e=>{v(e),x.onSearch&&x.onSearch(e)},_=(e,t)=>{f(e),x.onChange&&x.onChange(e,t)};return"inline"===h?(0,i.jsx)(a.NIc,{isInvalid:g,isRequired:u,children:(0,i.jsxs)(a.rjZ,{templateColumns:n?"1fr 3fr":"1fr",children:[n?(0,i.jsx)(o.__,{htmlFor:x.id||t,...c,children:n}):null,(0,i.jsxs)(a.jqI,{align:"center",children:[(0,i.jsxs)(a.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,i.jsx)(a.WPr,{...p,id:x.id||t,"data-testid":"controlled-select-".concat(p.name),...x,optionRender:j,onSearch:"tags"===x.mode?b:void 0,onChange:_,value:p.value||void 0}),(0,i.jsx)(o.Bc,{isInvalid:g,message:m.error,fieldName:p.name})]}),d?(0,i.jsx)(s.Z,{label:d}):null]})]})}):(0,i.jsx)(a.NIc,{isInvalid:g,isRequired:u,children:(0,i.jsxs)(a.gCW,{alignItems:"start",children:[(0,i.jsxs)(a.jqI,{align:"center",children:[n?(0,i.jsx)(o.__,{htmlFor:x.id||t,fontSize:"xs",my:0,mr:1,...c,children:n}):null,d?(0,i.jsx)(s.Z,{label:d}):null]}),(0,i.jsx)(a.WPr,{...p,id:x.id||t,"data-testid":"controlled-select-".concat(p.name),...x,optionRender:j,onSearch:"tags"===x.mode?b:void 0,onChange:_,value:p.value||void 0}),(0,i.jsx)(o.Bc,{isInvalid:g,message:m.error,fieldName:p.name})]})})}},812:function(e,t,n){n.d(t,{D4:function(){return r.D4},MM:function(){return h},Ot:function(){return c},c6:function(){return a},cj:function(){return p},e$:function(){return s},fn:function(){return o},iC:function(){return x},nU:function(){return u},tB:function(){return d}});var i,a,r=n(19043);let l="An unexpected error occurred. Please try again.",s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;if((0,r.Bw)(e)){if((0,r.hE)(e.data))return e.data.detail;if((0,r.cz)(e.data)){var n;let t=null===(n=e.data.detail)||void 0===n?void 0:n[0];return"".concat(null==t?void 0:t.msg,": ").concat(null==t?void 0:t.loc)}if(409===e.status&&(0,r.Dy)(e.data)||404===e.status&&(0,r.XD)(e.data))return"".concat(e.data.detail.error," (").concat(e.data.detail.fides_key,")")}return t};function o(e){return"object"==typeof e&&null!=e&&"status"in e}function c(e){return"object"==typeof e&&null!=e&&"data"in e&&"string"==typeof e.data.detail}function d(e){return"object"==typeof e&&null!=e&&"data"in e&&Array.isArray(e.data.detail)}let u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{status:500,message:l};if((0,r.oK)(e))return{status:e.originalStatus,message:e.data};if((0,r.Bw)(e)){let{status:n}=e;return{status:n,message:s(e,t.message)}}return t},h=e=>Object.entries(e).map(e=>({value:e[1],label:e[1]}));(i=a||(a={})).GVL="gvl",i.AC="gacp",i.COMPASS="compass";let x={gvl:{label:"GVL",fullName:"Global Vendor List"},gacp:{label:"AC",fullName:"Google Additional Consent List"},compass:{label:"",fullName:""}},p=e=>{let t=e.split(".")[0];return"gacp"===t?"gacp":"gvl"===t?"gvl":"compass"}},14047:function(e,t,n){n.d(t,{H:function(){return r},V:function(){return i.V}});var i=n(84306),a=n(812);let r=()=>{let{errorAlert:e}=(0,i.V)();return{handleError:t=>{let n="An unexpected error occurred. Please try again.";(0,a.Ot)(t)?n=t.data.detail:(0,a.tB)(t)&&(n=t.data.detail[0].msg),e(n)}}}},41337:function(e,t,n){var i=n(24246),a=n(56351);n(27378);var r=n(21702),l=n(14746);let s=e=>void 0!==e.connection_type,o=e=>void 0!==e.encoded_icon;t.Z=e=>{let{data:t,...n}=e;return(0,i.jsx)(a.Eep,{boxSize:"32px",objectFit:"cover",src:(()=>{let e;if(o(t)&&t.encoded_icon)return"data:image/svg+xml;base64,".concat(t.encoded_icon);if(s(t))e=[...l.iW].find(e=>{var n,i;let[a]=e;return t.connection_type.toString()!==r.Rj.SAAS&&t.connection_type.toString()===a||t.connection_type.toString()===r.Rj.SAAS&&(null===(i=t.saas_config)||void 0===i?void 0:null===(n=i.type)||void 0===n?void 0:n.toString())===a.toString()});else if(o(t)){let{identifier:n}=t;e=[...l.iW].find(e=>{let[t]=e;return t.toLowerCase()===n.toLowerCase()})}return e?l.Ny+e[1]:l.VD})(),fallbackSrc:l.VD,alt:(()=>{if(s(t)){var e;return null!==(e=t.name)&&void 0!==e?e:t.key}return o(t)?t.human_readable:t})(),...n})}},1226:function(e,t,n){var i=n(24246);n(27378);var a=n(77213);t.Z=e=>{let{children:t}=e;return(0,i.jsx)(a.Z,{title:"Connections",children:t})}},11274:function(e,t,n){n.d(t,{s:function(){return W}});var i=n(24246),a=n(96356),r=n(56351),l=n(86677),s=n(27378),o=n(16134),c=n(77830),d=n(21702),u=n(14047),h=n(84306),x=n(14207),p=n(45007),m=n(34090);let f=(e,t)=>{let n={...e};return Object.entries(t.properties).forEach(t=>{let[i,a]=t;if("integer"===a.type){let t=a.default?Number(a.default):e[i];n[i]=t||0}else{var r;let t=null!==(r=a.default)&&void 0!==r?r:e[i];n[i]=null!=t?t:null}}),n},g="#/definitions/FidesDatasetReference";var y=e=>{let{data:t,defaultValues:n,isSubmitting:l=!1,onSaveClick:c,onTestConnectionClick:h,testButtonLabel:p="Test integration"}=e,y=(0,s.useRef)(!1),{handleError:v}=(0,u.H)(),{connection:j,connectionOption:b}=(0,o.C)(a.ZZ),[_,C]=(0,x.h2)(),k=e=>{let t;return(void 0===e||""===e)&&(t="Connection Identifier is required"),e&&(0,r.kEn)(e)&&(t="Connection Identifier must be an alphanumeric value"),t},S=(e,t,n)=>{let i;return(void 0===t||""===t)&&(i="".concat(e," is required")),n===g&&(t.includes(".")?t.split(".").length<3&&(i="Dataset reference must include at least three parts"):i="Dataset reference must be dot delimited"),i},w=(e,t)=>(0,i.jsx)(r.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:e,minWidth:"150px",children:t}),I=e=>{var t;if((null===(t=e.allOf)||void 0===t?void 0:t[0].$ref)===g)return"Enter dataset.collection.field"},R=(e,n)=>{var a;return(0,i.jsx)(m.gN,{id:e,name:e,validate:(null!==(a=t.required)&&void 0!==a&&!!a.includes(e)||"integer"===n.type)&&(e=>{var t;return S(n.title,e,null===(t=n.allOf)||void 0===t?void 0:t[0].$ref)}),children:a=>{var l;let{field:s,form:o}=a;return(0,i.jsxs)(r.NIc,{display:"flex",isRequired:null===(l=t.required)||void 0===l?void 0:l.includes(e),isInvalid:o.errors[e]&&o.touched[e],children:[w(e,n.title),(0,i.jsxs)(r.gCW,{align:"flex-start",w:"inherit",children:["integer"!==n.type&&(0,i.jsx)(r.IIB,{...s,value:s.value||"",placeholder:I(n),autoComplete:"off",color:"gray.700",size:"sm"}),"integer"===n.type&&(0,i.jsxs)(r.Y2U,{allowMouseWheel:!0,color:"gray.700",defaultValue:0,min:0,size:"sm",children:[(0,i.jsx)(r.zuI,{...s,autoComplete:"off"}),(0,i.jsxs)(r.FiK,{children:[(0,i.jsx)(r.WQu,{}),(0,i.jsx)(r.Y_d,{})]})]}),(0,i.jsx)(r.J1D,{children:o.errors[e]})]}),(0,i.jsx)(r.ua7,{"aria-label":n.description,hasArrow:!0,label:n.description,placement:"right-start",openDelay:500,children:(0,i.jsx)(r.kCb,{alignItems:"center",h:"32px",visibility:n.description?"visible":"hidden",children:(0,i.jsx)(r.ITP,{marginLeft:"8px",_hover:{cursor:"pointer"}})})})]})}},e)},z=async()=>{try{await _(j.key).unwrap()}catch(e){v(e)}};return(0,s.useEffect)(()=>(y.current=!0,C.isSuccess&&h(C),()=>{y.current=!1}),[h,C]),(0,i.jsx)(m.J9,{enableReinitialize:!0,initialValues:(()=>{let e={...n};if(null==j?void 0:j.key){var i,a;e.name=null!==(a=j.name)&&void 0!==a?a:"",e.description=j.description,e.instance_key=j.connection_type===d.Rj.SAAS?null===(i=j.saas_config)||void 0===i?void 0:i.fides_key:j.key}return f(e,t)})(),onSubmit:(e,n)=>{let i={...e};Object.keys(t.properties).forEach(n=>{var a;if((null===(a=t.properties[n].allOf)||void 0===a?void 0:a[0].$ref)===g){let t=e[n].split(".");i[n]={dataset:t.shift(),field:t.join("."),direction:"from"}}}),c(i,n)},validateOnBlur:!1,validateOnChange:!1,children:e=>(0,i.jsx)(m.l0,{noValidate:!0,children:(0,i.jsxs)(r.gCW,{align:"stretch",gap:"16px",children:[(0,i.jsx)(m.gN,{id:"name",name:"name",validate:e=>S("Name",e),children:t=>{let{field:n}=t;return(0,i.jsxs)(r.NIc,{display:"flex",isRequired:!0,isInvalid:e.errors.name&&e.touched.name,children:[w("name","Name"),(0,i.jsxs)(r.gCW,{align:"flex-start",w:"inherit",children:[(0,i.jsx)(r.IIB,{...n,autoComplete:"off",autoFocus:!0,color:"gray.700",placeholder:"Enter a friendly name for your new ".concat(b.human_readable," connection"),size:"sm","data-testid":"input-name"}),(0,i.jsx)(r.J1D,{children:e.errors.name})]}),(0,i.jsx)(r.kCb,{alignItems:"center",h:"32px",visibility:"hidden",children:(0,i.jsx)(r.ITP,{marginLeft:"8px"})})]})}}),(0,i.jsx)(m.gN,{id:"description",name:"description",children:e=>{let{field:t}=e;return(0,i.jsxs)(r.NIc,{display:"flex",children:[w("description","Description"),(0,i.jsx)(r.gxH,{...t,color:"gray.700",placeholder:"Enter a description for your new ".concat(b.human_readable," connection"),resize:"none",size:"sm",value:t.value||""}),(0,i.jsx)(r.kCb,{alignItems:"center",h:"32px",visibility:"hidden",children:(0,i.jsx)(r.ITP,{marginLeft:"8px"})})]})}}),(0,i.jsx)(m.gN,{id:"instance_key",name:"instance_key",validate:k,children:t=>{let{field:n}=t;return(0,i.jsxs)(r.NIc,{display:"flex",isRequired:!0,isInvalid:e.errors.instance_key&&e.touched.instance_key,children:[w("instance_key","Connection Identifier"),(0,i.jsxs)(r.gCW,{align:"flex-start",w:"inherit",children:[(0,i.jsx)(r.IIB,{...n,autoComplete:"off",color:"gray.700",isDisabled:!!(null==j?void 0:j.key),placeholder:"A unique identifier for your new ".concat(b.human_readable," connection"),size:"sm"}),(0,i.jsx)(r.J1D,{children:e.errors.instance_key})]}),(0,i.jsx)(r.ua7,{"aria-label":"The fides_key will allow fidesops to associate dataset field references appropriately. Must be a unique alphanumeric value with no spaces (underscores allowed) to represent this connection.",hasArrow:!0,label:"The fides_key will allow fidesops to associate dataset field references appropriately. Must be a unique alphanumeric value with no spaces (underscores allowed) to represent this connection.",placement:"right-start",openDelay:500,children:(0,i.jsx)(r.kCb,{alignItems:"center",h:"32px",children:(0,i.jsx)(r.ITP,{marginLeft:"8px",_hover:{cursor:"pointer"}})})})]})}}),Object.entries(t.properties).map(e=>{let[t,n]=e;return"advanced_settings"===t?null:R(t,n)}),(0,i.jsxs)("div",{className:"flex gap-2",children:[(0,i.jsx)(r.wpx,{disabled:!(null==j?void 0:j.key),loading:C.isLoading||C.isFetching,onClick:z,"data-testid":"test-connection-button",children:p}),(0,i.jsx)(r.wpx,{htmlType:"submit",type:"primary",disabled:l,loading:l,children:"Save"})]})]})})})},v=n(3968);let j=e=>{let{onConnectionCreated:t,data:n}=e,r=(0,p.I0)(),{errorAlert:l,successAlert:c}=(0,h.V)(),{handleError:m}=(0,u.H)(),[f,g]=(0,s.useState)(!1),{connection:y,connectionOption:j}=(0,o.C)(a.ZZ),[b]=(0,x.pH)(),[_]=(0,x.Du)();return{isSubmitting:f,handleSubmit:async e=>{try{var s;g(!0);let o={access:d.uv.WRITE,connection_type:null==j?void 0:j.identifier,description:e.description,disabled:!1,key:(0,v.E)(e.instance_key),name:e.name},u=await b(o).unwrap();if((null===(s=u.failed)||void 0===s?void 0:s.length)>0)l(u.failed[0].message);else{let s={connection_key:u.succeeded[0].key,secrets:{}};Object.entries(n.properties).forEach(t=>{s.secrets[t[0]]=e[t[0]]});let o=await _(s).unwrap();"failed"===o.test_status?l((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:"Message:"})," ",o.msg,(0,i.jsx)("br",{}),(0,i.jsx)("b",{children:"Failure Reason:"})," ",o.failure_reason]})):(r((0,a.lm)(u.succeeded[0])),c("Connector successfully ".concat((null==y?void 0:y.key)?"updated":"added","!")),(null==y?void 0:y.key)||!t||t())}}catch(e){m(e)}finally{g(!1)}},connectionOption:j}},b=e=>{let{data:t,onConnectionCreated:n,onTestConnectionClick:a}=e,{isSubmitting:l,handleSubmit:s,connectionOption:o}=j({onConnectionCreated:n,data:t});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Connect to your ",o.human_readable," environment by providing the information below. Once you have saved the form, you may test the integration to confirm that it's working correctly."]}),(0,i.jsx)(y,{data:t,defaultValues:{description:"",instance_key:"",name:""},isSubmitting:l,onSaveClick:s,onTestConnectionClick:a})]})},_={description:"",instance_key:"",name:""},C=e=>{let{data:t,onConnectionCreated:n,onTestEmail:a}=e,{connectionOption:l,isSubmitting:s,handleSubmit:o}=j({onConnectionCreated:n,data:t});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Configure your ",l.human_readable," connector by providing the connector name, description and a test email address. Once you have saved the details, you can click test email to check the format of the email."]}),(0,i.jsx)(y,{data:t,defaultValues:_,isSubmitting:s,onSaveClick:e=>{o(e)},onTestConnectionClick:a,testButtonLabel:"Test email"})]})};var k=n(59389),S=n(27259),w=n(67762),I=e=>{let{defaultValues:t,isSubmitting:n=!1,onSaveClick:s}=e,d=(0,l.useRouter)(),{connection:u,connectionOption:h}=(0,o.C)(a.ZZ);return(0,i.jsx)(m.J9,{initialValues:(()=>{if(null==u?void 0:u.key){var e;t.name=null!==(e=u.name)&&void 0!==e?e:"",t.description=u.description}return t})(),onSubmit:(e,t)=>{s(e,t)},validateOnBlur:!1,validateOnChange:!1,validationSchema:k.Ry().shape({name:k.Z_().required("Name is required")}),children:(0,i.jsx)(m.l0,{noValidate:!0,children:(0,i.jsxs)(r.gCW,{align:"stretch",gap:"16px",children:[(0,i.jsx)(S.Z,{autoFocus:!0,disabled:!!(null==u?void 0:u.key),isRequired:!0,label:"Name",name:"name",placeholder:"Enter a friendly name for your new ".concat(h.human_readable," connection")}),(0,i.jsx)(S.Z,{label:"Description",name:"description",placeholder:"Enter a description for your new ".concat(h.human_readable," connection"),type:"textarea"}),(0,i.jsx)(w.h,{isSubmitting:n,onCancelClick:()=>{d.push(c.JR)}})]})})})};let R=e=>{let{onConnectionCreated:t}=e,n=(0,p.I0)(),{errorAlert:l,successAlert:c}=(0,h.V)(),{handleError:m}=(0,u.H)(),[f,g]=(0,s.useState)(!1),{connection:y,connectionOption:v}=(0,o.C)(a.ZZ),[j]=(0,x.pH)(),b=async(e,i)=>{try{var r;g(!0);let i={access:d.uv.WRITE,connection_type:null==v?void 0:v.identifier,description:e.description,disabled:!1,name:e.name,key:null==y?void 0:y.key},s=await j(i).unwrap();(null===(r=s.failed)||void 0===r?void 0:r.length)>0?l(s.failed[0].message):(n((0,a.lm)(s.succeeded[0])),c("Connector successfully ".concat((null==y?void 0:y.key)?"updated":"added","!")),(null==y?void 0:y.key)||!t||t())}catch(e){m(e)}finally{g(!1)}};return(0,i.jsxs)(r.gCW,{align:"stretch",gap:"16px",children:[(0,i.jsxs)(r.xuv,{color:"gray.700",fontSize:"14px",children:["To begin setting up your new ",v.human_readable," ","connector you must first assign a name to the connector and a description.",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Once you have completed this section you can then progress onto"," ",(0,i.jsx)(r.xvT,{display:"inline-block",fontWeight:"700",children:"DSR customization"})," ","using the menu on the left hand side."]}),(0,i.jsx)(I,{defaultValues:{description:"",name:""},isSubmitting:f,onSaveClick:b})]})},z=e=>{let{data:t,onConnectionCreated:n,onTestConnectionClick:l}=e,c=(0,p.I0)(),{errorAlert:m,successAlert:f}=(0,h.V)(),{handleError:g}=(0,u.H)(),[j,b]=(0,s.useState)(!1),{connection:_,connectionOption:C}=(0,o.C)(a.ZZ),[k]=(0,x.pL)(),[S]=(0,x.pH)(),[w]=(0,x.Du)(),I=async(e,r)=>{try{if(b(!0),_){var l;let n={access:d.uv.WRITE,connection_type:_.connection_type,description:e.description,disabled:!1,key:_.key,name:e.name},r=await S(n).unwrap();if((null===(l=r.failed)||void 0===l?void 0:l.length)>0)m(r.failed[0].message);else{c((0,a.lm)(r.succeeded[0]));let n={connection_key:_.key,secrets:{}};Object.entries(t.properties).forEach(t=>{n.secrets[t[0]]=e[t[0]]});let l=await w(n).unwrap();"failed"===l.test_status?m((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:"Message:"})," ",l.msg,(0,i.jsx)("br",{}),(0,i.jsx)("b",{children:"Failure Reason:"})," ",l.failure_reason]})):f("Connector successfully updated!")}}else{let i={description:e.description,name:e.name,instance_key:(0,v.E)(e.instance_key),saas_connector_type:C.identifier,secrets:{}};Object.entries(t.properties).forEach(t=>{i.secrets[t[0]]=e[t[0]]});let r=await k(i).unwrap();c((0,a.lm)(r.connection)),f("Connector successfully added!"),null==n||n()}}catch(e){g(e)}finally{b(!1)}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Connect to your ",C.human_readable," environment by providing the information below. Once you have saved the form, you may test the integration to confirm that it's working correctly."]}),(0,i.jsx)(y,{data:t,defaultValues:{description:"",instance_key:"",name:""},isSubmitting:j,onSaveClick:I,onTestConnectionClick:l})]})};var Z=n(16394);let F=e=>{var t,n;let{response:l}=e,{connectionOption:s}=(0,o.C)(a.ZZ);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.izJ,{color:"gray.100"}),(0,i.jsxs)(r.gCW,{align:"flex-start",mt:"16px",children:[(null===(t=l.data)||void 0===t?void 0:t.test_status)==="succeeded"&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.Ugi,{children:[(0,i.jsxs)(r.X6q,{as:"h5",color:"gray.700",size:"xs",children:["Successfully connected to ",s.human_readable]}),(0,i.jsx)(r.Vp9,{colorScheme:"green",size:"sm",variant:"solid",children:"Success"})]}),(0,i.jsx)(r.xvT,{color:"gray.500",fontSize:"sm",mt:"12px !important",children:(0,Z.p6)(l.fulfilledTimeStamp)}),(0,i.jsx)(r.xuv,{bg:"green.100",border:"1px solid",borderColor:"green.300",color:"green.700",mt:"16px",borderRadius:"6px",children:(0,i.jsxs)(r.Ugi,{alignItems:"flex-start",margin:["14px","17px","14px","17px"],children:[(0,i.jsx)(r.StI,{}),(0,i.jsxs)(r.xuv,{children:[(0,i.jsx)(r.X6q,{as:"h5",color:"green.500",fontWeight:"semibold",size:"xs",children:"Success message:"}),(0,i.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:l.data.msg})]})]})})]}),(null===(n=l.data)||void 0===n?void 0:n.test_status)==="failed"&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.Ugi,{children:[(0,i.jsxs)(r.X6q,{as:"h5",color:"gray.700",size:"xs",children:["Output error to ",s.human_readable]}),(0,i.jsx)(r.Vp9,{colorScheme:"red",size:"sm",variant:"solid",children:"Error"})]}),(0,i.jsx)(r.xvT,{color:"gray.500",fontSize:"sm",mt:"12px !important",children:(0,Z.p6)(l.fulfilledTimeStamp)}),(0,i.jsx)(r.xuv,{bg:"red.50",border:"1px solid",borderColor:"red.300",color:"red.300",mt:"16px",borderRadius:"6px",children:(0,i.jsxs)(r.Ugi,{alignItems:"flex-start",margin:["14px","17px","14px","17px"],children:[(0,i.jsx)(r.f9v,{}),(0,i.jsxs)(r.xuv,{children:[(0,i.jsx)(r.X6q,{as:"h5",color:"red.500",fontWeight:"semibold",size:"xs",children:"Error message:"}),(0,i.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:l.data.failure_reason}),(0,i.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:l.data.msg})]})]})})]})]})]})},W=e=>{let{onConnectionCreated:t}=e,n=(0,l.useRouter)(),{connectionOption:u}=(0,o.C)(a.ZZ),h=u&&u.type===d.Zi.MANUAL,{data:x,isFetching:p,isLoading:m,isSuccess:f}=(0,a.n3)(u.identifier,{skip:h}),[g,y]=(0,s.useState)(),v=e=>{y(e)},j=(0,s.useCallback)(()=>{n.push(c.JR)},[n]),_=(0,s.useCallback)(()=>{switch(null==u?void 0:u.type){case d.Zi.DATABASE:if(f&&x)return(0,i.jsx)(b,{data:x,onConnectionCreated:t,onTestConnectionClick:v});break;case d.Zi.MANUAL:return(0,i.jsx)(R,{onConnectionCreated:t});case d.Zi.SAAS:if(f&&x)return(0,i.jsx)(z,{data:x,onConnectionCreated:t,onTestConnectionClick:v});break;case d.Zi.EMAIL:if(f&&x)return(0,i.jsx)(C,{data:x,onConnectionCreated:j,onTestEmail:v})}},[null==u?void 0:u.type,x,f,t,j]);return(0,i.jsxs)(r.kCb,{gap:"97px",children:[(0,i.jsxs)(r.gCW,{w:"579px",gap:"16px",align:"stretch",children:[(p||m)&&(0,i.jsx)(r.M5Y,{children:(0,i.jsx)(r.$jN,{})}),_()]}),g&&(0,i.jsxs)(r.Rg9,{in:!0,children:[" ",(0,i.jsx)(r.xuv,{mt:"16px",maxW:"528px",w:"fit-content",children:(0,i.jsx)(F,{response:g})})]})]})}},38212:function(e,t,n){n.d(t,{Z:function(){return j}});var i=n(24246),a=n(14047),r=n(96356),l=n(14207),s=n(56351),o=n(86677),c=n(27378),d=n(16134),u=n(812),h=n(77830),x=n(41966),p=n(84306),m=n(66527),f=n(41207),g=n(39715),y=e=>{let{data:t=[],isSubmitting:n=!1,onSubmit:a,onCancel:r,disabled:l}=e,o=(0,c.useRef)(null),{errorAlert:d}=(0,p.V)(),u=t.length>0?m.ZP.dump(t):void 0,[h,y]=(0,c.useState)(void 0),[v,j]=(0,c.useState)(!1),[b,_]=(0,c.useState)(!u),C=(0,s.qY0)(),{data:k}=(0,x.NR)(),[S,w]=(0,c.useState)([]),I=e=>{m.ZP.load(e,{json:!0}),y(void 0)},R=()=>{let e=o.current.getValue();a(m.ZP.load(e,{json:!0})),w([])};return(0,i.jsxs)(s.kCb,{gap:"97px",children:[(0,i.jsxs)(s.gCW,{align:"stretch",w:"800px",children:[(0,i.jsx)(f.M,{defaultLanguage:"yaml",defaultValue:u,height:"calc(100vh - 526px)",onChange:e=>{try{j(!0),I(e),_(!!(!e||""===e.trim()))}catch(e){(0,f.F)(e)?y(e):d("Could not parse the supplied YAML")}},onMount:(e,t)=>{o.current=e,o.current.focus()},options:{fontFamily:"Menlo",fontSize:13,minimap:{enabled:!0},readOnly:l},theme:"light"}),(0,i.jsxs)(s.Ugi,{justifyContent:"flex-end",pr:6,children:[r&&(0,i.jsx)(s.wpx,{onClick:r,children:"Cancel"}),(0,i.jsx)(s.wpx,{type:"primary",disabled:l||b||!!h||n,loading:n,onClick:()=>{if(k&&k.length){let e=o.current.getValue(),t=k.filter(t=>e.includes("fides_key: ".concat(t.fides_key,"\n"))).map(e=>e.fides_key);if(w(t),t.length){C.onOpen();return}}R()},htmlType:"submit","data-testid":"save-yaml-btn",children:"Save"})]})]}),v&&(b||h)&&(0,i.jsx)(g.Z,{isEmptyState:b,yamlError:h}),(0,i.jsx)(s.cVQ,{isOpen:C.isOpen,onClose:C.onClose,onConfirm:()=>{R(),C.onClose()},title:"Overwrite dataset",message:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(s.xvT,{children:["You are about to overwrite the dataset",S.length>1?"s":""," ",S.map((e,t)=>{let n=t===S.length-1;return(0,i.jsxs)(c.Fragment,{children:[(0,i.jsx)(s.xvT,{color:"complimentary.500",as:"span",fontWeight:"bold",children:e}),n?".":", "]},e)})]}),(0,i.jsx)(s.xvT,{children:"Are you sure you would like to continue?"})]})})]})};let v=e=>{let{children:t,...n}=e;return(0,i.jsx)(s.xvT,{color:"gray.700",fontSize:"14px",...n,children:t})};var j=()=>{let e=(0,o.useRouter)(),{errorAlert:t,successAlert:n}=(0,a.V)(),{handleError:p}=(0,a.H)(),[m,f]=(0,c.useState)(!1),{connection:g}=(0,d.C)(r.ZZ),{data:j,isFetching:b,isLoading:_,isSuccess:C}=(0,l.Eg)(g.key),[k]=(0,l.Lz)(),[S]=(0,x.EG)(),{data:w,isLoading:I,error:R}=(0,x.NR)(),[z,Z]=(0,c.useState)(void 0);(0,c.useEffect)(()=>{j&&j.items.length&&Z(j.items[0].ctl_dataset.fides_key)},[j]);let F=async i=>{var a;let r={connection_key:null==g?void 0:g.key,dataset_pairs:i},l=await k(r).unwrap();(null===(a=l.failed)||void 0===a?void 0:a.length)>0?t(l.failed[0].message):n("Dataset successfully updated!"),e.push(h.JR)},W=async()=>{if(z)try{let e=z;j&&j.items.length&&(e=j.items[0].fides_key);let t=[{fides_key:e,ctl_dataset_fides_key:z}];F(t)}catch(e){p(e)}},N=async e=>{try{f(!0);let n=Array.isArray(e)?e:[e],i=await S(n);if("error"in i){let e=(0,u.e$)(i.error);t(e);return}let a=n.map(e=>({fides_key:e.fides_key,ctl_dataset_fides_key:e.fides_key}));if(j&&j.items.length){let{items:e}=j;a=e.map((e,t)=>({fides_key:e.fides_key,ctl_dataset_fides_key:n[t].fides_key}))}F(a)}catch(e){p(e)}finally{f(!1)}},L=""!==z&&void 0!==z;if(b||_||I&&!R)return(0,i.jsx)(s.M5Y,{children:(0,i.jsx)(s.$jN,{})});let D=w&&w.length;return(0,i.jsxs)(s.gCW,{alignItems:"left",gap:4,children:[R&&(0,i.jsx)(v,{color:"red",children:"There was a problem loading existing datasets, please try again."}),(0,i.jsxs)(s.gCW,{alignItems:"flex-start",children:[D&&(0,i.jsx)("div",{children:(0,i.jsx)(s.gCW,{alignSelf:"start",gap:4,children:(0,i.jsxs)(s.xuv,{"data-testid":"dataset-selector-section",children:[(0,i.jsx)(v,{mb:4,children:"Choose a dataset to associate with this connector."}),(0,i.jsxs)(s.Ugi,{children:[(0,i.jsx)(s.WPr,{allowClear:!0,options:w.map(e=>({label:e.fides_key,value:e.fides_key})),className:"w-full",placeholder:"Select",onChange:e=>Z(e),value:z,"data-testid":"dataset-selector"}),(0,i.jsx)(s.wpx,{onClick:W,type:"primary",className:"self-start",disabled:!L,"data-testid":"save-dataset-link-btn",children:"Save"})]})]})})}),D&&C&&(null==j?void 0:j.items)&&(0,i.jsx)(s.htM,{plain:!0,children:"or"}),C&&(null==j?void 0:j.items)&&(0,i.jsxs)(s.xuv,{"data-testid":"yaml-editor-section",children:[(0,i.jsx)(v,{mb:4,children:"View your dataset YAML below!"}),(0,i.jsx)(y,{data:j.items.map(e=>e.ctl_dataset),isSubmitting:m,onSubmit:N,disabled:L})]})]})]})}},27259:function(e,t,n){var i=n(24246),a=n(56351),r=n(34090);t.Z=e=>{let{disabled:t=!1,displayHelpIcon:n=!0,helpIconVisibility:l=!1,isRequired:s=!1,label:o,placeholder:c,type:d="text",...u}=e,{id:h,autoFocus:x}=u,[p,m]=(0,r.U$)(u);return(0,i.jsxs)(a.NIc,{display:"flex",isRequired:s,isInvalid:!!(m.error&&m.touched),children:[o&&(0,i.jsx)(a.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:h,minWidth:"150px",children:o}),(0,i.jsxs)(a.gCW,{align:"flex-start",w:"inherit",children:["number"===d&&(0,i.jsxs)(a.Y2U,{allowMouseWheel:!0,color:"gray.700",defaultValue:0,min:0,size:"sm",children:[(0,i.jsx)(a.zuI,{...p,autoComplete:"off",autoFocus:x}),(0,i.jsxs)(a.FiK,{children:[(0,i.jsx)(a.WQu,{}),(0,i.jsx)(a.Y_d,{})]})]}),"text"===d&&(0,i.jsx)(a.IIB,{...p,autoComplete:"off",autoFocus:x,color:"gray.700",isDisabled:t,placeholder:c,size:"sm"}),"textarea"===d&&(0,i.jsx)(a.gxH,{...p,autoComplete:"off",autoFocus:x,color:"gray.700",placeholder:c,resize:"none",size:"sm",value:p.value||""}),(0,i.jsx)(a.J1D,{children:m.error})]}),n&&(0,i.jsx)(a.kCb,{alignContent:"center",h:"32px",visibility:l?"visible":"hidden",children:(0,i.jsx)(a.ITP,{marginLeft:"8px",_hover:{cursor:"pointer"}})})]})}},3968:function(e,t,n){n.d(t,{E:function(){return i},S:function(){return a}});let i=e=>e.toLowerCase().replace(/ /g,"_"),a=(e,t)=>{let n="".concat(window.location.origin+t,"&key=").concat(e);window.location.href.toLowerCase()!==n.toLowerCase()&&window.history.replaceState(null,"",n)}},67762:function(e,t,n){n.d(t,{h:function(){return r}});var i=n(24246),a=n(56351);n(27378);let r=e=>{let{isSubmitting:t=!1,onCancelClick:n}=e;return(0,i.jsxs)(a.hE2,{size:"sm",spacing:"8px",variant:"outline",children:[(0,i.jsx)(a.zxk,{onClick:n,variant:"outline",children:"Cancel"}),(0,i.jsx)(a.zxk,{bg:"primary.800",color:"white",isDisabled:t,isLoading:t,loadingText:"Submitting",size:"sm",variant:"solid",type:"submit",_active:{bg:"primary.500"},_disabled:{opacity:"inherit"},_hover:{bg:"primary.400"},children:"Save"})]})}},50881:function(e,t,n){n.d(t,{Z:function(){return j}});var i=n(24246),a=n(14047),r=n(96356),l=n(14207),s=n(56351),o=n(86677),c=n(27378),d=n(16134),u=n(77830),h=n(34090),x=n(59389),p=n(97181),m=n(57072),f=n(39864),g=n(27259),y=n(67762),v=e=>{let{data:t=[],isSubmitting:n=!1,onSaveClick:r}=e,{isLoading:l}=(0,m.MO)(),c=(0,d.C)(f.qb),v=(0,o.useRouter)(),{errorAlert:j}=(0,a.V)(),b=()=>{v.push(u.JR)};return l?null:(0,i.jsx)(h.J9,{enableReinitialize:!0,initialValues:{fields:t.length>0?t:[{pii_field:"",dsr_package_label:"",data_categories:[]}]},onSubmit:(e,t)=>{if(new Set(e.fields.map(e=>e.pii_field)).size<e.fields.length){j("PII Field must be unique");return}r(e,t)},validateOnBlur:!1,validateOnChange:!1,validationSchema:x.Ry({fields:x.IX().of(x.Ry().shape({pii_field:x.Z_().required("PII Field is required").min(1,"PII Field must have at least one character").max(200,"PII Field has a maximum of 200 characters").label("PII Field"),dsr_package_label:x.Z_().required("DSR Package Label is required").min(1,"DSR Package Label must have at least one character").max(200,"DSR Package Label has a maximum of 200 characters").label("DSR Package Label"),data_categories:x.IX(x.Z_()).label("Data Categories")}))}),children:e=>(0,i.jsx)(h.l0,{style:{marginTop:0},noValidate:!0,children:(0,i.jsx)(s.gCW,{align:"stretch",children:(0,i.jsx)(h.F2,{name:"fields",render:t=>{let{fields:a}=e.values;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(s.Ugi,{color:"gray.900",flex:"1",fontSize:"14px",fontWeight:"semibold",lineHeight:"20px",mb:"6px",spacing:"24px",children:[(0,i.jsx)(s.xuv,{w:"416px",children:"PII Field"}),(0,i.jsx)(s.xuv,{w:"416px",children:"DSR Package Label"}),(0,i.jsx)(s.xuv,{w:"416px",children:"Data Categories"}),(0,i.jsx)(s.xuv,{visibility:"hidden",children:(0,i.jsx)(s.lr0,{})})]}),(0,i.jsx)(s.xuv,{children:a&&a.length>0?a.map((e,n)=>(0,i.jsxs)(s.Ugi,{mt:n>0?"12px":void 0,spacing:"24px",align:"flex-start",children:[(0,i.jsx)(s.xuv,{minH:"57px",w:"416px",children:(0,i.jsx)(g.Z,{autoFocus:0===n,displayHelpIcon:!1,isRequired:!0,name:"fields.".concat(n,".pii_field")})}),(0,i.jsx)(s.xuv,{minH:"57px",w:"416px",children:(0,i.jsx)(g.Z,{displayHelpIcon:!1,isRequired:!0,name:"fields.".concat(n,".dsr_package_label")})}),(0,i.jsx)(s.xuv,{minH:"57px",w:"416px",children:(0,i.jsx)(p.d,{name:"fields.".concat(n,".data_categories"),options:c.map(e=>({value:e.fides_key,label:e.fides_key})),isRequired:!0,mode:"multiple"})}),(0,i.jsx)(s.xuv,{h:"57px",visibility:n>0?"visible":"hidden",children:(0,i.jsx)(s.lr0,{onClick:()=>t.remove(n),_hover:{cursor:"pointer"}})})]},n)):null}),(0,i.jsx)(s.xvT,{color:"complimentary.500",fontWeight:"medium",fontSize:"sm",mb:"24px !important",mt:"24px !important",onClick:()=>{t.push({pii_field:"",dsr_package_label:"",data_categories:[]})},_hover:{cursor:"pointer"},children:"Add new PII field"}),(0,i.jsx)(y.h,{isSubmitting:n,onCancelClick:b})]})}})})})})},j=()=>{let e=(0,c.useRef)(!1),t=(0,o.useRouter)(),{successAlert:n}=(0,a.V)(),{handleError:h}=(0,a.H)(),[x,p]=(0,c.useState)(!1),[m,f]=(0,c.useState)([]),{connection:g}=(0,d.C)(r.ZZ),{data:y,isFetching:j,isLoading:b,isSuccess:_}=(0,l.QV)(g.key),[C]=(0,l.jF)(),[k]=(0,l._d)(),S=async(e,i)=>{try{p(!0);let i={connection_key:null==g?void 0:g.key,body:{...e}};m.length>0?await k(i).unwrap():await C(i).unwrap(),n("DSR customization ".concat(m.length>0?"updated":"added","!")),t.push(u.JR)}catch(e){h(e)}finally{p(!1)}};return(0,c.useEffect)(()=>(e.current=!0,_&&y&&f(y.fields),()=>{e.current=!1}),[y,_]),(0,i.jsxs)(s.gCW,{align:"stretch",gap:"16px",children:[(0,i.jsx)(s.xuv,{color:"gray.700",fontSize:"14px",w:"572px",children:"Customize your PII fields to create a friendly label name for your privacy request packages. This “Package Label” is the label your user will see in their downloaded package."}),(j||b)&&(0,i.jsx)(s.M5Y,{children:(0,i.jsx)(s.$jN,{})}),e.current&&!b?(0,i.jsx)(v,{data:m,isSubmitting:x,onSaveClick:S}):null]})}},19043:function(e,t,n){n.d(t,{Bw:function(){return l},D4:function(){return a},Dy:function(){return o},XD:function(){return c},cz:function(){return d},hE:function(){return s},oK:function(){return r}});var i=n(76649);let a=e=>"error"in e,r=e=>(0,i.Ln)({status:"string"},e)&&"PARSING_ERROR"===e.status,l=e=>(0,i.Ln)({status:"number",data:{}},e),s=e=>(0,i.Ln)({detail:"string"},e),o=e=>(0,i.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),c=e=>(0,i.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),d=e=>(0,i.Ln)({detail:[{loc:["string","number"],msg:"string",type:"string"}]},e)},76649:function(e,t,n){n.d(t,{Ln:function(){return i}});let i=(e,t)=>r(e,t),a=Symbol("SOME"),r=(e,t)=>"string"==typeof e?e===typeof t:Array.isArray(e)?a in e?e.some(e=>r(e,t)):!!Array.isArray(t)&&(0===e.length||t.every(t=>e.some(e=>r(e,t)))):"object"==typeof t&&null!==t&&Object.entries(e).every(([e,n])=>r(n,t[e]));class l{static narrow(e){return new l(t=>i(e,t))}constructor(e){this.NF=void 0,this.NF=e}satisfied(e){return this.NF(e)}build(e){return e}and(e){let t=this.NF,n=e instanceof l?e.NF:e instanceof Function?e:t=>i(e,t);return new l(e=>t(e)&&n(e))}}new l(e=>!0)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2357],{5123:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience/[id]",function(){return i(41884)}])},41884:function(e,n,i){"use strict";i.r(n);var r=i(24246),c=i(56351),t=i(86677),s=i(77213),d=i(3320),u=i(94315);n.default=()=>{let e=(0,t.useRouter)(),n="";e.query.id&&(n=Array.isArray(e.query.id)?e.query.id[0]:e.query.id);let{data:i,isLoading:a}=(0,u.Qv)(n),{data:o,isLoading:p}=(0,u.fc)(n);return a||p?(0,r.jsx)(s.Z,{title:"Privacy experience",children:(0,r.jsx)(c.M5Y,{children:(0,r.jsx)(c.$jN,{})})}):i?(0,r.jsx)(s.Z,{title:"Privacy experience ".concat(i.component),padded:!1,children:(0,r.jsx)(d.Z,{passedInExperience:i,passedInTranslations:o})}):(0,r.jsx)(s.Z,{title:"Privacy experience",children:(0,r.jsxs)(c.xvT,{children:["No privacy experience with id ",n," found."]})})}}},function(e){e.O(0,[2858,2866,4294,5908,9282,6277,3320,2888,9774,179],function(){return e(e.s=5123)}),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2357],{5123:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience/[id]",function(){return i(41884)}])},41884:function(e,n,i){"use strict";i.r(n);var r=i(24246),c=i(56351),t=i(86677),s=i(77213),d=i(3320),u=i(94315);n.default=()=>{let e=(0,t.useRouter)(),n="";e.query.id&&(n=Array.isArray(e.query.id)?e.query.id[0]:e.query.id);let{data:i,isLoading:a}=(0,u.Qv)(n),{data:o,isLoading:p}=(0,u.fc)(n);return a||p?(0,r.jsx)(s.Z,{title:"Privacy experience",children:(0,r.jsx)(c.M5Y,{children:(0,r.jsx)(c.$jN,{})})}):i?(0,r.jsx)(s.Z,{title:"Privacy experience ".concat(i.component),padded:!1,children:(0,r.jsx)(d.Z,{passedInExperience:i,passedInTranslations:o})}):(0,r.jsx)(s.Z,{title:"Privacy experience",children:(0,r.jsxs)(c.xvT,{children:["No privacy experience with id ",n," found."]})})}}},function(e){e.O(0,[2858,2866,4294,5908,9282,5834,6277,3320,2888,9774,179],function(){return e(e.s=5123)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7680],{49048:function(n,e,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience/new",function(){return c(16669)}])},16669:function(n,e,c){"use strict";c.r(e);var i=c(24246),t=c(77213),u=c(3320);e.default=()=>(0,i.jsx)(t.Z,{title:"Privacy Experience",padded:!1,children:(0,i.jsx)(u.Z,{})})}},function(n){n.O(0,[2858,2866,4294,5908,9282,6277,3320,2888,9774,179],function(){return n(n.s=49048)}),_N_E=n.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7680],{49048:function(n,e,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience/new",function(){return c(16669)}])},16669:function(n,e,c){"use strict";c.r(e);var i=c(24246),t=c(77213),u=c(3320);e.default=()=>(0,i.jsx)(t.Z,{title:"Privacy Experience",padded:!1,children:(0,i.jsx)(u.Z,{})})}},function(n){n.O(0,[2858,2866,4294,5908,9282,5834,6277,3320,2888,9774,179],function(){return n(n.s=49048)}),_N_E=n.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4648],{12037:function(i,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-notices/[id]",function(){return t(48161)}])},48161:function(i,e,t){"use strict";t.r(e);var n=t(24246),c=t(56351),s=t(86677),r=t(77213),a=t(77830),o=t(58754),d=t(71922),u=t(34391);e.default=()=>{let i=(0,s.useRouter)(),e="";i.query.id&&(e=Array.isArray(i.query.id)?i.query.id[0]:i.query.id);let{data:t,isLoading:l}=(0,d._g)(e),{data:h}=(0,d.Wq)(e);return l?(0,n.jsx)(r.Z,{title:"Privacy notice",children:(0,n.jsx)(c.M5Y,{children:(0,n.jsx)(c.$jN,{})})}):t?(0,n.jsxs)(r.Z,{title:"Privacy notice ".concat(t.name),children:[(0,n.jsx)(o.Z,{heading:"Privacy Notices",breadcrumbItems:[{title:"All privacy Notices",href:a.IT},{title:t.name}]}),(0,n.jsxs)(c.xuv,{width:{base:"100%",lg:"70%"},"data-testid":"privacy-notice-detail-page",children:[(0,n.jsx)(c.xvT,{fontSize:"sm",mb:8,children:"Configure your privacy notice including consent mechanism, associated data uses and the locations in which this should be displayed to users."}),(0,n.jsx)(u.Z,{privacyNotice:t,availableTranslations:h})]})]}):(0,n.jsx)(r.Z,{title:"Privacy notice",children:(0,n.jsxs)(c.xvT,{children:["No privacy notice with id ",e," found."]})})}}},function(i){i.O(0,[2858,2866,4294,8837,9282,6277,6954,2888,9774,179],function(){return i(i.s=12037)}),_N_E=i.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4648],{12037:function(i,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-notices/[id]",function(){return t(48161)}])},48161:function(i,e,t){"use strict";t.r(e);var n=t(24246),c=t(56351),s=t(86677),r=t(77213),a=t(77830),o=t(58754),d=t(71922),u=t(34391);e.default=()=>{let i=(0,s.useRouter)(),e="";i.query.id&&(e=Array.isArray(i.query.id)?i.query.id[0]:i.query.id);let{data:t,isLoading:l}=(0,d._g)(e),{data:h}=(0,d.Wq)(e);return l?(0,n.jsx)(r.Z,{title:"Privacy notice",children:(0,n.jsx)(c.M5Y,{children:(0,n.jsx)(c.$jN,{})})}):t?(0,n.jsxs)(r.Z,{title:"Privacy notice ".concat(t.name),children:[(0,n.jsx)(o.Z,{heading:"Privacy Notices",breadcrumbItems:[{title:"All privacy Notices",href:a.IT},{title:t.name}]}),(0,n.jsxs)(c.xuv,{width:{base:"100%",lg:"70%"},"data-testid":"privacy-notice-detail-page",children:[(0,n.jsx)(c.xvT,{fontSize:"sm",mb:8,children:"Configure your privacy notice including consent mechanism, associated data uses and the locations in which this should be displayed to users."}),(0,n.jsx)(u.Z,{privacyNotice:t,availableTranslations:h})]})]}):(0,n.jsx)(r.Z,{title:"Privacy notice",children:(0,n.jsxs)(c.xvT,{children:["No privacy notice with id ",e," found."]})})}}},function(i){i.O(0,[2858,2866,4294,8837,9282,5834,6277,6954,2888,9774,179],function(){return i(i.s=12037)}),_N_E=i.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2158],{15786:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-notices/new",function(){return n(11739)}])},11739:function(e,i,n){"use strict";n.r(i);var t=n(24246),s=n(56351),c=n(77213),a=n(77830),o=n(58754),r=n(34391);i.default=()=>(0,t.jsxs)(c.Z,{title:"New privacy notice",children:[(0,t.jsx)(o.Z,{heading:"Privacy Notices",breadcrumbItems:[{title:"All privacy Notices",href:a.IT},{title:"New privacy notice"}]}),(0,t.jsxs)(s.xuv,{width:{base:"100%",lg:"70%"},children:[(0,t.jsx)(s.xvT,{fontSize:"sm",mb:8,children:"Configure your privacy notice including consent mechanism, associated data uses and the locations in which this should be displayed to users."}),(0,t.jsx)(s.xuv,{"data-testid":"new-privacy-notice-page",children:(0,t.jsx)(r.Z,{})})]})]})}},function(e){e.O(0,[2858,2866,4294,8837,9282,6277,6954,2888,9774,179],function(){return e(e.s=15786)}),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2158],{15786:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-notices/new",function(){return n(11739)}])},11739:function(e,i,n){"use strict";n.r(i);var t=n(24246),s=n(56351),c=n(77213),a=n(77830),o=n(58754),r=n(34391);i.default=()=>(0,t.jsxs)(c.Z,{title:"New privacy notice",children:[(0,t.jsx)(o.Z,{heading:"Privacy Notices",breadcrumbItems:[{title:"All privacy Notices",href:a.IT},{title:"New privacy notice"}]}),(0,t.jsxs)(s.xuv,{width:{base:"100%",lg:"70%"},children:[(0,t.jsx)(s.xvT,{fontSize:"sm",mb:8,children:"Configure your privacy notice including consent mechanism, associated data uses and the locations in which this should be displayed to users."}),(0,t.jsx)(s.xuv,{"data-testid":"new-privacy-notice-page",children:(0,t.jsx)(r.Z,{})})]})]})}},function(e){e.O(0,[2858,2866,4294,8837,9282,5834,6277,6954,2888,9774,179],function(){return e(e.s=15786)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8538],{73846:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dataset/new",function(){return a(17294)}])},812:function(e,t,a){"use strict";a.d(t,{D4:function(){return s.D4},MM:function(){return f},Ot:function(){return u},c6:function(){return r},cj:function(){return g},e$:function(){return l},fn:function(){return o},iC:function(){return y},nU:function(){return d},tB:function(){return c}});var n,r,s=a(19043);let i="An unexpected error occurred. Please try again.",l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;if((0,s.Bw)(e)){if((0,s.hE)(e.data))return e.data.detail;if((0,s.cz)(e.data)){var a;let t=null===(a=e.data.detail)||void 0===a?void 0:a[0];return"".concat(null==t?void 0:t.msg,": ").concat(null==t?void 0:t.loc)}if(409===e.status&&(0,s.Dy)(e.data)||404===e.status&&(0,s.XD)(e.data))return"".concat(e.data.detail.error," (").concat(e.data.detail.fides_key,")")}return t};function o(e){return"object"==typeof e&&null!=e&&"status"in e}function u(e){return"object"==typeof e&&null!=e&&"data"in e&&"string"==typeof e.data.detail}function c(e){return"object"==typeof e&&null!=e&&"data"in e&&Array.isArray(e.data.detail)}let d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{status:500,message:i};if((0,s.oK)(e))return{status:e.originalStatus,message:e.data};if((0,s.Bw)(e)){let{status:a}=e;return{status:a,message:l(e,t.message)}}return t},f=e=>Object.entries(e).map(e=>({value:e[1],label:e[1]}));(n=r||(r={})).GVL="gvl",n.AC="gacp",n.COMPASS="compass";let y={gvl:{label:"GVL",fullName:"Global Vendor List"},gacp:{label:"AC",fullName:"Google Additional Consent List"},compass:{label:"",fullName:""}},g=e=>{let t=e.split(".")[0];return"gacp"===t?"gacp":"gvl"===t?"gvl":"compass"}},14047:function(e,t,a){"use strict";a.d(t,{H:function(){return s},V:function(){return n.V}});var n=a(84306),r=a(812);let s=()=>{let{errorAlert:e}=(0,n.V)();return{handleError:t=>{let a="An unexpected error occurred. Please try again.";(0,r.Ot)(t)?a=t.data.detail:(0,r.tB)(t)&&(a=t.data.detail[0].msg),e(a)}}}},58452:function(e,t,a){"use strict";var n=a(24246),r=a(56351);t.Z=e=>{let{isOpen:t,onClose:a,onConfirm:s,onCancel:i,title:l,message:o,cancelButtonText:u,continueButtonText:c,isLoading:d,returnFocusOnClose:f,isCentered:y,testId:g="confirmation-modal",icon:h}=e;return(0,n.jsxs)(r.u_l,{isOpen:t,onClose:a,size:"lg",returnFocusOnClose:null==f||f,isCentered:y,children:[(0,n.jsx)(r.ZAr,{}),(0,n.jsxs)(r.hzk,{textAlign:"center",p:6,"data-testid":g,children:[h?(0,n.jsx)(r.M5Y,{mb:2,children:h}):null,l?(0,n.jsx)(r.xBx,{fontWeight:"medium",pb:0,children:l}):null,o?(0,n.jsx)(r.fef,{children:o}):null,(0,n.jsx)(r.mzw,{children:(0,n.jsxs)(r.MIq,{columns:2,width:"100%",children:[(0,n.jsx)(r.wpx,{onClick:()=>{i&&i(),a()},size:"large",className:"mr-3","data-testid":"cancel-btn",disabled:d,children:u||"Cancel"}),(0,n.jsx)(r.wpx,{type:"primary",size:"large",onClick:s,"data-testid":"continue-btn",loading:d,children:c||"Continue"})]})})]})]})}},46628:function(e,t,a){"use strict";a.d(t,{MA:function(){return l},Vo:function(){return u},t5:function(){return o}});var n=a(24246),r=a(56351);let s=e=>{let{children:t,title:a="Success"}=e;return(0,n.jsxs)(r.xvT,{"data-testid":"toast-success-msg",children:[(0,n.jsxs)("strong",{children:[a,":"]})," ",t]})},i=e=>{let{children:t}=e;return(0,n.jsxs)(r.xvT,{"data-testid":"toast-error-msg",children:[(0,n.jsx)("strong",{children:"Error:"})," ",t]})},l={variant:"subtle",position:"top",description:"",duration:5e3,status:"success",isClosable:!0},o=(e,t)=>{let a=(0,n.jsx)(s,{title:t,children:e});return{...l,description:a}},u=e=>{let t=(0,n.jsx)(i,{children:e});return{...l,description:t,status:"error"}}},17294:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return O}});var n=a(24246),r=a(56351),s=a(27378),i=a(25980),l=a(77213),o=a(77830),u=a(58754),c=a(91613),d=a(34090),f=a(86677),y=a(45007),g=a(59389),h=a(40324),m=a(812),p=a(58452),x=a(46628),b=a(83265),v=a(32885),j=a(21702),w=a(20386);let C=e=>!("system_type"in e),_={url:"",classify:!1,classifyConfirmed:!1},A=g.Ry().shape({url:g.Z_().required().label("Database URL"),classify:g.O7(),classifyConfirmed:g.O7().when(["url","classify"],{is:(e,t)=>e&&t,then:()=>g.O7().equals([!0])})});var D=()=>{let[e,{isLoading:t}]=(0,w.pR)(),[a,{isLoading:s}]=(0,w.IR)(),[l,{isLoading:u}]=(0,v.Du)(),c=t||s||u,g=(0,r.pmc)(),D=(0,f.useRouter)(),L=(0,i.hz)(),S=(0,y.I0)(),k=async t=>{var a;let n=await e({organization_key:b.Av,generate:{config:{connection_string:t.url},target:j.GC.DB,type:j.j.DATASETS}});if("error"in n)return{error:(0,m.e$)(n.error)};let r=(null!==(a=n.data.generate_results)&&void 0!==a?a:[]).filter(C);return r&&r.length>0?{datasets:r}:{error:"Unable to generate a dataset with this connection."}},N=async e=>{let t=await a(e);return"error"in t?{error:(0,m.e$)(t.error)}:{dataset:t.data}},E=async e=>{let{values:t,datasets:a}=e,n=await l({dataset_schemas:a.map(e=>{let{name:t,fides_key:a}=e;return{fides_key:a,name:t}}),schema_config:{organization_key:b.Av,generate:{config:{connection_string:t.url},target:j.GC.DB,type:j.j.DATASETS}}});return"error"in n?{error:(0,m.e$)(n.error)}:{classifyInstances:n.data.classify_instances}},O=async e=>{var t;let a=await k(e);if("error"in a){g((0,x.Vo)(a.error));return}let n=await Promise.all(a.datasets.map(e=>N(e))),r=null!==(t=n.find(e=>"error"in e))&&void 0!==t?t:n[0];if("error"in r){g((0,x.Vo)(r.error));return}if(!e.classify){g((0,x.t5)("Generated ".concat(r.dataset.name," dataset"))),D.push({pathname:o.o5,query:{datasetId:r.dataset.fides_key}});return}let s=await E({values:e,datasets:a.datasets});if("error"in s){g((0,x.Vo)(s.error));return}g((0,x.t5)("Generate and classify are now in progress")),S((0,w.Zl)(r.dataset.fides_key)),D.push("/dataset")};return(0,n.jsx)(d.J9,{initialValues:{..._,classify:L.plus},validationSchema:A,onSubmit:O,validateOnChange:!1,validateOnBlur:!1,children:e=>{let{isSubmitting:t,errors:a,values:s,submitForm:i,resetForm:l,setFieldValue:o}=e;return(0,n.jsxs)(d.l0,{children:[(0,n.jsxs)(r.gCW,{spacing:8,align:"left",children:[(0,n.jsx)(r.xvT,{size:"sm",color:"gray.700",children:"Connect to a database using the connection URL. You may have received this URL from a colleague or your Ethyca developer support engineer."}),(0,n.jsx)(r.xuv,{children:(0,n.jsx)(h.j0,{name:"url",label:"Database URL"})}),L.plus?(0,n.jsx)(h.w8,{name:"classify",label:"Classify dataset",tooltip:"Use Fides Classify to suggest labels based on your data."}):null,(0,n.jsx)(r.xuv,{children:(0,n.jsx)(r.wpx,{type:"primary",htmlType:"submit",loading:t||c,disabled:t||c,"data-testid":"create-dataset-btn",children:"Generate dataset"})})]}),(0,n.jsx)(p.Z,{title:"Generate and classify this dataset",message:"You have chosen to generate and classify this dataset. This process may take several minutes. In the meantime you can continue using Fides. You will receive a notification when the process is complete.",isOpen:void 0!==a.classifyConfirmed,onClose:()=>{l({values:{...s,classifyConfirmed:!1}})},onConfirm:()=>{o("classifyConfirmed",!0),setTimeout(()=>{i()},0)}})]})}})},L=a(66527),S=a(14047),k=a(41207),N=a(39715),E=()=>{let[e]=(0,w.IR)(),[t,a]=(0,s.useState)(!0),[i,l]=(0,s.useState)(!1),[u,c]=(0,s.useState)(!1),d=(0,s.useRef)(null),y=(0,f.useRouter)(),g=(0,r.pmc)(),{errorAlert:h}=(0,S.V)(),[p,b]=(0,s.useState)(void 0),v=e=>{L.ZP.load(e,{json:!0}),b(void 0)},j=async t=>{let a;return"object"==typeof t&&null!=t&&"dataset"in t&&Array.isArray(t.dataset)?[a]=t.dataset:Array.isArray(t)?[a]=t:a=t,e(a)},C=e=>{g((0,x.t5)("Successfully loaded new dataset YAML")),(0,w.Zl)(e.fides_key),y.push({pathname:o.o5,query:{datasetId:e.fides_key}})},_=async()=>{l(!0);let e=d.current.getValue(),t=L.ZP.load(e,{json:!0}),a=await j(t);(0,m.D4)(a)?g((0,x.Vo)((0,m.e$)(a.error))):"data"in a&&C(a.data),l(!1)};return(0,n.jsxs)(r.kCb,{gap:"97px",children:[(0,n.jsxs)(r.xuv,{w:"75%",children:[(0,n.jsx)(r.xuv,{color:"gray.700",fontSize:"14px",mb:4,children:"Get started creating your first dataset by pasting your dataset yaml below! You may have received this yaml from a colleague or your Ethyca developer support engineer."}),(0,n.jsxs)(r.gCW,{align:"stretch",children:[(0,n.jsx)(r.izJ,{color:"gray.100"}),(0,n.jsx)(k.M,{defaultLanguage:"yaml",height:"calc(100vh - 515px)",onChange:e=>{try{c(!0),v(e),a(!!(!e||""===e.trim()))}catch(e){(0,k.F)(e)?b(e):h("Could not parse the supplied YAML")}},onMount:e=>{d.current=e,d.current.focus()},options:{fontFamily:"Menlo",fontSize:13,minimap:{enabled:!0}},theme:"light"}),(0,n.jsx)(r.izJ,{color:"gray.100"}),(0,n.jsx)(r.wpx,{type:"primary",disabled:t||!!p||i,loading:i,onClick:_,htmlType:"submit",className:"mt-6 w-fit",children:"Create dataset"})]})]}),(0,n.jsx)(r.xuv,{children:u&&(t||p)&&(0,n.jsx)(N.Z,{isEmptyState:t,yamlError:p})})]})},O=()=>{let e=(0,i.hz)(),[t,a]=(0,s.useState)(null);return(0,n.jsxs)(l.Z,{title:"Create New Dataset",children:[(0,n.jsx)(u.Z,{heading:"Datasets",breadcrumbItems:[{title:"All datasets",href:o.$m},{title:"Create new"}]}),(0,n.jsxs)(r.Kqy,{spacing:8,children:[(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(r.wpx,{onClick:()=>a("yaml"),"data-testid":"upload-yaml-btn",className:"mr-2",children:"Upload a Dataset YAML"}),(0,n.jsx)(r.wpx,{onClick:()=>a("database"),ghost:"database"===t,disabled:e.flags.dataDiscoveryAndDetection,className:"mr-2","data-testid":"connect-db-btn",children:"Connect to a database"}),e.flags.dataDiscoveryAndDetection?(0,n.jsx)(c.Z,{label:"Creating a dataset via a database connection is disabled when the 'detection & discovery' beta feature is enabled"}):null]}),"database"===t&&(0,n.jsx)(r.xuv,{w:{base:"100%",lg:"50%"},children:(0,n.jsx)(D,{})}),"yaml"===t&&(0,n.jsx)(r.xuv,{w:{base:"100%"},children:(0,n.jsx)(E,{})})]})]})}},19043:function(e,t,a){"use strict";a.d(t,{Bw:function(){return i},D4:function(){return r},Dy:function(){return o},XD:function(){return u},cz:function(){return c},hE:function(){return l},oK:function(){return s}});var n=a(76649);let r=e=>"error"in e,s=e=>(0,n.Ln)({status:"string"},e)&&"PARSING_ERROR"===e.status,i=e=>(0,n.Ln)({status:"number",data:{}},e),l=e=>(0,n.Ln)({detail:"string"},e),o=e=>(0,n.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),u=e=>(0,n.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),c=e=>(0,n.Ln)({detail:[{loc:["string","number"],msg:"string",type:"string"}]},e)},76649:function(e,t,a){"use strict";a.d(t,{Ln:function(){return n}});let n=(e,t)=>s(e,t),r=Symbol("SOME"),s=(e,t)=>"string"==typeof e?e===typeof t:Array.isArray(e)?r in e?e.some(e=>s(e,t)):!!Array.isArray(t)&&(0===e.length||t.every(t=>e.some(e=>s(e,t)))):"object"==typeof t&&null!==t&&Object.entries(e).every(([e,a])=>s(a,t[e]));class i{static narrow(e){return new i(t=>n(e,t))}constructor(e){this.NF=void 0,this.NF=e}satisfied(e){return this.NF(e)}build(e){return e}and(e){let t=this.NF,a=e instanceof i?e.NF:e instanceof Function?e:t=>n(e,t);return new i(e=>t(e)&&a(e))}}new i(e=>!0)}},function(e){e.O(0,[3005,5574,2888,9774,179],function(){return e(e.s=73846)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8473],{64902:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dataset",function(){return a(91949)}])},79806:function(e,t,a){"use strict";a.d(t,{Gn:function(){return o},zR:function(){return l}});var s=a(24246),i=a(56351),n=a(56358);let l=e=>{let{title:t}=e;return(0,s.jsx)(i.OXI,{py:0,display:"flex",alignItems:"flex-start",children:(0,s.jsx)(i.xvT,{mr:"2",color:"gray.700",fontSize:"lg",lineHeight:1.8,children:t})})},o=e=>{let{onDelete:t,onEditYaml:a,formId:l,isSaving:o}=e;return(0,s.jsxs)(i.zeN,{justifyContent:"space-between",children:[t?(0,s.jsx)(i.wpx,{"aria-label":"delete",icon:(0,s.jsx)(n.q,{fontSize:"small"}),onClick:t,"data-testid":"delete-btn"}):null,(0,s.jsxs)("div",{className:"flex gap-2",children:[a&&(0,s.jsx)(i.wpx,{onClick:a,"data-testid":"edit-yaml-btn",children:"Edit YAML"}),(0,s.jsx)(i.wpx,{htmlType:"submit",type:"primary","data-testid":"save-btn",form:l,loading:o,children:"Save"})]})]})};t.ZP=e=>{let{header:t,description:a,isOpen:n,onClose:l,children:o,footer:d}=e;return(0,s.jsxs)(i.dys,{placement:"right",isOpen:n,onClose:l,size:"md",children:[(0,s.jsx)(i.P1B,{}),(0,s.jsxs)(i.scA,{"data-testid":"edit-drawer-content",py:2,children:[(0,s.jsxs)(i.xuv,{display:"flex",justifyContent:"space-between",alignItems:"top",mr:2,py:2,gap:2,children:[(0,s.jsx)(i.xuv,{flex:1,minH:8,children:t}),(0,s.jsx)(i.xuv,{display:"flex",justifyContent:"flex-end",mr:2,children:(0,s.jsx)(i.wpx,{"aria-label":"Close editor",onClick:l,"data-testid":"close-drawer-btn",icon:(0,s.jsx)(i.Two,{fontSize:"smaller"})})})]}),(0,s.jsxs)(i.Ng0,{pt:1,children:[a?(0,s.jsx)(i.xvT,{fontSize:"sm",mb:4,color:"gray.600",children:a}):null,o]}),d]})]})}},56358:function(e,t,a){"use strict";a.d(t,{q:function(){return i}});var s=a(24246);let i=(0,a(56351).IUT)({displayName:"TrashCanOutlineIcon",viewBox:"0 0 11 12",path:(0,s.jsx)("path",{d:"M4.5166 1.60859L4.1084 2.21875H7.22363L6.81543 1.60859C6.7832 1.56133 6.72949 1.53125 6.67148 1.53125H4.6584C4.60039 1.53125 4.54668 1.55918 4.51445 1.60859H4.5166ZM7.6748 1.03711L8.46328 2.21875H8.75977H9.79102H9.96289C10.2486 2.21875 10.4785 2.44863 10.4785 2.73438C10.4785 3.02012 10.2486 3.25 9.96289 3.25H9.79102V9.78125C9.79102 10.7309 9.02188 11.5 8.07227 11.5H3.25977C2.31016 11.5 1.54102 10.7309 1.54102 9.78125V3.25H1.36914C1.0834 3.25 0.853516 3.02012 0.853516 2.73438C0.853516 2.44863 1.0834 2.21875 1.36914 2.21875H1.54102H2.57227H2.86875L3.65723 1.03496C3.88066 0.701953 4.25664 0.5 4.6584 0.5H6.67148C7.07324 0.5 7.44922 0.701953 7.67266 1.03496L7.6748 1.03711ZM2.57227 3.25V9.78125C2.57227 10.1615 2.87949 10.4688 3.25977 10.4688H8.07227C8.45254 10.4688 8.75977 10.1615 8.75977 9.78125V3.25H2.57227ZM4.29102 4.625V9.09375C4.29102 9.28281 4.13633 9.4375 3.94727 9.4375C3.7582 9.4375 3.60352 9.28281 3.60352 9.09375V4.625C3.60352 4.43594 3.7582 4.28125 3.94727 4.28125C4.13633 4.28125 4.29102 4.43594 4.29102 4.625ZM6.00977 4.625V9.09375C6.00977 9.28281 5.85508 9.4375 5.66602 9.4375C5.47695 9.4375 5.32227 9.28281 5.32227 9.09375V4.625C5.32227 4.43594 5.47695 4.28125 5.66602 4.28125C5.85508 4.28125 6.00977 4.43594 6.00977 4.625ZM7.72852 4.625V9.09375C7.72852 9.28281 7.57383 9.4375 7.38477 9.4375C7.1957 9.4375 7.04102 9.28281 7.04102 9.09375V4.625C7.04102 4.43594 7.1957 4.28125 7.38477 4.28125C7.57383 4.28125 7.72852 4.43594 7.72852 4.625Z",fill:"currentColor"})})},8133:function(e,t,a){"use strict";var s=a(24246),i=a(56351);t.Z=e=>{let{title:t,children:a,isOpen:n,onClose:l,...o}=e;return(0,s.jsxs)(i.u_l,{isOpen:n,onClose:l,isCentered:!0,scrollBehavior:"inside",size:"xl",id:"add-modal",...o,children:[(0,s.jsx)(i.ZAr,{}),(0,s.jsxs)(i.hzk,{textAlign:"left",p:0,"data-testid":"add-modal-content",children:[(0,s.jsx)(i.xBx,{p:0,children:(0,s.jsx)(i.xuv,{backgroundColor:"gray.50",px:6,py:4,border:"1px",borderColor:"gray.200",borderTopRadius:6,display:"flex",justifyContent:"space-between",alignItems:"center",children:(0,s.jsx)(i.X6q,{as:"h3",size:"sm",children:t})})}),(0,s.jsx)(i.fef,{pb:4,overflow:"auto",children:a})]})]})}},56026:function(e,t,a){"use strict";a.d(t,{QL:function(){return n},du:function(){return i},tz:function(){return s}});let s={name:{tooltip:"A UI-friendly label for the Dataset."},description:{tooltip:"A human-readable description of the Dataset."},data_categories:{tooltip:"Arrays of Data Category resources, identified by fides_key, that apply to all collections in the Dataset."}},i={description:{tooltip:"A human-readable description of the collection."},data_categories:{tooltip:"Arrays of Data Category resources, identified by fides_key, that apply to all fields in the collection."}},n={description:{tooltip:"A human-readable description of the field."},data_categories:{tooltip:"Arrays of Data Category resources, identified by fides_key, that apply to this field."}}},91949:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return L}});var s=a(24246),i=a(92222),n=a(59003),l=a(56351),o=a(79894),d=a.n(o),r=a(86677),c=a(27378),u=a(45007),p=a(32885),x=a(21702);let h=e=>{let{resourceType:t,fidesKeys:a,skip:s}=e,[i,n]=(0,c.useState)(!0),l=(0,p.Wm)({resource_type:t,fides_keys:a},{skip:s,pollingInterval:i?3e3:void 0}),o=!!l.data&&l.data.every(e=>e.status===x.Wg.COMPLETE||e.status===x.Wg.FAILED||e.status===x.Wg.REVIEWED);return(0,c.useEffect)(()=>{o&&n(!1)},[o]),{...l,isClassificationFinished:o}};var f=a(25980),m=a(77213),g=a(77830),j=a(58754),C=a(14481),y=a(20386),b=a(79806),v=a(812),w=a(46628),k=a(8133),_=a(84306),S=a(66527),z=a(41207),A=a(39715),D=a(41966),R=e=>{let{data:t=[],isSubmitting:a=!1,onCancel:i,onSubmit:n,disabled:o,isLoading:d,onChange:r}=e,u=(0,c.useRef)(null),{errorAlert:p}=(0,_.V)(),x=t.length>0?S.ZP.dump(t):void 0,[h,f]=(0,c.useState)(void 0),[m,g]=(0,c.useState)(!1),[j,C]=(0,c.useState)(!x),{data:y}=(0,D.NR)(),[b,v]=(0,c.useState)([]),w=e=>{S.ZP.load(e,{json:!0}),f(void 0)},k=()=>{if(y&&y.length){let e=u.current.getValue();v(y.filter(t=>e.includes("fides_key: ".concat(t.fides_key,"\n"))).map(e=>e.fides_key))}},R=o||j||!m||!!h||a;return(0,s.jsxs)(l.kCb,{gap:"97px",children:[(0,s.jsxs)(l.gCW,{align:"stretch",w:"800px",children:[(0,s.jsx)(z.M,{defaultLanguage:"yaml",defaultValue:x,height:"calc(100vh - 526px)",onChange:e=>{try{g(!0),w(e),C(!e||""===e.trim());let t=S.ZP.load(e||"",{json:!0});Array.isArray(t)?r(t[0]):r(t),k()}catch(e){(0,z.F)(e)?f(e):p("Could not parse the supplied YAML")}},onMount:(e,t)=>{u.current=e,u.current.focus()},options:{fontFamily:"Menlo",fontSize:13,minimap:{enabled:!1},readOnly:o},theme:"light"}),b.length>0?(0,s.jsxs)(l.xvT,{children:["You are about to overwrite the dataset",b.length>1?"s":""," ",b.map((e,t)=>{let a=t===b.length-1;return(0,s.jsxs)(c.Fragment,{children:[(0,s.jsx)(l.xvT,{color:"complimentary.500",as:"span",fontWeight:"bold",children:e}),a?".":", "]},e)})]}):null,(0,s.jsx)(l.mzw,{children:(0,s.jsxs)("div",{className:"flex w-full justify-end gap-4",children:[i&&(0,s.jsx)(l.wpx,{onClick:i,"data-testid":"cancel-btn",disabled:d,children:"Cancel"}),(0,s.jsx)(l.wpx,{type:"primary",onClick:()=>{null==n||n(),null==i||i()},"data-testid":"continue-btn",disabled:R,loading:a||d,children:"Confirm"})]})})]}),m&&(j||h)&&(0,s.jsx)(A.Z,{isEmptyState:j,yamlError:h})]})},E=e=>{let{isOpen:t,onClose:a,title:i,isLoading:n,returnFocusOnClose:o,isDatasetSelected:d,dataset:r,onChange:c,onSubmit:u}=e;return(0,s.jsx)(k.Z,{isOpen:t,onClose:a,size:"3xl",returnFocusOnClose:null==o||o,isCentered:!0,title:null!=i?i:"Edit Dataset",children:(0,s.jsx)(l.xuv,{"data-testid":"yaml-editor-section",children:(0,s.jsx)(R,{data:r?[r]:[],onSubmit:u,isSubmitting:!1,disabled:d,onChange:c,isLoading:n,onCancel:a})})})},V=a(34090),H=a(40324),T=a(56026);let M="edit-field-drawer";var Z=e=>{var t,a;let{values:i,onSubmit:n}=e,o={name:null!==(t=i.name)&&void 0!==t?t:"",description:null!==(a=i.description)&&void 0!==a?a:"",data_categories:i.data_categories};return(0,s.jsx)(V.J9,{initialValues:o,onSubmit:e=>{n({...e,data_categories:i.data_categories||[]})},children:(0,s.jsx)(V.l0,{id:M,children:(0,s.jsxs)(l.Kqy,{spacing:"3",children:[(0,s.jsx)(H.j0,{name:"name",label:"Name",tooltip:T.tz.name.tooltip,"data-testid":"name-input",variant:"block"}),(0,s.jsx)(H.j0,{name:"description",label:"Description",tooltip:T.tz.description.tooltip,"data-testid":"description-input",variant:"block"})]})})})},O=e=>{let{dataset:t,isOpen:a,onClose:i}=e,[n,{isLoading:o}]=(0,y.TG)(),[d]=(0,y.QY)(),u=(0,r.useRouter)(),p=(0,l.pmc)(),{isOpen:x,onOpen:h,onClose:f}=(0,l.qY0)(),{isOpen:m,onOpen:g,onClose:j}=(0,l.qY0)(),[C,k]=(0,c.useState)(void 0),_=async e=>{let a={...t,...e};try{let e=await n(a);(0,v.D4)(e)?p((0,w.Vo)((0,v.e$)(e.error))):p((0,w.t5)("Successfully modified dataset"))}catch(e){p((0,w.Vo)(e))}i()},S=async()=>{let{fides_key:e}=t,a=await d(e);(0,v.D4)(a)?p((0,w.Vo)((0,v.e$)(a.error))):p((0,w.t5)("Successfully deleted dataset")),(0,y.Zl)(void 0),u.push("/dataset"),i(),f()};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(b.ZP,{isOpen:a,onClose:i,description:"A Dataset takes a database schema (tables and columns) and adds Fides privacy categorizations. Provide additional context to this dataset by filling out the fields below.",header:(0,s.jsx)(b.zR,{title:"Edit: ".concat(null==t?void 0:t.name)}),footer:(0,s.jsx)(b.Gn,{onClose:i,onDelete:h,onEditYaml:()=>g(),formId:M}),children:[(0,s.jsx)(E,{isOpen:m,onClose:j,onChange:k,onSubmit:()=>_(C),title:"Edit dataset YAML",isLoading:o,isDatasetSelected:!1,dataset:t}),(0,s.jsx)(Z,{values:t,onSubmit:_})]}),(0,s.jsx)(l.cVQ,{isOpen:x,onClose:f,onConfirm:S,title:"Delete Dataset",message:(0,s.jsxs)(l.xvT,{children:["You are about to permanently delete the dataset named"," ",(0,s.jsx)(l.xvT,{color:"complimentary.500",as:"span",fontWeight:"bold",children:null==t?void 0:t.name}),". Are you sure you would like to continue?"]})})]})};let P=(0,i.Cl)(),I={items:[],total:0,page:1,size:25,pages:1},N=()=>(0,s.jsx)(l.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"no-results-notice",alignSelf:"center",margin:"auto",textAlign:"center",children:(0,s.jsxs)(l.gCW,{children:[(0,s.jsx)(l.xvT,{fontSize:"md",fontWeight:"600",children:"No datasets found."}),(0,s.jsx)(l.xvT,{fontSize:"sm",children:'Click "Create new dataset" to add your first dataset to Fides.'})]})});var L=()=>{let e=(0,u.I0)(),t=(0,r.useRouter)(),[a,o]=(0,c.useState)(!1),[p,b]=(0,c.useState)(),{PAGE_SIZES:v,pageSize:w,setPageSize:k,onPreviousPageClick:_,isPreviousPageDisabled:S,onNextPageClick:z,isNextPageDisabled:A,startRange:D,endRange:R,pageIndex:E,setTotalPages:V,resetPageIndexToDefault:H}=(0,C.oi)(),[T,M]=(0,c.useState)(),Z=(0,c.useCallback)(e=>{H(),M(e)},[H,M]),{data:L,isLoading:W,isFetching:F}=(0,y.rt)({page:E,size:w,search:T,exclude_saas_datasets:!0}),{items:Y,total:q,pages:G}=(0,c.useMemo)(()=>null!=L?L:I,[L]);(0,c.useEffect)(()=>{V(G)},[G,V]);let B=(0,c.useCallback)(a=>{e((0,y.Zl)(a.fides_key)),t.push({pathname:g.o5,query:{datasetId:encodeURIComponent(a.fides_key)}})},[e,t]),Q=(0,f.hz)();h({resourceType:x.j.DATASETS,skip:!Q.plus});let U=(0,c.useMemo)(()=>[P.accessor(e=>e.name,{id:"name",cell:e=>(0,s.jsx)(C.G3,{value:e.getValue(),fontWeight:"semibold"}),header:e=>(0,s.jsx)(C.Rr,{value:"Dataset Name",...e}),size:180}),P.accessor(e=>e.fides_key,{id:"fides_key",cell:e=>(0,s.jsx)(C.G3,{value:e.getValue()}),header:e=>(0,s.jsx)(C.Rr,{value:"Fides Key",...e}),size:150}),P.accessor(e=>e.description,{id:"description",cell:e=>(0,s.jsx)(C.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,s.jsx)(C.Rr,{value:"Description",...e}),size:300,meta:{showHeaderMenu:!0}}),P.display({id:"actions",header:"Actions",cell:e=>{let{row:t}=e,a=t.original;return(0,s.jsx)(l.Ugi,{spacing:0,"data-testid":"dataset-".concat(a.fides_key),children:(0,s.jsx)(l.wpx,{size:"small",icon:(0,s.jsx)(l.dY8,{}),onClick:()=>{b(a),o(!0)},children:"Edit"})})},meta:{disableRowClick:!0}})].filter(Boolean),[]),X=(0,n.b7)({getCoreRowModel:(0,i.sC)(),getFilteredRowModel:(0,i.vL)(),getSortedRowModel:(0,i.tj)(),columns:U,data:Y,columnResizeMode:"onChange"});return(0,s.jsx)(m.Z,{title:"Datasets",children:(0,s.jsxs)(l.xuv,{"data-testid":"system-management",children:[(0,s.jsx)(j.Z,{heading:"Datasets",breadcrumbItems:[{title:"All datasets"}],rightContent:(0,s.jsx)(d(),{href:"/dataset/new",passHref:!0,legacyBehavior:!0,children:(0,s.jsx)(l.wpx,{"data-testid":"create-dataset-btn",children:"+ Add dataset"})})}),W?(0,s.jsx)(C.I4,{rowHeight:36,numRows:15}):(0,s.jsxs)(l.xuv,{"data-testid":"dataset-table",children:[(0,s.jsx)(C.Q$,{children:(0,s.jsx)(C.HO,{globalFilter:T,setGlobalFilter:Z,placeholder:"Search",testid:"dataset-search"})}),(0,s.jsx)(C.ZK,{tableInstance:X,emptyTableNotice:(0,s.jsx)(N,{}),onRowClick:B})]}),(0,s.jsx)(C.s8,{totalRows:q||0,pageSizes:v,setPageSize:k,onPreviousPageClick:_,isPreviousPageDisabled:S||F,onNextPageClick:z,isNextPageDisabled:A||F,startRange:D,endRange:R}),(0,s.jsx)(O,{dataset:p,isOpen:a,onClose:()=>{b(void 0),o(!1)}})]})})}}},function(e){e.O(0,[8033,2780,3005,4481,5574,2888,9774,179],function(){return e(e.s=64902)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6446],{10463:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/datastore-connection/[id]",function(){return n(88228)}])},88228:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var i=n(24246),l=n(1226),s=n(56351),a=n(86677),r=n(27378),o=n(16134),c=n(14047),u=n(77830),d=n(20682),f=n(94725),h=n(7617),x=n(58754),p=n(11274),v=n(26788),j=n(38212),y=n(50881),m=n(41337),_=()=>{let e=(0,o.T)(),{connection:t,connectionOption:n}=(0,o.C)(d.ZZ),[l,a]=(0,r.useState)(void 0),c=(0,r.useMemo)(()=>()=>{let e=[];return(null==l?void 0:l.options)&&l.options.forEach(n=>{let l;switch(n){case v.H5.CONNECTOR_PARAMETERS:l={label:n,content:(0,i.jsx)(p.s,{})};break;case v.H5.DATASET_CONFIGURATION:l=(null==t?void 0:t.key)?{label:n,content:(0,i.jsx)(j.Z,{})}:void 0;break;case v.H5.DSR_CUSTOMIZATION:l=(null==t?void 0:t.key)?{label:n,content:(0,i.jsx)(y.Z,{})}:void 0}l&&e.push(l)}),e},[null==t?void 0:t.key,null==l?void 0:l.options]);return(0,r.useEffect)(()=>{if(n){let t=v.IM.find(e=>e.type===(null==n?void 0:n.type));t&&(a(t),e((0,d.nj)(v.Ss[2])))}return()=>{e((0,d.mc)())}},[n,e]),t&&n?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.Z,{heading:"Connection manager",breadcrumbItems:[{title:"All connections",href:u.JR},{title:t.name}]}),(0,i.jsx)(s.X6q,{fontSize:"md",fontWeight:"semibold",maxHeight:"40px",mb:"4px",whiteSpace:"nowrap",children:(0,i.jsxs)(s.xuv,{alignItems:"center",display:"flex",children:[(0,i.jsx)(m.Z,{data:n}),(0,i.jsx)(s.xvT,{ml:"8px",children:t.name})]})}),(0,i.jsx)(s.gCW,{alignItems:"stretch",flex:"1",gap:"18px",children:(0,i.jsx)(h.Z,{data:c(),flexGrow:1,isLazy:!0})})]}):null},g=n(21702),w=()=>{let e=(0,o.T)(),t=(0,a.useRouter)(),{id:n}=t.query,{errorAlert:h}=(0,c.V)(),x=(0,o.C)(d.y_),[p,v]=(0,r.useState)(!0),j=(e,t)=>t.find(t=>{var n;return t.identifier===e.connection_type&&t.identifier!==g.Rj.SAAS||t.identifier===(null===(n=e.saas_config)||void 0===n?void 0:n.type)});return(0,r.useEffect)(()=>{let i=()=>{h("An error occurred while loading ".concat(t.query.id)),t.push(u.JR,void 0,{shallow:!0})},l=async t=>{try{let n=[];n.push(e(f.DM.endpoints.getDatastoreConnectionByKey.initiate(t))),0===x.length&&n.push(e(d.d8.endpoints.getAllConnectionTypes.initiate({search:""})));let l=await Promise.allSettled(n);if(l.every(e=>"fulfilled"===e.status)){e((0,d.lm)(l[0].value.data));let t=[...l[1]?l[1].value.data.items:x],n=j(l[0].value.data,t);e((0,d.yA)(n)),v(!1)}else i()}catch(e){i()}};return n&&l(n),()=>{}},[n]),(0,i.jsxs)(i.Fragment,{children:[p&&(0,i.jsx)(s.xuv,{display:"flex",h:"100vh",justifyContent:"center",children:(0,i.jsx)(s.M5Y,{children:(0,i.jsx)(s.$jN,{})})}),!p&&(0,i.jsx)(l.Z,{children:(0,i.jsx)(_,{})})]})}}},function(e){e.O(0,[3005,
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6446],{10463:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/datastore-connection/[id]",function(){return n(88228)}])},88228:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var i=n(24246),l=n(1226),s=n(56351),a=n(86677),r=n(27378),o=n(16134),c=n(14047),u=n(77830),d=n(20682),f=n(94725),h=n(7617),x=n(58754),p=n(11274),v=n(26788),j=n(38212),y=n(50881),m=n(41337),_=()=>{let e=(0,o.T)(),{connection:t,connectionOption:n}=(0,o.C)(d.ZZ),[l,a]=(0,r.useState)(void 0),c=(0,r.useMemo)(()=>()=>{let e=[];return(null==l?void 0:l.options)&&l.options.forEach(n=>{let l;switch(n){case v.H5.CONNECTOR_PARAMETERS:l={label:n,content:(0,i.jsx)(p.s,{})};break;case v.H5.DATASET_CONFIGURATION:l=(null==t?void 0:t.key)?{label:n,content:(0,i.jsx)(j.Z,{})}:void 0;break;case v.H5.DSR_CUSTOMIZATION:l=(null==t?void 0:t.key)?{label:n,content:(0,i.jsx)(y.Z,{})}:void 0}l&&e.push(l)}),e},[null==t?void 0:t.key,null==l?void 0:l.options]);return(0,r.useEffect)(()=>{if(n){let t=v.IM.find(e=>e.type===(null==n?void 0:n.type));t&&(a(t),e((0,d.nj)(v.Ss[2])))}return()=>{e((0,d.mc)())}},[n,e]),t&&n?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.Z,{heading:"Connection manager",breadcrumbItems:[{title:"All connections",href:u.JR},{title:t.name}]}),(0,i.jsx)(s.X6q,{fontSize:"md",fontWeight:"semibold",maxHeight:"40px",mb:"4px",whiteSpace:"nowrap",children:(0,i.jsxs)(s.xuv,{alignItems:"center",display:"flex",children:[(0,i.jsx)(m.Z,{data:n}),(0,i.jsx)(s.xvT,{ml:"8px",children:t.name})]})}),(0,i.jsx)(s.gCW,{alignItems:"stretch",flex:"1",gap:"18px",children:(0,i.jsx)(h.Z,{data:c(),flexGrow:1,isLazy:!0})})]}):null},g=n(21702),w=()=>{let e=(0,o.T)(),t=(0,a.useRouter)(),{id:n}=t.query,{errorAlert:h}=(0,c.V)(),x=(0,o.C)(d.y_),[p,v]=(0,r.useState)(!0),j=(e,t)=>t.find(t=>{var n;return t.identifier===e.connection_type&&t.identifier!==g.Rj.SAAS||t.identifier===(null===(n=e.saas_config)||void 0===n?void 0:n.type)});return(0,r.useEffect)(()=>{let i=()=>{h("An error occurred while loading ".concat(t.query.id)),t.push(u.JR,void 0,{shallow:!0})},l=async t=>{try{let n=[];n.push(e(f.DM.endpoints.getDatastoreConnectionByKey.initiate(t))),0===x.length&&n.push(e(d.d8.endpoints.getAllConnectionTypes.initiate({search:""})));let l=await Promise.allSettled(n);if(l.every(e=>"fulfilled"===e.status)){e((0,d.lm)(l[0].value.data));let t=[...l[1]?l[1].value.data.items:x],n=j(l[0].value.data,t);e((0,d.yA)(n)),v(!1)}else i()}catch(e){i()}};return n&&l(n),()=>{}},[n]),(0,i.jsxs)(i.Fragment,{children:[p&&(0,i.jsx)(s.xuv,{display:"flex",h:"100vh",justifyContent:"center",children:(0,i.jsx)(s.M5Y,{children:(0,i.jsx)(s.$jN,{})})}),!p&&(0,i.jsx)(l.Z,{children:(0,i.jsx)(_,{})})]})}}},function(e){e.O(0,[3005,5574,9767,2888,9774,179],function(){return e(e.s=10463)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6050],{91747:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/datastore-connection/new",function(){return n(45751)}])},19904:function(e,t,n){"use strict";n.d(t,{Tg:function(){return l}});var r=n(24246),i=n(16134),s=n(31793);let l=e=>(0,i.C)(s.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:n}=e;return l(t)?(0,r.jsx)(r.Fragment,{children:n}):null}},96718:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n(24246),i=n(56351);let s=e=>{let{...t}=e,n="multiple"===t.mode;return(0,r.jsx)(i.WPr,{defaultActiveFirstOption:!1,maxTagCount:"responsive",allowClear:!0,dropdownStyle:n?void 0:{width:"auto",minWidth:"200px"},className:"w-auto","data-testid":"filter-select",...t})}},46628:function(e,t,n){"use strict";n.d(t,{MA:function(){return a},Vo:function(){return u},t5:function(){return o}});var r=n(24246),i=n(56351);let s=e=>{let{children:t,title:n="Success"}=e;return(0,r.jsxs)(i.xvT,{"data-testid":"toast-success-msg",children:[(0,r.jsxs)("strong",{children:[n,":"]})," ",t]})},l=e=>{let{children:t}=e;return(0,r.jsxs)(i.xvT,{"data-testid":"toast-error-msg",children:[(0,r.jsx)("strong",{children:"Error:"})," ",t]})},a={variant:"subtle",position:"top",description:"",duration:5e3,status:"success",isClosable:!0},o=(e,t)=>{let n=(0,r.jsx)(s,{title:t,children:e});return{...a,description:n}},u=e=>{let t=(0,r.jsx)(l,{children:e});return{...a,description:t,status:"error"}}},44553:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(24246),i=n(56351),s=n(27378),l=n(44833),a=n(45007),o=n(812),u=n(46628),c=n(20682),d=n(89319),p=n(52253),x=n(78780);let{reducer:h}=(0,d.oM)({name:"connectorTemplate",initialState:{},reducers:{}}),{useRegisterConnectorTemplateMutation:f}=x.u.injectEndpoints({endpoints:e=>({registerConnectorTemplate:e.mutation({query:e=>{let t=new FormData;return t.append("file",e),{url:"".concat(p.o4,"/register"),method:"POST",body:t}},invalidatesTags:()=>["Connection Type"]})})});var m=e=>{let{isOpen:t,onClose:n,testId:d="connector-template-modal"}=e,p=(0,a.I0)(),[x,h]=(0,s.useState)(null),m=(0,i.pmc)(),{getRootProps:j,getInputProps:y,isDragActive:g}=(0,l.uI)({onDrop:e=>{var t;if("zip"!==(null===(t=e[0].name.split(".").pop())||void 0===t?void 0:t.toLowerCase())){m((0,u.Vo)("Only zip files are allowed."));return}h(e[0])}}),[v,{isLoading:b}]=f(),{refetch:C}=(0,c.$I)({search:""},{skip:!1}),T=async()=>{if(x)try{var e;await v(x).unwrap(),m((0,u.t5)("Integration template uploaded successfully."));let{data:t}=await C();p((0,c.fP)(null!==(e=null==t?void 0:t.items)&&void 0!==e?e:[])),n()}catch(e){m((0,u.Vo)((0,o.e$)(e)))}finally{h(null)}};return(0,r.jsxs)(i.u_l,{isOpen:t,onClose:n,size:"2xl",children:[(0,r.jsx)(i.ZAr,{}),(0,r.jsxs)(i.hzk,{textAlign:"left",p:2,"data-testid":d,children:[(0,r.jsx)(i.xBx,{children:"Upload integration template"}),(0,r.jsxs)(i.fef,{children:[(0,r.jsx)(i.xvT,{fontSize:"sm",mb:4,children:"Drag and drop your integration template zip file here, or click to browse your files."}),(0,r.jsxs)(i.xuv,{...j(),bg:g?"gray.100":"gray.50",border:"2px dashed",borderColor:g?"gray.300":"gray.200",borderRadius:"md",cursor:"pointer",minHeight:"150px",display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",children:[(0,r.jsx)("input",{...y()}),x?(0,r.jsx)(i.xvT,{children:x.name}):g?(0,r.jsx)(i.xvT,{children:"Drop the file here..."}):(0,r.jsx)(i.xvT,{children:"Click or drag and drop your file here."})]}),(0,r.jsx)(i.xvT,{fontSize:"sm",mt:4,children:"An integration template zip file must include a SaaS config and dataset, but may also contain an icon (.svg) as an optional file."})]}),(0,r.jsxs)(i.mzw,{className:"flex w-full justify-end gap-2",children:[(0,r.jsx)(i.wpx,{onClick:n,"data-testid":"cancel-btn",disabled:b,children:"Cancel"}),(0,r.jsx)(i.wpx,{type:"primary",htmlType:"submit",disabled:!x||b,onClick:T,"data-testid":"submit-btn",children:"Submit"})]})]})]})}},45751:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return R}});var r=n(24246),i=n(96356),s=n(41337),l=n(56351),a=n(86677),o=n(27378),u=n(45007),c=n(16134),d=n(77830),p=n(58754),x=n(16394),h=n(19904),f=n(44553),m=n(21702),j=n(96718),y=n(26788),g=()=>{let e=(0,u.I0)(),t=(0,o.useRef)(!1);(0,o.useEffect)(()=>(t.current=!0,()=>{e((0,i.zq)(y.gA)),t.current=!1}),[e]);let n=(0,o.useRef)([...y.yI].map(e=>{let[t,n]=e;return{value:null==n?void 0:n.value,label:t}}));return(0,r.jsx)(j.z,{allowClear:!1,options:n.current,onChange:t=>{e((0,i.zq)(t||y.gA))},defaultValue:"","data-testid":"connection-type-filter"})},v=n(79894),b=n.n(v),C=e=>{let{items:t}=e;return(0,r.jsx)(l.MIq,{columns:4,spacingX:"16px",spacingY:"16px",children:t.map(e=>(0,r.jsx)(b(),{href:{pathname:window.location.pathname,query:{step:2,connectorType:JSON.stringify(e)}},children:(0,r.jsx)(l.xuv,{boxShadow:"base",borderRadius:"5px",maxWidth:"331px",overflow:"hidden",_hover:{boxShadow:"lg",cursor:"pointer"},"data-testid":"".concat(e.identifier,"-item"),children:(0,r.jsxs)(l.kCb,{alignItems:"center",justifyContent:"start",pl:"24px",pr:"24px",color:"gray.700",fontSize:"14px",fontStyle:"normal",fontWeight:"600",lineHeight:"20px",h:"80px",children:[(0,r.jsx)(s.Z,{data:e}),(0,r.jsx)(l.xvT,{ml:"12px",children:e.human_readable})]})})},e.identifier))})},T=()=>{let e=(0,u.I0)(),t=(0,o.useRef)(!1),{step:n}=(0,c.C)(i.ZZ),s=(0,c.C)(i.pw),{data:a,isFetching:d,isLoading:p,isSuccess:j}=(0,i.$I)(s),[y,v]=(0,o.useState)(!1),b=(0,o.useCallback)(t=>{(0===t.target.value.length||t.target.value.length>1)&&e((0,i.qP)(t.target.value))},[e]),T=(0,o.useMemo)(()=>(0,x.Ds)(b,250),[b]),S=(0,o.useMemo)(()=>(null==a?void 0:a.items)&&[...a.items].sort((e,t)=>e.human_readable>t.human_readable?1:-1),[a]);return(0,o.useEffect)(()=>(t.current=!0,()=>{e((0,i.qP)("")),t.current=!1}),[e]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.kCb,{minWidth:"fit-content",children:(0,r.jsx)(l.xuv,{color:"gray.700",fontSize:"14px",maxHeight:"80px",maxWidth:"474px",mb:"24px",children:n.description})}),(0,r.jsxs)(l.kCb,{alignItems:"center",gap:"4",mb:"24px",minWidth:"fit-content",children:[(0,r.jsx)(g,{}),(0,r.jsxs)(l.BZy,{size:"sm",children:[(0,r.jsx)(l.Z8_,{pointerEvents:"none",children:(0,r.jsx)(l.PTu,{color:"gray.300",h:"17px",w:"17px"})}),(0,r.jsx)(l.IIB,{autoComplete:"off",autoFocus:!0,borderRadius:"md",name:"search",onChange:T,placeholder:"Search integrations",size:"sm",type:"search"})]}),(0,r.jsx)(h.ZP,{scopes:[m.Sh.CONNECTOR_TEMPLATE_REGISTER],children:(0,r.jsx)(l.wpx,{onClick:()=>{v(!0)},type:"primary",htmlType:"submit","data-testid":"upload-btn",children:"Upload connector"})})]}),(0,r.jsx)(f.Z,{isOpen:y,onClose:()=>v(!1)}),(d||p)&&(0,r.jsx)(l.M5Y,{children:(0,r.jsx)(l.$jN,{})}),j&&S?(0,r.jsx)(C,{items:S}):null]})},S=n(7617),w=n(11274),I=n(38212),k=n(50881),A=()=>{let e=(0,u.I0)(),t=(0,o.useRef)(!1),[n,s]=(0,o.useState)(!1),{connection:a,connectionOption:d}=(0,c.C)(i.ZZ),p=y.IM.find(e=>e.type===(null==d?void 0:d.type)),[x,h]=(0,o.useState)(null==p?void 0:p.options[0]),f=()=>{s(!0)},j=(0,o.useMemo)(()=>()=>{let e=[];return(null==p?void 0:p.options)&&p.options.forEach(t=>{let n;switch(t){case y.H5.CONNECTOR_PARAMETERS:n={label:t,content:(0,r.jsx)(w.s,{onConnectionCreated:f})};break;case y.H5.DATASET_CONFIGURATION:n=(null==a?void 0:a.key)?{label:t,content:(0,r.jsx)(I.Z,{})}:void 0;break;case y.H5.DSR_CUSTOMIZATION:n=(null==a?void 0:a.key)?{label:t,content:(0,r.jsx)(k.Z,{})}:void 0}n&&e.push(n)}),e},[null==a?void 0:a.key,null==p?void 0:p.options]),g=(0,o.useCallback)(t=>{switch(t){case y.H5.DATASET_CONFIGURATION:case y.H5.DSR_CUSTOMIZATION:e((0,i.nj)(y.Ss[3]));break;case y.H5.CONNECTOR_PARAMETERS:default:e((0,i.nj)(y.Ss[2]))}h(t)},[e]);return(0,o.useEffect)(()=>(t.current=!0,()=>{t.current=!1,e((0,i.mc)())}),[e]),(0,o.useEffect)(()=>{(null==a?void 0:a.key)&&(g((null==d?void 0:d.type)!==m.Zi.MANUAL?y.H5.DATASET_CONFIGURATION:y.H5.DSR_CUSTOMIZATION),n&&s(!1))},[n,null==a?void 0:a.key,null==d?void 0:d.type,null==p?void 0:p.options,g]),(0,r.jsx)(l.gCW,{alignItems:"stretch",gap:"18px",children:(0,r.jsx)(S.Z,{data:j(),flexGrow:1,index:null==p?void 0:p.options.findIndex(e=>e===x),isLazy:!0})})},N=n(3968);let{Title:_}=l.AntTypography;var E=()=>{let e=(0,u.I0)(),t=(0,a.useRouter)(),{connectorType:n,step:x}=t.query,{connection:h,connectionOption:f,step:m}=(0,c.C)(i.ZZ);(0,o.useEffect)(()=>{if(n&&e((0,i.yA)(JSON.parse(n))),t.query.step){let t=y.Ss.find(e=>e.stepId===Number(x));e((0,i.nj)(t||y.Ss[1]))}return!t.query.id&&(null==h?void 0:h.key)&&(0,N.S)(h.key,m.href),()=>{}},[null==h?void 0:h.key,n,x,e,t.query.id,t.query.step,m.href]);let j=(0,o.useCallback)(e=>{let t="";switch(e.stepId){case 2:case 3:t=e.label.replace("{identifier}",f.human_readable);break;default:t=e.label}return t},[f]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.Z,{heading:"Connections",breadcrumbItems:[{title:"Unlinked connections",href:d.JR},{title:"New connection"}],children:(0,r.jsx)(_,{level:3,style:{marginBottom:0},className:"mt-4",children:f?(0,r.jsxs)(l.vyj,{children:[(0,r.jsx)(s.Z,{data:f}),j(m)]}):j(m)})}),(()=>{switch(m.stepId){case 1:default:return(0,r.jsx)(T,{});case 2:case 3:return(0,r.jsx)(A,{})}})()]})},O=n(1226),R=()=>(0,r.jsx)(O.Z,{children:(0,r.jsx)(E,{})})}},function(e){e.O(0,[3005,4833,
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6050],{91747:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/datastore-connection/new",function(){return n(45751)}])},19904:function(e,t,n){"use strict";n.d(t,{Tg:function(){return l}});var r=n(24246),i=n(16134),s=n(31793);let l=e=>(0,i.C)(s.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:n}=e;return l(t)?(0,r.jsx)(r.Fragment,{children:n}):null}},96718:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n(24246),i=n(56351);let s=e=>{let{...t}=e,n="multiple"===t.mode;return(0,r.jsx)(i.WPr,{defaultActiveFirstOption:!1,maxTagCount:"responsive",allowClear:!0,dropdownStyle:n?void 0:{width:"auto",minWidth:"200px"},className:"w-auto","data-testid":"filter-select",...t})}},46628:function(e,t,n){"use strict";n.d(t,{MA:function(){return a},Vo:function(){return u},t5:function(){return o}});var r=n(24246),i=n(56351);let s=e=>{let{children:t,title:n="Success"}=e;return(0,r.jsxs)(i.xvT,{"data-testid":"toast-success-msg",children:[(0,r.jsxs)("strong",{children:[n,":"]})," ",t]})},l=e=>{let{children:t}=e;return(0,r.jsxs)(i.xvT,{"data-testid":"toast-error-msg",children:[(0,r.jsx)("strong",{children:"Error:"})," ",t]})},a={variant:"subtle",position:"top",description:"",duration:5e3,status:"success",isClosable:!0},o=(e,t)=>{let n=(0,r.jsx)(s,{title:t,children:e});return{...a,description:n}},u=e=>{let t=(0,r.jsx)(l,{children:e});return{...a,description:t,status:"error"}}},44553:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(24246),i=n(56351),s=n(27378),l=n(44833),a=n(45007),o=n(812),u=n(46628),c=n(20682),d=n(89319),p=n(52253),x=n(78780);let{reducer:h}=(0,d.oM)({name:"connectorTemplate",initialState:{},reducers:{}}),{useRegisterConnectorTemplateMutation:f}=x.u.injectEndpoints({endpoints:e=>({registerConnectorTemplate:e.mutation({query:e=>{let t=new FormData;return t.append("file",e),{url:"".concat(p.o4,"/register"),method:"POST",body:t}},invalidatesTags:()=>["Connection Type"]})})});var m=e=>{let{isOpen:t,onClose:n,testId:d="connector-template-modal"}=e,p=(0,a.I0)(),[x,h]=(0,s.useState)(null),m=(0,i.pmc)(),{getRootProps:j,getInputProps:y,isDragActive:g}=(0,l.uI)({onDrop:e=>{var t;if("zip"!==(null===(t=e[0].name.split(".").pop())||void 0===t?void 0:t.toLowerCase())){m((0,u.Vo)("Only zip files are allowed."));return}h(e[0])}}),[v,{isLoading:b}]=f(),{refetch:C}=(0,c.$I)({search:""},{skip:!1}),T=async()=>{if(x)try{var e;await v(x).unwrap(),m((0,u.t5)("Integration template uploaded successfully."));let{data:t}=await C();p((0,c.fP)(null!==(e=null==t?void 0:t.items)&&void 0!==e?e:[])),n()}catch(e){m((0,u.Vo)((0,o.e$)(e)))}finally{h(null)}};return(0,r.jsxs)(i.u_l,{isOpen:t,onClose:n,size:"2xl",children:[(0,r.jsx)(i.ZAr,{}),(0,r.jsxs)(i.hzk,{textAlign:"left",p:2,"data-testid":d,children:[(0,r.jsx)(i.xBx,{children:"Upload integration template"}),(0,r.jsxs)(i.fef,{children:[(0,r.jsx)(i.xvT,{fontSize:"sm",mb:4,children:"Drag and drop your integration template zip file here, or click to browse your files."}),(0,r.jsxs)(i.xuv,{...j(),bg:g?"gray.100":"gray.50",border:"2px dashed",borderColor:g?"gray.300":"gray.200",borderRadius:"md",cursor:"pointer",minHeight:"150px",display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",children:[(0,r.jsx)("input",{...y()}),x?(0,r.jsx)(i.xvT,{children:x.name}):g?(0,r.jsx)(i.xvT,{children:"Drop the file here..."}):(0,r.jsx)(i.xvT,{children:"Click or drag and drop your file here."})]}),(0,r.jsx)(i.xvT,{fontSize:"sm",mt:4,children:"An integration template zip file must include a SaaS config and dataset, but may also contain an icon (.svg) as an optional file."})]}),(0,r.jsxs)(i.mzw,{className:"flex w-full justify-end gap-2",children:[(0,r.jsx)(i.wpx,{onClick:n,"data-testid":"cancel-btn",disabled:b,children:"Cancel"}),(0,r.jsx)(i.wpx,{type:"primary",htmlType:"submit",disabled:!x||b,onClick:T,"data-testid":"submit-btn",children:"Submit"})]})]})]})}},45751:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return R}});var r=n(24246),i=n(96356),s=n(41337),l=n(56351),a=n(86677),o=n(27378),u=n(45007),c=n(16134),d=n(77830),p=n(58754),x=n(16394),h=n(19904),f=n(44553),m=n(21702),j=n(96718),y=n(26788),g=()=>{let e=(0,u.I0)(),t=(0,o.useRef)(!1);(0,o.useEffect)(()=>(t.current=!0,()=>{e((0,i.zq)(y.gA)),t.current=!1}),[e]);let n=(0,o.useRef)([...y.yI].map(e=>{let[t,n]=e;return{value:null==n?void 0:n.value,label:t}}));return(0,r.jsx)(j.z,{allowClear:!1,options:n.current,onChange:t=>{e((0,i.zq)(t||y.gA))},defaultValue:"","data-testid":"connection-type-filter"})},v=n(79894),b=n.n(v),C=e=>{let{items:t}=e;return(0,r.jsx)(l.MIq,{columns:4,spacingX:"16px",spacingY:"16px",children:t.map(e=>(0,r.jsx)(b(),{href:{pathname:window.location.pathname,query:{step:2,connectorType:JSON.stringify(e)}},children:(0,r.jsx)(l.xuv,{boxShadow:"base",borderRadius:"5px",maxWidth:"331px",overflow:"hidden",_hover:{boxShadow:"lg",cursor:"pointer"},"data-testid":"".concat(e.identifier,"-item"),children:(0,r.jsxs)(l.kCb,{alignItems:"center",justifyContent:"start",pl:"24px",pr:"24px",color:"gray.700",fontSize:"14px",fontStyle:"normal",fontWeight:"600",lineHeight:"20px",h:"80px",children:[(0,r.jsx)(s.Z,{data:e}),(0,r.jsx)(l.xvT,{ml:"12px",children:e.human_readable})]})})},e.identifier))})},T=()=>{let e=(0,u.I0)(),t=(0,o.useRef)(!1),{step:n}=(0,c.C)(i.ZZ),s=(0,c.C)(i.pw),{data:a,isFetching:d,isLoading:p,isSuccess:j}=(0,i.$I)(s),[y,v]=(0,o.useState)(!1),b=(0,o.useCallback)(t=>{(0===t.target.value.length||t.target.value.length>1)&&e((0,i.qP)(t.target.value))},[e]),T=(0,o.useMemo)(()=>(0,x.Ds)(b,250),[b]),S=(0,o.useMemo)(()=>(null==a?void 0:a.items)&&[...a.items].sort((e,t)=>e.human_readable>t.human_readable?1:-1),[a]);return(0,o.useEffect)(()=>(t.current=!0,()=>{e((0,i.qP)("")),t.current=!1}),[e]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.kCb,{minWidth:"fit-content",children:(0,r.jsx)(l.xuv,{color:"gray.700",fontSize:"14px",maxHeight:"80px",maxWidth:"474px",mb:"24px",children:n.description})}),(0,r.jsxs)(l.kCb,{alignItems:"center",gap:"4",mb:"24px",minWidth:"fit-content",children:[(0,r.jsx)(g,{}),(0,r.jsxs)(l.BZy,{size:"sm",children:[(0,r.jsx)(l.Z8_,{pointerEvents:"none",children:(0,r.jsx)(l.PTu,{color:"gray.300",h:"17px",w:"17px"})}),(0,r.jsx)(l.IIB,{autoComplete:"off",autoFocus:!0,borderRadius:"md",name:"search",onChange:T,placeholder:"Search integrations",size:"sm",type:"search"})]}),(0,r.jsx)(h.ZP,{scopes:[m.Sh.CONNECTOR_TEMPLATE_REGISTER],children:(0,r.jsx)(l.wpx,{onClick:()=>{v(!0)},type:"primary",htmlType:"submit","data-testid":"upload-btn",children:"Upload connector"})})]}),(0,r.jsx)(f.Z,{isOpen:y,onClose:()=>v(!1)}),(d||p)&&(0,r.jsx)(l.M5Y,{children:(0,r.jsx)(l.$jN,{})}),j&&S?(0,r.jsx)(C,{items:S}):null]})},S=n(7617),w=n(11274),I=n(38212),k=n(50881),A=()=>{let e=(0,u.I0)(),t=(0,o.useRef)(!1),[n,s]=(0,o.useState)(!1),{connection:a,connectionOption:d}=(0,c.C)(i.ZZ),p=y.IM.find(e=>e.type===(null==d?void 0:d.type)),[x,h]=(0,o.useState)(null==p?void 0:p.options[0]),f=()=>{s(!0)},j=(0,o.useMemo)(()=>()=>{let e=[];return(null==p?void 0:p.options)&&p.options.forEach(t=>{let n;switch(t){case y.H5.CONNECTOR_PARAMETERS:n={label:t,content:(0,r.jsx)(w.s,{onConnectionCreated:f})};break;case y.H5.DATASET_CONFIGURATION:n=(null==a?void 0:a.key)?{label:t,content:(0,r.jsx)(I.Z,{})}:void 0;break;case y.H5.DSR_CUSTOMIZATION:n=(null==a?void 0:a.key)?{label:t,content:(0,r.jsx)(k.Z,{})}:void 0}n&&e.push(n)}),e},[null==a?void 0:a.key,null==p?void 0:p.options]),g=(0,o.useCallback)(t=>{switch(t){case y.H5.DATASET_CONFIGURATION:case y.H5.DSR_CUSTOMIZATION:e((0,i.nj)(y.Ss[3]));break;case y.H5.CONNECTOR_PARAMETERS:default:e((0,i.nj)(y.Ss[2]))}h(t)},[e]);return(0,o.useEffect)(()=>(t.current=!0,()=>{t.current=!1,e((0,i.mc)())}),[e]),(0,o.useEffect)(()=>{(null==a?void 0:a.key)&&(g((null==d?void 0:d.type)!==m.Zi.MANUAL?y.H5.DATASET_CONFIGURATION:y.H5.DSR_CUSTOMIZATION),n&&s(!1))},[n,null==a?void 0:a.key,null==d?void 0:d.type,null==p?void 0:p.options,g]),(0,r.jsx)(l.gCW,{alignItems:"stretch",gap:"18px",children:(0,r.jsx)(S.Z,{data:j(),flexGrow:1,index:null==p?void 0:p.options.findIndex(e=>e===x),isLazy:!0})})},N=n(3968);let{Title:_}=l.AntTypography;var E=()=>{let e=(0,u.I0)(),t=(0,a.useRouter)(),{connectorType:n,step:x}=t.query,{connection:h,connectionOption:f,step:m}=(0,c.C)(i.ZZ);(0,o.useEffect)(()=>{if(n&&e((0,i.yA)(JSON.parse(n))),t.query.step){let t=y.Ss.find(e=>e.stepId===Number(x));e((0,i.nj)(t||y.Ss[1]))}return!t.query.id&&(null==h?void 0:h.key)&&(0,N.S)(h.key,m.href),()=>{}},[null==h?void 0:h.key,n,x,e,t.query.id,t.query.step,m.href]);let j=(0,o.useCallback)(e=>{let t="";switch(e.stepId){case 2:case 3:t=e.label.replace("{identifier}",f.human_readable);break;default:t=e.label}return t},[f]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.Z,{heading:"Connections",breadcrumbItems:[{title:"Unlinked connections",href:d.JR},{title:"New connection"}],children:(0,r.jsx)(_,{level:3,style:{marginBottom:0},className:"mt-4",children:f?(0,r.jsxs)(l.vyj,{children:[(0,r.jsx)(s.Z,{data:f}),j(m)]}):j(m)})}),(()=>{switch(m.stepId){case 1:default:return(0,r.jsx)(T,{});case 2:case 3:return(0,r.jsx)(A,{})}})()]})},O=n(1226),R=()=>(0,r.jsx)(O.Z,{children:(0,r.jsx)(E,{})})}},function(e){e.O(0,[3005,4833,5574,9767,2888,9774,179],function(){return e(e.s=91747)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1500],{50697:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/integrations/[id]",function(){return n(327)}])},67991:function(e,t,n){"use strict";n.d(t,{Od:function(){return o},QZ:function(){return a}});var i=n(27378);let a=e=>{let{items:t,selected:n,onChange:i}=e,a=t.every(e=>n.includes(e.id))&&!!t.length;return{allSelected:a,someSelected:t.some(e=>n.includes(e.id))&&!!t.length,handleToggleAll:()=>{a?i([]):i(t.map(e=>e.id))},handleToggleSelection:e=>{n.includes(e)?i(n.filter(t=>t!==e)):i([...n,e])}}},o=e=>{let{initialSelected:t,initialExcluded:n,initialAllSelected:a,itemCount:o}=e,[s,l]=(0,i.useState)(t),[r,c]=(0,i.useState)(n),[d,u]=(0,i.useState)(a||s.length===o),m=!!s.length||!!r.length;return{selected:s,excluded:r,allSelected:d,someSelected:m,handleToggleAll:()=>{d?(c([]),r.length||u(!1)):(l([]),u(!0))},handleToggleItemSelected:e=>{if(d)c(r.includes(e)?r.filter(t=>t!==e):[...r,e]);else{let t=s.includes(e)?s.filter(t=>t!==e):[...s,e];l(t),t.length===o&&u(!0)}}}}},79494:function(e,t,n){"use strict";var i=n(24246),a=n(56351);t.Z=e=>{let{title:t,icon:n,type:o,...s}=e;return(0,i.jsx)(a.wpx,{size:"small",type:o,"data-testid":"action-".concat(t),icon:n,iconPosition:"start",...s,children:t})}},327:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return er}});var i=n(24246),a=n(56351),o=n(86677),s=n(7617),l=n(77213),r=n(77830),c=n(58754),d=n(94725),u=n(45216),m=n(7621),x=n(92222),g=n(59003),h=n(27378),p=n(18225);let f=(0,a.IUT)({displayName:"MonitorIcon",viewBox:"0 0 12 12",path:(0,i.jsx)("path",{d:"M1.33333 2.21875C1.15 2.21875 1 2.37344 1 2.5625V5.65625H3.66667C3.84167 5.65625 4.00417 5.75078 4.09583 5.90762L4.62708 6.8207L5.88542 4.22324C5.96667 4.05566 6.13125 3.94609 6.3125 3.93965C6.49375 3.9332 6.66667 4.02773 6.76042 4.18887L7.61458 5.65625H8.83333C9.11042 5.65625 9.33333 5.88613 9.33333 6.17188C9.33333 6.45762 9.11042 6.6875 8.83333 6.6875H7.33333C7.15833 6.6875 6.99583 6.59297 6.90417 6.43613L6.37292 5.52305L5.11458 8.12051C5.03333 8.28809 4.86875 8.39766 4.6875 8.4041C4.50625 8.41055 4.33333 8.31602 4.23958 8.15488L3.38542 6.6875H1V9.4375C1 9.62656 1.15 9.78125 1.33333 9.78125H10.6667C10.85 9.78125 11 9.62656 11 9.4375V2.5625C11 2.37344 10.85 2.21875 10.6667 2.21875H1.33333ZM0 2.5625C0 1.8041 0.597917 1.1875 1.33333 1.1875H10.6667C11.4021 1.1875 12 1.8041 12 2.5625V9.4375C12 10.1959 11.4021 10.8125 10.6667 10.8125H1.33333C0.597917 10.8125 0 10.1959 0 9.4375V2.5625Z",fill:"currentColor"})});var j=n(14481),y=n(72625),v=n(70675),b=n(812),_=e=>{let{defaultSuccessMsg:t,defaultErrorMsg:n}=e,i=(0,a.pmc)();return{toastResult:e=>{(0,b.D4)(e)?i({status:"error",description:(0,b.e$)(e.error,n)}):i({status:"success",description:t})}}},C=n(8133),w=n(46628),S=n(67991),k=n(91613);let T=(0,x.Cl)();var R=e=>{let{items:t,totalItemCount:n,selected:o,excluded:s,allSelected:l,someSelected:r,moreLoading:c,handleToggleSelection:d,handleToggleAll:u,onMoreClick:m}=e,f=t.map(e=>({id:e,isSelected:o.includes(e),isExcluded:s.includes(e)})),y=(0,h.useMemo)(()=>[T.display({id:"select",cell:e=>{let{row:t}=e;return(0,i.jsx)(j.k,{isChecked:t.original.isSelected||l&&!t.original.isExcluded,onChange:()=>d(t.original.id),dataTestId:"".concat(t.original.id,"-checkbox")})},header:()=>(0,i.jsx)(j.k,{isChecked:l,isIndeterminate:r,onChange:u,dataTestId:"select-all-checkbox"}),size:1}),T.accessor(e=>e.id,{id:"id",cell:e=>(0,i.jsx)(j.G3,{value:e.getValue()}),header:e=>(0,i.jsx)(j.Rr,{value:"Scope",...e})})],[d,u,l,r]),v=(0,g.b7)({getCoreRowModel:(0,x.sC)(),getRowId:e=>e.id,manualPagination:!0,data:f,columns:y,columnResizeMode:"onChange"});return(0,i.jsx)(a.kCb,{w:"full",direction:"column",maxH:"lg",children:(0,i.jsx)(j.ZK,{tableInstance:v,onRowClick:e=>d(e.id),footer:!!m&&(0,i.jsx)(j.vr,{totalColumns:2,children:(0,i.jsx)(a.kCb,{justify:"center",children:c?(0,i.jsx)(p.Z,{size:"xs"}):(0,i.jsxs)(a.kCb,{align:"center",children:[(0,i.jsxs)(a.xvT,{fontSize:"xs",mr:4,children:["Showing ",t.length," of ",n]}),(0,i.jsx)(a.wpx,{onClick:m,size:"small","data-testid":"load-more-btn",children:"Load more..."})]})})})})})};let q={items:[],total:1,page:1,size:50,pages:0};var E=(e,t)=>{let[n,i]=(0,h.useState)(2),{data:a,isLoading:o}=(0,v.oN)({page:1,size:25,connection_config_key:e}),s=(0,h.useRef)(o),{items:l,total:r}=null!=a?a:q,c=!!(null==a?void 0:a.pages)&&n>a.pages,[d,u]=(0,h.useState)(l);(0,h.useEffect)(()=>{s.current=o,u(l)},[o,l]),(0,h.useEffect)(()=>{let e=setTimeout(()=>{s.current&&t&&t()},5e3);return()=>clearTimeout(e)},[]);let[m,{isLoading:x,isFetching:g}]=(0,v.j3)(),p=x||g||o,f=async()=>{var t,a;if(c)return;let o=await m({connection_config_key:e,size:25,page:n+1});o.isError||(i(n+1),u([...d,...null!==(a=null===(t=o.data)||void 0===t?void 0:t.items)&&void 0!==a?a:[]]))};return{databases:d,totalDatabases:r,fetchMore:f,initialIsLoading:o,isLoading:p,reachedEnd:c}},M=e=>{var t;let{monitor:n,isEditing:o,isSubmitting:s,integrationKey:l,onSubmit:r,onClose:c}=e,d=(0,a.pmc)(),{databases:u,totalDatabases:m,fetchMore:x,reachedEnd:g,isLoading:h,initialIsLoading:f}=E(l,()=>{r({...n,databases:[]}),d({...w.MA,status:"info",description:"Loading resources is taking longer than expected. The monitor has been saved and is tracking all available resources. You can return later to limit its scope if needed"}),c()}),j=null!==(t=null==n?void 0:n.databases)&&void 0!==t?t:[],{selected:y,excluded:v,allSelected:b,someSelected:_,handleToggleItemSelected:C,handleToggleAll:T}=(0,S.Od)({initialSelected:j,initialExcluded:[],initialAllSelected:o&&!j.length,itemCount:m}),q=!b&&0===y.length;return f?(0,i.jsx)(p.Z,{my:12}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a.kCb,{p:4,direction:"column",children:[(0,i.jsxs)(a.kCb,{direction:"row",mb:4,gap:1,align:"center",children:[(0,i.jsx)(a.xvT,{fontSize:"sm",children:"Select projects to monitor"}),(0,i.jsx)(k.Z,{label:"Selecting a project will monitor all current and future datasets within that project."})]}),(0,i.jsx)(R,{items:u,totalItemCount:m,selected:y,excluded:v,allSelected:b,someSelected:_,moreLoading:h,handleToggleSelection:C,handleToggleAll:T,onMoreClick:g?void 0:x})]}),(0,i.jsxs)("div",{className:"mt-4 flex w-full justify-between",children:[(0,i.jsx)(a.wpx,{onClick:c,children:"Cancel"}),(0,i.jsx)(a.ua7,{label:"Select one or more projects to save",isDisabled:!q,children:(0,i.jsx)(a.wpx,{onClick:()=>{r({...n,excluded_databases:v,databases:b?[]:y})},loading:s,type:"primary","data-testid":"save-btn",disabled:q,children:"Save"})})]})]})},D=n(19508),N=n(96063),A=n(34090),L=n(59389),Z=n(97181),O=n(40324),z=n(21702),I=e=>{var t,n;let{monitor:s,integrationOption:l,isSubmitting:r,databasesAvailable:c,onClose:d,onAdvance:u,onSubmit:m}=e,x=!!s,{query:g}=(0,o.useRouter)(),h=Array.isArray(g.id)?g.id[0]:g.id,p=L.Ry().shape({name:L.Z_().required().label("Name"),execution_frequency:L.Z_().nullable().label("Execution frequency"),execution_start_date:L.hT().nullable().label("Execution start date")}),f=(null==s?void 0:s.execution_start_date)?(0,D.D)(s.execution_start_date):Date.now(),j={name:null!==(t=null==s?void 0:s.name)&&void 0!==t?t:"",execution_start_date:(0,N.WU)(f,"yyyy-MM-dd'T'HH:mm"),execution_frequency:null!==(n=null==s?void 0:s.execution_frequency)&&void 0!==n?n:z.hV.MONTHLY},y=(0,b.MM)(z.hV);return(0,i.jsx)(A.J9,{initialValues:j,enableReinitialize:!0,onSubmit:e=>{let t=e.execution_frequency!==z.hV.NOT_SCHEDULED?{execution_frequency:e.execution_frequency,execution_start_date:new Date(e.execution_start_date).toISOString()}:{execution_frequency:z.hV.NOT_SCHEDULED,execution_start_date:void 0},n=x?{...s,...t,name:e.name}:{...t,name:e.name,connection_config_key:h,classify_params:{num_samples:25,num_threads:1}};l.identifier===z.Rj.DYNAMODB&&(n.datasource_params={single_dataset:!1}),c?u(n):m(n)},validationSchema:p,children:e=>{let{values:t,isValid:n,resetForm:o}=e;return(0,i.jsx)(A.l0,{children:(0,i.jsxs)(a.gCW,{alignItems:"start",spacing:6,mt:4,children:[(0,i.jsx)(O.j0,{name:"name",id:"name",label:"Name",isRequired:!0,variant:"stacked"}),(0,i.jsx)(Z.d,{name:"execution_frequency",id:"execution_frequency",tooltip:"Interval to run the monitor automatically after the start date",options:y,label:"Automatic execution frequency",layout:"stacked"}),(0,i.jsx)(O.YL,{name:"execution_start_date",label:"Automatic execution start time",disabled:t.execution_frequency===z.hV.NOT_SCHEDULED,id:"execution_start_date"}),(0,i.jsxs)("div",{className:"flex w-full justify-between",children:[(0,i.jsx)(a.wpx,{onClick:()=>{o(),d()},children:"Cancel"}),(0,i.jsx)(a.wpx,{htmlType:"submit",type:"primary",disabled:!n,loading:r,"data-testid":"next-btn",children:c?"Next":"Save"})]})]})})}})},V=n(16134),H=n(8411),P=n(3968),W=n(64781),Y=n(60325);let F=L.Ry().shape({name:L.Z_().required().label("Name"),execution_frequency:L.Z_().nullable().label("Execution frequency"),execution_start_date:L.hT().nullable().label("Execution start date")});var U=e=>{var t;let{monitor:n,url:s,onClose:l,onSubmit:r}=e,{query:c}=(0,o.useRouter)(),d=Array.isArray(c.id)?c.id[0]:c.id,u=(null==n?void 0:n.execution_start_date)?(0,D.D)(n.execution_start_date):Date.now();(0,W.QM)();let m=(0,V.C)(W.P8),x=[...(0,Y.TK)(m.locations),...(0,Y.TK)(m.location_groups)].map(e=>({value:e,label:H.Z8[e]})),g={name:(null==n?void 0:n.name)||"",execution_frequency:(null==n?void 0:n.execution_frequency)||z.hV.MONTHLY,execution_start_date:(0,N.WU)(u,"yyyy-MM-dd'T'HH:mm"),url:s,connection_config_key:d,datasource_params:null!==(t=null==n?void 0:n.datasource_params)&&void 0!==t?t:{locations:[]}},h=async e=>{var t,i;let a=e.execution_frequency!==z.hV.NOT_SCHEDULED?{execution_frequency:e.execution_frequency,execution_start_date:new Date(e.execution_start_date).toISOString()}:{execution_frequency:z.hV.NOT_SCHEDULED,execution_start_date:void 0};r({...n,...e,...a,key:(null==n?void 0:n.key)||(0,P.E)(e.name),classify_params:(null==n?void 0:n.classify_params)||{},datasource_params:{locations:null!==(i=null===(t=e.datasource_params)||void 0===t?void 0:t.locations)&&void 0!==i?i:[],exclude_domains:[]},connection_config_key:d})};return(0,i.jsxs)(a.jqI,{vertical:!0,className:"pt-4",children:[(0,i.jsx)(a.xuv,{p:4,mb:4,border:"1px solid",borderColor:"gray.200",bgColor:"gray.50",borderRadius:"md",children:(0,i.jsx)(a.xvT,{fontSize:"sm",children:"This monitor allows you to simulate and verify user consent actions, such as 'accept,' 'reject,' or 'opt-out,' on consent experiences. For each detected activity, the monitor will record whether it occurred before or after the configured user actions, ensuring compliance with user consent choices."})}),(0,i.jsx)(A.J9,{initialValues:g,enableReinitialize:!0,onSubmit:h,validationSchema:F,children:e=>{let{values:t,resetForm:n}=e;return(0,i.jsx)(A.l0,{children:(0,i.jsxs)(a.jqI,{vertical:!0,gap:"middle",children:[(0,i.jsx)(O.j0,{name:"name",id:"name",label:"Name",isRequired:!0,variant:"stacked"}),(0,i.jsx)(O.j0,{name:"url",id:"url",label:"URL",isRequired:!0,disabled:!0,variant:"stacked"}),(0,i.jsx)(Z.d,{mode:"multiple",isRequired:!0,name:"datasource_params.locations",id:"locations",label:"Locations",options:x,optionFilterProp:"label",tooltip:"Specify the region(s) to include in the scan. The monitor will scan the same URL across these locations to identify tracking technologies, such as cookies served by ad tech vendors.",layout:"stacked"}),(0,i.jsx)(Z.d,{name:"execution_frequency",id:"execution_frequency",options:(0,b.MM)(z.hV),label:"Automatic execution frequency",layout:"stacked"}),(0,i.jsx)(O.YL,{name:"execution_start_date",label:"Automatic execution start time",disabled:t.execution_frequency===z.hV.NOT_SCHEDULED,id:"execution_start_date",tooltip:"Set the start time for the scan. For optimal performance and minimal disruption, schedule scans during periods of low traffic."}),(0,i.jsxs)(a.jqI,{className:"mt-2 justify-between",children:[(0,i.jsx)(a.wpx,{onClick:()=>{n(),l()},children:"Cancel"}),(0,i.jsx)(a.wpx,{type:"primary",htmlType:"submit","data-testid":"save-btn",children:"Save"})]})]})})}})]})},K=n(31883),B=e=>{let{isOpen:t,onClose:n,formStep:o,onAdvance:s,monitor:l,isEditing:r,integration:c,integrationOption:d}=e,[u,{isLoading:m}]=(0,v.Fy)(),{data:x}=(0,v.oN)({page:1,size:25,connection_config_key:c.key}),g=!!x&&!!x.total,h=(0,a.pmc)(),{toastResult:f}=_({defaultSuccessMsg:"Monitor ".concat(r?"updated":"created"," successfully"),defaultErrorMsg:"A problem occurred while ".concat(r?"updating":"creating"," this monitor")}),j=async e=>{let t;let i=setTimeout(()=>{t||(h({...w.MA,status:"info",description:"Saving this monitor is taking longer than expected. Fides will continue processing it in the background, and you can check back later to view the updates."}),n())},5e3);(t=await u(e))&&(clearTimeout(i),f(t),(0,K.D4)(t)||n())};return d.identifier===z.Rj.WEBSITE?(0,i.jsx)(C.Z,{title:(null==l?void 0:l.name)?"Configure ".concat(l.name):"Configure website monitor",isOpen:t,onClose:n,children:(0,i.jsx)(U,{monitor:l,url:c.secrets.url,onClose:n,onSubmit:j})}):(0,i.jsxs)(C.Z,{title:(null==l?void 0:l.name)?"Configure ".concat(l.name):"Configure discovery monitor",isOpen:t,onClose:n,children:[0===o&&(0,i.jsx)(I,{monitor:l,onClose:n,onAdvance:s,onSubmit:j,isSubmitting:m,databasesAvailable:g,integrationOption:d}),1===o&&(l?(0,i.jsx)(M,{monitor:l,isEditing:r,isSubmitting:m,onSubmit:j,onClose:n,integrationKey:c.key}):(0,i.jsx)(p.Z,{}))]})},G=n(58452),J=n(79494),Q=e=>{let{monitorId:t,onEditClick:n}=e,[o]=(0,v.Sb)(),{toastResult:s}=_({defaultErrorMsg:"A problem occurred deleting this monitor",defaultSuccessMsg:"Monitor deleted successfully"}),[l,{isLoading:r}]=(0,v.V9)(),{toastResult:c}=_({defaultErrorMsg:"A problem occurred initiating monitor execution",defaultSuccessMsg:"Monitor execution successfully started"}),d=async()=>{s(await o({monitor_config_id:t}))},{isOpen:u,onOpen:m,onClose:x}=(0,a.qY0)(),g=async()=>{c(await l({monitor_config_id:t}))};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(G.Z,{isOpen:u,onClose:x,onConfirm:d,title:"Delete monitor",message:"Are you sure you want to delete this discovery monitor?",continueButtonText:"Delete",isCentered:!0}),(0,i.jsxs)("div",{className:"flex gap-2",children:[(0,i.jsx)(a.ua7,{label:"Edit",children:(0,i.jsx)(a.wpx,{onClick:n,size:"small",icon:(0,i.jsx)(a.dY8,{}),"data-testid":"edit-monitor-btn","aria-label":"Edit monitor"})}),(0,i.jsx)(a.ua7,{label:"Delete",children:(0,i.jsx)(a.wpx,{onClick:m,size:"small",icon:(0,i.jsx)(a.pJl,{}),"aria-label":"Delete monitor","data-testid":"delete-monitor-btn"})}),(0,i.jsx)(J.Z,{onClick:g,title:"Scan",loading:r})]})]})};let $=e=>{let{row:t,getValue:n}=e,[a]=(0,v.Fy)(),o=async e=>a({...t.original,enabled:e}),s=n();return(0,i.jsx)(y.S1,{enabled:s,onToggle:o,title:"Disabling monitor",message:"You are about to disable this monitor. If you continue, it will no longer scan automatically."})},X={items:[],total:0,page:1,size:50,pages:0},ee=(0,x.Cl)(),et=e=>{let{onAddClick:t}=e;return(0,i.jsx)(a.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"no-results-notice",alignSelf:"center",margin:"auto",children:(0,i.jsxs)(a.gCW,{children:[(0,i.jsx)(a.xvT,{fontSize:"md",fontWeight:"600",children:"No monitors"}),(0,i.jsx)(a.xvT,{fontSize:"sm",children:'You have not configured any data discovery monitors. Click "Add monitor" to configure data discovery now.'}),(0,i.jsx)(a.wpx,{onClick:t,type:"primary",children:"Add monitor"})]})})};var en=e=>{let{integration:t,integrationOption:n}=e,{PAGE_SIZES:o,pageSize:s,setPageSize:l,onPreviousPageClick:r,isPreviousPageDisabled:c,onNextPageClick:d,isNextPageDisabled:u,startRange:m,endRange:b,pageIndex:_,setTotalPages:C}=(0,j.oi)(),{isLoading:w,isFetching:S,data:k}=(0,v.Fu)({page:_,size:s,connection_config_key:t.key}),T=(0,a.qY0)(),[R,q]=(0,h.useState)(void 0),[E,M]=(0,h.useState)(!1),[D,N]=(0,h.useState)(0),A=e=>{q(e),M(!0),T.onOpen()},L=null!=k?k:X,{items:Z,total:O,pages:I}=(0,h.useMemo)(()=>L,[L]);(0,h.useEffect)(()=>{C(I)},[I,C]);let V=(0,h.useMemo)(()=>[ee.accessor(e=>e.name,{id:"name",cell:e=>(0,i.jsx)(j.G3,{value:e.getValue()}),header:e=>(0,i.jsx)(j.Rr,{value:"Name",...e})}),ee.accessor(e=>e.databases,{id:"projects",cell:e=>0===e.getValue().length?(0,i.jsx)(j.G3,{value:"All projects"}):(0,i.jsx)(j.WP,{suffix:"Projects",value:e.getValue(),...e,cellState:{isExpanded:!0}}),header:e=>(0,i.jsx)(j.Rr,{value:"Scope",...e})}),ee.accessor(e=>e.execution_frequency,{id:"frequency",cell:e=>{var t;return(0,i.jsx)(j.G3,{value:null!==(t=e.getValue())&&void 0!==t?t:"Not scheduled"})},header:e=>(0,i.jsx)(j.Rr,{value:"Scan frequency",...e})}),ee.accessor(e=>e.last_monitored,{id:"last_monitored",cell:e=>(0,i.jsx)(y.Cy,{time:e.getValue()}),header:e=>(0,i.jsx)(j.Rr,{value:"Last scan",...e})}),ee.accessor(e=>e.enabled,{id:"status",cell:$,header:e=>(0,i.jsx)(j.Rr,{value:"Status",...e}),size:0,meta:{disableRowClick:!0}}),ee.display({id:"action",cell:e=>(0,i.jsx)(Q,{onEditClick:()=>A(e.row.original),monitorId:e.row.original.key}),header:"Actions",meta:{disableRowClick:!0}})],[]),H=(0,g.b7)({getCoreRowModel:(0,x.sC)(),getGroupedRowModel:(0,x.qe)(),getExpandedRowModel:(0,x.rV)(),getRowId:e=>e.name,manualPagination:!0,data:Z,columns:V,columnResizeMode:"onChange"});return w?(0,i.jsx)(p.Z,{}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.xvT,{maxW:"720px",mb:6,fontSize:"sm","data-testid":"monitor-description",children:(null==n?void 0:n.identifier)===z.Rj.WEBSITE?"Configure your website monitor to identify active ad tech vendors and tracking technologies across your site. This monitor will analyze selected pages for vendor activity, compliance with privacy requirements, and data collection practices. Set your preferences below to customize the monitor frequency and scan locations.":"A data discovery monitor observes configured systems for data model changes to proactively discover and classify data risks. Monitors can observe part or all of a project, dataset, table, or API for changes and each can be assigned to a different data steward."}),(0,i.jsxs)(j.Q$,{children:[(0,i.jsx)(a.LZC,{}),(0,i.jsx)(a.wpx,{onClick:T.onOpen,icon:(0,i.jsx)(f,{}),iconPosition:"end","data-testid":"add-monitor-btn",children:"Add monitor"}),(0,i.jsx)(B,{isOpen:T.isOpen,onClose:()=>{q(void 0),M(!1),N(0),T.onClose()},formStep:D,onAdvance:e=>{q(e),N(1)},monitor:R,isEditing:E,integration:t,integrationOption:n})]}),(0,i.jsx)(j.ZK,{tableInstance:H,onRowClick:A,emptyTableNotice:(0,i.jsx)(et,{onAddClick:T.onOpen})}),(0,i.jsx)(j.s8,{totalRows:O||0,pageSizes:o,setPageSize:l,onPreviousPageClick:r,isPreviousPageDisabled:c||S,onNextPageClick:d,isNextPageDisabled:u||S,startRange:m,endRange:b})]})},ei=n(15987),ea=n(64176),eo=e=>{let{isOpen:t,onClose:n,connection:a}=e,o=(0,ea.Z)(a.connection_type);return(0,i.jsx)(C.Z,{title:"Manage integration secret",isOpen:t,onClose:n,children:(0,i.jsx)(ei.Z,{connection:a,connectionOption:o,onCancel:n})})},es=n(41553),el=n(75595),er=()=>{var e,t;let{query:n}=(0,o.useRouter)(),x=Array.isArray(n.id)?n.id[0]:n.id,{data:g,isLoading:h}=(0,d.jA)(null!=x?x:""),p=(0,ea.Z)(null==g?void 0:g.connection_type),{testConnection:f,isLoading:j,testData:y}=(0,u.Z)(g),{onOpen:v,isOpen:b,onClose:_}=(0,a.qY0)(),{overview:C,instructions:w}=(0,m.ZP)(null==g?void 0:g.connection_type),S=(0,o.useRouter)();g&&!m.jq.includes(g.connection_type)&&S.push(r.KH);let k=[{label:"Connection",content:(0,i.jsxs)(a.xuv,{maxW:"720px",children:[(0,i.jsxs)(a.kCb,{borderRadius:"md",outline:"1px solid",outlineColor:"gray.100",align:"center",p:3,children:[(0,i.jsx)(a.kCb,{flexDirection:"column",children:(0,i.jsx)(es.Z,{testData:y})}),(0,i.jsx)(a.LZC,{}),(0,i.jsxs)("div",{className:"flex gap-4",children:[(0,i.jsx)(a.wpx,{onClick:f,loading:j,"data-testid":"test-connection-btn",children:"Test connection"}),(0,i.jsx)(a.wpx,{onClick:v,"data-testid":"manage-btn",children:"Manage"})]})]}),(0,i.jsx)(eo,{isOpen:b,onClose:_,connection:g}),C,w]})},{label:"Data discovery",content:(0,i.jsx)(en,{integration:g,integrationOption:p})}];return(0,i.jsx)(l.Z,{title:"Integrations",children:(0,i.jsxs)(c.Z,{heading:"Integrations",breadcrumbItems:[{title:"All integrations",href:r.KH},{title:null!==(t=null!==(e=null==g?void 0:g.name)&&void 0!==e?e:null==g?void 0:g.key)&&void 0!==t?t:""}],children:[(0,i.jsx)(el.Z,{integration:g,showDeleteButton:!0}),h?(0,i.jsx)(a.$jN,{}):!!g&&(0,i.jsx)(s.Z,{data:k,isLazy:!0})]})})}}},function(e){e.O(0,[8033,2780,2858,2866,9278,9255,4481,5834,5973,2888,9774,179],function(){return e(e.s=50697)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[710],{9387:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/integrations",function(){return t(22406)}])},97181:function(e,n,t){"use strict";t.d(n,{d:function(){return c}});var i=t(24246),r=t(56351),l=t(34090),o=t(27378),a=t(91613),s=t(40324);let c=e=>{let{name:n,label:t,labelProps:c,tooltip:d,isRequired:u,layout:g="inline",...f}=e,[x,m,{setValue:h}]=(0,l.U$)(n),p=!!(m.touched&&m.error),[v,j]=(0,o.useState)("");x.value||"tags"!==f.mode&&"multiple"!==f.mode||(x.value=[]),"tags"===f.mode&&"string"==typeof x.value&&(x.value=[x.value]);let C="tags"===f.mode?(e,n)=>e?e.value!==v||x.value.includes(v)?f.optionRender?f.optionRender(e,n):e.label:'Create "'.concat(v,'"'):void 0:f.optionRender||void 0,y=e=>{j(e),f.onSearch&&f.onSearch(e)},b=(e,n)=>{h(e),f.onChange&&f.onChange(e,n)};return"inline"===g?(0,i.jsx)(r.NIc,{isInvalid:p,isRequired:u,children:(0,i.jsxs)(r.rjZ,{templateColumns:t?"1fr 3fr":"1fr",children:[t?(0,i.jsx)(s.__,{htmlFor:f.id||n,...c,children:t}):null,(0,i.jsxs)(r.jqI,{align:"center",children:[(0,i.jsxs)(r.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,i.jsx)(r.WPr,{...x,id:f.id||n,"data-testid":"controlled-select-".concat(x.name),...f,optionRender:C,onSearch:"tags"===f.mode?y:void 0,onChange:b,value:x.value||void 0}),(0,i.jsx)(s.Bc,{isInvalid:p,message:m.error,fieldName:x.name})]}),d?(0,i.jsx)(a.Z,{label:d}):null]})]})}):(0,i.jsx)(r.NIc,{isInvalid:p,isRequired:u,children:(0,i.jsxs)(r.gCW,{alignItems:"start",children:[(0,i.jsxs)(r.jqI,{align:"center",children:[t?(0,i.jsx)(s.__,{htmlFor:f.id||n,fontSize:"xs",my:0,mr:1,...c,children:t}):null,d?(0,i.jsx)(a.Z,{label:d}):null]}),(0,i.jsx)(r.WPr,{...x,id:f.id||n,"data-testid":"controlled-select-".concat(x.name),...f,optionRender:C,onSearch:"tags"===f.mode?y:void 0,onChange:b,value:x.value||void 0}),(0,i.jsx)(s.Bc,{isInvalid:p,message:m.error,fieldName:x.name})]})})}},812:function(e,n,t){"use strict";t.d(n,{D4:function(){return l.D4},MM:function(){return g},Ot:function(){return c},c6:function(){return r},cj:function(){return x},e$:function(){return a},fn:function(){return s},iC:function(){return f},nU:function(){return u},tB:function(){return d}});var i,r,l=t(19043);let o="An unexpected error occurred. Please try again.",a=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;if((0,l.Bw)(e)){if((0,l.hE)(e.data))return e.data.detail;if((0,l.cz)(e.data)){var t;let n=null===(t=e.data.detail)||void 0===t?void 0:t[0];return"".concat(null==n?void 0:n.msg,": ").concat(null==n?void 0:n.loc)}if(409===e.status&&(0,l.Dy)(e.data)||404===e.status&&(0,l.XD)(e.data))return"".concat(e.data.detail.error," (").concat(e.data.detail.fides_key,")")}return n};function s(e){return"object"==typeof e&&null!=e&&"status"in e}function c(e){return"object"==typeof e&&null!=e&&"data"in e&&"string"==typeof e.data.detail}function d(e){return"object"==typeof e&&null!=e&&"data"in e&&Array.isArray(e.data.detail)}let u=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{status:500,message:o};if((0,l.oK)(e))return{status:e.originalStatus,message:e.data};if((0,l.Bw)(e)){let{status:t}=e;return{status:t,message:a(e,n.message)}}return n},g=e=>Object.entries(e).map(e=>({value:e[1],label:e[1]}));(i=r||(r={})).GVL="gvl",i.AC="gacp",i.COMPASS="compass";let f={gvl:{label:"GVL",fullName:"Global Vendor List"},gacp:{label:"AC",fullName:"Google Additional Consent List"},compass:{label:"",fullName:""}},x=e=>{let n=e.split(".")[0];return"gacp"===n?"gacp":"gvl"===n?"gvl":"compass"}},22406:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return L}});var i,r,l,o,a=t(24246),s=t(56351),c=t(27378),d=t(7617),u=t(18225),g=t(77213),f=t(58754),x=t(14207),m=t(8133),h=t(15987),p=t(75595),v=e=>{let{integrationType:n,onConfigure:t,onCancel:i}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.Z,{integration:null==n?void 0:n.placeholder,onConfigureClick:t}),null==n?void 0:n.overview,(0,a.jsxs)(s.kCb,{children:[(0,a.jsx)(s.LZC,{}),(0,a.jsx)(s.wpx,{onClick:i,children:"Cancel"})]})]})},j=t(25980),C=t(7621);(i=l||(l={})).ALL="All",i.DATABASE="Database",i.DATA_CATALOG="Data Catalog",i.DATA_WAREHOUSE="Data Warehouse",i.WEBSITE="Website";var y=e=>{var n;let t=Object.values(l),[i,r]=(0,c.useState)(0),o=t[i],[a,s]=(0,c.useState)(!1),d="All"!==o,u=null!==(n=null==e?void 0:e.filter(e=>!d||e.category===o))&&void 0!==n?n:[];return{tabs:t,tabIndex:i,anyFiltersApplied:d,isFiltering:a,onChangeFilter:e=>{s(!0),r(e),setTimeout(()=>s(!1),100)},filteredTypes:u}},b=e=>{let{onCancel:n,onDetailClick:t,onConfigureClick:i}=e,{tabIndex:r,onChangeFilter:l,isFiltering:o,filteredTypes:c,tabs:g}=y(C.FO),{flags:{datahub:f}}=(0,j.Vb)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.mQc,{index:r,onChange:l,mb:4,children:(0,a.jsx)(s.tdY,{children:g.map(e=>(0,a.jsx)(d.q,{label:e},e))})}),o?(0,a.jsx)(u.Z,{}):(0,a.jsx)(s.kCb,{direction:"column",children:c.map(e=>f||"datahub"!==e.placeholder.connection_type?(0,a.jsx)(p.Z,{integration:e.placeholder,onConfigureClick:()=>i(e),otherButtons:(0,a.jsx)(s.wpx,{onClick:()=>t(e),children:"Details"})},e.placeholder.key):null)}),(0,a.jsxs)(s.kCb,{children:[(0,a.jsx)(s.LZC,{}),(0,a.jsx)(s.wpx,{onClick:n,children:"Cancel"})]})]})},_=t(64176);(r=o||(o={})).LIST_VIEW="list-view",r.DETAIL="detail",r.FORM="form";var A=e=>{let{isOpen:n,onClose:t}=e,[i,r]=(0,c.useState)("list-view"),[l,o]=(0,c.useState)(),s=(0,_.Z)(null==l?void 0:l.placeholder.connection_type),d=()=>{r("list-view"),o(void 0),t()},u=l?"".concat(l.placeholder.name," Integration"):"Add integration";return(0,a.jsxs)(m.Z,{size:"2xl",isOpen:n,onClose:d,title:u,children:["list-view"===i&&(0,a.jsx)(b,{onCancel:d,onDetailClick:e=>{r("detail"),o(e)},onConfigureClick:e=>{r("form"),o(e)}}),"detail"===i&&(0,a.jsx)(v,{integrationType:l,onConfigure:()=>r("form"),onCancel:d}),"form"===i&&(0,a.jsx)(h.Z,{connectionOption:s,onCancel:d})]})},k=t(86677),w=t(77830),I=e=>{let{isFiltered:n,onOpenAddModal:t}=e;return(0,a.jsxs)(s.kCb,{direction:"column",alignItems:"center","data-testid":"empty-state",children:[(0,a.jsx)(s.xvT,{color:"gray.700",fontWeight:"semibold",fontSize:"md",children:"No integrations"}),(0,a.jsx)(s.xvT,{color:"gray.700",fontSize:"sm",marginTop:"8px",children:n?"No integrations match your filters":"You have not configured any integrations"}),(0,a.jsx)(s.xvT,{color:"gray.700",fontSize:"sm",children:'Click "Add integration" to connect and configure systems now.'}),(0,a.jsx)(s.wpx,{type:"primary",onClick:t,className:"mt-4",children:"Add integration"})]})},S=e=>{let{integrations:n,isFiltered:t,onOpenAddModal:i}=e,r=(0,k.useRouter)();return(0,a.jsx)(s.xuv,{marginTop:"24px",children:n.length?n.map(e=>(0,a.jsx)(p.Z,{integration:e,showTestNotice:!0,configureButtonLabel:"Manage",onConfigureClick:()=>r.push("".concat(w.KH,"/").concat(e.key))},e.key)):(0,a.jsx)(I,{onOpenAddModal:i,isFiltered:t})})},L=()=>{var e,n;let{data:t,isLoading:i}=(0,x.AZ)({connection_type:C.jq}),{onOpen:r,isOpen:l,onClose:o}=(0,s.qY0)(),{tabIndex:c,onChangeFilter:m,anyFiltersApplied:h,isFiltering:p,filteredTypes:v,tabs:j}=y(null==t?void 0:null===(e=t.items)||void 0===e?void 0:e.map(e=>(0,C.ZP)(e.connection_type))),b=null!==(n=null==t?void 0:t.items.filter(e=>v.some(n=>n.placeholder.connection_type===e.connection_type)))&&void 0!==n?n:[];return(0,a.jsxs)(g.Z,{title:"Integrations",children:[(0,a.jsx)(f.Z,{heading:"Integrations",breadcrumbItems:[{title:"All integrations"}]}),(0,a.jsxs)(s.xuv,{"data-testid":"integration-tabs",display:"flex",children:[(0,a.jsx)(s.mQc,{index:c,onChange:m,w:"full",children:(0,a.jsx)(s.tdY,{children:j.map(e=>(0,a.jsx)(d.q,{label:e},e))})}),(0,a.jsx)(s.xuv,{borderBottom:"2px solid",borderColor:"gray.200",height:"fit-content",pr:"2",pb:"2",children:(0,a.jsx)(s.wpx,{onClick:r,"data-testid":"add-integration-btn",icon:(0,a.jsx)(s.xPt,{}),iconPosition:"end",children:"Add Integration"})})]}),i||p?(0,a.jsx)(u.Z,{}):(0,a.jsx)(S,{integrations:b,onOpenAddModal:r,isFiltered:h}),(0,a.jsx)(A,{isOpen:l,onClose:o})]})}},19043:function(e,n,t){"use strict";t.d(n,{Bw:function(){return o},D4:function(){return r},Dy:function(){return s},XD:function(){return c},cz:function(){return d},hE:function(){return a},oK:function(){return l}});var i=t(76649);let r=e=>"error"in e,l=e=>(0,i.Ln)({status:"string"},e)&&"PARSING_ERROR"===e.status,o=e=>(0,i.Ln)({status:"number",data:{}},e),a=e=>(0,i.Ln)({detail:"string"},e),s=e=>(0,i.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),c=e=>(0,i.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),d=e=>(0,i.Ln)({detail:[{loc:["string","number"],msg:"string",type:"string"}]},e)}},function(e){e.O(0,[2858,2866,9278,6834,5973,2888,9774,179],function(){return e(e.s=9387)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3691],{8828:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/systems/configure/[id]",function(){return i(51226)}])},66379:function(e,t,i){"use strict";var n=i(24246),s=i(56351),r=i(7617);t.Z=e=>{let{data:t,border:i="partial",borderWidth:a=2,...l}=e;return(0,n.jsx)(s.mQc,{colorScheme:"complimentary",...l,children:(0,n.jsx)(s.tdY,{width:"partial"===i?"max-content":void 0,borderBottomWidth:a,children:t.map(e=>(0,n.jsx)(r.q,{label:e.label,"data-testid":e.label,isDisabled:e.isDisabled,fontSize:l.fontSize},e.label))})})}},18225:function(e,t,i){"use strict";var n=i(24246),s=i(56351);t.Z=e=>{let{...t}=e;return(0,n.jsx)(s.kCb,{boxSize:"full",align:"center",justify:"center",children:(0,n.jsx)(s.$jN,{color:"primary",...t})})}},51226:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return _}});var n=i(24246),s=i(56351),r=i(86677),a=i(27378),l=i(16134),d=e=>{let{data:t,...i}=e;return(0,n.jsx)(s.mQc,{colorScheme:"complimentary",...i,children:(0,n.jsx)(s.nPR,{children:t.map(e=>(0,n.jsx)(s.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})})},
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3691],{8828:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/systems/configure/[id]",function(){return i(51226)}])},66379:function(e,t,i){"use strict";var n=i(24246),s=i(56351),r=i(7617);t.Z=e=>{let{data:t,border:i="partial",borderWidth:a=2,...l}=e;return(0,n.jsx)(s.mQc,{colorScheme:"complimentary",...l,children:(0,n.jsx)(s.tdY,{width:"partial"===i?"max-content":void 0,borderBottomWidth:a,children:t.map(e=>(0,n.jsx)(r.q,{label:e.label,"data-testid":e.label,isDisabled:e.isDisabled,fontSize:l.fontSize},e.label))})})}},18225:function(e,t,i){"use strict";var n=i(24246),s=i(56351);t.Z=e=>{let{...t}=e;return(0,n.jsx)(s.kCb,{boxSize:"full",align:"center",justify:"center",children:(0,n.jsx)(s.$jN,{color:"primary",...t})})}},51226:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return _}});var n=i(24246),s=i(56351),r=i(86677),a=i(27378),l=i(16134),d=e=>{let{data:t,...i}=e;return(0,n.jsx)(s.mQc,{colorScheme:"complimentary",...i,children:(0,n.jsx)(s.nPR,{children:t.map(e=>(0,n.jsx)(s.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})})},c=i(66379),o=i(25980),u=i(18225),h=i(812),x=i(14048),m=i(77213),f=i(77830),j=i(58754),y=i(32885),b=i(1315),p=i(57865),g=i(72774),v=i(57342),_=()=>{let e=(0,r.useRouter)(),t=(0,l.T)(),i="";e.query.id&&(i=Array.isArray(e.query.id)?e.query.id[0]:e.query.id);let{data:_,isLoading:w}=(0,b.rn)(i,{skip:!i}),{error:C,isLoading:S}=(0,y.Rd)(),{tcf:Z}=(0,o.hz)(),{flags:k}=(0,o.Vb)(),z=k.dataDiscoveryAndDetection,N=(0,l.C)(p.gU);(0,a.useEffect)(()=>{if(t((0,b.db)(_)),_){let e=Z&&!!_.vendor_id&&(0,h.cj)(_.vendor_id)===h.c6.GVL;t((0,p.gQ)(e))}else(0,p.gQ)(!1)},[_,t,Z]);let{tabData:E,tabIndex:q,onTabChange:A}=(0,v.Z)({isCreate:!1});return(w||S)&&!C?(0,n.jsx)(m.Z,{title:"Systems",children:(0,n.jsx)(u.Z,{})}):(0,n.jsxs)(m.Z,{title:"System inventory",mainProps:{w:"calc(100vw - 240px)"},children:[(0,n.jsx)(j.Z,{heading:"System inventory",breadcrumbItems:[{title:"All systems",href:f.So},{title:(null==_?void 0:_.name)||""}],children:(0,n.jsxs)(s.xuv,{position:"relative",children:[(0,n.jsx)(c.Z,{data:E,"data-testid":"system-tabs",index:q,isLazy:!0,isManual:!0,onChange:A,width:"full",border:"full-width"}),z&&(0,n.jsxs)(s.wpx,{size:"small",className:"absolute right-2 top-2","data-testid":"integration-page-btn",onClick:()=>e.push(f.KH),children:[(0,n.jsx)(s.xvT,{children:"Integrations"}),(0,n.jsx)(x.A5,{marginLeft:2})]})]})}),N?(0,n.jsx)(g.Z,{}):null,_||w||S?(0,n.jsx)(s.gCW,{alignItems:"stretch",children:(0,n.jsx)(d,{data:E,index:q,isLazy:!0,isManual:!0,onChange:A})}):(0,n.jsxs)(s.xvT,{"data-testid":"system-not-found",children:["Could not find a system with id ",i]})]})}}},function(e){e.O(0,[8033,2780,2858,2866,9278,4833,4481,7980,3949,8499,3627,7044,2888,9774,179],function(){return e(e.s=8828)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-cyrillic-ext-400-normal.06b6faa3.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-cyrillic-400-normal.5122dff0.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-greek-ext-400-normal.2271c2a1.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-greek-400-normal.d1deb2fe.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-vietnamese-400-normal.ebde713a.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-latin-ext-400-normal.261aa6d4.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-latin-400-normal.493934f7.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-cyrillic-ext-500-normal.563e11f7.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-cyrillic-500-normal.017c512f.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-greek-ext-500-normal.9ef8ce0d.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-greek-500-normal.599dd974.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-vietnamese-500-normal.7b524ed3.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-latin-ext-500-normal.47503116.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-latin-500-normal.b7be75b9.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-cyrillic-ext-600-normal.4eb7a897.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-cyrillic-600-normal.9f2082d5.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-greek-ext-600-normal.04ef07b9.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-greek-600-normal.eff3b663.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-vietnamese-600-normal.eb82de1d.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-latin-ext-600-normal.0a04c3cd.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-latin-600-normal.a3e93aa0.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-cyrillic-ext-700-normal.7c668daa.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-cyrillic-700-normal.8b03fbd1.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-greek-ext-700-normal.5fb4f9ba.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-greek-700-normal.54b722f0.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-vietnamese-700-normal.00e401a9.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-latin-ext-700-normal.07491ea2.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-latin-700-normal.7ddf3c11.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.left-2{left:.5rem}.right-2{right:.5rem}.top-2{top:.5rem}.z-\[1\]{z-index:1}.z-\[2\]{z-index:2}.m-0{margin:0}.m-1{margin:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mt-px{margin-top:-1px}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-\[10px\]{margin-right:10px}.mt-0{margin-top:0}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.contents{display:contents}.hidden{display:none}.size-full{width:100%;height:100%}.h-80{height:20rem}.h-full{height:100%}.\!w-auto{width:auto!important}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/5{width:20%}.w-32{width:8rem}.w-4\/5{width:80%}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-80{width:20rem}.w-96{width:24rem}.w-\[432px\]{width:432px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0}.min-w-4{min-width:1rem}.min-w-\[350px\]{min-width:350px}.max-w-4{max-width:1rem}.max-w-40{max-width:10rem}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-1\/2{flex-basis:50%}.rotate-180{--tw-rotate:180deg}.rotate-180,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-1\.5{gap:.375rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-\[\#DEE5EE\]{--tw-border-opacity:1;border-color:rgb(222 229 238/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.\!bg-transparent{background-color:transparent!important}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-0\.5{padding-left:.125rem}.pr-2{padding-right:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.align-text-bottom{vertical-align:text-bottom}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-inherit{color:inherit}.text-transparent{color:transparent}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\:\!bg-gray-700:hover{--tw-bg-opacity:1!important;background-color:rgb(55 65 81/var(--tw-bg-opacity))!important}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-none:hover{background-image:none}.focus\:\!bg-gray-700:focus{--tw-bg-opacity:1!important;background-color:rgb(55 65 81/var(--tw-bg-opacity))!important}.active\:bg-transparent:active{background-color:transparent}.active\:bg-none:active{background-image:none}.group:hover .group-hover\:visible{visibility:visible}:export{FIDESUI_FULL_BLACK:#000;FIDESUI_FULL_WHITE:#fff;FIDESUI_BG_WHITE:#fff;FIDESUI_NEUTRAL_50:#fafafa;FIDESUI_NEUTRAL_75:#f5f5f5;FIDESUI_NEUTRAL_100:#e6e6e8;FIDESUI_NEUTRAL_200:#d1d2d4;FIDESUI_NEUTRAL_300:#bcbec1;FIDESUI_NEUTRAL_400:#a8aaad;FIDESUI_NEUTRAL_500:#93969a;FIDESUI_NEUTRAL_600:#7e8185;FIDESUI_NEUTRAL_700:#696c71;FIDESUI_NEUTRAL_800:#53575c;FIDESUI_NEUTRAL_900:#2b2e35;FIDESUI_BG_DEFAULT:#f5f5f5;FIDESUI_CORINTH:#fafafa;FIDESUI_BG_CORINTH:#fafafa;FIDESUI_LIMESTONE:#f1efee;FIDESUI_MINOS:#2b2e35;FIDESUI_BG_MINOS:#4f525b;FIDESUI_TERRACOTTA:#b9704b;FIDESUI_BG_TERRACOTTA:#f1b193;FIDESUI_OLIVE:#999b83;FIDESUI_BG_OLIVE:#d4d5c8;FIDESUI_MARBLE:#cdd2d3;FIDESUI_BG_MARBLE:#e1e5e6;FIDESUI_SANDSTONE:#cecac2;FIDESUI_BG_SANDSTONE:#e3e0d9;FIDESUI_NECTAR:#f0ebc1;FIDESUI_BG_NECTAR:#f5f2d7;FIDESUI_ERROR:#d9534f;FIDESUI_BG_ERROR:#f7c2c2;FIDESUI_WARNING:#e59d47;FIDESUI_BG_WARNING:#fbddb5;FIDESUI_BG_CAUTION:#f6e3a4;FIDESUI_SUCCESS:#5a9a68;FIDESUI_BG_SUCCESS:#c3e6b2;FIDESUI_INFO:#4a90e2;FIDESUI_BG_INFO:#a5d6f3;FIDESUI_ALERT:#7b4ea9;FIDESUI_BG_ALERT:#d9b0d7;FIDESUI_ERROR_TEXT:#d32f2f;FIDESUI_SUCCESS_TEXT:#388e3c;FIDESUI_LINK:#2272ce}h1,h2,h3,h4,h5,h6{font-weight:700}:root{--fidesui-full-black:#000;--fidesui-full-white:#fff;--fidesui-bg-white:#fff;--fidesui-neutral-50:#fafafa;--fidesui-neutral-75:#f5f5f5;--fidesui-neutral-100:#e6e6e8;--fidesui-neutral-200:#d1d2d4;--fidesui-neutral-300:#bcbec1;--fidesui-neutral-400:#a8aaad;--fidesui-neutral-500:#93969a;--fidesui-neutral-600:#7e8185;--fidesui-neutral-700:#696c71;--fidesui-neutral-800:#53575c;--fidesui-neutral-900:#2b2e35;--fidesui-bg-default:#f5f5f5;--fidesui-corinth:#fafafa;--fidesui-bg-corinth:#fafafa;--fidesui-limestone:#f1efee;--fidesui-minos:#2b2e35;--fidesui-bg-minos:#4f525b;--fidesui-terracotta:#b9704b;--fidesui-bg-terracotta:#f1b193;--fidesui-olive:#999b83;--fidesui-bg-olive:#d4d5c8;--fidesui-marble:#cdd2d3;--fidesui-bg-marble:#e1e5e6;--fidesui-sandstone:#cecac2;--fidesui-bg-sandstone:#e3e0d9;--fidesui-nectar:#f0ebc1;--fidesui-bg-nectar:#f5f2d7;--fidesui-error:#d9534f;--fidesui-bg-error:#f7c2c2;--fidesui-warning:#e59d47;--fidesui-bg-warning:#fbddb5;--fidesui-bg-caution:#f6e3a4;--fidesui-success:#5a9a68;--fidesui-bg-success:#c3e6b2;--fidesui-info:#4a90e2;--fidesui-bg-info:#a5d6f3;--fidesui-alert:#7b4ea9;--fidesui-bg-alert:#d9b0d7;--fidesui-error-text:#d32f2f;--fidesui-success-text:#388e3c;--fidesui-link:#2272ce}.ant-input-compact-item.ant-input-css-var{--ant-color-border:var(--fidesui-neutral-200);--ant-input-hover-border-color:var(--fidesui-neutral-200)}.ant-btn-compact-item.ant-btn-variant-outlined{--ant-button-default-border-color:var(--fidesui-neutral-200);--ant-button-default-hover-border-color:var(--fidesui-neutral-200);--ant-button-default-hover-bg:var(--fidesui-neutral-200);--ant-button-default-bg:var(--fidesui-neutral-50)}.ant-form-item-label{font-weight:600}.ant-menu-dark .ant-menu-sub>.ant-menu-item>.ant-menu-title-content a{color:var(--fidesui-neutral-200)}.ant-menu-dark .ant-menu-sub>.ant-menu-item>.ant-menu-title-content a:focus,.ant-menu-dark .ant-menu-sub>.ant-menu-item>.ant-menu-title-content a:hover{color:var(--fidesui-full-white)}.ant-menu-dark .ant-menu-sub>.ant-menu-item>.ant-menu-title-content a:focus-visible{text-decoration:underline}.ant-menu-dark .ant-menu-sub>.ant-menu-item.ant-menu-item-selected>.ant-menu-title-content a{color:var(--fidesui-minos)}.ant-menu .ant-menu-submenu-arrow{--ant-border-radius:0px}.ant-menu .ant-menu-submenu-arrow:after,.ant-menu .ant-menu-submenu-arrow:before{width:calc(var(--ant-font-size)/7*5*.65)}.ant-input:-moz-read-only{--ant-color-text:var(--fidesui-neutral-700);--ant-color-bg-container:var(--fidesui-neutral-50);--ant-input-hover-bg:var(--fidesui-neutral-50);--ant-input-active-bg:var(--fidesui-neutral-50);--ant-input-active-border-color:var(--ant-color-border);--ant-input-hover-border-color:var(--ant-color-border);--ant-input-active-shadow:none;--ant-input-hove-shadow:none}.ant-input:read-only{--ant-color-text:var(--fidesui-neutral-700);--ant-color-bg-container:var(--fidesui-neutral-50);--ant-input-hover-bg:var(--fidesui-neutral-50);--ant-input-active-bg:var(--fidesui-neutral-50);--ant-input-active-border-color:var(--ant-color-border);--ant-input-hover-border-color:var(--ant-color-border);--ant-input-active-shadow:none;--ant-input-hove-shadow:none}.CustomTag_tag__4q0OL{display:inline-flex;align-items:center;gap:calc(var(--ant-margin-xs)*.75);line-height:calc(var(--ant-line-height-sm)*var(--ant-font-size-sm) - 2px);min-height:calc(var(--ant-line-height-sm)*var(--ant-font-size-sm))}.CustomTag_tag__4q0OL svg:not([data-icon]){width:10px;height:10px;margin-inline-start:0}.CustomTag_buttonTag__IYAPu{border-radius:var(--ant-border-radius-sm)}.CustomTag_buttonTag__IYAPu:focus .ant-tag,.CustomTag_buttonTag__IYAPu:hover .ant-tag{background:#fafafa!important}.CustomTag_buttonTag__IYAPu:focus-visible{outline:none}.CustomTag_buttonTag__IYAPu:focus-visible .ant-tag{border:1px solid #2b2e35}.CustomTag_closeButton__Un_6X{border-radius:var(--ant-border-radius-xs)}.CustomTag_closeButton__Un_6X:focus-visible{outline:1px solid #2b2e35;outline-offset:2px}.FloatingMenu_menu__msgMt{--ant-menu-item-height:36px!important;--ant-menu-item-margin-inline:8px!important;--ant-menu-item-width:calc(100% - 16px)!important;padding-top:4px;padding-bottom:4px;border-radius:6px;box-shadow:0 4px 6px -2px rgba(0,0,0,.05),0 10px 15px -3px rgba(0,0,0,.1)!important}.NavMenu_menu__ecOrj{--ant-menu-item-margin-block:0!important;--ant-menu-item-margin-inline:0!important;--ant-menu-item-width:100%!important;--ant-margin:8px}
|
|
1
|
+
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-cyrillic-ext-400-normal.06b6faa3.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-cyrillic-400-normal.5122dff0.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-greek-ext-400-normal.2271c2a1.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-greek-400-normal.d1deb2fe.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-vietnamese-400-normal.ebde713a.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-latin-ext-400-normal.261aa6d4.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-latin-400-normal.493934f7.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-cyrillic-ext-500-normal.563e11f7.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-cyrillic-500-normal.017c512f.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-greek-ext-500-normal.9ef8ce0d.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-greek-500-normal.599dd974.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-vietnamese-500-normal.7b524ed3.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-latin-ext-500-normal.47503116.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-latin-500-normal.b7be75b9.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-cyrillic-ext-600-normal.4eb7a897.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-cyrillic-600-normal.9f2082d5.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-greek-ext-600-normal.04ef07b9.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-greek-600-normal.eff3b663.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-vietnamese-600-normal.eb82de1d.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-latin-ext-600-normal.0a04c3cd.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-latin-600-normal.a3e93aa0.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-cyrillic-ext-700-normal.7c668daa.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-cyrillic-700-normal.8b03fbd1.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-greek-ext-700-normal.5fb4f9ba.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-greek-700-normal.54b722f0.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-vietnamese-700-normal.00e401a9.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-latin-ext-700-normal.07491ea2.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-latin-700-normal.7ddf3c11.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.left-2{left:.5rem}.right-2{right:.5rem}.top-2{top:.5rem}.z-\[1\]{z-index:1}.z-\[2\]{z-index:2}.m-0{margin:0}.m-1{margin:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mt-px{margin-top:-1px}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-\[10px\]{margin-right:10px}.mt-0{margin-top:0}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.contents{display:contents}.hidden{display:none}.size-full{width:100%;height:100%}.h-80{height:20rem}.h-full{height:100%}.\!w-auto{width:auto!important}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/5{width:20%}.w-32{width:8rem}.w-4\/5{width:80%}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-80{width:20rem}.w-96{width:24rem}.w-\[432px\]{width:432px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0}.min-w-4{min-width:1rem}.min-w-\[350px\]{min-width:350px}.max-w-4{max-width:1rem}.max-w-40{max-width:10rem}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-1\/2{flex-basis:50%}.rotate-180{--tw-rotate:180deg}.rotate-180,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-1\.5{gap:.375rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-\[\#DEE5EE\]{--tw-border-opacity:1;border-color:rgb(222 229 238/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.\!bg-transparent{background-color:transparent!important}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-0\.5{padding-left:.125rem}.pr-2{padding-right:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.align-text-bottom{vertical-align:text-bottom}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-inherit{color:inherit}.text-transparent{color:transparent}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\:\!bg-gray-700:hover{--tw-bg-opacity:1!important;background-color:rgb(55 65 81/var(--tw-bg-opacity))!important}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-none:hover{background-image:none}.focus\:\!bg-gray-700:focus{--tw-bg-opacity:1!important;background-color:rgb(55 65 81/var(--tw-bg-opacity))!important}.active\:bg-transparent:active{background-color:transparent}.active\:bg-none:active{background-image:none}.group:hover .group-hover\:visible{visibility:visible}:export{FIDESUI_FULL_BLACK:#000;FIDESUI_FULL_WHITE:#fff;FIDESUI_BG_WHITE:#fff;FIDESUI_NEUTRAL_50:#fafafa;FIDESUI_NEUTRAL_75:#f5f5f5;FIDESUI_NEUTRAL_100:#e6e6e8;FIDESUI_NEUTRAL_200:#d1d2d4;FIDESUI_NEUTRAL_300:#bcbec1;FIDESUI_NEUTRAL_400:#a8aaad;FIDESUI_NEUTRAL_500:#93969a;FIDESUI_NEUTRAL_600:#7e8185;FIDESUI_NEUTRAL_700:#696c71;FIDESUI_NEUTRAL_800:#53575c;FIDESUI_NEUTRAL_900:#2b2e35;FIDESUI_BG_DEFAULT:#f5f5f5;FIDESUI_CORINTH:#fafafa;FIDESUI_BG_CORINTH:#fafafa;FIDESUI_LIMESTONE:#f1efee;FIDESUI_MINOS:#2b2e35;FIDESUI_BG_MINOS:#4f525b;FIDESUI_TERRACOTTA:#b9704b;FIDESUI_BG_TERRACOTTA:#f1b193;FIDESUI_OLIVE:#999b83;FIDESUI_BG_OLIVE:#d4d5c8;FIDESUI_MARBLE:#cdd2d3;FIDESUI_BG_MARBLE:#e1e5e6;FIDESUI_SANDSTONE:#cecac2;FIDESUI_BG_SANDSTONE:#e3e0d9;FIDESUI_NECTAR:#f0ebc1;FIDESUI_BG_NECTAR:#f5f2d7;FIDESUI_ERROR:#d9534f;FIDESUI_BG_ERROR:#f7c2c2;FIDESUI_WARNING:#e59d47;FIDESUI_BG_WARNING:#fbddb5;FIDESUI_BG_CAUTION:#f6e3a4;FIDESUI_SUCCESS:#5a9a68;FIDESUI_BG_SUCCESS:#c3e6b2;FIDESUI_INFO:#4a90e2;FIDESUI_BG_INFO:#a5d6f3;FIDESUI_ALERT:#7b4ea9;FIDESUI_BG_ALERT:#d9b0d7;FIDESUI_ERROR_TEXT:#d32f2f;FIDESUI_SUCCESS_TEXT:#388e3c;FIDESUI_LINK:#2272ce}h1,h2,h3,h4,h5,h6{font-weight:700}:root{--fidesui-full-black:#000;--fidesui-full-white:#fff;--fidesui-bg-white:#fff;--fidesui-neutral-50:#fafafa;--fidesui-neutral-75:#f5f5f5;--fidesui-neutral-100:#e6e6e8;--fidesui-neutral-200:#d1d2d4;--fidesui-neutral-300:#bcbec1;--fidesui-neutral-400:#a8aaad;--fidesui-neutral-500:#93969a;--fidesui-neutral-600:#7e8185;--fidesui-neutral-700:#696c71;--fidesui-neutral-800:#53575c;--fidesui-neutral-900:#2b2e35;--fidesui-bg-default:#f5f5f5;--fidesui-corinth:#fafafa;--fidesui-bg-corinth:#fafafa;--fidesui-limestone:#f1efee;--fidesui-minos:#2b2e35;--fidesui-bg-minos:#4f525b;--fidesui-terracotta:#b9704b;--fidesui-bg-terracotta:#f1b193;--fidesui-olive:#999b83;--fidesui-bg-olive:#d4d5c8;--fidesui-marble:#cdd2d3;--fidesui-bg-marble:#e1e5e6;--fidesui-sandstone:#cecac2;--fidesui-bg-sandstone:#e3e0d9;--fidesui-nectar:#f0ebc1;--fidesui-bg-nectar:#f5f2d7;--fidesui-error:#d9534f;--fidesui-bg-error:#f7c2c2;--fidesui-warning:#e59d47;--fidesui-bg-warning:#fbddb5;--fidesui-bg-caution:#f6e3a4;--fidesui-success:#5a9a68;--fidesui-bg-success:#c3e6b2;--fidesui-info:#4a90e2;--fidesui-bg-info:#a5d6f3;--fidesui-alert:#7b4ea9;--fidesui-bg-alert:#d9b0d7;--fidesui-error-text:#d32f2f;--fidesui-success-text:#388e3c;--fidesui-link:#2272ce}.ant-input-compact-item.ant-input-css-var{--ant-color-border:var(--fidesui-neutral-200);--ant-input-hover-border-color:var(--fidesui-neutral-200)}.ant-btn-compact-item.ant-btn-variant-outlined{--ant-button-default-border-color:var(--fidesui-neutral-200);--ant-button-default-hover-border-color:var(--fidesui-neutral-200);--ant-button-default-hover-bg:var(--fidesui-neutral-200);--ant-button-default-bg:var(--fidesui-neutral-50)}.ant-form-item-label{font-weight:600}.ant-menu-dark .ant-menu-sub>.ant-menu-item>.ant-menu-title-content a{color:var(--fidesui-neutral-200)}.ant-menu-dark .ant-menu-sub>.ant-menu-item>.ant-menu-title-content a:focus-visible{text-decoration:underline}.ant-menu-dark .ant-menu-sub>.ant-menu-item:focus-within,.ant-menu-dark .ant-menu-sub>.ant-menu-item:hover{background-color:var(--fidesui-neutral-800)}.ant-menu-dark .ant-menu-sub>.ant-menu-item.ant-menu-item-selected>.ant-menu-title-content a{color:var(--fidesui-minos)}.ant-menu .ant-menu-submenu-arrow{--ant-border-radius:0px}.ant-menu .ant-menu-submenu-arrow:after,.ant-menu .ant-menu-submenu-arrow:before{width:calc(var(--ant-font-size)/7*5*.65)}.ant-input:-moz-read-only{--ant-color-text:var(--fidesui-neutral-700);--ant-color-bg-container:var(--fidesui-neutral-50);--ant-input-hover-bg:var(--fidesui-neutral-50);--ant-input-active-bg:var(--fidesui-neutral-50);--ant-input-active-border-color:var(--ant-color-border);--ant-input-hover-border-color:var(--ant-color-border);--ant-input-active-shadow:none;--ant-input-hove-shadow:none}.ant-input:read-only{--ant-color-text:var(--fidesui-neutral-700);--ant-color-bg-container:var(--fidesui-neutral-50);--ant-input-hover-bg:var(--fidesui-neutral-50);--ant-input-active-bg:var(--fidesui-neutral-50);--ant-input-active-border-color:var(--ant-color-border);--ant-input-hover-border-color:var(--ant-color-border);--ant-input-active-shadow:none;--ant-input-hove-shadow:none}.CustomTag_tag__4q0OL{display:inline-flex;align-items:center;gap:calc(var(--ant-margin-xs)*.75);line-height:calc(var(--ant-line-height-sm)*var(--ant-font-size-sm) - 2px);min-height:calc(var(--ant-line-height-sm)*var(--ant-font-size-sm))}.CustomTag_tag__4q0OL svg:not([data-icon]){width:10px;height:10px;margin-inline-start:0}.CustomTag_buttonTag__IYAPu{border-radius:var(--ant-border-radius-sm)}.CustomTag_buttonTag__IYAPu:focus .ant-tag,.CustomTag_buttonTag__IYAPu:hover .ant-tag{background:#fafafa!important}.CustomTag_buttonTag__IYAPu:focus-visible{outline:none}.CustomTag_buttonTag__IYAPu:focus-visible .ant-tag{border:1px solid #2b2e35}.CustomTag_closeButton__Un_6X{border-radius:var(--ant-border-radius-xs)}.CustomTag_closeButton__Un_6X:focus-visible{outline:1px solid #2b2e35;outline-offset:2px}.FloatingMenu_menu__msgMt{--ant-menu-item-height:36px!important;--ant-menu-item-margin-inline:8px!important;--ant-menu-item-width:calc(100% - 16px)!important;padding-top:4px;padding-bottom:4px;border-radius:6px;box-shadow:0 4px 6px -2px rgba(0,0,0,.05),0 10px 15px -3px rgba(0,0,0,.1)!important}.NavMenu_menu__ecOrj{--ant-menu-item-margin-block:0!important;--ant-menu-item-margin-inline:0!important;--ant-menu-item-width:100%!important;--ant-margin:8px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/b8dbda131f8d4c05.css" as="style"/><link rel="stylesheet" href="/_next/static/css/b8dbda131f8d4c05.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-c580f4c12ff5a438.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/2780-8328de94968d05e4.js" defer=""></script><script src="/_next/static/chunks/2858-0b44609b6be7850b.js" defer=""></script><script src="/_next/static/chunks/2866-a73888c17a195cbe.js" defer=""></script><script src="/_next/static/chunks/9278-9b1b5970f0702668.js" defer=""></script><script src="/_next/static/chunks/4833-a85bd5d25ebc40c4.js" defer=""></script><script src="/_next/static/chunks/4481-ca8d2c75d634b6bc.js" defer=""></script><script src="/_next/static/chunks/7980-2597c279c30fbcda.js" defer=""></script><script src="/_next/static/chunks/3949-9888699e2ac564c4.js" defer=""></script><script src="/_next/static/chunks/8499-07507004e8275df2.js" defer=""></script><script src="/_next/static/chunks/3627-fb83adac32c128e6.js" defer=""></script><script src="/_next/static/chunks/7044-9dc90893067f38ae.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/manual-d7f60624cbc12217.js" defer=""></script><script src="/_next/static/8xQRBeECrXm95hw4NKfpE/_buildManifest.js" defer=""></script><script src="/_next/static/8xQRBeECrXm95hw4NKfpE/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/manual","query":{},"buildId":"8xQRBeECrXm95hw4NKfpE","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/b8dbda131f8d4c05.css" as="style"/><link rel="stylesheet" href="/_next/static/css/b8dbda131f8d4c05.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-c580f4c12ff5a438.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/2780-8328de94968d05e4.js" defer=""></script><script src="/_next/static/chunks/4481-ca8d2c75d634b6bc.js" defer=""></script><script src="/_next/static/chunks/3949-9888699e2ac564c4.js" defer=""></script><script src="/_next/static/chunks/4723-81d28e5be5c7b6d7.js" defer=""></script><script src="/_next/static/chunks/5826-16e497af363a0cbc.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/multiple-18b0b521255289a3.js" defer=""></script><script src="/_next/static/8xQRBeECrXm95hw4NKfpE/_buildManifest.js" defer=""></script><script src="/_next/static/8xQRBeECrXm95hw4NKfpE/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/multiple","query":{},"buildId":"8xQRBeECrXm95hw4NKfpE","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/b8dbda131f8d4c05.css" as="style"/><link rel="stylesheet" href="/_next/static/css/b8dbda131f8d4c05.css" data-n-g=""/><link rel="preload" href="/_next/static/css/972dc7eef106ee7c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/972dc7eef106ee7c.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-c580f4c12ff5a438.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems-136bcbd20ac59bf5.js" defer=""></script><script src="/_next/static/8xQRBeECrXm95hw4NKfpE/_buildManifest.js" defer=""></script><script src="/_next/static/8xQRBeECrXm95hw4NKfpE/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems","query":{},"buildId":"8xQRBeECrXm95hw4NKfpE","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/b8dbda131f8d4c05.css" as="style"/><link rel="stylesheet" href="/_next/static/css/b8dbda131f8d4c05.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-c580f4c12ff5a438.js" defer=""></script><script src="/_next/static/chunks/pages/ant-poc-b3b4d0a98450ffd1.js" defer=""></script><script src="/_next/static/8xQRBeECrXm95hw4NKfpE/_buildManifest.js" defer=""></script><script src="/_next/static/8xQRBeECrXm95hw4NKfpE/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/ant-poc","query":{},"buildId":"8xQRBeECrXm95hw4NKfpE","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/b8dbda131f8d4c05.css" as="style"/><link rel="stylesheet" href="/_next/static/css/b8dbda131f8d4c05.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-c580f4c12ff5a438.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/2780-8328de94968d05e4.js" defer=""></script><script src="/_next/static/chunks/4481-ca8d2c75d634b6bc.js" defer=""></script><script src="/_next/static/chunks/3949-9888699e2ac564c4.js" defer=""></script><script src="/_next/static/chunks/4723-81d28e5be5c7b6d7.js" defer=""></script><script src="/_next/static/chunks/5826-16e497af363a0cbc.js" defer=""></script><script src="/_next/static/chunks/pages/consent/configure/add-vendors-64f83e9a2b777bf3.js" defer=""></script><script src="/_next/static/8xQRBeECrXm95hw4NKfpE/_buildManifest.js" defer=""></script><script src="/_next/static/8xQRBeECrXm95hw4NKfpE/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/consent/configure/add-vendors","query":{},"buildId":"8xQRBeECrXm95hw4NKfpE","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|