PageSourceSearch

https://www.newvisiondigital.co/static/js/35.ed727ecb.chunk.js

js newvisiondigital.co collected 2026-10-06 21:44:36 UTC 8,087 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunknvd_usa=self.webpackChunknvd_usa||[]).push([[35],{34279:function(e,n,t){t.d(n,{Ld:function(){return l},UH:function(){return c},ZA:function(){return o},_z:function(){return a},cn:function(){return i}});var r=t(1413),s=t(16587),i=function(e){return{type:s.Z.SETTINGS.LIST.FETCH,payload:e}},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:s.Z.SETTINGS.DETAILS.FETCH,payload:{id:e}}},l=function(e){return{type:s.Z.SETTINGS.ADD.FETCH,payload:(0,r.Z)({},e)}},o=function(e){return{type:s.Z.SETTINGS.UPDATE.FETCH,payload:e}},c=function(e,n){return{type:s.Z.SETTINGS.UPDATE_STATUS.FETCH,payload:{id:e,status:n}}}},55408:function(e,n,t){var r=t(1413),s=t(72791),i=t(55931),a=t(5289),l=t(65661),o=t(39157),c=t(51691),d=t(97123),u=t(36151),h=t(80184),x=s.forwardRef((function(e,n){return(0,h.jsx)(i.Z,(0,r.Z)({direction:"up",ref:n},e))}));n.Z=function(e){return(0,h.jsx)("div",{children:(0,h.jsxs)(a.Z,{open:e.open,TransitionComponent:x,keepMounted:!0,onClose:e.handleClose,"aria-labelledby":"alert-dialog-slide-title","aria-describedby":"alert-dialog-slide-description",children:[(0,h.jsx)(l.Z,{id:"alert-dialog-slide-title",children:"Status update confirmation"}),(0,h.jsx)(o.Z,{children:(0,h.jsxs)(c.Z,{id:"alert-dialog-slide-description",children:["Are you sure to ",e.status," ?"]})}),(0,h.jsxs)(d.Z,{children:[(0,h.jsx)(u.Z,{onClick:e.handleClose,color:"error",children:"No, Cancel"}),(0,h.jsxs)(u.Z,{onClick:function(){return e.handleConfirmationModalSuccess(e.id,e.status)},color:"primary",children:["Yes, ",e.status]})]})]})})}},23683:function(e,n,t){var r=t(72791),s=t(26812),i=t(35855),a=t(80184);n.Z=function(e){return(0,a.jsx)(r.Fragment,{children:(0,a.jsx)(i.Z,{children:(0,a.jsx)(s.Z,{rowsPerPageOptions:[5,10,25,{label:"All",value:1e3}],colSpan:e.colSpan,count:e.total||1,rowsPerPage:e.itemPerPage,page:e.page-1,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:e.handleChangePage,onRowsPerPageChange:e.handleChangeRowsPerPage})})})}},26542:function(e,n,t){t(72791);var r=t(52739),s=t(13239),i=t(80184);n.Z=function(e){return(0,i.jsx)(r.Z,{sx:{color:"#fff",zIndex:function(e){return e.zIndex.drawer+1}},open:e.processing,children:(0,i.jsx)(s.Z,{color:"inherit"})})}},80035:function(e,n,t){t.r(n),t.d(n,{default:function(){return V}});var r=t(1413),s=t(29439),i=t(72791),a=t(59434),l=t(54270),o=t(11087),c=t(57689),d=t(93517),u=t(20890),h=t(35527),x=t(64554),Z=t(61889),g=t(68096),p=t(94925),j=t(68583),f=t(23786),m=t(39281),v=t(79836),S=t(56890),y=t(35855),P=t(53994),b=t(80720),C=t(53382),T=t(81918),_=t(13400),k=t(68582),E=t(70698),H=t(81678),I=t(97110),w=t(56516),A=t(77663),D=t(88471),R=t(3746),z=t(34279),B=t(54367),M=t(26542),N=t(23683),F=t(55408),U=t(80184);function V(e){var n=(0,a.I0)(),t=(0,a.v9)((function(e){return{processing:e.Settings_Reducers.processing,error:e.Settings_Reducers.error,errors:e.Settings_Reducers.errors,message:e.Settings_Reducers.message,list:e.Settings_Reducers.list,totalPages:e.Settings_Reducers.totalPages,total:e.Settings_Reducers.total,redirectTo:e.Settings_Reducers.redirectTo}})),V=t.processing,L=(t.error,t.errors,t.message,t.list),G=(t.totalPages,t.total),O=t.redirectTo,W=(0,i.useState)({itemPerPage:10,page:1,status:"all",order:"desc",orderBy:"meta_key"}),q=(0,s.Z)(W,2),K=q[0],Y=q[1],J=function(e){K.orderBy===e?Y((0,r.Z)((0,r.Z)({},K),{},{order:"desc"===K.order?"desc":"asc"})):Y((0,r.Z)((0,r.Z)({},K),{},{order:"desc",orderBy:e}))};(0,i.useEffect)((function(){n(z.cn(K))}),[K.page,K.itemPerPage,K.status,K.order,K.orderBy]);var Q=i.useState({open:!1,id:null,status:null}),X=(0,s.Z)(Q,2),$=X[0],ee=X[1],ne=function(e,n){ee({open:!0,id:e,status:n})};return(0,U.jsxs)(i.Fragment,{children:[(0,U.jsx)(l.q,{children:(0,U.jsxs)("title",{children:[B.DU," | ",e.title]})}),V?(0,U.jsx)(M.Z,{processing:V}):"",O?(0,U.jsx)(c.Fg,{to:O}):"",(0,U.jsx)(F.Z,{handleClose:function(){ee({open:!1,id:null,status:null})},open:$.open,status:$.status,id:$.id,handleConfirmationModalSuccess:function(e,t){ee({open:!1,id:null,status:null}),n(z.UH(e,t))}}),(0,U.jsxs)(d.Z,{"aria-label":"breadcrumb",children:[(0,U.jsxs)(o.rU,{component:o.OL,underline:"hover",sx:{dis
1play:"flex",alignItems:"center"},color:"inherit",to:"/admin/dashboard",children:[(0,U.jsx)(E.Z,{sx:{mr:.5},fontSize:"inherit"}),"Dashboard"]}),(0,U.jsxs)(u.Z,{sx:{display:"flex",alignItems:"center"},color:"text.primary",children:[(0,U.jsx)(A.Z,{sx:{mr:.5},fontSize:"inherit"})," Settings"]})]}),(0,U.jsx)(h.Z,{elevation:3,sx:{mt:4},children:(0,U.jsx)(x.Z,{component:"form",noValidate:!0,sx:{mt:2,mx:2,my:3},children:(0,U.jsx)(Z.ZP,{container:!0,spacing:2,sx:{pb:2},children:(0,U.jsx)(Z.ZP,{item:!0,xs:12,sm:2,children:(0,U.jsxs)(g.Z,{sx:{minWidth:120},children:[(0,U.jsx)(p.Z,{id:"teamtatus-label",children:"Status"}),(0,U.jsxs)(j.Z,{margin:"none",size:"small",labelId:"teamStatus-label",id:"teamStatus",name:"teamStatus",value:K.status,label:"teamStatus",displayEmpty:!0,onChange:function(e){return Y((0,r.Z)((0,r.Z)({},K),{},{page:1,status:e.target.value,order:"asc",orderBy:"title"}))},children:[(0,U.jsx)(f.Z,{value:"all",children:"All"}),(0,U.jsx)(f.Z,{value:"active",children:"Active"}),(0,U.jsx)(f.Z,{value:"disabled",children:"Disabled"})]})]})})})})}),(0,U.jsx)(m.Z,{component:h.Z,children:(0,U.jsxs)(v.Z,{sx:{minWidth:650},"aria-label":"simple table",children:[(0,U.jsx)(S.Z,{children:(0,U.jsxs)(y.Z,{children:[(0,U.jsx)(P.Z,{children:"#"}),(0,U.jsx)(P.Z,{align:"left",sortDirection:"meta_key"===K.orderBy&&K.order,children:(0,U.jsx)(b.Z,{active:!0,direction:"meta_key"===K.orderBy?K.order:"asc",onClick:function(){return J("meta_key")},children:"Meta Key"})}),(0,U.jsx)(P.Z,{align:"left",sortDirection:"meta_value"===K.orderBy&&K.order,children:(0,U.jsx)(b.Z,{active:!0,direction:"meta_value"===K.orderBy?K.order:"asc",onClick:function(){return J("meta_value")},children:"Meta Value"})}),(0,U.jsx)(P.Z,{align:"left",sortDirection:"status"===K.orderBy&&K.order,children:(0,U.jsx)(b.Z,{active:!0,direction:"status"===K.orderBy?K.order:"asc",onClick:function(){return J("status")},children:" Status"})}),(0,U.jsx)(P.Z,{align:"center",children:"Actions"})]})}),(0,U.jsx)(C.Z,{children:L.map((function(e,n){return(0,U.jsxs)(y.Z,{sx:{"&:last-child td, &:last-child th":{border:0}},children:[(0,U.jsxs)(P.Z,{component:"th",scope:"row",children:[" ",(K.page-1)*K.itemPerPage+n+1," "]}),(0,U.jsx)(P.Z,{align:"left",children:e.meta_key}),(0,U.jsx)(P.Z,{align:"left",children:e.meta_value}),(0,U.jsx)(P.Z,{align:"left",children:"active"===e.status?(0,U.jsx)(T.Z,{variant:"fill",label:e.status,color:"success",icon:(0,U.jsx)(H.Z,{})}):(0,U.jsx)(T.Z,{variant:"fill",label:e.status,color:"error",icon:(0,U.jsx)(I.Z,{})})}),(0,U.jsxs)(P.Z,{align:"center",children:["active"===e.status?(0,U.jsx)(_.Z,{color:"error","aria-label":"Make Disable",component:"span",onClick:function(n){ne(e.id,"disabled")},children:(0,U.jsx)(I.Z,{})}):(0,U.jsx)(_.Z,{color:"success","aria-label":"Make Active",component:"span",onClick:function(n){ne(e.id,"active")},children:(0,U.jsx)(w.Z,{})}),(0,U.jsx)(o.OL,{to:"/admin/settings/edit/".concat(e.id),children:(0,U.jsx)(_.Z,{color:"info","aria-label":"Edit",component:"span",className:"circle-btn",children:(0,U.jsx)(D.Z,{})})}),(0,U.jsx)(o.OL,{to:"/admin/settings/view/".concat(e.id),children:(0,U.jsx)(_.Z,{color:"info","aria-label":"view",component:"span",className:"circle-btn",children:(0,U.jsx)(R.Z,{})})})]})]},e.id)}))}),(0,U.jsx)(k.Z,{children:(0,U.jsx)(N.Z,{colSpan:10,handleChangePage:function(e,n){Y((0,r.Z)((0,r.Z)({},K),{},{page:n+1}))},handleChangeRowsPerPage:function(e){Y((0,r.Z)((0,r.Z)({},K),{},{itemPerPage:parseInt(e.target.value,10),page:1}))},itemPerPage:K.itemPerPage,page:K.page,total:G})})]})})]})}},77663:function(e,n,t){var r=t(64836);n.Z=void 0;var s=r(t(45649)),i=t(80184),a=(0,s.default)((0,i.jsx)("path",{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zM5 7V5h14v2H5zm2 4h10v2H7zm0 4h7v2H7z"}),"EventNoteOutlined");n.Z=a}}]);
2//# sourceMappingURL=35.ed727ecb.chunk.js.map

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.