@e-llm-studio/citation 0.0.251-beta.1 → 0.0.251

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");const t={wrapper:{alignItems:"center",justifyContent:"center",textAlign:"center"},inner:{width:"100%"},iconWrapper:{width:"80px",height:"80px",background:"linear-gradient(to right, #3B82F6, #9333EA)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px auto"},icon:{width:"40px",height:"40px",color:"#FFFFFF"},heading:{fontSize:"36px",fontWeight:"bold",color:"#9333EA",marginBottom:"16px"},text:{fontSize:"18px",color:"#4B5563",lineHeight:1.6,textAlign:"center"},errorState:{color:"#CE3928",padding:"18px 0px",display:"flex",justifyContent:"center",width:"100%"}},n=e.jsx("svg",{style:t.icon,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})});exports.comingSoonStyles=t,exports.defaultIcon=n;
2
+ //# sourceMappingURL=BookemonStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookemonStyles.js","sources":["../../../../src/features/Bookemon/BookemonStyles.tsx"],"sourcesContent":["import type { CSSProperties } from 'react';\n\nexport const comingSoonStyles: { [key: string]: CSSProperties } = {\n wrapper: { alignItems: 'center', justifyContent: 'center', textAlign: 'center' },\n inner: { width: '100%' },\n iconWrapper: { width: '80px', height: '80px', background: 'linear-gradient(to right, #3B82F6, #9333EA)', borderRadius: '50%', display: 'flex', alignItems: 'center', justifyContent: 'center', margin: '0 auto 24px auto' },\n icon: { width: '40px', height: '40px', color: '#FFFFFF' },\n heading: { fontSize: '36px', fontWeight: 'bold', color: '#9333EA', marginBottom: '16px' },\n text: { fontSize: '18px', color: '#4B5563', lineHeight: 1.6, textAlign: 'center' },\n errorState: { color: '#CE3928', padding: '18px 0px', display: 'flex', justifyContent: 'center', width: '100%' },\n};\n\nexport const defaultIcon = <svg style={comingSoonStyles.icon} fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\"><path strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={2} d=\"M13 10V3L4 14h7v7l9-11h-7z\" /></svg>;\n"],"names":["comingSoonStyles","wrapper","alignItems","justifyContent","textAlign","inner","width","iconWrapper","height","background","borderRadius","display","margin","icon","color","heading","fontSize","fontWeight","marginBottom","text","lineHeight","errorState","padding","defaultIcon","style","fill","stroke","viewBox","children","jsx","strokeLinecap","strokeLinejoin","strokeWidth","d"],"mappings":"uGAEO,MAAMA,EAAqD,CAChEC,QAAS,CAAEC,WAAY,SAAUC,eAAgB,SAAUC,UAAW,UACtEC,MAAO,CAAEC,MAAO,QAChBC,YAAa,CAAED,MAAO,OAAQE,OAAQ,OAAQC,WAAY,8CAA+CC,aAAc,MAAOC,QAAS,OAAQT,WAAY,SAAUC,eAAgB,SAAUS,OAAQ,oBACvMC,KAAM,CAAEP,MAAO,OAAQE,OAAQ,OAAQM,MAAO,WAC9CC,QAAS,CAAEC,SAAU,OAAQC,WAAY,OAAQH,MAAO,UAAWI,aAAc,QACjFC,KAAM,CAAEH,SAAU,OAAQF,MAAO,UAAWM,WAAY,IAAKhB,UAAW,UACxEiB,WAAY,CAAEP,MAAO,UAAWQ,QAAS,WAAYX,QAAS,OAAQR,eAAgB,SAAUG,MAAO,SAG5FiB,QAAe,MAAI,CAAAC,MAAOxB,EAAiBa,KAAMY,KAAK,OAAOC,OAAO,eAAeC,QAAQ,YAAYC,SAACC,MAAA,OAAA,CAAKC,cAAc,QAAQC,eAAe,QAAQC,YAAa,EAAGC,EAAE"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("react"),r=require("lucide-react");const t=r=>o.forwardRef(({fontSize:o,size:t,sx:n,style:s,...c},p)=>{const i=t??("small"===o?18:"large"===o?28:"number"==typeof o?o:24);return e.jsx(r,{ref:p,size:i,style:{...n,...s},...c})}),n=t(r.CirclePlus),s=t(r.ArrowLeft),c=t(r.ArrowRight),p=t(r.Sparkles),i=t(r.WandSparkles),x=t(r.MessageCircle);t(r.MessageCircle),t(r.CheckCircle);const a=t(r.Check),l=t(r.ChevronLeft),u=t(r.ChevronRight),h=t(r.Minimize),I=t(r.X),C=t(r.X),d=t(r.Copy),g=t(r.Moon),f=t(r.Trash2),v=t(r.MoveVertical),w=t(r.Clipboard),b=t(r.ChevronUp),M=t(r.ChevronUp),A=t(r.ChevronDown),O=t(r.ChevronDown),R=t(r.Maximize),k=t(r.Github),y=t(r.Info),L=t(r.Info),m=t(r.ChevronDown),D=t(r.ChevronUp),S=t(r.Sun),z=t(r.Lightbulb),E=t(r.Search),j=t(r.ChevronLeft),F=t(r.ChevronRight),N=t(r.ArrowRight),U=t(r.RotateCw),q=t(r.ArrowRight);Object.defineProperty(exports,"Check",{enumerable:!0,get:function(){return r.Check}}),exports.AddIcon=n,exports.ArrowBackIcon=s,exports.ArrowForwardIcon=c,exports.AutoAwesomeIcon=p,exports.AutoFixHighOutlinedIcon=i,exports.ChatBubbleOutlineOutlined=x,exports.CheckIcon=a,exports.ChevronLeftIcon=l,exports.ChevronRightIcon=u,exports.CloseFullscreenIcon=h,exports.CloseIcon=I,exports.CloseOutlinedIcon=C,exports.ContentCopy=d,exports.DarkModeIcon=g,exports.DeleteOutlineIcon=f,exports.DragIndicatorIcon=v,exports.EditOutlinedIcon=w,exports.ExpandLess=b,exports.ExpandLessIcon=M,exports.ExpandMore=A,exports.ExpandMoreIcon=O,exports.FullscreenIcon=R,exports.GitHub=k,exports.InfoIcon=y,exports.InfoOutlinedIcon=L,exports.KeyboardArrowDownIcon=m,exports.KeyboardArrowUpIcon=D,exports.LightModeIcon=S,exports.LightbulbOutlined=z,exports.ManageSearchOutlined=E,exports.NavigateBeforeIcon=j,exports.NavigateNextIcon=F,exports.NearMeOutlinedIcon=N,exports.RotateRightIcon=U,exports.SwapHorizIcon=q;
2
+ //# sourceMappingURL=icons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.js","sources":["../../../../src/lib/ui/icons.tsx"],"sourcesContent":["import React, { CSSProperties, forwardRef } from 'react';\nimport {\n ArrowLeft,\n ArrowRight,\n Check,\n CheckCircle,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n CirclePlus,\n Clipboard,\n Copy,\n Expand,\n Github,\n Info,\n Lightbulb,\n Maximize,\n MessageCircle,\n Minimize,\n Moon,\n MoveVertical,\n RotateCw,\n Search,\n Sparkles,\n Sun,\n Trash2,\n WandSparkles,\n X,\n type LucideIcon,\n type LucideProps,\n} from 'lucide-react';\n\nexport interface LegacyIconProps extends Omit<LucideProps, 'color'> {\n color?: string;\n fontSize?: 'inherit' | 'small' | 'medium' | 'large' | number;\n sx?: CSSProperties & Record<string, unknown>;\n}\n\nconst legacyIcon = (Icon: LucideIcon) => forwardRef<SVGSVGElement, LegacyIconProps>(\n ({ fontSize, size, sx, style, ...props }, ref) => {\n const resolvedSize = size ?? (fontSize === 'small' ? 18 : fontSize === 'large' ? 28 : typeof fontSize === 'number' ? fontSize : 24);\n return <Icon ref={ref} size={resolvedSize} style={{ ...sx, ...style }} {...props} />;\n },\n);\n\nexport const AddIcon = legacyIcon(CirclePlus);\nexport const ArrowBackIcon = legacyIcon(ArrowLeft);\nexport const ArrowForwardIcon = legacyIcon(ArrowRight);\nexport const AutoAwesomeIcon = legacyIcon(Sparkles);\nexport const AutoFixHighOutlinedIcon = legacyIcon(WandSparkles);\nexport const ChatBubbleOutlineOutlined = legacyIcon(MessageCircle);\nexport const ChatBubbleOutlineOutlinedIcon = legacyIcon(MessageCircle);\nexport const CheckCircleOutlineIcon = legacyIcon(CheckCircle);\nexport const CheckIcon = legacyIcon(Check);\nexport const ChevronLeftIcon = legacyIcon(ChevronLeft);\nexport const ChevronRightIcon = legacyIcon(ChevronRight);\nexport const CloseFullscreenIcon = legacyIcon(Minimize);\nexport const CloseIcon = legacyIcon(X);\nexport const CloseOutlinedIcon = legacyIcon(X);\nexport const ContentCopy = legacyIcon(Copy);\nexport const DarkModeIcon = legacyIcon(Moon);\nexport const DeleteOutlineIcon = legacyIcon(Trash2);\nexport const DragIndicatorIcon = legacyIcon(MoveVertical);\nexport const EditOutlinedIcon = legacyIcon(Clipboard);\nexport const ExpandLess = legacyIcon(ChevronUp);\nexport const ExpandLessIcon = legacyIcon(ChevronUp);\nexport const ExpandMore = legacyIcon(ChevronDown);\nexport const ExpandMoreIcon = legacyIcon(ChevronDown);\nexport const FullscreenIcon = legacyIcon(Maximize);\nexport const GitHub = legacyIcon(Github);\nexport const InfoIcon = legacyIcon(Info);\nexport const InfoOutlinedIcon = legacyIcon(Info);\nexport const KeyboardArrowDownIcon = legacyIcon(ChevronDown);\nexport const KeyboardArrowUpIcon = legacyIcon(ChevronUp);\nexport const LightModeIcon = legacyIcon(Sun);\nexport const LightbulbOutlined = legacyIcon(Lightbulb);\nexport const ManageSearchOutlined = legacyIcon(Search);\nexport const NavigateBeforeIcon = legacyIcon(ChevronLeft);\nexport const NavigateNextIcon = legacyIcon(ChevronRight);\nexport const NearMeOutlinedIcon = legacyIcon(ArrowRight);\nexport const RotateRightIcon = legacyIcon(RotateCw);\nexport const SwapHorizIcon = legacyIcon(ArrowRight);\n\nexport { Check };\n"],"names":["legacyIcon","Icon","forwardRef","fontSize","size","sx","style","props","ref","resolvedSize","jsx","AddIcon","CirclePlus","ArrowBackIcon","ArrowLeft","ArrowForwardIcon","ArrowRight","AutoAwesomeIcon","Sparkles","AutoFixHighOutlinedIcon","WandSparkles","ChatBubbleOutlineOutlined","MessageCircle","CheckCircle","CheckIcon","Check","ChevronLeftIcon","ChevronLeft","ChevronRightIcon","ChevronRight","CloseFullscreenIcon","Minimize","CloseIcon","X","CloseOutlinedIcon","ContentCopy","Copy","DarkModeIcon","Moon","DeleteOutlineIcon","Trash2","DragIndicatorIcon","MoveVertical","EditOutlinedIcon","Clipboard","ExpandLess","ChevronUp","ExpandLessIcon","ExpandMore","ChevronDown","ExpandMoreIcon","FullscreenIcon","Maximize","GitHub","Github","InfoIcon","Info","InfoOutlinedIcon","KeyboardArrowDownIcon","KeyboardArrowUpIcon","LightModeIcon","Sun","LightbulbOutlined","Lightbulb","ManageSearchOutlined","Search","NavigateBeforeIcon","NavigateNextIcon","NearMeOutlinedIcon","RotateRightIcon","RotateCw","SwapHorizIcon"],"mappings":"oJAuCA,MAAMA,EAAcC,GAAqBC,EAAAA,WACvC,EAAGC,WAAUC,OAAMC,KAAIC,WAAUC,GAASC,KAClC,MAAAC,EAAeL,IAAsB,UAAbD,EAAuB,GAAkB,UAAbA,EAAuB,GAAyB,iBAAbA,EAAwBA,EAAW,IAChI,OAAQO,EAAAA,IAAAT,EAAA,CAAKO,MAAUJ,KAAMK,EAAcH,MAAO,IAAKD,KAAOC,MAAaC,MAIlEI,EAAUX,EAAWY,cACrBC,EAAgBb,EAAWc,aAC3BC,EAAmBf,EAAWgB,cAC9BC,EAAkBjB,EAAWkB,YAC7BC,EAA0BnB,EAAWoB,gBACrCC,EAA4BrB,EAAWsB,iBACPtB,EAAWsB,iBAClBtB,EAAWuB,eACpC,MAAAC,EAAYxB,EAAWyB,SACvBC,EAAkB1B,EAAW2B,eAC7BC,EAAmB5B,EAAW6B,gBAC9BC,EAAsB9B,EAAW+B,YACjCC,EAAYhC,EAAWiC,KACvBC,EAAoBlC,EAAWiC,KAC/BE,EAAcnC,EAAWoC,QACzBC,EAAerC,EAAWsC,QAC1BC,EAAoBvC,EAAWwC,UAC/BC,EAAoBzC,EAAW0C,gBAC/BC,EAAmB3C,EAAW4C,aAC9BC,EAAa7C,EAAW8C,aACxBC,EAAiB/C,EAAW8C,aAC5BE,EAAahD,EAAWiD,eACxBC,EAAiBlD,EAAWiD,eAC5BE,EAAiBnD,EAAWoD,YAC5BC,EAASrD,EAAWsD,UACpBC,EAAWvD,EAAWwD,QACtBC,EAAmBzD,EAAWwD,QAC9BE,EAAwB1D,EAAWiD,eACnCU,EAAsB3D,EAAW8C,aACjCc,EAAgB5D,EAAW6D,OAC3BC,EAAoB9D,EAAW+D,aAC/BC,EAAuBhE,EAAWiE,UAClCC,EAAqBlE,EAAW2B,eAChCwC,EAAmBnE,EAAW6B,gBAC9BuC,EAAqBpE,EAAWgB,cAChCqD,EAAkBrE,EAAWsE,YAC7BC,EAAgBvE,EAAWgB,EAAUA"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("primereact/button"),n=require("primereact/checkbox"),o=require("primereact/dialog"),i=require("primereact/inputswitch"),l=require("primereact/progressspinner"),a=require("primereact/radiobutton"),s=require("primereact/skeleton");const d={palette:{primary:{main:"var(--primary-color, #6366f1)",light:"#eef2ff",dark:"#4338ca",contrastText:"#fff"},secondary:{main:"#64748b"},error:{main:"#dc2626",light:"#fef2f2"},warning:{main:"#d97706",light:"#fffbeb"},success:{main:"#16a34a",light:"#f0fdf4"},info:{main:"#2563eb",light:"#eff6ff"},text:{primary:"#111827",secondary:"#64748b",disabled:"#9ca3af"},divider:"#e5e7eb",background:{paper:"#fff",default:"#fff"},grey:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",500:"#6b7280",700:"#374151",900:"#111827"}},spacing:e=>8*e+"px",breakpoints:{up:()=>"@media",down:()=>"@media"}},p={fontFamily:"var(--font-bpa, Inter, sans-serif)"},c={m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"margin",my:"margin",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"padding",py:"padding"},x=e=>{if(!e)return{};if("function"==typeof e)return x(e(d));if(Array.isArray(e))return Object.assign({},...e.map(e=>x(e)));const t={};for(const[r,n]of Object.entries(e)){if(null==n||r.startsWith("&")||r.startsWith("@"))continue;const e=c[r]??r;let o=n;"function"==typeof o&&(o=o(d)),c[r]&&"number"==typeof o&&(o=d.spacing(o)),"mx"!==r?"my"!==r?"px"!==r?"py"!==r?"bgcolor"!==r?t[e]=o:t.backgroundColor=o:(t.paddingTop=o,t.paddingBottom=o):(t.paddingLeft=o,t.paddingRight=o):(t.marginTop=o,t.marginBottom=o):(t.marginLeft=o,t.marginRight=o)}return t},f=(r,n={})=>t.forwardRef(({component:t,as:o,sx:i,style:l,children:a,...s},d)=>{const c=t??o??r;return e.jsx(c,{ref:d,style:{...p,...n,...x(i),...l},...s,children:a})}),g=f("div"),u=f("div",{background:"#fff"}),h=t.forwardRef(({direction:t="column",spacing:r=0,sx:n,style:o,children:i,...l},a)=>e.jsx("div",{ref:a,style:{display:"flex",flexDirection:t,gap:"number"==typeof r?d.spacing(r):r,...x(n),...o},...l,children:i})),m=f("hr",{border:0,borderTop:"1px solid #e5e7eb",margin:0}),y=t.forwardRef(({component:t,variant:r,sx:n,style:o,children:i,...l},a)=>{const s=t??(r?.startsWith("h")?r:"span");return e.jsx(s,{ref:a,style:{display:"span"===s?"inline":void 0,margin:0,...x(n),...o},...l,children:i})}),b=t.forwardRef(({children:t,startIcon:n,endIcon:o,variant:i,color:l,sx:a,style:s,disabled:d,onClick:p,...c},f)=>e.jsxs(r.Button,{ref:f,disabled:d,onClick:p,outlined:"outlined"===i,text:"text"===i,severity:"error"===l?"danger":l,style:{...x(a),...s},...c,children:[n,t,o]})),v=f("button",{border:0,background:"transparent",padding:0,cursor:"pointer",font:"inherit"}),k=t.forwardRef(({children:t,sx:n,style:o,color:i,...l},a)=>e.jsx(r.Button,{ref:a,text:!0,rounded:!0,severity:"error"===i?"danger":void 0,style:{padding:"0.5rem",...x(n),...o},...l,children:t})),C=t.forwardRef(({checked:t,onChange:r,value:o,disabled:i,sx:l,style:a,...s},d)=>e.jsx(n.Checkbox,{ref:d,checked:Boolean(t),value:o,disabled:i,onChange:e=>{const t=e.originalEvent??{};r?.({...t,target:{...t.target,checked:e.checked,value:o}},e.checked)},style:{...x(l),...a},...s})),j=t.forwardRef(({checked:t,onChange:r,value:n,disabled:o,sx:i,style:l,...s},d)=>e.jsx(a.RadioButton,{ref:d,checked:Boolean(t),value:n,disabled:o,onChange:e=>{const t=e.originalEvent??{};r?.({...t,target:{...t.target,checked:e.checked,value:n}},e.checked)},style:{...x(i),...l},...s})),w=t.forwardRef(({checked:t,onChange:r,disabled:n,sx:o,style:l,...a},s)=>e.jsx(i.InputSwitch,{ref:s,checked:Boolean(t),disabled:n,onChange:e=>{const t=e.originalEvent??{};r?.({...t,target:{...t.target,checked:e.value}},e.value)},style:{...x(o),...l},...a})),R=t.forwardRef(({multiline:t,rows:r,label:n,value:o,onChange:i,placeholder:l,disabled:a,type:s,sx:d,style:p,InputProps:c,inputProps:f,...g},u)=>{const h=t?"textarea":"input";return e.jsxs("label",{style:{display:"inline-flex",flexDirection:"column",gap:4,...x(d)},children:[n&&e.jsx("span",{children:n}),e.jsx(h,{ref:u,rows:r,value:o??"",onChange:i,placeholder:l,disabled:a,type:s,style:{font:"inherit",border:"1px solid #d1d5db",borderRadius:6,padding:"0.5rem 0.75rem",...p},...f,...g})]})}),B=f("span"),T=f("header",{fontSize:"1.25rem",fontWeight:600,marginBottom:"1rem"}),S=f("div");f("footer",{display:"flex",justifyContent:"flex-end",gap:"0.5rem",marginTop:"1rem"});const I=f("summary",{cursor:"pointer",listStyle:"none"}),P=f("div"),A=f("button",{display:"flex",width:"100%",border:0,background:"transparent",padding:"0.5rem 0.75rem",cursor:"pointer",font:"inherit"});f("a");const q=f("select"),D=t.forwardRef(({children:t,sx:r,style:n,fontSize:o,viewBox:i="0 0 24 24",...l},a)=>e.jsx("svg",{ref:a,viewBox:i,width:"small"===o?18:24,height:"small"===o?18:24,fill:"currentColor",style:{...x(r),...n},...l,children:t}));exports.Accordion=({expanded:t,defaultExpanded:r,onChange:n,children:o,sx:i,style:l,...a})=>e.jsx("details",{open:t??r,onToggle:e=>n?.(e,e.currentTarget.open),style:{...x(i),...l},...a,children:o}),exports.AccordionDetails=P,exports.AccordionSummary=I,exports.Alert=({severity:t="info",children:r,onClose:n,sx:o,style:i,...l})=>e.jsxs("div",{role:"alert","data-severity":t,style:{padding:"0.75rem 1rem",borderRadius:6,background:d.palette[t]?.light,color:d.palette[t]?.main,...x(o),...i},...l,children:[r,n&&e.jsx("button",{type:"button",onClick:n,"aria-label":"Close",children:"×"})]}),exports.Autocomplete=({options:t=[],value:r,onChange:n,renderInput:o,multiple:i,getOptionLabel:l=e=>String(e),sx:a})=>{const s=i?(r??[]).map(l):l(r??"");return e.jsx("div",{style:x(a),children:o?.({inputProps:{list:void 0},value:s})??e.jsx("select",{multiple:i,value:s,onChange:e=>n?.(e,i?Array.from(e.currentTarget.selectedOptions,e=>t.find(t=>l(t)===e.value)):t.find(t=>l(t)===e.currentTarget.value)),children:t.map(t=>e.jsx("option",{children:l(t)},l(t)))})})},exports.Box=g,exports.Button=b,exports.ButtonBase=v,exports.Checkbox=C,exports.Chip=({label:t,onDelete:r,sx:n,style:o,...i})=>e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:4,borderRadius:999,background:"#f3f4f6",padding:"0.25rem 0.5rem",...x(n),...o},...i,children:[t,r&&e.jsx("button",{type:"button",onClick:r,"aria-label":"Remove",children:"×"})]}),exports.CircularProgress=({size:t=40,sx:r,style:n,...o})=>e.jsx(l.ProgressSpinner,{strokeWidth:"5",style:{width:t,height:t,...x(r),...n},...o}),exports.Dialog=({open:t,onClose:r,children:n,maxWidth:i,fullWidth:l,PaperProps:a,sx:s,...d})=>e.jsx(o.Dialog,{visible:Boolean(t),onHide:()=>r?.({},"backdropClick"),modal:!0,style:{width:l?{xs:"90vw",sm:"36rem",md:"56rem",lg:"72rem"}[i]??"90vw":void 0,...x(s),...a?.style},contentStyle:a?.sx?x(a.sx):void 0,...d,children:n}),exports.DialogContent=S,exports.DialogTitle=T,exports.Divider=m,exports.FormControlLabel=({control:t,label:r,sx:n,style:o,...i})=>e.jsxs("label",{style:{display:"inline-flex",alignItems:"center",gap:8,...x(n),...o},...i,children:[t,r]}),exports.IconButton=k,exports.InputAdornment=B,exports.Menu=({open:t,anchorEl:r,onClose:n,children:o,sx:i,style:l,...a})=>t?e.jsx("div",{role:"menu",style:{position:"fixed",zIndex:1400,top:r?.getBoundingClientRect?.().bottom??0,left:r?.getBoundingClientRect?.().left??0,background:"#fff",border:"1px solid #e5e7eb",borderRadius:6,boxShadow:"0 8px 24px rgb(0 0 0 / 15%)",...x(i),...l},...a,children:o}):null,exports.MenuItem=A,exports.Pagination=({count:t=1,page:r=1,onChange:n,sx:o,style:i})=>e.jsx("nav",{"aria-label":"Pagination",style:{display:"flex",gap:4,...x(o),...i},children:Array.from({length:t},(e,t)=>t+1).map(t=>e.jsx("button",{type:"button","aria-current":t===r?"page":void 0,onClick:e=>n?.(e,t),children:t},t))}),exports.Paper=u,exports.Popper=({open:t,anchorEl:r,placement:n,children:o,sx:i,style:l,...a})=>t?e.jsx("div",{style:{position:"fixed",zIndex:1300,top:r?.getBoundingClientRect?.().bottom??0,left:r?.getBoundingClientRect?.().left??0,...x(i),...l},...a,children:"function"==typeof o?o({placement:n,TransitionProps:{}}):o}):null,exports.Portal=({children:e})=>e,exports.Radio=j,exports.Select=q,exports.Skeleton=({width:t,height:r,variant:n,sx:o,style:i,...l})=>e.jsx(s.Skeleton,{width:"number"==typeof t?`${t}px`:t,height:"number"==typeof r?`${r}px`:r,shape:"circular"===n?"circle":"rectangle",style:{...x(o),...i},...l}),exports.Snackbar=({open:t,children:r,message:n,anchorOrigin:o,sx:i,style:l,...a})=>t?e.jsx("div",{style:{position:"fixed",zIndex:1500,bottom:"top"===o?.vertical?void 0:24,top:"top"===o?.vertical?24:void 0,left:"left"===o?.horizontal?24:"50%",transform:"left"===o?.horizontal?void 0:"translateX(-50%)",...x(i),...l},...a,children:r??n}):null,exports.Stack=h,exports.SvgIcon=D,exports.Switch=w,exports.Tab=({label:t,value:r,sx:n,style:o,...i})=>e.jsx("button",{type:"button",role:"tab","data-tab-value":r,style:{...x(n),...o},...i,children:t}),exports.Tabs=({value:t,onChange:r,children:n,sx:o,style:i})=>e.jsx("div",{role:"tablist","data-value":t,style:{display:"flex",...x(o),...i},onClick:e=>{const t=e.target.closest("[data-tab-value]")?.dataset.tabValue;null!=t&&r?.(e,Number(t))},children:n}),exports.TextField=R,exports.Tooltip=({title:t,children:r})=>e.jsx("span",{title:"string"==typeof t?t:void 0,style:{display:"inline-flex"},children:r}),exports.Typography=y,exports.styled=e=>(...t)=>e,exports.tooltipClasses={tooltip:"bpa-tooltip",arrow:"bpa-tooltip-arrow"};
2
+ //# sourceMappingURL=materialCompat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"materialCompat.js","sources":["../../../../src/lib/ui/materialCompat.tsx"],"sourcesContent":["import React, { forwardRef, useId, type CSSProperties, type ElementType, type ReactNode } from 'react';\nimport { Button as PrimeButton } from 'primereact/button';\nimport { Checkbox as PrimeCheckbox } from 'primereact/checkbox';\nimport { Dialog as PrimeDialog } from 'primereact/dialog';\nimport { InputSwitch as PrimeInputSwitch } from 'primereact/inputswitch';\nimport { ProgressSpinner } from 'primereact/progressspinner';\nimport { RadioButton } from 'primereact/radiobutton';\nimport { Skeleton as PrimeSkeleton } from 'primereact/skeleton';\n\nexport type Theme = Record<string, any>;\nexport type SxProps<T = Theme> = CSSProperties | Record<string, any> | ((theme: T) => any) | readonly SxProps<T>[];\nexport type SvgIconProps = React.SVGProps<SVGSVGElement> & { sx?: SxProps; fontSize?: string };\nexport type PopperProps = Record<string, any>;\nexport interface CompatProps {\n [key: string]: any;\n children?: any;\n sx?: SxProps;\n style?: CSSProperties;\n onChange?: (event: any, value?: any) => void;\n onClick?: (event: any) => void;\n onKeyDown?: (event: any) => void;\n onMouseEnter?: (event: any) => void;\n onMouseLeave?: (event: any) => void;\n onMouseMove?: (event: any) => void;\n onInputChange?: (event: any, value: string, reason: string) => void;\n renderInput?: (params: any) => ReactNode;\n}\ntype CompatComponent = React.ForwardRefExoticComponent<CompatProps & React.RefAttributes<any>>;\n\nconst theme: Theme = {\n palette: {\n primary: { main: 'var(--primary-color, #6366f1)', light: '#eef2ff', dark: '#4338ca', contrastText: '#fff' },\n secondary: { main: '#64748b' },\n error: { main: '#dc2626', light: '#fef2f2' },\n warning: { main: '#d97706', light: '#fffbeb' },\n success: { main: '#16a34a', light: '#f0fdf4' },\n info: { main: '#2563eb', light: '#eff6ff' },\n text: { primary: '#111827', secondary: '#64748b', disabled: '#9ca3af' },\n divider: '#e5e7eb',\n background: { paper: '#fff', default: '#fff' },\n grey: { 50: '#f9fafb', 100: '#f3f4f6', 200: '#e5e7eb', 300: '#d1d5db', 500: '#6b7280', 700: '#374151', 900: '#111827' },\n },\n spacing: (value: number) => `${value * 8}px`,\n breakpoints: { up: () => '@media', down: () => '@media' },\n};\n\nconst platformFont: CSSProperties = { fontFamily: 'var(--font-bpa, Inter, sans-serif)' };\n\nconst spacingKeys: Record<string, keyof CSSProperties> = {\n m: 'margin', mt: 'marginTop', mr: 'marginRight', mb: 'marginBottom', ml: 'marginLeft', mx: 'margin', my: 'margin',\n p: 'padding', pt: 'paddingTop', pr: 'paddingRight', pb: 'paddingBottom', pl: 'paddingLeft', px: 'padding', py: 'padding',\n};\n\nconst resolveSx = (sx?: SxProps): CSSProperties => {\n if (!sx) return {};\n if (typeof sx === 'function') return resolveSx(sx(theme));\n if (Array.isArray(sx)) return Object.assign({}, ...sx.map((entry) => resolveSx(entry)));\n const output: Record<string, any> = {};\n for (const [key, rawValue] of Object.entries(sx)) {\n if (rawValue == null || key.startsWith('&') || key.startsWith('@')) continue;\n const target = spacingKeys[key] ?? key;\n let value: any = rawValue;\n if (typeof value === 'function') value = value(theme);\n if (spacingKeys[key] && typeof value === 'number') value = theme.spacing(value);\n if (key === 'mx') { output.marginLeft = value; output.marginRight = value; continue; }\n if (key === 'my') { output.marginTop = value; output.marginBottom = value; continue; }\n if (key === 'px') { output.paddingLeft = value; output.paddingRight = value; continue; }\n if (key === 'py') { output.paddingTop = value; output.paddingBottom = value; continue; }\n if (key === 'bgcolor') { output.backgroundColor = value; continue; }\n output[target] = value;\n }\n return output as CSSProperties;\n};\n\nconst element = (defaultTag: ElementType, baseStyle: CSSProperties = {}): CompatComponent => forwardRef<any, CompatProps>(\n ({ component, as, sx, style, children, ...props }, ref) => {\n const Tag = component ?? as ?? defaultTag;\n return <Tag ref={ref} style={{ ...platformFont, ...baseStyle, ...resolveSx(sx), ...style }} {...props}>{children}</Tag>;\n },\n);\n\nexport const Box = element('div');\nexport const Paper = element('div', { background: '#fff' });\nexport const Stack: CompatComponent = forwardRef<any, CompatProps>(({ direction = 'column', spacing = 0, sx, style, children, ...props }, ref) => (\n <div ref={ref} style={{ display: 'flex', flexDirection: direction, gap: typeof spacing === 'number' ? theme.spacing(spacing) : spacing, ...resolveSx(sx), ...style }} {...props}>{children}</div>\n));\nexport const Divider = element('hr', { border: 0, borderTop: '1px solid #e5e7eb', margin: 0 });\nexport const Typography: CompatComponent = forwardRef<any, CompatProps>(({ component, variant, sx, style, children, ...props }, ref) => {\n const Tag = component ?? (variant?.startsWith('h') ? variant : 'span');\n return <Tag ref={ref} style={{ display: Tag === 'span' ? 'inline' : undefined, margin: 0, ...resolveSx(sx), ...style }} {...props}>{children}</Tag>;\n});\n\nexport const Button: CompatComponent = forwardRef<any, CompatProps>(({ children, startIcon, endIcon, variant, color, sx, style, disabled, onClick, ...props }, ref) => (\n <PrimeButton ref={ref} disabled={disabled} onClick={onClick} outlined={variant === 'outlined'} text={variant === 'text'} severity={color === 'error' ? 'danger' : color} style={{ ...resolveSx(sx), ...style }} {...props}>\n {startIcon}{children}{endIcon}\n </PrimeButton>\n));\nexport const ButtonBase = element('button', { border: 0, background: 'transparent', padding: 0, cursor: 'pointer', font: 'inherit' });\nexport const IconButton: CompatComponent = forwardRef<any, CompatProps>(({ children, sx, style, color, ...props }, ref) => (\n <PrimeButton ref={ref} text rounded severity={color === 'error' ? 'danger' : undefined} style={{ padding: '0.5rem', ...resolveSx(sx), ...style }} {...props}>{children}</PrimeButton>\n));\n\nexport const Checkbox: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, value, disabled, sx, style, ...props }, ref) => (\n <PrimeCheckbox ref={ref} checked={Boolean(checked)} value={value} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.checked, value } }, event.checked); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const Radio: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, value, disabled, sx, style, ...props }, ref) => (\n <RadioButton ref={ref} checked={Boolean(checked)} value={value} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.checked, value } }, event.checked); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const Switch: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, disabled, sx, style, ...props }, ref) => (\n <PrimeInputSwitch ref={ref} checked={Boolean(checked)} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.value } }, event.value); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const FormControlLabel: React.FC<CompatProps> = ({ control, label, sx, style, ...props }) => <label style={{ display: 'inline-flex', alignItems: 'center', gap: 8, ...resolveSx(sx), ...style }} {...props}>{control}{label}</label>;\n\nexport const TextField: CompatComponent = forwardRef<any, CompatProps>(({ multiline, rows, label, value, onChange, placeholder, disabled, type, sx, style, InputProps, inputProps, ...props }, ref) => {\n const Tag = multiline ? 'textarea' : 'input';\n return <label style={{ display: 'inline-flex', flexDirection: 'column', gap: 4, ...resolveSx(sx) }}>{label && <span>{label}</span>}<Tag ref={ref} rows={rows} value={value ?? ''} onChange={onChange} placeholder={placeholder} disabled={disabled} type={type} style={{ font: 'inherit', border: '1px solid #d1d5db', borderRadius: 6, padding: '0.5rem 0.75rem', ...style }} {...inputProps} {...props} /></label>;\n});\nexport const InputAdornment = element('span');\nexport const Chip = ({ label, onDelete, sx, style, ...props }: any) => <span style={{ display: 'inline-flex', alignItems: 'center', gap: 4, borderRadius: 999, background: '#f3f4f6', padding: '0.25rem 0.5rem', ...resolveSx(sx), ...style }} {...props}>{label}{onDelete && <button type=\"button\" onClick={onDelete} aria-label=\"Remove\">×</button>}</span>;\nexport const Autocomplete: React.FC<CompatProps> = ({ options = [], value, onChange, renderInput, multiple, getOptionLabel = (option: any) => String(option), sx }) => {\n const values = multiple ? (value ?? []).map(getOptionLabel) : getOptionLabel(value ?? '');\n return <div style={resolveSx(sx)}>{renderInput?.({ inputProps: { list: undefined }, value: values }) ?? <select multiple={multiple} value={multiple ? values : values} onChange={(event) => onChange?.(event, multiple ? Array.from(event.currentTarget.selectedOptions, (item) => options.find((option: any) => getOptionLabel(option) === item.value)) : options.find((option: any) => getOptionLabel(option) === event.currentTarget.value))}>{options.map((option: any) => <option key={getOptionLabel(option)}>{getOptionLabel(option)}</option>)}</select>}</div>;\n};\n\nexport const CircularProgress: React.FC<CompatProps> = ({ size = 40, sx, style, ...props }) => <ProgressSpinner strokeWidth=\"5\" style={{ width: size, height: size, ...resolveSx(sx), ...style }} {...props} />;\nexport const Skeleton = ({ width, height, variant, sx, style, ...props }: any) => <PrimeSkeleton width={typeof width === 'number' ? `${width}px` : width} height={typeof height === 'number' ? `${height}px` : height} shape={variant === 'circular' ? 'circle' : 'rectangle'} style={{ ...resolveSx(sx), ...style }} {...props} />;\nexport const Pagination: React.FC<CompatProps> = ({ count = 1, page = 1, onChange, sx, style }) => <nav aria-label=\"Pagination\" style={{ display: 'flex', gap: 4, ...resolveSx(sx), ...style }}>{Array.from({ length: count }, (_, index) => index + 1).map((item) => <button type=\"button\" key={item} aria-current={item === page ? 'page' : undefined} onClick={(event) => onChange?.(event, item)}>{item}</button>)}</nav>;\n\nexport const Dialog = ({ open, onClose, children, maxWidth, fullWidth, PaperProps, sx, ...props }: any) => <PrimeDialog visible={Boolean(open)} onHide={() => onClose?.({}, 'backdropClick')} modal style={{ width: fullWidth ? ({ xs: '90vw', sm: '36rem', md: '56rem', lg: '72rem' }[maxWidth as string] ?? '90vw') : undefined, ...resolveSx(sx), ...PaperProps?.style }} contentStyle={PaperProps?.sx ? resolveSx(PaperProps.sx) : undefined} {...props}>{children}</PrimeDialog>;\nexport const DialogTitle = element('header', { fontSize: '1.25rem', fontWeight: 600, marginBottom: '1rem' });\nexport const DialogContent = element('div');\nexport const DialogActions = element('footer', { display: 'flex', justifyContent: 'flex-end', gap: '0.5rem', marginTop: '1rem' });\n\nexport const Accordion: React.FC<CompatProps> = ({ expanded, defaultExpanded, onChange, children, sx, style, ...props }) => <details open={expanded ?? defaultExpanded} onToggle={(event) => onChange?.(event, event.currentTarget.open)} style={{ ...resolveSx(sx), ...style }} {...props}>{children}</details>;\nexport const AccordionSummary = element('summary', { cursor: 'pointer', listStyle: 'none' });\nexport const AccordionDetails = element('div');\nexport const Tooltip: React.FC<CompatProps> = ({ title, children }) => <span title={typeof title === 'string' ? title : undefined} style={{ display: 'inline-flex' }}>{children}</span>;\n\nexport const Tabs: React.FC<CompatProps> = ({ value, onChange, children, sx, style }) => <div role=\"tablist\" data-value={value} style={{ display: 'flex', ...resolveSx(sx), ...style }} onClick={(event: any) => { const next = event.target.closest('[data-tab-value]')?.dataset.tabValue; if (next != null) onChange?.(event, Number(next)); }}>{children}</div>;\nexport const Tab = ({ label, value, sx, style, ...props }: any) => <button type=\"button\" role=\"tab\" data-tab-value={value} style={{ ...resolveSx(sx), ...style }} {...props}>{label}</button>;\nexport const Alert = ({ severity = 'info', children, onClose, sx, style, ...props }: any) => <div role=\"alert\" data-severity={severity} style={{ padding: '0.75rem 1rem', borderRadius: 6, background: theme.palette[severity]?.light, color: theme.palette[severity]?.main, ...resolveSx(sx), ...style }} {...props}>{children}{onClose && <button type=\"button\" onClick={onClose} aria-label=\"Close\">×</button>}</div>;\nexport const Snackbar = ({ open, children, message, anchorOrigin, sx, style, ...props }: any) => open ? <div style={{ position: 'fixed', zIndex: 1500, bottom: anchorOrigin?.vertical === 'top' ? undefined : 24, top: anchorOrigin?.vertical === 'top' ? 24 : undefined, left: anchorOrigin?.horizontal === 'left' ? 24 : '50%', transform: anchorOrigin?.horizontal === 'left' ? undefined : 'translateX(-50%)', ...resolveSx(sx), ...style }} {...props}>{children ?? message}</div> : null;\n\nexport const Menu: React.FC<CompatProps> = ({ open, anchorEl, onClose, children, sx, style, ...props }) => open ? <div role=\"menu\" style={{ position: 'fixed', zIndex: 1400, top: anchorEl?.getBoundingClientRect?.().bottom ?? 0, left: anchorEl?.getBoundingClientRect?.().left ?? 0, background: '#fff', border: '1px solid #e5e7eb', borderRadius: 6, boxShadow: '0 8px 24px rgb(0 0 0 / 15%)', ...resolveSx(sx), ...style }} {...props}>{children}</div> : null;\nexport const MenuItem = element('button', { display: 'flex', width: '100%', border: 0, background: 'transparent', padding: '0.5rem 0.75rem', cursor: 'pointer', font: 'inherit' });\nexport const Popper: React.FC<CompatProps> = ({ open, anchorEl, placement, children, sx, style, ...props }) => open ? <div style={{ position: 'fixed', zIndex: 1300, top: anchorEl?.getBoundingClientRect?.().bottom ?? 0, left: anchorEl?.getBoundingClientRect?.().left ?? 0, ...resolveSx(sx), ...style }} {...props}>{typeof children === 'function' ? children({ placement, TransitionProps: {} }) : children}</div> : null;\nexport const Portal = ({ children }: any) => children;\nexport const Breadcrumbs = ({ children, separator = '/', sx, style, ...props }: any) => <nav style={{ display: 'flex', gap: 6, ...resolveSx(sx), ...style }} {...props}>{React.Children.toArray(children).flatMap((child, index, all) => index < all.length - 1 ? [child, <span key={`separator-${index}`}>{separator}</span>] : [child])}</nav>;\nexport const Link = element('a');\nexport const Select = element('select');\n\nexport const SvgIcon = forwardRef<SVGSVGElement, SvgIconProps>(({ children, sx, style, fontSize, viewBox = '0 0 24 24', ...props }, ref) => <svg ref={ref} viewBox={viewBox} width={fontSize === 'small' ? 18 : 24} height={fontSize === 'small' ? 18 : 24} fill=\"currentColor\" style={{ ...resolveSx(sx), ...style }} {...props}>{children}</svg>);\n\nexport const createTheme = (options: any) => options;\nexport const adaptV4Theme = (options: any) => options;\nexport const styled = (Component: any) => (..._styles: any[]) => Component;\nexport const tooltipClasses = { tooltip: 'bpa-tooltip', arrow: 'bpa-tooltip-arrow' };\nexport type TooltipProps = { title?: ReactNode; children: ReactNode; [key: string]: any };\n\nexport default {\n Box, Paper, Stack, Divider, Typography, Button, ButtonBase, IconButton, Checkbox, Radio, Switch,\n FormControlLabel, TextField, InputAdornment, Chip, Autocomplete, CircularProgress, Skeleton,\n Pagination, Dialog, DialogTitle, DialogContent, DialogActions, Accordion, AccordionSummary,\n AccordionDetails, Tooltip, Tabs, Tab, Alert, Snackbar, Menu, MenuItem, Popper, Portal,\n Breadcrumbs, Link, Select, SvgIcon,\n};\n"],"names":["theme","palette","primary","main","light","dark","contrastText","secondary","error","warning","success","info","text","disabled","divider","background","paper","default","grey","spacing","value","breakpoints","up","down","platformFont","fontFamily","spacingKeys","m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","resolveSx","sx","Array","isArray","Object","assign","map","entry","output","key","rawValue","entries","startsWith","target","backgroundColor","paddingTop","paddingBottom","paddingLeft","paddingRight","marginTop","marginBottom","marginLeft","marginRight","element","defaultTag","baseStyle","forwardRef","component","as","style","children","props","ref","Tag","Box","Paper","Stack","direction","display","flexDirection","gap","Divider","border","borderTop","margin","Typography","variant","jsx","Button","startIcon","endIcon","color","onClick","jsxs","PrimeButton","outlined","severity","ButtonBase","padding","cursor","font","IconButton","rounded","Checkbox","checked","onChange","PrimeCheckbox","Boolean","event","original","originalEvent","Radio","RadioButton","Switch","PrimeInputSwitch","InputSwitch","TextField","multiline","rows","label","placeholder","type","InputProps","inputProps","borderRadius","InputAdornment","DialogTitle","fontSize","fontWeight","DialogContent","justifyContent","AccordionSummary","listStyle","AccordionDetails","MenuItem","width","Select","SvgIcon","viewBox","height","fill","expanded","defaultExpanded","open","onToggle","currentTarget","onClose","role","options","renderInput","multiple","getOptionLabel","option","String","values","list","from","selectedOptions","item","find","onDelete","alignItems","size","ProgressSpinner","strokeWidth","maxWidth","fullWidth","PaperProps","PrimeDialog","visible","onHide","modal","xs","sm","md","lg","contentStyle","control","anchorEl","position","zIndex","top","getBoundingClientRect","bottom","left","boxShadow","count","page","length","_","index","placement","TransitionProps","PrimeSkeleton","shape","message","anchorOrigin","vertical","horizontal","transform","next","closest","dataset","tabValue","Number","title","Component","_styles","tooltip","arrow"],"mappings":"0WA6BA,MAAMA,EAAe,CACnBC,QAAS,CACPC,QAAS,CAAEC,KAAM,gCAAiCC,MAAO,UAAWC,KAAM,UAAWC,aAAc,QACnGC,UAAW,CAAEJ,KAAM,WACnBK,MAAO,CAAEL,KAAM,UAAWC,MAAO,WACjCK,QAAS,CAAEN,KAAM,UAAWC,MAAO,WACnCM,QAAS,CAAEP,KAAM,UAAWC,MAAO,WACnCO,KAAM,CAAER,KAAM,UAAWC,MAAO,WAChCQ,KAAM,CAAEV,QAAS,UAAWK,UAAW,UAAWM,SAAU,WAC5DC,QAAS,UACTC,WAAY,CAAEC,MAAO,OAAQC,QAAS,QACtCC,KAAM,CAAE,GAAI,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,YAE9GC,QAAUC,GAA6B,EAARA,EAAH,KAC5BC,YAAa,CAAEC,GAAI,IAAM,SAAUC,KAAM,IAAM,WAG3CC,EAA8B,CAAEC,WAAY,sCAE5CC,EAAmD,CACvDC,EAAG,SAAUC,GAAI,YAAaC,GAAI,cAAeC,GAAI,eAAgBC,GAAI,aAAcC,GAAI,SAAUC,GAAI,SACzGC,EAAG,UAAWC,GAAI,aAAcC,GAAI,eAAgBC,GAAI,gBAAiBC,GAAI,cAAeC,GAAI,UAAWC,GAAI,WAG3GC,EAAaC,IACb,IAACA,EA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A3Ba,GAAcC,cAAqB,EAAY,GAAIhB,IAAgC,QAA3Be,GAAcC,SAAqB,QAAK,EAAWb,KAAmC,SAA7BY,GAAcE,WAAwB,GAAK,MAAOC,UAAwC,SAA7BH,GAAcE,kBAAoC,sBAAuB9J,EAAUC,MAAQ4B,MAAaE,EAAQD,SAAYA,GAAA6H,IAAiB,oEAFvc,EAAG5E,QAAOpG,QAAOsB,KAAI4B,WAAUE,KAAkBgB,EAAAA,IAAA,SAAA,CAAOkC,KAAK,SAAS0B,KAAK,MAAM,iBAAgBhI,EAAOkD,MAAO,IAAK7B,EAAUC,MAAQ4B,MAAaE,EAAQD,SAAMiD,iBADzI,EAAGpG,QAAOsF,WAAUnC,WAAU7B,KAAI4B,WAAYkB,EAAAA,IAAC,MAAI,CAAA4D,KAAK,UAAU,aAAYhI,EAAOkD,MAAO,CAAES,QAAS,UAAWtC,EAAUC,MAAQ4B,GAASuB,QAAUgB,IAAiB,MAAM4F,EAAO5F,EAAMvD,OAAOoJ,QAAQ,qBAAqBC,QAAQC,SAAsB,MAARH,GAAc/F,IAAWG,EAAOgG,OAAOJ,KAAYlI,iDAFrS,EAAGuI,QAAOvI,oBAAgB,OAAK,CAAAuI,MAAwB,iBAAVA,EAAqBA,OAAmB,EAAAxI,MAAO,CAAES,QAAS,eAAkBR,iDAmBhJwI,GAAmB,IAAIC,IAAmBD,yBACnC,CAAEE,QAAS,cAAeC,MAAO"}
@@ -0,0 +1,2 @@
1
+ import{jsx as t}from"react/jsx-runtime";const e={wrapper:{alignItems:"center",justifyContent:"center",textAlign:"center"},inner:{width:"100%"},iconWrapper:{width:"80px",height:"80px",background:"linear-gradient(to right, #3B82F6, #9333EA)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px auto"},icon:{width:"40px",height:"40px",color:"#FFFFFF"},heading:{fontSize:"36px",fontWeight:"bold",color:"#9333EA",marginBottom:"16px"},text:{fontSize:"18px",color:"#4B5563",lineHeight:1.6,textAlign:"center"},errorState:{color:"#CE3928",padding:"18px 0px",display:"flex",justifyContent:"center",width:"100%"}},n=t("svg",{style:e.icon,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})});export{e as comingSoonStyles,n as defaultIcon};
2
+ //# sourceMappingURL=BookemonStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookemonStyles.js","sources":["../../../src/features/Bookemon/BookemonStyles.tsx"],"sourcesContent":["import type { CSSProperties } from 'react';\n\nexport const comingSoonStyles: { [key: string]: CSSProperties } = {\n wrapper: { alignItems: 'center', justifyContent: 'center', textAlign: 'center' },\n inner: { width: '100%' },\n iconWrapper: { width: '80px', height: '80px', background: 'linear-gradient(to right, #3B82F6, #9333EA)', borderRadius: '50%', display: 'flex', alignItems: 'center', justifyContent: 'center', margin: '0 auto 24px auto' },\n icon: { width: '40px', height: '40px', color: '#FFFFFF' },\n heading: { fontSize: '36px', fontWeight: 'bold', color: '#9333EA', marginBottom: '16px' },\n text: { fontSize: '18px', color: '#4B5563', lineHeight: 1.6, textAlign: 'center' },\n errorState: { color: '#CE3928', padding: '18px 0px', display: 'flex', justifyContent: 'center', width: '100%' },\n};\n\nexport const defaultIcon = <svg style={comingSoonStyles.icon} fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\"><path strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={2} d=\"M13 10V3L4 14h7v7l9-11h-7z\" /></svg>;\n"],"names":["comingSoonStyles","wrapper","alignItems","justifyContent","textAlign","inner","width","iconWrapper","height","background","borderRadius","display","margin","icon","color","heading","fontSize","fontWeight","marginBottom","text","lineHeight","errorState","padding","defaultIcon","style","fill","stroke","viewBox","children","jsx","strokeLinecap","strokeLinejoin","strokeWidth","d"],"mappings":"wCAEO,MAAMA,EAAqD,CAChEC,QAAS,CAAEC,WAAY,SAAUC,eAAgB,SAAUC,UAAW,UACtEC,MAAO,CAAEC,MAAO,QAChBC,YAAa,CAAED,MAAO,OAAQE,OAAQ,OAAQC,WAAY,8CAA+CC,aAAc,MAAOC,QAAS,OAAQT,WAAY,SAAUC,eAAgB,SAAUS,OAAQ,oBACvMC,KAAM,CAAEP,MAAO,OAAQE,OAAQ,OAAQM,MAAO,WAC9CC,QAAS,CAAEC,SAAU,OAAQC,WAAY,OAAQH,MAAO,UAAWI,aAAc,QACjFC,KAAM,CAAEH,SAAU,OAAQF,MAAO,UAAWM,WAAY,IAAKhB,UAAW,UACxEiB,WAAY,CAAEP,MAAO,UAAWQ,QAAS,WAAYX,QAAS,OAAQR,eAAgB,SAAUG,MAAO,SAG5FiB,IAAe,MAAI,CAAAC,MAAOxB,EAAiBa,KAAMY,KAAK,OAAOC,OAAO,eAAeC,QAAQ,YAAYC,SAACC,EAAA,OAAA,CAAKC,cAAc,QAAQC,eAAe,QAAQC,YAAa,EAAGC,EAAE"}
@@ -0,0 +1,2 @@
1
+ import{jsx as e}from"react/jsx-runtime";import{forwardRef as r}from"react";import{CirclePlus as t,ArrowLeft as o,ArrowRight as m,Sparkles as c,WandSparkles as i,MessageCircle as s,CheckCircle as f,Check as l,ChevronLeft as a,ChevronRight as p,Minimize as n,X as u,Copy as x,Moon as y,Trash2 as z,MoveVertical as d,Clipboard as b,ChevronUp as g,ChevronDown as h,Maximize as j,Github as k,Info as C,Sun as S,Lightbulb as q,Search as v,RotateCw as w}from"lucide-react";export{Check}from"lucide-react";const A=t=>r(({fontSize:r,size:o,sx:m,style:c,...i},s)=>e(t,{ref:s,size:o??("small"===r?18:"large"===r?28:"number"==typeof r?r:24),style:{...m,...c},...i})),B=A(t),D=A(o),E=A(m),F=A(c),G=A(i),H=A(s);A(s),A(f);const I=A(l),J=A(a),K=A(p),L=A(n),M=A(u),N=A(u),O=A(x),P=A(y),Q=A(z),R=A(d),T=A(b),U=A(g),V=A(g),W=A(h),X=A(h),Y=A(j),Z=A(k),$=A(C),_=A(C),ee=A(h),re=A(g),te=A(S),oe=A(q),me=A(v),ce=A(a),ie=A(p),se=A(m),fe=A(w),le=A(m);export{B as AddIcon,D as ArrowBackIcon,E as ArrowForwardIcon,F as AutoAwesomeIcon,G as AutoFixHighOutlinedIcon,H as ChatBubbleOutlineOutlined,I as CheckIcon,J as ChevronLeftIcon,K as ChevronRightIcon,L as CloseFullscreenIcon,M as CloseIcon,N as CloseOutlinedIcon,O as ContentCopy,P as DarkModeIcon,Q as DeleteOutlineIcon,R as DragIndicatorIcon,T as EditOutlinedIcon,U as ExpandLess,V as ExpandLessIcon,W as ExpandMore,X as ExpandMoreIcon,Y as FullscreenIcon,Z as GitHub,$ as InfoIcon,_ as InfoOutlinedIcon,ee as KeyboardArrowDownIcon,re as KeyboardArrowUpIcon,te as LightModeIcon,oe as LightbulbOutlined,me as ManageSearchOutlined,ce as NavigateBeforeIcon,ie as NavigateNextIcon,se as NearMeOutlinedIcon,fe as RotateRightIcon,le as SwapHorizIcon};
2
+ //# sourceMappingURL=icons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.js","sources":["../../../src/lib/ui/icons.tsx"],"sourcesContent":["import React, { CSSProperties, forwardRef } from 'react';\nimport {\n ArrowLeft,\n ArrowRight,\n Check,\n CheckCircle,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n CirclePlus,\n Clipboard,\n Copy,\n Expand,\n Github,\n Info,\n Lightbulb,\n Maximize,\n MessageCircle,\n Minimize,\n Moon,\n MoveVertical,\n RotateCw,\n Search,\n Sparkles,\n Sun,\n Trash2,\n WandSparkles,\n X,\n type LucideIcon,\n type LucideProps,\n} from 'lucide-react';\n\nexport interface LegacyIconProps extends Omit<LucideProps, 'color'> {\n color?: string;\n fontSize?: 'inherit' | 'small' | 'medium' | 'large' | number;\n sx?: CSSProperties & Record<string, unknown>;\n}\n\nconst legacyIcon = (Icon: LucideIcon) => forwardRef<SVGSVGElement, LegacyIconProps>(\n ({ fontSize, size, sx, style, ...props }, ref) => {\n const resolvedSize = size ?? (fontSize === 'small' ? 18 : fontSize === 'large' ? 28 : typeof fontSize === 'number' ? fontSize : 24);\n return <Icon ref={ref} size={resolvedSize} style={{ ...sx, ...style }} {...props} />;\n },\n);\n\nexport const AddIcon = legacyIcon(CirclePlus);\nexport const ArrowBackIcon = legacyIcon(ArrowLeft);\nexport const ArrowForwardIcon = legacyIcon(ArrowRight);\nexport const AutoAwesomeIcon = legacyIcon(Sparkles);\nexport const AutoFixHighOutlinedIcon = legacyIcon(WandSparkles);\nexport const ChatBubbleOutlineOutlined = legacyIcon(MessageCircle);\nexport const ChatBubbleOutlineOutlinedIcon = legacyIcon(MessageCircle);\nexport const CheckCircleOutlineIcon = legacyIcon(CheckCircle);\nexport const CheckIcon = legacyIcon(Check);\nexport const ChevronLeftIcon = legacyIcon(ChevronLeft);\nexport const ChevronRightIcon = legacyIcon(ChevronRight);\nexport const CloseFullscreenIcon = legacyIcon(Minimize);\nexport const CloseIcon = legacyIcon(X);\nexport const CloseOutlinedIcon = legacyIcon(X);\nexport const ContentCopy = legacyIcon(Copy);\nexport const DarkModeIcon = legacyIcon(Moon);\nexport const DeleteOutlineIcon = legacyIcon(Trash2);\nexport const DragIndicatorIcon = legacyIcon(MoveVertical);\nexport const EditOutlinedIcon = legacyIcon(Clipboard);\nexport const ExpandLess = legacyIcon(ChevronUp);\nexport const ExpandLessIcon = legacyIcon(ChevronUp);\nexport const ExpandMore = legacyIcon(ChevronDown);\nexport const ExpandMoreIcon = legacyIcon(ChevronDown);\nexport const FullscreenIcon = legacyIcon(Maximize);\nexport const GitHub = legacyIcon(Github);\nexport const InfoIcon = legacyIcon(Info);\nexport const InfoOutlinedIcon = legacyIcon(Info);\nexport const KeyboardArrowDownIcon = legacyIcon(ChevronDown);\nexport const KeyboardArrowUpIcon = legacyIcon(ChevronUp);\nexport const LightModeIcon = legacyIcon(Sun);\nexport const LightbulbOutlined = legacyIcon(Lightbulb);\nexport const ManageSearchOutlined = legacyIcon(Search);\nexport const NavigateBeforeIcon = legacyIcon(ChevronLeft);\nexport const NavigateNextIcon = legacyIcon(ChevronRight);\nexport const NearMeOutlinedIcon = legacyIcon(ArrowRight);\nexport const RotateRightIcon = legacyIcon(RotateCw);\nexport const SwapHorizIcon = legacyIcon(ArrowRight);\n\nexport { Check };\n"],"names":["legacyIcon","Icon","forwardRef","fontSize","size","sx","style","props","ref","jsx","AddIcon","CirclePlus","ArrowBackIcon","ArrowLeft","ArrowForwardIcon","ArrowRight","AutoAwesomeIcon","Sparkles","AutoFixHighOutlinedIcon","WandSparkles","ChatBubbleOutlineOutlined","MessageCircle","CheckCircle","CheckIcon","Check","ChevronLeftIcon","ChevronLeft","ChevronRightIcon","ChevronRight","CloseFullscreenIcon","Minimize","CloseIcon","X","CloseOutlinedIcon","ContentCopy","Copy","DarkModeIcon","Moon","DeleteOutlineIcon","Trash2","DragIndicatorIcon","MoveVertical","EditOutlinedIcon","Clipboard","ExpandLess","ChevronUp","ExpandLessIcon","ExpandMore","ChevronDown","ExpandMoreIcon","FullscreenIcon","Maximize","GitHub","Github","InfoIcon","Info","InfoOutlinedIcon","KeyboardArrowDownIcon","KeyboardArrowUpIcon","LightModeIcon","Sun","LightbulbOutlined","Lightbulb","ManageSearchOutlined","Search","NavigateBeforeIcon","NavigateNextIcon","NearMeOutlinedIcon","RotateRightIcon","RotateCw","SwapHorizIcon"],"mappings":"kfAuCA,MAAMA,EAAcC,GAAqBC,EACvC,EAAGC,WAAUC,OAAMC,KAAIC,WAAUC,GAASC,IAEhCC,EAAAR,EAAA,CAAKO,MAAUJ,KADFA,IAAsB,UAAbD,EAAuB,GAAkB,UAAbA,EAAuB,GAAyB,iBAAbA,EAAwBA,EAAW,IACrFG,MAAO,IAAKD,KAAOC,MAAaC,KAIlEG,EAAUV,EAAWW,GACrBC,EAAgBZ,EAAWa,GAC3BC,EAAmBd,EAAWe,GAC9BC,EAAkBhB,EAAWiB,GAC7BC,EAA0BlB,EAAWmB,GACrCC,EAA4BpB,EAAWqB,GACPrB,EAAWqB,GAClBrB,EAAWsB,GACpC,MAAAC,EAAYvB,EAAWwB,GACvBC,EAAkBzB,EAAW0B,GAC7BC,EAAmB3B,EAAW4B,GAC9BC,EAAsB7B,EAAW8B,GACjCC,EAAY/B,EAAWgC,GACvBC,EAAoBjC,EAAWgC,GAC/BE,EAAclC,EAAWmC,GACzBC,EAAepC,EAAWqC,GAC1BC,EAAoBtC,EAAWuC,GAC/BC,EAAoBxC,EAAWyC,GAC/BC,EAAmB1C,EAAW2C,GAC9BC,EAAa5C,EAAW6C,GACxBC,EAAiB9C,EAAW6C,GAC5BE,EAAa/C,EAAWgD,GACxBC,EAAiBjD,EAAWgD,GAC5BE,EAAiBlD,EAAWmD,GAC5BC,EAASpD,EAAWqD,GACpBC,EAAWtD,EAAWuD,GACtBC,EAAmBxD,EAAWuD,GAC9BE,GAAwBzD,EAAWgD,GACnCU,GAAsB1D,EAAW6C,GACjCc,GAAgB3D,EAAW4D,GAC3BC,GAAoB7D,EAAW8D,GAC/BC,GAAuB/D,EAAWgE,GAClCC,GAAqBjE,EAAW0B,GAChCwC,GAAmBlE,EAAW4B,GAC9BuC,GAAqBnE,EAAWe,GAChCqD,GAAkBpE,EAAWqE,GAC7BC,GAAgBtE,EAAWe"}
@@ -0,0 +1,2 @@
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{forwardRef as n}from"react";import{Button as r}from"primereact/button";import{Checkbox as i}from"primereact/checkbox";import{Dialog as l}from"primereact/dialog";import{InputSwitch as o}from"primereact/inputswitch";import{ProgressSpinner as a}from"primereact/progressspinner";import{RadioButton as d}from"primereact/radiobutton";import{Skeleton as s}from"primereact/skeleton";const c={palette:{primary:{main:"var(--primary-color, #6366f1)",light:"#eef2ff",dark:"#4338ca",contrastText:"#fff"},secondary:{main:"#64748b"},error:{main:"#dc2626",light:"#fef2f2"},warning:{main:"#d97706",light:"#fffbeb"},success:{main:"#16a34a",light:"#f0fdf4"},info:{main:"#2563eb",light:"#eff6ff"},text:{primary:"#111827",secondary:"#64748b",disabled:"#9ca3af"},divider:"#e5e7eb",background:{paper:"#fff",default:"#fff"},grey:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",500:"#6b7280",700:"#374151",900:"#111827"}},spacing:e=>8*e+"px",breakpoints:{up:()=>"@media",down:()=>"@media"}},p={fontFamily:"var(--font-bpa, Inter, sans-serif)"},f={m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"margin",my:"margin",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"padding",py:"padding"},g=e=>{if(!e)return{};if("function"==typeof e)return g(e(c));if(Array.isArray(e))return Object.assign({},...e.map(e=>g(e)));const t={};for(const[n,r]of Object.entries(e)){if(null==r||n.startsWith("&")||n.startsWith("@"))continue;const e=f[n]??n;let i=r;"function"==typeof i&&(i=i(c)),f[n]&&"number"==typeof i&&(i=c.spacing(i)),"mx"!==n?"my"!==n?"px"!==n?"py"!==n?"bgcolor"!==n?t[e]=i:t.backgroundColor=i:(t.paddingTop=i,t.paddingBottom=i):(t.paddingLeft=i,t.paddingRight=i):(t.marginTop=i,t.marginBottom=i):(t.marginLeft=i,t.marginRight=i)}return t},m=(t,r={})=>n(({component:n,as:i,sx:l,style:o,children:a,...d},s)=>e(n??i??t,{ref:s,style:{...p,...r,...g(l),...o},...d,children:a})),h=m("div"),u=m("div",{background:"#fff"}),y=n(({direction:t="column",spacing:n=0,sx:r,style:i,children:l,...o},a)=>e("div",{ref:a,style:{display:"flex",flexDirection:t,gap:"number"==typeof n?c.spacing(n):n,...g(r),...i},...o,children:l})),b=m("hr",{border:0,borderTop:"1px solid #e5e7eb",margin:0}),x=n(({component:t,variant:n,sx:r,style:i,children:l,...o},a)=>{const d=t??(n?.startsWith("h")?n:"span");return e(d,{ref:a,style:{display:"span"===d?"inline":void 0,margin:0,...g(r),...i},...o,children:l})}),v=n(({children:e,startIcon:n,endIcon:i,variant:l,color:o,sx:a,style:d,disabled:s,onClick:c,...p},f)=>t(r,{ref:f,disabled:s,onClick:c,outlined:"outlined"===l,text:"text"===l,severity:"error"===o?"danger":o,style:{...g(a),...d},...p,children:[n,e,i]})),k=m("button",{border:0,background:"transparent",padding:0,cursor:"pointer",font:"inherit"}),C=n(({children:t,sx:n,style:i,color:l,...o},a)=>e(r,{ref:a,text:!0,rounded:!0,severity:"error"===l?"danger":void 0,style:{padding:"0.5rem",...g(n),...i},...o,children:t})),w=n(({checked:t,onChange:n,value:r,disabled:l,sx:o,style:a,...d},s)=>e(i,{ref:s,checked:Boolean(t),value:r,disabled:l,onChange:e=>{const t=e.originalEvent??{};n?.({...t,target:{...t.target,checked:e.checked,value:r}},e.checked)},style:{...g(o),...a},...d})),B=n(({checked:t,onChange:n,value:r,disabled:i,sx:l,style:o,...a},s)=>e(d,{ref:s,checked:Boolean(t),value:r,disabled:i,onChange:e=>{const t=e.originalEvent??{};n?.({...t,target:{...t.target,checked:e.checked,value:r}},e.checked)},style:{...g(l),...o},...a})),R=n(({checked:t,onChange:n,disabled:r,sx:i,style:l,...a},d)=>e(o,{ref:d,checked:Boolean(t),disabled:r,onChange:e=>{const t=e.originalEvent??{};n?.({...t,target:{...t.target,checked:e.value}},e.value)},style:{...g(i),...l},...a})),T=({control:e,label:n,sx:r,style:i,...l})=>t("label",{style:{display:"inline-flex",alignItems:"center",gap:8,...g(r),...i},...l,children:[e,n]}),I=n(({multiline:n,rows:r,label:i,value:l,onChange:o,placeholder:a,disabled:d,type:s,sx:c,style:p,InputProps:f,inputProps:m,...h},u)=>{const y=n?"textarea":"input";return t("label",{style:{display:"inline-flex",flexDirection:"column",gap:4,...g(c)},children:[i&&e("span",{children:i}),e(y,{ref:u,rows:r,value:l??"",onChange:o,placeholder:a,disabled:d,type:s,style:{font:"inherit",border:"1px solid #d1d5db",borderRadius:6,padding:"0.5rem 0.75rem",...p},...m,...h})]})}),z=m("span"),P=({label:n,onDelete:r,sx:i,style:l,...o})=>t("span",{style:{display:"inline-flex",alignItems:"center",gap:4,borderRadius:999,background:"#f3f4f6",padding:"0.25rem 0.5rem",...g(i),...l},...o,children:[n,r&&e("button",{type:"button",onClick:r,"aria-label":"Remove",children:"×"})]}),S=({options:t=[],value:n,onChange:r,renderInput:i,multiple:l,getOptionLabel:o=e=>String(e),sx:a})=>{const d=l?(n??[]).map(o):o(n??"");return e("div",{style:g(a),children:i?.({inputProps:{list:void 0},value:d})??e("select",{multiple:l,value:d,onChange:e=>r?.(e,l?Array.from(e.currentTarget.selectedOptions,e=>t.find(t=>o(t)===e.value)):t.find(t=>o(t)===e.currentTarget.value)),children:t.map(t=>e("option",{children:o(t)},o(t)))})})},W=({size:t=40,sx:n,style:r,...i})=>e(a,{strokeWidth:"5",style:{width:t,height:t,...g(n),...r},...i}),E=({width:t,height:n,variant:r,sx:i,style:l,...o})=>e(s,{width:"number"==typeof t?`${t}px`:t,height:"number"==typeof n?`${n}px`:n,shape:"circular"===r?"circle":"rectangle",style:{...g(i),...l},...o}),L=({count:t=1,page:n=1,onChange:r,sx:i,style:l})=>e("nav",{"aria-label":"Pagination",style:{display:"flex",gap:4,...g(i),...l},children:Array.from({length:t},(e,t)=>t+1).map(t=>e("button",{type:"button","aria-current":t===n?"page":void 0,onClick:e=>r?.(e,t),children:t},t))}),O=({open:t,onClose:n,children:r,maxWidth:i,fullWidth:o,PaperProps:a,sx:d,...s})=>e(l,{visible:Boolean(t),onHide:()=>n?.({},"backdropClick"),modal:!0,style:{width:o?{xs:"90vw",sm:"36rem",md:"56rem",lg:"72rem"}[i]??"90vw":void 0,...g(d),...a?.style},contentStyle:a?.sx?g(a.sx):void 0,...s,children:r}),j=m("header",{fontSize:"1.25rem",fontWeight:600,marginBottom:"1rem"}),A=m("div");m("footer",{display:"flex",justifyContent:"flex-end",gap:"0.5rem",marginTop:"1rem"});const D=({expanded:t,defaultExpanded:n,onChange:r,children:i,sx:l,style:o,...a})=>e("details",{open:t??n,onToggle:e=>r?.(e,e.currentTarget.open),style:{...g(l),...o},...a,children:i}),$=m("summary",{cursor:"pointer",listStyle:"none"}),F=m("div"),H=({title:t,children:n})=>e("span",{title:"string"==typeof t?t:void 0,style:{display:"inline-flex"},children:n}),N=({value:t,onChange:n,children:r,sx:i,style:l})=>e("div",{role:"tablist","data-value":t,style:{display:"flex",...g(i),...l},onClick:e=>{const t=e.target.closest("[data-tab-value]")?.dataset.tabValue;null!=t&&n?.(e,Number(t))},children:r}),V=({label:t,value:n,sx:r,style:i,...l})=>e("button",{type:"button",role:"tab","data-tab-value":n,style:{...g(r),...i},...l,children:t}),X=({severity:n="info",children:r,onClose:i,sx:l,style:o,...a})=>t("div",{role:"alert","data-severity":n,style:{padding:"0.75rem 1rem",borderRadius:6,background:c.palette[n]?.light,color:c.palette[n]?.main,...g(l),...o},...a,children:[r,i&&e("button",{type:"button",onClick:i,"aria-label":"Close",children:"×"})]}),q=({open:t,children:n,message:r,anchorOrigin:i,sx:l,style:o,...a})=>t?e("div",{style:{position:"fixed",zIndex:1500,bottom:"top"===i?.vertical?void 0:24,top:"top"===i?.vertical?24:void 0,left:"left"===i?.horizontal?24:"50%",transform:"left"===i?.horizontal?void 0:"translateX(-50%)",...g(l),...o},...a,children:n??r}):null,G=({open:t,anchorEl:n,onClose:r,children:i,sx:l,style:o,...a})=>t?e("div",{role:"menu",style:{position:"fixed",zIndex:1400,top:n?.getBoundingClientRect?.().bottom??0,left:n?.getBoundingClientRect?.().left??0,background:"#fff",border:"1px solid #e5e7eb",borderRadius:6,boxShadow:"0 8px 24px rgb(0 0 0 / 15%)",...g(l),...o},...a,children:i}):null,J=m("button",{display:"flex",width:"100%",border:0,background:"transparent",padding:"0.5rem 0.75rem",cursor:"pointer",font:"inherit"}),K=({open:t,anchorEl:n,placement:r,children:i,sx:l,style:o,...a})=>t?e("div",{style:{position:"fixed",zIndex:1300,top:n?.getBoundingClientRect?.().bottom??0,left:n?.getBoundingClientRect?.().left??0,...g(l),...o},...a,children:"function"==typeof i?i({placement:r,TransitionProps:{}}):i}):null,M=({children:e})=>e;m("a");const Q=m("select"),U=n(({children:t,sx:n,style:r,fontSize:i,viewBox:l="0 0 24 24",...o},a)=>e("svg",{ref:a,viewBox:l,width:"small"===i?18:24,height:"small"===i?18:24,fill:"currentColor",style:{...g(n),...r},...o,children:t})),Y=e=>(...t)=>e,Z={tooltip:"bpa-tooltip",arrow:"bpa-tooltip-arrow"};export{D as Accordion,F as AccordionDetails,$ as AccordionSummary,X as Alert,S as Autocomplete,h as Box,v as Button,k as ButtonBase,w as Checkbox,P as Chip,W as CircularProgress,O as Dialog,A as DialogContent,j as DialogTitle,b as Divider,T as FormControlLabel,C as IconButton,z as InputAdornment,G as Menu,J as MenuItem,L as Pagination,u as Paper,K as Popper,M as Portal,B as Radio,Q as Select,E as Skeleton,q as Snackbar,y as Stack,U as SvgIcon,R as Switch,V as Tab,N as Tabs,I as TextField,H as Tooltip,x as Typography,Y as styled,Z as tooltipClasses};
2
+ //# sourceMappingURL=materialCompat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"materialCompat.js","sources":["../../../src/lib/ui/materialCompat.tsx"],"sourcesContent":["import React, { forwardRef, useId, type CSSProperties, type ElementType, type ReactNode } from 'react';\nimport { Button as PrimeButton } from 'primereact/button';\nimport { Checkbox as PrimeCheckbox } from 'primereact/checkbox';\nimport { Dialog as PrimeDialog } from 'primereact/dialog';\nimport { InputSwitch as PrimeInputSwitch } from 'primereact/inputswitch';\nimport { ProgressSpinner } from 'primereact/progressspinner';\nimport { RadioButton } from 'primereact/radiobutton';\nimport { Skeleton as PrimeSkeleton } from 'primereact/skeleton';\n\nexport type Theme = Record<string, any>;\nexport type SxProps<T = Theme> = CSSProperties | Record<string, any> | ((theme: T) => any) | readonly SxProps<T>[];\nexport type SvgIconProps = React.SVGProps<SVGSVGElement> & { sx?: SxProps; fontSize?: string };\nexport type PopperProps = Record<string, any>;\nexport interface CompatProps {\n [key: string]: any;\n children?: any;\n sx?: SxProps;\n style?: CSSProperties;\n onChange?: (event: any, value?: any) => void;\n onClick?: (event: any) => void;\n onKeyDown?: (event: any) => void;\n onMouseEnter?: (event: any) => void;\n onMouseLeave?: (event: any) => void;\n onMouseMove?: (event: any) => void;\n onInputChange?: (event: any, value: string, reason: string) => void;\n renderInput?: (params: any) => ReactNode;\n}\ntype CompatComponent = React.ForwardRefExoticComponent<CompatProps & React.RefAttributes<any>>;\n\nconst theme: Theme = {\n palette: {\n primary: { main: 'var(--primary-color, #6366f1)', light: '#eef2ff', dark: '#4338ca', contrastText: '#fff' },\n secondary: { main: '#64748b' },\n error: { main: '#dc2626', light: '#fef2f2' },\n warning: { main: '#d97706', light: '#fffbeb' },\n success: { main: '#16a34a', light: '#f0fdf4' },\n info: { main: '#2563eb', light: '#eff6ff' },\n text: { primary: '#111827', secondary: '#64748b', disabled: '#9ca3af' },\n divider: '#e5e7eb',\n background: { paper: '#fff', default: '#fff' },\n grey: { 50: '#f9fafb', 100: '#f3f4f6', 200: '#e5e7eb', 300: '#d1d5db', 500: '#6b7280', 700: '#374151', 900: '#111827' },\n },\n spacing: (value: number) => `${value * 8}px`,\n breakpoints: { up: () => '@media', down: () => '@media' },\n};\n\nconst platformFont: CSSProperties = { fontFamily: 'var(--font-bpa, Inter, sans-serif)' };\n\nconst spacingKeys: Record<string, keyof CSSProperties> = {\n m: 'margin', mt: 'marginTop', mr: 'marginRight', mb: 'marginBottom', ml: 'marginLeft', mx: 'margin', my: 'margin',\n p: 'padding', pt: 'paddingTop', pr: 'paddingRight', pb: 'paddingBottom', pl: 'paddingLeft', px: 'padding', py: 'padding',\n};\n\nconst resolveSx = (sx?: SxProps): CSSProperties => {\n if (!sx) return {};\n if (typeof sx === 'function') return resolveSx(sx(theme));\n if (Array.isArray(sx)) return Object.assign({}, ...sx.map((entry) => resolveSx(entry)));\n const output: Record<string, any> = {};\n for (const [key, rawValue] of Object.entries(sx)) {\n if (rawValue == null || key.startsWith('&') || key.startsWith('@')) continue;\n const target = spacingKeys[key] ?? key;\n let value: any = rawValue;\n if (typeof value === 'function') value = value(theme);\n if (spacingKeys[key] && typeof value === 'number') value = theme.spacing(value);\n if (key === 'mx') { output.marginLeft = value; output.marginRight = value; continue; }\n if (key === 'my') { output.marginTop = value; output.marginBottom = value; continue; }\n if (key === 'px') { output.paddingLeft = value; output.paddingRight = value; continue; }\n if (key === 'py') { output.paddingTop = value; output.paddingBottom = value; continue; }\n if (key === 'bgcolor') { output.backgroundColor = value; continue; }\n output[target] = value;\n }\n return output as CSSProperties;\n};\n\nconst element = (defaultTag: ElementType, baseStyle: CSSProperties = {}): CompatComponent => forwardRef<any, CompatProps>(\n ({ component, as, sx, style, children, ...props }, ref) => {\n const Tag = component ?? as ?? defaultTag;\n return <Tag ref={ref} style={{ ...platformFont, ...baseStyle, ...resolveSx(sx), ...style }} {...props}>{children}</Tag>;\n },\n);\n\nexport const Box = element('div');\nexport const Paper = element('div', { background: '#fff' });\nexport const Stack: CompatComponent = forwardRef<any, CompatProps>(({ direction = 'column', spacing = 0, sx, style, children, ...props }, ref) => (\n <div ref={ref} style={{ display: 'flex', flexDirection: direction, gap: typeof spacing === 'number' ? theme.spacing(spacing) : spacing, ...resolveSx(sx), ...style }} {...props}>{children}</div>\n));\nexport const Divider = element('hr', { border: 0, borderTop: '1px solid #e5e7eb', margin: 0 });\nexport const Typography: CompatComponent = forwardRef<any, CompatProps>(({ component, variant, sx, style, children, ...props }, ref) => {\n const Tag = component ?? (variant?.startsWith('h') ? variant : 'span');\n return <Tag ref={ref} style={{ display: Tag === 'span' ? 'inline' : undefined, margin: 0, ...resolveSx(sx), ...style }} {...props}>{children}</Tag>;\n});\n\nexport const Button: CompatComponent = forwardRef<any, CompatProps>(({ children, startIcon, endIcon, variant, color, sx, style, disabled, onClick, ...props }, ref) => (\n <PrimeButton ref={ref} disabled={disabled} onClick={onClick} outlined={variant === 'outlined'} text={variant === 'text'} severity={color === 'error' ? 'danger' : color} style={{ ...resolveSx(sx), ...style }} {...props}>\n {startIcon}{children}{endIcon}\n </PrimeButton>\n));\nexport const ButtonBase = element('button', { border: 0, background: 'transparent', padding: 0, cursor: 'pointer', font: 'inherit' });\nexport const IconButton: CompatComponent = forwardRef<any, CompatProps>(({ children, sx, style, color, ...props }, ref) => (\n <PrimeButton ref={ref} text rounded severity={color === 'error' ? 'danger' : undefined} style={{ padding: '0.5rem', ...resolveSx(sx), ...style }} {...props}>{children}</PrimeButton>\n));\n\nexport const Checkbox: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, value, disabled, sx, style, ...props }, ref) => (\n <PrimeCheckbox ref={ref} checked={Boolean(checked)} value={value} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.checked, value } }, event.checked); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const Radio: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, value, disabled, sx, style, ...props }, ref) => (\n <RadioButton ref={ref} checked={Boolean(checked)} value={value} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.checked, value } }, event.checked); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const Switch: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, disabled, sx, style, ...props }, ref) => (\n <PrimeInputSwitch ref={ref} checked={Boolean(checked)} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.value } }, event.value); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const FormControlLabel: React.FC<CompatProps> = ({ control, label, sx, style, ...props }) => <label style={{ display: 'inline-flex', alignItems: 'center', gap: 8, ...resolveSx(sx), ...style }} {...props}>{control}{label}</label>;\n\nexport const TextField: CompatComponent = forwardRef<any, CompatProps>(({ multiline, rows, label, value, onChange, placeholder, disabled, type, sx, style, InputProps, inputProps, ...props }, ref) => {\n const Tag = multiline ? 'textarea' : 'input';\n return <label style={{ display: 'inline-flex', flexDirection: 'column', gap: 4, ...resolveSx(sx) }}>{label && <span>{label}</span>}<Tag ref={ref} rows={rows} value={value ?? ''} onChange={onChange} placeholder={placeholder} disabled={disabled} type={type} style={{ font: 'inherit', border: '1px solid #d1d5db', borderRadius: 6, padding: '0.5rem 0.75rem', ...style }} {...inputProps} {...props} /></label>;\n});\nexport const InputAdornment = element('span');\nexport const Chip = ({ label, onDelete, sx, style, ...props }: any) => <span style={{ display: 'inline-flex', alignItems: 'center', gap: 4, borderRadius: 999, background: '#f3f4f6', padding: '0.25rem 0.5rem', ...resolveSx(sx), ...style }} {...props}>{label}{onDelete && <button type=\"button\" onClick={onDelete} aria-label=\"Remove\">×</button>}</span>;\nexport const Autocomplete: React.FC<CompatProps> = ({ options = [], value, onChange, renderInput, multiple, getOptionLabel = (option: any) => String(option), sx }) => {\n const values = multiple ? (value ?? []).map(getOptionLabel) : getOptionLabel(value ?? '');\n return <div style={resolveSx(sx)}>{renderInput?.({ inputProps: { list: undefined }, value: values }) ?? <select multiple={multiple} value={multiple ? values : values} onChange={(event) => onChange?.(event, multiple ? Array.from(event.currentTarget.selectedOptions, (item) => options.find((option: any) => getOptionLabel(option) === item.value)) : options.find((option: any) => getOptionLabel(option) === event.currentTarget.value))}>{options.map((option: any) => <option key={getOptionLabel(option)}>{getOptionLabel(option)}</option>)}</select>}</div>;\n};\n\nexport const CircularProgress: React.FC<CompatProps> = ({ size = 40, sx, style, ...props }) => <ProgressSpinner strokeWidth=\"5\" style={{ width: size, height: size, ...resolveSx(sx), ...style }} {...props} />;\nexport const Skeleton = ({ width, height, variant, sx, style, ...props }: any) => <PrimeSkeleton width={typeof width === 'number' ? `${width}px` : width} height={typeof height === 'number' ? `${height}px` : height} shape={variant === 'circular' ? 'circle' : 'rectangle'} style={{ ...resolveSx(sx), ...style }} {...props} />;\nexport const Pagination: React.FC<CompatProps> = ({ count = 1, page = 1, onChange, sx, style }) => <nav aria-label=\"Pagination\" style={{ display: 'flex', gap: 4, ...resolveSx(sx), ...style }}>{Array.from({ length: count }, (_, index) => index + 1).map((item) => <button type=\"button\" key={item} aria-current={item === page ? 'page' : undefined} onClick={(event) => onChange?.(event, item)}>{item}</button>)}</nav>;\n\nexport const Dialog = ({ open, onClose, children, maxWidth, fullWidth, PaperProps, sx, ...props }: any) => <PrimeDialog visible={Boolean(open)} onHide={() => onClose?.({}, 'backdropClick')} modal style={{ width: fullWidth ? ({ xs: '90vw', sm: '36rem', md: '56rem', lg: '72rem' }[maxWidth as string] ?? '90vw') : undefined, ...resolveSx(sx), ...PaperProps?.style }} contentStyle={PaperProps?.sx ? resolveSx(PaperProps.sx) : undefined} {...props}>{children}</PrimeDialog>;\nexport const DialogTitle = element('header', { fontSize: '1.25rem', fontWeight: 600, marginBottom: '1rem' });\nexport const DialogContent = element('div');\nexport const DialogActions = element('footer', { display: 'flex', justifyContent: 'flex-end', gap: '0.5rem', marginTop: '1rem' });\n\nexport const Accordion: React.FC<CompatProps> = ({ expanded, defaultExpanded, onChange, children, sx, style, ...props }) => <details open={expanded ?? defaultExpanded} onToggle={(event) => onChange?.(event, event.currentTarget.open)} style={{ ...resolveSx(sx), ...style }} {...props}>{children}</details>;\nexport const AccordionSummary = element('summary', { cursor: 'pointer', listStyle: 'none' });\nexport const AccordionDetails = element('div');\nexport const Tooltip: React.FC<CompatProps> = ({ title, children }) => <span title={typeof title === 'string' ? title : undefined} style={{ display: 'inline-flex' }}>{children}</span>;\n\nexport const Tabs: React.FC<CompatProps> = ({ value, onChange, children, sx, style }) => <div role=\"tablist\" data-value={value} style={{ display: 'flex', ...resolveSx(sx), ...style }} onClick={(event: any) => { const next = event.target.closest('[data-tab-value]')?.dataset.tabValue; if (next != null) onChange?.(event, Number(next)); }}>{children}</div>;\nexport const Tab = ({ label, value, sx, style, ...props }: any) => <button type=\"button\" role=\"tab\" data-tab-value={value} style={{ ...resolveSx(sx), ...style }} {...props}>{label}</button>;\nexport const Alert = ({ severity = 'info', children, onClose, sx, style, ...props }: any) => <div role=\"alert\" data-severity={severity} style={{ padding: '0.75rem 1rem', borderRadius: 6, background: theme.palette[severity]?.light, color: theme.palette[severity]?.main, ...resolveSx(sx), ...style }} {...props}>{children}{onClose && <button type=\"button\" onClick={onClose} aria-label=\"Close\">×</button>}</div>;\nexport const Snackbar = ({ open, children, message, anchorOrigin, sx, style, ...props }: any) => open ? <div style={{ position: 'fixed', zIndex: 1500, bottom: anchorOrigin?.vertical === 'top' ? undefined : 24, top: anchorOrigin?.vertical === 'top' ? 24 : undefined, left: anchorOrigin?.horizontal === 'left' ? 24 : '50%', transform: anchorOrigin?.horizontal === 'left' ? undefined : 'translateX(-50%)', ...resolveSx(sx), ...style }} {...props}>{children ?? message}</div> : null;\n\nexport const Menu: React.FC<CompatProps> = ({ open, anchorEl, onClose, children, sx, style, ...props }) => open ? <div role=\"menu\" style={{ position: 'fixed', zIndex: 1400, top: anchorEl?.getBoundingClientRect?.().bottom ?? 0, left: anchorEl?.getBoundingClientRect?.().left ?? 0, background: '#fff', border: '1px solid #e5e7eb', borderRadius: 6, boxShadow: '0 8px 24px rgb(0 0 0 / 15%)', ...resolveSx(sx), ...style }} {...props}>{children}</div> : null;\nexport const MenuItem = element('button', { display: 'flex', width: '100%', border: 0, background: 'transparent', padding: '0.5rem 0.75rem', cursor: 'pointer', font: 'inherit' });\nexport const Popper: React.FC<CompatProps> = ({ open, anchorEl, placement, children, sx, style, ...props }) => open ? <div style={{ position: 'fixed', zIndex: 1300, top: anchorEl?.getBoundingClientRect?.().bottom ?? 0, left: anchorEl?.getBoundingClientRect?.().left ?? 0, ...resolveSx(sx), ...style }} {...props}>{typeof children === 'function' ? children({ placement, TransitionProps: {} }) : children}</div> : null;\nexport const Portal = ({ children }: any) => children;\nexport const Breadcrumbs = ({ children, separator = '/', sx, style, ...props }: any) => <nav style={{ display: 'flex', gap: 6, ...resolveSx(sx), ...style }} {...props}>{React.Children.toArray(children).flatMap((child, index, all) => index < all.length - 1 ? [child, <span key={`separator-${index}`}>{separator}</span>] : [child])}</nav>;\nexport const Link = element('a');\nexport const Select = element('select');\n\nexport const SvgIcon = forwardRef<SVGSVGElement, SvgIconProps>(({ children, sx, style, fontSize, viewBox = '0 0 24 24', ...props }, ref) => <svg ref={ref} viewBox={viewBox} width={fontSize === 'small' ? 18 : 24} height={fontSize === 'small' ? 18 : 24} fill=\"currentColor\" style={{ ...resolveSx(sx), ...style }} {...props}>{children}</svg>);\n\nexport const createTheme = (options: any) => options;\nexport const adaptV4Theme = (options: any) => options;\nexport const styled = (Component: any) => (..._styles: any[]) => Component;\nexport const tooltipClasses = { tooltip: 'bpa-tooltip', arrow: 'bpa-tooltip-arrow' };\nexport type TooltipProps = { title?: ReactNode; children: ReactNode; [key: string]: any };\n\nexport default {\n Box, Paper, Stack, Divider, Typography, Button, ButtonBase, IconButton, Checkbox, Radio, Switch,\n FormControlLabel, TextField, InputAdornment, Chip, Autocomplete, CircularProgress, Skeleton,\n Pagination, Dialog, DialogTitle, DialogContent, DialogActions, Accordion, AccordionSummary,\n AccordionDetails, Tooltip, Tabs, Tab, Alert, Snackbar, Menu, MenuItem, Popper, Portal,\n Breadcrumbs, Link, Select, SvgIcon,\n};\n"],"names":["theme","palette","primary","main","light","dark","contrastText","secondary","error","warning","success","info","text","disabled","divider","background","paper","default","grey","spacing","value","breakpoints","up","down","platformFont","fontFamily","spacingKeys","m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","resolveSx","sx","Array","isArray","Object","assign","map","entry","output","key","rawValue","entries","startsWith","target","backgroundColor","paddingTop","paddingBottom","paddingLeft","paddingRight","marginTop","marginBottom","marginLeft","marginRight","element","defaultTag","baseStyle","forwardRef","component","as","style","children","props","ref","Box","Paper","Stack","direction","display","flexDirection","gap","Divider","border","borderTop","margin","Typography","variant","Tag","jsx","Button","startIcon","endIcon","color","onClick","jsxs","PrimeButton","outlined","severity","ButtonBase","padding","cursor","font","IconButton","rounded","Checkbox","checked","onChange","PrimeCheckbox","Boolean","event","original","originalEvent","Radio","RadioButton","Switch","PrimeInputSwitch","FormControlLabel","control","label","alignItems","TextField","multiline","rows","placeholder","type","InputProps","inputProps","borderRadius","InputAdornment","Chip","onDelete","Autocomplete","options","renderInput","multiple","getOptionLabel","option","String","values","list","from","currentTarget","selectedOptions","item","find","CircularProgress","size","ProgressSpinner","strokeWidth","width","height","Skeleton","PrimeSkeleton","shape","Pagination","count","page","length","_","index","Dialog","open","onClose","maxWidth","fullWidth","PaperProps","PrimeDialog","visible","onHide","modal","xs","sm","md","lg","contentStyle","DialogTitle","fontSize","fontWeight","DialogContent","justifyContent","Accordion","expanded","defaultExpanded","onToggle","AccordionSummary","listStyle","AccordionDetails","Tooltip","title","Tabs","role","next","closest","dataset","tabValue","Number","Tab","Alert","Snackbar","message","anchorOrigin","position","zIndex","bottom","vertical","top","left","horizontal","transform","Menu","anchorEl","getBoundingClientRect","boxShadow","MenuItem","Popper","placement","TransitionProps","Portal","Select","SvgIcon","viewBox","fill","styled","Component","_styles","tooltipClasses","tooltip","arrow"],"mappings":"gbA6BA,MAAMA,EAAe,CACnBC,QAAS,CACPC,QAAS,CAAEC,KAAM,gCAAiCC,MAAO,UAAWC,KAAM,UAAWC,aAAc,QACnGC,UAAW,CAAEJ,KAAM,WACnBK,MAAO,CAAEL,KAAM,UAAWC,MAAO,WACjCK,QAAS,CAAEN,KAAM,UAAWC,MAAO,WACnCM,QAAS,CAAEP,KAAM,UAAWC,MAAO,WACnCO,KAAM,CAAER,KAAM,UAAWC,MAAO,WAChCQ,KAAM,CAAEV,QAAS,UAAWK,UAAW,UAAWM,SAAU,WAC5DC,QAAS,UACTC,WAAY,CAAEC,MAAO,OAAQC,QAAS,QACtCC,KAAM,CAAE,GAAI,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,YAE9GC,QAAUC,GAA6B,EAARA,EAAH,KAC5BC,YAAa,CAAEC,GAAI,IAAM,SAAUC,KA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B6C,aAAc,EAAGqF,UAAW,iCAAkC3K,EAAUC,MAAQ4B,MAAaE,EAAQD,aAAkB,KACnb8I,EAAWrJ,EAAQ,SAAU,CAAEc,QAAS,OAAQuE,MAAO,OAAQnE,OAAQ,EAAGnE,WAAY,cAAeoF,QAAS,iBAAkBC,OAAQ,UAAWC,KAAM,YACzJiH,EAAgC,EAAGrD,OAAMiD,WAAUK,YAAWhJ,WAAU7B,KAAI4B,WAAUE,KAAYyF,EAAQzE,EAAA,MAAA,CAAIlB,MAAO,CAAEmI,SAAU,QAASC,OAAQ,KAAMG,IAAKK,GAAUC,0BAA0BR,QAAU,EAAGG,KAAMI,GAAUC,0BAA0BL,MAAQ,KAAMrK,EAAUC,MAAQ4B,MAAaE,EAAQD,SAAoB,mBAAbA,EAA0BA,EAAS,CAAEgJ,YAAWC,gBAAiB,KAAQjJ,IAAkB,KAC/YkJ,EAAS,EAAGlJ,cAAoBA,EAEzBP,EAAQ,KACf,MAAA0J,EAAS1J,EAAQ,UAEjB2J,EAAUxJ,EAAwC,EAAGI,WAAU7B,KAAI4B,QAAO0G,WAAU4C,UAAU,eAAgBpJ,GAASC,IAAQe,EAAC,OAAIf,MAAUmJ,UAAkBvE,MAAoB,UAAb2B,EAAuB,GAAK,GAAI1B,OAAqB,UAAb0B,EAAuB,GAAK,GAAI6C,KAAK,eAAevJ,MAAO,IAAK7B,EAAUC,MAAQ4B,MAAaE,EAAQD,cAItTuJ,EAAUC,GAAmB,IAAIC,IAAmBD,EACpDE,EAAiB,CAAEC,QAAS,cAAeC,MAAO"}
@@ -0,0 +1,6 @@
1
+ import type { CSSProperties } from 'react';
2
+ export declare const comingSoonStyles: {
3
+ [key: string]: CSSProperties;
4
+ };
5
+ export declare const defaultIcon: import("react").JSX.Element;
6
+ //# sourceMappingURL=BookemonStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookemonStyles.d.ts","sourceRoot":"","sources":["../../../../src/features/Bookemon/BookemonStyles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,eAAO,MAAM,gBAAgB,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;CAQ5D,CAAC;AAEF,eAAO,MAAM,WAAW,6BAAsM,CAAC"}
@@ -0,0 +1,46 @@
1
+ import React, { CSSProperties } from 'react';
2
+ import { Check, type LucideProps } from 'lucide-react';
3
+ export interface LegacyIconProps extends Omit<LucideProps, 'color'> {
4
+ color?: string;
5
+ fontSize?: 'inherit' | 'small' | 'medium' | 'large' | number;
6
+ sx?: CSSProperties & Record<string, unknown>;
7
+ }
8
+ export declare const AddIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export declare const ArrowBackIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
10
+ export declare const ArrowForwardIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
11
+ export declare const AutoAwesomeIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
12
+ export declare const AutoFixHighOutlinedIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
13
+ export declare const ChatBubbleOutlineOutlined: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
14
+ export declare const ChatBubbleOutlineOutlinedIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
15
+ export declare const CheckCircleOutlineIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
16
+ export declare const CheckIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
17
+ export declare const ChevronLeftIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
18
+ export declare const ChevronRightIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
19
+ export declare const CloseFullscreenIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
20
+ export declare const CloseIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
21
+ export declare const CloseOutlinedIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
22
+ export declare const ContentCopy: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
23
+ export declare const DarkModeIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
24
+ export declare const DeleteOutlineIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
25
+ export declare const DragIndicatorIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
26
+ export declare const EditOutlinedIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
27
+ export declare const ExpandLess: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
28
+ export declare const ExpandLessIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
29
+ export declare const ExpandMore: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
30
+ export declare const ExpandMoreIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
31
+ export declare const FullscreenIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
32
+ export declare const GitHub: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
33
+ export declare const InfoIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
34
+ export declare const InfoOutlinedIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
35
+ export declare const KeyboardArrowDownIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
36
+ export declare const KeyboardArrowUpIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
37
+ export declare const LightModeIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
38
+ export declare const LightbulbOutlined: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
39
+ export declare const ManageSearchOutlined: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
40
+ export declare const NavigateBeforeIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
41
+ export declare const NavigateNextIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
42
+ export declare const NearMeOutlinedIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
43
+ export declare const RotateRightIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
44
+ export declare const SwapHorizIcon: React.ForwardRefExoticComponent<Omit<LegacyIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
45
+ export {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AAM,iBAAiB,oGAA2B,CAAC;AAC1D,eAAO,MAAM,gBAAgB,oGAAwB,CAAC;AACtD,eAAO,MAAM,UAAU,oGAAwB,CAAC;AAChD,eAAO,MAAM,cAAc,oGAAwB,CAAC;AACpD,eAAO,MAAM,UAAU,oGAA0B,CAAC;AAClD,eAAO,MAAM,cAAc,oGAA0B,CAAC;AACtD,eAAO,MAAM,cAAc,oGAAuB,CAAC;AACnD,eAAO,MAAM,MAAM,oGAAqB,CAAC;AACzC,eAAO,MAAM,QAAQ,oGAAmB,CAAC;AACzC,eAAO,MAAM,gBAAgB,oGAAmB,CAAC;AACjD,eAAO,MAAM,qBAAqB,oGAA0B,CAAC;AAC7D,eAAO,MAAM,mBAAmB,oGAAwB,CAAC;AACzD,eAAO,MAAM,aAAa,oGAAkB,CAAC;AAC7C,eAAO,MAAM,iBAAiB,oGAAwB,CAAC;AACvD,eAAO,MAAM,oBAAoB,oGAAqB,CAAC;AACvD,eAAO,MAAM,kBAAkB,oGAA0B,CAAC;AAC1D,eAAO,MAAM,gBAAgB,oGAA2B,CAAC;AACzD,eAAO,MAAM,kBAAkB,oGAAyB,CAAC;AACzD,eAAO,MAAM,eAAe,oGAAuB,CAAC;AACpD,eAAO,MAAM,aAAa,oGAAyB,CAAC;AAEpD,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,117 @@
1
+ import React, { type CSSProperties, type ReactNode } from 'react';
2
+ export type Theme = Record<string, any>;
3
+ export type SxProps<T = Theme> = CSSProperties | Record<string, any> | ((theme: T) => any) | readonly SxProps<T>[];
4
+ export type SvgIconProps = React.SVGProps<SVGSVGElement> & {
5
+ sx?: SxProps;
6
+ fontSize?: string;
7
+ };
8
+ export type PopperProps = Record<string, any>;
9
+ export interface CompatProps {
10
+ [key: string]: any;
11
+ children?: any;
12
+ sx?: SxProps;
13
+ style?: CSSProperties;
14
+ onChange?: (event: any, value?: any) => void;
15
+ onClick?: (event: any) => void;
16
+ onKeyDown?: (event: any) => void;
17
+ onMouseEnter?: (event: any) => void;
18
+ onMouseLeave?: (event: any) => void;
19
+ onMouseMove?: (event: any) => void;
20
+ onInputChange?: (event: any, value: string, reason: string) => void;
21
+ renderInput?: (params: any) => ReactNode;
22
+ }
23
+ type CompatComponent = React.ForwardRefExoticComponent<CompatProps & React.RefAttributes<any>>;
24
+ export declare const Box: CompatComponent;
25
+ export declare const Paper: CompatComponent;
26
+ export declare const Stack: CompatComponent;
27
+ export declare const Divider: CompatComponent;
28
+ export declare const Typography: CompatComponent;
29
+ export declare const Button: CompatComponent;
30
+ export declare const ButtonBase: CompatComponent;
31
+ export declare const IconButton: CompatComponent;
32
+ export declare const Checkbox: CompatComponent;
33
+ export declare const Radio: CompatComponent;
34
+ export declare const Switch: CompatComponent;
35
+ export declare const FormControlLabel: React.FC<CompatProps>;
36
+ export declare const TextField: CompatComponent;
37
+ export declare const InputAdornment: CompatComponent;
38
+ export declare const Chip: ({ label, onDelete, sx, style, ...props }: any) => React.JSX.Element;
39
+ export declare const Autocomplete: React.FC<CompatProps>;
40
+ export declare const CircularProgress: React.FC<CompatProps>;
41
+ export declare const Skeleton: ({ width, height, variant, sx, style, ...props }: any) => React.JSX.Element;
42
+ export declare const Pagination: React.FC<CompatProps>;
43
+ export declare const Dialog: ({ open, onClose, children, maxWidth, fullWidth, PaperProps, sx, ...props }: any) => React.JSX.Element;
44
+ export declare const DialogTitle: CompatComponent;
45
+ export declare const DialogContent: CompatComponent;
46
+ export declare const DialogActions: CompatComponent;
47
+ export declare const Accordion: React.FC<CompatProps>;
48
+ export declare const AccordionSummary: CompatComponent;
49
+ export declare const AccordionDetails: CompatComponent;
50
+ export declare const Tooltip: React.FC<CompatProps>;
51
+ export declare const Tabs: React.FC<CompatProps>;
52
+ export declare const Tab: ({ label, value, sx, style, ...props }: any) => React.JSX.Element;
53
+ export declare const Alert: ({ severity, children, onClose, sx, style, ...props }: any) => React.JSX.Element;
54
+ export declare const Snackbar: ({ open, children, message, anchorOrigin, sx, style, ...props }: any) => React.JSX.Element | null;
55
+ export declare const Menu: React.FC<CompatProps>;
56
+ export declare const MenuItem: CompatComponent;
57
+ export declare const Popper: React.FC<CompatProps>;
58
+ export declare const Portal: ({ children }: any) => any;
59
+ export declare const Breadcrumbs: ({ children, separator, sx, style, ...props }: any) => React.JSX.Element;
60
+ export declare const Link: CompatComponent;
61
+ export declare const Select: CompatComponent;
62
+ export declare const SvgIcon: React.ForwardRefExoticComponent<Omit<SvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
63
+ export declare const createTheme: (options: any) => any;
64
+ export declare const adaptV4Theme: (options: any) => any;
65
+ export declare const styled: (Component: any) => (..._styles: any[]) => any;
66
+ export declare const tooltipClasses: {
67
+ tooltip: string;
68
+ arrow: string;
69
+ };
70
+ export type TooltipProps = {
71
+ title?: ReactNode;
72
+ children: ReactNode;
73
+ [key: string]: any;
74
+ };
75
+ declare const _default: {
76
+ Box: CompatComponent;
77
+ Paper: CompatComponent;
78
+ Stack: CompatComponent;
79
+ Divider: CompatComponent;
80
+ Typography: CompatComponent;
81
+ Button: CompatComponent;
82
+ ButtonBase: CompatComponent;
83
+ IconButton: CompatComponent;
84
+ Checkbox: CompatComponent;
85
+ Radio: CompatComponent;
86
+ Switch: CompatComponent;
87
+ FormControlLabel: React.FC<CompatProps>;
88
+ TextField: CompatComponent;
89
+ InputAdornment: CompatComponent;
90
+ Chip: ({ label, onDelete, sx, style, ...props }: any) => React.JSX.Element;
91
+ Autocomplete: React.FC<CompatProps>;
92
+ CircularProgress: React.FC<CompatProps>;
93
+ Skeleton: ({ width, height, variant, sx, style, ...props }: any) => React.JSX.Element;
94
+ Pagination: React.FC<CompatProps>;
95
+ Dialog: ({ open, onClose, children, maxWidth, fullWidth, PaperProps, sx, ...props }: any) => React.JSX.Element;
96
+ DialogTitle: CompatComponent;
97
+ DialogContent: CompatComponent;
98
+ DialogActions: CompatComponent;
99
+ Accordion: React.FC<CompatProps>;
100
+ AccordionSummary: CompatComponent;
101
+ AccordionDetails: CompatComponent;
102
+ Tooltip: React.FC<CompatProps>;
103
+ Tabs: React.FC<CompatProps>;
104
+ Tab: ({ label, value, sx, style, ...props }: any) => React.JSX.Element;
105
+ Alert: ({ severity, children, onClose, sx, style, ...props }: any) => React.JSX.Element;
106
+ Snackbar: ({ open, children, message, anchorOrigin, sx, style, ...props }: any) => React.JSX.Element | null;
107
+ Menu: React.FC<CompatProps>;
108
+ MenuItem: CompatComponent;
109
+ Popper: React.FC<CompatProps>;
110
+ Portal: ({ children }: any) => any;
111
+ Breadcrumbs: ({ children, separator, sx, style, ...props }: any) => React.JSX.Element;
112
+ Link: CompatComponent;
113
+ Select: CompatComponent;
114
+ SvgIcon: React.ForwardRefExoticComponent<Omit<SvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
115
+ };
116
+ export default _default;
117
+ //# sourceMappingURL=materialCompat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"materialCompat.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/materialCompat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqB,KAAK,aAAa,EAAoB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AASvG,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AACxC,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,KAAK,IAAI,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,GAAG,CAAC,GAAG,SAAS,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;AACnH,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG;IAAE,EAAE,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC/F,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,GA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O,MAAM,QAAQ,mEAAoE,GAAG,6BAAkY,CAAC;AAE/d,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAA6Z,CAAC;AACrc,eAAO,MAAM,QAAQ,iBAA6J,CAAC;AACnL,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAuX,CAAC;AACja,eAAO,MAAM,MAAM,iBAAkB,GAAG,QAAa,CAAC;AACtD,eAAO,MAAM,WAAW,iDAAwD,GAAG,sBAA6P,CAAC;AACjV,eAAO,MAAM,IAAI,iBAAe,CAAC;AACjC,eAAO,MAAM,MAAM,iBAAoB,CAAC;AAExC,eAAO,MAAM,OAAO,iGAA+T,CAAC;AAEpV,eAAO,MAAM,WAAW,YAAa,GAAG,QAAY,CAAC;AACrD,eAAO,MAAM,YAAY,YAAa,GAAG,QAAY,CAAC;AACtD,eAAO,MAAM,MAAM,cAAe,GAAG,kBAAkB,GAAG,EAAE,QAAc,CAAC;AAC3E,eAAO,MAAM,cAAc;;;CAAyD,CAAC;AACrF,MAAM,MAAM,YAAY,GAAG;IAAE,KAAK,CAAC,EAAE,SAAS,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;;;;;;;;;;;;;;;;qDAvC3B,GAAG;;;gEAOQ,GAAG;;yFAGsB,GAAG;;;;;;;;;iDAW3C,GAAG;kEACuB,GAAG;+EACC,GAAG;;;;2BAKvD,GAAG;gEACwC,GAAG;;;;;AAYnF,wBAME"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/citation",
3
- "version": "0.0.251-beta.1",
3
+ "version": "0.0.251",
4
4
  "author": "Devesh Patel",
5
5
  "description": "Reusable React components for rendering citations and evidence UI.",
6
6
  "license": "MIT",