import{aX as f,dH as g,dI as m,bc as a,bd as t,V as l,b as S,E as L}from"./index-DWFi48i_.js";const c=e=>String(e??"").toLowerCase(),W=e=>{const r=f(g);if(!r||r.length===0)return{read:!0,write:!0,create:!0,loading:!0};const _=c(e),n=r.find(p=>c(p.applicationEntityName)===_);return n?{read:!!n.read,write:!!n.write,create:!!n.create,loading:!1}:{read:!1,write:!1,create:!1,loading:!1}},X=()=>f(m);var u={},j=a;Object.defineProperty(u,"__esModule",{value:!0});var R=u.default=void 0,$=j(t()),O=l;R=u.default=(0,$.default)((0,O.jsx)("path",{d:"M6.99 11 3 15l3.99 4v-3H14v-2H6.99zM21 9l-3.99-4v3H10v2h7.01v3z"}),"SwapHoriz");const h=e=>{switch(e==null?void 0:e.toUpperCase()){case"AVAILABLE":return"success";case"LOW_STOCK":case"PARTIAL_AVAILABLE":return"warning";case"OUT_OF_STOCK":return"error";default:return"default"}},x=e=>{switch(e==null?void 0:e.toUpperCase()){case"AVAILABLE":return"In Stock";case"LOW_STOCK":return"Low Stock";case"PARTIAL_AVAILABLE":return"Partial";case"OUT_OF_STOCK":return"Out of Stock";default:return e??"Unknown"}},G=({status:e,size:r="small"})=>e?S(L,{label:x(e),color:h(e),size:r,variant:"outlined",sx:{height:r==="small"?20:void 0,fontSize:r==="small"?11:void 0}}):null;var o={},A=a;Object.defineProperty(o,"__esModule",{value:!0});var w=o.default=void 0,C=A(t()),I=l;w=o.default=(0,C.default)((0,I.jsx)("path",{d:"M9.01 14H2v2h7.01v3L13 15l-3.99-4zm5.98-1v-3H22V8h-7.01V5L11 9z"}),"CompareArrows");var i={},T=a;Object.defineProperty(i,"__esModule",{value:!0});var b=i.default=void 0,P=T(t()),M=l;b=i.default=(0,P.default)((0,M.jsx)("path",{d:"m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"}),"TrendingUp");var d={},z=a;Object.defineProperty(d,"__esModule",{value:!0});var D=d.default=void 0,H=z(t()),q=l;D=d.default=(0,H.default)((0,q.jsx)("path",{d:"m16 18 2.29-2.29-4.88-4.88-4 4L2 7.41 3.41 6l6 6 4-4 6.3 6.29L22 12v6z"}),"TrendingDown");var v={},E=a;Object.defineProperty(v,"__esModule",{value:!0});var V=v.default=void 0,y=E(t()),U=l;V=v.default=(0,y.default)((0,U.jsx)("path",{d:"m22 12-4-4v3H3v2h15v3z"}),"TrendingFlat");var s={},k=a;Object.defineProperty(s,"__esModule",{value:!0});var B=s.default=void 0,F=k(t()),K=l;B=s.default=(0,F.default)((0,K.jsx)("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"RemoveCircleOutline");export{G as S,R as a,V as b,b as c,w as d,D as e,B as f,W as g,X as u};
