PageSourceSearch

https://jidipi.com/_next/static/chunks/pages/dashboard/partner/account/membership-b2081b5826d7d43d.js

js jidipi.com collected 2026-10-02 12:11:52 UTC 5,539 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[490],{17164:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/partner/account/membership",function(){return n(22672)}])},22672:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>g,default:()=>v});var a=n(37876),i=n(14232),o=n(82709),r=n(63630),s=n(37663),l=n(5824),d=n(93736),m=n(69964),c=n.n(m),p=n(10841),u=n.n(p);let h=({item:e,calculatePositionOfStickyHeaders:t,config:n,index:i})=>(0,a.jsx)("td",{className:`text-${n.direction||"center"} ${0===i?c()["first-cell"]:""} align-middle pt-0 pb-0`,style:{...t(n)},children:(0,a.jsx)("span",{className:c()["text-placeholder"],children:e[n.prop]||"-"})}),x={headers:{nr:{index:0,name:"NR",sticky:!0,style:{minWidth:120},component:({item:e,calculatePositionOfStickyHeaders:t,config:n,index:i,rowIndex:o})=>(0,a.jsx)("td",{className:`text-${n.direction||"center"} ${0===i?c()["first-cell"]:""} align-middle`,style:{...t(n),paddingRight:26,paddingLeft:26},children:o+1}),componentName:"IndexCell",componentProps:{}},period:{index:1,name:"PERIOD",prop:"period",sticky:!0,style:{minWidth:272},component:({item:e,calculatePositionOfStickyHeaders:t,config:n,index:i})=>{let o=u()(e[n.prop].start).format("YYYY-MM-DD"),r=u()(e[n.prop].end).format("YYYY-MM-DD");return(0,a.jsxs)("td",{className:`text-${n.direction||"center"} ${0===i?c()["first-cell"]:""} align-middle pt-0 pb-0`,style:{...t(n),paddingRight:26,paddingLeft:26},children:[(0,a.jsx)("span",{className:c()["text-placeholder"],children:o})," -"," ",(0,a.jsx)("span",{className:c()["text-placeholder"],children:r})]})},componentName:"FromToCell",componentProps:{}},consultant:{index:2,name:"CONSULTANT",sticky:!0,style:{minWidth:320},component:d.A,componentName:"NameCell",componentProps:{}},project:{index:3,name:"PROJECT",style:{minWidth:120},prop:"project",component:h,componentName:"PlaceholderCell",componentProps:{}},product:{index:4,name:"PRODUCT",style:{minWidth:120},prop:"product",component:h,componentName:"PlaceholderCell",componentProps:{}},information:{index:5,name:"INFORMATION",style:{minWidth:120},prop:"information",component:h,componentName:"PlaceholderCell",componentProps:{}},document:{index:6,name:"DOCUMENT",style:{minWidth:120},component:function({item:e,calculatePositionOfStickyHeaders:t,config:n,index:i}){let o=`https://dashboard.jidipi.com/dashboard/cloud/unconnected?folderId=${e.folderId}`;return(0,a.jsx)("td",{className:`text-${n.direction||"center"} ${0===i?c()["first-cell"]:""} align-middle`,style:{...t(n)},children:(0,a.jsx)("a",{href:o,target:"_blank",rel:"noreferrer",style:{pointerEvents:e.folderId?"unset":"none"},children:(0,a.jsx)("div",{className:c()["document-container"],children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"7.622",height:"13.067",viewBox:"0 0 7.622 13.067",children:(0,a.jsx)("path",{id:"icon_attachment","data-name":"icon attachment",d:"M9.9,2a2.722,2.722,0,0,1,2.722,2.722v6.533a3.811,3.811,0,1,1-7.622,0V6.9H6.089v4.356a2.722,2.722,0,1,0,5.444,0V4.722a1.633,1.633,0,1,0-3.267,0v6.533a.544.544,0,1,0,1.089,0V5.267h1.089v5.989a1.633,1.633,0,0,1-3.267,0V4.722A2.722,2.722,0,0,1,9.9,2Z",transform:"translate(-5 -2)",fill:"#888"})})})})})},componentName:"DocumentCell",componentProps:{}}},unEditable:!0,noContextMenu:!0,isStaff:!1,cellsBackgroundColor:"#F1F1F1",initialRow:e=>({_id:"initial_user",uniqueId:"",location:"",firstName:"",lastName:"",email:"",registrationDate:"",avatar:"",logoId:"",roleId:"",isActive:!1,teamId:e._id}),firstInitItemState:e=>({password:"",firstName:"",lastName:"",email:"",avatar:"",logoId:"",team:"",teamName:e.name,roles:[]}),selectExistingUser:(e,t,n)=>(t.roles.push(e),{...t,teamId:n,isExistingUser:!0,roles:t.roles}),resetOnSelectItem:(e,t)=>({uniqueId:e.uniqueId,firstName:e.firstName,lastName:e.lastName,avatar:e.avatar,email:e.email,logoId:e.logoId,teamName:t.name,_id:e._id,userId:e._id,username:e.email,teamId:t._id,roles:e.roles,isExistingUser:e.isExistingUser,createdAt:e.createdAt,isCompanyAdmin:e.isCompanyAdmin}),onAddMemberItemRemap(e,t,n){let a={...e,username:e.email,teamId:e.teamId||t._id};return n.email===e.email&&(delete a.email,delete a.username),"new_user"===a._id&&(delete a._id,delete a.userId),a},clickCondition({item:e}){return!this.unEditable&&"initial_user"!==e._id&&!e.isCompanyAdmin}};var N=n(80996),I=n(84205),_=n.n(I);function f({team:e,getItems:t,createUpdateItem:n,deleteItem:o}){let[r,s]=(0,i.useState)([]),l={index:e.contracts?.length};return(0,i.useEffect)(()=>{s(e.contracts||[])},[e.contracts]),(0,a.jsx)("div",{className:_()["table-container"],children:(0,a.jsx)(N.A,{team:e,index:1,tableData:x,items:r,setItems:s,createUpdateItem:n,getItems:t,setInitalItemProps:e=>({password:"",firstName:"",lastName:"",email:"",avatar:void 0,teamOrder:l.index+1,_id:e}),contextData:l,menuId:"MEMEBERSHIP_MENU_1",deleteItem:o})})}var g=!0;let v=({company:e,contracts:t})=>{let[n,d]=(0,i.useState)({...e,logo:e?.logoId?.liveURL??""}),m=(0,i.useMemo)(()=>({name:"MemberShip",contracts:t??[]}),[t]);return(0,a.jsx)(o.N,{TopDropdownComponent:(0,a.jsx)(r.A,{company:n}),TopDropdownComponentWrapper:s.A,TopDropdownButtonName:"PROFILE",tab:(0,a.jsx)(l.A,{}),paddingBottom:!0,children:(0,a.jsx)("div",{className:"bg-white main-content",children:(0,a.jsx)("div",{children:(0,a.jsx)(f,{team:m,getItems:null,createUpdateItem:null,deleteItem:null})})})})}},84205:e=>{e.exports={"table-container":"style_table-container__suW5R"}}},e=>{e.O(0,[3716,4587,9124,6212,2262,6717,1950,1777,7379,2826,6898,5783,636,6593,8792],()=>e(e.s=17164)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.