updates on the build

This commit is contained in:
2026-07-08 18:53:29 +05:30
parent 8fb111a3f1
commit 8616e973fe
82 changed files with 824 additions and 299 deletions

1
dist/assets/Banner-DVJsik2E.js vendored Normal file
View File

@@ -0,0 +1 @@
import{r as j,j as s,n as i,s as r,v as u,B as v,t as p,a2 as X,a3 as J}from"./index-TNj5auBr.js";const M={info:"info",warning:"warning",error:"error",success:"success"},P={info:"status",warning:"alert",error:"alert",success:"status"},T={info:"accent",warning:"warning",error:"error",success:"success"},n={root:{k1xSpc:"x78zum5",kXwgrk:"xdt5ytf",kMv6JI:"xjb2p0i",$$css:!0},header:{k1xSpc:"x78zum5",kGNEyG:"x1cy8zhl",kOIVth:"x1txdalj",k8WAf4:"x8o8v82",kg3NbH:"x1pzlopt",$$css:!0},headerCardStandalone:{kaIpWk:"x1hviunn",$$css:!0},headerCardWithContent:{kIxVMA:"x14k9mlb",ksF3WI:"xn9rnvb",kqGeR4:"xfrllxf",kYm2EN:"xjppbhk",$$css:!0},headerCentered:{kGNEyG:"x6s0dn4",$$css:!0},endArea:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kOIVth:"x1txdalj",kmuXW:"x2lah0s",keTefX:"xvc5jky",kqGvvJ:"x81ka23",$$css:!0}},F={info:{kWkggS:"xgcxg3y",$$css:!0},warning:{kWkggS:"x24i8r5",$$css:!0},error:{kWkggS:"x1pritpl",$$css:!0},success:{kWkggS:"xu13z74",$$css:!0}};function H({status:e,title:f,description:a,icon:h,isDismissable:c=!1,onDismiss:t,endContent:o,container:l="card",defaultIsExpanded:w=!1,children:k,xstyle:z,className:$,style:y,ref:C,...N}){const[I,S]=j.useState(!1),[x,b]=j.useState(w),E=M[e],q=P[e],W=T[e],d=k!=null;if(I)return null;const G=()=>{S(!0),t==null||t()},A=()=>{b(R=>!R)},B=o!=null||c||d,O=o!=null||c,V=a==null&&O,g=d&&x,m=l==="card";return s.jsxs("div",{ref:C,role:q,...r(p(n.root,z),$,y),...N,children:[s.jsxs("div",{...r(u("banner",{container:l,status:e}),p(n.header,V&&n.headerCentered,F[e],m&&(g?n.headerCardWithContent:n.headerCardStandalone))),children:[s.jsx("div",{...r(u("banner-icon",{status:e}),{className:"x78zum5 x6s0dn4 x2lah0s"}),"aria-hidden":"true",children:h??s.jsx(i,{icon:E,size:"md",color:W})}),s.jsxs("div",{className:"x78zum5 xdt5ytf xxhr3t x98rzlu xeuugli",children:[s.jsx("div",{className:"x1ghz6dp xjb2p0i xcr08ib x2mo6ok x1kq96og x1tgivj0",children:f}),a!=null&&s.jsx("div",{className:"x1ghz6dp xjb2p0i x141an7d x1sodnla x1ltkj2j xv1l7n4",children:a})]}),B&&s.jsxs("div",{...p(n.endArea,X.inset(J["--spacing-2"])),children:[o,d&&s.jsx(v,{variant:"ghost",size:"sm",label:x?"Collapse":"Expand",tooltip:x?"Collapse":"Expand",icon:s.jsx("span",{...{0:{className:"x3nfvp2 x11xpdln xuedmi6 xlr8y92"},1:{className:"x3nfvp2 x11xpdln xuedmi6 xlr8y92 x19jd1h0"}}[!!x<<0],children:s.jsx(i,{icon:"chevronDown",size:"sm",color:"inherit"})}),onClick:A,"aria-expanded":x,isIconOnly:!0}),c&&s.jsx(v,{variant:"ghost",size:"sm",label:"Dismiss",tooltip:"Dismiss",icon:s.jsx(i,{icon:"close",size:"sm",color:"inherit"}),onClick:G,isIconOnly:!0})]})]}),g&&s.jsx("div",{...r(u("banner-content",{container:l,status:e}),{0:{className:"x1de1mus x8o8v82 x1pzlopt x1i535u5 x1pcaw5z x92x3c3 x19ypqd9 x32b0ac x1q0q8m5 x1utcnwd xtgwc6q xw8gpjh"},1:{className:"x1de1mus x8o8v82 x1pzlopt x1i535u5 x1pcaw5z x92x3c3 x19ypqd9 x32b0ac x1q0q8m5 x1utcnwd xtgwc6q xw8gpjh xv76oww x1padx2d"}}[!!m<<0]),children:k})]})}H.displayName="Banner";export{H as B};

6
dist/assets/Bookings-C1WfybS8.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/Card-Cvh0wiAW.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/CheckboxInput-BZ6EBRFv.js vendored Normal file
View File

