1"use strict";(globalThis.webpackChunkmain_bt5||=[]).push([[7491,8055],{29930(n,e,a){var i=a(82216),r=a(28797),l=a(21958);const d=(0,i.zD)("DeletedParkings/UnDoDeleteParking",async(n,e)=>{let{commandType:a,passData:i}=n;try{return(await r.A.post(`${l.uH}Parking/ParkingUndoCancelOrDelete?commandType=${a}`,i)).data.data}catch(d){return e.rejectWithValue(d.response.data)}}),c=(0,i.zD)("DeletedParkings/DestroyParking",async(n,e)=>{let{passData:a}=n;try{return(await r.A.post(`${l.uH}Parking/ParkingDestroy`,a)).data.data}catch(i){return e.rejectWithValue(i.response.data)}});(0,i.Z0)({name:"ParkingCommission",initialState:{loading:!1,error:null,UnDoDelete:null,Destroy:null},reducers:{extraReducers:n=>{n.addCase(d.pending,n=>{n.isLoading=!0,n.error=null}).addCase(d.fulfilled,(n,e)=>{n.isLoading=!1,n.UnDoDelete=e.payload}).addCase(d.rejected,(n,e)=>{n.isLoading=!1,n.error=e.error.message}).addCase(c.pending,n=>{n.isLoading=!0,n.error=null}).addCase(c.fulfilled,(n,e)=>{n.isLoading=!1,n.Destroy=e.payload}).addCase(c.rejected,(n,e)=>{n.isLoading=!1,n.error=e.error.message})}}}).reducer;a.d(e,["fO",0,c,"l6",0,d])},88055(n,e,a){a.r(e);var i=a(69223),r=a(65043),l=a(7493),d=a(72450),c=a.n(d),t=a(31395),o=a(37762),s=a(64961),p=a(70579);const g=n=>{let{grid:e,name:a}=n;const[d,g]=(0,r.useState)(!1),[f,x]=(0,r.useState)("");return(0,p.jsx)("div",{children:(0,p.jsx)("div",{children:(0,p.jsx)("div",{className:"h-screen",children:(0,p.jsxs)("div",{className:"collapse_new res_collapse_new ctop-align dsh-clp",children:[(0,p.jsxs)(l.A,{onClick:()=>{const n=document.getElementById("imgOption");n.src.match("/img/newimages/expand.png")?(n.src="/img/newimages/collapse.png",x("Options"),g(!d)):(n.src="/img/newimages/expand.png",x(""),g(!1))},className:"mb-0",children:[(0,p.jsx)("img",{id:"imgOption",src:"/img/newimages/expand.png",alt:"Options",className:"btn btn-primary collapse_new_btn"}),(0,p.jsx)("b",{children:f})]}),d&&(0,p.jsx)("div",{className:"bg-white w-52 shadow-lg absolute-left-14 top-24",children:(0,p.jsxs)("ul",{children:[(0,p.jsx)("li",{className:"text-lg cousor-pointer rounded haver:bg-blue-100"}),(0,p.jsx)("li",{className:"text-lg cousor-pointer rounded haver:bg-blue-100",children:(0,p.jsxs)(l.A,{color:"link",className:"border-0",onClick:()=>{e.current.instance.showColumnChooser()},children:[" ",(0,p.jsx)("img",{src:"/img/newimages/field-choser-icon.png",alt:"",className:"option-icon"}),"Column Chooser"]})}),(0,p.jsx)("li",{className:"text-lg cousor-pointer rounded haver:bg-blue-100",children:(0,p.jsxs)(l.A,{color:"link",className:"border-0",onClick:n=>{const r=document.getElementById("imgOption");r.src.match("/img/newimages/collapse.png")&&(r.src="/img/newimages/expand.png",g(!1));const l=e.current.instance,d=new i.Workbook,o=d.addWorksheet("Main sheet");(0,t.V)({component:l,worksheet:o,customizeCell(n){if(console.log(n.gridCell),n.excelCell&&(n.excelCell.column=n.excelCell.column||{},n.excelCell.column.width=200,n.excelCell.border={top:{style:"thin",color:{argb:"FF000000"}},left:{style:"thin",color:{argb:"FF000000"}},bottom:{style:"thin",color:{argb:"FF000000"}},right:{style:"thin",color:{argb:"FF000000"}}}),"header"===n.gridCell.rowType&&(n.excelCell.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFA9D08E"}}),"group"===n.gridCell.rowType)n.excelCell.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDDDDDD"}};else if("totalFooter"===n.gridCell.rowType)n.excelCell.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFC27BA0"}};else{n.gridCell%2===0&&(n.excelCell.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDDDDDD"}}),n.excelRow?n.excelRow.height=10:n.excelCell.fill={type:"pattern",pattern:"solid",fgColor:"FFFFFFFF"}}}}).then(()=>{d.xlsx.writeBuffer().then(n=>{c()(new Blob([n],{type:"application/octet-stream"}),`${a}.xlsx`)})}),n.cancel=!0},children:[" ",(0,p.jsx)("img",{src:"/img/newimages/excel-icon.png",alt:"",className:"option-icon"}),"Excel"]})}),(0,p.jsx)("li",{className:"text-lg cousor-pointer rounded haver:bg-blue-100",children:(0,p.jsxs)(l.A,{color:"link",className:"border-0",onClick:()=>{const n=new o.Ay("l","mm",[590,330]),i=e.current.instance;(0,s.VL)({jsPDFDocument:n,component:i,createDocumentMethod:n=>new o.Ay(n),landscape:!0,format:"a4",exportMode:"all"}).then(()=>{n.save(`${a}.pdf`),n.setFontSize(2),n.setTextColor("#cccccc")})},children:[" ",(0,p.jsx)("img",{src:"/img/newimages/pdf-icon.png",alt:" ",className:"option-icon"}),"Pdf"]})})]})})]})})})})};a.d(e,["default",0,g])},90234(n,e,a){const i=()=>{const n=localStorage.getItem("user");return null===n?(window.location.href="/auth/login",!0):JSON.parse(n)};a.d(e,["A",0,i])},77491(n,e,a){a.r(e);var i=a(65043),r=a(13966),l=a(632),d=a(26259),c=a(86178),t=a.n(c),o=a(40541),s=a(58280),p=a(63405),g=a(77619),f=a(42739),x=a(15553),m=a(78561),h=a(75139),u=a(19438),k=a(67439),b=a(30411),y=a(13424),j=a(7875),w=a(79456),v=a(41233),N=a(88055),C=a(90234),D=a(21958),A=a(19886),P=a(311),S=a(29930),O=a(70579);
1const z=[50,100,500,"all"],E=()=>{const n=(0,i.useRef)(null),e=(0,w.wA)(),a=(0,C.A)(),{companyId:c,userName:E,userId:F,roleCode:R,locationSetupId:I}=a||{},[T,M]=(0,i.useState)([]),[V,W]=(0,i.useState)([]),[L,U]=(0,i.useState)(0),[$,B]=(0,i.useState)(""),[H,G]=(0,i.useState)(t()().startOf("day").toDate()),[Y,K]=(0,i.useState)(t()().endOf("day").toDate()),[_,X]=(0,i.useState)(!1),[Z,q]=(0,i.useState)(!1),[J,Q]=(0,i.useState)(!1),[nn,en]=(0,i.useState)(""),an=n=>{en(n),Q(!0)},rn=a=>{const i=void 0===a?H:a,r=void 0===a?Y:a;if(!i||!r)return void an("Please select Start Date and End Date.");const l=t()(i).startOf("day").toDate(),d=t()(r).endOf("day").toDate(),o=l.toISOString(),s=d.toISOString();q(!0),e((0,P.P$)({commandType:"CAN",passData:{companyId:c,startDate:o,endDate:s}})).then(e=>{M(Array.isArray(null===e||void 0===e?void 0:e.payload)?e.payload:[]),W([]),U(0),B(""),n.current&&n.current.instance.clearSelection()}).catch(n=>{console.log(n),an("Unable to load Cancelled Parkings.")}).finally(()=>{q(!1)})};(0,i.useEffect)(()=>{const n=t()().startOf("day").toDate(),a=t()().endOf("day").toDate();G(n),K(a);const i=n.toISOString(),r=a.toISOString();q(!0),e((0,P.P$)({commandType:"CAN",passData:{companyId:c,startDate:i,endDate:r}})).then(n=>{M(Array.isArray(null===n||void 0===n?void 0:n.payload)?n.payload:[])}).catch(n=>{console.log(n),an("Unable to load Cancelled Parkings.")}).finally(()=>{q(!1)})},[c,e]);const ln=T.length,dn=(0,i.useMemo)(()=>T.reduce((n,e)=>n+(Number(e.size)||0),0),[T]),cn=V.length,tn=((n,e)=>{if(!n||!e)return 0;const a=t()(n).startOf("day");return t()(e).startOf("day").diff(a,"days")+1}
1)(H,Y),on=(new Date).toLocaleString("en-US",{hour12:!0}),sn=H?new Date(H).toLocaleDateString("en-US",{day:"2-digit",month:"short",year:"numeric"}):"",pn=Y?new Date(Y).toLocaleDateString("en-US",{day:"2-digit",month:"short",year:"numeric"}):"";return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(N.default,{grid:n,name:`Cancelled Parkings_${sn}_to_${pn} ${on}`}),(0,O.jsxs)("div",{className:"cancelled-parking-page",children:[(0,O.jsxs)("div",{className:"cancelled-parking-header",children:[(0,O.jsxs)("div",{className:"cancelled-parking-heading",children:[(0,O.jsx)("div",{className:"cancelled-parking-heading-icon",children:(0,O.jsx)(y.A,{size:22})}),(0,O.jsxs)("div",{children:[(0,O.jsx)("h3",{children:"Cancelled Parkings"}),(0,O.jsx)("p",{children:"Review cancelled parking records and restore selected parking permits when required."})]})]}),(0,O.jsxs)("div",{className:"cancelled-parking-header-summary",children:[(0,O.jsxs)("div",{className:"cancelled-parking-header-stat",children:[(0,O.jsx)(x.A,{size:13}),(0,O.jsx)("span",{children:"Parties"}),(0,O.jsx)("strong",{children:ln})]}),(0,O.jsxs)("div",{className:"cancelled-parking-header-stat",children:[(0,O.jsx)(b.A,{size:13}),(0,O.jsx)("span",{children:"Size"}),(0,O.jsx)("strong",{children:dn})]}),(0,O.jsxs)("div",{className:"cancelled-parking-header-stat",children:[(0,O.jsx)(g.A,{size:13}),(0,O.jsx)("span",{children:"Selected"}),(0,O.jsx)("strong",{children:cn})]})]})]}),(0,O.jsxs)("div",{className:"cancelled-parking-section",children:[(0,O.jsxs)("div",{className:"cancelled-parking-section-header",children:[(0,O.jsxs)("div",{className:"cancelled-parking-section-title",children:[(0,O.jsx)("div",{className:"cancelled-parking-section-icon",children:(0,O.jsx)(p.A,{size:16})}),(0,O.jsxs)("div",{children:[(0,O.jsx)("h5",{children:"Search By Dates"}),(0,O.jsx)("span",{children:"Select the cancelled parking date range."})]})]}),(0,O.jsxs)("div",{className:"cancelled-parking-date-badge",children:[(0,O.jsx)(p.A,{size:12}),sn||"-",(0,O.jsx)(o.A,{size:11}),pn||"-"]})]}),(0,O.jsx)("div",{className:"cancelled-parking-section-body",children:(0,O.jsxs)("div",{className:"cancelled-parking-search-grid",children:[(0,O.jsxs)("div",{className:"cancelled-parking-field",children:[(0,O.jsx)("div",{className:"cancelled-parking-field-label",children:"Start Date"}),(0,O.jsx)(r.Iy,{type:"date",displayFormat:"EEEE, MMM dd, yyyy",value:H,showClearButton:!0,openOnFieldClick:!0,applyValueMode:"instantly",className:"cancelled-parking-input",onValueChanged:n=>{const{value:e}=n;if(!e)return void G(null);const a=t()(e).startOf("day").toDate();G(a),(!Y||a>Y)&&K(t()(e).endOf("day").toDate())}})]}),(0,O.jsxs)("div",{className:"cancelled-parking-field",children:[(0,O.jsx)("div",{className:"cancelled-parking-field-label",children:"End Date"}),(0,O.jsx)(r.Iy,{type:"date",displayFormat:"EEEE, MMM dd, yyyy",value:Y,min:H,showClearButton:!0,openOnFieldClick:!0,applyValueMode:"instantly",className:"cancelled-parking-input",onValueChanged:n=>{const{value:e}=n;if(!e)return void K(null);const a=t()(e).endOf("day").toDate();if(H&&a<H)return K(t()(H).endOf("day").toDate()),void an("End Date cannot be less than Start Date.");K(a)}})]}),(0,O.jsxs)("div",{className:"cancelled-parking-field",children:[(0,O.jsx)("div",{className:"cancelled-parking-field-label",children:"Duration"}),(0,O.jsx)(r.fI,{value:`${tn} ${1===tn?"day":"days"}`,readOnly:!0,className:"cancelled-parking-input cancelled-parking-duration"})]}),(0,O.jsxs)("div",{className:"cancelled-parking-search-actions",children:[(0,O.jsxs)(d.A,{type:"button",className:"cancelled-parking-reset-btn",onClick:()=>{const n=new Date,e=t()(n).startOf("day").toDate(),a=t()(n).endOf("day").toDate();G(e),K(a),rn(n)},children:[(0,O.jsx)(u.A,{size:14}),"Reset"]}),(0,O.jsxs)(d.A,{type:"button",className:"cancelled-parking-search-btn",onClick:()=>{rn()},children:[(0,O.jsx)(k.A,{size:14}),"Search"]})]})]})})]}),(0,O.jsxs)("div",{className:"cancelled-parking-section",children:[(0,O.jsxs)("div",{className:"cancelled-parking-section-header",children:[(0,O.jsxs)("div",{className:"cancelled-parking-section-title",children:[(0,O.jsx)("div",{className:"cancelled-parking-section-icon",children:(0,O.jsx)(s.A,{size:16})}),(0,O.jsxs)("div",{children:[(0,O.jsx)("h5",{children:"Cancelled Parking Summary"}),(0,O.jsx)("span",{children:"Review selected records before restoring them."})]})]}),(0,O.jsxs)("div",{className:"cancelled-parking-actions",children:[(0,O.jsxs)(d.A,{type:"button",className:"cancelled-parking-filter-btn",onClick:()=>{n.current&&n.current.instance.clearFilter()},children:[(0,O.jsx)(m.A,{size:14}),"Clear Filters"]}),(0,O.jsxs)(d.A,{type:"button",className:"cancelled-parking-undo-btn",disabled:0===cn,onClick:()=>{const n=V.map(n=>n.parkingPermitId).filter(n=>null!==n&&void 0!==n);if(0===n.length)return void an("Please select at least one record.");const e=`${n.join(",")},`;B(e),X(!0)},children:[(0,O.jsx)(u.A,{size:14}),"Undo Cancel"]})]})]}),(0,O.jsx)("div",{className:"cancelled-parking-section-body",children:(0,O.jsxs)("div",{className:"cancelled-parking-summary-grid",children:[(0,O.jsxs)("div",{className:"cancelled-parking-summary-card",children:[(0,O.jsx)("div",{className:"cancelled-parking-summary-icon",children:(0,O.jsx)(g.A,{size:16})}),(0,O.jsxs)("div",{children:[(0,O.jsx)("span",{children:"Selected Parties"}),(0,O.jsx)("strong",{children:cn})]})]}),(0,O.jsxs)("div",{className:"cancelled-parking-summary-card",children:[(0,O.jsx)("div",{className:"cancelled-parking-summary-icon",children:(0,O.jsx)(b.A,{size:16})}),(0,O.jsxs)("div",{children:[(0,O.jsx)("span",{children:"Selected Size"}),(0,O.jsx)("strong",{children:L})]})]}),(0,O.jsxs)("div",{className:"cancelled-parking-summary-card",children:[(0,O.jsx)("div",{className:"cancelled-parking-summary-icon",children:(0,O.jsx)(x.A,{size:16})}),(0,O.jsxs)("div",{children:[(0,O.jsx)("span",{children:"Total Parties"}),(0,O.jsx)("strong",{children:ln})]})]}),(0,O.jsxs)("div",{className:"cancelled-parking-summary-card important",children:[(0,O.jsx)("div",{className:"cancelled-parking-summary-icon",children:(0,O.jsx)(b.A,{size:16})}),(0,O.jsxs)("div",{children:[(0,O.jsx)("span",{children:"Total Size"}),(0,O.jsx)("strong",{children:dn})]})]})]})})]}),(0,O.jsxs)("div",{className:"cancelled-parking-section",children:[(0,O.jsxs)("div",{className:"cancelled-parking-section-header",children:[(0,O.jsxs)("div",{className:"cancelled-parking-section-title",children:[(0,O.jsx)("div",{className:"cancelled-parking-section-icon",children:(0,O.jsx)(h.A,{size:16})}),(0,O.jsxs)("div",{children:[(0,O.jsx)("h5",{children:"Cancelled Parking Records"}),(0,O.jsx)("span",{children:"Select one or more parking records to restore."})]})]}),(0,O.jsxs)("div",{className:"cancelled-parking-selected-badge",children:[(0,O.jsx)(g.A,{size:12}),cn," ","Selected"]})]}),(0,O.jsx)("div",{className:"cancelled-parking-grid-wrapper",children:(0,O.jsxs)(l.Ay,{id:"CancelledParkingGrid",ref:n,dataSource:T,showBorders:!0,showRowLines:!0,showColumnLines:!1,hoverStateEnabled:!0,remoteOperations:!1,allowColumnResizing:!0,columnResizingMode:"widget",columnAutoWidth:!0,allowColumnReordering:!0,columnHidingEnabled:!1,onSelectionChanged:n=>{const e=Array.isArray(null===n||void 0===n?void 0:n.selectedRowsData)?n.selectedRowsData:[];W(e);const a=e.reduce((n,e)=>n+(Number(e.size)||0),0);
1U(a)},loadPanel:{enabled:!1},className:"cancelled-parking-grid",children:[(0,O.jsx)(l.i8,{enabled:!0}),(0,O.jsx)(l.uh,{visible:!0}),(0,O.jsx)(l.aU,{contextMenuEnabled:!0}),(0,O.jsx)(l.LN,{mode:"multiple",selectAllMode:"page",showCheckBoxesMode:"always"}),(0,O.jsx)(l.cl,{mode:"standard",rowRenderingMode:"standard",useNative:!0}),(0,O.jsx)(l.XD,{visible:!0,showClearButton:!0}),(0,O.jsx)(l.lK,{defaultPageSize:100}),(0,O.jsx)(l.is,{allowedPageSizes:z,showPageSizeSelector:!0,showInfo:!0,visible:!0,displayMode:"compact"}),(0,O.jsx)(l.VP,{dataField:"parkingPermitId",caption:"ID",visible:!1}),(0,O.jsx)(l.VP,{dataField:"barcode",caption:"PERMIT NUMBER",width:140,minWidth:130,cellRender:n=>{let{data:e}=n;const{commonId:a,barcode:i}=e,r=`${D.pp}MultiTripSummery/${a}/parkres/No/${c}/${E}/${F}/${I}/${R}`;return(0,O.jsx)("a",{href:r,className:"cancelled-parking-code-link",target:"_blank",rel:"noopener noreferrer",children:i})}}),(0,O.jsx)(l.VP,{dataField:"parkingTypeName",caption:"PARKING TYPE",width:130,minWidth:120}),(0,O.jsx)(l.VP,{dataField:"activity",caption:"ACTIVITY",width:110,minWidth:100,cellRender:n=>{let{data:e}=n;const{activity:a=""}=e;return(0,O.jsxs)("span",{className:"cancelled-parking-activity",children:[(0,O.jsx)("span",{}),a]})}}),(0,O.jsx)(l.VP,{dataField:"folioNo",caption:"FOLIO NO",width:105,minWidth:95}),(0,O.jsx)(l.VP,{dataField:"fromDate",caption:"FROM DATE",dataType:"datetime",format:"MM/dd/yyyy h:mm a",width:150,minWidth:140}),(0,O.jsx)(l.VP,{dataField:"toDate",caption:"TO DATE",dataType:"datetime",format:"MM/dd/yyyy h:mm a",width:150,minWidth:140}),(0,O.jsx)(l.VP,{dataField:"createdDate",caption:"COLLECTED DATE",dataType:"datetime",format:"MM/dd/yyyy h:mm a",width:155,minWidth:145}),(0,O.jsx)(l.VP,{dataField:"tDays",caption:"PARKING DAYS",alignment:"center",width:115,minWidth:110}),(0,O.jsx)(l.VP,{dataField:"tHours",caption:"PARKING HOURS",alignment:"center",width:120,minWidth:115}),(0,O.jsx)(l.VP,{dataField:"lastName",caption:"PARTY",width:135,minWidth:120}),(0,O.jsx)(l.VP,{dataField:"size",caption:"PARTY SIZE",alignment:"center",width:95,minWidth:90}),(0,O.jsx)(l.VP,{dataField:"email",caption:"EMAIL",width:180,minWidth:155}),(0,O.jsx)(l.VP,{dataField:"phone",caption:"PHONE",width:130,minWidth:115,cellRender:n=>{let{data:e}=n;const{phone:a=""}=e;return(0,O.jsx)("span",{className:"cancelled-parking-phone",children:a})}}),(0,O.jsx)(l.VP,{dataField:"make",caption:"MAKE",width:105,minWidth:95}),(0,O.jsx)(l.VP,{dataField:"model",caption:"MODEL",width:105,minWidth:95}),(0,O.jsx)(l.VP,{dataField:"color",caption:"COLOR",width:100,minWidth:90}),(0,O.jsx)(l.VP,{dataField:"tagNumber",caption:"TAG #",width:100,minWidth:90}),(0,O.jsx)(l.VP,{dataField:"keyTagNumber",caption:"KEY TAG #",width:105,minWidth:100}),(0,O.jsx)(l.VP,{dataField:"locationName",caption:"PARKING LOCATION",width:155,minWidth:145}),(0,O.jsx)(l.VP,{dataField:"parkingSpaceNo",caption:"PARKING SPACE",width:125,minWidth:120}),(0,O.jsx)(l.VP,{dataField:"notes",caption:"CUSTOMER NOTES",width:180,minWidth:155}),(0,O.jsx)(l.VP,{dataField:"internalNotes",caption:"INTERNAL NOTES",width:180,minWidth:155}),(0,O.jsx)(l.VP,{dataField:"modifiedBy",caption:"COLLECTED BY",width:125,minWidth:115})]})})]})]}),(0,O.jsx)(r.zD,{id:"UndoCancelConfirmPopup",visible:_,onHiding:()=>X(!1),width:"min(430px, 92vw)",height:"auto",dragEnabled:!1,resizeEnabled:!1,position:"center",title:"Undo Cancel",showCloseButton:!0,wrapperAttr:{className:"cancelled-parking-popup"},children:(0,O.jsxs)("div",{className:"cancelled-parking-popup-content",children:[(0,O.jsx)("div",{className:"cancelled-parking-popup-icon",children:(0,O.jsx)(u.A,{size:24})}),(0,O.jsx)("h5",{children:"Restore selected parking record(s)?"}),(0,O.jsxs)("p",{children:["You are about to un-cancel"," ",(0,O.jsx)("strong",{children:cn})," ",1===cn?"record":"records","."]}),(0,O.jsx)("div",{className:"cancelled-parking-popup-note",children:"The selected parking record(s) will be restored to active parking status."}),(0,O.jsxs)("div",{className:"cancelled-parking-popup-actions",children:[(0,O.jsxs)(d.A,{type:"button",className:"cancelled-parking-popup-cancel-btn",onClick:()=>X(!1),children:[(0,O.jsx)(j.A,{size:14}),"Cancel"]}),(0,O.jsxs)(d.A,{type:"button",className:"cancelled-parking-popup-confirm-btn",onClick:()=>(n=>{if(!$)return an("Please select at least one record."),void X(!1);const a="Yes"===n?"PARKWITHRES":"PARKING";q(!0),e((0,S.l6)({commandType:a,passData:{parkingIds:$,status:1,companyId:c,userName:E}})).then(()=>{X(!1),an("Record Un-Cancelled successfully."),rn()}).catch(n=>{console.log(n),an("Unable to Un-Cancel selected record(s).")}).finally(()=>{q(!1)})})("Yes"),children:[(0,O.jsx)(f.A,{size:14}),"Restore"]})]})]})}),(0,O.jsx)(v.A,{showPopup:J,onHiding:()=>Q(!1),labelMessage:nn}),(0,O.jsx)(A.A,{isVisible:Z}),(0,O.jsx)("style",{children:'\n\n /* =====================================================\n PAGE\n ====================================================== */\n\n .cancelled-parking-page {\n overflow: hidden;\n margin-bottom: 25px;\n color: #293b47;\n background: #ffffff;\n border: 1px solid #dce3e8;\n border-radius: 10px;\n box-shadow:\n 0 1px 2px rgba(16,24,40,.025),\n 0 4px 10px rgba(16,24,40,.035);\n font-family:\n "Segoe UI",\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Arial,\n sans-serif;\n }\n\n\n /* =====================================================\n HEADER\n ====================================================== */\n\n .cancelled-parking-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 14px;\n padding: 14px 16px;\n background: linear-gradient(105deg, #1565c0 0%, #00897b 55%, #43a047 100%);\n border-bottom: 1px solid rgba(0,0,0,.08);\n }\n\n\n .cancelled-parking-heading {\n display: flex;\n align-items: center;\n gap: 10px;\n }\n\n\n .cancelled-parking-heading-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 42px;\n height: 42px;\n flex-shrink: 0;\n color: #ffffff;\n background: rgba(255,255,255,.14);\n border: 1px solid rgba(255,255,255,.17);\n border-radius: 7px;\n }\n\n\n .cancelled-parking-heading h3 {\n margin: 0;\n color: #ffffff;\n font-size: 19px;\n font-weight: 700;\n }\n\n\n .cancelled-parking-heading p {\n margin: 3px 0 0;\n color: #e4ebef;\n font-size: 12px;\n }\n\n\n .cancelled-parking-header-summary {\n display: flex;\n align-items: center;\n gap: 7px;\n flex-wrap: wrap;\n justify-content: flex-end;\n }\n\n\n .cancelled-parking-header-stat {\n display: flex;\n align-items: center;\n gap: 5px;\n padding: 6px 9px;\n color: #ffffff;\n background: rgba(255,255,255,.13);\n border: 1px solid rgba(255,255,255,.18);\n border-radius: 15px;\n font-size: 11px;\n }\n\n\n .cancelled-parking-header-stat strong {\n font-size: 12px;\n font-weight: 700;\n }\n\n\n /* =====================================================\n SECTION\n ====================================================== */\n\n .cancelled-parking-section {\n overflow: hidden;\n margin: 11px 12px;\n background: #ffffff;\n border: 1px solid #dce3e8;\n border-radius: 8px;\n }\n\n\n .cancelled-parking-section-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n padding: 8px 10px;\n background: linear-gradient(90deg, #f1f8ff 0%, #eefaf7 100%);\n border-bottom: 1px solid #d7e8e5;\n }\n\n\n .cancelled-parking-section-title {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n }\n\n\n .cancelled-parking-section-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 33px;\n height: 33px;\n flex-shrink: 0;\n color: #087f89;\n background: #e3f5f3;\n border-radius: 6px;\n }\n\n\n .cancelled-parking-section-title h5 {\n margin: 0;\n color: #364b58;\n font-size: 14px;\n font-weight: 700;\n }\n\n\n .cancelled-parking-section-title span {\n display: block;
1\n margin-top: 1px;\n color: #83909a;\n font-size: 10.5px;\n }\n\n\n .cancelled-parking-section-body {\n padding: 10px;\n }\n\n\n /* =====================================================\n SEARCH\n ====================================================== */\n\n .cancelled-parking-search-grid {\n display: grid;\n grid-template-columns:\n minmax(0,1fr)\n minmax(0,1fr)\n 145px\n auto;\n gap: 10px;\n align-items: end;\n }\n\n\n .cancelled-parking-field-label {\n margin-bottom: 5px;\n color: #364b58;\n font-size: 12.5px;\n font-weight: 650;\n }\n\n\n .cancelled-parking-input {\n background: #ffffff;\n border: 1px solid #d3dce4;\n border-radius: 6px;\n }\n\n\n .cancelled-parking-input\n .dx-texteditor-input {\n min-height: 39px;\n color: #293b47 !important;\n font-size: 13px !important;\n }\n\n\n .cancelled-parking-duration\n .dx-texteditor-input {\n text-align: center;\n font-weight: 650;\n }\n\n\n .cancelled-parking-search-actions {\n display: flex;\n gap: 7px;\n }\n\n\n .cancelled-parking-reset-btn,\n .cancelled-parking-search-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n height: 39px;\n padding: 0 12px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 650;\n }\n\n\n .cancelled-parking-reset-btn {\n color: #586b78;\n background: #ffffff;\n border: 1px solid #d3dce3;\n }\n\n\n .cancelled-parking-search-btn {\n color: #ffffff;\n background: linear-gradient(100deg, #1565c0, #00897b);\n border: 1px solid #087f87;\n }\n\n\n .cancelled-parking-date-badge,\n .cancelled-parking-selected-badge {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 5px 8px;\n color: #5a7180;\n background: #edf3f6;\n border: 1px solid #d7e2e8;\n border-radius: 14px;\n font-size: 10.5px;\n font-weight: 650;\n white-space: nowrap;\n }\n\n\n /* =====================================================\n ACTIONS\n ====================================================== */\n\n .cancelled-parking-actions {\n display: flex;\n align-items: center;\n gap: 6px;\n }\n\n\n .cancelled-parking-filter-btn,\n .cancelled-parking-undo-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 5px;\n height: 32px;\n padding: 0 9px;\n border-radius: 6px;\n font-size: 10.5px;\n font-weight: 650;\n }\n\n\n .cancelled-parking-filter-btn {\n color: #596d79;\n background: #ffffff;\n border: 1px solid #d2dce3;\n }\n\n\n .cancelled-parking-undo-btn {\n color: #ffffff;\n background: linear-gradient(100deg, #00897b, #43a047);\n border: 1px solid #168b6a;\n }\n\n\n .cancelled-parking-undo-btn:disabled {\n opacity: .48;\n cursor: not-allowed;\n }\n\n\n /* =====================================================\n SUMMARY\n ====================================================== */\n\n .cancelled-parking-summary-grid {\n display: grid;\n grid-template-columns:\n repeat(4,minmax(0,1fr));\n gap: 7px;\n }\n\n\n .cancelled-parking-summary-card {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n padding: 9px;\n background: #f8fafb;\n border: 1px solid #dce3e8;\n border-radius: 7px;\n }\n\n\n .cancelled-parking-summary-card.important {\n background: #edf3f6;\n border-color: #cfdde5;\n }\n\n\n .cancelled-parking-summary-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n flex-shrink: 0;\n color: #58748a;\n background: #e7eef2;\n border-radius: 6px;\n }\n\n\n .cancelled-parking-summary-card span {\n display: block;\n color: #82909a;\n font-size: 9.5px;\n }\n\n\n .cancelled-parking-summary-card strong {\n display: block;\n margin-top: 2px;\n color: #3d5360;\n font-size: 13px;\n font-weight: 700;\n }\n\n\n /* =====================================================\n GRID\n ====================================================== */\n\n .cancelled-parking-grid-wrapper {\n padding: 7px;\n overflow-x: auto;\n }\n\n\n .cancelled-parking-grid {\n font-size: 12px;\n }\n\n\n .cancelled-parking-grid\n .dx-datagrid-headers {\n color: #455765;\n background: #f4f7f9;\n font-size: 11.5px;\n font-weight: 700;\n }\n\n\n .cancelled-parking-grid\n .dx-header-row > td {\n padding-top: 8px;\n padding-bottom: 8px;\n }\n\n\n .cancelled-parking-grid\n .dx-data-row > td {\n padding-top: 7px;\n padding-bottom: 7px;\n color: #445864;\n font-size: 11.8px;\n }\n\n\n .cancelled-parking-grid\n .dx-selection > td {\n background: #edf4f7 !important;\n }\n\n\n .cancelled-parking-grid\n .dx-filter-row\n .dx-texteditor-input {\n min-height: 32px;\n font-size: 11.5px !important;\n }\n\n\n .cancelled-parking-grid\n .dx-group-panel {\n margin-bottom: 5px;\n padding: 5px 7px;\n background: #fafbfc;\n border: 1px dashed #d6dfe5;\n border-radius: 6px;\n }\n\n\n .cancelled-parking-code-link {\n color: #35698c;\n font-weight: 650;\n text-decoration: none;\n }\n\n\n .cancelled-parking-code-link:hover {\n text-decoration: underline;\n }\n\n\n .cancelled-parking-phone {\n color: #397451;\n font-weight: 650;\n }\n\n\n .cancelled-parking-activity {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 4px 7px;\n color: #955151;\n background: #faeeee;\n border: 1px solid #ecd0d0;\n border-radius: 12px;\n font-size: 9.5px;\n font-weight: 700;\n white-space: nowrap;\n }\n\n\n .cancelled-parking-activity > span {\n width: 6px;\n height: 6px;\n background: currentColor;\n border-radius: 50%;\n }\n\n\n /* =====================================================\n POPUP\n ====================================================== */\n\n .cancelled-parking-popup\n .dx-overlay-content {\n overflow: hidden;\n background: #ffffff;\n border: 1px solid #d9e1e7;\n border-radius: 10px;\n box-shadow:\n 0 15px 40px rgba(24,39,52,.18);\n }\n\n\n .cancelled-parking-popup\n .dx-popup-title {\n color: #ffffff;\n background: linear-gradient(105deg, #1565c0 0%, #00897b 55%, #43a047 100%);\n border-bottom: 1px solid rgba(0,0,0,.08);\n }\n\n\n .cancelled-parking-popup\n .dx-popup-title\n .dx-toolbar-label {\n color: #ffffff;\n font-size: 14px;\n font-weight: 700;\n }\n\n\n .cancelled-parking-popup\n .dx-closebutton\n .dx-icon {\n color: #ffffff;\n }\n\n\n .cancelled-parking-popup-content {\n text-align: center;\n padding: 4px;\n }\n\n\n .cancelled-parking-popup-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n height: 50px;\n margin: 2px auto 10px;\n color: #58748a;\n background: #e9f0f4;\n border-radius: 50%;\n }\n\n\n .cancelled-parking-popup-content h5 {\n margin: 0;\n color: #40535f;\n font-size: 14px;\n font-weight: 700;\n }\n\n\n .cancelled-parking-popup-content p {\n margin: 6px 0 0;\n color: #75838c;\n font-size: 11.5px;\n line-height: 1.5;\n }\n\n\n .cancelled-parking-popup-note {\n margin-top: 12px;\n padding: 8px 9px;\n color: #677985;\n background: #f6f8fa;\n border: 1px solid #e1e6e9;\n border-radius: 6px;\n font-size: 10.5px;\n }\n\n\n .cancelled-parking-popup-actions {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 7px;\n margin-top: 14px;\n }\n\n\n .cancelled-parking-popup-cancel-btn,\n .cancelled-parking-popup-confirm-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 5px;\n min-width: 100px;\n height: 37px;\n border-radius: 6px;\n font-size: 11px;\n font-weight: 650;\n }\n\n\n .cancelled-parking-popup-cancel-btn {\n color: #596b78;\n background: #ffffff;\n border: 1px solid #d3dce3;\n }\n\n\n .cancelled-parking-popup-confirm-btn {\n color: #ffffff;\n background: linear-gradient(100deg, #1565c0, #00897b);\n border: 1px solid #087f87;\n }\n\n\n /* =====================================================\n DEVEXTREME\n ====================================================== */\n\n .cancelled-parking-page\n .dx-widget,\n .cancelled-parking-popup\n .dx-widget {\n font-family:\n "Segoe UI",\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Arial,\n sans-serif;\n }\n\n\n /* =====================================================\n COLORFUL PROFESSIONAL OVERRIDES\n ====================================================== */\n\n .cancelled-parking-heading p {\n color: rgba(255,255,255,.86);\n }\n\n .cancelled-parking-section {\n box-shadow: 0 2px 9px rgba(34,73,92,.04);\n }\n\n .cancelled-parking-search-btn:hover {\n color: #ffffff;\n background: linear-gradient(100deg, #0d57aa, #00766c);\n border-color: #00766c;\n }\n\n .cancelled-parking-undo-btn:hover:not(:disabled) {\n color: #ffffff;\n background: linear-gradient(100deg, #00796b, #37933f);\n border-color: #18805f;\n }\n\n .cancelled-parking-filter-btn:hover,\n .cancelled-parking-reset-btn:hover {\n color: #087f78;\n background: #f0faf8;\n border-color: #bcded7;\n }\n\n .cancelled-parking-date-badge,\n .cancelled-parking-selected-badge {\n color: #087f78;\n background: #edf9f6;\n border-color: #c9e5df;\n }\n\n .cancelled-parking-summary-card {\n background: linear-gradient(135deg, #ffffff 0%, #f8fbfb 100%);\n border-color: #d8e7e4;\n }\n\n .cancelled-parking-summary-card:nth-child(1) .cancelled-parking-summary-icon {\n color: #1565c0;\n background: #eaf4ff;\n }\n\n .cancelled-parking-summary-card:nth-child(2) .cancelled-parking-summary-icon {\n color: #087f78;\n background: #e6f7f3;\n }\n\n .cancelled-parking-summary-card:nth-child(3) .cancelled-parking-summary-icon {\n color: #7b4bb7;\n background: #f2ebfb;\n }\n\n .cancelled-parking-summary-card.important {\n background: linear-gradient(135deg, #edf9f3 0%, #f8fcfa 100%);\n border-color: #c8e8d6;\n }\n\n .cancelled-parking-summary-card.important .cancelled-parking-summary-icon {\n color: #ffffff;\n background: linear-gradient(135deg, #1565c0, #20a77a);\n }\n\n .cancelled-parking-summary-card.important strong {\n color: #116948;\n }\n\n .cancelled-parking-grid .dx-datagrid-headers {\n color: #244a62;\n background: #edf7fb;\n border-top: 2px solid #1594a3;\n }\n\n .cancelled-parking-grid .dx-datagrid-headers .dx-datagrid-text-content {\n white-space: nowrap;\n overflow: visible;\n text-overflow: clip;\n }\n\n .cancelled-parking-grid .dx-data-row.dx-state-hover > td,\n .cancelled-parking-grid .dx-data-row:hover > td {\n background: #f0faf9 !important;\n }\n\n .cancelled-parking-grid .dx-selection > td {\n background: #eaf6f5 !important;\n }\n\n .cancelled-parking-grid .dx-group-panel {\n background: linear-gradient(90deg, #f1f8ff, #eefaf7);\n border-color: #bcded7;\n }\n\n .cancelled-parking-code-link {\n color: #1565c0;\n }\n\n .cancelled-parking-phone {\n color: #087f78;\n }\n\n .cancelled-parking-popup-icon {\n color: #ffffff;\n background: linear-gradient(135deg, #1565c0, #20a77a);\n }\n\n .cancelled-parking-popup-note {\n color: #526c76;\n background: linear-gradient(90deg, #f2f8ff, #f0faf7);\n border-color: #d5e7e3;\n }\n\n .cancelled-parking-popup-confirm-btn:hover {\n color: #ffffff;\n background: linear-gradient(100deg, #0d57aa, #00766c);\n border-color: #00766c;\n }\n\n /* =====================================================\n RESPONSIVE\n ====================================================== */\n\n @media (max-width: 1199px) {\n\n .cancelled-parking-search-grid {\n grid-template-columns:\n repeat(2,minmax(0,1fr));\n }\n\n\n .cancelled-parking-section-header {\n align-items: flex-start;\n flex-direction: column;\n }\n\n }\n\n\n @media (max-width: 991px) {\n\n .cancelled-parking-header {\n align-items: flex-start;\n flex-direction: column;\n }\n\n\n .cancelled-parking-header-summary {\n width: 100%;\n justify-content: flex-start;\n }\n\n\n .cancelled-parking-summary-grid {\n grid-template-columns:\n repeat(2,minmax(0,1fr));\n }\n\n }\n\n\n @media (max-width: 767px) {\n\n .cancelled-parking-search-grid {\n grid-template-columns: 1fr;\n }\n\n\n .cancelled-parking-search-actions {\n width: 100%;\n }\n\n\n .cancelled-parking-reset-btn,\n .cancelled-parking-search-btn {\n flex: 1;\n }\n\n\n .cancelled-parking-date-badge {\n display: none;\n }\n\n\n .cancelled-parking-actions {\n width: 100%;\n }\n\n\n .cancelled-parking-filter-btn,\n .cancelled-parking-undo-btn {\n flex: 1;\n }\n\n\n .cancelled-parking-popup-actions {\n flex-direction: column-reverse;\n }\n\n\n .cancelled-parking-popup-cancel-btn,\n .cancelled-parking-popup-confirm-btn {\n width: 100%;\n }\n\n }\n\n\n
1 @media (max-width: 520px) {\n\n .cancelled-parking-summary-grid {\n grid-template-columns: 1fr;\n }\n\n }\n\n '})]})};a.d(e,["default",0,E])},42739(n,e,a){var i=a(65043),r=a(65173),l=a.n(r);function d(){return d=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])}return n},d.apply(this,arguments)}function c(n,e){if(null==n)return{};var a,i,r=function(n,e){if(null==n)return{};var a,i,r={},l=Object.keys(n);for(i=0;i<l.length;i++)a=l[i],e.indexOf(a)>=0||(r[a]=n[a]);return r}(n,e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);for(i=0;i<l.length;i++)a=l[i],e.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(n,a)&&(r[a]=n[a])}return r}var t=(0,i.forwardRef)(function(n,e){var a=n.color,r=void 0===a?"currentColor":a,l=n.size,t=void 0===l?24:l,o=c(n,["color","size"]);return i.createElement("svg",d({ref:e,xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},o),i.createElement("polyline",{points:"20 6 9 17 4 12"}))});t.propTypes={color:l().string,size:l().oneOfType([l().string,l().number])},t.displayName="Check";const o=t;a.d(e,["A",0,o])},13424(n,e,a){var i=a(65043),r=a(65173),l=a.n(r);function d(){return d=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])}return n},d.apply(this,arguments)}function c(n,e){if(null==n)return{};var a,i,r=function(n,e){if(null==n)return{};var a,i,r={},l=Object.keys(n);for(i=0;i<l.length;i++)a=l[i],e.indexOf(a)>=0||(r[a]=n[a]);return r}(n,e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);for(i=0;i<l.length;i++)a=l[i],e.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(n,a)&&(r[a]=n[a])}return r}var t=(0,i.forwardRef)(function(n,e){var a=n.color,r=void 0===a?"currentColor":a,l=n.size,t=void 0===l?24:l,o=c(n,["color","size"]);return i.createElement("svg",d({ref:e,xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},o),i.createElement("circle",{cx:"12",cy:"12",r:"10"}),i.createElement("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),i.createElement("line",{x1:"9",y1:"9",x2:"15",y2:"15"}))});t.propTypes={color:l().string,size:l().oneOfType([l().string,l().number])},t.displayName="XCircle";const o=t;a.d(e,["A",0,o])}}]); 2//# sourceMappingURL=7491.7d95be9f.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.