Files
doormile_crm_build/dist/assets/PhoneOutlined-BAxl2EI5.js
2026-06-22 18:12:18 +05:30

2 lines
7.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{p as Y,q as O,b as z,s as tt,_ as G,j as e,v as s,w as j,x as ot,y as h,T as ct,Z as ut,$ as et,a0 as pt,I as F,F as V,a1 as dt,a2 as gt,M as bt,a3 as xt,r as mt,i as Bt}from"./index-DL6WD4dx.js";import{K as ht,a as Pt}from"./DeleteOutline-e0zZxTBj.js";import{T as K}from"./TableCell-Bm3XvvAz.js";import{S as ft}from"./TextField-DEgFhXxt.js";function vt(t){return Y("MuiDialogContentText",t)}O("MuiDialogContentText",["root"]);const It=["children","className"],Rt=t=>{const{classes:o}=t,u=ot({root:["root"]},vt,o);return s({},o,u)},Tt=h(ct,{shouldForwardProp:t=>ut(t)||t==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(t,o)=>o.root})({}),Qt=z.forwardRef(function(o,p){const u=tt({props:o,name:"MuiDialogContentText"}),{className:m}=u,P=G(u,It),f=Rt(P);return e.jsx(Tt,s({component:"p",variant:"body1",color:"text.secondary",ref:p,ownerState:P,className:j(f.root,m)},u,{classes:f}))}),Ct=et(e.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),Lt=et(e.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),St=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],wt=z.forwardRef(function(o,p){var u,m,P,f,_,k,I,d;const{backIconButtonProps:D,count:R,disabled:T=!1,getItemAriaLabel:g,nextIconButtonProps:H,onPageChange:C,page:a,rowsPerPage:x,showFirstButton:B,showLastButton:L,slots:b={},slotProps:n={}}=o,U=G(o,St),l=pt(),q=v=>{C(v,0)},E=v=>{C(v,a-1)},S=v=>{C(v,a+1)},i=v=>{C(v,Math.max(0,Math.ceil(R/x)-1))},r=(u=b.firstButton)!=null?u:F,w=(m=b.lastButton)!=null?m:F,y=(P=b.nextButton)!=null?P:F,N=(f=b.previousButton)!=null?f:F,M=(_=b.firstButtonIcon)!=null?_:Ct,A=(k=b.lastButtonIcon)!=null?k:Lt,c=(I=b.nextButtonIcon)!=null?I:ht,Z=(d=b.previousButtonIcon)!=null?d:Pt,st=l?w:r,nt=l?y:N,at=l?N:y,lt=l?r:w,it=l?n.lastButton:n.firstButton,J=l?n.nextButton:n.previousButton,Q=l?n.previousButton:n.nextButton,rt=l?n.firstButton:n.lastButton;return e.jsxs("div",s({ref:p},U,{children:[B&&e.jsx(st,s({onClick:q,disabled:T||a===0,"aria-label":g("first",a),title:g("first",a)},it,{children:l?e.jsx(A,s({},n.lastButtonIcon)):e.jsx(M,s({},n.firstButtonIcon))})),e.jsx(nt,s({onClick:E,disabled:T||a===0,color:"inherit","aria-label":g("previous",a),title:g("previous",a)},J??D,{children:l?e.jsx(c,s({},n.nextButtonIcon)):e.jsx(Z,s({},n.previousButtonIcon))})),e.jsx(at,s({onClick:S,disabled:T||(R!==-1?a>=Math.ceil(R/x)-1:!1),color:"inherit","aria-label":g("next",a),title:g("next",a)},Q??H,{children:l?e.jsx(Z,s({},n.previousButtonIcon)):e.jsx(c,s({},n.nextButtonIcon))})),L&&e.jsx(lt,s({onClick:i,disabled:T||a>=Math.ceil(R/x)-1,"aria-label":g("last",a),title:g("last",a)},rt,{children:l?e.jsx(M,s({},n.firstButtonIcon)):e.jsx(A,s({},n.lastButtonIcon))}))]}))});function yt(t){return Y("MuiTablePagination",t)}const $=O("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var X;const Mt=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],jt=h(K,{name:"MuiTablePagination",slot:"Root",overridesResolver:(t,o)=>o.root})(({theme:t})=>({overflow:"auto",color:(t.vars||t).palette.text.primary,fontSize:t.typography.pxToRem(14),"&:last-child":{padding:0}})),$t=h(xt,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(t,o)=>s({[`& .${$.actions}`]:o.actions},o.toolbar)})(({theme:t})=>({minHeight:52,paddingRight:2,[`${t.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[t.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${$.actions}`]:{flexShrink:0,marginLeft:20}})),_t=h("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(t,o)=>o.spacer})({flex:"1 1 100%"}),kt=h("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(t,o)=>o.selectLabel})(({theme:t})=>s({},t.typography.body2,{flexShrink:0})),Dt=h(ft,{name:"MuiTablePagination",slot:"Select",overridesResolver:(t,o)=>s({[`& .${$.selectIcon}`]:o.selectIcon,[`& .${$.select}`]:o.select},o.input,o.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${$.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),Nt=h(bt,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(t,o)=>o.menuItem})({}),At=h("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(t,o)=>o.displayedRows})(({theme:t})=>s({},t.typography.body2,{flexShrink:0}));function Ft({from:t,to:o,count:p}){return`${t}${o} of ${p!==-1?p:`more than ${o}`}`}function zt(t){return`Go to ${t} page`}const Ht=t=>{const{classes:o}=t;return ot({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},yt,o)},Vt=z.forwardRef(function(o,p){var u;const m=tt({props:o,name:"MuiTablePagination"}),{ActionsComponent:P=wt,backIconButtonProps:f,className:_,colSpan:k,component:I=K,count:d,disabled:D=!1,getItemAriaLabel:R=zt,labelDisplayedRows:T=Ft,labelRowsPerPage:g="Rows per page:",nextIconButtonProps:H,onPageChange:C,onRowsPerPageChange:a,page:x,rowsPerPage:B,rowsPerPageOptions:L=[10,25,50,100],SelectProps:b={},showFirstButton:n=!1,showLastButton:U=!1,slotProps:l={},slots:q={}}=m,E=G(m,Mt),S=m,i=Ht(S),r=(u=l==null?void 0:l.select)!=null?u:b,w=r.native?"option":Nt;let y;(I===K||I==="td")&&(y=k||1e3);const N=V(r.id),M=V(r.labelId),A=()=>d===-1?(x+1)*B:B===-1?d:Math.min(d,(x+1)*B);return e.jsx(jt,s({colSpan:y,ref:p,as:I,ownerState:S,className:j(i.root,_)},E,{children:e.jsxs($t,{className:i.toolbar,children:[e.jsx(_t,{className:i.spacer}),L.length>1&&e.jsx(kt,{className:i.selectLabel,id:M,children:g}),L.length>1&&e.jsx(Dt,s({variant:"standard"},!r.variant&&{input:X||(X=e.jsx(dt,{}))},{value:B,onChange:a,id:N,labelId:M},r,{classes:s({},r.classes,{root:j(i.input,i.selectRoot,(r.classes||{}).root),select:j(i.select,(r.classes||{}).select),icon:j(i.selectIcon,(r.classes||{}).icon)}),disabled:D,children:L.map(c=>z.createElement(w,s({},!gt(w)&&{ownerState:S},{className:i.menuItem,key:c.label?c.label:c,value:c.value?c.value:c}),c.label?c.label:c))})),e.jsx(At,{className:i.displayedRows,children:T({from:d===0?0:x*B+1,to:A(),count:d===-1?-1:d,page:x})}),e.jsx(P,{className:i.actions,backIconButtonProps:f,count:d,nextIconButtonProps:H,onPageChange:C,page:x,rowsPerPage:B,showFirstButton:n,showLastButton:U,slotProps:l.actions,slots:q.actions,getItemAriaLabel:R,disabled:D})]})}))});var W={},Ut=Bt;Object.defineProperty(W,"__esModule",{value:!0});var qt=W.default=void 0,Et=Ut(mt()),Kt=e;qt=W.default=(0,Et.default)((0,Kt.jsx)("path",{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79zm9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75zM7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1"}),"PhoneOutlined");export{Qt as D,Vt as T,qt as d};