@@ -0,0 +1 @@
import{r as d,j as c,t as n,q as D,y as F,s as v,v as I}from"./index-TNj5auBr.js";import{h as G,f as L}from"./TextInput-DL-5979h.js";const O={x1tspnpo:"x1tspnpo",$$css:!0},e={container:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kOIVth:"x1txdalj",$$css:!0},containerLabelHidden:{kOIVth:"xxhr3t",$$css:!0},checkboxWrapper:{kVAEAm:"x1n2onr6",k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kmuXW:"x2lah0s",kHBbk8:"xc8icb0",$$css:!0},input:{kVAEAm:"x10l6tqk",kogj98:"x1ghz6dp",kmVPX3:"x1717udv",kSiTet:"xg01cxk",kkrTdU:"x1ypdohk",kY2c9j:"x1vjfegm",$$css:!0},inputDisabled:{kkrTdU:"x1h6gzvc",$$css:!0},checkbox:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kMzoRj:"x1litavf",ksu8eU:"x1y0btm7",kaIpWk:"xx3sua9",k1ekBW:"xts7igz",kIyJzY:"xuedmi6 x12w9bfk",kAMwcw:"xlr8y92",$$css:!0},checkboxFocus:{kI3sdo:"x1a2a7pz xkri23q",kInvED:"x81n7kt",$$css:!0},checkboxUnchecked:{kMwMTN:"xqwr325",kVAM5u:"xvy26l8 x1jtjlen",kWkggS:"x10xzikg xrsv7h",$$css:!0},checkboxChecked:{kMwMTN:"x17wrial",kVAM5u:"xad5do x1od6ugu",kWkggS:"x1ewilqj x6aeo4j",$$css:!0},checkboxDisabled:{kSiTet:"xbyyjgo",kVAM5u:"x14i3s5s xmt8yqp",$$css:!0},checkboxDisabledUnchecked:{kWkggS:"xwmxj5m x1cjfj8k",$$css:!0},checkmark:{k1xSpc:"x1s85apg",kMwMTN:"x17wrial",$$css:!0},checkmarkVisible:{k1xSpc:"x1lliihq",$$css:!0},indeterminateMark:{k1xSpc:"x1s85apg",kWkggS:"x1azo05",kaIpWk:"x1nj7uno",$$css:!0},indeterminateMarkVisible:{k1xSpc:"x1lliihq",$$css:!0}},M={sm:{kzqmXN:"xw4jnvo",kZKoxP:"x1qx5ct2",$$css:!0},md:{kzqmXN:"xvy4d1p",kZKoxP:"xxk0z11",$$css:!0}},H={sm:{kzqmXN:"x1xp8n7a",kZKoxP:"xmix8c7",$$css:!0},md:{kzqmXN:"x17z2i9w",kZKoxP:"x17rw0jw",$$css:!0}},R={sm:{kzqmXN:"xsmyaan",kZKoxP:"x1kpxq89",$$css:!0},md:{kzqmXN:"x6jxa94",kZKoxP:"x1v9usgg",$$css:!0}},Y={sm:{kzqmXN:"x1fsd2vl",kZKoxP:"x36qwtl",$$css:!0},md:{kzqmXN:"xsmyaan",kZKoxP:"x36qwtl",$$css:!0}},J={width:o=>[{kzqmXN:o!=null?"x5lhr3w":o,$$css:!0},{"--x-width":(x=>typeof x=="number"?x+"px":x??void 0)(o)}]};function Q({label:o,isLabelHidden:x=!1,description:b,onChange:l,changeAction:j,isLoading:N=!1,value:y,isDisabled:k=!1,isReadOnly:m=!1,isOptional:V=!1,isRequired:f=!1,size:r="md",onFocus:P,onBlur:W,labelIcon:X,status:s,width:g,xstyle:T,className:E,style:K,ref:Z}){const S=d.useId(),q=d.useId(),z=d.useId(),[,A]=d.useTransition(),[h,B]=d.useOptimistic(y),p=N||h!==y,t=h==="indeterminate",a=h===!0,w=a||t,U=d.useCallback(i=>{i&&(i.indeterminate=t)},[t]),u=[];b&&!x&&u.push(q),s!=null&&s.message&&u.push(z);const C=u.length>0?u.join(" "):void 0;return c.jsxs("div",{...v(I("checkbox-input",{size:r}),n(g!=null&&J.width(g),T),E,K),children:[c.jsxs("div",{...n(e.container,x&&e.containerLabelHidden,!k&&O),children:[c.jsxs("div",{...n(e.checkboxWrapper,M[r]),children:[c.jsx("input",{ref:D(Z,U),id:S,type:"checkbox",checked:a,disabled:k,readOnly:m,required:f,onChange:i=>{if(p||m)return;const $=i.target.checked;l==null||l($,i),j&&!i.defaultPrevented&&A(async()=>{B($),await j($,i)})},onFocus:P,onBlur:W,"aria-checked":t?"mixed":void 0,"aria-readonly":m||void 0,"aria-describedby":C,"aria-invalid":(s==null?void 0:s.type)==="error"?!0:void 0,"aria-busy":p||void 0,...n(e.input,M[r],k&&e.inputDisabled)}),c.jsx("div",{"aria-hidden":"true",...v(I("checkbox",{size:r,checked:a?"checked":t?"indeterminate":null,disabled:k?"disabled":null}),n(e.checkbox,H[r],!k&&e.checkboxFocus,w?e.checkboxChecked:e.checkboxUnchecked,k&&e.checkboxDisabled,k&&!w&&e.checkboxDisabledUnchecked)),children:p?c.jsx(F,{size:"sm",shade:"inherit"}):c.jsxs(c.Fragment,{children:[c.jsx("svg",{viewBox:"0 0 10 10",...n(e.checkmark,R[r],a&&e.checkmarkVisible),children:c.jsx("path",{d:"M8.5 2.5L4 7.5L1.5 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})}),c.jsx("div",{...n(e.indeterminateMark,Y[r],t&&e.indeterminateMarkVisible)})]})})]}),c.jsx("div",{className:"x78zum5 xdt5ytf x1lsbc85",children:c.jsx(G,{label:o,inputID:S,isLabelHidden:x,isDisabled:k,isOptional:V,isRequired:f,labelIcon:X,description:b,descriptionID:q})})]}),(s==null?void 0:s.message)&&c.jsx(L,{type:s.type,message:s.message,id:z,variant:"detached"})]})}Q.displayName="CheckboxInput";export{Q as C};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/ComingSoon-D5qTRUUi.js vendored Normal file
View File

@@ -0,0 +1 @@
import{r as n,j as e,_ as o,H as d,T as l,B as x}from"./index-TNj5auBr.js";import{T as p}from"./TextInput-DL-5979h.js";import{M as c}from"./mail-DG37riix.js";const t=[{label:"Days",value:12},{label:"Hours",value:8},{label:"Minutes",value:45},{label:"Seconds",value:30}];function g(){const[s,r]=n.useState("");return e.jsx("div",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",padding:"24px",textAlign:"center",backgroundColor:"#f8fafc",fontFamily:"system-ui, sans-serif"},children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"24px",alignItems:"center",maxWidth:"620px",width:"100%"},children:[e.jsx(o,{}),e.jsx(d,{level:1,type:"display-2",children:"Coming Soon"}),e.jsx(l,{type:"large",color:"secondary",children:"Something new is on its way"}),e.jsx("div",{style:{display:"flex",flexDirection:"row",gap:"16px",alignItems:"center",justifyContent:"center",flexWrap:"wrap"},children:t.map((i,a)=>e.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"16px",alignItems:"center"},children:[e.jsxs("div",{style:{width:"84px",padding:"16px 0",borderRadius:"12px",backgroundColor:"rgba(192, 18, 39, 0.08)",border:"1px solid rgba(192, 18, 39, 0.2)"},children:[e.jsx("div",{style:{fontSize:"2rem",fontWeight:800,color:"#C01227",lineHeight:1},children:String(i.value).padStart(2,"0")}),e.jsx("div",{style:{fontSize:"0.65rem",color:"#64748b",textTransform:"uppercase",letterSpacing:"1px",marginTop:"4px"},children:i.label})]}),a<t.length-1&&e.jsx("div",{style:{fontSize:"2rem",fontWeight:800,color:"#C01227"},children:":"})]},i.label))}),e.jsxs("div",{style:{width:"100%",maxWidth:"480px",marginTop:"16px"},children:[e.jsx("div",{style:{marginBottom:"12px"},children:e.jsx(l,{type:"body",color:"secondary",children:"Be the first to be notified when Doormile launches."})}),e.jsxs("div",{style:{display:"flex",gap:"12px",flexDirection:"row",alignItems:"flex-start",flexWrap:"wrap"},className:"subscribe-row",children:[e.jsx("div",{style:{flexGrow:1,minWidth:"200px"},children:e.jsx(p,{label:"Email address",isLabelHidden:!0,type:"email",placeholder:"Enter your email",startIcon:e.jsx(c,{size:16}),value:s,onChange:r})}),e.jsx(x,{variant:"primary",label:"Notify Me",onClick:()=>{}})]})]})]})})}export{g as default};

View File

@@ -1 +0,0 @@
import{b as c,j as e,B as n,S as i,as as x,T as t}from"./index-B539dxxT.js";import{T as d}from"./TextField-Cl3T8i0P.js";import{B as h}from"./Button-D7QX3_Jz.js";const a=[{label:"Days",value:12},{label:"Hours",value:8},{label:"Minutes",value:45},{label:"Seconds",value:30}];function u(){const[s,o]=c.useState("");return e.jsx(n,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",p:3,textAlign:"center"},children:e.jsxs(i,{spacing:3,alignItems:"center",sx:{maxWidth:620,width:"100%"},children:[e.jsx(x,{}),e.jsx(t,{variant:"h2",sx:{fontWeight:800,color:"grey.800"},children:"Coming Soon"}),e.jsx(t,{variant:"body1",color:"text.secondary",children:"Something new is on its way"}),e.jsx(i,{direction:"row",spacing:{xs:1,sm:2},alignItems:"center",justifyContent:"center",children:a.map((r,l)=>e.jsxs(i,{direction:"row",spacing:{xs:1,sm:2},alignItems:"center",children:[e.jsxs(n,{sx:{width:{xs:64,sm:84},py:2,borderRadius:2,bgcolor:"primary.lighter",border:1,borderColor:"primary.light"},children:[e.jsx(t,{variant:"h2",sx:{fontWeight:800,color:"primary.main",lineHeight:1},children:String(r.value).padStart(2,"0")}),e.jsx(t,{variant:"caption",color:"text.secondary",sx:{textTransform:"uppercase",letterSpacing:1},children:r.label})]}),l<a.length-1&&e.jsx(t,{variant:"h2",sx:{fontWeight:800,color:"primary.main"},children:":"})]},r.label))}),e.jsxs(n,{sx:{width:"100%",maxWidth:480},children:[e.jsx(t,{variant:"body2",color:"text.secondary",sx:{mb:1.5},children:"Be the first to be notified when Doormile launches."}),e.jsxs(i,{direction:{xs:"column",sm:"row"},spacing:1.5,children:[e.jsx(d,{fullWidth:!0,size:"small",type:"email",placeholder:"Enter your email",value:s,onChange:r=>o(r.target.value)}),e.jsx(h,{variant:"contained",sx:{whiteSpace:"nowrap",px:3},children:"Notify Me"})]})]})]})})}export{u as default};

51
dist/assets/Dashboard-B7BWst0R.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{$ as t,j as e,r as a,i as o}from"./index-B539dxxT.js";const n=t(e.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),v=t(e.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");var r={},l=o;Object.defineProperty(r,"__esModule",{value:!0});var s=r.default=void 0,u=l(a()),d=e;s=r.default=(0,u.default)((0,d.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline");export{v as K,n as a,s as d};

View File

@@ -1 +0,0 @@
import{r as t,j as r,i as a}from"./index-B539dxxT.js";var e={},u=a;Object.defineProperty(e,"__esModule",{value:!0});var i=e.default=void 0,d=u(t()),l=r;i=e.default=(0,d.default)((0,l.jsx)("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"}),"EditOutlined");export{i as d};

1
dist/assets/EmptyState-DGz1kDMS.js vendored Normal file
View File

@@ -0,0 +1 @@
import{j as x,r as u,s as f,t as h,v as k}from"./index-TNj5auBr.js";const l={container:{k1xSpc:"x78zum5",kXwgrk:"xdt5ytf",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",k9WMMc:"x2b8uid",kOIVth:"x18g69wz",k8WAf4:"xmfvnks",kg3NbH:"xm7rs69",$$css:!0},containerCompact:{kOIVth:"x1txdalj",k8WAf4:"x1na6nto",kg3NbH:"x1pzlopt",$$css:!0}};function r({title:t,description:a,icon:e,actions:n,headingLevel:d=3,isCompact:s=!1,xstyle:c,className:i,style:o,ref:m,...p}){const j=`h${d}`;return x.jsxs("div",{ref:m,role:"status",...f(k("empty-state",{variant:s?"compact":null}),h(l.container,s&&l.containerCompact,c),i,o),...p,children:[e!=null&&x.jsx("div",{"aria-hidden":"true",children:e}),x.jsxs("div",{className:"x78zum5 xdt5ytf x6s0dn4 xxc7z9f",children:[u.createElement(j,{0:{className:"x1ghz6dp xjb2p0i x18juvz8 x2mo6ok xf74fhv x1tgivj0"},1:{className:"x1ghz6dp xjb2p0i x2mo6ok xf74fhv x1tgivj0 xcr08ib"}}[!!s<<0],t),a!=null&&x.jsx("div",{...{0:{className:"x1ghz6dp xjb2p0i xjm74w1 x1sodnla xw6l6zx xv1l7n4"},1:{className:"x1ghz6dp xjb2p0i x1sodnla xw6l6zx xv1l7n4 x141an7d"}}[!!s<<0],children:a})]}),n!=null&&x.jsx("div",{...{0:{className:"x78zum5 x1q0g3np x6s0dn4 x1txdalj xcsaf9d"},1:{className:"x78zum5 x6s0dn4 x1txdalj xcsaf9d xdt5ytf"}}[!!s<<0],children:n})]})}r.displayName="EmptyState";function g({icon:t,title:a="No records found",caption:e}){return x.jsx(r,{title:a,description:e,icon:t?x.jsx(t,{size:36,style:{color:"#94a3b8"}}):void 0})}export{g as E,r as a};

View File

@@ -1 +0,0 @@
import{r as n,j as e,i,B as o,T as s}from"./index-B539dxxT.js";var r={},x=i;Object.defineProperty(r,"__esModule",{value:!0});var f=r.default=void 0,v=x(n()),h=e;f=r.default=(0,v.default)((0,h.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");var t={},p=i;Object.defineProperty(t,"__esModule",{value:!0});var c=t.default=void 0,j=p(n()),y=e;c=t.default=(0,j.default)((0,y.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5v-3h3.56c.69 1.19 1.97 2 3.45 2s2.75-.81 3.45-2H19zm0-5h-4.99c0 1.1-.9 2-2 2s-2-.9-2-2H5V5h14z"}),"InboxOutlined");function m({icon:d=c,title:u="No records found",caption:a,sx:l}){return e.jsxs(o,{sx:{textAlign:"center",py:6,px:2,...l},children:[e.jsx(o,{sx:{width:72,height:72,borderRadius:"50%",bgcolor:"grey.100",display:"inline-flex",alignItems:"center",justifyContent:"center",mb:2},children:e.jsx(d,{sx:{fontSize:34,color:"grey.400"}})}),e.jsx(s,{variant:"h5",color:"text.secondary",children:u}),a&&e.jsx(s,{variant:"body2",color:"text.secondary",sx:{mt:.5},children:a})]})}export{m as E,f as d};

1
dist/assets/Error404-B5DD5NUG.js vendored Normal file
View File

@@ -0,0 +1 @@
import{u as t,j as e,H as o,T as r,B as s}from"./index-TNj5auBr.js";import{H as n}from"./house-DtzjLs3n.js";function d(){const i=t();return e.jsx("div",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",padding:"24px",textAlign:"center",backgroundColor:"#f8fafc",fontFamily:"system-ui, sans-serif"},children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px",alignItems:"center"},children:[e.jsx("span",{style:{fontWeight:900,fontSize:"clamp(3.5rem, 18vw, 8rem)",lineHeight:1,color:"#C01227"},children:"404"}),e.jsx("div",{style:{width:"64px",height:"4px",borderRadius:"2px",backgroundColor:"#C01227"}}),e.jsx(o,{level:2,children:"Page Not Found"}),e.jsx("div",{style:{maxWidth:"460px"},children:e.jsx(r,{type:"body",color:"secondary",children:"The page you are looking for was moved, removed, renamed, or might never exist!"})}),e.jsx(s,{variant:"primary",icon:e.jsx(n,{size:16}),onClick:()=>i("/dashboard"),label:"Back To Home"})]})})}export{d as default};

View File

@@ -1 +0,0 @@
import{ar as o,j as e,B as t,S as i,T as r}from"./index-B539dxxT.js";import{d as n}from"./HomeOutlined-CczOYYWo.js";import{B as s}from"./Button-D7QX3_Jz.js";function c(){const a=o();return e.jsx(t,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",p:3,textAlign:"center"},children:e.jsxs(i,{spacing:2,alignItems:"center",children:[e.jsx(r,{sx:{fontWeight:900,fontSize:{xs:"6rem",md:"9rem"},lineHeight:1,color:"primary.main"},children:"404"}),e.jsx(t,{sx:{width:64,height:4,borderRadius:2,bgcolor:"primary.main"}}),e.jsx(r,{variant:"h3",sx:{fontWeight:700,color:"grey.800"},children:"Page Not Found"}),e.jsx(r,{variant:"body1",color:"text.secondary",sx:{maxWidth:460},children:"The page you are looking for was moved, removed, renamed, or might never exist!"}),e.jsx(s,{variant:"contained",size:"large",startIcon:e.jsx(n,{}),onClick:()=>a("/dashboard"),sx:{mt:1},children:"Back To Home"})]})})}export{c as default};

1
dist/assets/Error500-0KRX9QtL.js vendored Normal file
View File

@@ -0,0 +1 @@
import{u as t,j as e,H as i,T as a,B as s}from"./index-TNj5auBr.js";import{H as n}from"./house-DtzjLs3n.js";function d(){const r=t();return e.jsx("div",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",padding:"24px",textAlign:"center",backgroundColor:"#f8fafc",fontFamily:"system-ui, sans-serif"},children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px",alignItems:"center"},children:[e.jsx("span",{style:{fontWeight:900,fontSize:"clamp(3.5rem, 18vw, 8rem)",lineHeight:1,color:"#C01227"},children:"500"}),e.jsx("div",{style:{width:"64px",height:"4px",borderRadius:"2px",backgroundColor:"#C01227"}}),e.jsx(i,{level:2,children:"Internal Server Error"}),e.jsx("div",{style:{maxWidth:"460px"},children:e.jsx(a,{type:"body",color:"secondary",children:"Server error 500. We are fixing the problem. Please try again at a later stage."})}),e.jsx(s,{variant:"primary",icon:e.jsx(n,{size:16}),onClick:()=>r("/dashboard"),label:"Back To Home"})]})})}export{d as default};

View File

@@ -1 +0,0 @@
import{ar as i,j as r,B as t,S as n,T as e}from"./index-B539dxxT.js";import{d as s}from"./HomeOutlined-CczOYYWo.js";import{B as o}from"./Button-D7QX3_Jz.js";function m(){const a=i();return r.jsx(t,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",p:3,textAlign:"center"},children:r.jsxs(n,{spacing:2,alignItems:"center",children:[r.jsx(e,{sx:{fontWeight:900,fontSize:{xs:"6rem",md:"9rem"},lineHeight:1,color:"primary.main"},children:"500"}),r.jsx(t,{sx:{width:64,height:4,borderRadius:2,bgcolor:"primary.main"}}),r.jsx(e,{variant:"h3",sx:{fontWeight:700,color:"grey.800"},children:"Internal Server Error"}),r.jsx(e,{variant:"body1",color:"text.secondary",sx:{maxWidth:460},children:"Server error 500. We are fixing the problem. Please try again at a later stage."}),r.jsx(o,{variant:"contained",size:"large",startIcon:r.jsx(s,{}),onClick:()=>a("/dashboard"),sx:{mt:1},children:"Back To Home"})]})})}export{m as default};

File diff suppressed because one or more lines are too long

1
dist/assets/HStack-tSPMb9QU.js vendored Normal file
View File

@@ -0,0 +1 @@
import{t as y,a1 as H,r as E,s as P,v as b,j}from"./index-TNj5auBr.js";function i({direction:s="vertical",hAlign:l,vAlign:e,justify:n,align:o,gap:a,width:t,height:r,wrap:c,as:u="div",xstyle:x,className:A,style:f,children:g,ref:k,...v}){const p=l??(s==="horizontal"?n:o),m=e??(s==="horizontal"?o:n),z=y(...H({direction:s,crossAlign:s==="horizontal"?m:p,mainAlign:s==="horizontal"?p:m,gap:a,wrap:c}),x),S={...t!=null&&{width:typeof t=="number"?`${t}px`:t},...r!=null&&{height:typeof r=="number"?`${r}px`:r}};return E.createElement(u,{ref:k,...P(b("stack",{direction:s,gap:a,wrap:c}),z,A,{...f,...S}),...v},g)}i.displayName="Stack";function N({ref:s,justify:l,align:e,hAlign:n,vAlign:o,...a}){return j.jsx(i,{...a,direction:"horizontal",hAlign:n??l,vAlign:o??e,ref:s})}N.displayName="HStack";export{N as H,i as S};

View File

@@ -1 +0,0 @@
import{r,j as t,i as a}from"./index-B539dxxT.js";var e={},u=a;Object.defineProperty(e,"__esModule",{value:!0});var v=e.default=void 0,o=u(r()),i=t;v=e.default=(0,o.default)((0,i.jsx)("path",{d:"m12 5.69 5 4.5V18h-2v-6H9v6H7v-7.81zM12 3 2 12h3v8h6v-6h2v6h6v-8h3z"}),"HomeOutlined");export{v as d};

1
dist/assets/IconButton-Dlo2bZzs.js vendored Normal file
View File

@@ -0,0 +1 @@
import{j as o,B as s}from"./index-TNj5auBr.js";function r({icon:t,...n}){return o.jsx(s,{...n,icon:t,isIconOnly:!0})}r.displayName="IconButton";export{r as I};

View File

@@ -1 +0,0 @@
import{p as P,q as C,b,s as I,_ as A,au as j,v as c,j as a,aw as L,w as z,T as R,K as u,x as T,y as _}from"./index-B539dxxT.js";function $(n){return P("MuiInputAdornment",n)}const x=C("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var f;const w=["children","className","component","disablePointerEvents","disableTypography","position","variant"],F=(n,t)=>{const{ownerState:e}=n;return[t.root,t[`position${u(e.position)}`],e.disablePointerEvents===!0&&t.disablePointerEvents,t[e.variant]]},M=n=>{const{classes:t,disablePointerEvents:e,hiddenLabel:o,position:s,size:r,variant:l}=n,d={root:["root",e&&"disablePointerEvents",s&&`position${u(s)}`,l,o&&"hiddenLabel",r&&`size${u(r)}`]};return T(d,$,t)},N=_("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:F})(({theme:n,ownerState:t})=>c({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(n.vars||n).palette.action.active},t.variant==="filled"&&{[`&.${x.positionStart}&:not(.${x.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),S=b.forwardRef(function(t,e){const o=I({props:t,name:"MuiInputAdornment"}),{children:s,className:r,component:l="div",disablePointerEvents:d=!1,disableTypography:g=!1,position:m,variant:v}=o,y=A(o,w),i=j()||{};let p=v;v&&i.variant,i&&!p&&(p=i.variant);const h=c({},o,{hiddenLabel:i.hiddenLabel,size:i.size,disablePointerEvents:d,position:m,variant:p}),E=M(h);return a.jsx(L.Provider,{value:null,children:a.jsx(N,c({as:l,ownerState:h,className:z(E.root,r),ref:e},y,{children:typeof s=="string"&&!g?a.jsx(R,{color:"text.secondary",children:s}):a.jsxs(b.Fragment,{children:[m==="start"?f||(f=a.jsx("span",{className:"notranslate",children:""})):null,s]})}))})});export{S as I};

View File

@@ -1,54 +0,0 @@
import{p as N,q as j,b as M,s as D,_ as z,v as s,a0 as U,j as b,w as K,K as t,x as O,y as m,af as h,ad as T,ae as A,ag as C}from"./index-B539dxxT.js";function E(r){return N("MuiLinearProgress",r)}j("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const X=["className","color","value","valueBuffer","variant"];let l=r=>r,$,k,L,_,B,I;const v=4,W=C($||($=l`
0% {
left: -35%;
right: 100%;
}
60% {
left: 100%;
right: -90%;
}
100% {
left: 100%;
right: -90%;
}
`)),F=C(k||(k=l`
0% {
left: -200%;
right: 100%;
}
60% {
left: 107%;
right: -8%;
}
100% {
left: 107%;
right: -8%;
}
`)),G=C(L||(L=l`
0% {
opacity: 1;
background-position: 0 -23px;
}
60% {
opacity: 0;
background-position: 0 -23px;
}
100% {
opacity: 1;
background-position: -200px -23px;
}
`)),H=r=>{const{classes:a,variant:e,color:o}=r,p={root:["root",`color${t(o)}`,e],dashed:["dashed",`dashedColor${t(o)}`],bar1:["bar",`barColor${t(o)}`,(e==="indeterminate"||e==="query")&&"bar1Indeterminate",e==="determinate"&&"bar1Determinate",e==="buffer"&&"bar1Buffer"],bar2:["bar",e!=="buffer"&&`barColor${t(o)}`,e==="buffer"&&`color${t(o)}`,(e==="indeterminate"||e==="query")&&"bar2Indeterminate",e==="buffer"&&"bar2Buffer"]};return O(p,E,a)},y=(r,a)=>a==="inherit"?"currentColor":r.vars?r.vars.palette.LinearProgress[`${a}Bg`]:r.palette.mode==="light"?T(r.palette[a].main,.62):A(r.palette[a].main,.5),J=m("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(r,a)=>{const{ownerState:e}=r;return[a.root,a[`color${t(e.color)}`],a[e.variant]]}})(({ownerState:r,theme:a})=>s({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:y(a,r.color)},r.color==="inherit"&&r.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},r.variant==="buffer"&&{backgroundColor:"transparent"},r.variant==="query"&&{transform:"rotate(180deg)"})),Q=m("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(r,a)=>{const{ownerState:e}=r;return[a.dashed,a[`dashedColor${t(e.color)}`]]}})(({ownerState:r,theme:a})=>{const e=y(a,r.color);return s({position:"absolute",marginTop:0,height:"100%",width:"100%"},r.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${e} 0%, ${e} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},h(_||(_=l`
animation: ${0} 3s infinite linear;
`),G)),V=m("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(r,a)=>{const{ownerState:e}=r;return[a.bar,a[`barColor${t(e.color)}`],(e.variant==="indeterminate"||e.variant==="query")&&a.bar1Indeterminate,e.variant==="determinate"&&a.bar1Determinate,e.variant==="buffer"&&a.bar1Buffer]}})(({ownerState:r,theme:a})=>s({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:r.color==="inherit"?"currentColor":(a.vars||a).palette[r.color].main},r.variant==="determinate"&&{transition:`transform .${v}s linear`},r.variant==="buffer"&&{zIndex:1,transition:`transform .${v}s linear`}),({ownerState:r})=>(r.variant==="indeterminate"||r.variant==="query")&&h(B||(B=l`
width: auto;
animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
`),W)),Y=m("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(r,a)=>{const{ownerState:e}=r;return[a.bar,a[`barColor${t(e.color)}`],(e.variant==="indeterminate"||e.variant==="query")&&a.bar2Indeterminate,e.variant==="buffer"&&a.bar2Buffer]}})(({ownerState:r,theme:a})=>s({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},r.variant!=="buffer"&&{backgroundColor:r.color==="inherit"?"currentColor":(a.vars||a).palette[r.color].main},r.color==="inherit"&&{opacity:.3},r.variant==="buffer"&&{backgroundColor:y(a,r.color),transition:`transform .${v}s linear`}),({ownerState:r})=>(r.variant==="indeterminate"||r.variant==="query")&&h(I||(I=l`
width: auto;
animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
`),F)),w=M.forwardRef(function(a,e){const o=D({props:a,name:"MuiLinearProgress"}),{className:p,color:R="primary",value:g,valueBuffer:x,variant:i="indeterminate"}=o,q=z(o,X),c=s({},o,{color:R,variant:i}),u=H(c),P=U(),f={},d={bar1:{},bar2:{}};if((i==="determinate"||i==="buffer")&&g!==void 0){f["aria-valuenow"]=Math.round(g),f["aria-valuemin"]=0,f["aria-valuemax"]=100;let n=g-100;P&&(n=-n),d.bar1.transform=`translateX(${n}%)`}if(i==="buffer"&&x!==void 0){let n=(x||0)-100;P&&(n=-n),d.bar2.transform=`translateX(${n}%)`}return b.jsxs(J,s({className:K(u.root,p),ownerState:c,role:"progressbar"},f,{ref:e},q,{children:[i==="buffer"?b.jsx(Q,{className:u.dashed,ownerState:c}):null,b.jsx(V,{className:u.bar1,ownerState:c,style:d.bar1}),i==="determinate"?null:b.jsx(Y,{className:u.bar2,ownerState:c,style:d.bar2})]}))});export{w as L};

View File

@@ -1 +0,0 @@
import{p as x,q as h,b as p,s as g,_ as v,v as a,j as k,w as R,x as V,y as F,P as z,ax as C,Q as W,ay as E,N as H,K as L,T as q}from"./index-B539dxxT.js";function I(e){return x("MuiCard",e)}h("MuiCard",["root"]);const K=["className","raised"],O=e=>{const{classes:o}=e;return V({root:["root"]},I,o)},Q=F(z,{name:"MuiCard",slot:"Root",overridesResolver:(e,o)=>o.root})(()=>({overflow:"hidden"})),so=p.forwardRef(function(o,s){const r=g({props:o,name:"MuiCard"}),{className:t,raised:n=!1}=r,c=v(r,K),i=a({},r,{raised:n}),u=O(i);return k.jsx(Q,a({className:R(u.root,t),elevation:n?8:void 0,ref:s,ownerState:i},c))});function S(e){return x("MuiLink",e)}const G=h("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),D={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},J=e=>D[e]||e,X=({theme:e,ownerState:o})=>{const s=J(o.color),r=C(e,`palette.${s}`,!1)||o.color,t=C(e,`palette.${s}Channel`);return"vars"in e&&t?`rgba(${t} / 0.4)`:W(r,.4)},Y=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Z=e=>{const{classes:o,component:s,focusVisible:r,underline:t}=e,n={root:["root",`underline${L(t)}`,s==="button"&&"button",r&&"focusVisible"]};return V(n,S,o)},oo=F(q,{name:"MuiLink",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:s}=e;return[o.root,o[`underline${L(s.underline)}`],s.component==="button"&&o.button]}})(({theme:e,ownerState:o})=>a({},o.underline==="none"&&{textDecoration:"none"},o.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},o.underline==="always"&&a({textDecoration:"underline"},o.color!=="inherit"&&{textDecorationColor:X({theme:e,ownerState:o})},{"&:hover":{textDecorationColor:"inherit"}}),o.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${G.focusVisible}`]:{outline:"auto"}})),ro=p.forwardRef(function(o,s){const r=g({props:o,name:"MuiLink"}),{className:t,color:n="primary",component:c="a",onBlur:i,onFocus:u,TypographyClasses:M,underline:N="always",variant:f="inherit",sx:d}=r,$=v(r,Y),{isFocusVisibleRef:m,onBlur:T,onFocus:j,ref:A}=E(),[B,y]=p.useState(!1),P=H(s,A),U=l=>{T(l),m.current===!1&&y(!1),i&&i(l)},_=l=>{j(l),m.current===!0&&y(!0),u&&u(l)},b=a({},r,{color:n,component:c,focusVisible:B,underline:N,variant:f}),w=Z(b);return k.jsx(oo,a({color:n,className:R(w.root,t),classes:M,component:c,onBlur:U,onFocus:_,ref:P,ownerState:b,variant:f,sx:[...Object.keys(D).includes(n)?[]:[{color:n}],...Array.isArray(d)?d:[d]]},$))});export{so as C,ro as L};

1
dist/assets/Login-BPcdl6s1.js vendored Normal file
View File

@@ -0,0 +1 @@
import{s as w,t as v,v as z,j as e,u as C,r as a,_ as I,T as h,V as $,$ as A,B as E,a0 as D}from"./index-TNj5auBr.js";import{C as L}from"./Card-Cvh0wiAW.js";import{S as P,H as B}from"./HStack-tSPMb9QU.js";import{B as F}from"./Banner-DVJsik2E.js";import{T as k}from"./TextInput-DL-5979h.js";import{M as N}from"./mail-DG37riix.js";import{L as H,E as R}from"./lock-8veRwQu6.js";import{C as T}from"./CheckboxInput-BZ6EBRFv.js";const u={base:{k1xSpc:"x78zum5",$$css:!0},inline:{k1xSpc:"x3nfvp2",$$css:!0},alignItemsCenter:{kGNEyG:"x6s0dn4",$$css:!0},justifyContentCenter:{kjj79g:"xl56j7k",$$css:!0}},K={sizing:(s,r)=>[{kzqmXN:s!=null?"x5lhr3w":s,kZKoxP:r!=null?"x16ye13r":r,$$css:!0},{"--x-width":(t=>typeof t=="number"?t+"px":t??void 0)(s),"--x-height":(t=>typeof t=="number"?t+"px":t??void 0)(r)}]};function S({axis:s="both",width:r,height:t,isInline:o=!1,children:l,xstyle:n,className:g,style:c,ref:d,...x}){const m=w(z("center",{axis:s}),v(o?u.inline:u.base,(s==="both"||s==="vertical")&&u.alignItemsCenter,(s==="both"||s==="horizontal")&&u.justifyContentCenter,K.sizing(r??null,t??null),n),g,c);return e.jsx("div",{ref:d,...m,...x,children:l})}S.displayName="Center";function p({ref:s,justify:r,align:t,hAlign:o,vAlign:l,...n}){return e.jsx(P,{...n,direction:"vertical",hAlign:o??t,vAlign:l??r,ref:s})}p.displayName="VStack";const M="/assets/mid-mile-approach-Drwn-ig9.jpg";function Y(){const s=C(),[r,t]=a.useState(!1),[o,l]=a.useState(""),[n,g]=a.useState(""),[c,d]=a.useState(""),[x,m]=a.useState(!0),[b,y]=a.useState(!1),f=async()=>{if(!(!o||!n||b)){y(!0),d("");try{const i=await D(o,n);localStorage.setItem("logged_in","true"),localStorage.setItem("auth_token",i.token),localStorage.setItem("user",JSON.stringify(i.user)),s("/dashboard")}catch(i){d(i.message||"Invalid email or password")}finally{y(!1)}}},j=i=>{i.key==="Enter"&&f()};return e.jsxs("div",{style:{minHeight:"100vh",position:"relative",backgroundImage:`url(${M})`,backgroundSize:"cover",backgroundPosition:"center",fontFamily:"system-ui, sans-serif"},children:[e.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(192, 18, 39, 0.8) 100%)"}}),e.jsx(S,{axis:"both",style:{position:"relative",minHeight:"100vh",padding:"16px",boxSizing:"border-box"},children:e.jsx(L,{padding:8,width:"100%",maxWidth:440,style:{background:"rgba(255, 255, 255, 0.9)",backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)",border:"1px solid rgba(255, 255, 255, 0.5)",boxShadow:"0 24px 48px rgba(0,0,0,0.2)",boxSizing:"border-box"},children:e.jsxs(p,{gap:4,hAlign:"stretch",children:[e.jsxs(p,{gap:1,hAlign:"center",children:[e.jsx("div",{style:{marginBottom:"8px"},children:e.jsx(I,{})}),e.jsx(h,{type:"display-1",as:"h2",children:"Welcome back"}),e.jsx(h,{type:"body",color:"secondary",size:"sm",children:"Sign in to your Doormile operations account."})]}),c&&e.jsx(F,{status:"error",title:c}),e.jsxs(p,{gap:3,children:[e.jsx(k,{label:"Email",isRequired:!0,size:"lg",type:"email",placeholder:"admin@doormile.com",value:o,onChange:l,onKeyDown:j,startIcon:e.jsx(N,{size:16}),hasAutoFocus:!0}),e.jsxs("div",{style:{position:"relative"},children:[e.jsx(k,{label:"Password",isRequired:!0,size:"lg",type:r?"text":"password",placeholder:"Enter your password",value:n,onChange:g,onKeyDown:j,startIcon:e.jsx(H,{size:16})}),e.jsx("button",{type:"button",onClick:()=>t(i=>!i),"aria-label":r?"Hide password":"Show password",style:{position:"absolute",right:"10px",bottom:0,height:"36px",display:"flex",alignItems:"center",justifyContent:"center",background:"none",border:"none",cursor:"pointer",color:"#64748b",padding:0,zIndex:10},children:r?e.jsx($,{size:16}):e.jsx(R,{size:16})})]})]}),e.jsxs(B,{hAlign:"between",vAlign:"center",children:[e.jsx(T,{label:"Remember me",value:x,onChange:m}),e.jsx(A,{href:"#",size:"sm",color:"secondary",children:"Forgot password?"})]}),e.jsx(E,{label:"Sign In",variant:"primary",size:"lg",onClick:f,isLoading:b,isDisabled:!o||!n})]})})}),e.jsx("div",{style:{position:"absolute",bottom:"20px",left:0,right:0,textAlign:"center",zIndex:2},children:e.jsxs(h,{type:"supporting",style:{color:"rgba(255, 255, 255, 0.8)"},children:["© ",new Date().getFullYear()," Doormile Technologies. All rights reserved."]})})]})}export{Y as default};

View File

@@ -1 +0,0 @@
import{ar as f,b as a,j as e,B as t,as as j,T as r,S as g,I as v,at as y}from"./index-B539dxxT.js";import{d as w,a as S}from"./VisibilityOff-Dcys89w_.js";import{C as k,L as I}from"./Link-DlAvCPCg.js";import{T as u}from"./TextField-Cl3T8i0P.js";import{I as C}from"./InputAdornment-BjFJvkmB.js";import{F as W,C as z}from"./FormControlLabel-CIhtgm4u.js";import{B as A}from"./Button-D7QX3_Jz.js";import"./SwitchBase-BSl_qXN1.js";const D="/assets/mid-mile-approach-Drwn-ig9.jpg";function _(){const b=f(),[s,h]=a.useState(!1),[n,p]=a.useState(""),[i,m]=a.useState(""),[l,d]=a.useState(""),c=async()=>{try{d("");const o=await y(n,i);localStorage.setItem("logged_in","true"),localStorage.setItem("auth_token",o.token),localStorage.setItem("user",JSON.stringify(o.user)),b("/dashboard")}catch(o){d(o.message||"Invalid email or password")}},x=o=>{o.key==="Enter"&&c()};return e.jsxs(t,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",backgroundImage:`url(${D})`,backgroundSize:"cover",backgroundPosition:"center",position:"relative","&::before":{content:'""',position:"absolute",inset:0,background:"linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(192, 18, 39, 0.8) 100%)",zIndex:1}},children:[e.jsxs(k,{sx:{position:"relative",zIndex:2,width:"100%",maxWidth:440,p:{xs:4,sm:5},m:2,background:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)",border:"1px solid rgba(255, 255, 255, 0.5)",boxShadow:"0 24px 48px rgba(0,0,0,0.2)",borderRadius:4},children:[e.jsx(t,{sx:{mb:4,display:"flex",justifyContent:"center"},children:e.jsx(j,{})}),e.jsx(r,{variant:"h3",sx:{fontWeight:800,textAlign:"center",letterSpacing:"-0.5px",color:"#1e293b"},children:"Welcome back"}),e.jsx(r,{variant:"body1",sx:{mt:1,mb:4,textAlign:"center",color:"#475569"},children:"Sign in to your Doormile operations account."}),e.jsxs(g,{spacing:2.5,children:[e.jsxs(t,{children:[e.jsx(r,{variant:"subtitle2",sx:{mb:.75,color:"#334155",fontWeight:600},children:"Email"}),e.jsx(u,{fullWidth:!0,placeholder:"Enter your email address",value:n,onChange:o=>p(o.target.value),onKeyDown:x,sx:{"& .MuiOutlinedInput-root":{bgcolor:"rgba(255,255,255,0.6)",borderRadius:2,transition:"all 0.2s ease","&:hover":{bgcolor:"rgba(255,255,255,0.9)"},"&.Mui-focused":{bgcolor:"#fff",boxShadow:"0 4px 12px rgba(0,0,0,0.05)"}}}})]}),e.jsxs(t,{children:[e.jsx(r,{variant:"subtitle2",sx:{mb:.75,color:"#334155",fontWeight:600},children:"Password"}),e.jsx(u,{fullWidth:!0,type:s?"text":"password",placeholder:"Enter your password",value:i,onChange:o=>m(o.target.value),onKeyDown:x,sx:{"& .MuiOutlinedInput-root":{bgcolor:"rgba(255,255,255,0.6)",borderRadius:2,transition:"all 0.2s ease","&:hover":{bgcolor:"rgba(255,255,255,0.9)"},"&.Mui-focused":{bgcolor:"#fff",boxShadow:"0 4px 12px rgba(0,0,0,0.05)"}}},InputProps:{endAdornment:e.jsx(C,{position:"end",children:e.jsx(v,{onClick:()=>h(o=>!o),edge:"end",size:"small",children:s?e.jsx(w,{fontSize:"small",sx:{color:"#94a3b8"}}):e.jsx(S,{fontSize:"small",sx:{color:"#94a3b8"}})})})}})]}),e.jsxs(g,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[e.jsx(W,{control:e.jsx(z,{defaultChecked:!0,size:"small",sx:{color:"#cbd5e1","&.Mui-checked":{color:"primary.main"}}}),label:e.jsx(r,{variant:"body2",sx:{color:"#475569",fontWeight:500},children:"Remember me"})}),e.jsx(I,{href:"#",underline:"hover",variant:"body2",color:"primary",sx:{fontWeight:600},children:"Forgot password?"})]}),l&&e.jsx(r,{variant:"body2",color:"error",textAlign:"center",sx:{fontWeight:600},children:l}),e.jsx(A,{fullWidth:!0,size:"large",variant:"contained",onClick:c,sx:{mt:2,py:1.5,borderRadius:2,fontSize:"1.05rem",fontWeight:700,textTransform:"none",boxShadow:"0 8px 16px rgba(192, 18, 39, 0.25)","&:hover":{boxShadow:"0 12px 20px rgba(192, 18, 39, 0.35)"},transition:"box-shadow 0.2s ease"},children:"Sign In"})]})]}),e.jsx(t,{sx:{position:"absolute",bottom:20,zIndex:2},children:e.jsxs(r,{variant:"caption",sx:{color:"rgba(255,255,255,0.8)",fontSize:"0.8rem"},children:["© ",new Date().getFullYear()," Doormile Technologies. All rights reserved."]})})]})}export{_ as default};

View File

@@ -1 +0,0 @@
import{r,j as t,i as a}from"./index-B539dxxT.js";var e={},l=a;Object.defineProperty(e,"__esModule",{value:!0});var u=e.default=void 0,i=l(r()),o=t;u=e.default=(0,i.default)((0,o.jsx)("path",{d:"m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5M10 5.47l4 1.4v11.66l-4-1.4zm-5 .99 3-1.01v11.7l-3 1.16zm14 11.08-3 1.01V6.86l3-1.16z"}),"MapOutlined");export{u as d};

1
dist/assets/PageHeader-B9Ytwo9b.js vendored Normal file
View File

@@ -0,0 +1 @@
import{j as e,s as c,t as o,v as a}from"./index-TNj5auBr.js";const l={base:{k1xSpc:"x3nfvp2",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kOIVth:"xzye2dw",kZKoxP:"x1grt7ep",k8WAf4:"xt970qd",kg3NbH:"xf314gf",kaIpWk:"xjspbzw",kMv6JI:"xjb2p0i",kGuDYH:"x141an7d",kLWn49:"x1ltkj2j",k63SB2:"x1e4wzip",khDVqt:"xuxw1ft",$$css:!0}},u={neutral:{kWkggS:"x17x4s8c",kMwMTN:"x1tgivj0",$$css:!0},info:{kWkggS:"x1ewilqj",kMwMTN:"x17wrial",$$css:!0},success:{kWkggS:"xdsz4j9",kMwMTN:"xri61p4",$$css:!0},warning:{kWkggS:"x1q8g9m5",kMwMTN:"xrebv38",$$css:!0},error:{kWkggS:"x1pjz0fi",kMwMTN:"x1m024r3",$$css:!0},blue:{kWkggS:"x1o0wnni",kMwMTN:"x1vvqiwl",$$css:!0},cyan:{kWkggS:"x1rgj867",kMwMTN:"x1txnczv",$$css:!0},green:{kWkggS:"x1sqjeoo",kMwMTN:"xltfdvo",$$css:!0},orange:{kWkggS:"x1e9xt6e",kMwMTN:"xm47u9q",$$css:!0},pink:{kWkggS:"xnpoty2",kMwMTN:"xiuofww",$$css:!0},purple:{kWkggS:"x16i6n6f",kMwMTN:"x1m9wyeb",$$css:!0},red:{kWkggS:"x1cibrc5",kMwMTN:"x1joocv1",$$css:!0},teal:{kWkggS:"x1jtji5o",kMwMTN:"x9x0lbs",$$css:!0},yellow:{kWkggS:"x1bo7t0x",kMwMTN:"xdhq94a",$$css:!0}};function w({variant:s="neutral",label:x,icon:r,xstyle:t,className:k,style:g,ref:n,...i}){return e.jsxs("span",{ref:n,...c(a("badge",{variant:s}),o(l.base,u[s],t),k,g),...i,children:[r,x]})}w.displayName="Badge";function p({title:s,action:x}){return e.jsxs("div",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:"12px",marginBottom:"24px"},children:[e.jsx("div",{style:{minWidth:0},children:e.jsx("h1",{style:{margin:0,fontSize:"1.75rem",fontWeight:700,color:"#1e293b"},children:s})}),x&&e.jsx("div",{style:{flexShrink:1,minWidth:0},children:x})]})}export{w as B,p as P};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

46
dist/assets/Pricing-BAqqVgmj.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/Selector-D-0RMSQ0.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

59
dist/assets/Settings-CoHSkUIw.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/StatCard-CeBP5QBY.js vendored Normal file
View File

@@ -0,0 +1 @@
import{j as e}from"./index-TNj5auBr.js";import{C as g}from"./Card-Cvh0wiAW.js";function m({title:l,value:d,icon:t,color:p="primary",trend:n,caption:o,size:x="md"}){const i=typeof n=="number"?n>=0:null,r=x==="sm",a={primary:{main:"#C01227",light:"rgba(192, 18, 39, 0.04)",border:"rgba(192, 18, 39, 0.1)"},secondary:{main:"#475569",light:"rgba(71, 85, 105, 0.04)",border:"rgba(71, 85, 105, 0.1)"},success:{main:"#10b981",light:"rgba(16, 185, 129, 0.04)",border:"rgba(16, 185, 129, 0.1)"},warning:{main:"#f59e0b",light:"rgba(245, 158, 11, 0.04)",border:"rgba(245, 158, 11, 0.1)"},error:{main:"#ef4444",light:"rgba(239, 68, 68, 0.04)",border:"rgba(239, 68, 68, 0.1)"},info:{main:"#3b82f6",light:"rgba(59, 130, 246, 0.04)",border:"rgba(59, 130, 246, 0.1)"}},s=a[p]||a.primary;return e.jsxs(g,{style:{height:"100%",position:"relative",overflow:"hidden",borderRadius:r?"12px":"16px",padding:r?"16px":"24px",border:`1px solid ${s.border}`,boxShadow:"0 4px 20px rgba(0,0,0,0.02)",background:`linear-gradient(135deg, #ffffff 0%, ${s.light} 100%)`,transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)",cursor:"pointer",boxSizing:"border-box"},className:"stat-card",children:[t&&e.jsx("div",{style:{position:"absolute",right:"-12px",bottom:"-12px",opacity:.04,transform:"rotate(-15deg)",pointerEvents:"none",color:s.main},children:e.jsx(t,{size:r?64:96})}),e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:r?"10px":"16px",position:"relative",zIndex:2},children:[e.jsx("span",{style:{fontWeight:700,fontSize:"0.75rem",color:"#64748b",textTransform:"uppercase",letterSpacing:"0.05em"},children:l}),t&&e.jsx("div",{style:{width:r?"28px":"36px",height:r?"28px":"36px",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(192, 18, 39, 0.08)",color:"#C01227"},children:e.jsx(t,{size:r?14:18})})]}),e.jsx("div",{style:{flexGrow:1,position:"relative",zIndex:2,marginBottom:i!==null||o?r?"10px":"16px":"0"},children:e.jsx("span",{style:{fontWeight:800,fontSize:r?"1.5rem":"2rem",color:"#1e293b",lineHeight:1,display:"block"},children:d})}),(i!==null||o)&&e.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:"8px",paddingTop:r?"8px":"12px",borderTop:"1px dashed #e2e8f0",position:"relative",zIndex:2},children:[i!==null&&e.jsx("div",{style:{display:"flex",alignItems:"center",gap:"2px",backgroundColor:i?"#E3F6EC":"#FEEAE9",padding:"2px 6px",borderRadius:"4px"},children:e.jsxs("span",{style:{fontSize:"11px",fontWeight:700,color:i?"#00773B":"#A82216"},children:[i?"↑":"↓"," ",Math.abs(n),"%"]})}),o&&e.jsx("span",{style:{fontSize:"0.75rem",color:"#64748b",fontWeight:600},children:o})]})]})}export{m as S};

1
dist/assets/StatusChip-Bf11bHPP.js vendored Normal file
View File

@@ -0,0 +1 @@
import{j as t}from"./index-TNj5auBr.js";import{B as d}from"./PageHeader-B9Ytwo9b.js";const v={pending:{variant:"warning",label:"Pending"},created:{variant:"info",label:"Created"},assigned:{variant:"info",label:"Assigned"},accepted:{variant:"info",label:"Accepted"},arrived:{variant:"info",label:"Arrived"},picked:{variant:"red",label:"Picked"},"in-transit":{variant:"info",label:"In Transit"},active:{variant:"red",label:"Active"},delivered:{variant:"success",label:"Delivered"},completed:{variant:"success",label:"Completed"},skipped:{variant:"warning",label:"Skipped"},failed:{variant:"error",label:"Failed"},cancelled:{variant:"error",label:"Cancelled"},"miler-assigned":{variant:"info",label:"Miler Assigned"},"pending-pickup":{variant:"warning",label:"Pending Pickup"},newclient:{variant:"info",label:"New Client"},contacted:{variant:"warning",label:"Contacted"},onboarded:{variant:"success",label:"Onboarded"},lost:{variant:"error",label:"Lost"},admin:{variant:"red",label:"Admin"},rep:{variant:"info",label:"Rep"},manager:{variant:"success",label:"Manager"},support:{variant:"warning",label:"Support"},online:{variant:"success",label:"Online"},offline:{variant:"neutral",label:"Offline"},"on-delivery":{variant:"info",label:"On Delivery"},inactive:{variant:"neutral",label:"Inactive"},paid:{variant:"success",label:"Paid"},open:{variant:"info",label:"Open"},overdue:{variant:"error",label:"Overdue"},prepaid:{variant:"success",label:"Prepaid"},cod:{variant:"warning",label:"COD"}};function s({status:a,label:n}){const i=String(a||"").toLowerCase().replace(/\s+/g,"-"),r=String(a||"").replace(/[_-]+/g," ").replace(/\b\w/g,l=>l.toUpperCase()),e=v[i]||{variant:"neutral",label:r||a};return t.jsx(d,{variant:e.variant,label:n||e.label})}export{s as S};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{r as e,j as a,i as r}from"./index-B539dxxT.js";var t={},v=r;Object.defineProperty(t,"__esModule",{value:!0});var c=t.default=void 0,i=v(e()),n=a;c=t.default=(0,i.default)((0,n.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown");var u={},f=r;Object.defineProperty(u,"__esModule",{value:!0});var s=u.default=void 0,_=f(e()),p=a;s=u.default=(0,_.default)((0,p.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp");var l={},j=r;Object.defineProperty(l,"__esModule",{value:!0});var $=l.default=void 0,h=j(e()),M=a;$=l.default=(0,h.default)((0,M.jsx)("path",{d:"M12 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m6-1.8C18 6.57 15.35 4 12 4s-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14 4.05-3.7 6-6.8 6-9.14M12 2c4.2 0 8 3.22 8 8.2 0 3.32-2.67 7.25-8 11.8-5.33-4.55-8-8.48-8-11.8C4 5.22 7.8 2 12 2"}),"PlaceOutlined");var d={},m=r;Object.defineProperty(d,"__esModule",{value:!0});var x=d.default=void 0,R=m(e()),O=a;x=d.default=(0,R.default)((0,O.jsx)("path",{d:"M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5zm-.5 1.5 1.96 2.5H17V9.5zM6 18c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m2.22-3c-.55-.61-1.33-1-2.22-1s-1.67.39-2.22 1H3V6h12v9zM18 18c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"}),"LocalShippingOutlined");var o={},b=r;Object.defineProperty(o,"__esModule",{value:!0});var S=o.default=void 0,y=b(e()),g=a;S=o.default=(0,y.default)((0,g.jsx)("path",{d:"m21.9 8.89-1.05-4.37c-.22-.9-1-1.52-1.91-1.52H5.05c-.9 0-1.69.63-1.9 1.52L2.1 8.89c-.24 1.02-.02 2.06.62 2.88.08.11.19.19.28.29V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6.94c.09-.09.2-.18.28-.28.64-.82.87-1.87.62-2.89m-2.99-3.9 1.05 4.37c.1.42.01.84-.25 1.17-.14.18-.44.47-.94.47-.61 0-1.14-.49-1.21-1.14L16.98 5zM13 5h1.96l.54 4.52c.05.39-.07.78-.33 1.07-.22.26-.54.41-.95.41-.67 0-1.22-.59-1.22-1.31zM8.49 9.52 9.04 5H11v4.69c0 .72-.55 1.31-1.29 1.31-.34 0-.65-.15-.89-.41-.25-.29-.37-.68-.33-1.07m-4.45-.16L5.05 5h1.97l-.58 4.86c-.08.65-.6 1.14-1.21 1.14-.49 0-.8-.29-.93-.47-.27-.32-.36-.75-.26-1.17M5 19v-6.03c.08.01.15.03.23.03.87 0 1.66-.36 2.24-.95.6.6 1.4.95 2.31.95.87 0 1.65-.36 2.23-.93.59.57 1.39.93 2.29.93.84 0 1.64-.35 2.24-.95.58.59 1.37.95 2.24.95.08 0 .15-.02.23-.03V19z"}),"StorefrontOutlined");export{s as a,c as b,S as c,$ as d,x as e};

22
dist/assets/Survey-B2OopkeF.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{p as G,q as K,b as W,_ as Z,G as $,au as A,v as i,j as C,w as D,K as H,x as J,y as F,a4 as Q,Z as T}from"./index-B539dxxT.js";function V(e){return G("PrivateSwitchBase",e)}K("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const X=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Y=e=>{const{classes:o,checked:d,disabled:l,edge:a}=e,r={root:["root",d&&"checked",l&&"disabled",a&&`edge${H(a)}`],input:["input"]};return J(r,V,o)},ee=F(Q,{name:"MuiSwitchBase"})(({ownerState:e})=>i({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),se=F("input",{name:"MuiSwitchBase",shouldForwardProp:T})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),oe=W.forwardRef(function(o,d){const{autoFocus:l,checked:a,checkedIcon:r,className:w,defaultChecked:h,disabled:y,disableFocusRipple:p=!1,edge:S=!1,icon:R,id:P,inputProps:I,inputRef:v,name:j,onBlur:f,onChange:g,onFocus:m,readOnly:z,required:E=!1,tabIndex:N,type:c,value:b}=o,U=Z(o,X),[B,_]=$({controlled:a,default:!!h,name:"SwitchBase",state:"checked"}),t=A(),q=s=>{m&&m(s),t&&t.onFocus&&t.onFocus(s)},L=s=>{f&&f(s),t&&t.onBlur&&t.onBlur(s)},M=s=>{if(s.nativeEvent.defaultPrevented)return;const x=s.target.checked;_(x),g&&g(s,x)};let n=y;t&&typeof n>"u"&&(n=t.disabled);const O=c==="checkbox"||c==="radio",u=i({},o,{checked:B,disabled:n,disableFocusRipple:p,edge:S}),k=Y(u);return C.jsxs(ee,i({component:"span",className:D(k.root,w),centerRipple:!0,focusRipple:!p,disabled:n,tabIndex:null,role:void 0,onFocus:q,onBlur:L,ownerState:u,ref:d},U,{children:[C.jsx(se,i({autoFocus:l,checked:a,defaultChecked:h,className:k.input,disabled:n,id:O?P:void 0,name:j,onChange:M,readOnly:z,ref:v,required:E,ownerState:u,tabIndex:N,type:c},c==="checkbox"&&b===void 0?{}:{value:b},I)),B?r:R]}))});export{oe as S};

View File

@@ -1 +0,0 @@
import{r as c,j as r,i as s,S as o,B as h}from"./index-B539dxxT.js";var t={},d=s;Object.defineProperty(t,"__esModule",{value:!0});var l=t.default=void 0,u=d(c()),e=r;l=t.default=(0,u.default)([(0,e.jsx)("path",{d:"M14 12h4v1.5h-4zm0 3h4v1.5h-4z"},"0"),(0,e.jsx)("path",{d:"M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2m-9 0V4h2v5h-2zm9 13H4V9h5c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2h5z"},"1"),(0,e.jsx)("circle",{cx:"9",cy:"13.5",r:"1.5"},"2"),(0,e.jsx)("path",{d:"M11.08 16.18c-.64-.28-1.34-.43-2.08-.43s-1.44.15-2.08.43c-.56.24-.92.78-.92 1.39V18h6v-.43c0-.61-.36-1.15-.92-1.39"},"3")],"BadgeOutlined");function p({label:i,count:n,active:a=!1}){return r.jsxs(o,{direction:"row",alignItems:"center",spacing:1,children:[r.jsx("span",{children:i}),r.jsx(h,{component:"span",sx:{minWidth:20,height:20,px:.75,borderRadius:10,fontSize:"0.72rem",fontWeight:700,lineHeight:"20px",textAlign:"center",bgcolor:a?"primary.main":"grey.200",color:a?"#fff":"text.secondary"},children:n})]})}export{p as T,l as d};

1
dist/assets/TabLabelCount-NU3aDS1r.js vendored Normal file
View File

@@ -0,0 +1 @@
import{j as e}from"./index-TNj5auBr.js";import{B as t}from"./PageHeader-B9Ytwo9b.js";function l({label:r,count:a,active:s=!1}){return e.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:"8px"},children:[e.jsx("span",{children:r}),e.jsx(t,{variant:s?"red":"neutral",label:a})]})}export{l as T};

2
dist/assets/Table-SizHLk8D.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
import{b as l,p as R,q as $,s as P,_,v as b,j,w as A,K as o,x as M,y as D,ad as N,Q as z,ae as U}from"./index-B539dxxT.js";const W=l.createContext(),E=l.createContext();function L(a){return R("MuiTableCell",a)}const q=$("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),B=["align","className","component","padding","scope","size","sortDirection","variant"],I=a=>{const{classes:e,variant:i,align:s,padding:r,size:g,stickyHeader:d}=a,x={root:["root",i,d&&"stickyHeader",s!=="inherit"&&`align${o(s)}`,r!=="normal"&&`padding${o(r)}`,`size${o(g)}`]};return M(x,L,e)},J=D("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(a,e)=>{const{ownerState:i}=a;return[e.root,e[i.variant],e[`size${o(i.size)}`],i.padding!=="normal"&&e[`padding${o(i.padding)}`],i.align!=="inherit"&&e[`align${o(i.align)}`],i.stickyHeader&&e.stickyHeader]}})(({theme:a,ownerState:e})=>b({},a.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:a.vars?`1px solid ${a.vars.palette.TableCell.border}`:`1px solid
${a.palette.mode==="light"?N(z(a.palette.divider,1),.88):U(z(a.palette.divider,1),.68)}`,textAlign:"left",padding:16},e.variant==="head"&&{color:(a.vars||a).palette.text.primary,lineHeight:a.typography.pxToRem(24),fontWeight:a.typography.fontWeightMedium},e.variant==="body"&&{color:(a.vars||a).palette.text.primary},e.variant==="footer"&&{color:(a.vars||a).palette.text.secondary,lineHeight:a.typography.pxToRem(21),fontSize:a.typography.pxToRem(12)},e.size==="small"&&{padding:"6px 16px",[`&.${q.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},e.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},e.padding==="none"&&{padding:0},e.align==="left"&&{textAlign:"left"},e.align==="center"&&{textAlign:"center"},e.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},e.align==="justify"&&{textAlign:"justify"},e.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(a.vars||a).palette.background.default})),Q=l.forwardRef(function(e,i){const s=P({props:e,name:"MuiTableCell"}),{align:r="inherit",className:g,component:d,padding:x,scope:k,size:T,sortDirection:y,variant:h}=s,m=_(s,B),t=l.useContext(W),p=l.useContext(E),u=p&&p.variant==="head";let n;d?n=d:n=u?"th":"td";let c=k;n==="td"?c=void 0:!c&&u&&(c="col");const v=h||p&&p.variant,C=b({},s,{align:r,component:n,padding:x||(t&&t.padding?t.padding:"normal"),size:T||(t&&t.size?t.size:"medium"),sortDirection:y,stickyHeader:v==="head"&&t&&t.stickyHeader,variant:v}),H=I(C);let f=null;return y&&(f=y==="asc"?"ascending":"descending"),j.jsx(J,b({as:n,ref:i,className:A(H.root,g),"aria-sort":f,scope:c,ownerState:C},m))});export{Q as T,W as a,E as b};

View File

@@ -1 +0,0 @@
import{p as v,q as y,b as p,s as m,_ as T,v as n,j as d,w as f,x as C,y as w,Q as g}from"./index-B539dxxT.js";import{a as j,b as x}from"./TableCell-Cw928AWh.js";function k(o){return v("MuiTable",o)}y("MuiTable",["root","stickyHeader"]);const S=["className","component","padding","size","stickyHeader"],_=o=>{const{classes:e,stickyHeader:s}=o;return C({root:["root",s&&"stickyHeader"]},k,e)},B=w("table",{name:"MuiTable",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:s}=o;return[e.root,s.stickyHeader&&e.stickyHeader]}})(({theme:o,ownerState:e})=>n({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":n({},o.typography.body2,{padding:o.spacing(2),color:(o.vars||o).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},e.stickyHeader&&{borderCollapse:"separate"})),h="table",eo=p.forwardRef(function(e,s){const t=m({props:e,name:"MuiTable"}),{className:c,component:a=h,padding:l="normal",size:r="medium",stickyHeader:i=!1}=t,u=T(t,S),b=n({},t,{component:a,padding:l,size:r,stickyHeader:i}),R=_(b),U=p.useMemo(()=>({padding:l,size:r,stickyHeader:i}),[l,r,i]);return d.jsx(j.Provider,{value:U,children:d.jsx(B,n({as:a,role:a===h?null:"table",ref:s,className:f(R.root,c),ownerState:b},u))})});function O(o){return v("MuiTableBody",o)}y("MuiTableBody",["root"]);const P=["className","component"],z=o=>{const{classes:e}=o;return C({root:["root"]},O,e)},A=w("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(o,e)=>e.root})({display:"table-row-group"}),E={variant:"body"},M="tbody",to=p.forwardRef(function(e,s){const t=m({props:e,name:"MuiTableBody"}),{className:c,component:a=M}=t,l=T(t,P),r=n({},t,{component:a}),i=z(r);return d.jsx(x.Provider,{value:E,children:d.jsx(A,n({className:f(i.root,c),as:a,ref:s,role:a===M?null:"rowgroup",ownerState:r},l))})});function q(o){return v("MuiTableContainer",o)}y("MuiTableContainer",["root"]);const D=["className","component"],L=o=>{const{classes:e}=o;return C({root:["root"]},q,e)},Q=w("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(o,e)=>e.root})({width:"100%",overflowX:"auto"}),so=p.forwardRef(function(e,s){const t=m({props:e,name:"MuiTableContainer"}),{className:c,component:a="div"}=t,l=T(t,D),r=n({},t,{component:a}),i=L(r);return d.jsx(Q,n({ref:s,as:a,className:f(i.root,c),ownerState:r},l))});function W(o){return v("MuiTableHead",o)}y("MuiTableHead",["root"]);const X=["className","component"],F=o=>{const{classes:e}=o;return C({root:["root"]},W,e)},G=w("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(o,e)=>e.root})({display:"table-header-group"}),I={variant:"head"},$="thead",ao=p.forwardRef(function(e,s){const t=m({props:e,name:"MuiTableHead"}),{className:c,component:a=$}=t,l=T(t,X),r=n({},t,{component:a}),i=F(r);return d.jsx(x.Provider,{value:I,children:d.jsx(G,n({as:a,className:f(i.root,c),ref:s,role:a===$?null:"rowgroup",ownerState:r},l))})});function J(o){return v("MuiTableRow",o)}const H=y("MuiTableRow",["root","selected","hover","head","footer"]),K=["className","component","hover","selected"],V=o=>{const{classes:e,selected:s,hover:t,head:c,footer:a}=o;return C({root:["root",s&&"selected",t&&"hover",c&&"head",a&&"footer"]},J,e)},Y=w("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:s}=o;return[e.root,s.head&&e.head,s.footer&&e.footer]}})(({theme:o})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${H.hover}:hover`]:{backgroundColor:(o.vars||o).palette.action.hover},[`&.${H.selected}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})`:g(o.palette.primary.main,o.palette.action.selectedOpacity),"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))`:g(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity)}}})),N="tr",ro=p.forwardRef(function(e,s){const t=m({props:e,name:"MuiTableRow"}),{className:c,component:a=N,hover:l=!1,selected:r=!1}=t,i=T(t,K),u=p.useContext(x),b=n({},t,{component:a,hover:l,selected:r,head:u&&u.variant==="head",footer:u&&u.variant==="footer"}),R=V(b);return d.jsx(Y,n({as:a,ref:s,className:f(R.root,c),role:a===N?null:"row",ownerState:b},i))});export{so as T,eo as a,ao as b,ro as c,to as d};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

21
dist/assets/TeamUsers-DashtbgG.js vendored Normal file

File diff suppressed because one or more lines are too long

11
dist/assets/Tenants-BtGlpICZ.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/TextArea-B4wLAlyG.js vendored Normal file
View File

@@ -0,0 +1 @@
import{o as Z,r as n,j as l,p as L,q as ee,y as se,n as ie,s as ne,t as le,v as re}from"./index-TNj5auBr.js";import{a as xe,F as ae,i as ce,b as oe,c as de,d as I}from"./TextInput-DL-5979h.js";const te=.8,ue={wrapper:{kY2c9j:"x1vjfegm",kGNEyG:"x1cy8zhl",k8WAf4:"xu0wf1k",$$css:!0}},pe={sm:{$$css:!0},md:{$$css:!0},lg:{k8WAf4:"xce4md1",$$css:!0}};function me({label:q,isLabelHidden:S=!1,description:x,isOptional:u=!1,isRequired:p=!1,onChange:a,changeAction:m,isLoading:N=!1,value:f,placeholder:R,rows:$=3,isDisabled:c=!1,status:e,labelTooltip:D,startIcon:y,hasSpellCheck:T=!0,onPaste:W,maxLength:s,hasAutoFocus:g=!1,size:M,htmlName:B,onFocus:C,onBlur:E,width:F,xstyle:H,className:O,style:P,ref:U,...A}){const j=Z(M,"md"),w=n.useId(),z=n.useId(),v=n.useId(),b=n.useId(),k=n.useRef(null),h=n.useRef(null),[,G]=n.useTransition(),[i,V]=n.useOptimistic(f),o=N||i!==f,_={warning:"warning",error:"error",success:"success"},Y={warning:"warning",error:"error",success:"success"},J=[x?z:null,e!=null&&e.message?v:null,s!=null?b:null].filter(Boolean).join(" ")||void 0,K=r=>{const t=r.target.value;a==null||a(t,r),m&&!r.defaultPrevented&&G(async()=>{V(t),await m(t,r)})},d=c||o,{onClick:Q,onMouseUp:X}=xe({containerRef:h,inputRef:k,disabled:d});return l.jsxs(ae,{label:q,isLabelHidden:S,description:x,inputID:w,descriptionID:x?z:void 0,isOptional:u,isRequired:p,isDisabled:c,status:e?{type:e.type,message:e.message,messageID:e.message?v:void 0}:void 0,labelTooltip:D,width:F,children:[l.jsxs("div",{ref:h,onClick:Q,onMouseUp:X,...ne(re("textarea",{size:j,status:(e==null?void 0:e.type)??null}),le(I.base,ue.wrapper,pe[j],d&&I.disabled,e&&de[e.type],e&&oe[e.type],e&&ce[e.type],H),O,P),children:[y&&L(y,{size:"sm",color:"secondary"}),l.jsx("textarea",{...A,ref:ee(U,k),id:w,name:B,value:i,onChange:K,onPaste:W,onFocus:C,onBlur:E,placeholder:R,rows:$,disabled:c,spellCheck:T,autoFocus:g,"data-autofocus":g||void 0,"aria-describedby":J,"aria-required":p&&!u?"true":void 0,"aria-invalid":(e==null?void 0:e.type)==="error"||s!=null&&i.length>s?"true":void 0,"aria-busy":o||void 0,...{0:{className:"x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 x6pjikd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5 x288g5"},2:{className:"x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 x6pjikd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5 x288g5 x1h6gzvc"},1:{className:"x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 x6pjikd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5 x288g5 x1we12cn"},3:{className:"x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 x6pjikd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5 x288g5 x1h6gzvc x1we12cn"}}[!!d<<1|!!e<<0]}),o&&l.jsx(se,{size:"sm"}),e&&l.jsx("span",{className:"x10l6tqk xctzyg x72tfeb x47corl x78zum5",children:l.jsx(ie,{icon:_[e.type],size:"md",color:Y[e.type]})})]}),s!=null&&l.jsxs("div",{id:b,...{0:{className:"x78zum5 x13a6bvl xcsaf9d x9ynric x141an7d xv1l7n4"},1:{className:"x78zum5 x13a6bvl xcsaf9d x9ynric x141an7d xjt36v0"}}[(i.length>s)<<0],children:[i.length,"/",s,l.jsx("span",{"aria-live":"polite",className:"x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",children:i.length>=s*te?i.length>s?`${i.length-s} characters over limit`:`${s-i.length} characters remaining`:""})]})]})}me.displayName="TextArea";export{me as T};

File diff suppressed because one or more lines are too long

1
dist/assets/TextInput-DL-5979h.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{r as o,j as e,i as s,ar as c,B as r,S as l,T as n}from"./index-B539dxxT.js";import{d}from"./HomeOutlined-CczOYYWo.js";import{B as u}from"./Button-D7QX3_Jz.js";var t={},x=s;Object.defineProperty(t,"__esModule",{value:!0});var a=t.default=void 0,h=x(o()),m=e;a=t.default=(0,h.default)((0,m.jsx)("path",{d:"m13.7826 15.1719 2.1213-2.1213 5.9963 5.9962-2.1213 2.1213zM17.5 10c1.93 0 3.5-1.57 3.5-3.5 0-.58-.16-1.12-.41-1.6l-2.7 2.7-1.49-1.49 2.7-2.7c-.48-.25-1.02-.41-1.6-.41C15.57 3 14 4.57 14 6.5c0 .41.08.8.21 1.16l-1.85 1.85-1.78-1.78.71-.71-1.41-1.41L12 3.49c-1.17-1.17-3.07-1.17-4.24 0L4.22 7.03l1.41 1.41H2.81l-.71.71 3.54 3.54.71-.71V9.15l1.41 1.41.71-.71 1.78 1.78-7.41 7.41 2.12 2.12L16.34 9.79c.36.13.75.21 1.16.21"}),"ConstructionOutlined");function j(){const i=c();return e.jsx(r,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",p:3,textAlign:"center"},children:e.jsxs(l,{spacing:2.5,alignItems:"center",children:[e.jsx(r,{sx:{width:110,height:110,borderRadius:"50%",bgcolor:"primary.lighter",color:"primary.main",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(a,{sx:{fontSize:56}})}),e.jsx(n,{variant:"h3",sx:{fontWeight:700,color:"grey.800"},children:"Under Construction"}),e.jsx(n,{variant:"body1",color:"text.secondary",sx:{maxWidth:460},children:"Hey! Please check out this site later. We are doing some maintenance on it right now."}),e.jsx(u,{variant:"contained",size:"large",startIcon:e.jsx(d,{}),onClick:()=>i("/dashboard"),sx:{mt:1},children:"Back To Home"})]})})}export{j as default};

View File

@@ -0,0 +1,6 @@
import{c as n,u as i,j as e,H as s,T as o,B as a}from"./index-TNj5auBr.js";import{H as r}from"./house-DtzjLs3n.js";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const c=[["rect",{x:"2",y:"6",width:"20",height:"8",rx:"1",key:"1estib"}],["path",{d:"M17 14v7",key:"7m2elx"}],["path",{d:"M7 14v7",key:"1cm7wv"}],["path",{d:"M17 3v3",key:"1v4jwn"}],["path",{d:"M7 3v3",key:"7o6guu"}],["path",{d:"M10 14 2.3 6.3",key:"1023jk"}],["path",{d:"m14 6 7.7 7.7",key:"1s8pl2"}],["path",{d:"m8 6 8 8",key:"hl96qh"}]],d=n("construction",c);function x(){const t=i();return e.jsx("div",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",padding:"24px",textAlign:"center",backgroundColor:"#f8fafc",fontFamily:"system-ui, sans-serif"},children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"20px",alignItems:"center"},children:[e.jsx("div",{style:{width:"110px",height:"110px",borderRadius:"50%",backgroundColor:"rgba(192, 18, 39, 0.08)",color:"#C01227",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(d,{size:56})}),e.jsx(s,{level:2,children:"Under Construction"}),e.jsx("div",{style:{maxWidth:"460px"},children:e.jsx(o,{type:"body",color:"secondary",children:"Hey! Please check out this site later. We are doing some maintenance on it right now."})}),e.jsx(a,{variant:"primary",icon:e.jsx(r,{size:16}),onClick:()=>t("/dashboard"),label:"Back To Home"})]})})}export{x as default};

View File

@@ -1 +0,0 @@
import{r as a,j as r,i}from"./index-B539dxxT.js";var e={},l=i;Object.defineProperty(e,"__esModule",{value:!0});var u=e.default=void 0,s=l(a()),f=r;u=e.default=(0,s.default)((0,f.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility");var t={},c=i;Object.defineProperty(t,"__esModule",{value:!0});var d=t.default=void 0,o=c(a()),v=r;d=t.default=(0,o.default)((0,v.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff");export{u as a,d};

6
dist/assets/chevron-up-CSuWANIv.js vendored Normal file
View File

@@ -0,0 +1,6 @@
import{c as o}from"./index-TNj5auBr.js";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const c=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],n=o("chevron-up",c);export{n as C};

6
dist/assets/circle-check-DCMZ9tv4.js vendored Normal file
View File

@@ -0,0 +1,6 @@
import{c}from"./index-TNj5auBr.js";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],r=c("circle-check",e);export{r as C};

6
dist/assets/contact-CqGb35TO.js vendored Normal file
View File

@@ -0,0 +1,6 @@
import{c as t}from"./index-TNj5auBr.js";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const c=[["path",{d:"M16 2v2",key:"scm5qe"}],["path",{d:"M7 22v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2",key:"1waht3"}],["path",{d:"M8 2v2",key:"pbkmx"}],["circle",{cx:"12",cy:"11",r:"3",key:"itu57m"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]],a=t("contact",c);export{a as C};

21
dist/assets/dayjs.min-DXk7t_A6.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/format-BZvJYrzU.js vendored Normal file
View File

@@ -0,0 +1 @@
const a=t=>"CLI-"+String(t).replace(/[^a-zA-Z0-9]/g,"").toUpperCase().substring(0,6).padStart(6,"0");function i(t){const e=t.payload??t,s=e.id??t.id,n=a(s);return{id:s,logicalId:n,clientId:n,name:e.first_name?`${e.first_name} ${e.last_name||""}`.trim():e.name||"—",email:e.email||"",phone:e.phone||"",city:e.city||"",businessState:e.businessState||"",businessType:e.businessType||"",status:e.status||"unknown",parcelVolume:Number(e.parcelVolume)||0,activeContracts:Number(e.activeContracts)||0,frequency:e.frequency||"",provider:e.provider||"",efficiency:e.efficiency||"",logisticsSegment:e.logisticsSegment||"",transitFrom:e.transitFrom||"",transitTo:e.transitTo||"",neighbourhood:e.neighbourhood||e.surveyZone||"",surveyAddress:e.surveyAddress||e.address||"",surveyLat:e.survey_lat??e.surveyLat??"",surveyLng:e.survey_long??e.surveyLng??"",dataConsent:e.dataConsent||"",lastUpdated:e.lastUpdated||"",pincode:e.pincode||e.postal_code||"",notes:e.notes||""}}function r(t){const e=t.payload??t;return{id:e.id??t.id??e.uid??t.uid??e.email,name:e.first_name?`${e.first_name} ${e.last_name||""}`.trim():e.name||"—",email:e.email||"",phone:e.phone||"",role:e.role||"unknown",pin:e.pin||""}}const o=t=>String(t||"").replace(/[_-]+/g," ").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/\s+/g," ").replace(/\b\w/g,e=>e.toUpperCase()).trim();export{i as a,r as b,o as t};

6
dist/assets/house-DtzjLs3n.js vendored Normal file
View File

@@ -0,0 +1,6 @@
import{c as a}from"./index-TNj5auBr.js";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const o=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],s=a("house",o);export{s as H};

File diff suppressed because one or more lines are too long

1
dist/assets/index-BVbC_rkM.css vendored Normal file

File diff suppressed because one or more lines are too long

450
dist/assets/index-TNj5auBr.js vendored Normal file

File diff suppressed because one or more lines are too long

11
dist/assets/lock-8veRwQu6.js vendored Normal file
View File

@@ -0,0 +1,11 @@
import{c}from"./index-TNj5auBr.js";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const e=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],r=c("eye",e);/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const o=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],y=c("lock",o);export{r as E,y as L};

6
dist/assets/mail-DG37riix.js vendored Normal file
View File

@@ -0,0 +1,6 @@
import{c as e}from"./index-TNj5auBr.js";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const o=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],a=e("mail",o);export{a as M};

6
dist/assets/map-pin-BQjktuvD.js vendored Normal file
View File

@@ -0,0 +1,6 @@
import{c}from"./index-TNj5auBr.js";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const a=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],o=c("map-pin",a);export{o as M};

6
dist/assets/phone-BqZPAT1U.js vendored Normal file
View File

@@ -0,0 +1,6 @@
import{r as s,j as a,L,B as i,l as A,H as I,T as k,s as C,v as D,c as H}from"./index-TNj5auBr.js";import{D as P,L as B}from"./plus-CZCr3OEY.js";import{H as E}from"./HStack-tSPMb9QU.js";function N({ref:l,isOpen:r,isInline:n,onOpenChange:e,title:d,description:c,cancelLabel:p="Cancel",actionLabel:h,actionVariant:x="destructive",isActionLoading:u,onAction:j,width:m=400,xstyle:y,className:g,style:b,"data-testid":f}){const t=s.useId(),o=s.useId(),v=s.useCallback(()=>{e(!1)},[e]);return a.jsx(P,{ref:l,isOpen:r,isInline:n,onOpenChange:e,width:m,purpose:"form",role:"alertdialog","aria-labelledby":t,"aria-describedby":o,...C(D("alert-dialog"),{className:g,style:b}),xstyle:y,"data-testid":f,children:a.jsx(L,{content:a.jsxs(A,{children:[a.jsx(I,{level:2,id:t,children:d}),a.jsx(k,{type:"body",color:"secondary",id:o,children:c})]}),footer:a.jsx(B,{children:a.jsxs(E,{gap:2,hAlign:"end",children:[a.jsx(i,{variant:"ghost",label:p,onClick:v}),a.jsx(i,{variant:x,label:h,onClick:j,isLoading:u})]})})})})}N.displayName="AlertDialog";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const T=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],M=H("phone",T);export{N as A,M as P};

6
dist/assets/plus-CZCr3OEY.js vendored Normal file

File diff suppressed because one or more lines are too long

6
dist/assets/square-pen-BItzjjNj.js vendored Normal file
View File

@@ -0,0 +1,6 @@
import{c as a}from"./index-TNj5auBr.js";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const e=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],c=a("square-pen",e);export{c as S};

6
dist/assets/trash-2-Mcf_1vVz.js vendored Normal file
View File

@@ -0,0 +1,6 @@
import{c as a}from"./index-TNj5auBr.js";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const t=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],o=a("trash-2",t);export{o as T};

16
dist/assets/truck-DmPHp74_.js vendored Normal file
View File

@@ -0,0 +1,16 @@
import{c as a}from"./index-TNj5auBr.js";/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const c=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],d=a("map",c);/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const e=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],h=a("store",e);/**
* @license lucide-react v1.22.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const t=[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],p=a("truck",t);export{d as M,h as S,p as T};

3
dist/index.html vendored
View File

@@ -13,7 +13,8 @@
rel="stylesheet" rel="stylesheet"
/> />
<title>Doormile CRM</title> <title>Doormile CRM</title>
<script type="module" crossorigin src="/assets/index-B539dxxT.js"></script> <script type="module" crossorigin src="/assets/index-TNj5auBr.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BVbC_rkM.css">
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>

BIN
dist/navbarLogo.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB