@zimyo/engage 0.3.15-pms → 0.3.17-pms
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.
- package/dist/main.cjs +1 -1
- package/dist/main.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -3003,7 +3003,7 @@ yyyy`);var r=mc(t),o=n?"getUTC":"get",i=r[o+"FullYear"](),a=r[o+"Month"]()+1,s=r
|
|
|
3003
3003
|
`);return D.jsxs(Ie,{className:yg.feedback__rating,children:[D.jsxs("div",{className:"flex-between-center w-100",children:[D.jsxs("div",{className:"flex-start-center",children:[D.jsx(Xi,{sx:{height:30,width:30,marginRight:2},alt:"",src:(w=y==null?void 0:y.APPERICIATED_BY_PROFILE_IMAGE)!=null?w:`https://robohash.org/${y==null?void 0:y.APPERICIATED_BY}`}),D.jsxs("div",{children:[D.jsx("h4",{children:(S=y==null?void 0:y.APPERICIATED_BY)!=null?S:"--"}),D.jsxs("p",{style:{padding:"0px",margin:"5px 0px 0px 0px",fontSize:"12px",color:"#615E69"},children:[(E=y==null?void 0:y.APPERICIATED_BY_DESIGNATION)!=null?E:"--",D.jsx("span",{children:D.jsx(g0e,{style:{width:"25px",height:"auto",padding:"0px 10px",color:"#D2D1D4"}})}),(C=y==null?void 0:y.APPERICIATED_BY_DEPARTMENT)!=null?C:"--"]})]})]}),D.jsxs("div",{className:"flex-start-center",children:[D.jsxs("h4",{style:{marginRight:"10px"},children:["Appreciation for :-"," "]}),D.jsx("div",{children:D.jsx("h4",{children:(T=y==null?void 0:y.APPERICIATED_TO)!=null?T:"--"})})]})]}),D.jsxs("div",{className:yg.feedback__appreciation,children:[D.jsx(Xi,{alt:"",src:(I=y==null?void 0:y.BADGE_LOGO)!=null?I:""}),D.jsx("h3",{children:(M=y==null?void 0:y.BADGE_TITLE)!=null?M:"TITLE"}),b==null?void 0:b.map((O,z)=>D.jsx("p",{style:(b==null?void 0:b.length)>1?{textAlign:"start"}:{textAlign:"center"},children:O},z))]}),D.jsx("div",{style:{display:"flex",justifyContent:"right"},className:"one__icons__bottom",children:D.jsxs("p",{children:[D.jsx("span",{children:D.jsx(f0e,{})}),xn.getFormatedDate(y==null?void 0:y.CREATED_ON,(A=i==null?void 0:i.date_str)!=null?A:"d-M-Y")]})})]},x)}):D.jsx(Uc,{message:"No appreciations found for the selected badge"})]})]}),D.jsx(zse,{open:l,setOpen:u})]})};var KP={},DFe=ir;Object.defineProperty(KP,"__esModule",{value:!0});var QP=KP.default=void 0,zFe=DFe(Sr()),RFe=D;QP=KP.default=(0,zFe.default)((0,RFe.jsx)("path",{d:"M21 5v6.5H9.33V5zm-6.33 14v-6.5H9.33V19zm1-6.5V19H21v-6.5zM8.33 19V5H3v14z"}),"ViewQuilt");var Nse={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Wq=K.createContext&&K.createContext(Nse),jFe=["attr","size","title"];function NFe(e,t){if(e==null)return{};var n=PFe(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function PFe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function IC(){return IC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IC.apply(this,arguments)}function Uq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function MC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Uq(Object(n),!0).forEach(function(r){LFe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uq(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function LFe(e,t,n){return t=$Fe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $Fe(e){var t=BFe(e,"string");return typeof t=="symbol"?t:t+""}function BFe(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Pse(e){return e&&e.map((t,n)=>K.createElement(t.tag,MC({key:n},t.attr),Pse(t.child)))}function Si(e){return t=>K.createElement(FFe,IC({attr:MC({},e.attr)},t),Pse(e.child))}function FFe(e){var t=n=>{var{attr:r,size:o,title:i}=e,a=NFe(e,jFe),s=o||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),K.createElement("svg",IC({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,a,{className:l,style:MC(MC({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&K.createElement("title",null,i),e.children)};return Wq!==void 0?K.createElement(Wq.Consumer,null,n=>t(n)):t(Nse)}function Lse(e){return Si({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"},child:[]}]})(e)}function $se(e){return Si({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 0 0 0-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 0 0 9.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"},child:[]}]})(e)}function VFe(e){return Si({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"},child:[]},{tag:"path",attr:{d:"M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"},child:[]}]})(e)}const Mk=()=>{const[e,t]=K.useState(void 0);return{imageURL:e,setImageURL:t,ImageViewer:()=>D.jsx(MT,{maxWidth:"lg",onClose:()=>t(void 0),open:!!e,children:D.jsx("img",{style:{maxHeight:600,maxWidth:800,objectFit:"contain"},src:e,alt:""})})}};function t1(e){return Si({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"12",y1:"16",x2:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"12",y1:"8",x2:"12.01",y2:"8"},child:[]}]})(e)}const e3=t=>{var e=hn(t,[]);var i,a,s,l,u,d,g,f,h,c,p,m;const n=G({},e);function r(v){return!v||typeof v!="string"?"":(v=v.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_\-]+/g," ").replace(/\s+/g," ").trim(),v.split(" ").map(y=>y.charAt(0).toUpperCase()+y.slice(1).toLowerCase()).join(" "))}const o=G(me(G(G(me(G(G(me(G({},n.data?{data:n.data}:{data:[]}),{columns:n.columns.map(v=>me(G({},(v==null?void 0:v.cell)&&{cell:y=>{var _,w;const x=y==null?void 0:y.getValue(),b=(_=y==null?void 0:y.row)==null?void 0:_.original;return(w=v==null?void 0:v.cell)==null?void 0:w.call(v,x,b)}}),{header:r(v==null?void 0:v.header),id:v.id,accessorKey:v.accessorKey}))}),n!=null&&n.pagination?{pagination:{enabled:(i=n==null?void 0:n.pagination)==null?void 0:i.show,totalCount:(a=n==null?void 0:n.pagination)==null?void 0:a.totalDataCount,currentPage:(s=n==null?void 0:n.pagination)==null?void 0:s.page,pageSize:(l=n==null?void 0:n.pagination)==null?void 0:l.perPage,pageSizeOptions:(u=n==null?void 0:n.pagination)==null?void 0:u.perPageOptions,onPageChange:(d=n==null?void 0:n.pagination)==null?void 0:d.handlePageChange,onPageSizeChange:(g=n==null?void 0:n.pagination)==null?void 0:g.handlePerPageChange}}:{pagination:{enabled:!1}}),n!=null&&n.loading?{loading:{loading:n==null?void 0:n.loading}}:{loading:{loading:!1}}),{serverMode:(f=n==null?void 0:n.pagination)!=null&&f.show?!0:(n==null?void 0:n.serverMode)||!1}),(n==null?void 0:n.fixedHeader)&&{styling:G({stickyHeader:n==null?void 0:n.fixedHeader},n==null?void 0:n.styling)}),n!=null&&n.selection?{selection:{enabled:(h=n==null?void 0:n.selection)==null?void 0:h.enabled,bulkActions:((c=n==null?void 0:n.selection)==null?void 0:c.bulkActions)||[],rowIdAccessor:(p=n==null?void 0:n.selection)==null?void 0:p.rowIdAccessor,onBulkAction:(m=n==null?void 0:n.selection)==null?void 0:m.onBulkAction}}:{selection:{enabled:!1}}),{sorting:G({enabled:(n==null?void 0:n.sorting)||!1},n==null?void 0:n.sorting)}),n.selection?{selection:n.selection}:{});return D.jsx(B4,G({},o))};function t3(e){return Si({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"},child:[]}]})(e)}function HFe(e){return Si({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"},child:[]}]})(e)}function WFe(e){return Si({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"},child:[]}]})(e)}function UFe(e){return Si({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"},child:[]}]})(e)}function GFe(e){return Si({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41L10 17z"},child:[]}]})(e)}function qFe(e){return Si({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"},child:[]}]})(e)}function zv(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(d){try{u(r.next(d))}catch(g){a(g)}}function l(d){try{u(r.throw(d))}catch(g){a(g)}}function u(d){d.done?i(d.value):o(d.value).then(s,l)}u((r=r.apply(e,t||[])).next())})}function Rv(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(d){return l([u,d])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(n=0)),n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1],i=u;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(u);break}i[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(d){u=[6,d],o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function YFe(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return i}function JFe(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(YFe(arguments[t]));return e}var XFe=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function J1(e,t){var n=ZFe(e);if(typeof n.path!="string"){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:typeof t=="string"?t:typeof r=="string"&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function ZFe(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),o=XFe.get(r);o&&Object.defineProperty(e,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return e}var KFe=[".DS_Store","Thumbs.db"];function QFe(e){return zv(this,void 0,void 0,function(){return Rv(this,function(t){return AC(e)&&eVe(e)?[2,oVe(e.dataTransfer,e.type)]:tVe(e)?[2,nVe(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,rVe(e)]:[2,[]]})})}function eVe(e){return AC(e.dataTransfer)}function tVe(e){return AC(e)&&AC(e.target)}function AC(e){return typeof e=="object"&&e!==null}function nVe(e){return GR(e.target.files).map(function(t){return J1(t)})}function rVe(e){return zv(this,void 0,void 0,function(){var t;return Rv(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return J1(r)})]}})})}function oVe(e,t){return zv(this,void 0,void 0,function(){var n,r;return Rv(this,function(o){switch(o.label){case 0:return e===null?[2,[]]:e.items?(n=GR(e.items).filter(function(i){return i.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(iVe))]):[3,2];case 1:return r=o.sent(),[2,Gq(Bse(r))];case 2:return[2,Gq(GR(e.files).map(function(i){return J1(i)}))]}})})}function Gq(e){return e.filter(function(t){return KFe.indexOf(t.name)===-1})}function GR(e){if(e===null)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function iVe(e){if(typeof e.webkitGetAsEntry!="function")return qq(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Fse(t):qq(e)}function Bse(e){return e.reduce(function(t,n){return JFe(t,Array.isArray(n)?Bse(n):[n])},[])}function qq(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=J1(t);return Promise.resolve(n)}function aVe(e){return zv(this,void 0,void 0,function(){return Rv(this,function(t){return[2,e.isDirectory?Fse(e):sVe(e)]})})}function Fse(e){var t=e.createReader();return new Promise(function(n,r){var o=[];function i(){var a=this;t.readEntries(function(s){return zv(a,void 0,void 0,function(){var l,u,d;return Rv(this,function(g){switch(g.label){case 0:if(s.length)return[3,5];g.label=1;case 1:return g.trys.push([1,3,,4]),[4,Promise.all(o)];case 2:return l=g.sent(),n(l),[3,4];case 3:return u=g.sent(),r(u),[3,4];case 4:return[3,6];case 5:d=Promise.all(s.map(aVe)),o.push(d),i(),g.label=6;case 6:return[2]}})})},function(s){r(s)})}i()})}function sVe(e){return zv(this,void 0,void 0,function(){return Rv(this,function(t){return[2,new Promise(function(n,r){e.file(function(o){var i=J1(o,e.fullPath);n(i)},function(o){r(o)})})]})})}var lVe=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(n.length===0)return!0;var r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some(function(a){var s=a.trim().toLowerCase();return s.charAt(0)==="."?r.toLowerCase().endsWith(s):s.endsWith("/*")?i===s.replace(/\/.*$/,""):o===s})}return!0};function Yq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Jq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Yq(Object(n),!0).forEach(function(r){Vse(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yq(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Vse(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xq(e,t){return pVe(e)||dVe(e,t)||uVe(e,t)||cVe()}function cVe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3004
3004
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uVe(e,t){if(e){if(typeof e=="string")return Zq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zq(e,t)}}function Zq(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function dVe(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function pVe(e){if(Array.isArray(e))return e}var fVe="file-invalid-type",hVe="file-too-large",gVe="file-too-small",mVe="too-many-files",vVe=function(t){t=Array.isArray(t)&&t.length===1?t[0]:t;var n=Array.isArray(t)?"one of ".concat(t.join(", ")):t;return{code:fVe,message:"File type must be ".concat(n)}},Kq=function(t){return{code:hVe,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},Qq=function(t){return{code:gVe,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},yVe={code:mVe,message:"Too many files"};function Hse(e,t){var n=e.type==="application/x-moz-file"||lVe(e,t);return[n,n?null:vVe(t)]}function Wse(e,t,n){if(V0(e.size))if(V0(t)&&V0(n)){if(e.size>n)return[!1,Kq(n)];if(e.size<t)return[!1,Qq(t)]}else{if(V0(t)&&e.size<t)return[!1,Qq(t)];if(V0(n)&&e.size>n)return[!1,Kq(n)]}return[!0,null]}function V0(e){return e!=null}function bVe(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,a=e.maxFiles;return!i&&t.length>1||i&&a>=1&&t.length>a?!1:t.every(function(s){var l=Hse(s,n),u=Xq(l,1),d=u[0],g=Wse(s,r,o),f=Xq(g,1),h=f[0];return d&&h})}function OC(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble!="undefined"?e.cancelBubble:!1}function hw(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function eY(e){e.preventDefault()}function xVe(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function _Ve(e){return e.indexOf("Edge/")!==-1}function wVe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return xVe(e)||_Ve(e)}function Nl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return t.some(function(s){return!OC(r)&&s&&s.apply(void 0,[r].concat(i)),OC(r)})}}function tY(){return"showOpenFilePicker"in window}function SVe(e){return e=typeof e=="string"?e.split(","):e,[{description:"everything",accept:Array.isArray(e)?e.filter(function(t){return t==="audio/*"||t==="video/*"||t==="image/*"||t==="text/*"||/\w+\/[-+.\w]+/g.test(t)}).reduce(function(t,n){return Jq(Jq({},t),{},Vse({},n,[]))},{}):{}}]}var CVe=["children"],TVe=["open"],kVe=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],EVe=["refKey","onChange","onClick"];function IVe(e){return OVe(e)||AVe(e)||Use(e)||MVe()}function MVe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3005
3005
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function AVe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function OVe(e){if(Array.isArray(e))return qR(e)}function M5(e,t){return RVe(e)||zVe(e,t)||Use(e,t)||DVe()}function DVe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3006
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Use(e,t){if(e){if(typeof e=="string")return qR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qR(e,t)}}function qR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zVe(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function RVe(e){if(Array.isArray(e))return e}function nY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function eo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nY(Object(n),!0).forEach(function(r){YR(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nY(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function YR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DC(e,t){if(e==null)return{};var n=jVe(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jVe(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Ak=K.forwardRef(function(e,t){var n=e.children,r=DC(e,CVe),o=qse(r),i=o.open,a=DC(o,TVe);return K.useImperativeHandle(t,function(){return{open:i}},[i]),K.createElement(K.Fragment,null,n(eo(eo({},a),{},{open:i})))});Ak.displayName="Dropzone";var Gse={disabled:!1,getFilesFromEvent:QFe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1};Ak.defaultProps=Gse;Ak.propTypes={children:k.func,accept:k.oneOfType([k.string,k.arrayOf(k.string)]),multiple:k.bool,preventDropOnDocument:k.bool,noClick:k.bool,noKeyboard:k.bool,noDrag:k.bool,noDragEventsBubbling:k.bool,minSize:k.number,maxSize:k.number,maxFiles:k.number,disabled:k.bool,getFilesFromEvent:k.func,onFileDialogCancel:k.func,onFileDialogOpen:k.func,useFsAccessApi:k.bool,onDragEnter:k.func,onDragLeave:k.func,onDragOver:k.func,onDrop:k.func,onDropAccepted:k.func,onDropRejected:k.func,validator:k.func};var JR={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function qse(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=eo(eo({},Gse),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,g=t.onDragOver,f=t.onDrop,h=t.onDropAccepted,c=t.onDropRejected,p=t.onFileDialogCancel,m=t.onFileDialogOpen,v=t.useFsAccessApi,y=t.preventDropOnDocument,x=t.noClick,b=t.noKeyboard,_=t.noDrag,w=t.noDragEventsBubbling,S=t.validator,E=K.useMemo(function(){return typeof m=="function"?m:rY},[m]),C=K.useMemo(function(){return typeof p=="function"?p:rY},[p]),T=K.useRef(null),I=K.useRef(null),M=K.useReducer(NVe,JR),A=M5(M,2),O=A[0],z=A[1],R=O.isFocused,N=O.isFileDialogActive,j=O.draggedFiles,P=function(){N&&setTimeout(function(){if(I.current){var ue=I.current.files;ue.length||(z({type:"closeDialog"}),C())}},300)};K.useEffect(function(){return v&&tY()?function(){}:(window.addEventListener("focus",P,!1),function(){window.removeEventListener("focus",P,!1)})},[I,N,C,v]);var L=K.useRef([]),$=function(ue){T.current&&T.current.contains(ue.target)||(ue.preventDefault(),L.current=[])};K.useEffect(function(){return y&&(document.addEventListener("dragover",eY,!1),document.addEventListener("drop",$,!1)),function(){y&&(document.removeEventListener("dragover",eY),document.removeEventListener("drop",$))}},[T,y]);var B=K.useCallback(function(oe){oe.preventDefault(),oe.persist(),se(oe),L.current=[].concat(IVe(L.current),[oe.target]),hw(oe)&&Promise.resolve(o(oe)).then(function(ue){OC(oe)&&!w||(z({draggedFiles:ue,isDragActive:!0,type:"setDraggedFiles"}),u&&u(oe))})},[o,u,w]),F=K.useCallback(function(oe){oe.preventDefault(),oe.persist(),se(oe);var ue=hw(oe);if(ue&&oe.dataTransfer)try{oe.dataTransfer.dropEffect="copy"}catch(fe){}return ue&&g&&g(oe),!1},[g,w]),W=K.useCallback(function(oe){oe.preventDefault(),oe.persist(),se(oe);var ue=L.current.filter(function(ye){return T.current&&T.current.contains(ye)}),fe=ue.indexOf(oe.target);fe!==-1&&ue.splice(fe,1),L.current=ue,!(ue.length>0)&&(z({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),hw(oe)&&d&&d(oe))},[T,d,w]),U=K.useCallback(function(oe,ue){var fe=[],ye=[];oe.forEach(function(Te){var ze=Hse(Te,n),Se=M5(ze,2),Me=Se[0],it=Se[1],dt=Wse(Te,a,i),xt=M5(dt,2),yt=xt[0],Oe=xt[1],Ne=S?S(Te):null;if(Me&&yt&&!Ne)fe.push(Te);else{var Fe=[it,Oe];Ne&&(Fe=Fe.concat(Ne)),ye.push({file:Te,errors:Fe.filter(function(vt){return vt})})}}),(!s&&fe.length>1||s&&l>=1&&fe.length>l)&&(fe.forEach(function(Te){ye.push({file:Te,errors:[yVe]})}),fe.splice(0)),z({acceptedFiles:fe,fileRejections:ye,type:"setFiles"}),f&&f(fe,ye,ue),ye.length>0&&c&&c(ye,ue),fe.length>0&&h&&h(fe,ue)},[z,s,n,a,i,l,f,h,c,S]),q=K.useCallback(function(oe){oe.preventDefault(),oe.persist(),se(oe),L.current=[],hw(oe)&&Promise.resolve(o(oe)).then(function(ue){OC(oe)&&!w||U(ue,oe)}),z({type:"reset"})},[o,U,w]),Q=K.useCallback(function(){if(v&&tY()){z({type:"openDialog"}),E();var oe={multiple:s,types:SVe(n)};window.showOpenFilePicker(oe).then(function(ue){return o(ue)}).then(function(ue){return U(ue,null)}).catch(function(ue){return C(ue)}).finally(function(){return z({type:"closeDialog"})});return}I.current&&(z({type:"openDialog"}),E(),I.current.value=null,I.current.click())},[z,E,C,v,U,n,s]),J=K.useCallback(function(oe){!T.current||!T.current.isEqualNode(oe.target)||(oe.keyCode===32||oe.keyCode===13)&&(oe.preventDefault(),Q())},[T,I,Q]),X=K.useCallback(function(){z({type:"focus"})},[]),te=K.useCallback(function(){z({type:"blur"})},[]),ee=K.useCallback(function(){x||(wVe()?setTimeout(Q,0):Q())},[I,x,Q]),ne=function(ue){return r?null:ue},ie=function(ue){return b?null:ne(ue)},ae=function(ue){return _?null:ne(ue)},se=function(ue){w&&ue.stopPropagation()},pe=K.useMemo(function(){return function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ue=oe.refKey,fe=ue===void 0?"ref":ue,ye=oe.role,Te=oe.onKeyDown,ze=oe.onFocus,Se=oe.onBlur,Me=oe.onClick,it=oe.onDragEnter,dt=oe.onDragOver,xt=oe.onDragLeave,yt=oe.onDrop,Oe=DC(oe,kVe);return eo(eo(YR({onKeyDown:ie(Nl(Te,J)),onFocus:ie(Nl(ze,X)),onBlur:ie(Nl(Se,te)),onClick:ne(Nl(Me,ee)),onDragEnter:ae(Nl(it,B)),onDragOver:ae(Nl(dt,F)),onDragLeave:ae(Nl(xt,W)),onDrop:ae(Nl(yt,q)),role:typeof ye=="string"&&ye!==""?ye:"button"},fe,T),!r&&!b?{tabIndex:0}:{}),Oe)}},[T,J,X,te,ee,B,F,W,q,b,_,r]),de=K.useCallback(function(oe){oe.stopPropagation()},[]),he=K.useMemo(function(){return function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ue=oe.refKey,fe=ue===void 0?"ref":ue,ye=oe.onChange,Te=oe.onClick,ze=DC(oe,EVe),Se=YR({accept:n,multiple:s,type:"file",style:{display:"none"},onChange:ne(Nl(ye,q)),onClick:ne(Nl(Te,de)),autoComplete:"off",tabIndex:-1},fe,I);return eo(eo({},Se),ze)}},[I,n,s,q,r]),ve=j.length,Z=ve>0&&bVe({files:j,accept:n,minSize:a,maxSize:i,multiple:s,maxFiles:l}),re=ve>0&&!Z;return eo(eo({},O),{},{isDragAccept:Z,isDragReject:re,isFocused:R&&!r,getRootProps:pe,getInputProps:he,rootRef:T,inputRef:I,open:ne(Q)})}function NVe(e,t){switch(t.type){case"focus":return eo(eo({},e),{},{isFocused:!0});case"blur":return eo(eo({},e),{},{isFocused:!1});case"openDialog":return eo(eo({},JR),{},{isFileDialogActive:!0});case"closeDialog":return eo(eo({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive,r=t.draggedFiles;return eo(eo({},e),{},{draggedFiles:r,isDragActive:n});case"setFiles":return eo(eo({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return eo({},JR);default:return e}}function rY(){}const PVe=(e,t)=>{const m=e,{onChange:n,onDrop:r,isDrop:o,dragNDrop:i,error:a,helperText:s,disabled:l,label:u,multiple:d,accept:g,fileName:f,style:h}=m,c=hn(m,["onChange","onDrop","isDrop","dragNDrop","error","helperText","disabled","label","multiple","accept","fileName","style"]),p=()=>{f&&f.length>0&&f.pop()};return D.jsx(D.Fragment,{children:i?D.jsx("div",{className:"file-input-container",children:f!=null&&f.length?D.jsxs(D.Fragment,{children:[D.jsx("p",{children:f.join(", ")}),D.jsx(WFe,{onClick:p})]}):D.jsxs(D.Fragment,{children:[o?D.jsx(GFe,{color:"#4D70FF",size:22}):D.jsx(HFe,{color:"#4D70FF",size:22}),D.jsx(Ak,{onDrop:r,children:({getRootProps:v,getInputProps:y,isDragActive:x,isDragReject:b})=>D.jsxs("div",me(G({},v()),{children:[D.jsx("input",G({},y())),!x&&D.jsxs("p",{children:["Drag and Drop your file here or"," ",D.jsx("a",{href:"#",style:{color:"#4D70FF"},children:"Choose file"})]}),x&&!b&&D.jsxs("p",{children:["Drag and Drop your file here or"," ",D.jsx("a",{href:"#",style:{color:"#4D70FF"},children:"Choose file"})]}),b&&"File type not accepted, sorry!"]}))})]})}):D.jsx($T,G({error:a,label:u,type:"file",onChange:n,InputLabelProps:{shrink:!0},inputRef:t,size:"small",helperText:s,disabled:l,inputProps:{multiple:d,accept:g},sx:G({},h)},c))})},LVe=K.forwardRef(PVe),Pp={CREATE:"CREATE",EDIT:"EDIT"},$Ve=()=>{var N,j,P,L;const e=xi(),{ImageViewer:t,setImageURL:n}=Mk(),r=Do($=>$.session.user),o=Ko($=>$.pushAlert),[i,a]=K.useState({PER_PAGE:20,PAGE:0}),[s,l]=K.useState({isOpen:!1,type:Pp.CREATE,BADGE_ID:null,TITLE:"",DESCRIPTION:"",BADGE_LOGO:null,APPERICATION_REMARKS:""}),[u,d]=K.useState(null),[g,f]=K.useState(null),[h,c]=K.useState(!1),[p,m]=K.useState({TITLE:!1,DESCRIPTION:!1,BADGE_LOGO:!1,APPERICATION_REMARKS:!1}),{data:v,isFetching:y}=Ao(ro,{url:on.BADGE.FETCH,params:me(G({},i),{PAGE:i.PAGE+1,SEARCH:u})},"fetchBadges"),{mutate:x,isLoading:b}=Hr(yo,"createAppreciationBadge",{onSuccess:({data:$})=>{o({type:"success",message:($==null?void 0:$.message)||"Badge has been created successfully!"}),e.invalidateQueries("fetchBadges"),C()},onError:({response:$})=>{var B;o({type:"error",message:((B=$==null?void 0:$.data)==null?void 0:B.message)||""})}}),{mutate:_,isLoading:w}=Hr(kj,"updateAppreciationBadge",{onSuccess:({data:$})=>{o({type:"success",message:($==null?void 0:$.message)||"Badge has been updated successfully!"}),e.invalidateQueries("fetchBadges"),C()},onError:({response:$})=>{var B;o({type:"error",message:((B=$==null?void 0:$.data)==null?void 0:B.message)||"Error! while updating the badge."})}}),{mutate:S,isLoading:E}=Hr(Ej,"deleteAppreciationBadge",{onSuccess:({data:$})=>{o({type:"success",message:($==null?void 0:$.message)||"Badge has been deleted successfully!"}),e.invalidateQueries("fetchBadges"),C(),c(B=>!B)},onError:({response:$})=>{var B;o({type:"error",message:((B=$==null?void 0:$.data)==null?void 0:B.message)||"Error! while deleting the badge."})}}),C=()=>{l($=>me(G({},$),{isOpen:!1,type:Pp.CREATE,TITLE:"",DESCRIPTION:"",BADGE_ID:null,BADGE_LOGO:null,APPERICATION_REMARKS:""})),f(null),m($=>me(G({},$),{TITLE:!1,DESCRIPTION:!1,BADGE_LOGO:!1,APPERICATION_REMARKS:!1}))},T=()=>{if(!s.APPERICATION_REMARKS.length||!s.DESCRIPTION.length||!s.TITLE.length||!g){m(B=>me(G({},B),{DESCRIPTION:!s.DESCRIPTION.length,APPERICATION_REMARKS:!s.DESCRIPTION.length,TITLE:!s.TITLE.length,BADGE_LOGO:!g}));return}const $=G({},s);switch(delete $.isOpen,s.type){case Pp.CREATE:delete $.type,delete $.BADGE_ID;const B=xn.convertToFormData($);x({url:on.BADGE.CREATE,data:B});break;case Pp.EDIT:delete $.type;const F=xn.convertToFormData($);_({url:on.BADGE.UPDATE,data:F});break}},I=()=>{S({url:on.BADGE.DELETE,data:{BADGE_ID:s.BADGE_ID}})},M=($,B)=>{B&&c(J=>!J);const{ID:F,APPERICATION_REMARKS:W,DESCRIPTION:U,LOGO:q,TITLE:Q}=$;f(q),l(J=>me(G({},J),{isOpen:!B,type:Pp.EDIT,BADGE_ID:F,APPERICATION_REMARKS:W,DESCRIPTION:U,BADGE_LOGO:q,TITLE:Q}))},A=($,B)=>{if($==="BADGE_LOGO"){const F=B;if(F){const W=new FileReader;W.onload=()=>{f(W.result)},W.readAsDataURL(F)}}l(F=>me(G({},F),{[$]:B})),m(F=>me(G({},F),{[$]:!1}))},O=($,B)=>{_({url:on.BADGE.UPDATE,data:{BADGE_ID:$,STATUS:B?1:0}})},z=($,B)=>{a(F=>me(G({},F),{[$]:B}))},R=K.useMemo(()=>[{id:"LOGO",accessorKey:"LOGO",header:"Badge Logo",cell:$=>D.jsx("div",{children:D.jsx(Xi,{src:$,alt:"badge logo"})})},{id:"TITLE",accessorKey:"TITLE",header:"Title"},{id:"DESCRIPTION",accessorKey:"DESCRIPTION",header:"Description"},{id:"APPERICATION_REMARKS",accessorKey:"APPERICATION_REMARKS",header:"Appreciation Remarks"},{id:"STATUS",accessorKey:"STATUS",header:"Status",cell:($,B)=>D.jsx("div",{children:D.jsx(mv,{size:"small",checked:!!$,disabled:!!(B!=null&&B.IS_DEFAULT),onChange:(F,W)=>{O(B==null?void 0:B.ID,W)}})})},{id:"IS_DEFAULT",accessorKey:"IS_DEFAULT",header:"Action",cell:($,B)=>$?D.jsx("div",{children:D.jsx(cd,{size:"sm",label:"Default",type:"info",onClick:()=>{}})}):D.jsxs("div",{style:{display:"flex",justifyContent:"space-aroundf"},children:[D.jsx($se,{style:{color:"#A5A3A9",height:"1.25rem",width:"1.25rem",marginRight:"10px"},className:"cursor-pointer",onClick:()=>{M(B,!1)}}),D.jsx(Lse,{onClick:()=>{M(B,!0)},style:{color:"#A5A3A9",height:"1.25rem",width:"1.25rem"},className:"cursor-pointer"})]})}],[v]);return ba(y||b||w||E),D.jsxs(Ie,{padding:2,width:"100%",children:[D.jsxs(Ie,{display:"flex",justifyContent:"flex-end",gap:2,children:[D.jsx(Xn,{label:"Search..",type:"text",name:"searchText",size:"sm",placeholder:"Search..",onChange:$=>{var B;return d((B=$==null?void 0:$.target)==null?void 0:B.value)},leftIcon:D.jsx(t3,{style:{width:14,height:14}})}),D.jsx(Zn,{size:"small",onClick:()=>l($=>me(G({},$),{isOpen:!0,type:Pp.CREATE})),children:"Create"})]}),D.jsx(Ie,{my:2,sx:{height:"70vh"},children:D.jsx(e3,{columns:R,loading:y,data:(v==null?void 0:v.ROWS)||[],pagination:{show:!0,totalDataCount:(N=v==null?void 0:v.COUNT)!=null?N:0,perPageOptions:[20,30,50,100],perPage:i.PER_PAGE,page:i.PAGE,handlePageChange:$=>{z("PAGE",$)},handlePerPageChange:$=>{z("PER_PAGE",$)}}})}),D.jsx(np,{open:s==null?void 0:s.isOpen,title:D.jsx(JP,{title:(s==null?void 0:s.type)===Pp.CREATE?"Create Appreciation Badge":"Edit Appreciation Badge",icon:D.jsx(QP,{fontSize:"large",sx:{color:r==null?void 0:r.PRODUCT_THEME_COLOR}})}),maxWidth:"sm",onClose:C,children:D.jsxs(Ie,{display:"flex",flexDirection:"column",gap:1.5,children:[D.jsx(Ie,{children:D.jsx(Xn,{size:"sm",floatingLabel:!0,required:!0,label:"Title",variant:"outlined",name:"TITLE",value:(j=s.TITLE)!=null?j:"",color:"secondary",onChange:$=>{const{name:B,value:F}=$.target;A(B,F)},error:p!=null&&p.TITLE?"Please Enter Title":""})}),D.jsxs(Ie,{className:"w-100 mt-10",children:[D.jsx(Xn,{required:!0,label:"Description",variant:"outlined",sx:{width:"100%"},name:"DESCRIPTION",value:(P=s.DESCRIPTION)!=null?P:"",color:"secondary",multiline:!0,minRows:3,onChange:$=>{const{name:B,value:F}=$.target;A(B,F)}}),p.DESCRIPTION&&D.jsxs("div",{className:"form_error",children:[D.jsx(t1,{}),D.jsx("p",{className:"form-error",children:"Please Enter Description"})]})]}),D.jsx(Ie,{className:"w-100 mt-10",children:D.jsx(Xn,{required:!0,variant:"outlined",label:"Appreciation Remarks",placeholder:"Enter Appreciation Remarks",name:"APPERICATION_REMARKS",value:(L=s.APPERICATION_REMARKS)!=null?L:"",color:"secondary",type:"textarea",style:{minHeight:50},onChange:$=>{const{name:B,value:F}=$.target;A(B,F)},error:p.APPERICATION_REMARKS?"Please Enter Remarks":""})}),D.jsxs(Ie,{className:"w-100 mt-10",children:[D.jsx(LVe,{required:!0,label:"Badge Logo",variant:"outlined",sx:{width:"100%"},name:"BADGE_LOGO",color:"secondary",onChange:$=>{const{name:B,files:F=""}=$.target;A(B,F==null?void 0:F[0])}}),p.BADGE_LOGO&&D.jsxs("div",{className:"form_error",children:[D.jsx(t1,{}),D.jsx("p",{className:"error",children:"Please Upload Badge Logo"})]})]}),!!g&&D.jsx("div",{className:"w-100 mt-10 ",children:D.jsx("img",{style:{cursor:"zoom-in"},onClick:()=>{n(g)},alt:"",src:g,width:200})}),D.jsxs(Ie,{display:"flex",gap:2,justifyContent:"flex-end",marginTop:2,children:[D.jsx(Zn,{size:"small",variant:"outlined",onClick:C,children:"Cancel"}),D.jsx(Zn,{size:"small",onClick:T,children:"Submit"})]})]})}),D.jsx(KQ,{variant:"delete",open:h,description:"Do You want to delete the Badge?",title:"Are You Sure?",confirmText:"Delete",cancelText:"Cancel",onCancel:()=>{C(),c($=>!$)},onClose:()=>{C(),c($=>!$)},onConfirm:I,maxWidth:"sm"}),D.jsx(t,{})]})},sa=e=>{const a=e,{label:t,variant:n="contained",onClick:r,size:o="small"}=a,i=hn(a,["label","variant","onClick","size"]);return D.jsx(Zn,me(G({size:o,variant:n,onClick:r},i),{children:t}))},BVe=rh({ID:Xd().optional(),SKILL_NAME:di({required_error:"Please enter skill name!"}),SKILL_DESCRIPTION:di({required_error:"Please enter skill description!"})}),Lp={CREATE:"CREATE",EDIT:"EDIT"},FVe=()=>{var N;const e=xi(),t=Do(j=>j.session.user),n=Ko(j=>j.pushAlert),[r,o]=K.useState({PER_PAGE:20,PAGE:0}),[i,a]=K.useState(null),[s,l]=K.useState({isOpen:!1,type:Lp.CREATE}),[u,d]=K.useState(!1),{control:g,formState:{errors:f},watch:h,handleSubmit:c,setValue:p,reset:m}=Zd({resolver:Dv(BVe),mode:"onChange",defaultValues:{}}),[v]=h(["ID"]),{data:y,isFetching:x}=Ao(ro,{url:on.CONTINUOUS_FEEDBACK.RATING_SKILL.FETCH,params:{PAGE:r.PAGE+1,PER_PAGE:r.PER_PAGE,SEARCH:i}},"fetchRatingSkill"),{mutate:b,isLoading:_}=Hr(yo,"createRatingSkill",{onSuccess:({data:j})=>{n({type:"success",message:(j==null?void 0:j.message)||"Rating Skill has been created successfully!"}),e.invalidateQueries("fetchRatingSkill"),T()},onError:({response:j})=>{var P;n({type:"error",message:((P=j==null?void 0:j.data)==null?void 0:P.message)||"Error! while creating rating skill."})}}),{mutate:w,isLoading:S}=Hr(kj,"updateRatingSkill",{onSuccess:({data:j})=>{n({type:"success",message:(j==null?void 0:j.message)||"Rating Skill has been updated successfully!"}),e.invalidateQueries("fetchRatingSkill"),T()},onError:({response:j})=>{var P;n({type:"error",message:((P=j==null?void 0:j.data)==null?void 0:P.message)||"Error! while updating rating skill."})}}),{mutate:E,isLoading:C}=Hr(Ej,"deleteRatingSkill",{onSuccess:({data:j})=>{n({type:"success",message:(j==null?void 0:j.message)||"Rating Skill has been deleted successfully!"}),e.invalidateQueries("fetchRatingSkill"),T()},onError:({response:j})=>{var P;n({type:"error",message:((P=j==null?void 0:j.data)==null?void 0:P.message)||"Error! while deleting rating skill."})}}),T=()=>{l(j=>me(G({},j),{isOpen:!1,type:Lp.CREATE})),m(),d(!1)},I=c(j=>{switch(s.type){case Lp.CREATE:b({url:on.CONTINUOUS_FEEDBACK.RATING_SKILL.CREATE,data:j});break;case Lp.EDIT:w({url:on.CONTINUOUS_FEEDBACK.RATING_SKILL.UPDATE,data:j});break}}),M=()=>{E({url:on.CONTINUOUS_FEEDBACK.RATING_SKILL.DELETE,data:{ID:v}})},A=j=>{p("ID",j==null?void 0:j.ID),p("SKILL_NAME",j==null?void 0:j.SKILL_NAME),p("SKILL_DESCRIPTION",j==null?void 0:j.SKILL_DESCRIPTION),l(P=>me(G({},P),{isOpen:!0,type:Lp.EDIT}))},O=j=>{p("ID",j==null?void 0:j.ID),d(P=>!P)},z=(j,P)=>{w({url:on.CONTINUOUS_FEEDBACK.RATING_SKILL.UPDATE,data:{ID:j,STATUS:P?1:0}})},R=K.useMemo(()=>[{id:"SKILL_NAME",accessorKey:"SKILL_NAME",header:"Skills"},{id:"SKILL_DESCRIPTION",accessorKey:"SKILL_DESCRIPTION",header:"Description"},{id:"STATUS",accessorKey:"STATUS",header:"Status",cell:j=>{var $;const P=j==null?void 0:j.getValue(),L=($=j==null?void 0:j.row)==null?void 0:$.original;return D.jsx("div",{children:D.jsx(mv,{size:"small",checked:!!P,onChange:(B,F)=>{z(L==null?void 0:L.ID,F)}})})}},{id:"ID",accessorKey:"ID",header:"Action",cell:j=>{var L;j==null||j.getValue();const P=(L=j==null?void 0:j.row)==null?void 0:L.original;return D.jsxs("div",{style:{display:"flex",justifyContent:"space-aroundf"},children:[D.jsx($se,{style:{color:"#A5A3A9",height:"1.25rem",width:"1.25rem",marginRight:"10px"},className:"cursor-pointer",onClick:()=>{A(P)}}),D.jsx(Lse,{onClick:()=>O(P),style:{color:"#A5A3A9",height:"1.25rem",width:"1.25rem"},className:"cursor-pointer"})]})}}],[y]);return ba(x||_||S||C),D.jsxs(Ie,{padding:2,width:"100%",children:[D.jsxs(Ie,{display:"flex",justifyContent:"flex-end",gap:3,children:[D.jsx(Xn,{size:"sm",placeholder:"Search...",leftIcon:D.jsx(t3,{style:{width:14,height:14}}),onChange:j=>{var P;a((P=j==null?void 0:j.target)==null?void 0:P.value)}}),D.jsx(sa,{size:"small",label:"CREATE",onClick:()=>l(j=>me(G({},j),{isOpen:!0,type:Lp.CREATE})),disableElevation:!0})]}),D.jsx(Ie,{my:2,sx:{height:"70vh"},children:D.jsx(B4,{columns:R,data:(y==null?void 0:y.ROWS)||[],loading:{loading:x},serverMode:!0,pagination:{enabled:!0,totalCount:(N=y==null?void 0:y.TOTAL)!=null?N:0,pageSizeOptions:[20,30,50,100],pageSize:r==null?void 0:r.PER_PAGE,currentPage:r==null?void 0:r.PAGE,onPageChange:j=>{o(me(G({},r),{PAGE:j}))},onPageSizeChange:j=>{o(me(G({},r),{PER_PAGE:j}))}}})}),(s==null?void 0:s.isOpen)&&D.jsx(np,{open:s==null?void 0:s.isOpen,onClose:()=>T(),title:D.jsx(JP,{title:(s==null?void 0:s.type)===Lp.CREATE?"Create Skill":"Edit Skill",icon:D.jsx(QP,{sx:{color:t==null?void 0:t.PRODUCT_THEME_COLOR}})}),maxWidth:"sm",children:D.jsxs(Ie,{display:"flex",flexDirection:"column",gap:3,my:1,children:[D.jsx(Es,{variant:"outlined",style:{height:"auto"},children:D.jsx(br,{name:"SKILL_NAME",control:g,render:({field:j})=>{var P;return D.jsx(Xn,me(G({size:"sm",label:"Name",autoComplete:"off"},j),{error:f!=null&&f.SKILL_NAME?(P=f==null?void 0:f.SKILL_NAME)==null?void 0:P.message:""}))}})}),D.jsxs(Es,{variant:"outlined",style:{height:"auto"},children:[D.jsx(br,{name:"SKILL_DESCRIPTION",control:g,render:({field:j})=>D.jsx(Xn,G({size:"sm",placeholder:"Enter Description",type:"textarea",label:"Description",style:{height:100}},j))}),!!(f!=null&&f.SKILL_DESCRIPTION)&&D.jsxs("div",{className:"form_error",children:[D.jsx(t1,{}),D.jsx("p",{children:f==null?void 0:f.SKILL_DESCRIPTION.message})]})]}),D.jsxs(Ie,{display:"flex",gap:2,justifyContent:"flex-end",children:[D.jsx(sa,{size:"small",label:"CANCEL",variant:"outlined",onClick:T,disableElevation:!0}),D.jsx(sa,{size:"small",label:"SUBMIT",onClick:I,disableElevation:!0})]})]})}),u&&D.jsx(KQ,{open:u,title:"Are you sure?",message:"Do You Want to Delete the skill?",onConfirm:()=>M(),onCancel:()=>{d(!1)},variant:"delete",cancelText:"Cancel",confirmText:"Delete",onClose:()=>{d(!1)}})]})};var n3={},VVe=ir;Object.defineProperty(n3,"__esModule",{value:!0});var r3=n3.default=void 0,HVe=VVe(Sr()),WVe=D;r3=n3.default=(0,HVe.default)((0,WVe.jsx)("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1z"}),"AssignmentInd");var o3={},UVe=ir;Object.defineProperty(o3,"__esModule",{value:!0});var i3=o3.default=void 0,GVe=UVe(Sr()),qVe=D;i3=o3.default=(0,GVe.default)((0,qVe.jsx)("path",{d:"M4 16v6h16v-6c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2m14 2H6v-2h12zM12 2C9.24 2 7 4.24 7 7l5 7 5-7c0-2.76-2.24-5-5-5m0 9L9 7c0-1.66 1.34-3 3-3s3 1.34 3 3z"}),"Approval");var a3={},YVe=ir;Object.defineProperty(a3,"__esModule",{value:!0});var s3=a3.default=void 0,JVe=YVe(Sr()),XVe=D;s3=a3.default=(0,JVe.default)((0,XVe.jsx)("path",{d:"M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"HighlightOff");var l3={},ZVe=ir;Object.defineProperty(l3,"__esModule",{value:!0});var c3=l3.default=void 0,KVe=ZVe(Sr()),QVe=D;c3=l3.default=(0,KVe.default)((0,QVe.jsx)("path",{d:"M22 5.18 10.59 16.6l-4.24-4.24 1.41-1.41 2.83 2.83 10-10zm-2.21 5.04c.13.57.21 1.17.21 1.78 0 4.42-3.58 8-8 8s-8-3.58-8-8 3.58-8 8-8c1.58 0 3.04.46 4.28 1.25l1.44-1.44C16.1 2.67 14.13 2 12 2 6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-1.19-.22-2.33-.6-3.39z"}),"TaskAlt");var u3={},e7e=ir;Object.defineProperty(u3,"__esModule",{value:!0});var Yse=u3.default=void 0,t7e=e7e(Sr()),n7e=D;Yse=u3.default=(0,t7e.default)((0,n7e.jsx)("path",{d:"m3.25 2.75 17 17L19 21l-2-2H5c-1.1 0-2-.9-2-2V7c0-.55.23-1.05.59-1.41L2 4zM22 12l-4.37-6.16C17.27 5.33 16.67 5 16 5H8l11 11z"}),"LabelOff");var d3={},r7e=ir;Object.defineProperty(d3,"__esModule",{value:!0});var p3=d3.default=void 0,o7e=r7e(Sr()),i7e=D;p3=d3.default=(0,o7e.default)((0,i7e.jsx)("path",{d:"M9 1h6v2H9zm4 7v2.17l6.98 6.98C20.63 15.91 21 14.5 21 13c0-2.12-.74-4.07-1.97-5.61l1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-1.5 0-2.91.37-4.15 1.02L10.83 8zM2.81 2.81 1.39 4.22l3.4 3.4C3.67 9.12 3 10.98 3 13c0 4.97 4.02 9 9 9 2.02 0 3.88-.67 5.38-1.79l2.4 2.4 1.41-1.41z"}),"TimerOff");const a7e="_dashboard_container_ub43h_1",s7e="_meeting_analytics_container_ub43h_19",oY={dashboard_container:a7e,meeting_analytics_container:s7e},A5={LINE:"line"},Jse=({className:e,style:t,actionButtons:n})=>D.jsx("div",{style:t,className:Pe("flex-end-center g-10",e),children:!!Array.isArray(n)&&(n==null?void 0:n.map((l,s)=>{var u=l,{label:r,variant:o,visible:i=!0}=u,a=hn(u,["label","variant","visible"]);return i?D.jsx(Zn,me(G({size:"small",variant:o!=null?o:"contained"},a),{children:r}),s):null}))}),Qm=s=>{var l=s,{open:e,handleClose:t,size:n,header:r,actionButtons:o,children:i}=l,a=hn(l,["open","handleClose","size","header","actionButtons","children"]);let u=np;return a.fullScreen&&(a.side="bottom",a.height="100%",u=L8e),D.jsx(u,me(G({open:e,title:D.jsx(l7e,G({},r)),onClose:t,maxWidth:n,showCloseIcon:!0,actions:Array.isArray(o)&&o.length&&D.jsx(Jse,{className:"mt-10",actionButtons:o})},a),{children:i}))},l7e=({title:e,icon:t})=>D.jsxs(Ie,{display:"flex",flexDirection:"row",alignItems:"center",children:[t&&D.jsx(mi,{children:t}),D.jsx(Hf,{level:6,children:e})]}),c7e=e=>{var h,c,p,m;const{meetingType:t,setMeetingType:n,feedbackFilters:r}=e,[{PAGE:o,PER_PAGE:i},a]=K.useState({PAGE:0,PER_PAGE:20}),[s,l]=K.useState(void 0),u=K.useMemo(()=>({0:{icon:D.jsx(r3,{sx:{color:"#009F78"}}),title:"Total Meetings"},1:{icon:D.jsx(c3,{sx:{color:"#4C8BFF"}}),title:"Completed Meetings"},2:{icon:D.jsx(i3,{sx:{color:"#FAC800"}}),title:"Upcoming Meetings"},3:{icon:D.jsx(p3,{sx:{color:"#674031"}}),title:"Overdue Meetings"},4:{icon:D.jsx(s3,{sx:{color:"#674031"}}),title:"Cancelled Meetings"}}),[]),{data:d,isFetching:g}=Ao(ro,{url:on.DASHBOARD.FEEDBACK.MEETING,params:G({PAGE:o+1,MEETING_STATUS:t,PER_PAGE:i,SEARCH:s},r)},"feedbackDashboardMeetingList"),f=K.useMemo(()=>[{id:"SCHEDULE_WITH",accessorKey:"SCHEDULE_WITH",header:"Schedule With"},{id:"SCHEDULE_BY",accessorKey:"SCHEDULE_BY",header:"Schedule By"},{id:"MEETING_TITLE",accessorKey:"MEETING_TITLE",header:"Meeting Title"},{id:"DATE",accessorKey:"DATE",header:"Meeting Date"},{id:"START_TIME",accessorKey:"START_TIME",header:"START TIME"},{id:"END_TIME",accessorKey:"END_TIME",header:"End Time"}],[d]);return ba(g),D.jsx(D.Fragment,{children:D.jsx(Qm,{header:{title:t?(h=u[t])==null?void 0:h.title:"",icon:t?(c=u[t])==null?void 0:c.icon:""},fullScreen:!0,open:t!==void 0,handleClose:()=>(n(void 0),l(""),a({PAGE:0,PER_PAGE:20})),children:D.jsxs("div",{style:{padding:"1rem",height:"85vh"},children:[D.jsx("div",{style:{marginBottom:16},children:D.jsx(Xn,{placeholder:"Search",size:"sm",leftIcon:D.jsx(t3,{style:{width:14,height:14}}),onChange:v=>{var y;l((y=v==null?void 0:v.target)==null?void 0:y.value)}})}),D.jsx(e3,{columns:f,data:((p=d==null?void 0:d.ROWS)==null?void 0:p.length)&&(d==null?void 0:d.ROWS)||[],serverMode:!0,pagination:{show:!0,totalDataCount:(m=d==null?void 0:d.TOTAL)!=null?m:0,perPageOptions:[20,30,50,100],perPage:i,page:o,handlePageChange:v=>{a(y=>me(G({},y),{PAGE:v}))},handlePerPageChange:v=>{a(y=>me(G({},y),{PER_PAGE:v}))}}})]})})})};var f3={},u7e=ir;Object.defineProperty(f3,"__esModule",{value:!0});var Xse=f3.default=void 0,d7e=u7e(Sr()),p7e=D;Xse=f3.default=(0,d7e.default)((0,p7e.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined");const f7e=({name:e,description:t,descriptionWithValue:n,totalCount:r,infoMessage:o,divider_color:i,icon:a,color:s,backgroundColor:l})=>{const u=()=>a?D.jsx("div",{className:"card_icon",style:{background:l||"",color:s||""},children:a}):null;return D.jsx(E4,{style:{boxShadow:"none"},variant:"bordered",className:"zimyo_card",children:D.jsxs("div",{style:{padding:8},children:[D.jsxs("div",{className:"header_comp",children:[D.jsx(I4,{title:D.jsx(Pa,{size:"sm",fontSize:14,fontWeight:600,children:e||"--"})}),u()]}),D.jsxs("div",{className:"zimyo_header_description",children:[t&&D.jsx(K2,{children:t}),n&&D.jsx(K2,{children:n})]}),D.jsx(U2,{children:D.jsxs("div",{className:"header_comp",children:[D.jsxs("div",{className:"inner_content",children:[D.jsx("div",{className:"divider_bar",style:{backgroundColor:i||"#9c27b0"}}),D.jsx(Pa,{size:"sm",sx:{fontSize:"20px",fontWeight:600},children:r||"0"})]}),o&&D.jsx("div",{className:"info_wrapper",children:D.jsx(I1,{title:o,arrow:!0,placement:"right",children:D.jsx(Xse,{style:{fontSize:"17px",marginLeft:"2px",verticalAlign:"middle",color:"slategrey",cursor:"pointer"}})})})]})})]})})},gw=r=>{var o=r,{chartType:e="bar",grouped:t=!1}=o,n=hn(o,["chartType","grouped"]);var u,d,g,f;let i=[],a=[],s=[];const l=["#A9B8FB","#FCA5A5","#FEF9C3","#BBF7D0","#BAE6FD","#FBCFE8","#E9D5FF","#FDE68A","#D9F99D","#FFD6A5"];return t&&n.seriesField&&(a=[...new Set((u=n==null?void 0:n.data)==null?void 0:u.map(h=>h[n==null?void 0:n.xField]))],s=[...new Set((d=n==null?void 0:n.data)==null?void 0:d.map(h=>h[n.seriesField]))],i=s.map((h,c)=>({name:h,label:{show:!0,position:"top",fontSize:"11px",fontWeight:600,formatter:p=>p.value!==0?p.value:""},showBackground:!0,backgroundStyle:{color:"#F5F9FF",opacity:.6},type:e,color:l[c],data:a.map(p=>{var v;const m=(v=n==null?void 0:n.data)==null?void 0:v.find(y=>y[n==null?void 0:n.xField]===p&&y[n==null?void 0:n.seriesField]===h);return m?m[n==null?void 0:n.yField]:0})}))),D.jsx(P8e,{height:350,option:{legend:{itemGap:30,top:t?10:""},grid:{top:t?60:25},tooltip:{trigger:"axis"},xAxis:{name:n==null?void 0:n.xAxisTitle,nameLocation:"middle",nameGap:t?80:60,type:"category",animationDuration:1500,animationEasing:"cubicOut",nameTextStyle:{fontSize:"10px",fontWeight:600},axisLabel:{fontSize:"10px",fontWeight:600,interval:"auto",margin:10},axisTick:{alignWithLabel:!0},data:t?a:((g=n==null?void 0:n.data)==null?void 0:g.map(h=>h[n==null?void 0:n.xField]))||[]},yAxis:{name:n==null?void 0:n.yAxisTitle,nameLocation:"middle",nameGap:40,nameTextStyle:{fontSize:"10px",fontWeight:600},axisLabel:{fontSize:"10px",fontWeight:600,hideOverlap:!0},axisTick:{alignWithLabel:!0}},series:[{type:e,color:"#A9B8FB",barWidth:t?"":30,label:{show:!0,position:"top",fontSize:"11px",fontWeight:600,formatter:h=>h.value!==0?h.value:""},itemStyle:{opacity:.7,borderWidth:1,borderRadius:[4,4,0,0]},showBackground:!0,backgroundStyle:{color:"#F5F9FF",opacity:.6}}]},series:t&&(n!=null&&n.data)?i:{data:(f=n==null?void 0:n.data)==null?void 0:f.map(h=>h[n==null?void 0:n.yField])}})},mw={COMPLETED:1,OVERDUE:3,UPCOMING:0,CANCELLED:2},h7e={icon:D.jsx(Yse,{sx:{color:"#b441ea"}}),color:"#b441ea"},bg={TOTAL:{icon:D.jsx(r3,{sx:{color:"#009F78"}}),color:"#009F78",label:"Total",id:3,order:0,routeToHit:"",state:{status:3}},COMPLETED:{icon:D.jsx(c3,{style:{color:"#4C8BFF",width:"1rem",height:"1rem"}}),color:"#4C8BFF",label:"Completed",id:1,order:1,routeToHit:"",state:{status:mw.COMPLETED}},UPCOMING:{icon:D.jsx(i3,{sx:{color:"#FAC800"}}),color:"#FAC800",label:"Upcoming",id:0,order:2,routeToHit:"",state:{status:mw.UPCOMING}},OVERDUE:{icon:D.jsx(p3,{sx:{color:"#674031"}}),color:"#674031",label:"Overdue",id:2,order:3,routeToHit:"",state:{status:mw.OVERDUE}},CANCELED:{icon:D.jsx(s3,{sx:{color:"#674031"}}),color:"#674031",label:"Cancelled",id:2,order:4,routeToHit:"",state:{status:mw.CANCELLED}}},g7e=({className:e,filters:t})=>{var s,l,u,d;const[n,r]=K.useState(void 0),{data:o,isFetching:i}=Ao(ro,{url:on.DASHBOARD.FEEDBACK.ANALYTICS,params:G({},t)},"fetchFeedbackAnalytics"),a=K.useMemo(()=>{const g=o!=null&&o.meetingAnalytics?o.meetingAnalytics:{TOTAL:0,COMPLETED:0,UPCOMING:0,OVERDUE:0,CANCELED:0};return Object.entries(g||{}).map(([f,h])=>{var c,p;return G({dataHTML:D.jsx("div",{className:"number-cl",children:h!=null?h:0}),ttooltip:`Displays the count of ${((p=(c=bg==null?void 0:bg[f])==null?void 0:c.label)==null?void 0:p.toLowerCase())||"NA"}`},(bg==null?void 0:bg[f])||h7e)}).sort((f,h)=>f.order-h.order)},[o]);return ba(i),D.jsxs(D.Fragment,{children:[D.jsxs(Ie,{className:`${oY.dashboard_container} ${e}`,children:[D.jsxs(Ie,{className:oY.meeting_analytics_container,children:[D.jsx(Hf,{level:6,fontSize:14,children:"Meeting Scheduled"}),D.jsx(fr,{container:!0,spacing:1.125,justify:"space-between",alignItems:"stretch",children:a.length?a.map(g=>D.jsx(fr,{item:!0,lg:2.4,md:4,xs:6,sx:{display:"flex",flexDirection:"column",cursor:"pointer"},onClick:()=>{r(g.order)},children:D.jsx(f7e,{name:g.label,icon:g.icon,divider_color:g.color,infoMessage:g.ttooltip,totalCount:g.dataHTML})})):D.jsx(D.Fragment,{})})]}),D.jsx(fr,{container:!0,spacing:2,justify:"space-between",alignItems:"stretch",children:[{name:"Month Wise Feedback",component:D.jsx(D.Fragment,{children:(s=o==null?void 0:o.feedbacks)!=null&&s.length?D.jsxs(D.Fragment,{children:[D.jsx(gw,{chartType:A5.LINE,data:o==null?void 0:o.feedbacks,xField:"MONTH",yField:"TOTAL",xAxisTitle:"Month",yAxisTitle:"Total"}),D.jsx("div",{className:"w-100",style:{height:"30px"}})]}):D.jsx(Uc,{message:""})}),lg:6,md:6,xs:12},{name:"Month Wise Appreciations",component:D.jsx(D.Fragment,{children:(l=o==null?void 0:o.appreciations)!=null&&l.length?D.jsxs(D.Fragment,{children:[D.jsx(gw,{chartType:A5.LINE,data:o==null?void 0:o.appreciations,xField:"MONTH",yField:"TOTAL",xAxisTitle:"Month",yAxisTitle:"Total"}),D.jsx("div",{className:"w-100",style:{height:"30px"}})]}):D.jsx(Uc,{message:""})}),lg:6,md:6,xs:12},{name:"Month Wise One-to-one's",component:D.jsx(D.Fragment,{children:(u=o==null?void 0:o.meetings)!=null&&u.length?D.jsxs(D.Fragment,{children:[D.jsx(gw,{chartType:A5.LINE,data:o==null?void 0:o.meetings,xField:"MONTH",yField:"TOTAL",xAxisTitle:"Month",yAxisTitle:"Total"}),D.jsx("div",{className:"w-100",style:{height:"30px"}})]}):D.jsx(Uc,{message:""})}),lg:6,md:6,xs:12},{name:"Appreciation as per Badges",component:D.jsx(D.Fragment,{children:(d=o==null?void 0:o.badges)!=null&&d.length?D.jsxs(D.Fragment,{children:[D.jsx(gw,{chartType:"bar",data:o==null?void 0:o.badges,xField:"BADGE_NAME",yField:"TOTAL",xAxisTitle:"Badge Name",yAxisTitle:"Total"}),D.jsx("div",{className:"w-100",style:{height:"30px"}})]}):D.jsx(Uc,{message:""})}),lg:6,md:6,xs:12}].map(g=>D.jsx(fr,{item:!0,xs:g.xs,md:g.md,lg:g.lg,sx:{display:"flex",flexDirection:"column"},children:D.jsx("div",{id:`${g.name}_id`,style:{height:"100%"},children:D.jsx(E4,{variant:"bordered",style:{boxShadow:"none",height:"100%"},children:D.jsxs("div",{style:{padding:10},children:[(g==null?void 0:g.name)&&D.jsx(I4,{title:g.name}),D.jsx(U2,{children:g==null?void 0:g.component})]})})},g.name)},g.name))})]}),D.jsx(c7e,{meetingType:n,setMeetingType:r,feedbackFilters:t})]})},m7e=()=>{const e=Ko(h=>h.pushAlert),t=xi(),{NOTIFICATION_OPTIONS:n,FEEDBACK_ELIGIBILITY_OPTIONS:r}=Ls("en"),{data:o,isLoading:i}=Ao(ro,{url:on.ORG_SETTING.FETCH},"fetchOrgSetting",{staleTime:60*60*3600}),{mutate:a,isLoading:s}=Hr(kj,"updateOrgSetting",{onSuccess:()=>{e({type:"success",message:"Feedback configration has been updated sucessfully!"}),t.invalidateQueries("fetchOrgSetting")},onError:({response:h})=>{var c;e({type:"error",message:((c=h==null?void 0:h.data)==null?void 0:c.message)||"Error! while updating feedback configration."})}}),l=K.useMemo(()=>xn.convertArrayToObjectWithKey(r,"value"),[r]),u=K.useMemo(()=>xn.convertArrayToObjectWithKey(n,"value"),[n]),[d,g]=K.useState({GLOBAL_FEEDBACK_SETTING:l[3],ONE_TO_ONE_NOTIFIER:[],CONTINUOUS_FEEDBACK_NOTIFIER:[],APPRECIATION_NOTIFIER:[]});K.useEffect(()=>{var h,c,p,m,v,y;if(o){const x=l[o==null?void 0:o.GLOBAL_FEEDBACK_SETTING]||3,b=((c=(h=o==null?void 0:o.ONE_TO_ONE_NOTIFIER)==null?void 0:h.split(","))==null?void 0:c.map(S=>u[S]))||[],_=((m=(p=o==null?void 0:o.CONTINUOUS_FEEDBACK_NOTIFIER)==null?void 0:p.split(","))==null?void 0:m.map(S=>u[S]))||[],w=((y=(v=o==null?void 0:o.APPRECIATION_NOTIFIER)==null?void 0:v.split(","))==null?void 0:y.map(S=>u[S]))||[];g({ONE_TO_ONE_NOTIFIER:b,CONTINUOUS_FEEDBACK_NOTIFIER:_,APPRECIATION_NOTIFIER:w,GLOBAL_FEEDBACK_SETTING:x})}},[o]);const f=()=>{var c;const h={};h.ONE_TO_ONE_NOTIFIER=d.ONE_TO_ONE_NOTIFIER.map(p=>p.value).join(","),h.CONTINUOUS_FEEDBACK_NOTIFIER=d.CONTINUOUS_FEEDBACK_NOTIFIER.map(p=>p.value).join(","),h.APPRECIATION_NOTIFIER=d.APPRECIATION_NOTIFIER.map(p=>p.value).join(","),h.GLOBAL_FEEDBACK_SETTING=((c=d.GLOBAL_FEEDBACK_SETTING)==null?void 0:c.value)||3,a({url:on.ORG_SETTING.UPDATE,data:h})};return ba(i||s),D.jsx(D.Fragment,{children:D.jsxs(Ie,{padding:2,width:"100%",display:"flex",flexDirection:"column",gap:2,children:[D.jsx(Ie,{border:"1px solid lightgray",flex:1,display:"flex",flexDirection:"column",width:"100%",borderRadius:"5px",children:D.jsxs(Ie,{px:1,display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",children:[D.jsx(_n,{fontSize:14,children:"Eligibility for feedback / appreciation"}),D.jsx(Ie,{width:"320px",p:1,borderLeft:"1px solid lightgray",height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",children:D.jsx(ko,{size:"sm",onChange:h=>{g(c=>me(G({},c),{GLOBAL_FEEDBACK_SETTING:h}))},value:d.GLOBAL_FEEDBACK_SETTING,options:r,menuPortalTarget:document.body})})]})}),D.jsx(Ie,{border:"1px solid lightgray",flex:1,display:"flex",flexDirection:"column",width:"100%",borderRadius:"5px",children:D.jsxs(Ie,{px:1,display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",children:[D.jsx(_n,{fontSize:14,children:"One to One Notifier"}),D.jsx(Ie,{width:"320px",p:1,borderLeft:"1px solid lightgray",height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",children:D.jsx(ko,{size:"sm",options:n,isMulti:!0,placeholder:"Choose Notifier",onChange:h=>{g(c=>me(G({},c),{ONE_TO_ONE_NOTIFIER:h}))},value:d.ONE_TO_ONE_NOTIFIER})})]})}),D.jsx(Ie,{border:"1px solid lightgray",flex:1,display:"flex",flexDirection:"column",width:"100%",borderRadius:"5px",children:D.jsxs(Ie,{px:1,display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",children:[D.jsx(_n,{fontSize:14,children:"Continuous Feedback Notifier"}),D.jsx(Ie,{width:"320px",p:1,borderLeft:"1px solid lightgray",height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",children:D.jsx(ko,{size:"sm",options:n,isMulti:!0,onChange:h=>{g(c=>me(G({},c),{CONTINUOUS_FEEDBACK_NOTIFIER:h}))},placeholder:"Choose Notifier",value:d.CONTINUOUS_FEEDBACK_NOTIFIER})})]})}),D.jsx(Ie,{border:"1px solid lightgray",flex:1,display:"flex",flexDirection:"column",width:"100%",borderRadius:"5px",children:D.jsxs(Ie,{px:1,display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",children:[D.jsx(_n,{fontSize:14,children:"Appreciation Notifier"}),D.jsx(Ie,{width:"320px",p:1,borderLeft:"1px solid lightgray",height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",children:D.jsx(ko,{size:"sm",options:n,placeholder:"Choose Notifier",isMulti:!0,onChange:h=>{g(c=>me(G({},c),{APPRECIATION_NOTIFIER:h}))},value:d.APPRECIATION_NOTIFIER})})]})}),D.jsx(Ie,{display:"flex",justifyContent:"flex-end",children:D.jsx(sa,{label:"UPDATE",onClick:f})})]})})},v7e="_feedback__rating_1ihre_3",y7e="_previeww__color_1ihre_33",b7e="_item__centerdirector_1ihre_57",O5={feedback__rating:v7e,previeww__color:y7e,item__centerdirector:b7e};var h3={},x7e=ir;Object.defineProperty(h3,"__esModule",{value:!0});var Ok=h3.default=void 0,_7e=x7e(Sr()),w7e=D;Ok=h3.default=(0,_7e.default)((0,w7e.jsx)("path",{d:"M9 11H7v2h2zm4 0h-2v2h2zm4 0h-2v2h2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V9h14z"}),"DateRange");var g3={},S7e=ir;Object.defineProperty(g3,"__esModule",{value:!0});var Dk=g3.default=void 0,C7e=S7e(Sr()),T7e=D;Dk=g3.default=(0,C7e.default)((0,T7e.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Article");var m3={},k7e=ir;Object.defineProperty(m3,"__esModule",{value:!0});var Iy=m3.default=void 0,E7e=k7e(Sr()),I7e=D;Iy=m3.default=(0,E7e.default)((0,I7e.jsx)("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord");var Zse={exports:{}};/*!
|
|
3006
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Use(e,t){if(e){if(typeof e=="string")return qR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qR(e,t)}}function qR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zVe(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function RVe(e){if(Array.isArray(e))return e}function nY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function eo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nY(Object(n),!0).forEach(function(r){YR(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nY(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function YR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DC(e,t){if(e==null)return{};var n=jVe(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jVe(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Ak=K.forwardRef(function(e,t){var n=e.children,r=DC(e,CVe),o=qse(r),i=o.open,a=DC(o,TVe);return K.useImperativeHandle(t,function(){return{open:i}},[i]),K.createElement(K.Fragment,null,n(eo(eo({},a),{},{open:i})))});Ak.displayName="Dropzone";var Gse={disabled:!1,getFilesFromEvent:QFe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1};Ak.defaultProps=Gse;Ak.propTypes={children:k.func,accept:k.oneOfType([k.string,k.arrayOf(k.string)]),multiple:k.bool,preventDropOnDocument:k.bool,noClick:k.bool,noKeyboard:k.bool,noDrag:k.bool,noDragEventsBubbling:k.bool,minSize:k.number,maxSize:k.number,maxFiles:k.number,disabled:k.bool,getFilesFromEvent:k.func,onFileDialogCancel:k.func,onFileDialogOpen:k.func,useFsAccessApi:k.bool,onDragEnter:k.func,onDragLeave:k.func,onDragOver:k.func,onDrop:k.func,onDropAccepted:k.func,onDropRejected:k.func,validator:k.func};var JR={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function qse(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=eo(eo({},Gse),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,g=t.onDragOver,f=t.onDrop,h=t.onDropAccepted,c=t.onDropRejected,p=t.onFileDialogCancel,m=t.onFileDialogOpen,v=t.useFsAccessApi,y=t.preventDropOnDocument,x=t.noClick,b=t.noKeyboard,_=t.noDrag,w=t.noDragEventsBubbling,S=t.validator,E=K.useMemo(function(){return typeof m=="function"?m:rY},[m]),C=K.useMemo(function(){return typeof p=="function"?p:rY},[p]),T=K.useRef(null),I=K.useRef(null),M=K.useReducer(NVe,JR),A=M5(M,2),O=A[0],z=A[1],R=O.isFocused,N=O.isFileDialogActive,j=O.draggedFiles,P=function(){N&&setTimeout(function(){if(I.current){var ue=I.current.files;ue.length||(z({type:"closeDialog"}),C())}},300)};K.useEffect(function(){return v&&tY()?function(){}:(window.addEventListener("focus",P,!1),function(){window.removeEventListener("focus",P,!1)})},[I,N,C,v]);var L=K.useRef([]),$=function(ue){T.current&&T.current.contains(ue.target)||(ue.preventDefault(),L.current=[])};K.useEffect(function(){return y&&(document.addEventListener("dragover",eY,!1),document.addEventListener("drop",$,!1)),function(){y&&(document.removeEventListener("dragover",eY),document.removeEventListener("drop",$))}},[T,y]);var B=K.useCallback(function(oe){oe.preventDefault(),oe.persist(),se(oe),L.current=[].concat(IVe(L.current),[oe.target]),hw(oe)&&Promise.resolve(o(oe)).then(function(ue){OC(oe)&&!w||(z({draggedFiles:ue,isDragActive:!0,type:"setDraggedFiles"}),u&&u(oe))})},[o,u,w]),F=K.useCallback(function(oe){oe.preventDefault(),oe.persist(),se(oe);var ue=hw(oe);if(ue&&oe.dataTransfer)try{oe.dataTransfer.dropEffect="copy"}catch(fe){}return ue&&g&&g(oe),!1},[g,w]),W=K.useCallback(function(oe){oe.preventDefault(),oe.persist(),se(oe);var ue=L.current.filter(function(ye){return T.current&&T.current.contains(ye)}),fe=ue.indexOf(oe.target);fe!==-1&&ue.splice(fe,1),L.current=ue,!(ue.length>0)&&(z({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),hw(oe)&&d&&d(oe))},[T,d,w]),U=K.useCallback(function(oe,ue){var fe=[],ye=[];oe.forEach(function(Te){var ze=Hse(Te,n),Se=M5(ze,2),Me=Se[0],it=Se[1],dt=Wse(Te,a,i),xt=M5(dt,2),yt=xt[0],Oe=xt[1],Ne=S?S(Te):null;if(Me&&yt&&!Ne)fe.push(Te);else{var Fe=[it,Oe];Ne&&(Fe=Fe.concat(Ne)),ye.push({file:Te,errors:Fe.filter(function(vt){return vt})})}}),(!s&&fe.length>1||s&&l>=1&&fe.length>l)&&(fe.forEach(function(Te){ye.push({file:Te,errors:[yVe]})}),fe.splice(0)),z({acceptedFiles:fe,fileRejections:ye,type:"setFiles"}),f&&f(fe,ye,ue),ye.length>0&&c&&c(ye,ue),fe.length>0&&h&&h(fe,ue)},[z,s,n,a,i,l,f,h,c,S]),q=K.useCallback(function(oe){oe.preventDefault(),oe.persist(),se(oe),L.current=[],hw(oe)&&Promise.resolve(o(oe)).then(function(ue){OC(oe)&&!w||U(ue,oe)}),z({type:"reset"})},[o,U,w]),Q=K.useCallback(function(){if(v&&tY()){z({type:"openDialog"}),E();var oe={multiple:s,types:SVe(n)};window.showOpenFilePicker(oe).then(function(ue){return o(ue)}).then(function(ue){return U(ue,null)}).catch(function(ue){return C(ue)}).finally(function(){return z({type:"closeDialog"})});return}I.current&&(z({type:"openDialog"}),E(),I.current.value=null,I.current.click())},[z,E,C,v,U,n,s]),J=K.useCallback(function(oe){!T.current||!T.current.isEqualNode(oe.target)||(oe.keyCode===32||oe.keyCode===13)&&(oe.preventDefault(),Q())},[T,I,Q]),X=K.useCallback(function(){z({type:"focus"})},[]),te=K.useCallback(function(){z({type:"blur"})},[]),ee=K.useCallback(function(){x||(wVe()?setTimeout(Q,0):Q())},[I,x,Q]),ne=function(ue){return r?null:ue},ie=function(ue){return b?null:ne(ue)},ae=function(ue){return _?null:ne(ue)},se=function(ue){w&&ue.stopPropagation()},pe=K.useMemo(function(){return function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ue=oe.refKey,fe=ue===void 0?"ref":ue,ye=oe.role,Te=oe.onKeyDown,ze=oe.onFocus,Se=oe.onBlur,Me=oe.onClick,it=oe.onDragEnter,dt=oe.onDragOver,xt=oe.onDragLeave,yt=oe.onDrop,Oe=DC(oe,kVe);return eo(eo(YR({onKeyDown:ie(Nl(Te,J)),onFocus:ie(Nl(ze,X)),onBlur:ie(Nl(Se,te)),onClick:ne(Nl(Me,ee)),onDragEnter:ae(Nl(it,B)),onDragOver:ae(Nl(dt,F)),onDragLeave:ae(Nl(xt,W)),onDrop:ae(Nl(yt,q)),role:typeof ye=="string"&&ye!==""?ye:"button"},fe,T),!r&&!b?{tabIndex:0}:{}),Oe)}},[T,J,X,te,ee,B,F,W,q,b,_,r]),de=K.useCallback(function(oe){oe.stopPropagation()},[]),he=K.useMemo(function(){return function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ue=oe.refKey,fe=ue===void 0?"ref":ue,ye=oe.onChange,Te=oe.onClick,ze=DC(oe,EVe),Se=YR({accept:n,multiple:s,type:"file",style:{display:"none"},onChange:ne(Nl(ye,q)),onClick:ne(Nl(Te,de)),autoComplete:"off",tabIndex:-1},fe,I);return eo(eo({},Se),ze)}},[I,n,s,q,r]),ve=j.length,Z=ve>0&&bVe({files:j,accept:n,minSize:a,maxSize:i,multiple:s,maxFiles:l}),re=ve>0&&!Z;return eo(eo({},O),{},{isDragAccept:Z,isDragReject:re,isFocused:R&&!r,getRootProps:pe,getInputProps:he,rootRef:T,inputRef:I,open:ne(Q)})}function NVe(e,t){switch(t.type){case"focus":return eo(eo({},e),{},{isFocused:!0});case"blur":return eo(eo({},e),{},{isFocused:!1});case"openDialog":return eo(eo({},JR),{},{isFileDialogActive:!0});case"closeDialog":return eo(eo({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive,r=t.draggedFiles;return eo(eo({},e),{},{draggedFiles:r,isDragActive:n});case"setFiles":return eo(eo({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return eo({},JR);default:return e}}function rY(){}const PVe=(e,t)=>{const m=e,{onChange:n,onDrop:r,isDrop:o,dragNDrop:i,error:a,helperText:s,disabled:l,label:u,multiple:d,accept:g,fileName:f,style:h}=m,c=hn(m,["onChange","onDrop","isDrop","dragNDrop","error","helperText","disabled","label","multiple","accept","fileName","style"]),p=()=>{f&&f.length>0&&f.pop()};return D.jsx(D.Fragment,{children:i?D.jsx("div",{className:"file-input-container",children:f!=null&&f.length?D.jsxs(D.Fragment,{children:[D.jsx("p",{children:f.join(", ")}),D.jsx(WFe,{onClick:p})]}):D.jsxs(D.Fragment,{children:[o?D.jsx(GFe,{color:"#4D70FF",size:22}):D.jsx(HFe,{color:"#4D70FF",size:22}),D.jsx(Ak,{onDrop:r,children:({getRootProps:v,getInputProps:y,isDragActive:x,isDragReject:b})=>D.jsxs("div",me(G({},v()),{children:[D.jsx("input",G({},y())),!x&&D.jsxs("p",{children:["Drag and Drop your file here or"," ",D.jsx("a",{href:"#",style:{color:"#4D70FF"},children:"Choose file"})]}),x&&!b&&D.jsxs("p",{children:["Drag and Drop your file here or"," ",D.jsx("a",{href:"#",style:{color:"#4D70FF"},children:"Choose file"})]}),b&&"File type not accepted, sorry!"]}))})]})}):D.jsx($T,G({error:a,label:u,type:"file",onChange:n,InputLabelProps:{shrink:!0},inputRef:t,size:"small",helperText:s,disabled:l,inputProps:{multiple:d,accept:g},sx:G({},h)},c))})},LVe=K.forwardRef(PVe),Pp={CREATE:"CREATE",EDIT:"EDIT"},$Ve=()=>{var N,j,P,L;const e=xi(),{ImageViewer:t,setImageURL:n}=Mk(),r=Do($=>$.session.user),o=Ko($=>$.pushAlert),[i,a]=K.useState({PER_PAGE:20,PAGE:0}),[s,l]=K.useState({isOpen:!1,type:Pp.CREATE,BADGE_ID:null,TITLE:"",DESCRIPTION:"",BADGE_LOGO:null,APPERICATION_REMARKS:""}),[u,d]=K.useState(null),[g,f]=K.useState(null),[h,c]=K.useState(!1),[p,m]=K.useState({TITLE:!1,DESCRIPTION:!1,BADGE_LOGO:!1,APPERICATION_REMARKS:!1}),{data:v,isFetching:y}=Ao(ro,{url:on.BADGE.FETCH,params:me(G({},i),{PAGE:i.PAGE+1,SEARCH:u})},"fetchBadges"),{mutate:x,isLoading:b}=Hr(yo,"createAppreciationBadge",{onSuccess:({data:$})=>{o({type:"success",message:($==null?void 0:$.message)||"Badge has been created successfully!"}),e.invalidateQueries("fetchBadges"),C()},onError:({response:$})=>{var B;o({type:"error",message:((B=$==null?void 0:$.data)==null?void 0:B.message)||""})}}),{mutate:_,isLoading:w}=Hr(kj,"updateAppreciationBadge",{onSuccess:({data:$})=>{o({type:"success",message:($==null?void 0:$.message)||"Badge has been updated successfully!"}),e.invalidateQueries("fetchBadges"),C()},onError:({response:$})=>{var B;o({type:"error",message:((B=$==null?void 0:$.data)==null?void 0:B.message)||"Error! while updating the badge."})}}),{mutate:S,isLoading:E}=Hr(Ej,"deleteAppreciationBadge",{onSuccess:({data:$})=>{o({type:"success",message:($==null?void 0:$.message)||"Badge has been deleted successfully!"}),e.invalidateQueries("fetchBadges"),C(),c(B=>!B)},onError:({response:$})=>{var B;o({type:"error",message:((B=$==null?void 0:$.data)==null?void 0:B.message)||"Error! while deleting the badge."})}}),C=()=>{l($=>me(G({},$),{isOpen:!1,type:Pp.CREATE,TITLE:"",DESCRIPTION:"",BADGE_ID:null,BADGE_LOGO:null,APPERICATION_REMARKS:""})),f(null),m($=>me(G({},$),{TITLE:!1,DESCRIPTION:!1,BADGE_LOGO:!1,APPERICATION_REMARKS:!1}))},T=()=>{if(!s.APPERICATION_REMARKS.length||!s.DESCRIPTION.length||!s.TITLE.length||!g){m(B=>me(G({},B),{DESCRIPTION:!s.DESCRIPTION.length,APPERICATION_REMARKS:!s.DESCRIPTION.length,TITLE:!s.TITLE.length,BADGE_LOGO:!g}));return}const $=G({},s);switch(delete $.isOpen,s.type){case Pp.CREATE:delete $.type,delete $.BADGE_ID;const B=xn.convertToFormData($);x({url:on.BADGE.CREATE,data:B});break;case Pp.EDIT:delete $.type;const F=xn.convertToFormData($);_({url:on.BADGE.UPDATE,data:F});break}},I=()=>{S({url:on.BADGE.DELETE,data:{BADGE_ID:s.BADGE_ID}})},M=($,B)=>{B&&c(J=>!J);const{ID:F,APPERICATION_REMARKS:W,DESCRIPTION:U,LOGO:q,TITLE:Q}=$;f(q),l(J=>me(G({},J),{isOpen:!B,type:Pp.EDIT,BADGE_ID:F,APPERICATION_REMARKS:W,DESCRIPTION:U,BADGE_LOGO:q,TITLE:Q}))},A=($,B)=>{if($==="BADGE_LOGO"){const F=B;if(F){const W=new FileReader;W.onload=()=>{f(W.result)},W.readAsDataURL(F)}}l(F=>me(G({},F),{[$]:B})),m(F=>me(G({},F),{[$]:!1}))},O=($,B)=>{_({url:on.BADGE.UPDATE,data:{BADGE_ID:$,STATUS:B?1:0}})},z=($,B)=>{a(F=>me(G({},F),{[$]:B}))},R=K.useMemo(()=>[{id:"LOGO",accessorKey:"LOGO",header:"Badge Logo",cell:$=>D.jsx("div",{children:D.jsx(Xi,{src:$,alt:"badge logo"})})},{id:"TITLE",accessorKey:"TITLE",header:"Title"},{id:"DESCRIPTION",accessorKey:"DESCRIPTION",header:"Description"},{id:"APPERICATION_REMARKS",accessorKey:"APPERICATION_REMARKS",header:"Appreciation Remarks"},{id:"STATUS",accessorKey:"STATUS",header:"Status",cell:($,B)=>D.jsx("div",{children:D.jsx(mv,{size:"small",checked:!!$,disabled:!!(B!=null&&B.IS_DEFAULT),onChange:(F,W)=>{O(B==null?void 0:B.ID,W)}})})},{id:"IS_DEFAULT",accessorKey:"IS_DEFAULT",header:"Action",cell:($,B)=>$?D.jsx("div",{children:D.jsx(cd,{size:"sm",label:"Default",type:"info",onClick:()=>{}})}):D.jsxs("div",{style:{display:"flex",justifyContent:"space-aroundf"},children:[D.jsx($se,{style:{color:"#A5A3A9",height:"1.25rem",width:"1.25rem",marginRight:"10px"},className:"cursor-pointer",onClick:()=>{M(B,!1)}}),D.jsx(Lse,{onClick:()=>{M(B,!0)},style:{color:"#A5A3A9",height:"1.25rem",width:"1.25rem"},className:"cursor-pointer"})]})}],[v]);return ba(y||b||w||E),D.jsxs(Ie,{padding:2,width:"100%",children:[D.jsxs(Ie,{display:"flex",justifyContent:"flex-end",gap:2,children:[D.jsx("div",{style:{width:"220px"},children:D.jsx(Xn,{type:"text",name:"searchText",size:"sm",placeholder:"Search..",onChange:$=>{var B;return d((B=$==null?void 0:$.target)==null?void 0:B.value)},leftIcon:D.jsx(t3,{style:{width:14,height:14}})})}),D.jsx(Zn,{size:"small",onClick:()=>l($=>me(G({},$),{isOpen:!0,type:Pp.CREATE})),children:"Create"})]}),D.jsx(Ie,{my:2,sx:{height:"70vh"},children:D.jsx(e3,{columns:R,loading:y,data:(v==null?void 0:v.ROWS)||[],pagination:{show:!0,totalDataCount:(N=v==null?void 0:v.COUNT)!=null?N:0,perPageOptions:[20,30,50,100],perPage:i.PER_PAGE,page:i.PAGE,handlePageChange:$=>{z("PAGE",$)},handlePerPageChange:$=>{z("PER_PAGE",$)}}})}),D.jsx(np,{open:s==null?void 0:s.isOpen,title:D.jsx(JP,{title:(s==null?void 0:s.type)===Pp.CREATE?"Create Appreciation Badge":"Edit Appreciation Badge",icon:D.jsx(QP,{fontSize:"large",sx:{color:r==null?void 0:r.PRODUCT_THEME_COLOR}})}),maxWidth:"sm",onClose:C,children:D.jsxs(Ie,{display:"flex",flexDirection:"column",gap:1.5,children:[D.jsx(Ie,{children:D.jsx(Xn,{size:"sm",floatingLabel:!0,required:!0,label:"Title",variant:"outlined",name:"TITLE",value:(j=s.TITLE)!=null?j:"",color:"secondary",onChange:$=>{const{name:B,value:F}=$.target;A(B,F)},error:p!=null&&p.TITLE?"Please Enter Title":""})}),D.jsxs(Ie,{className:"w-100 mt-10",children:[D.jsx(Xn,{required:!0,label:"Description",variant:"outlined",sx:{width:"100%"},name:"DESCRIPTION",value:(P=s.DESCRIPTION)!=null?P:"",color:"secondary",multiline:!0,minRows:3,onChange:$=>{const{name:B,value:F}=$.target;A(B,F)}}),p.DESCRIPTION&&D.jsxs("div",{className:"form_error",children:[D.jsx(t1,{}),D.jsx("p",{className:"form-error",children:"Please Enter Description"})]})]}),D.jsx(Ie,{className:"w-100 mt-10",children:D.jsx(Xn,{required:!0,variant:"outlined",label:"Appreciation Remarks",placeholder:"Enter Appreciation Remarks",name:"APPERICATION_REMARKS",value:(L=s.APPERICATION_REMARKS)!=null?L:"",color:"secondary",type:"textarea",style:{minHeight:50},onChange:$=>{const{name:B,value:F}=$.target;A(B,F)},error:p.APPERICATION_REMARKS?"Please Enter Remarks":""})}),D.jsxs(Ie,{className:"w-100 mt-10",children:[D.jsx(LVe,{required:!0,label:"Badge Logo",variant:"outlined",sx:{width:"100%"},name:"BADGE_LOGO",color:"secondary",onChange:$=>{const{name:B,files:F=""}=$.target;A(B,F==null?void 0:F[0])}}),p.BADGE_LOGO&&D.jsxs("div",{className:"form_error",children:[D.jsx(t1,{}),D.jsx("p",{className:"error",children:"Please Upload Badge Logo"})]})]}),!!g&&D.jsx("div",{className:"w-100 mt-10 ",children:D.jsx("img",{style:{cursor:"zoom-in"},onClick:()=>{n(g)},alt:"",src:g,width:200})}),D.jsxs(Ie,{display:"flex",gap:2,justifyContent:"flex-end",marginTop:2,children:[D.jsx(Zn,{size:"small",variant:"outlined",onClick:C,children:"Cancel"}),D.jsx(Zn,{size:"small",onClick:T,children:"Submit"})]})]})}),D.jsx(KQ,{variant:"delete",open:h,description:"Do You want to delete the Badge?",title:"Are You Sure?",confirmText:"Delete",cancelText:"Cancel",onCancel:()=>{C(),c($=>!$)},onClose:()=>{C(),c($=>!$)},onConfirm:I,maxWidth:"sm"}),D.jsx(t,{})]})},sa=e=>{const a=e,{label:t,variant:n="contained",onClick:r,size:o="small"}=a,i=hn(a,["label","variant","onClick","size"]);return D.jsx(Zn,me(G({size:o,variant:n,onClick:r},i),{children:t}))},BVe=rh({ID:Xd().optional(),SKILL_NAME:di({required_error:"Please enter skill name!"}),SKILL_DESCRIPTION:di({required_error:"Please enter skill description!"})}),Lp={CREATE:"CREATE",EDIT:"EDIT"},FVe=()=>{var N;const e=xi(),t=Do(j=>j.session.user),n=Ko(j=>j.pushAlert),[r,o]=K.useState({PER_PAGE:20,PAGE:0}),[i,a]=K.useState(null),[s,l]=K.useState({isOpen:!1,type:Lp.CREATE}),[u,d]=K.useState(!1),{control:g,formState:{errors:f},watch:h,handleSubmit:c,setValue:p,reset:m}=Zd({resolver:Dv(BVe),mode:"onChange",defaultValues:{}}),[v]=h(["ID"]),{data:y,isFetching:x}=Ao(ro,{url:on.CONTINUOUS_FEEDBACK.RATING_SKILL.FETCH,params:{PAGE:r.PAGE+1,PER_PAGE:r.PER_PAGE,SEARCH:i}},"fetchRatingSkill"),{mutate:b,isLoading:_}=Hr(yo,"createRatingSkill",{onSuccess:({data:j})=>{n({type:"success",message:(j==null?void 0:j.message)||"Rating Skill has been created successfully!"}),e.invalidateQueries("fetchRatingSkill"),T()},onError:({response:j})=>{var P;n({type:"error",message:((P=j==null?void 0:j.data)==null?void 0:P.message)||"Error! while creating rating skill."})}}),{mutate:w,isLoading:S}=Hr(kj,"updateRatingSkill",{onSuccess:({data:j})=>{n({type:"success",message:(j==null?void 0:j.message)||"Rating Skill has been updated successfully!"}),e.invalidateQueries("fetchRatingSkill"),T()},onError:({response:j})=>{var P;n({type:"error",message:((P=j==null?void 0:j.data)==null?void 0:P.message)||"Error! while updating rating skill."})}}),{mutate:E,isLoading:C}=Hr(Ej,"deleteRatingSkill",{onSuccess:({data:j})=>{n({type:"success",message:(j==null?void 0:j.message)||"Rating Skill has been deleted successfully!"}),e.invalidateQueries("fetchRatingSkill"),T()},onError:({response:j})=>{var P;n({type:"error",message:((P=j==null?void 0:j.data)==null?void 0:P.message)||"Error! while deleting rating skill."})}}),T=()=>{l(j=>me(G({},j),{isOpen:!1,type:Lp.CREATE})),m(),d(!1)},I=c(j=>{switch(s.type){case Lp.CREATE:b({url:on.CONTINUOUS_FEEDBACK.RATING_SKILL.CREATE,data:j});break;case Lp.EDIT:w({url:on.CONTINUOUS_FEEDBACK.RATING_SKILL.UPDATE,data:j});break}}),M=()=>{E({url:on.CONTINUOUS_FEEDBACK.RATING_SKILL.DELETE,data:{ID:v}})},A=j=>{p("ID",j==null?void 0:j.ID),p("SKILL_NAME",j==null?void 0:j.SKILL_NAME),p("SKILL_DESCRIPTION",j==null?void 0:j.SKILL_DESCRIPTION),l(P=>me(G({},P),{isOpen:!0,type:Lp.EDIT}))},O=j=>{p("ID",j==null?void 0:j.ID),d(P=>!P)},z=(j,P)=>{w({url:on.CONTINUOUS_FEEDBACK.RATING_SKILL.UPDATE,data:{ID:j,STATUS:P?1:0}})},R=K.useMemo(()=>[{id:"SKILL_NAME",accessorKey:"SKILL_NAME",header:"Skills"},{id:"SKILL_DESCRIPTION",accessorKey:"SKILL_DESCRIPTION",header:"Description"},{id:"STATUS",accessorKey:"STATUS",header:"Status",cell:j=>{var $;const P=j==null?void 0:j.getValue(),L=($=j==null?void 0:j.row)==null?void 0:$.original;return D.jsx("div",{children:D.jsx(mv,{size:"small",checked:!!P,onChange:(B,F)=>{z(L==null?void 0:L.ID,F)}})})}},{id:"ID",accessorKey:"ID",header:"Action",cell:j=>{var L;j==null||j.getValue();const P=(L=j==null?void 0:j.row)==null?void 0:L.original;return D.jsxs("div",{style:{display:"flex",justifyContent:"space-aroundf"},children:[D.jsx($se,{style:{color:"#A5A3A9",height:"1.25rem",width:"1.25rem",marginRight:"10px"},className:"cursor-pointer",onClick:()=>{A(P)}}),D.jsx(Lse,{onClick:()=>O(P),style:{color:"#A5A3A9",height:"1.25rem",width:"1.25rem"},className:"cursor-pointer"})]})}}],[y]);return ba(x||_||S||C),D.jsxs(Ie,{padding:2,width:"100%",children:[D.jsxs(Ie,{display:"flex",justifyContent:"flex-end",gap:2,children:[D.jsx("div",{style:{width:"220px"},children:D.jsx(Xn,{size:"sm",placeholder:"Search...",leftIcon:D.jsx(t3,{style:{width:14,height:14}}),onChange:j=>{var P;a((P=j==null?void 0:j.target)==null?void 0:P.value)}})}),D.jsx(sa,{size:"small",label:"CREATE",onClick:()=>l(j=>me(G({},j),{isOpen:!0,type:Lp.CREATE})),disableElevation:!0})]}),D.jsx(Ie,{my:2,sx:{height:"70vh"},children:D.jsx(B4,{columns:R,data:(y==null?void 0:y.ROWS)||[],loading:{loading:x},serverMode:!0,pagination:{enabled:!0,totalCount:(N=y==null?void 0:y.TOTAL)!=null?N:0,pageSizeOptions:[20,30,50,100],pageSize:r==null?void 0:r.PER_PAGE,currentPage:r==null?void 0:r.PAGE,onPageChange:j=>{o(me(G({},r),{PAGE:j}))},onPageSizeChange:j=>{o(me(G({},r),{PER_PAGE:j}))}}})}),(s==null?void 0:s.isOpen)&&D.jsx(np,{open:s==null?void 0:s.isOpen,onClose:()=>T(),title:D.jsx(JP,{title:(s==null?void 0:s.type)===Lp.CREATE?"Create Skill":"Edit Skill",icon:D.jsx(QP,{sx:{color:t==null?void 0:t.PRODUCT_THEME_COLOR}})}),maxWidth:"sm",children:D.jsxs(Ie,{display:"flex",flexDirection:"column",gap:3,my:1,children:[D.jsx(Es,{variant:"outlined",style:{height:"auto"},children:D.jsx(br,{name:"SKILL_NAME",control:g,render:({field:j})=>{var P;return D.jsx(Xn,me(G({size:"sm",label:"Name",autoComplete:"off"},j),{error:f!=null&&f.SKILL_NAME?(P=f==null?void 0:f.SKILL_NAME)==null?void 0:P.message:""}))}})}),D.jsxs(Es,{variant:"outlined",style:{height:"auto"},children:[D.jsx(br,{name:"SKILL_DESCRIPTION",control:g,render:({field:j})=>D.jsx(Xn,G({size:"sm",placeholder:"Enter Description",type:"textarea",label:"Description",style:{height:100}},j))}),!!(f!=null&&f.SKILL_DESCRIPTION)&&D.jsxs("div",{className:"form_error",children:[D.jsx(t1,{}),D.jsx("p",{children:f==null?void 0:f.SKILL_DESCRIPTION.message})]})]}),D.jsxs(Ie,{display:"flex",gap:2,justifyContent:"flex-end",children:[D.jsx(sa,{size:"small",label:"CANCEL",variant:"outlined",onClick:T,disableElevation:!0}),D.jsx(sa,{size:"small",label:"SUBMIT",onClick:I,disableElevation:!0})]})]})}),u&&D.jsx(KQ,{open:u,title:"Are you sure?",message:"Do You Want to Delete the skill?",onConfirm:()=>M(),onCancel:()=>{d(!1)},variant:"delete",cancelText:"Cancel",confirmText:"Delete",onClose:()=>{d(!1)}})]})};var n3={},VVe=ir;Object.defineProperty(n3,"__esModule",{value:!0});var r3=n3.default=void 0,HVe=VVe(Sr()),WVe=D;r3=n3.default=(0,HVe.default)((0,WVe.jsx)("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1z"}),"AssignmentInd");var o3={},UVe=ir;Object.defineProperty(o3,"__esModule",{value:!0});var i3=o3.default=void 0,GVe=UVe(Sr()),qVe=D;i3=o3.default=(0,GVe.default)((0,qVe.jsx)("path",{d:"M4 16v6h16v-6c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2m14 2H6v-2h12zM12 2C9.24 2 7 4.24 7 7l5 7 5-7c0-2.76-2.24-5-5-5m0 9L9 7c0-1.66 1.34-3 3-3s3 1.34 3 3z"}),"Approval");var a3={},YVe=ir;Object.defineProperty(a3,"__esModule",{value:!0});var s3=a3.default=void 0,JVe=YVe(Sr()),XVe=D;s3=a3.default=(0,JVe.default)((0,XVe.jsx)("path",{d:"M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"HighlightOff");var l3={},ZVe=ir;Object.defineProperty(l3,"__esModule",{value:!0});var c3=l3.default=void 0,KVe=ZVe(Sr()),QVe=D;c3=l3.default=(0,KVe.default)((0,QVe.jsx)("path",{d:"M22 5.18 10.59 16.6l-4.24-4.24 1.41-1.41 2.83 2.83 10-10zm-2.21 5.04c.13.57.21 1.17.21 1.78 0 4.42-3.58 8-8 8s-8-3.58-8-8 3.58-8 8-8c1.58 0 3.04.46 4.28 1.25l1.44-1.44C16.1 2.67 14.13 2 12 2 6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-1.19-.22-2.33-.6-3.39z"}),"TaskAlt");var u3={},e7e=ir;Object.defineProperty(u3,"__esModule",{value:!0});var Yse=u3.default=void 0,t7e=e7e(Sr()),n7e=D;Yse=u3.default=(0,t7e.default)((0,n7e.jsx)("path",{d:"m3.25 2.75 17 17L19 21l-2-2H5c-1.1 0-2-.9-2-2V7c0-.55.23-1.05.59-1.41L2 4zM22 12l-4.37-6.16C17.27 5.33 16.67 5 16 5H8l11 11z"}),"LabelOff");var d3={},r7e=ir;Object.defineProperty(d3,"__esModule",{value:!0});var p3=d3.default=void 0,o7e=r7e(Sr()),i7e=D;p3=d3.default=(0,o7e.default)((0,i7e.jsx)("path",{d:"M9 1h6v2H9zm4 7v2.17l6.98 6.98C20.63 15.91 21 14.5 21 13c0-2.12-.74-4.07-1.97-5.61l1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-1.5 0-2.91.37-4.15 1.02L10.83 8zM2.81 2.81 1.39 4.22l3.4 3.4C3.67 9.12 3 10.98 3 13c0 4.97 4.02 9 9 9 2.02 0 3.88-.67 5.38-1.79l2.4 2.4 1.41-1.41z"}),"TimerOff");const a7e="_dashboard_container_ub43h_1",s7e="_meeting_analytics_container_ub43h_19",oY={dashboard_container:a7e,meeting_analytics_container:s7e},A5={LINE:"line"},Jse=({className:e,style:t,actionButtons:n})=>D.jsx("div",{style:t,className:Pe("flex-end-center g-10",e),children:!!Array.isArray(n)&&(n==null?void 0:n.map((l,s)=>{var u=l,{label:r,variant:o,visible:i=!0}=u,a=hn(u,["label","variant","visible"]);return i?D.jsx(Zn,me(G({size:"small",variant:o!=null?o:"contained"},a),{children:r}),s):null}))}),Qm=s=>{var l=s,{open:e,handleClose:t,size:n,header:r,actionButtons:o,children:i}=l,a=hn(l,["open","handleClose","size","header","actionButtons","children"]);let u=np;return a.fullScreen&&(a.side="bottom",a.height="100%",u=L8e),D.jsx(u,me(G({open:e,title:D.jsx(l7e,G({},r)),onClose:t,maxWidth:n,showCloseIcon:!0,actions:Array.isArray(o)&&o.length&&D.jsx(Jse,{className:"mt-10",actionButtons:o})},a),{children:i}))},l7e=({title:e,icon:t})=>D.jsxs(Ie,{display:"flex",flexDirection:"row",alignItems:"center",children:[t&&D.jsx(mi,{children:t}),D.jsx(Hf,{level:6,children:e})]}),c7e=e=>{var h,c,p,m;const{meetingType:t,setMeetingType:n,feedbackFilters:r}=e,[{PAGE:o,PER_PAGE:i},a]=K.useState({PAGE:0,PER_PAGE:20}),[s,l]=K.useState(void 0),u=K.useMemo(()=>({0:{icon:D.jsx(r3,{sx:{color:"#009F78"}}),title:"Total Meetings"},1:{icon:D.jsx(c3,{sx:{color:"#4C8BFF"}}),title:"Completed Meetings"},2:{icon:D.jsx(i3,{sx:{color:"#FAC800"}}),title:"Upcoming Meetings"},3:{icon:D.jsx(p3,{sx:{color:"#674031"}}),title:"Overdue Meetings"},4:{icon:D.jsx(s3,{sx:{color:"#674031"}}),title:"Cancelled Meetings"}}),[]),{data:d,isFetching:g}=Ao(ro,{url:on.DASHBOARD.FEEDBACK.MEETING,params:G({PAGE:o+1,MEETING_STATUS:t,PER_PAGE:i,SEARCH:s},r)},"feedbackDashboardMeetingList"),f=K.useMemo(()=>[{id:"SCHEDULE_WITH",accessorKey:"SCHEDULE_WITH",header:"Schedule With"},{id:"SCHEDULE_BY",accessorKey:"SCHEDULE_BY",header:"Schedule By"},{id:"MEETING_TITLE",accessorKey:"MEETING_TITLE",header:"Meeting Title"},{id:"DATE",accessorKey:"DATE",header:"Meeting Date"},{id:"START_TIME",accessorKey:"START_TIME",header:"START TIME"},{id:"END_TIME",accessorKey:"END_TIME",header:"End Time"}],[d]);return ba(g),D.jsx(D.Fragment,{children:D.jsx(Qm,{header:{title:t?(h=u[t])==null?void 0:h.title:"",icon:t?(c=u[t])==null?void 0:c.icon:""},fullScreen:!0,open:t!==void 0,handleClose:()=>(n(void 0),l(""),a({PAGE:0,PER_PAGE:20})),children:D.jsxs("div",{style:{height:"85vh"},children:[D.jsx("div",{style:{marginBottom:16,width:"240px"},children:D.jsx(Xn,{placeholder:"Search",size:"sm",leftIcon:D.jsx(t3,{style:{width:14,height:14}}),onChange:v=>{var y;l((y=v==null?void 0:v.target)==null?void 0:y.value)}})}),D.jsx(e3,{columns:f,data:((p=d==null?void 0:d.ROWS)==null?void 0:p.length)&&(d==null?void 0:d.ROWS)||[],serverMode:!0,pagination:{show:!0,totalDataCount:(m=d==null?void 0:d.TOTAL)!=null?m:0,perPageOptions:[20,30,50,100],perPage:i,page:o,handlePageChange:v=>{a(y=>me(G({},y),{PAGE:v}))},handlePerPageChange:v=>{a(y=>me(G({},y),{PER_PAGE:v}))}}})]})})})};var f3={},u7e=ir;Object.defineProperty(f3,"__esModule",{value:!0});var Xse=f3.default=void 0,d7e=u7e(Sr()),p7e=D;Xse=f3.default=(0,d7e.default)((0,p7e.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined");const f7e=({name:e,description:t,descriptionWithValue:n,totalCount:r,infoMessage:o,divider_color:i,icon:a,color:s,backgroundColor:l})=>{const u=()=>a?D.jsx("div",{className:"card_icon",style:{background:l||"",color:s||""},children:a}):null;return D.jsx(E4,{style:{boxShadow:"none"},variant:"bordered",className:"zimyo_card",children:D.jsxs("div",{style:{padding:8},children:[D.jsxs("div",{className:"header_comp",children:[D.jsx(I4,{title:D.jsx(Pa,{size:"sm",fontSize:14,fontWeight:600,children:e||"--"})}),u()]}),D.jsxs("div",{className:"zimyo_header_description",children:[t&&D.jsx(K2,{children:t}),n&&D.jsx(K2,{children:n})]}),D.jsx(U2,{children:D.jsxs("div",{className:"header_comp",children:[D.jsxs("div",{className:"inner_content",children:[D.jsx("div",{className:"divider_bar",style:{backgroundColor:i||"#9c27b0"}}),D.jsx(Pa,{size:"sm",sx:{fontSize:"20px",fontWeight:600},children:r||"0"})]}),o&&D.jsx("div",{className:"info_wrapper",children:D.jsx(I1,{title:o,arrow:!0,placement:"right",children:D.jsx(Xse,{style:{fontSize:"17px",marginLeft:"2px",verticalAlign:"middle",color:"slategrey",cursor:"pointer"}})})})]})})]})})},gw=r=>{var o=r,{chartType:e="bar",grouped:t=!1}=o,n=hn(o,["chartType","grouped"]);var u,d,g,f;let i=[],a=[],s=[];const l=["#A9B8FB","#FCA5A5","#FEF9C3","#BBF7D0","#BAE6FD","#FBCFE8","#E9D5FF","#FDE68A","#D9F99D","#FFD6A5"];return t&&n.seriesField&&(a=[...new Set((u=n==null?void 0:n.data)==null?void 0:u.map(h=>h[n==null?void 0:n.xField]))],s=[...new Set((d=n==null?void 0:n.data)==null?void 0:d.map(h=>h[n.seriesField]))],i=s.map((h,c)=>({name:h,label:{show:!0,position:"top",fontSize:"11px",fontWeight:600,formatter:p=>p.value!==0?p.value:""},showBackground:!0,backgroundStyle:{color:"#F5F9FF",opacity:.6},type:e,color:l[c],data:a.map(p=>{var v;const m=(v=n==null?void 0:n.data)==null?void 0:v.find(y=>y[n==null?void 0:n.xField]===p&&y[n==null?void 0:n.seriesField]===h);return m?m[n==null?void 0:n.yField]:0})}))),D.jsx(P8e,{height:350,option:{legend:{itemGap:30,top:t?10:""},grid:{top:t?60:25},tooltip:{trigger:"axis"},xAxis:{name:n==null?void 0:n.xAxisTitle,nameLocation:"middle",nameGap:t?80:60,type:"category",animationDuration:1500,animationEasing:"cubicOut",nameTextStyle:{fontSize:"10px",fontWeight:600},axisLabel:{fontSize:"10px",fontWeight:600,interval:"auto",margin:10},axisTick:{alignWithLabel:!0},data:t?a:((g=n==null?void 0:n.data)==null?void 0:g.map(h=>h[n==null?void 0:n.xField]))||[]},yAxis:{name:n==null?void 0:n.yAxisTitle,nameLocation:"middle",nameGap:40,nameTextStyle:{fontSize:"10px",fontWeight:600},axisLabel:{fontSize:"10px",fontWeight:600,hideOverlap:!0},axisTick:{alignWithLabel:!0}},series:[{type:e,color:"#A9B8FB",barWidth:t?"":30,label:{show:!0,position:"top",fontSize:"11px",fontWeight:600,formatter:h=>h.value!==0?h.value:""},itemStyle:{opacity:.7,borderWidth:1,borderRadius:[4,4,0,0]},showBackground:!0,backgroundStyle:{color:"#F5F9FF",opacity:.6}}]},series:t&&(n!=null&&n.data)?i:{data:(f=n==null?void 0:n.data)==null?void 0:f.map(h=>h[n==null?void 0:n.yField])}})},mw={COMPLETED:1,OVERDUE:3,UPCOMING:0,CANCELLED:2},h7e={icon:D.jsx(Yse,{sx:{color:"#b441ea"}}),color:"#b441ea"},bg={TOTAL:{icon:D.jsx(r3,{sx:{color:"#009F78"}}),color:"#009F78",label:"Total",id:3,order:0,routeToHit:"",state:{status:3}},COMPLETED:{icon:D.jsx(c3,{style:{color:"#4C8BFF",width:"1rem",height:"1rem"}}),color:"#4C8BFF",label:"Completed",id:1,order:1,routeToHit:"",state:{status:mw.COMPLETED}},UPCOMING:{icon:D.jsx(i3,{sx:{color:"#FAC800"}}),color:"#FAC800",label:"Upcoming",id:0,order:2,routeToHit:"",state:{status:mw.UPCOMING}},OVERDUE:{icon:D.jsx(p3,{sx:{color:"#674031"}}),color:"#674031",label:"Overdue",id:2,order:3,routeToHit:"",state:{status:mw.OVERDUE}},CANCELED:{icon:D.jsx(s3,{sx:{color:"#674031"}}),color:"#674031",label:"Cancelled",id:2,order:4,routeToHit:"",state:{status:mw.CANCELLED}}},g7e=({className:e,filters:t})=>{var s,l,u,d;const[n,r]=K.useState(void 0),{data:o,isFetching:i}=Ao(ro,{url:on.DASHBOARD.FEEDBACK.ANALYTICS,params:G({},t)},"fetchFeedbackAnalytics"),a=K.useMemo(()=>{const g=o!=null&&o.meetingAnalytics?o.meetingAnalytics:{TOTAL:0,COMPLETED:0,UPCOMING:0,OVERDUE:0,CANCELED:0};return Object.entries(g||{}).map(([f,h])=>{var c,p;return G({dataHTML:D.jsx("div",{className:"number-cl",children:h!=null?h:0}),ttooltip:`Displays the count of ${((p=(c=bg==null?void 0:bg[f])==null?void 0:c.label)==null?void 0:p.toLowerCase())||"NA"}`},(bg==null?void 0:bg[f])||h7e)}).sort((f,h)=>f.order-h.order)},[o]);return ba(i),D.jsxs(D.Fragment,{children:[D.jsxs(Ie,{className:`${oY.dashboard_container} ${e}`,children:[D.jsxs(Ie,{className:oY.meeting_analytics_container,children:[D.jsx(Hf,{level:6,fontSize:14,children:"Meeting Scheduled"}),D.jsx(fr,{container:!0,spacing:1.125,justify:"space-between",alignItems:"stretch",children:a.length?a.map(g=>D.jsx(fr,{item:!0,lg:2.4,md:4,xs:6,sx:{display:"flex",flexDirection:"column",cursor:"pointer"},onClick:()=>{r(g.order)},children:D.jsx(f7e,{name:g.label,icon:g.icon,divider_color:g.color,infoMessage:g.ttooltip,totalCount:g.dataHTML})})):D.jsx(D.Fragment,{})})]}),D.jsx(fr,{container:!0,spacing:2,justify:"space-between",alignItems:"stretch",children:[{name:"Month Wise Feedback",component:D.jsx(D.Fragment,{children:(s=o==null?void 0:o.feedbacks)!=null&&s.length?D.jsxs(D.Fragment,{children:[D.jsx(gw,{chartType:A5.LINE,data:o==null?void 0:o.feedbacks,xField:"MONTH",yField:"TOTAL",xAxisTitle:"Month",yAxisTitle:"Total"}),D.jsx("div",{className:"w-100",style:{height:"30px"}})]}):D.jsx(Uc,{message:""})}),lg:6,md:6,xs:12},{name:"Month Wise Appreciations",component:D.jsx(D.Fragment,{children:(l=o==null?void 0:o.appreciations)!=null&&l.length?D.jsxs(D.Fragment,{children:[D.jsx(gw,{chartType:A5.LINE,data:o==null?void 0:o.appreciations,xField:"MONTH",yField:"TOTAL",xAxisTitle:"Month",yAxisTitle:"Total"}),D.jsx("div",{className:"w-100",style:{height:"30px"}})]}):D.jsx(Uc,{message:""})}),lg:6,md:6,xs:12},{name:"Month Wise One-to-one's",component:D.jsx(D.Fragment,{children:(u=o==null?void 0:o.meetings)!=null&&u.length?D.jsxs(D.Fragment,{children:[D.jsx(gw,{chartType:A5.LINE,data:o==null?void 0:o.meetings,xField:"MONTH",yField:"TOTAL",xAxisTitle:"Month",yAxisTitle:"Total"}),D.jsx("div",{className:"w-100",style:{height:"30px"}})]}):D.jsx(Uc,{message:""})}),lg:6,md:6,xs:12},{name:"Appreciation as per Badges",component:D.jsx(D.Fragment,{children:(d=o==null?void 0:o.badges)!=null&&d.length?D.jsxs(D.Fragment,{children:[D.jsx(gw,{chartType:"bar",data:o==null?void 0:o.badges,xField:"BADGE_NAME",yField:"TOTAL",xAxisTitle:"Badge Name",yAxisTitle:"Total"}),D.jsx("div",{className:"w-100",style:{height:"30px"}})]}):D.jsx(Uc,{message:""})}),lg:6,md:6,xs:12}].map(g=>D.jsx(fr,{item:!0,xs:g.xs,md:g.md,lg:g.lg,sx:{display:"flex",flexDirection:"column"},children:D.jsx("div",{id:`${g.name}_id`,style:{height:"100%"},children:D.jsx(E4,{variant:"bordered",style:{boxShadow:"none",height:"100%"},children:D.jsxs("div",{style:{padding:10},children:[(g==null?void 0:g.name)&&D.jsx(I4,{title:g.name}),D.jsx(U2,{children:g==null?void 0:g.component})]})})},g.name)},g.name))})]}),D.jsx(c7e,{meetingType:n,setMeetingType:r,feedbackFilters:t})]})},m7e=()=>{const e=Ko(h=>h.pushAlert),t=xi(),{NOTIFICATION_OPTIONS:n,FEEDBACK_ELIGIBILITY_OPTIONS:r}=Ls("en"),{data:o,isLoading:i}=Ao(ro,{url:on.ORG_SETTING.FETCH},"fetchOrgSetting",{staleTime:60*60*3600}),{mutate:a,isLoading:s}=Hr(kj,"updateOrgSetting",{onSuccess:()=>{e({type:"success",message:"Feedback configration has been updated sucessfully!"}),t.invalidateQueries("fetchOrgSetting")},onError:({response:h})=>{var c;e({type:"error",message:((c=h==null?void 0:h.data)==null?void 0:c.message)||"Error! while updating feedback configration."})}}),l=K.useMemo(()=>xn.convertArrayToObjectWithKey(r,"value"),[r]),u=K.useMemo(()=>xn.convertArrayToObjectWithKey(n,"value"),[n]),[d,g]=K.useState({GLOBAL_FEEDBACK_SETTING:l[3],ONE_TO_ONE_NOTIFIER:[],CONTINUOUS_FEEDBACK_NOTIFIER:[],APPRECIATION_NOTIFIER:[]});K.useEffect(()=>{var h,c,p,m,v,y;if(o){const x=l[o==null?void 0:o.GLOBAL_FEEDBACK_SETTING]||3,b=((c=(h=o==null?void 0:o.ONE_TO_ONE_NOTIFIER)==null?void 0:h.split(","))==null?void 0:c.map(S=>u[S]))||[],_=((m=(p=o==null?void 0:o.CONTINUOUS_FEEDBACK_NOTIFIER)==null?void 0:p.split(","))==null?void 0:m.map(S=>u[S]))||[],w=((y=(v=o==null?void 0:o.APPRECIATION_NOTIFIER)==null?void 0:v.split(","))==null?void 0:y.map(S=>u[S]))||[];g({ONE_TO_ONE_NOTIFIER:b,CONTINUOUS_FEEDBACK_NOTIFIER:_,APPRECIATION_NOTIFIER:w,GLOBAL_FEEDBACK_SETTING:x})}},[o]);const f=()=>{var c;const h={};h.ONE_TO_ONE_NOTIFIER=d.ONE_TO_ONE_NOTIFIER.map(p=>p.value).join(","),h.CONTINUOUS_FEEDBACK_NOTIFIER=d.CONTINUOUS_FEEDBACK_NOTIFIER.map(p=>p.value).join(","),h.APPRECIATION_NOTIFIER=d.APPRECIATION_NOTIFIER.map(p=>p.value).join(","),h.GLOBAL_FEEDBACK_SETTING=((c=d.GLOBAL_FEEDBACK_SETTING)==null?void 0:c.value)||3,a({url:on.ORG_SETTING.UPDATE,data:h})};return ba(i||s),D.jsx(D.Fragment,{children:D.jsxs(Ie,{padding:2,width:"100%",display:"flex",flexDirection:"column",gap:2,children:[D.jsx(Ie,{border:"1px solid lightgray",flex:1,display:"flex",flexDirection:"column",width:"100%",borderRadius:"5px",children:D.jsxs(Ie,{px:1,display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",children:[D.jsx(_n,{fontSize:14,children:"Eligibility for feedback / appreciation"}),D.jsx(Ie,{width:"320px",p:1,borderLeft:"1px solid lightgray",height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",children:D.jsx(ko,{size:"sm",onChange:h=>{g(c=>me(G({},c),{GLOBAL_FEEDBACK_SETTING:h}))},value:d.GLOBAL_FEEDBACK_SETTING,options:r,menuPortalTarget:document.body})})]})}),D.jsx(Ie,{border:"1px solid lightgray",flex:1,display:"flex",flexDirection:"column",width:"100%",borderRadius:"5px",children:D.jsxs(Ie,{px:1,display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",children:[D.jsx(_n,{fontSize:14,children:"One to One Notifier"}),D.jsx(Ie,{width:"320px",p:1,borderLeft:"1px solid lightgray",height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",children:D.jsx(ko,{size:"sm",options:n,isMulti:!0,placeholder:"Choose Notifier",onChange:h=>{g(c=>me(G({},c),{ONE_TO_ONE_NOTIFIER:h}))},value:d.ONE_TO_ONE_NOTIFIER})})]})}),D.jsx(Ie,{border:"1px solid lightgray",flex:1,display:"flex",flexDirection:"column",width:"100%",borderRadius:"5px",children:D.jsxs(Ie,{px:1,display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",children:[D.jsx(_n,{fontSize:14,children:"Continuous Feedback Notifier"}),D.jsx(Ie,{width:"320px",p:1,borderLeft:"1px solid lightgray",height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",children:D.jsx(ko,{size:"sm",options:n,isMulti:!0,onChange:h=>{g(c=>me(G({},c),{CONTINUOUS_FEEDBACK_NOTIFIER:h}))},placeholder:"Choose Notifier",value:d.CONTINUOUS_FEEDBACK_NOTIFIER})})]})}),D.jsx(Ie,{border:"1px solid lightgray",flex:1,display:"flex",flexDirection:"column",width:"100%",borderRadius:"5px",children:D.jsxs(Ie,{px:1,display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",children:[D.jsx(_n,{fontSize:14,children:"Appreciation Notifier"}),D.jsx(Ie,{width:"320px",p:1,borderLeft:"1px solid lightgray",height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",children:D.jsx(ko,{size:"sm",options:n,placeholder:"Choose Notifier",isMulti:!0,onChange:h=>{g(c=>me(G({},c),{APPRECIATION_NOTIFIER:h}))},value:d.APPRECIATION_NOTIFIER})})]})}),D.jsx(Ie,{display:"flex",justifyContent:"flex-end",children:D.jsx(sa,{label:"UPDATE",onClick:f})})]})})},v7e="_feedback__rating_1ihre_3",y7e="_previeww__color_1ihre_33",b7e="_item__centerdirector_1ihre_57",O5={feedback__rating:v7e,previeww__color:y7e,item__centerdirector:b7e};var h3={},x7e=ir;Object.defineProperty(h3,"__esModule",{value:!0});var Ok=h3.default=void 0,_7e=x7e(Sr()),w7e=D;Ok=h3.default=(0,_7e.default)((0,w7e.jsx)("path",{d:"M9 11H7v2h2zm4 0h-2v2h2zm4 0h-2v2h2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V9h14z"}),"DateRange");var g3={},S7e=ir;Object.defineProperty(g3,"__esModule",{value:!0});var Dk=g3.default=void 0,C7e=S7e(Sr()),T7e=D;Dk=g3.default=(0,C7e.default)((0,T7e.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Article");var m3={},k7e=ir;Object.defineProperty(m3,"__esModule",{value:!0});var Iy=m3.default=void 0,E7e=k7e(Sr()),I7e=D;Iy=m3.default=(0,E7e.default)((0,I7e.jsx)("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord");var Zse={exports:{}};/*!
|
|
3007
3007
|
Copyright (c) 2018 Jed Watson.
|
|
3008
3008
|
Licensed under the MIT License (MIT), see
|
|
3009
3009
|
http://jedwatson.github.io/classnames
|
package/dist/main.js
CHANGED
|
@@ -75012,10 +75012,10 @@ const XVe = (e, t) => {
|
|
|
75012
75012
|
}, className: "cursor-pointer" })] })
|
|
75013
75013
|
}
|
|
75014
75014
|
], [v]);
|
|
75015
|
-
return Ca(y || b || w || E), D.jsxs(Ie, { padding: 2, width: "100%", children: [D.jsxs(Ie, { display: "flex", justifyContent: "flex-end", gap: 2, children: [D.jsx(
|
|
75015
|
+
return Ca(y || b || w || E), D.jsxs(Ie, { padding: 2, width: "100%", children: [D.jsxs(Ie, { display: "flex", justifyContent: "flex-end", gap: 2, children: [D.jsx("div", { style: { width: "220px" }, children: D.jsx(Qn, { type: "text", name: "searchText", size: "sm", placeholder: "Search..", onChange: ($) => {
|
|
75016
75016
|
var B;
|
|
75017
75017
|
return d((B = $ == null ? void 0 : $.target) == null ? void 0 : B.value);
|
|
75018
|
-
}, leftIcon: D.jsx(f3, { style: { width: 14, height: 14 } }) }), D.jsx(er, {
|
|
75018
|
+
}, leftIcon: D.jsx(f3, { style: { width: 14, height: 14 } }) }) }), D.jsx(er, {
|
|
75019
75019
|
size: "small",
|
|
75020
75020
|
// label="CREATE"
|
|
75021
75021
|
onClick: () => l(($) => me(G({}, $), {
|
|
@@ -75214,10 +75214,10 @@ const XVe = (e, t) => {
|
|
|
75214
75214
|
}
|
|
75215
75215
|
}
|
|
75216
75216
|
], [y]);
|
|
75217
|
-
return Ca(x || _ || S || C), D.jsxs(Ie, { padding: 2, width: "100%", children: [D.jsxs(Ie, { display: "flex", justifyContent: "flex-end", gap:
|
|
75217
|
+
return Ca(x || _ || S || C), D.jsxs(Ie, { padding: 2, width: "100%", children: [D.jsxs(Ie, { display: "flex", justifyContent: "flex-end", gap: 2, children: [D.jsx("div", { style: { width: "220px" }, children: D.jsx(Qn, { size: "sm", placeholder: "Search...", leftIcon: D.jsx(f3, { style: { width: 14, height: 14 } }), onChange: (j) => {
|
|
75218
75218
|
var P;
|
|
75219
75219
|
a((P = j == null ? void 0 : j.target) == null ? void 0 : P.value);
|
|
75220
|
-
} }), D.jsx(pa, { size: "small", label: "CREATE", onClick: () => l((j) => me(G({}, j), {
|
|
75220
|
+
} }) }), D.jsx(pa, { size: "small", label: "CREATE", onClick: () => l((j) => me(G({}, j), {
|
|
75221
75221
|
isOpen: !0,
|
|
75222
75222
|
type: Vp.CREATE
|
|
75223
75223
|
})), disableElevation: !0 })] }), D.jsx(Ie, { my: 2, sx: { height: "70vh" }, children: D.jsx(
|
|
@@ -75391,7 +75391,7 @@ const v7e = "_dashboard_container_ub43h_1", y7e = "_meeting_analytics_container_
|
|
|
75391
75391
|
fullScreen: !0,
|
|
75392
75392
|
open: t !== void 0,
|
|
75393
75393
|
handleClose: () => (n(void 0), l(""), a({ PAGE: 0, PER_PAGE: 20 })),
|
|
75394
|
-
children: D.jsxs("div", { style: {
|
|
75394
|
+
children: D.jsxs("div", { style: { height: "85vh" }, children: [D.jsx("div", { style: { marginBottom: 16, width: "240px" }, children: D.jsx(Qn, { placeholder: "Search", size: "sm", leftIcon: D.jsx(f3, { style: { width: 14, height: 14 } }), onChange: (v) => {
|
|
75395
75395
|
var y;
|
|
75396
75396
|
l((y = v == null ? void 0 : v.target) == null ? void 0 : y.value);
|
|
75397
75397
|
} }) }), D.jsx(
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.overview__container__bg{width:100%!important;overflow:scroll;font-style:normal;padding:10px!important;display:flex;flex-direction:column;gap:1rem}.avatar_container{display:flex;align-items:center;padding:4px 8px;background:#fff;border:1px solid #E8E8EA;border-radius:4px;font-weight:600;font-size:12px;color:#172b4d;margin-left:8px;gap:.5rem}.images__structure{display:flex;flex-flow:wrap;column-gap:20px;margin-top:15px}.images__structure img{width:100px;height:100px;object-fit:cover;border:1px solid #eee;background-color:#f2f2f2;margin-bottom:20px}.all__upload__images{margin:1rem 0rem;position:relative;box-shadow:#0000000d 0 1px 2px;width:100px;height:100px;border:1px solid #333}.pdfView__preview{margin:20px 0;position:relative;padding:8px;width:243px;height:auto;background:#fff;border:1px solid #E8E8EA;border-radius:4px;display:flex}.pdfView__preview button{cursor:pointer;padding:0;background:#0000004d;box-shadow:#00000014 0 4px 12px;color:#fff;border:none;position:absolute;width:24px;height:24px;border-radius:50px;right:-10px;top:-10px}.main__upload__box{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:1rem;width:100%}.input-date{height:40px;padding:10px;font-size:14px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}.input-time{height:38px!important}.form_error{display:flex;align-items:center;gap:.5rem;font-size:13px;color:red;margin-top:10px;margin-left:5px}.form_error p{margin:0!important;color:red}.one__icons__bottom{display:flex;align-items:center;margin-left:30px}.one__icons__bottom>p{margin-right:20px;display:flex;align-items:center;font-weight:400;font-size:12px;color:#615e69}.one__icons__bottom>p>span{display:flex;align-items:center;justify-content:center}.one__icons__bottom>p>span>svg{width:14px;height:14px;color:#615e69;margin-right:10px}.overlay{position:fixed;display:flex;width:100%;height:100%;inset:0;cursor:pointer;align-items:center;justify-content:center;background-color:#fff;z-index:999}.overlay-component{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);transform:-webkit-translate(-50%,-50%);transform:-moz-translate(-50%,-50%);transform:-ms-translate(-50%,-50%);background-color:#fff0;z-index:999}.toggle-button-group{background:#f3f3f3;border-radius:4px;padding:0;text-transform:capitalize}.toggle-button-group>button{padding:7px 20px!important;font-weight:400;font-size:14px;line-height:18px;text-align:center;color:#615e69;border-radius:4px!important;margin:2px;border:none!important;text-transform:capitalize}._container_146t7_1{overflow:auto;display:flex;flex-direction:column;gap:1rem}._badges_container_146t7_8{gap:.5rem;display:flex;flex-direction:column}._badges_container_title_146t7_15{font-size:14px;font-weight:600}._active_badge_146t7_20{border:1px solid rgba(10,122,255,.2);border-radius:8px}._badge_card_146t7_25{display:flex;flex-direction:row;align-items:center;padding:8px;gap:10px;width:100%;background:#fff;border-radius:8px}._badge_card_146t7_25 h3{font-style:normal;font-weight:600;font-size:14px;line-height:17px;margin:0 0 4px;padding:0;color:#172b4d}._badge_card_146t7_25 p{font-style:normal;font-weight:400;font-size:12px;line-height:15px;margin:0;padding:0;display:flex;align-items:center;color:#a5a3a9}._badge_card_146t7_25:hover{cursor:pointer}._feedback__appreciation_eow5e_1{text-align:center}._feedback__appreciation_eow5e_1>h3{font-style:normal;font-weight:600;font-size:14px;line-height:17px;color:#172b4d}._feedback__appreciation_eow5e_1>p{word-break:break-all}._feedback__rating_eow5e_18{display:block;padding:12px;background:#fff;border:1px solid #EBECF0;border-radius:4px;margin-bottom:20px}._feedback__rating_eow5e_18 h4{font-weight:600;font-size:14px;line-height:24px;display:flex;align-items:center;color:#172b4d;margin:0;padding:0}._feedback__rating_eow5e_18>p{font-style:normal;font-weight:400;font-size:14px;line-height:19px;color:#172b4d;word-break:break-all}._icon__appriciate_eow5e_47{margin-right:17px;align-items:center;display:flex;justify-content:center}._box__appriciate_eow5e_54{display:flex}._box__top_appriciate_eow5e_58{display:flex;width:100%;align-items:center;justify-content:"center"}._box__top_appriciate_eow5e_58 h3{padding:0;margin:0;font-size:18px;line-height:20px;font-weight:600;cursor:pointer}._box__top_appriciate_eow5e_58 p{padding:0;margin:7px 0 0;font-size:15px;color:#615e83;font:600}._summury__box_outline_eow5e_82{background:#fff;border:1px solid #e8e8ea;border-radius:4px;margin-bottom:20px;padding:25px 20px}._dashboard_container_ub43h_1{padding:1rem;overflow:auto;display:flex;flex-direction:column;gap:1rem;width:100%}._dashboard_heading_ub43h_11{font-style:normal;font-weight:700;font-size:18px;line-height:34px;color:#172b4d}._meeting_analytics_container_ub43h_19{box-sizing:border-box;padding:5px 20px 20px;width:100%;background:#fff;box-shadow:0 4px 12px #00000014;border-radius:8px;flex:none;order:0;flex-grow:0}._meeting_analytics_card_ub43h_32{box-sizing:border-box;position:relative;width:100%;height:100%;min-height:97px;background:linear-gradient(255.86deg,#4c8bff33 -89.77%,#fff0 -89.75%),#fff;border:1px solid #f5f5f5;box-shadow:0 4px 12px #00000014;border-radius:4px;padding:24px;flex:none;order:0;flex-grow:0;z-index:0}._meeting_analytics_card_ub43h_32>._stick_ub43h_52{position:absolute;width:34px;height:2px;left:-16px;top:34px;border-radius:0 0 4px 4px;transform:rotate(-90deg);flex:none;order:1;flex-grow:0;z-index:1}._meeting_analytics_card_icon_ub43h_66{display:inline-flex;flex-direction:row;justify-content:center;align-items:center;padding:4px;width:35px;height:35px;border-radius:200px;margin-right:8px;margin-bottom:10px}._meeting_analytics_card_label_ub43h_79{font-style:normal;font-weight:600;font-size:12px;line-height:18px;margin-top:12px;color:#615e83}._chart_card_ub43h_88{background:#fff;box-shadow:0 0 8px #00000014;border-radius:8px;height:400px;padding:24px 32px}.zimyo_card{padding:0;height:100%;display:flex;flex-direction:column;justify-content:space-between;box-shadow:none}.zimyo_card:hover{transform:none;box-shadow:none}.header_comp{display:flex;justify-content:space-between;align-items:center}.zimyo_header_description{margin-top:-6px;margin-bottom:7px}.inner_content{display:flex;align-items:center;gap:8px}.card_logo{height:25px;width:25px;margin-right:2px}.card_icon_image{height:30px;width:30px;margin-right:2px}.card_icon{height:30px;width:30px;margin-right:2px;padding:6px;border-radius:10%;display:flex;justify-content:center;align-items:center}.divider_bar{width:4px;height:30px;border-radius:2px}.info_wrapper{margin-right:10px}._feedback__rating_1ihre_3{display:block;padding:12px;background:#fff;border:1px solid #EBECF0;border-radius:4px;margin-bottom:20px}._feedback__rating_1ihre_3 h4{font-weight:600;font-size:14px;line-height:24px;display:flex;align-items:center;color:#172b4d;margin:0;padding:0}._feedback__rating_1ihre_3>p{font-style:normal;font-weight:400;font-size:14px;line-height:19px;color:#172b4d;word-break:break-all}._previeww__color_1ihre_33{font-weight:400;font-size:14px;line-height:100%;display:flex;align-items:center;color:#4c8bff;margin-top:4px;cursor:pointer}._skill__btns_1ihre_44{display:inline-block;padding:2px 6px;width:auto;height:24px;background:#e6ecff;border-radius:4px;font-weight:400;font-size:14px;line-height:20px;color:#4c70ff}._item__centerdirector_1ihre_57{display:flex;align-items:center}._custom-descriptions-title_17b5o_10{font-weight:600;font-size:16px;line-height:24px}._custom-descriptions-item-label_17b5o_25{font-weight:400;font-size:14px;line-height:19px;letter-spacing:.02em;color:#4f4f4f}._custom-descriptions-item-content_17b5o_34{font-weight:600;font-size:14px;line-height:24px;display:flex;align-items:center;color:#172b4d}._schedule__employee_9whs1_2{display:flex;align-items:center;padding:4px 8px;background:#fff;border:1px solid #E8E8EA;border-radius:4px;font-weight:600;font-size:12px;color:#172b4d;margin-left:8px}._skill__btns_9whs1_15{display:inline-block;padding:2px 6px;width:auto;height:24px;background:#e6ecff;border-radius:4px;font-weight:400;font-size:14px;line-height:20px;word-break:break-all;color:#4c70ff}._item__centerdirector_9whs1_30{display:flex;align-items:center}._closeRatingicon_9whs1_35{color:#757575;margin-left:10px;margin-top:5px;cursor:pointer}._footer__upload_assets_9whs1_42{opacity:.5!important;padding-right:15px}._meeting__details_75256_1{padding:30px}._meeting__details__topbox_75256_5{clear:both}._meeting__details__topbox_75256_5 h3{font-style:normal;font-weight:600;font-size:20px;line-height:27px;color:#172b4d;padding:0;margin:0;display:flex;align-items:center}._meeting__details__topbox_75256_5 ._meeting-desc_75256_21{word-wrap:break-word}._meeting__details__topbox_75256_5 h3 span{font-style:normal;font-weight:400;font-size:14px;line-height:22px;margin-left:10px}._meeting__details__topbox_75256_5 p{font-style:normal;font-weight:400;font-size:12px;line-height:16px;color:#a5a3a9}._bottom_create_loaction_75256_42{display:flex}._bottom_create_loaction_75256_42>p{font-size:12px;line-height:22px;display:flex;align-items:center;color:#b3b3b3;padding-right:10px;margin-right:10px}._bottom_create_loaction_75256_42>p:not(:last-child){border-right:1px solid #B3B3B3}._bottom_create_loaction_75256_42>p>span{font-weight:400;font-size:14px;line-height:22px;display:flex;align-items:center;color:#615e69;margin-left:10px}._date__time__box_75256_71{clear:auto;display:flex}._date__time__box_75256_71>p{display:flex;justify-content:center;align-items:center;padding:6px 12px;height:28px;background:#fff;border:1px solid #EBECF0;border-radius:4px;font-weight:400;font-size:12px;line-height:16px;color:#615e69;margin-right:24px}._date__time__box_75256_71>p>span>svg{color:#615e69;width:14px;height:14px;margin-right:10px;float:left}._connected__meeting_75256_100{display:flex;align-items:center;font-weight:400;font-size:14px;line-height:19px;color:#615e69}._connected__meeting_75256_100>span{display:flex;align-items:center;justify-content:center}._connected__meeting_75256_100>span>svg{color:#615e69;width:20px;height:20px}._connected__meeting_75256_100 span{color:#172b4d;margin-left:10px}._remarks__meeting_75256_126{clear:both;padding:12px;isolation:isolate;background:#fff;border:1px solid #EBECF0;border-radius:8px;margin-top:30px}._remarks__meeting_75256_126 h4{justify-content:space-between;font-weight:600;font-size:14px;line-height:20px;display:flex;align-items:center;color:#172b4d;margin:0 0 15px}._remarks__meeting_75256_126 h4 span{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:4px 8px;height:20px;background:#fff;border:1px solid #EBECF0;border-radius:4px;font-weight:400;font-size:12px;line-height:16px;color:#172b4d}._remarks__meeting_75256_126 p{font-weight:400;font-size:14px;line-height:19px;color:#172b4d;margin:0;padding:0;word-break:break-all}._previeww__color_75256_176{font-weight:400;font-size:14px;line-height:100%;display:flex;align-items:center;color:#4c8bff;margin-top:4px;cursor:pointer}._comment__users__meeting_75256_187{display:flex;align-items:center;justify-content:flex-start;font-weight:600;font-size:16px;line-height:21px;color:#172b4d;margin-top:15px}._comment__users__meeting_75256_187>span{font-style:normal;font-weight:400;font-size:14px;line-height:19px;margin-left:6px;color:#afafaf}._editor__remarks_75256_207{height:auto;background:#fff;border:1px solid #A5A3A9;border-radius:8px;margin-top:30px;padding:4px}._editor__bottom_75256_216{display:flex;justify-content:space-between;padding:15px}._editor__bottom_75256_216 span{float:left;cursor:pointer}._editor__bottom_75256_216 span>svg{opacity:.5}._one__to__one__card_ujqix_1{display:block;padding:12px;width:100%;background:#fff;border:1px solid #EBECF0;border-radius:4px}._one__icons__bottom_ujqix_11 p{margin:0;white-space:normal;word-break:break-word;flex:1 1 auto}._one__to__one__card__top_ujqix_21{display:flex;justify-content:space-between;align-items:center}._one__to__one__icon_ujqix_27{display:flex;flex-direction:row;align-items:flex-start;padding:4px;width:20px;height:20px;background:#f6faff;border-radius:20px;margin-right:12px}._one__to__one__icon_ujqix_27>svg{color:#4c8bff;width:12px;height:12px}._one__to__one__card__top_ujqix_21 h3{font-weight:600;font-size:16px;line-height:24px;display:flex;align-items:center;color:#172b4d;margin:0;padding:0;word-break:break-all}._one__to__one__card__top_ujqix_21 h3 span{font-weight:400;font-size:14px;line-height:22px;margin-left:12px;display:flex;align-items:center;color:#fac800}._face__to__face_ujqix_68{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:4px 8px;background:#fff;border:1px solid #EBECF0;border-radius:4px;font-weight:400;font-size:12px;line-height:16px;color:#172b4d}._one__to__one__reschedule_ujqix_83{font-weight:400;font-size:14px;line-height:18px;height:20px!important;cursor:pointer;align-items:center;text-align:center;letter-spacing:.1px;color:#335aff!important}._one__to__one__cancel_ujqix_95{font-weight:400;font-size:14px;line-height:18px;height:20px!important;cursor:pointer;align-items:center;text-align:center;letter-spacing:.1px;color:red!important}.membercard__heading{font-size:20px;font-weight:700;display:flex;margin-bottom:10px}.membercardheading__icon{color:#0a7aff;margin-right:20px}.schedule__employee__heading{align-items:center;font-weight:400;font-size:14px;line-height:18px;color:#757575}.schedule__employee{display:flex;align-items:center;padding:4px 8px;background:#fff;border:1px solid #e8e8ea;border-radius:4px;font-weight:600;font-size:12px;color:#172b4d;margin-left:8px}.modalheading__inputs{font-style:normal;font-weight:600;font-size:14px;line-height:18px;margin-top:5px;color:#101010}.moreDot{position:absolute;z-index:9;top:21px;right:7px}.memberLinkcard{text-align:center;flex-direction:column;align-items:center;display:flex}.add_skill{font-style:normal;font-weight:600;font-size:14px;line-height:20px;text-transform:capitalize;cursor:pointer;display:flex;align-items:center;text-align:center;letter-spacing:.1px;color:#335aff;margin-left:15px;white-space:nowrap}.item__centerdirector{display:flex;align-items:center}.skill__btns{display:inline-block;padding:2px 6px;width:auto;height:24px;background:#e6ecff;border-radius:4px;font-weight:400;font-size:14px;line-height:20px;word-break:break-all;color:#4c70ff}.closeRatingicon{color:#757575;margin-left:10px;margin-top:5px;cursor:pointer}.appreciation__card{display:flex;flex-direction:row;align-items:center;padding:8px;gap:10px;width:100%;background:#fff;border-radius:8px}.appreciation__card__header{font-weight:400;font-size:16px;line-height:100%;margin-top:0;margin-bottom:15px;text-transform:capitalize;color:#000}.appreciation__card h3{font-style:normal;font-weight:600;font-size:14px;line-height:17px;margin:0 0 4px;padding:0;color:#172b4d}.appreciation__card p{font-style:normal;font-weight:400;font-size:12px;line-height:15px;margin:0;padding:0;display:flex;align-items:center;color:#a5a3a9}.appreciation__card:hover{cursor:pointer}.form-error{font-size:13px;color:red;padding:0;margin:9px 0 0;float:left;text-transform:capitalize}.footer__upload_assets{opacity:.5!important;border-right:1px solid #a3a2a2;padding-right:15px}.main__upload__box{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;width:100%}.all__upload__images{margin:1rem .5rem;position:relative;box-shadow:#0000000d 0 1px 2px;width:70px;height:70px;border:1px solid #333}.all__upload__images>img{width:100%;height:100%}.all__upload__images button{cursor:pointer;padding:0;background:#0000004d;box-shadow:#00000014 0 4px 12px;color:#fff;border:none;position:absolute;width:24px;height:24px;border-radius:50px;right:-10px;top:-10px}.pdfView__preview{margin:.5rem 10px;position:relative;padding:8px;width:243px;height:auto;background:#fff;border:1px solid #e8e8ea;border-radius:4px;display:flex}.pdfView__preview p{font-weight:400;font-size:14px;line-height:25px;display:flex;align-items:center;padding:0;margin:0;color:#262626}.pdfView__preview>button{cursor:pointer;padding:0;background:#0000004d;box-shadow:#00000014 0 4px 12px;color:#fff;border:none;position:absolute;width:24px;height:24px;border-radius:50px;right:-10px;top:-10px}.previeww__color{font-weight:400;font-size:14px;line-height:100%;display:flex;align-items:center;color:#4c8bff;margin-top:4px;cursor:pointer}.feedback_alert{background-color:#fff1e6;font-size:14px;padding:10px;width:100%;margin-top:20px}.pip__intiate__container{padding:0 20px 0 0;height:calc(100vh - 250px);overflow:auto;margin-top:1rem}.pip__initiate__details{gap:1rem;display:flex}.pip__initiate__employee__heading{color:#757575;font-weight:600;font-size:14px;line-height:18px}.pip__initiate__employee__heading span,.admin__pip__initiate__employee__heading span{font-weight:400}.pip__initiate__employee__name{color:#172b4d;font-weight:600;font-size:12px;line-height:12px}.pip__intiate__employee__container{width:max-content;padding:.3rem;border:1px solid #e8e8ea;border-radius:4px;display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.pip__initiate__details__dateheading{font-weight:600;font-size:14px;line-height:18px}.pip__initiate__body1,.pip__initiate__body2{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.pip__initiate__add__dates{color:#00f;justify-content:flex-start;font-size:14px;font-style:normal;font-weight:400}.pip__initiate__title{display:flex;align-items:center;gap:.2rem}.pip__initiate_errors{color:#f40b0b;font-size:.75rem;font-weight:400;line-height:1.66;margin:4px 14px 0 4px;text-align:left}.pip__view__details__container{width:100%;height:calc(100vh - 250px);padding:1.5rem;overflow-y:auto;padding-bottom:0}.pip__view__details__container__heading{gap:.75rem;display:flex}.pip__view__details__subheading{font-size:14px;font-weight:400;color:#615e69}.pip__view__details__status__chip{font-weight:400;font-size:14px;border-radius:4px;margin-left:.75rem;background-color:#e0b4001a!important;color:#e0b400!important;font-weight:var(--font-weight-regular)!important;font-size:12px!important;min-width:4rem}.pip__view__details__performance__plan{display:flex;margin-top:1.5rem;gap:1rem;flex-direction:column;flex-wrap:wrap}.pip__view__details__performance__plan__heading{font-weight:600;font-size:14px;color:#172b4d}.pip__view__details__history__conatiner{width:100%;margin-top:1.5rem}.pip__view__details__history{border-radius:8px;background-color:#fff}.pip__view__details__history__date{background:#4c70ff;box-shadow:0 4px 12px #00000014;border-radius:8px;color:#fff;padding:4px 12px;width:110px;text-align:center;display:flex}.pip__details__history__timelinecontent{display:flex;flex-direction:column;gap:1rem;margin-bottom:3.5rem}.pip__details__history__timelinecontent__heading{font-size:14px;font-weight:600}.pip__details__history__timelinecontent__subheading{font-size:12px;font-weight:400;color:#615e69;width:100%;text-align:left;padding:5px;margin:0}.pip__details__timeline__date__content{display:flex;flex-direction:column;gap:.3rem;align-items:center}.pip__view__details__feedback__editor{height:auto;background:#fff;border:1px solid #a5a3a9;border-radius:8px;margin-top:1.75rem;padding:4px;margin-bottom:1.5rem}.editor__bottom{display:flex;justify-content:space-between;padding:15px}.editor__bottom span{float:left;cursor:pointer}.editor__bottom span>svg{opacity:.5}.pip__view__details__footer{display:flex;justify-content:flex-end;position:sticky;gap:1.5rem;margin-top:15px}.bottom_text_pad{padding:0px 1.5rem}.editor__remarks{height:auto;background:#fff;border:1px solid #a5a3a9;border-radius:8px;margin-top:30px;padding:4px}._one__to__one__card_3bvyx_1{display:block;padding:12px;width:100%;height:78px;background:#fff;border:1px solid #ebecf0;border-radius:4px}._one__to__one__card__top_3bvyx_11{display:flex;justify-content:space-between;align-items:center}._one__to__one__icon_3bvyx_16{display:flex;flex-direction:row;align-items:flex-start;padding:4px;width:20px;height:20px;background:#f6faff;border-radius:20px;margin-right:12px}._one__to__one__icon_3bvyx_16>svg{color:#4c8bff;width:12px;height:12px}._one__to__one__card__top_3bvyx_11 h3{font-weight:600;font-size:16px;line-height:24px;display:flex;align-items:center;color:#172b4d;margin:0;padding:0;word-break:break-all}._one__to__one__card__top_3bvyx_11 h3 span{font-weight:400;font-size:14px;line-height:22px;margin-left:12px;display:flex;align-items:center;color:#fac800}._face__to__face_3bvyx_52{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:4px 8px;background:#fff;border:1px solid #ebecf0;border-radius:4px;font-weight:400;font-size:12px;line-height:16px;color:#172b4d}._one__icons__bottom_3bvyx_67{display:flex;align-items:center;margin-left:30px}._one__icons__bottom_3bvyx_67>p{margin-right:20px;display:flex;align-items:center;font-weight:400;font-size:12px;color:#615e69}._one__icons__bottom_3bvyx_67>p>span>svg{width:14px;height:14px;color:#615e69;margin-right:10px}._one__to__one__reschedule_3bvyx_86{font-weight:400;font-size:14px;line-height:18px;height:20px;align-items:center;text-align:center;letter-spacing:.1px;color:#335aff}._one__to__one__cancel_3bvyx_97{font-weight:400;font-size:14px;line-height:18px;height:20px;align-items:center;text-align:center;letter-spacing:.1px;color:red}._hoverBold_3bvyx_108{font-weight:400;cursor:pointer}._hoverBold_3bvyx_108:hover{font-weight:700!important}._templateModal__main_1buad_1{height:80vh;overflow:auto;padding:1rem;box-shadow:#80808026 0 3px 8px}._templateModal__notification_slug_1buad_8{padding:.5rem;border:1px solid #ececec;border-radius:4px}._templateModal_form_1buad_14{display:flex;flex-direction:column;gap:20px}._templateModal__slugTitle_1buad_20{color:#231f2080}
|
|
1
|
+
.overview__container__bg{width:100%!important;overflow:auto;font-style:normal;display:flex;flex-direction:column;gap:1rem}.avatar_container{display:flex;align-items:center;padding:4px 8px;background:#fff;border:1px solid #E8E8EA;border-radius:4px;font-weight:600;font-size:12px;color:#172b4d;margin-left:8px;gap:.5rem}.images__structure{display:flex;flex-flow:wrap;column-gap:20px;margin-top:15px}.images__structure img{width:100px;height:100px;object-fit:cover;border:1px solid #eee;background-color:#f2f2f2;margin-bottom:20px}.all__upload__images{margin:1rem 0rem;position:relative;box-shadow:#0000000d 0 1px 2px;width:100px;height:100px;border:1px solid #333}.pdfView__preview{margin:20px 0;position:relative;padding:8px;width:243px;height:auto;background:#fff;border:1px solid #E8E8EA;border-radius:4px;display:flex}.pdfView__preview button{cursor:pointer;padding:0;background:#0000004d;box-shadow:#00000014 0 4px 12px;color:#fff;border:none;position:absolute;width:24px;height:24px;border-radius:50px;right:-10px;top:-10px}.main__upload__box{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:1rem;width:100%}.input-date{height:40px;padding:10px;font-size:14px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}.input-time{height:38px!important}.form_error{display:flex;align-items:center;gap:.5rem;font-size:13px;color:red;margin-top:10px;margin-left:5px}.form_error p{margin:0!important;color:red}.one__icons__bottom{display:flex;align-items:center;margin-left:30px}.one__icons__bottom>p{margin-right:20px;display:flex;align-items:center;font-weight:400;font-size:12px;color:#615e69}.one__icons__bottom>p>span{display:flex;align-items:center;justify-content:center}.one__icons__bottom>p>span>svg{width:14px;height:14px;color:#615e69;margin-right:10px}.overlay{position:fixed;display:flex;width:100%;height:100%;inset:0;cursor:pointer;align-items:center;justify-content:center;background-color:#fff;z-index:999}.overlay-component{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);transform:-webkit-translate(-50%,-50%);transform:-moz-translate(-50%,-50%);transform:-ms-translate(-50%,-50%);background-color:#fff0;z-index:999}.toggle-button-group{background:#f3f3f3;border-radius:4px;padding:0;text-transform:capitalize}.toggle-button-group>button{padding:7px 20px!important;font-weight:400;font-size:14px;line-height:18px;text-align:center;color:#615e69;border-radius:4px!important;margin:2px;border:none!important;text-transform:capitalize}._container_146t7_1{overflow:auto;display:flex;flex-direction:column;gap:1rem}._badges_container_146t7_8{gap:.5rem;display:flex;flex-direction:column}._badges_container_title_146t7_15{font-size:14px;font-weight:600}._active_badge_146t7_20{border:1px solid rgba(10,122,255,.2);border-radius:8px}._badge_card_146t7_25{display:flex;flex-direction:row;align-items:center;padding:8px;gap:10px;width:100%;background:#fff;border-radius:8px}._badge_card_146t7_25 h3{font-style:normal;font-weight:600;font-size:14px;line-height:17px;margin:0 0 4px;padding:0;color:#172b4d}._badge_card_146t7_25 p{font-style:normal;font-weight:400;font-size:12px;line-height:15px;margin:0;padding:0;display:flex;align-items:center;color:#a5a3a9}._badge_card_146t7_25:hover{cursor:pointer}._feedback__appreciation_eow5e_1{text-align:center}._feedback__appreciation_eow5e_1>h3{font-style:normal;font-weight:600;font-size:14px;line-height:17px;color:#172b4d}._feedback__appreciation_eow5e_1>p{word-break:break-all}._feedback__rating_eow5e_18{display:block;padding:12px;background:#fff;border:1px solid #EBECF0;border-radius:4px;margin-bottom:20px}._feedback__rating_eow5e_18 h4{font-weight:600;font-size:14px;line-height:24px;display:flex;align-items:center;color:#172b4d;margin:0;padding:0}._feedback__rating_eow5e_18>p{font-style:normal;font-weight:400;font-size:14px;line-height:19px;color:#172b4d;word-break:break-all}._icon__appriciate_eow5e_47{margin-right:17px;align-items:center;display:flex;justify-content:center}._box__appriciate_eow5e_54{display:flex}._box__top_appriciate_eow5e_58{display:flex;width:100%;align-items:center;justify-content:"center"}._box__top_appriciate_eow5e_58 h3{padding:0;margin:0;font-size:18px;line-height:20px;font-weight:600;cursor:pointer}._box__top_appriciate_eow5e_58 p{padding:0;margin:7px 0 0;font-size:15px;color:#615e83;font:600}._summury__box_outline_eow5e_82{background:#fff;border:1px solid #e8e8ea;border-radius:4px;margin-bottom:20px;padding:25px 20px}._dashboard_container_ub43h_1{padding:1rem;overflow:auto;display:flex;flex-direction:column;gap:1rem;width:100%}._dashboard_heading_ub43h_11{font-style:normal;font-weight:700;font-size:18px;line-height:34px;color:#172b4d}._meeting_analytics_container_ub43h_19{box-sizing:border-box;padding:5px 20px 20px;width:100%;background:#fff;box-shadow:0 4px 12px #00000014;border-radius:8px;flex:none;order:0;flex-grow:0}._meeting_analytics_card_ub43h_32{box-sizing:border-box;position:relative;width:100%;height:100%;min-height:97px;background:linear-gradient(255.86deg,#4c8bff33 -89.77%,#fff0 -89.75%),#fff;border:1px solid #f5f5f5;box-shadow:0 4px 12px #00000014;border-radius:4px;padding:24px;flex:none;order:0;flex-grow:0;z-index:0}._meeting_analytics_card_ub43h_32>._stick_ub43h_52{position:absolute;width:34px;height:2px;left:-16px;top:34px;border-radius:0 0 4px 4px;transform:rotate(-90deg);flex:none;order:1;flex-grow:0;z-index:1}._meeting_analytics_card_icon_ub43h_66{display:inline-flex;flex-direction:row;justify-content:center;align-items:center;padding:4px;width:35px;height:35px;border-radius:200px;margin-right:8px;margin-bottom:10px}._meeting_analytics_card_label_ub43h_79{font-style:normal;font-weight:600;font-size:12px;line-height:18px;margin-top:12px;color:#615e83}._chart_card_ub43h_88{background:#fff;box-shadow:0 0 8px #00000014;border-radius:8px;height:400px;padding:24px 32px}.zimyo_card{padding:0;height:100%;display:flex;flex-direction:column;justify-content:space-between;box-shadow:none}.zimyo_card:hover{transform:none;box-shadow:none}.header_comp{display:flex;justify-content:space-between;align-items:center}.zimyo_header_description{margin-top:-6px;margin-bottom:7px}.inner_content{display:flex;align-items:center;gap:8px}.card_logo{height:25px;width:25px;margin-right:2px}.card_icon_image{height:30px;width:30px;margin-right:2px}.card_icon{height:30px;width:30px;margin-right:2px;padding:6px;border-radius:10%;display:flex;justify-content:center;align-items:center}.divider_bar{width:4px;height:30px;border-radius:2px}.info_wrapper{margin-right:10px}._feedback__rating_1ihre_3{display:block;padding:12px;background:#fff;border:1px solid #EBECF0;border-radius:4px;margin-bottom:20px}._feedback__rating_1ihre_3 h4{font-weight:600;font-size:14px;line-height:24px;display:flex;align-items:center;color:#172b4d;margin:0;padding:0}._feedback__rating_1ihre_3>p{font-style:normal;font-weight:400;font-size:14px;line-height:19px;color:#172b4d;word-break:break-all}._previeww__color_1ihre_33{font-weight:400;font-size:14px;line-height:100%;display:flex;align-items:center;color:#4c8bff;margin-top:4px;cursor:pointer}._skill__btns_1ihre_44{display:inline-block;padding:2px 6px;width:auto;height:24px;background:#e6ecff;border-radius:4px;font-weight:400;font-size:14px;line-height:20px;color:#4c70ff}._item__centerdirector_1ihre_57{display:flex;align-items:center}._custom-descriptions-title_17b5o_10{font-weight:600;font-size:16px;line-height:24px}._custom-descriptions-item-label_17b5o_25{font-weight:400;font-size:14px;line-height:19px;letter-spacing:.02em;color:#4f4f4f}._custom-descriptions-item-content_17b5o_34{font-weight:600;font-size:14px;line-height:24px;display:flex;align-items:center;color:#172b4d}._schedule__employee_9whs1_2{display:flex;align-items:center;padding:4px 8px;background:#fff;border:1px solid #E8E8EA;border-radius:4px;font-weight:600;font-size:12px;color:#172b4d;margin-left:8px}._skill__btns_9whs1_15{display:inline-block;padding:2px 6px;width:auto;height:24px;background:#e6ecff;border-radius:4px;font-weight:400;font-size:14px;line-height:20px;word-break:break-all;color:#4c70ff}._item__centerdirector_9whs1_30{display:flex;align-items:center}._closeRatingicon_9whs1_35{color:#757575;margin-left:10px;margin-top:5px;cursor:pointer}._footer__upload_assets_9whs1_42{opacity:.5!important;padding-right:15px}._meeting__details_75256_1{padding:30px}._meeting__details__topbox_75256_5{clear:both}._meeting__details__topbox_75256_5 h3{font-style:normal;font-weight:600;font-size:20px;line-height:27px;color:#172b4d;padding:0;margin:0;display:flex;align-items:center}._meeting__details__topbox_75256_5 ._meeting-desc_75256_21{word-wrap:break-word}._meeting__details__topbox_75256_5 h3 span{font-style:normal;font-weight:400;font-size:14px;line-height:22px;margin-left:10px}._meeting__details__topbox_75256_5 p{font-style:normal;font-weight:400;font-size:12px;line-height:16px;color:#a5a3a9}._bottom_create_loaction_75256_42{display:flex}._bottom_create_loaction_75256_42>p{font-size:12px;line-height:22px;display:flex;align-items:center;color:#b3b3b3;padding-right:10px;margin-right:10px}._bottom_create_loaction_75256_42>p:not(:last-child){border-right:1px solid #B3B3B3}._bottom_create_loaction_75256_42>p>span{font-weight:400;font-size:14px;line-height:22px;display:flex;align-items:center;color:#615e69;margin-left:10px}._date__time__box_75256_71{clear:auto;display:flex}._date__time__box_75256_71>p{display:flex;justify-content:center;align-items:center;padding:6px 12px;height:28px;background:#fff;border:1px solid #EBECF0;border-radius:4px;font-weight:400;font-size:12px;line-height:16px;color:#615e69;margin-right:24px}._date__time__box_75256_71>p>span>svg{color:#615e69;width:14px;height:14px;margin-right:10px;float:left}._connected__meeting_75256_100{display:flex;align-items:center;font-weight:400;font-size:14px;line-height:19px;color:#615e69}._connected__meeting_75256_100>span{display:flex;align-items:center;justify-content:center}._connected__meeting_75256_100>span>svg{color:#615e69;width:20px;height:20px}._connected__meeting_75256_100 span{color:#172b4d;margin-left:10px}._remarks__meeting_75256_126{clear:both;padding:12px;isolation:isolate;background:#fff;border:1px solid #EBECF0;border-radius:8px;margin-top:30px}._remarks__meeting_75256_126 h4{justify-content:space-between;font-weight:600;font-size:14px;line-height:20px;display:flex;align-items:center;color:#172b4d;margin:0 0 15px}._remarks__meeting_75256_126 h4 span{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:4px 8px;height:20px;background:#fff;border:1px solid #EBECF0;border-radius:4px;font-weight:400;font-size:12px;line-height:16px;color:#172b4d}._remarks__meeting_75256_126 p{font-weight:400;font-size:14px;line-height:19px;color:#172b4d;margin:0;padding:0;word-break:break-all}._previeww__color_75256_176{font-weight:400;font-size:14px;line-height:100%;display:flex;align-items:center;color:#4c8bff;margin-top:4px;cursor:pointer}._comment__users__meeting_75256_187{display:flex;align-items:center;justify-content:flex-start;font-weight:600;font-size:16px;line-height:21px;color:#172b4d;margin-top:15px}._comment__users__meeting_75256_187>span{font-style:normal;font-weight:400;font-size:14px;line-height:19px;margin-left:6px;color:#afafaf}._editor__remarks_75256_207{height:auto;background:#fff;border:1px solid #A5A3A9;border-radius:8px;margin-top:30px;padding:4px}._editor__bottom_75256_216{display:flex;justify-content:space-between;padding:15px}._editor__bottom_75256_216 span{float:left;cursor:pointer}._editor__bottom_75256_216 span>svg{opacity:.5}._one__to__one__card_ujqix_1{display:block;padding:12px;width:100%;background:#fff;border:1px solid #EBECF0;border-radius:4px}._one__icons__bottom_ujqix_11 p{margin:0;white-space:normal;word-break:break-word;flex:1 1 auto}._one__to__one__card__top_ujqix_21{display:flex;justify-content:space-between;align-items:center}._one__to__one__icon_ujqix_27{display:flex;flex-direction:row;align-items:flex-start;padding:4px;width:20px;height:20px;background:#f6faff;border-radius:20px;margin-right:12px}._one__to__one__icon_ujqix_27>svg{color:#4c8bff;width:12px;height:12px}._one__to__one__card__top_ujqix_21 h3{font-weight:600;font-size:16px;line-height:24px;display:flex;align-items:center;color:#172b4d;margin:0;padding:0;word-break:break-all}._one__to__one__card__top_ujqix_21 h3 span{font-weight:400;font-size:14px;line-height:22px;margin-left:12px;display:flex;align-items:center;color:#fac800}._face__to__face_ujqix_68{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:4px 8px;background:#fff;border:1px solid #EBECF0;border-radius:4px;font-weight:400;font-size:12px;line-height:16px;color:#172b4d}._one__to__one__reschedule_ujqix_83{font-weight:400;font-size:14px;line-height:18px;height:20px!important;cursor:pointer;align-items:center;text-align:center;letter-spacing:.1px;color:#335aff!important}._one__to__one__cancel_ujqix_95{font-weight:400;font-size:14px;line-height:18px;height:20px!important;cursor:pointer;align-items:center;text-align:center;letter-spacing:.1px;color:red!important}.membercard__heading{font-size:20px;font-weight:700;display:flex;margin-bottom:10px}.membercardheading__icon{color:#0a7aff;margin-right:20px}.schedule__employee__heading{align-items:center;font-weight:400;font-size:14px;line-height:18px;color:#757575}.schedule__employee{display:flex;align-items:center;padding:4px 8px;background:#fff;border:1px solid #e8e8ea;border-radius:4px;font-weight:600;font-size:12px;color:#172b4d;margin-left:8px}.modalheading__inputs{font-style:normal;font-weight:600;font-size:14px;line-height:18px;margin-top:5px;color:#101010}.moreDot{position:absolute;z-index:9;top:21px;right:7px}.memberLinkcard{text-align:center;flex-direction:column;align-items:center;display:flex}.add_skill{font-style:normal;font-weight:600;font-size:14px;line-height:20px;text-transform:capitalize;cursor:pointer;display:flex;align-items:center;text-align:center;letter-spacing:.1px;color:#335aff;margin-left:15px;white-space:nowrap}.item__centerdirector{display:flex;align-items:center}.skill__btns{display:inline-block;padding:2px 6px;width:auto;height:24px;background:#e6ecff;border-radius:4px;font-weight:400;font-size:14px;line-height:20px;word-break:break-all;color:#4c70ff}.closeRatingicon{color:#757575;margin-left:10px;margin-top:5px;cursor:pointer}.appreciation__card{display:flex;flex-direction:row;align-items:center;padding:8px;gap:10px;width:100%;background:#fff;border-radius:8px}.appreciation__card__header{font-weight:400;font-size:16px;line-height:100%;margin-top:0;margin-bottom:15px;text-transform:capitalize;color:#000}.appreciation__card h3{font-style:normal;font-weight:600;font-size:14px;line-height:17px;margin:0 0 4px;padding:0;color:#172b4d}.appreciation__card p{font-style:normal;font-weight:400;font-size:12px;line-height:15px;margin:0;padding:0;display:flex;align-items:center;color:#a5a3a9}.appreciation__card:hover{cursor:pointer}.form-error{font-size:13px;color:red;padding:0;margin:9px 0 0;float:left;text-transform:capitalize}.footer__upload_assets{opacity:.5!important;border-right:1px solid #a3a2a2;padding-right:15px}.main__upload__box{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;width:100%}.all__upload__images{margin:1rem .5rem;position:relative;box-shadow:#0000000d 0 1px 2px;width:70px;height:70px;border:1px solid #333}.all__upload__images>img{width:100%;height:100%}.all__upload__images button{cursor:pointer;padding:0;background:#0000004d;box-shadow:#00000014 0 4px 12px;color:#fff;border:none;position:absolute;width:24px;height:24px;border-radius:50px;right:-10px;top:-10px}.pdfView__preview{margin:.5rem 10px;position:relative;padding:8px;width:243px;height:auto;background:#fff;border:1px solid #e8e8ea;border-radius:4px;display:flex}.pdfView__preview p{font-weight:400;font-size:14px;line-height:25px;display:flex;align-items:center;padding:0;margin:0;color:#262626}.pdfView__preview>button{cursor:pointer;padding:0;background:#0000004d;box-shadow:#00000014 0 4px 12px;color:#fff;border:none;position:absolute;width:24px;height:24px;border-radius:50px;right:-10px;top:-10px}.previeww__color{font-weight:400;font-size:14px;line-height:100%;display:flex;align-items:center;color:#4c8bff;margin-top:4px;cursor:pointer}.feedback_alert{background-color:#fff1e6;font-size:14px;padding:10px;width:100%;margin-top:20px}.pip__intiate__container{padding:0 20px 0 0;height:calc(100vh - 250px);overflow:auto;margin-top:1rem}.pip__initiate__details{gap:1rem;display:flex}.pip__initiate__employee__heading{color:#757575;font-weight:600;font-size:14px;line-height:18px}.pip__initiate__employee__heading span,.admin__pip__initiate__employee__heading span{font-weight:400}.pip__initiate__employee__name{color:#172b4d;font-weight:600;font-size:12px;line-height:12px}.pip__intiate__employee__container{width:max-content;padding:.3rem;border:1px solid #e8e8ea;border-radius:4px;display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.pip__initiate__details__dateheading{font-weight:600;font-size:14px;line-height:18px}.pip__initiate__body1,.pip__initiate__body2{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.pip__initiate__add__dates{color:#00f;justify-content:flex-start;font-size:14px;font-style:normal;font-weight:400}.pip__initiate__title{display:flex;align-items:center;gap:.2rem}.pip__initiate_errors{color:#f40b0b;font-size:.75rem;font-weight:400;line-height:1.66;margin:4px 14px 0 4px;text-align:left}.pip__view__details__container{width:100%;height:calc(100vh - 250px);padding:1.5rem;overflow-y:auto;padding-bottom:0}.pip__view__details__container__heading{gap:.75rem;display:flex}.pip__view__details__subheading{font-size:14px;font-weight:400;color:#615e69}.pip__view__details__status__chip{font-weight:400;font-size:14px;border-radius:4px;margin-left:.75rem;background-color:#e0b4001a!important;color:#e0b400!important;font-weight:var(--font-weight-regular)!important;font-size:12px!important;min-width:4rem}.pip__view__details__performance__plan{display:flex;margin-top:1.5rem;gap:1rem;flex-direction:column;flex-wrap:wrap}.pip__view__details__performance__plan__heading{font-weight:600;font-size:14px;color:#172b4d}.pip__view__details__history__conatiner{width:100%;margin-top:1.5rem}.pip__view__details__history{border-radius:8px;background-color:#fff}.pip__view__details__history__date{background:#4c70ff;box-shadow:0 4px 12px #00000014;border-radius:8px;color:#fff;padding:4px 12px;width:110px;text-align:center;display:flex}.pip__details__history__timelinecontent{display:flex;flex-direction:column;gap:1rem;margin-bottom:3.5rem}.pip__details__history__timelinecontent__heading{font-size:14px;font-weight:600}.pip__details__history__timelinecontent__subheading{font-size:12px;font-weight:400;color:#615e69;width:100%;text-align:left;padding:5px;margin:0}.pip__details__timeline__date__content{display:flex;flex-direction:column;gap:.3rem;align-items:center}.pip__view__details__feedback__editor{height:auto;background:#fff;border:1px solid #a5a3a9;border-radius:8px;margin-top:1.75rem;padding:4px;margin-bottom:1.5rem}.editor__bottom{display:flex;justify-content:space-between;padding:15px}.editor__bottom span{float:left;cursor:pointer}.editor__bottom span>svg{opacity:.5}.pip__view__details__footer{display:flex;justify-content:flex-end;position:sticky;gap:1.5rem;margin-top:15px}.bottom_text_pad{padding:0px 1.5rem}.editor__remarks{height:auto;background:#fff;border:1px solid #a5a3a9;border-radius:8px;margin-top:30px;padding:4px}._one__to__one__card_3bvyx_1{display:block;padding:12px;width:100%;height:78px;background:#fff;border:1px solid #ebecf0;border-radius:4px}._one__to__one__card__top_3bvyx_11{display:flex;justify-content:space-between;align-items:center}._one__to__one__icon_3bvyx_16{display:flex;flex-direction:row;align-items:flex-start;padding:4px;width:20px;height:20px;background:#f6faff;border-radius:20px;margin-right:12px}._one__to__one__icon_3bvyx_16>svg{color:#4c8bff;width:12px;height:12px}._one__to__one__card__top_3bvyx_11 h3{font-weight:600;font-size:16px;line-height:24px;display:flex;align-items:center;color:#172b4d;margin:0;padding:0;word-break:break-all}._one__to__one__card__top_3bvyx_11 h3 span{font-weight:400;font-size:14px;line-height:22px;margin-left:12px;display:flex;align-items:center;color:#fac800}._face__to__face_3bvyx_52{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:4px 8px;background:#fff;border:1px solid #ebecf0;border-radius:4px;font-weight:400;font-size:12px;line-height:16px;color:#172b4d}._one__icons__bottom_3bvyx_67{display:flex;align-items:center;margin-left:30px}._one__icons__bottom_3bvyx_67>p{margin-right:20px;display:flex;align-items:center;font-weight:400;font-size:12px;color:#615e69}._one__icons__bottom_3bvyx_67>p>span>svg{width:14px;height:14px;color:#615e69;margin-right:10px}._one__to__one__reschedule_3bvyx_86{font-weight:400;font-size:14px;line-height:18px;height:20px;align-items:center;text-align:center;letter-spacing:.1px;color:#335aff}._one__to__one__cancel_3bvyx_97{font-weight:400;font-size:14px;line-height:18px;height:20px;align-items:center;text-align:center;letter-spacing:.1px;color:red}._hoverBold_3bvyx_108{font-weight:400;cursor:pointer}._hoverBold_3bvyx_108:hover{font-weight:700!important}._templateModal__main_1buad_1{height:80vh;overflow:auto;padding:1rem;box-shadow:#80808026 0 3px 8px}._templateModal__notification_slug_1buad_8{padding:.5rem;border:1px solid #ececec;border-radius:4px}._templateModal_form_1buad_14{display:flex;flex-direction:column;gap:20px}._templateModal__slugTitle_1buad_20{color:#231f2080}
|