!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={1269:(e,t,r)=>{r.d(t,{default:()=>d});var n=r(2015),a=r.n(n),l=r(8619),o=r(6272),i=r(8395);const d=({title:e,rows:t})=>a().createElement(l.Card,{sx:{minWidth:275,borderRadius:"10px",height:"100%"},variant:"outlined"},a().createElement(l.CardContent,null,a().createElement(l.Typography,{gutterBottom:!0,variant:"h6"},e),a().createElement(l.List,{sx:{display:"flex",marginTop:"20px"}},(t??[]).map(((e,r)=>a().createElement(a().Fragment,{key:`row-${e.label}-${r}`},a().createElement(l.ListItem,{sx:{display:"flex",flexDirection:"column",height:50}},a().createElement(o.A,null,e.label),a().createElement(i.A,null,e.value)),r<t.length-1&&a().createElement(l.Divider,{orientation:"vertical",flexItem:!0})))))))},1104:(e,t,r)=>{r.d(t,{default:()=>d});var n=r(2015),a=r.n(n),l=r(8619),o=r(6272),i=r(8395);const d=({title:e,rows:t})=>a().createElement(l.Card,{sx:{minWidth:275,borderRadius:"10px",height:"100%"},variant:"outlined"},a().createElement(l.CardContent,null,a().createElement(l.Typography,{gutterBottom:!0,variant:"h6"},e),a().createElement(l.List,{sx:{marginTop:"20px"}},(t??[]).map(((e,r)=>a().createElement(l.ListItem,{key:e.id??e.label,divider:r<(t??[]).length-1,sx:{display:"flex",height:50}},a().createElement(o.A,null,e.label),a().createElement(i.A,null,e.value)))))))},7656:(e,t,r)=>{r.d(t,{default:()=>d});var n=r(2015),a=r.n(n),l=r(8619),o=r(8395),i=r(6272);const d=({title:e,rows:t=[],columns:r=[]})=>a().createElement(l.Card,{sx:{minWidth:275,borderRadius:"10px",height:"100%"},variant:"outlined"},a().createElement(l.CardContent,null,a().createElement(l.Typography,{gutterBottom:!0,variant:"h6"},e),a().createElement(l.List,{sx:{marginTop:"20px"}},a().createElement(l.ListItem,{sx:{display:"flex",height:50,gap:2}},r.map(((e,t)=>a().createElement(i.A,{key:`col-${e.key}-${t}`},e.label)))),a().createElement(l.Divider,{component:"li",role:"presentation"}),t.map(((e,n)=>a().createElement(a().Fragment,{key:`row-${n}`},a().createElement(l.ListItem,{sx:{display:"flex",minHeight:60,gap:2}},r.map(((t,r)=>a().createElement(o.A,{key:`col-val-${t.key}-${r}`},e[t.key])))),n<t.length-1&&a().createElement(l.Divider,{component:"li",role:"presentation"})))))))},6272:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(8619),a=r(2015),l=r.n(a);const o=({children:e})=>l().createElement(n.Typography,{variant:"subtitle2",component:"div",sx:{minWidth:120,alignSelf:"self-start"}},e)},8395:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(8619),a=r(2015),l=r.n(a);const o=({children:e})=>l().createElement(n.Typography,{variant:"body2",component:"div",sx:{textAlign:"left",minWidth:120,alignSelf:"self-start"}},e)},8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var l=t[n]={exports:{}};return e[n](l,l.exports,r),l.exports}(()=>{r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t}})(),(()=>{r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var n={};r.r(n),r.d(n,{InlineCard:()=>a.default,ListCard:()=>l.default,TableCard:()=>o.default});var a=r(1269),l=r(1104),o=r(7656);return n})()));
//# sourceMappingURL=cards.js.map