@cp949/mui-react19 2.0.1 → 2.0.2
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.
- package/README.md +13 -5
- package/dist/chunk-DGBGKY22.cjs +2 -0
- package/dist/chunk-DGBGKY22.cjs.map +1 -0
- package/dist/chunk-J5UGIABI.js +2 -0
- package/dist/chunk-J5UGIABI.js.map +1 -0
- package/dist/chunk-M4G6J7DP.cjs.map +1 -1
- package/dist/file-drop/index.cjs +1 -1
- package/dist/file-drop/index.cjs.map +1 -1
- package/dist/file-drop/index.d.cts +3 -2
- package/dist/file-drop/index.d.ts +3 -2
- package/dist/file-drop/index.js +1 -1
- package/dist/file-drop/index.js.map +1 -1
- package/dist/helper/index.cjs.map +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.cts +37 -31
- package/dist/hooks/index.d.ts +37 -31
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +143 -69
- package/dist/index.d.ts +143 -69
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/parallel-map-V2OVUIFQ.cjs.map +1 -1
- package/package.json +12 -15
- package/dist/chunk-F2OL5PTS.js +0 -2
- package/dist/chunk-F2OL5PTS.js.map +0 -1
- package/dist/chunk-YXXXYWHI.cjs +0 -2
- package/dist/chunk-YXXXYWHI.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkYXXXYWHIcjs = require('./chunk-YXXXYWHI.cjs');require('./chunk-M4G6J7DP.cjs');var _material = require('@mui/material');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var Y=_react.forwardRef.call(void 0, ({fullWidth:e,bottom:t=0,sx:o,...r},n)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:n,sx:[{position:"absolute",bottom:t,left:"50%",transform:"translate(-50%, -50%)",...e&&{width:"100%"}},...Array.isArray(o)?o:[o]],...r}));Y.displayName="BottomAbsolute.Center";var q=_react.forwardRef.call(void 0, ({fullWidth:e,left:t=0,bottom:o=0,sx:r,...n},i)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:i,sx:[{position:"absolute",left:t,bottom:o,...e&&{width:"100%"}},...Array.isArray(r)?r:[r]],...n}));q.displayName="BottomAbsolute.Left";var J=_react.forwardRef.call(void 0, ({fullWidth:e,right:t=0,bottom:o=0,sx:r,...n},i)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:i,sx:[{position:"absolute",right:t,bottom:o,...e&&{width:"100%"}},...Array.isArray(r)?r:[r]],...n}));J.displayName="BottomAbsolute.Right";var Te=_react.forwardRef.call(void 0, ({bottom:e=0,left:t=0,right:o=0,sx:r,...n},i)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:i,sx:[{position:"absolute",bottom:e,left:t,right:o},...Array.isArray(r)?r:[r]],...n}));Te.displayName="BottomAbsoluteBase";var D=Te;D.displayName="BottomAbsolute";D.Left=q;D.Right=J;D.Center=Y;var dt=_react.forwardRef.call(void 0, ({vertical:e=!1,sx:t,...o},r)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:r,sx:[{display:"flex",flexDirection:e?"column":"row",alignItems:"center",justifyContent:"center"},...Array.isArray(t)?t:[t]],...o}));dt.displayName="Center";var Pt=_react.forwardRef.call(void 0, ({cooldown:e=1e3,onClick:t,disabled:o,...r},n)=>{let[i,s]=_react.useState.call(void 0, !1),a=_react.useRef.call(void 0, null);return _react.useImperativeHandle.call(void 0, n,()=>a.current),_jsxruntime.jsx.call(void 0, _material.Button,{...r,ref:a,onClick:l=>{!i&&t&&(t(l),s(!0),setTimeout(()=>s(!1),e))},disabled:o||i,children:r.children})});Pt.displayName="CooldownButton";var At=_react.forwardRef.call(void 0, ({cooldown:e=1e3,onClick:t,disabled:o,...r},n)=>{let[i,s]=_react.useState.call(void 0, !1),a=_react.useRef.call(void 0, null);return _react.useImperativeHandle.call(void 0, n,()=>a.current),_jsxruntime.jsx.call(void 0, _material.ButtonBase,{...r,ref:a,onClick:l=>{!i&&t&&(t(l),s(!0),setTimeout(()=>s(!1),e))},disabled:o||i,children:r.children})});At.displayName="CooldownButtonBase";var It=_react.forwardRef.call(void 0, ({cooldown:e=700,onClick:t,disabled:o,...r},n)=>{let[i,s]=_react.useState.call(void 0, !1),a=_react.useRef.call(void 0, null);return _react.useImperativeHandle.call(void 0, n,()=>a.current),_jsxruntime.jsx.call(void 0, _material.IconButton,{...r,ref:a,onClick:l=>{!i&&t&&(t(l),s(!0),setTimeout(()=>s(!1),e))},disabled:o||i,children:r.children})});It.displayName="CooldownIconButton";function Ki(e){let{children:t,value:o,timeout:r=1e3}=e,n=_chunkYXXXYWHIcjs.a.call(void 0, {timeout:r});return _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t({copy:()=>{let s=typeof o=="function"?o():o;typeof s=="string"&&s.length>0&&n.copy(s)},copied:n.copied})})}var _clsx = require('clsx'); var _clsx2 = _interopRequireDefault(_clsx);function Qi(e){let{sx:t,className:o,loading:r,stripe:n,...i}=e;return _jsxruntime.jsx.call(void 0, _material.TableBody,{className:_clsx2.default.call(void 0, "CustomTableBody-root",o,{"CustomTableBody-stripe":!!n,"CustomTableBody-loading":!!r}),sx:[{"&.CustomTableBody-loading":{opacity:.5},"&.CustomTableBody-stripe":{"& .MuiTableRow-root:nth-of-type(even)":{backgroundColor:"action.hover"}}},...Array.isArray(t)?t:[_nullishCoalesce(t, () => (!1))]],...i})}var Z=_react.forwardRef.call(void 0, ({fullWidth:e,sx:t,...o},r)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:r,sx:[{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",...e&&{width:"100%"}},...Array.isArray(t)?t:[t]],...o}));Z.displayName="CenterAbsolute.Center";var ee=_react.forwardRef.call(void 0, ({fullWidth:e,left:t=0,sx:o,...r},n)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:n,sx:[{position:"absolute",top:"50%",left:t,transform:"translateY(-50%)",...e&&{width:"100%"}},...Array.isArray(o)?o:[o]],...r}));ee.displayName="CenterAbsolute.Left";var te=_react.forwardRef.call(void 0, ({fullWidth:e,right:t=0,sx:o,...r},n)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:n,sx:[{position:"absolute",top:"50%",right:t,transform:"translateY(-50%)",...e&&{width:"100%"}},...Array.isArray(o)?o:[o]],...r}));te.displayName="CenterAbsolute.Right";var we=_react.forwardRef.call(void 0, ({left:e=0,right:t=0,sx:o,...r},n)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:n,sx:[{position:"absolute",top:"50%",left:e,right:t,transform:"translateY(-50%)"},...Array.isArray(o)?o:[o]],...r}));we.displayName="CenterAbsoluteBase";var O=we;O.displayName="CenterAbsolute";O.Left=ee;O.Right=te;O.Center=Z;var ro=_react.forwardRef.call(void 0, ({debounce:e=700,onClick:t,disabled:o,children:r,...n},i)=>{let s=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>()=>{s.current&&clearTimeout(s.current)},[]),_jsxruntime.jsx.call(void 0, _material.Button,{...n,ref:i,onClick:p=>{s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{!o&&t&&t(p)},e)},disabled:o,children:r})});ro.displayName="DebouncedButton";var po=_react.forwardRef.call(void 0, ({debounce:e=700,onClick:t,disabled:o,children:r,...n},i)=>{let s=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>()=>{s.current&&clearTimeout(s.current)},[]),_jsxruntime.jsx.call(void 0, _material.ButtonBase,{...n,ref:i,onClick:p=>{s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{!o&&t&&t(p)},e)},disabled:o,children:r})});po.displayName="DebouncedButtonBase";var xo=_react.forwardRef.call(void 0, ({debounce:e=700,onClick:t,disabled:o,...r},n)=>{let i=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>()=>{i.current&&clearTimeout(i.current)},[]),_jsxruntime.jsx.call(void 0, _material.IconButton,{...r,ref:n,onClick:a=>{i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{!o&&t&&t(a)},e)},disabled:o,children:r.children})});xo.displayName="DebouncedIconButton";var Es=({children:e,leading:t=!1,trailing:o=!0,maxWait:r=100})=>{let[n,i]=_react.useState.call(void 0, t?e:void 0),s=_react.useRef.call(void 0, null),a=_react.useRef.call(void 0, null),p=_react.useCallback.call(void 0, ()=>{s.current&&clearTimeout(s.current)},[]);return _react.useEffect.call(void 0, ()=>{let l=Date.now(),u=()=>{i(e),a.current=l};return t&&a.current===null&&u(),s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{o&&u(),s.current=null},r),t&&a.current!==null&&l-(a.current||0)>=r&&u(),()=>{s.current&&clearTimeout(s.current)}},[e,t,o,r,p]),_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:n})};function ke(e,t){typeof e=="function"?e(t):typeof e=="object"&&e!==null&&"current"in e&&(e.current=t)}var wo=_react.forwardRef.call(void 0, (e,t)=>{let{onChange:o,children:r,multiple:n,accept:i,name:s,form:a,resetRef:p,disabled:l,capture:u,inputProps:c}=e,y=_react.useRef.call(void 0, null),[d,m]=_react.useState.call(void 0, 0),x=_react.useCallback.call(void 0, ()=>{l||m(B=>B+1)},[l]);_react.useEffect.call(void 0, ()=>{d!==0&&_optionalChain([y, 'access', _2 => _2.current, 'optionalAccess', _3 => _3.click, 'call', _4 => _4()])},[d]);let b=B=>{let g=_optionalChain([B, 'access', _5 => _5.currentTarget, 'optionalAccess', _6 => _6.files]);if(g)if(n)o(Array.from(g));else{let C=g[0];C&&o(C)}},S=_react.useCallback.call(void 0, ()=>{y.current&&(y.current.value="")},[]);return _react.useEffect.call(void 0, ()=>{if(p)return ke(p,S),()=>{ke(p,()=>{})}},[p,S]),_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment,{children:[r({onClick:x}),_jsxruntime.jsx.call(void 0, "input",{style:{display:"none"},type:"file",accept:i,multiple:n,onChange:b,ref:_chunkYXXXYWHIcjs.c.call(void 0, t,y),name:s,form:a,capture:u,...c})]})});wo.displayName="FileButton";function z(e){return typeof e>"u"||e===null}function Ne(e){return!z(e)}function No(e){let{className:t,items:o,getItemKey:r,getItemSize:n,isLineBreakItem:i,breakBefore:s,breakAfter:a,children:p,lineBreakHeight:l,lineBreakGroup:u,...c}=e;return Array.isArray(o)?_jsxruntime.jsx.call(void 0, _material.Grid,{className:_clsx2.default.call(void 0, "FlexItemsContainer-root",t),container:!0,role:"grid",...c,children:Fo({items:o,isLineBreakItem:i,lineBreakGroup:u,lineBreakHeight:l,breakBefore:s,breakAfter:a,getItemKey:r,getItemSize:n,renderItem:p})}):(console.error("FlexItemsContainer: items must be an array"),null)}No.displayName="FlexItemsContainer";function Fo(e){let{items:t,getItemKey:o,getItemSize:r,isLineBreakItem:n,lineBreakHeight:i=0,lineBreakGroup:s,breakBefore:a,breakAfter:p,renderItem:l}=e,u=[],c=!0,y;return t.forEach((d,m)=>{if(_optionalChain([n, 'optionalCall', _7 => _7(d,m)])){c||(c=!0,u.push(W(m,"break-item",i)));return}if(s){let x=s(d,m);Lo(y,x)&&(y=x,c||(c=!0,u.push(W(m,"group",i))))}!c&&_optionalChain([a, 'optionalCall', _8 => _8(d,m)])&&(c=!0,u.push(W(m,"break-before",i))),c=!1,u.push(_jsxruntime.jsx.call(void 0, _material.Grid,{size:_optionalChain([r, 'optionalCall', _9 => _9(d,m)]),children:l(d,m)},o(d,m))),_optionalChain([p, 'optionalCall', _10 => _10(d,m)])&&(c=!0,u.push(W(m,"break-after",i)))}),c&&u.length>0&&u.pop(),u}function Lo(e,t){return z(e)&&z(t)?!1:e!==t}function W(e,t,o){return _jsxruntime.jsx.call(void 0, _material.Grid,{className:"FlexItemsContainer-emptyLine",size:"auto",style:{flexBasis:"100%",width:0,height:o}},`FlexItemsContainer:${t}:${e}`)}function N(e){return e?parseInt(e,10):0}function Io(e,t){if(!t||!e)return!1;let o=t.parentNode;for(;Ne(o);){if(o===e)return!0;o=o.parentNode}return!1}function Ie({target:e,parent:t,indicatorRef:o,excludeTargetBorderWidth:r=!1,displayAfterTransitionEnd:n=!1}){let i=_react.useRef.call(void 0, -1),[s,a]=_react.useState.call(void 0, !1),[p,l]=_react.useState.call(void 0, n),u=_chunkYXXXYWHIcjs.e.call(void 0, ()=>{if(!e||!t||!o.current)return;let m=e.getBoundingClientRect(),x=t.getBoundingClientRect(),b=window.getComputedStyle(e),S=window.getComputedStyle(t),B={top:N(S.borderTopWidth),left:N(S.borderLeftWidth)},g={top:N(b.borderTopWidth),bottom:N(b.borderBottomWidth),left:N(b.borderLeftWidth),right:N(b.borderRightWidth)},C={top:m.top-x.top-B.top,left:m.left-x.left-B.left,width:m.width,height:m.height};r&&(C.top+=g.top,C.left+=g.left,C.height-=g.top+g.bottom,C.width-=g.left+g.right),o.current.style.transform=`translateX(${C.left}px) translateY(${C.top}px)`,o.current.style.width=`${C.width}px`,o.current.style.height=`${C.height}px`}),c=_chunkYXXXYWHIcjs.e.call(void 0, ()=>{window.clearTimeout(i.current),o.current&&(o.current.style.transitionDuration="0ms"),u.current(),i.current=window.setTimeout(()=>{o.current&&(o.current.style.transitionDuration="")},30)}),y=_react.useRef.call(void 0, null),d=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>{if(u.current(),e)return y.current=new ResizeObserver(c.current),y.current.observe(e),t&&(d.current=new ResizeObserver(c.current),d.current.observe(t)),()=>{_optionalChain([y, 'access', _11 => _11.current, 'optionalAccess', _12 => _12.disconnect, 'call', _13 => _13()]),_optionalChain([d, 'access', _14 => _14.current, 'optionalAccess', _15 => _15.disconnect, 'call', _16 => _16()])}},[t,e,u,c]),_react.useEffect.call(void 0, ()=>{if(t){let m=x=>{Io(x.target,t)&&(c.current(),l(!1))};return t.addEventListener("transitionend",m),()=>{t.removeEventListener("transitionend",m)}}},[t,c]),_chunkYXXXYWHIcjs.j.call(void 0, ()=>{a(!0)},20,{autoInvoke:!0}),_chunkYXXXYWHIcjs.i.call(void 0, m=>{m.forEach(x=>{x.type==="attributes"&&x.attributeName==="dir"&&c.current()})},{attributes:!0,attributeFilter:["dir"]},()=>document.documentElement),{initialized:s,hidden:p}}var ie=_react.forwardRef.call(void 0, (e,t)=>{let{target:o,parent:r,transitionDuration:n=150,excludeTargetBorderWidth:i=!1,displayAfterTransitionEnd:s,sx:a,className:p,...l}=e,u=_react.useRef.call(void 0, null),{initialized:c,hidden:y}=Ie({target:o,parent:r,indicatorRef:u,excludeTargetBorderWidth:i,displayAfterTransitionEnd:s}),d=_chunkYXXXYWHIcjs.c.call(void 0, t,u);return!o||!r?null:_jsxruntime.jsx.call(void 0, _material.Box,{className:_clsx2.default.call(void 0, "FloatingIndicator-root",p),ref:d,sx:[{position:"absolute",top:0,left:0,transition:`transform ${n}ms`,opacity:c?1:0,...y?{display:"none"}:void 0},...Array.isArray(a)?a:[_nullishCoalesce(a, () => (!1))]],...l})});ie.displayName="FloatingIndicator";var Me=ie;function R(e,...t){let o=Object.fromEntries(Object.entries(e).filter(([n,i])=>i!==void 0)),r=t.reduce((n,i)=>{let s=Object.fromEntries(Object.entries(i).filter(([a,p])=>p!==void 0));return Object.assign(n,s),n},{});return{...o,...r}}function P(e,t,o){let r=_react.forwardRef.call(void 0, ({inlineFlex:n,justifyContent:i,alignItems:s,flexWrap:a,sx:p,...l},u)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:u,sx:[{display:n?"inline-flex":"flex",flexDirection:t,...R(o,{justifyContent:i,alignItems:s,flexWrap:a})},...Array.isArray(p)?p:[p]],...l}));return r.displayName=e,r}var Uo=P("FlexColumn.Start","column",{justifyContent:"flex-start"}),_o=P("FlexColumn.End","column",{justifyContent:"flex-end"}),Qo=P("FlexColumn.Center","column",{justifyContent:"center"}),Vo=P("FlexColumn.Around","column",{justifyContent:"space-around"}),Xo=P("FlexColumn.Between","column",{justifyContent:"space-between"}),Yo=P("FlexColumn.Evenly","column",{justifyContent:"space-evenly"}),He=_react.forwardRef.call(void 0, ({center:e,inlineFlex:t,justifyContent:o,alignItems:r,flexWrap:n,sx:i,...s},a)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:a,sx:[{display:t?"inline-flex":"flex",flexDirection:"column",...R(e?{justifyContent:"center",alignItems:"center"}:{},{justifyContent:o,alignItems:r,flexWrap:n})},...Array.isArray(i)?i:[i]],...s}));He.displayName="FlexColumnBase";var T=He;T.displayName="FlexColumn";T.Start=Uo;T.End=_o;T.Center=Qo;T.Between=Xo;T.Evenly=Yo;T.Around=Vo;var er=P("FlexRow.Start","row",{justifyContent:"flex-start"}),tr=P("FlexRow.End","row",{justifyContent:"flex-end"}),or=P("FlexRow.Around","row",{justifyContent:"space-around"}),rr=P("FlexRow.Between","row",{justifyContent:"space-between"}),nr=P("FlexRow.Evenly","row",{justifyContent:"space-evenly"}),ir=P("FlexRow.Center","row",{justifyContent:"center"}),De=_react.forwardRef.call(void 0, ({center:e,inlineFlex:t=!1,justifyContent:o,alignItems:r,flexWrap:n,sx:i,...s},a)=>{let p=Array.isArray(i)?i.filter(Boolean):i?[i]:[],l={display:t?"inline-flex":"flex",flexDirection:"row",...R(e?{justifyContent:"center",alignItems:"center"}:{},{justifyContent:o,alignItems:r,flexWrap:n})};return _jsxruntime.jsx.call(void 0, _material.Box,{ref:a,sx:p.length>0?[l,...p]:l,...s})});De.displayName="FlexRowBase";var w=De;w.displayName="FlexRow";w.Start=er;w.End=tr;w.Center=ir;w.Between=rr;w.Around=or;w.Evenly=nr;function ha(e){return null}var $=_react.forwardRef.call(void 0, (e,t)=>{let{sx:o,className:r,color:n="#000",bgcolor:i="#ff0",children:s,...a}=e;return _jsxruntime.jsx.call(void 0, _material.Box,{className:_clsx2.default.call(void 0, "Mark-root",r),component:"mark",ref:t,sx:[{display:"inline-block",color:n,bgcolor:i},...Array.isArray(o)?o:[_nullishCoalesce(o, () => (!1))]],...a,children:s})});$.displayName="Mark";function Oe(e){return e.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}function ze(e,t,o){if(!t||t.length===0)return[{chunk:e,highlighted:!1}];let r=_nullishCoalesce(_optionalChain([o, 'optionalAccess', _17 => _17.ignorecase]), () => (!0)),n=Array.isArray(t)?t.map(Oe):Oe(t);if(!(Array.isArray(n)?n.filter(l=>l.trim().length>0).length>0:n.trim()!==""))return[{chunk:e,highlighted:!1}];let s=typeof n=="string"?n.trim():n.filter(l=>l.trim().length!==0).map(l=>l.trim()).sort((l,u)=>u.length-l.length).join("|"),a=new RegExp(`(${s})`,r?"gi":"g");return e.split(a).map(l=>({chunk:l,highlighted:a.test(l)})).filter(({chunk:l})=>l)}var We=_react.forwardRef.call(void 0, (e,t)=>{let{sx:o,className:r,style:n,variant:i,highlight:s,color:a,highlightSx:p,ignorecase:l=!1,includeDataAttribute:u=!1,children:c,...y}=e,d=_react.useMemo.call(void 0, ()=>ze(c,s,{ignorecase:l}),[c,s,l]);return _jsxruntime.jsx.call(void 0, _material.Typography,{ref:t,variant:i,className:_clsx2.default.call(void 0, "Highlight-root",r),sx:o,style:n,...y,children:d.map(({chunk:m,highlighted:x},b)=>x?u?_jsxruntime.jsx.call(void 0, $,{color:a,sx:p,"data-highlight":m,children:m},b):_jsxruntime.jsx.call(void 0, $,{color:a,sx:p,children:m},b):_jsxruntime.jsx.call(void 0, "span",{children:m},b))})});We.displayName="Highlight";function Wa(e){let{sx:t,className:o,text:r,maxLen:n,currentLen:i=0}=e,s=i>n;return r?_jsxruntime.jsxs.call(void 0, _material.Box,{className:_clsx2.default.call(void 0, "LengthLimitHelperText-root",o),component:"span",sx:[{display:"flex",justifyContent:"space-between",alignItems:"center",color:s?"error.main":"text.secondary"},...Array.isArray(t)?t:[_nullishCoalesce(t, () => (!1))]],children:[typeof r=="string"?_jsxruntime.jsx.call(void 0, "span",{children:r}):r,_jsxruntime.jsxs.call(void 0, _material.Box,{component:"span",sx:{ml:2,whiteSpace:"nowrap"},children:[i," / ",n]})]}):_jsxruntime.jsxs.call(void 0, _material.Box,{className:_clsx2.default.call(void 0, "LengthLimitHelperText-root",o),component:"span",sx:[{display:"flex",justifyContent:"flex-end",alignItems:"center",color:s?"error.main":"text.secondary",whiteSpace:"nowrap"},...Array.isArray(t)?t:[_nullishCoalesce(t, () => (!1))]],children:[i," / ",n]})}function Ga(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.up("lg"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}function Va(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.down("lg"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}function Ja(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.up("md"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}function rl(e){let{className:t,sx:o,squared:r,outlined:n,children:i,...s}=e;return _jsxruntime.jsx.call(void 0, _material.Paper,{...s,className:_clsx2.default.call(void 0, "Paper-root",t),sx:[{borderRadius:r?0:1,border:n?"1px solid #ddd":"none"},...Array.isArray(o)?o:[_nullishCoalesce(o, () => (!1))]],children:i})}var le=_react.forwardRef.call(void 0, (e,t)=>{let{noPadding:o=!1,className:r,sx:n,children:i,...s}=e;return _jsxruntime.jsx.call(void 0, _material.Box,{...s,className:_clsx.clsx.call(void 0, "PortletContent-root",r,{"PortletContent-noPadding":o}),ref:t,sx:[a=>({flex:1,p:a.spacing(2,3),"&.PortletContent-noPadding":{p:0}}),...Array.isArray(n)?n:[_nullishCoalesce(n, () => (!1))]],children:i})});le.displayName="PortletContent";var pe=_react.forwardRef.call(void 0, (e,t)=>{let{noDivider:o,sx:r,className:n,children:i,...s}=e;return _jsxruntime.jsx.call(void 0, _material.Box,{...s,className:_clsx.clsx.call(void 0, "PortletFooter-root",n,{"PortletFooter-noDivider":o}),ref:t,sx:[a=>({p:a.spacing(1,2),borderTop:"1px solid #E0E4EE",borderBottomLeftRadius:"2px",borderBottomRightRadius:"2px","&.PortletFooter-noDivider":{borderTop:"none"}}),...Array.isArray(r)?r:[_nullishCoalesce(r, () => (!1))]],children:i})});pe.displayName="PortletFooter";var ue=_react.forwardRef.call(void 0, (e,t)=>{let{children:o,noDivider:r,className:n,noPadding:i=!1,sx:s,...a}=e;return _jsxruntime.jsx.call(void 0, _material.Box,{...a,className:_clsx.clsx.call(void 0, "PortletHeader-root",n,{"PortletHeader-noPadding":i,"PortletHeader-noDivider":r}),ref:t,sx:[p=>({position:"relative",display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid #E0E4EE",borderTopLeftRadius:2,borderTopRightRadius:2,height:56,minHeight:56,p:p.spacing(.5,1,.5,3),"&.PortletHeader-noPadding":{p:p.spacing(.5,0,.5,0)},"&.PortletHeader-noDivider":{borderBottom:"none"}}),...Array.isArray(s)?s:[_nullishCoalesce(s, () => (!1))]],children:o})});ue.displayName="PortletHeader";var Kr={square:!0},j= exports.Portlet =_react.forwardRef.call(void 0, (e,t)=>{let{sx:o,className:r,children:n,...i}=e;return _jsxruntime.jsx.call(void 0, _material.Paper,{...Kr,...i,elevation:0,ref:t,component:"div",className:r?`Portlet-root ${r}`:"Portlet-root",sx:[{display:"flex",flexDirection:"column",alignItems:"stretch",border:"1px solid #E0E4EE"},...Array.isArray(o)?o:[_nullishCoalesce(o, () => (!1))]],children:n})});j.displayName="Portlet";j.Content=le;j.Header=ue;j.Footer=pe;var me=_material.styled.call(void 0, (0, _material.Box))(({theme:e})=>({position:"relative",display:"inline-flex",flexDirection:"row",width:"auto",borderRadius:e.shape.borderRadius,overflow:"hidden",padding:"0.25rem",backgroundColor:"#f1f3f5",'&[data-vertical="true"]':{display:"flex",flexDirection:"column",width:"max-content"},'&[data-fullwidth="true"]':{display:"flex",width:"auto"},'&[data-size="small"]':{padding:"0.15rem"},'&[data-size="large"]':{padding:"0.35rem"}}));me.displayName="SegmentedControlRoot";var ce=_material.styled.call(void 0, _material.Box,{shouldForwardProp:e=>e!=="transitionDuration"&&e!=="transitionTimingFunction"})(({theme:e,transitionDuration:t=150,transitionTimingFunction:o="ease"})=>({position:"relative",flex:1,zIndex:2,transition:`border-color ${t}ms ${o}`,'.SegmentedControl-root[data-with-item-border="true"] &::before':{content:'""',position:"absolute",top:0,bottom:0,insetInlineStart:0,backgroundColor:e.palette.divider,width:"1px",transition:`background-color ${t}ms ${o}`},'.SegmentedControl-root[data-with-item-border="true"] &:first-of-type::before':{backgroundColor:"transparent"},'.SegmentedControl-root[data-vertical="true"] &::before':{top:0,insetInline:0,bottom:"auto",height:"1px",width:"auto"}}));ce.displayName="SegmentedControlItem";var de=_material.styled.call(void 0, (0, _material.Box))(()=>({height:0,width:0,position:"absolute",overflow:"hidden",whiteSpace:"nowrap",opacity:0}));de.displayName="SegmentedControlInput";function Ke(e,t){if(!t)return;let o=["primary","secondary","info","warning","error","success"],r=["textPrimary","textSecondary","textDisabled"];if(o.includes(t))return e.palette[t].main;if(r.includes(t)){let n=t.substring(4).toLowerCase();return e.palette.text[n]}return t}var fe=_material.styled.call(void 0, _material.Box,{shouldForwardProp:e=>e!=="transitionDuration"&&e!=="transitionTimingFunction"&&e!=="primaryColor"&&e!=="secondaryColor"})(({theme:e,transitionDuration:t=150,transitionTimingFunction:o="ease",primaryColor:r,secondaryColor:n})=>{let i=_nullishCoalesce(Ke(e,r), () => (e.palette.primary.main)),s=_nullishCoalesce(Ke(e,n), () => (e.palette.text.secondary));return{fontWeight:500,display:"block",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",userSelect:"none",borderRadius:1,padding:"0.3125rem 0.625rem",fontSize:e.typography.body1.fontSize,cursor:"pointer",color:s,transition:`color ${t}ms ${o}`,".SegmentedControl-item.Mui-active > &&":{color:i,"&::before":{content:'""',position:"absolute",inset:0,zIndex:0}},".SegmentedControl-item.Mui-readOnly > &&":{cursor:"default"},".SegmentedControl-item.Mui-disabled > &&":{cursor:"not-allowed",color:e.palette.text.disabled,opacity:.7},'.SegmentedControl-root[data-size="small"] &':{padding:"0.2rem 0.4rem",fontSize:"0.7rem"},'.SegmentedControl-root[data-size="large"] &':{padding:"0.4rem 0.8rem",fontSize:e.typography.subtitle1.fontSize}}});fe.displayName="SegmentedControlLabel";function ye(e){return e?!0:void 0}var _r=_react.forwardRef.call(void 0, (e,t)=>{let{sx:o,className:r,style:n,disabled:i,data:s,value:a,defaultValue:p,onChange:l,fullWidth:u,withItemBorder:c,primaryColor:y="primary",secondaryColor:d="textSecondary",transitionDuration:m,transitionTimingFunction:x,vertical:b,readOnly:S,size:B="medium",indicator:g}=e,C=s.map(f=>typeof f=="string"?{label:f,value:f}:f),[F,L]=_react.useState.call(void 0, null),[v,Ve]=_react.useState.call(void 0, {}),Xe=f=>Je=>{v[f]=Je,Ve(v)},[I,Ye]=_chunkYXXXYWHIcjs.l.call(void 0, {value:a,defaultValue:p,finalValue:Array.isArray(s)?_nullishCoalesce(_nullishCoalesce(_optionalChain([C, 'access', _18 => _18.find, 'call', _19 => _19(f=>!f.disabled), 'optionalAccess', _20 => _20.value]), () => (_optionalChain([C, 'access', _21 => _21[0], 'optionalAccess', _22 => _22.value]))), () => (void 0)):void 0,onChange:l}),V=_chunkYXXXYWHIcjs.k.call(void 0, ),qe=_chunkYXXXYWHIcjs.c.call(void 0, t,L);return s.length===0?null:_jsxruntime.jsxs.call(void 0, me,{className:_clsx2.default.call(void 0, "SegmentedControl-root",r,{x_readOnly:S,x_fullWidth:u,"Mui-disabled":i,"Mui-readOnly":S}),sx:o,style:n,ref:qe,role:"radiogroup","data-vertical":ye(b),"data-fullwidth":ye(u),"data-with-item-border":ye(c),"data-size":B,children:[typeof I=="string"&&_jsxruntime.jsx.call(void 0, Me,{className:"SegmentedControl-indicator",component:"span",target:v[I],parent:F,transitionDuration:m,sx:{display:"block",zIndex:1,borderRadius:1,bgcolor:"#fff",boxShadow:"rgba(0, 0, 0, 0.05) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px 0px"},children:g}),C.map(f=>_jsxruntime.jsxs.call(void 0, ce,{className:_clsx2.default.call(void 0, "SegmentedControl-item",{"Mui-active":I===f.value,"Mui-disabled":f.disabled||i,"Mui-readOnly":S}),transitionDuration:m,transitionTimingFunction:x,children:[_jsxruntime.jsx.call(void 0, de,{component:"input",className:"SegmentedControl-input",type:"radio",name:V,value:f.value,checked:I===f.value,id:`${V}-${f.value}`,onChange:()=>{!S&&!f.disabled&&!i&&Ye(f.value)}},`${f.value}-input`),_jsxruntime.jsx.call(void 0, fe,{component:"label",className:"SegmentedControl-label",ref:Xe(f.value),htmlFor:`${V}-${f.value}`,primaryColor:y,secondaryColor:d,transitionDuration:m,transitionTimingFunction:x,children:_jsxruntime.jsx.call(void 0, _material.Box,{component:"span",sx:{position:"relative",zIndex:2},children:f.label})},`${f.value}-label`)]},f.value))]})});_r.displayName="SegmentedControl";var Qr=({when:e,fallback:t,children:o})=>e?o:t;Qr.displayName="Show";function Kl(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.down("md"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}function _l(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.up("sm"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}var on=_react.forwardRef.call(void 0, ({width:e,height:t,minWidth:o,minHeight:r,sx:n,...i},s)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:s,sx:[{width:e,height:t,minWidth:_nullishCoalesce(o, () => (e)),minHeight:_nullishCoalesce(r, () => (t))},...Array.isArray(n)?n:[n]],...i}));on.displayName="Space";var ln=_react.forwardRef.call(void 0, (e,t)=>{let{sx:o,className:r,style:n,id:i,initialState:s,maxHeight:a=100,hideLabel:p,showLabel:l,expanded:u,onExpandedChange:c,controlRef:y,children:d,transitionDuration:m=100,...x}=e,b=_chunkYXXXYWHIcjs.k.call(void 0, i),S=`${b}-region`,[B,g]=_chunkYXXXYWHIcjs.l.call(void 0, {value:u,defaultValue:s,finalValue:!1,onChange:c}),{ref:C,height:F}=_chunkYXXXYWHIcjs.n.call(void 0, ),L=B?p:l,v=L!==null&&a<F;return _jsxruntime.jsxs.call(void 0, pn,{className:_clsx2.default.call(void 0, "Spoiler-root",r),sx:[o,...Array.isArray(o)?o:[_nullishCoalesce(o, () => (!1))]],style:n,id:b,ref:t,"data-has-spoiler":v,...x,children:[v&&_jsxruntime.jsx.call(void 0, un,{component:"button",ref:y,onClick:()=>{g(!B)},"aria-expanded":B,"aria-controls":S,children:L}),_jsxruntime.jsx.call(void 0, mn,{"data-reduce-motion":!0,role:"region",id:S,transitionDuration:m,style:{maxHeight:B?_nullishCoalesce(F, () => (void 0)):a},children:_jsxruntime.jsx.call(void 0, "div",{ref:C,children:d})})]})});ln.displayName="Spoiler";var pn=_material.styled.call(void 0, (0, _material.Box))(()=>({position:"relative",'&:where([data-has-spoiler="true"])':{marginBottom:24}})),un=_material.styled.call(void 0, (0, _material.Link))(()=>({position:"absolute",insetInlineStart:0,top:"100%",height:32,textDecoration:"none","&:hover":{textDecoration:"underline"}})),mn=_material.styled.call(void 0, _material.Box,{shouldForwardProp:e=>e!=="transitionDuration"})(({transitionDuration:e=200})=>({display:"flex",flexDirection:"column",overflow:"hidden",transition:`max-height ${e}ms ease`}));function h(e,t,o){let r=_react.forwardRef.call(void 0, ({alignItems:n,justifyContent:i,...s},a)=>{let p=R(o,{alignItems:n,justifyContent:i});return _jsxruntime.jsx.call(void 0, _material.Stack,{direction:t,...s,ref:a,sx:[p,...Array.isArray(s.sx)?s.sx:[_nullishCoalesce(s.sx, () => (!1))]]})});return r.displayName=e,r}var bn=h("StackColumn.Center","column",{justifyContent:"center"}),gn=h("StackColumn.Start","column",{justifyContent:"flex-start"}),Pn=h("StackColumn.End","column",{justifyContent:"flex-end"}),hn=h("StackColumn.Between","column",{justifyContent:"space-between"}),Sn=h("StackColumn.Around","column",{justifyContent:"space-around"}),Bn=h("StackColumn.Evenly","column",{justifyContent:"space-evenly"}),A= exports.StackColumn =_react.forwardRef.call(void 0, ({center:e=!1,alignItems:t,justifyContent:o,children:r,...n},i)=>_jsxruntime.jsx.call(void 0, _material.Stack,{direction:"column",...n,ref:i,sx:[{alignItems:e?"center":t,justifyContent:e?"center":o},...Array.isArray(n.sx)?n.sx:[_nullishCoalesce(n.sx, () => (!1))]],children:r}));A.displayName="StackColumn";A.Start=gn;A.End=Pn;A.Between=hn;A.Around=Sn;A.Center=bn;A.Evenly=Bn;var An=h("StackRow.Center","row",{justifyContent:"center"}),En=h("StackRow.Start","row",{justifyContent:"flex-start"}),vn=h("StackRow.End","row",{justifyContent:"flex-end"}),kn=h("StackRow.Between","row",{justifyContent:"space-between"}),Nn=h("StackRow.Around","row",{justifyContent:"space-around"}),Fn=h("StackRow.Evenly","row",{justifyContent:"space-evenly"}),E= exports.StackRow =_react.forwardRef.call(void 0, ({center:e=!1,alignItems:t,justifyContent:o,children:r,...n},i)=>_jsxruntime.jsx.call(void 0, _material.Stack,{direction:"row",...n,ref:i,sx:[{alignItems:e?"center":t,justifyContent:e?"center":o},...Array.isArray(n.sx)?n.sx:[_nullishCoalesce(n.sx, () => (!1))]],children:r}));E.displayName="StackRow";E.Start=En;E.End=vn;E.Between=kn;E.Around=Nn;E.Center=An;E.Evenly=Fn;var be=_react.forwardRef.call(void 0, ({fullWidth:e,top:t,sx:o,...r},n)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:n,sx:[{position:"absolute",top:t,left:"50%",transform:"translate(-50%, -50%)",...e&&{width:"100%"}},...Array.isArray(o)?o:[o]],...r}));be.displayName="TopAbsolute.Center";var ge=_react.forwardRef.call(void 0, ({fullWidth:e,left:t=0,top:o=0,sx:r,...n},i)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:i,sx:[{position:"absolute",left:t,top:o,...e&&{width:"100%"}},...Array.isArray(r)?r:[r]],...n}));ge.displayName="TopAbsolute.Left";var Pe=_react.forwardRef.call(void 0, ({fullWidth:e,right:t=0,top:o=0,sx:r,...n},i)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:i,sx:[{position:"absolute",right:t,top:o,...e&&{width:"100%"}},...Array.isArray(r)?r:[r]],...n}));Pe.displayName="TopAbsolute.Right";var Qe=_react.forwardRef.call(void 0, ({top:e=0,left:t=0,right:o=0,sx:r,...n},i)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:i,sx:[{position:"absolute",top:e,left:t,right:o},...Array.isArray(r)?r:[r]],...n}));Qe.displayName="TopAbsoluteBase";var Q=Qe;Q.displayName="TopAbsolute";Q.Left=ge;Q.Right=Pe;Q.Center=be;function Kp(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.down("sm"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}var Up=e=>!e.shiftKey&&e.key==="Tab",_p= exports.isEnterOrTabKeyEvent =e=>e.key==="Enter"||!e.shiftKey&&e.key==="Tab",Qp= exports.isEnterKeyEvent =e=>e.key==="Enter",Vp= exports.isEscapeKeyEvent =e=>e.key==="Escape",Xp= exports.isTouchEvent =e=>!!_optionalChain([e, 'access', _23 => _23.touches, 'optionalAccess', _24 => _24.length]),Yp= exports.isMouseEvent =e=>!!((e.clientX||e.clientX===0)&&(e.clientY||e.clientY===0)),qp= exports.blurEventTarget =(e,t=-1)=>{let o=e.target;o&&typeof o.blur=="function"&&(t>=0?setTimeout(()=>{o.blur()},t):o.blur())};function Xn(...e){let t=[];return e.forEach(o=>{o&&(Array.isArray(o)?o.forEach(r=>{r&&t.push(r)}):t.push(o))}),t}function Zp(...e){let t=Xn(...e);return t.length>0?t[0]:void 0}var eu=(e="height",t=100)=>({"& .MuiDialog-scrollPaper > .MuiDialog-paper":{[e]:`calc(${t}% - 64px)`}});exports.BottomAbsolute = D; exports.Center = dt; exports.CenterAbsolute = O; exports.Closables = _chunkYXXXYWHIcjs.p; exports.CooldownButton = Pt; exports.CooldownButtonBase = At; exports.CooldownIconButton = It; exports.CopyButtonWrapper = Ki; exports.CustomTableBody = Qi; exports.DebouncedButton = ro; exports.DebouncedButtonBase = po; exports.DebouncedIconButton = xo; exports.DebouncedRender = Es; exports.FileButton = wo; exports.FlexColumn = T; exports.FlexItemsContainer = No; exports.FlexRow = w; exports.FloatingIndicator = ie; exports.Hide = ha; exports.Highlight = We; exports.LengthLimitHelperText = Wa; exports.LgOrUp = Ga; exports.Mark = $; exports.MdOrDown = Va; exports.MdOrUp = Ja; exports.Paper = rl; exports.Portlet = j; exports.SegmentedControl = _r; exports.Show = Qr; exports.SmOrDown = Kl; exports.SmOrUp = _l; exports.Space = on; exports.Spoiler = ln; exports.StackColumn = A; exports.StackRow = E; exports.TopAbsolute = Q; exports.XsOrDown = Kp; exports.blurEventTarget = qp; exports.firstSx = Zp; exports.flatSx = Xn; exports.getAbsolutePosition = _chunkYXXXYWHIcjs.v; exports.isBrowser = _chunkYXXXYWHIcjs.w; exports.isEnterKeyEvent = Qp; exports.isEnterOrTabKeyEvent = _p; exports.isEscapeKeyEvent = Vp; exports.isMouseEvent = Yp; exports.isNavigator = _chunkYXXXYWHIcjs.x; exports.isTabKeyEvent = Up; exports.isTouchDevice = _chunkYXXXYWHIcjs.t; exports.isTouchEvent = Xp; exports.isWebSerialSupportBrowser = _chunkYXXXYWHIcjs.s; exports.matchesOrClosest = _chunkYXXXYWHIcjs.u; exports.noop = _chunkYXXXYWHIcjs.y; exports.requestFocusSelector = _chunkYXXXYWHIcjs.q; exports.requestSelector = _chunkYXXXYWHIcjs.r; exports.sxDialogHeight = eu;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkDGBGKY22cjs = require('./chunk-DGBGKY22.cjs');require('./chunk-M4G6J7DP.cjs');var _material = require('@mui/material');var _jsxruntime = require('react/jsx-runtime');var Y=({fullWidth:e,bottom:t=0,sx:o,ref:r,...s})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:r,sx:[{position:"absolute",bottom:t,left:"50%",transform:"translate(-50%, -50%)",...e&&{width:"100%"}},...Array.isArray(o)?o:[o]],...s});Y.displayName="BottomAbsolute.Center";var q=({fullWidth:e,left:t=0,bottom:o=0,sx:r,ref:s,...n})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:s,sx:[{position:"absolute",left:t,bottom:o,...e&&{width:"100%"}},...Array.isArray(r)?r:[r]],...n});q.displayName="BottomAbsolute.Left";var J=({fullWidth:e,right:t=0,bottom:o=0,sx:r,ref:s,...n})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:s,sx:[{position:"absolute",right:t,bottom:o,...e&&{width:"100%"}},...Array.isArray(r)?r:[r]],...n});J.displayName="BottomAbsolute.Right";var Re=(({bottom:e=0,left:t=0,right:o=0,sx:r,ref:s,...n})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:s,sx:[{position:"absolute",bottom:e,left:t,right:o},...Array.isArray(r)?r:[r]],...n}));Re.displayName="BottomAbsoluteBase";var D=Re;D.displayName="BottomAbsolute";D.Left=q;D.Right=J;D.Center=Y;var lt=({vertical:e=!1,sx:t,ref:o,...r})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:o,sx:[{display:"flex",flexDirection:e?"column":"row",alignItems:"center",justifyContent:"center"},...Array.isArray(t)?t:[t]],...r});lt.displayName="Center";var _react = require('react');var ct=({cooldown:e=1e3,onClick:t,disabled:o,ref:r,...s})=>{let[n,i]=_react.useState.call(void 0, !1);return _jsxruntime.jsx.call(void 0, _material.Button,{...s,ref:r,onClick:l=>{!n&&t&&(t(l),i(!0),setTimeout(()=>i(!1),e))},disabled:o||n,children:s.children})};ct.displayName="CooldownButton";var xt=({cooldown:e=1e3,onClick:t,disabled:o,ref:r,...s})=>{let[n,i]=_react.useState.call(void 0, !1);return _jsxruntime.jsx.call(void 0, _material.ButtonBase,{...s,ref:r,onClick:l=>{!n&&t&&(t(l),i(!0),setTimeout(()=>i(!1),e))},disabled:o||n,children:s.children})};xt.displayName="CooldownButtonBase";var gt=({cooldown:e=700,onClick:t,disabled:o,ref:r,...s})=>{let[n,i]=_react.useState.call(void 0, !1);return _jsxruntime.jsx.call(void 0, _material.IconButton,{...s,ref:r,onClick:l=>{!n&&t&&(t(l),i(!0),setTimeout(()=>i(!1),e))},disabled:o||n,children:s.children})};gt.displayName="CooldownIconButton";function Un(e){let{children:t,onCopySuccess:o,value:r,timeout:s=1e3}=e,n=_chunkDGBGKY22cjs.a.call(void 0, {timeout:s});return _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t({copy:()=>{let a=typeof r=="function"?r():r;typeof a=="string"&&a.length>0&&n.copy(a).then(l=>{l&&_optionalChain([o, 'optionalCall', _2 => _2(a)])})},copied:n.copied})})}var _clsx = require('clsx'); var _clsx2 = _interopRequireDefault(_clsx);function Yn(e){let{sx:t,className:o,loading:r,stripe:s,...n}=e;return _jsxruntime.jsx.call(void 0, _material.TableBody,{className:_clsx2.default.call(void 0, "CustomTableBody-root",o,{"CustomTableBody-stripe":!!s,"CustomTableBody-loading":!!r}),sx:[{"&.CustomTableBody-loading":{opacity:.5},"&.CustomTableBody-stripe":{"& .MuiTableRow-root:nth-of-type(even)":{backgroundColor:"action.hover"}}},...Array.isArray(t)?t:[_nullishCoalesce(t, () => (!1))]],...n})}var Z=({fullWidth:e,sx:t,ref:o,...r})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:o,sx:[{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",...e&&{width:"100%"}},...Array.isArray(t)?t:[t]],...r});Z.displayName="CenterAbsolute.Center";var ee=({fullWidth:e,left:t=0,sx:o,ref:r,...s})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:r,sx:[{position:"absolute",top:"50%",left:t,transform:"translateY(-50%)",...e&&{width:"100%"}},...Array.isArray(o)?o:[o]],...s});ee.displayName="CenterAbsolute.Left";var te=({fullWidth:e,right:t=0,sx:o,ref:r,...s})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:r,sx:[{position:"absolute",top:"50%",right:t,transform:"translateY(-50%)",...e&&{width:"100%"}},...Array.isArray(o)?o:[o]],...s});te.displayName="CenterAbsolute.Right";var Te=(({left:e=0,right:t=0,sx:o,ref:r,...s})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:r,sx:[{position:"absolute",top:"50%",left:e,right:t,transform:"translateY(-50%)"},...Array.isArray(o)?o:[o]],...s}));Te.displayName="CenterAbsoluteBase";var O=Te;O.displayName="CenterAbsolute";O.Left=ee;O.Right=te;O.Center=Z;var xs=({debounce:e=700,onClick:t,disabled:o,children:r,ref:s,...n})=>{let i=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>()=>{i.current&&clearTimeout(i.current)},[]),_jsxruntime.jsx.call(void 0, _material.Button,{...n,ref:s,onClick:l=>{i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{!o&&t&&t(l)},e)},disabled:o,children:r})};var hs=({debounce:e=700,onClick:t,disabled:o,children:r,ref:s,...n})=>{let i=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>()=>{i.current&&clearTimeout(i.current)},[]),_jsxruntime.jsx.call(void 0, _material.ButtonBase,{...n,ref:s,onClick:l=>{i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{!o&&t&&t(l)},e)},disabled:o,children:r})};var ws=({debounce:e=700,onClick:t,disabled:o,ref:r,...s})=>{let n=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>()=>{n.current&&clearTimeout(n.current)},[]),_jsxruntime.jsx.call(void 0, _material.IconButton,{...s,ref:r,onClick:a=>{n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{!o&&t&&t(a)},e)},disabled:o,children:s.children})};var Es=({children:e,leading:t=!1,trailing:o=!0,maxWait:r=100})=>{let[s,n]=_react.useState.call(void 0, t?e:void 0),i=_react.useRef.call(void 0, null),a=_react.useRef.call(void 0, null),l=_react.useCallback.call(void 0, ()=>{i.current&&clearTimeout(i.current)},[]);return _react.useEffect.call(void 0, ()=>{let p=Date.now(),u=()=>{n(e),a.current=p};return t&&a.current===null&&u(),i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{o&&u(),i.current=null},r),t&&a.current!==null&&p-(a.current||0)>=r&&u(),()=>{i.current&&clearTimeout(i.current)}},[e,t,o,r,l]),_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:s})};function ve(e,t){typeof e=="function"?e(t):typeof e=="object"&&e!==null&&"current"in e&&(e.current=t)}var eo=(e=>{let{ref:t,onChange:o,children:r,multiple:s,accept:n,name:i,form:a,resetRef:l,disabled:p,capture:u,inputProps:c}=e,y=_react.useRef.call(void 0, null),[d,m]=_react.useState.call(void 0, 0),x=_react.useCallback.call(void 0, ()=>{p||m(S=>S+1)},[p]);_react.useEffect.call(void 0, ()=>{d!==0&&_optionalChain([y, 'access', _3 => _3.current, 'optionalAccess', _4 => _4.click, 'call', _5 => _5()])},[d]);let C=S=>{let P=_optionalChain([S, 'access', _6 => _6.currentTarget, 'optionalAccess', _7 => _7.files]);if(P)if(s)o(Array.from(P));else{let b=P[0];b&&o(b)}},B=_react.useCallback.call(void 0, ()=>{y.current&&(y.current.value="")},[]);return _react.useEffect.call(void 0, ()=>{if(l)return ve(l,B),()=>{ve(l,()=>{})}},[l,B]),_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment,{children:[r({onClick:x}),_jsxruntime.jsx.call(void 0, "input",{style:{display:"none"},type:"file",accept:n,multiple:s,onChange:C,ref:_chunkDGBGKY22cjs.c.call(void 0, t,y),name:i,form:a,capture:u,...c})]})});eo.displayName="FileButton";function z(e){return typeof e>"u"||e===null}function Ee(e){return!z(e)}function so(e){let{className:t,items:o,getItemKey:r,getItemSize:s,isLineBreakItem:n,breakBefore:i,breakAfter:a,children:l,lineBreakHeight:p,lineBreakGroup:u,...c}=e;return Array.isArray(o)?_jsxruntime.jsx.call(void 0, _material.Grid,{className:_clsx2.default.call(void 0, "FlexItemsContainer-root",t),container:!0,role:"grid",...c,children:io({items:o,isLineBreakItem:n,lineBreakGroup:u,lineBreakHeight:p,breakBefore:i,breakAfter:a,getItemKey:r,getItemSize:s,renderItem:l})}):(console.error("FlexItemsContainer: items must be an array"),null)}so.displayName="FlexItemsContainer";function io(e){let{items:t,getItemKey:o,getItemSize:r,isLineBreakItem:s,lineBreakHeight:n=0,lineBreakGroup:i,breakBefore:a,breakAfter:l,renderItem:p}=e,u=[],c=!0,y;return t.forEach((d,m)=>{if(_optionalChain([s, 'optionalCall', _8 => _8(d,m)])){c||(c=!0,u.push(W(m,"break-item",n)));return}if(i){let x=i(d,m);ao(y,x)&&(y=x,c||(c=!0,u.push(W(m,"group",n))))}!c&&_optionalChain([a, 'optionalCall', _9 => _9(d,m)])&&(c=!0,u.push(W(m,"break-before",n))),c=!1,u.push(_jsxruntime.jsx.call(void 0, _material.Grid,{size:_optionalChain([r, 'optionalCall', _10 => _10(d,m)]),children:p(d,m)},o(d,m))),_optionalChain([l, 'optionalCall', _11 => _11(d,m)])&&(c=!0,u.push(W(m,"break-after",n)))}),c&&u.length>0&&u.pop(),u}function ao(e,t){return z(e)&&z(t)?!1:e!==t}function W(e,t,o){return _jsxruntime.jsx.call(void 0, _material.Grid,{className:"FlexItemsContainer-emptyLine",size:"auto",style:{flexBasis:"100%",width:0,height:o}},`FlexItemsContainer:${t}:${e}`)}function F(e){return e?parseInt(e,10):0}function lo(e,t){if(!t||!e)return!1;let o=t.parentNode;for(;Ee(o);){if(o===e)return!0;o=o.parentNode}return!1}function Ie({target:e,parent:t,indicatorRef:o,excludeTargetBorderWidth:r=!1,displayAfterTransitionEnd:s=!1}){let n=_react.useRef.call(void 0, -1),[i,a]=_react.useState.call(void 0, !1),[l,p]=_react.useState.call(void 0, s),u=_chunkDGBGKY22cjs.e.call(void 0, ()=>{if(!e||!t||!o.current)return;let m=e.getBoundingClientRect(),x=t.getBoundingClientRect(),C=window.getComputedStyle(e),B=window.getComputedStyle(t),S={top:F(B.borderTopWidth),left:F(B.borderLeftWidth)},P={top:F(C.borderTopWidth),bottom:F(C.borderBottomWidth),left:F(C.borderLeftWidth),right:F(C.borderRightWidth)},b={top:m.top-x.top-S.top,left:m.left-x.left-S.left,width:m.width,height:m.height};r&&(b.top+=P.top,b.left+=P.left,b.height-=P.top+P.bottom,b.width-=P.left+P.right),o.current.style.transform=`translateX(${b.left}px) translateY(${b.top}px)`,o.current.style.width=`${b.width}px`,o.current.style.height=`${b.height}px`}),c=_chunkDGBGKY22cjs.e.call(void 0, ()=>{window.clearTimeout(n.current),o.current&&(o.current.style.transitionDuration="0ms"),u.current(),n.current=window.setTimeout(()=>{o.current&&(o.current.style.transitionDuration="")},30)}),y=_react.useRef.call(void 0, null),d=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>{if(u.current(),e)return y.current=new ResizeObserver(c.current),y.current.observe(e),t&&(d.current=new ResizeObserver(c.current),d.current.observe(t)),()=>{_optionalChain([y, 'access', _12 => _12.current, 'optionalAccess', _13 => _13.disconnect, 'call', _14 => _14()]),_optionalChain([d, 'access', _15 => _15.current, 'optionalAccess', _16 => _16.disconnect, 'call', _17 => _17()])}},[t,e,u,c]),_react.useEffect.call(void 0, ()=>{if(t){let m=x=>{lo(x.target,t)&&(c.current(),p(!1))};return t.addEventListener("transitionend",m),()=>{t.removeEventListener("transitionend",m)}}},[t,c]),_chunkDGBGKY22cjs.j.call(void 0, ()=>{a(!0)},20,{autoInvoke:!0}),_chunkDGBGKY22cjs.i.call(void 0, m=>{m.forEach(x=>{x.type==="attributes"&&x.attributeName==="dir"&&c.current()})},{attributes:!0,attributeFilter:["dir"]},()=>document.documentElement),{initialized:i,hidden:l}}var Le=e=>{let{target:t,parent:o,transitionDuration:r=150,excludeTargetBorderWidth:s=!1,displayAfterTransitionEnd:n,sx:i,className:a,ref:l,...p}=e,u=_react.useRef.call(void 0, null),{initialized:c,hidden:y}=Ie({target:t,parent:o,indicatorRef:u,excludeTargetBorderWidth:s,displayAfterTransitionEnd:n}),d=_chunkDGBGKY22cjs.c.call(void 0, l,u);return!t||!o?null:_jsxruntime.jsx.call(void 0, _material.Box,{className:_clsx2.default.call(void 0, "FloatingIndicator-root",a),ref:d,sx:[{position:"absolute",top:0,left:0,transition:`transform ${r}ms`,opacity:c?1:0,...y?{display:"none"}:void 0},...Array.isArray(i)?i:[_nullishCoalesce(i, () => (!1))]],...p})};var Me=Le;function R(e,...t){let o=Object.fromEntries(Object.entries(e).filter(([s,n])=>n!==void 0)),r=t.reduce((s,n)=>{let i=Object.fromEntries(Object.entries(n).filter(([a,l])=>l!==void 0));return Object.assign(s,i),s},{});return{...o,...r}}function g(e,t,o){let r=(({inlineFlex:s,justifyContent:n,alignItems:i,flexWrap:a,sx:l,ref:p,...u})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:p,sx:[{display:s?"inline-flex":"flex",flexDirection:t,...R(o,{justifyContent:n,alignItems:i,flexWrap:a})},...Array.isArray(l)?l:[l]],...u}));return r.displayName=e,r}var Co=g("FlexColumn.Start","column",{justifyContent:"flex-start"}),bo=g("FlexColumn.End","column",{justifyContent:"flex-end"}),Po=g("FlexColumn.Center","column",{justifyContent:"center"}),go=g("FlexColumn.Around","column",{justifyContent:"space-around"}),ho=g("FlexColumn.Between","column",{justifyContent:"space-between"}),So=g("FlexColumn.Evenly","column",{justifyContent:"space-evenly"}),He=(({center:e,inlineFlex:t,justifyContent:o,alignItems:r,flexWrap:s,sx:n,ref:i,...a})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:i,sx:[{display:t?"inline-flex":"flex",flexDirection:"column",...R(e?{justifyContent:"center",alignItems:"center"}:{},{justifyContent:o,alignItems:r,flexWrap:s})},...Array.isArray(n)?n:[n]],...a}));He.displayName="FlexColumnBase";var T=He;T.displayName="FlexColumn";T.Start=Co;T.End=bo;T.Center=Po;T.Between=ho;T.Evenly=So;T.Around=go;var To=g("FlexRow.Start","row",{justifyContent:"flex-start"}),wo=g("FlexRow.End","row",{justifyContent:"flex-end"}),Ao=g("FlexRow.Around","row",{justifyContent:"space-around"}),ko=g("FlexRow.Between","row",{justifyContent:"space-between"}),vo=g("FlexRow.Evenly","row",{justifyContent:"space-evenly"}),Eo=g("FlexRow.Center","row",{justifyContent:"center"}),De=(({center:e,inlineFlex:t=!1,justifyContent:o,alignItems:r,flexWrap:s,sx:n,ref:i,...a})=>{let l=Array.isArray(n)?n.filter(Boolean):n?[n]:[],p={display:t?"inline-flex":"flex",flexDirection:"row",...R(e?{justifyContent:"center",alignItems:"center"}:{},{justifyContent:o,alignItems:r,flexWrap:s})};return _jsxruntime.jsx.call(void 0, _material.Box,{ref:i,sx:l.length>0?[p,...l]:p,...a})});De.displayName="FlexRowBase";var w=De;w.displayName="FlexRow";w.Start=To;w.End=wo;w.Center=Eo;w.Between=ko;w.Around=Ao;w.Evenly=vo;function gi(e){return null}var $=e=>{let{sx:t,className:o,color:r="#000",bgcolor:s="#ff0",children:n,ref:i,...a}=e;return _jsxruntime.jsx.call(void 0, _material.Box,{className:_clsx2.default.call(void 0, "Mark-root",o),component:"mark",ref:i,sx:[{display:"inline-block",color:r,bgcolor:s},...Array.isArray(t)?t:[_nullishCoalesce(t, () => (!1))]],...a,children:n})};$.displayName="Mark";function Oe(e){return e.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}function ze(e,t,o){if(!t||t.length===0)return[{chunk:e,highlighted:!1}];let r=_nullishCoalesce(_optionalChain([o, 'optionalAccess', _18 => _18.ignorecase]), () => (!0)),s=Array.isArray(t)?t.map(Oe):Oe(t);if(!(Array.isArray(s)?s.filter(p=>p.trim().length>0).length>0:s.trim()!==""))return[{chunk:e,highlighted:!1}];let i=typeof s=="string"?s.trim():s.filter(p=>p.trim().length!==0).map(p=>p.trim()).sort((p,u)=>u.length-p.length).join("|"),a=new RegExp(`(${i})`,r?"gi":"g");return e.split(a).map(p=>({chunk:p,highlighted:a.test(p)})).filter(({chunk:p})=>p)}var We=e=>{let{sx:t,className:o,style:r,variant:s,highlight:n,color:i,highlightSx:a,ignorecase:l=!1,includeDataAttribute:p=!1,children:u,ref:c,...y}=e,d=_react.useMemo.call(void 0, ()=>ze(u,n,{ignorecase:l}),[u,n,l]);return _jsxruntime.jsx.call(void 0, _material.Typography,{ref:c,variant:s,className:_clsx2.default.call(void 0, "Highlight-root",o),sx:t,style:r,...y,children:d.map(({chunk:m,highlighted:x},C)=>x?p?_jsxruntime.jsx.call(void 0, $,{color:i,sx:a,"data-highlight":m,children:m},C):_jsxruntime.jsx.call(void 0, $,{color:i,sx:a,children:m},C):_jsxruntime.jsx.call(void 0, "span",{children:m},C))})};We.displayName="Highlight";function Oi(e){let{sx:t,className:o,text:r,maxLen:s,currentLen:n=0}=e,i=n>s;return r?_jsxruntime.jsxs.call(void 0, _material.Box,{className:_clsx2.default.call(void 0, "LengthLimitHelperText-root",o),component:"span",sx:[{display:"flex",justifyContent:"space-between",alignItems:"center",color:i?"error.main":"text.secondary"},...Array.isArray(t)?t:[_nullishCoalesce(t, () => (!1))]],children:[typeof r=="string"?_jsxruntime.jsx.call(void 0, "span",{children:r}):r,_jsxruntime.jsxs.call(void 0, _material.Box,{component:"span",sx:{ml:2,whiteSpace:"nowrap"},children:[n," / ",s]})]}):_jsxruntime.jsxs.call(void 0, _material.Box,{className:_clsx2.default.call(void 0, "LengthLimitHelperText-root",o),component:"span",sx:[{display:"flex",justifyContent:"flex-end",alignItems:"center",color:i?"error.main":"text.secondary",whiteSpace:"nowrap"},...Array.isArray(t)?t:[_nullishCoalesce(t, () => (!1))]],children:[n," / ",s]})}function Ki(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.up("lg"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}function _i(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.down("lg"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}function Yi(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.up("md"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}function ta(e){let{className:t,sx:o,squared:r,outlined:s,children:n,...i}=e;return _jsxruntime.jsx.call(void 0, _material.Paper,{...i,className:_clsx2.default.call(void 0, "Paper-root",t),sx:[{borderRadius:r?0:1,border:s?"1px solid #ddd":"none"},...Array.isArray(o)?o:[_nullishCoalesce(o, () => (!1))]],children:n})}var ae=e=>{let{noPadding:t=!1,className:o,sx:r,children:s,ref:n,...i}=e;return _jsxruntime.jsx.call(void 0, _material.Box,{...i,className:_clsx.clsx.call(void 0, "PortletContent-root",o,{"PortletContent-noPadding":t}),ref:n,sx:[a=>({flex:1,p:a.spacing(2,3),"&.PortletContent-noPadding":{p:0}}),...Array.isArray(r)?r:[_nullishCoalesce(r, () => (!1))]],children:s})};ae.displayName="PortletContent";var le=e=>{let{noDivider:t,sx:o,className:r,children:s,ref:n,...i}=e;return _jsxruntime.jsx.call(void 0, _material.Box,{...i,className:_clsx.clsx.call(void 0, "PortletFooter-root",r,{"PortletFooter-noDivider":t}),ref:n,sx:[a=>({p:a.spacing(1,2),borderTop:"1px solid #E0E4EE",borderBottomLeftRadius:"2px",borderBottomRightRadius:"2px","&.PortletFooter-noDivider":{borderTop:"none"}}),...Array.isArray(o)?o:[_nullishCoalesce(o, () => (!1))]],children:s})};le.displayName="PortletFooter";var pe=e=>{let{children:t,noDivider:o,className:r,noPadding:s=!1,sx:n,ref:i,...a}=e;return _jsxruntime.jsx.call(void 0, _material.Box,{...a,className:_clsx.clsx.call(void 0, "PortletHeader-root",r,{"PortletHeader-noPadding":s,"PortletHeader-noDivider":o}),ref:i,sx:[l=>({position:"relative",display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid #E0E4EE",borderTopLeftRadius:2,borderTopRightRadius:2,height:56,minHeight:56,p:l.spacing(.5,1,.5,3),"&.PortletHeader-noPadding":{p:l.spacing(.5,0,.5,0)},"&.PortletHeader-noDivider":{borderBottom:"none"}}),...Array.isArray(n)?n:[_nullishCoalesce(n, () => (!1))]],children:t})};pe.displayName="PortletHeader";var ar={square:!0},j= exports.Portlet =(e=>{let{sx:t,className:o,children:r,ref:s,...n}=e;return _jsxruntime.jsx.call(void 0, _material.Paper,{...ar,...n,elevation:0,ref:s,component:"div",className:o?`Portlet-root ${o}`:"Portlet-root",sx:[{display:"flex",flexDirection:"column",alignItems:"stretch",border:"1px solid #E0E4EE"},...Array.isArray(t)?t:[_nullishCoalesce(t, () => (!1))]],children:r})});j.displayName="Portlet";j.Content=ae;j.Header=pe;j.Footer=le;var ue=_material.styled.call(void 0, (0, _material.Box))(({theme:e})=>({position:"relative",display:"inline-flex",flexDirection:"row",width:"auto",borderRadius:e.shape.borderRadius,overflow:"hidden",padding:"0.25rem",backgroundColor:"#f1f3f5",'&[data-vertical="true"]':{display:"flex",flexDirection:"column",width:"max-content"},'&[data-fullwidth="true"]':{display:"flex",width:"auto"},'&[data-size="small"]':{padding:"0.15rem"},'&[data-size="large"]':{padding:"0.35rem"}}));ue.displayName="SegmentedControlRoot";var me=_material.styled.call(void 0, _material.Box,{shouldForwardProp:e=>e!=="transitionDuration"&&e!=="transitionTimingFunction"})(({theme:e,transitionDuration:t=150,transitionTimingFunction:o="ease"})=>({position:"relative",flex:1,zIndex:2,transition:`border-color ${t}ms ${o}`,'.SegmentedControl-root[data-with-item-border="true"] &::before':{content:'""',position:"absolute",top:0,bottom:0,insetInlineStart:0,backgroundColor:e.palette.divider,width:"1px",transition:`background-color ${t}ms ${o}`},'.SegmentedControl-root[data-with-item-border="true"] &:first-of-type::before':{backgroundColor:"transparent"},'.SegmentedControl-root[data-vertical="true"] &::before':{top:0,insetInline:0,bottom:"auto",height:"1px",width:"auto"}}));me.displayName="SegmentedControlItem";var ce=_material.styled.call(void 0, (0, _material.Box))(()=>({height:0,width:0,position:"absolute",overflow:"hidden",whiteSpace:"nowrap",opacity:0}));ce.displayName="SegmentedControlInput";function Ke(e,t){if(!t)return;let o=["primary","secondary","info","warning","error","success"],r=["textPrimary","textSecondary","textDisabled"];if(o.includes(t))return e.palette[t].main;if(r.includes(t)){let s=t.substring(4).toLowerCase();return e.palette.text[s]}return t}var de=_material.styled.call(void 0, _material.Box,{shouldForwardProp:e=>e!=="transitionDuration"&&e!=="transitionTimingFunction"&&e!=="primaryColor"&&e!=="secondaryColor"})(({theme:e,transitionDuration:t=150,transitionTimingFunction:o="ease",primaryColor:r,secondaryColor:s})=>{let n=_nullishCoalesce(Ke(e,r), () => (e.palette.primary.main)),i=_nullishCoalesce(Ke(e,s), () => (e.palette.text.secondary));return{fontWeight:500,display:"block",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",userSelect:"none",borderRadius:1,padding:"0.3125rem 0.625rem",fontSize:e.typography.body1.fontSize,cursor:"pointer",color:i,transition:`color ${t}ms ${o}`,".SegmentedControl-item.Mui-active > &&":{color:n,"&::before":{content:'""',position:"absolute",inset:0,zIndex:0}},".SegmentedControl-item.Mui-readOnly > &&":{cursor:"default"},".SegmentedControl-item.Mui-disabled > &&":{cursor:"not-allowed",color:e.palette.text.disabled,opacity:.7},'.SegmentedControl-root[data-size="small"] &':{padding:"0.2rem 0.4rem",fontSize:"0.7rem"},'.SegmentedControl-root[data-size="large"] &':{padding:"0.4rem 0.8rem",fontSize:e.typography.subtitle1.fontSize}}});de.displayName="SegmentedControlLabel";function fe(e){return e?!0:void 0}var Na=e=>{let{sx:t,className:o,style:r,disabled:s,data:n,value:i,defaultValue:a,onChange:l,fullWidth:p,withItemBorder:u,primaryColor:c="primary",secondaryColor:y="textSecondary",transitionDuration:d,transitionTimingFunction:m,vertical:x,readOnly:C,size:B="medium",indicator:S,ref:P}=e,b=n.map(f=>typeof f=="string"?{label:f,value:f}:f),[N,I]=_react.useState.call(void 0, null),[v,Ve]=_react.useState.call(void 0, {}),Xe=f=>Je=>{v[f]=Je,Ve(v)},[L,Ye]=_chunkDGBGKY22cjs.l.call(void 0, {value:i,defaultValue:a,finalValue:Array.isArray(n)?_nullishCoalesce(_nullishCoalesce(_optionalChain([b, 'access', _19 => _19.find, 'call', _20 => _20(f=>!f.disabled), 'optionalAccess', _21 => _21.value]), () => (_optionalChain([b, 'access', _22 => _22[0], 'optionalAccess', _23 => _23.value]))), () => (void 0)):void 0,onChange:l}),V=_chunkDGBGKY22cjs.k.call(void 0, ),qe=_chunkDGBGKY22cjs.c.call(void 0, P,I);return n.length===0?null:_jsxruntime.jsxs.call(void 0, ue,{className:_clsx2.default.call(void 0, "SegmentedControl-root",o,{x_readOnly:C,x_fullWidth:p,"Mui-disabled":s,"Mui-readOnly":C}),sx:t,style:r,ref:qe,role:"radiogroup","data-vertical":fe(x),"data-fullwidth":fe(p),"data-with-item-border":fe(u),"data-size":B,children:[typeof L=="string"&&_jsxruntime.jsx.call(void 0, Me,{className:"SegmentedControl-indicator",component:"span",target:v[L],parent:N,transitionDuration:d,sx:{display:"block",zIndex:1,borderRadius:1,bgcolor:"#fff",boxShadow:"rgba(0, 0, 0, 0.05) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px 0px"},children:S}),b.map(f=>_jsxruntime.jsxs.call(void 0, me,{className:_clsx2.default.call(void 0, "SegmentedControl-item",{"Mui-active":L===f.value,"Mui-disabled":f.disabled||s,"Mui-readOnly":C}),transitionDuration:d,transitionTimingFunction:m,children:[_jsxruntime.jsx.call(void 0, ce,{component:"input",className:"SegmentedControl-input",type:"radio",name:V,value:f.value,checked:L===f.value,id:`${V}-${f.value}`,onChange:()=>{!C&&!f.disabled&&!s&&Ye(f.value)}},`${f.value}-input`),_jsxruntime.jsx.call(void 0, de,{component:"label",className:"SegmentedControl-label",ref:Xe(f.value),htmlFor:`${V}-${f.value}`,primaryColor:c,secondaryColor:y,transitionDuration:d,transitionTimingFunction:m,children:_jsxruntime.jsx.call(void 0, _material.Box,{component:"span",sx:{position:"relative",zIndex:2},children:f.label})},`${f.value}-label`)]},f.value))]})};var ur=({when:e,fallback:t,children:o})=>e?o:t;ur.displayName="Show";function Da(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.down("md"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}function $a(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.up("sm"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}var br=({width:e,height:t,minWidth:o,minHeight:r,sx:s,ref:n,...i})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:n,sx:[{width:e,height:t,minWidth:_nullishCoalesce(o, () => (e)),minHeight:_nullishCoalesce(r, () => (t))},...Array.isArray(s)?s:[s]],...i});br.displayName="Space";var Sr=e=>{let{sx:t,className:o,style:r,id:s,initialState:n,maxHeight:i=100,hideLabel:a,showLabel:l,expanded:p,onExpandedChange:u,controlRef:c,children:y,transitionDuration:d=100,ref:m,...x}=e,C=_chunkDGBGKY22cjs.k.call(void 0, s),B=`${C}-region`,[S,P]=_chunkDGBGKY22cjs.l.call(void 0, {value:p,defaultValue:n,finalValue:!1,onChange:u}),{ref:b,height:N}=_chunkDGBGKY22cjs.n.call(void 0, ),I=S?a:l,v=I!==null&&i<N;return _jsxruntime.jsxs.call(void 0, Br,{className:_clsx2.default.call(void 0, "Spoiler-root",o),sx:[t,...Array.isArray(t)?t:[_nullishCoalesce(t, () => (!1))]],style:r,id:C,ref:m,"data-has-spoiler":v,...x,children:[v&&_jsxruntime.jsx.call(void 0, Rr,{component:"button",ref:c,onClick:()=>{P(!S)},"aria-expanded":S,"aria-controls":B,children:I}),_jsxruntime.jsx.call(void 0, Tr,{"data-reduce-motion":!0,role:"region",id:B,transitionDuration:d,style:{maxHeight:S?_nullishCoalesce(N, () => (void 0)):i},children:_jsxruntime.jsx.call(void 0, "div",{ref:b,children:y})})]})};Sr.displayName="Spoiler";var Br=_material.styled.call(void 0, (0, _material.Box))(()=>({position:"relative",'&:where([data-has-spoiler="true"])':{marginBottom:24}})),Rr=_material.styled.call(void 0, (0, _material.Link))(()=>({position:"absolute",insetInlineStart:0,top:"100%",height:32,textDecoration:"none","&:hover":{textDecoration:"underline"}})),Tr=_material.styled.call(void 0, _material.Box,{shouldForwardProp:e=>e!=="transitionDuration"})(({transitionDuration:e=200})=>({display:"flex",flexDirection:"column",overflow:"hidden",transition:`max-height ${e}ms ease`}));function h(e,t,o){let r=(({alignItems:s,justifyContent:n,ref:i,...a})=>{let l=R(o,{alignItems:s,justifyContent:n});return _jsxruntime.jsx.call(void 0, _material.Stack,{direction:t,...a,ref:i,sx:[l,...Array.isArray(a.sx)?a.sx:[_nullishCoalesce(a.sx, () => (!1))]]})});return r.displayName=e,r}var Er=h("StackColumn.Center","column",{justifyContent:"center"}),Fr=h("StackColumn.Start","column",{justifyContent:"flex-start"}),Nr=h("StackColumn.End","column",{justifyContent:"flex-end"}),Ir=h("StackColumn.Between","column",{justifyContent:"space-between"}),Lr=h("StackColumn.Around","column",{justifyContent:"space-around"}),Mr=h("StackColumn.Evenly","column",{justifyContent:"space-evenly"}),A= exports.StackColumn =(({center:e=!1,alignItems:t,justifyContent:o,children:r,ref:s,...n})=>_jsxruntime.jsx.call(void 0, _material.Stack,{direction:"column",...n,ref:s,sx:[{alignItems:e?"center":t,justifyContent:e?"center":o},...Array.isArray(n.sx)?n.sx:[_nullishCoalesce(n.sx, () => (!1))]],children:r}));A.displayName="StackColumn";A.Start=Fr;A.End=Nr;A.Between=Ir;A.Around=Lr;A.Center=Er;A.Evenly=Mr;var Or=h("StackRow.Center","row",{justifyContent:"center"}),zr=h("StackRow.Start","row",{justifyContent:"flex-start"}),Wr=h("StackRow.End","row",{justifyContent:"flex-end"}),$r=h("StackRow.Between","row",{justifyContent:"space-between"}),Kr=h("StackRow.Around","row",{justifyContent:"space-around"}),jr=h("StackRow.Evenly","row",{justifyContent:"space-evenly"}),k= exports.StackRow =(({center:e=!1,alignItems:t,justifyContent:o,children:r,ref:s,...n})=>_jsxruntime.jsx.call(void 0, _material.Stack,{direction:"row",...n,ref:s,sx:[{alignItems:e?"center":t,justifyContent:e?"center":o},...Array.isArray(n.sx)?n.sx:[_nullishCoalesce(n.sx, () => (!1))]],children:r}));k.displayName="StackRow";k.Start=zr;k.End=Wr;k.Between=$r;k.Around=Kr;k.Center=Or;k.Evenly=jr;var Ce=({fullWidth:e,top:t,sx:o,ref:r,...s})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:r,sx:[{position:"absolute",top:t,left:"50%",transform:"translate(-50%, -50%)",...e&&{width:"100%"}},...Array.isArray(o)?o:[o]],...s});Ce.displayName="TopAbsolute.Center";var be=({fullWidth:e,left:t=0,top:o=0,sx:r,ref:s,...n})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:s,sx:[{position:"absolute",left:t,top:o,...e&&{width:"100%"}},...Array.isArray(r)?r:[r]],...n});be.displayName="TopAbsolute.Left";var Pe=({fullWidth:e,right:t=0,top:o=0,sx:r,ref:s,...n})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:s,sx:[{position:"absolute",right:t,top:o,...e&&{width:"100%"}},...Array.isArray(r)?r:[r]],...n});Pe.displayName="TopAbsolute.Right";var Qe=(({top:e=0,left:t=0,right:o=0,sx:r,ref:s,...n})=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:s,sx:[{position:"absolute",top:e,left:t,right:o},...Array.isArray(r)?r:[r]],...n}));Qe.displayName="TopAbsoluteBase";var Q=Qe;Q.displayName="TopAbsolute";Q.Left=be;Q.Right=Pe;Q.Center=Ce;function kl(e){let{children:t}=e;return!_material.useMediaQuery.call(void 0, r=>r.breakpoints.down("sm"))||!t?null:_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:t})}var Fl=e=>!e.shiftKey&&e.key==="Tab",Nl= exports.isEnterOrTabKeyEvent =e=>e.key==="Enter"||!e.shiftKey&&e.key==="Tab",Il= exports.isEnterKeyEvent =e=>e.key==="Enter",Ll= exports.isEscapeKeyEvent =e=>e.key==="Escape",Ml= exports.isTouchEvent =e=>!!_optionalChain([e, 'access', _24 => _24.touches, 'optionalAccess', _25 => _25.length]),Hl= exports.isMouseEvent =e=>!!((e.clientX||e.clientX===0)&&(e.clientY||e.clientY===0)),Dl= exports.blurEventTarget =(e,t=-1)=>{let o=e.target;o&&typeof o.blur=="function"&&(t>=0?setTimeout(()=>{o.blur()},t):o.blur())};function on(...e){let t=[];return e.forEach(o=>{o&&(Array.isArray(o)?o.forEach(r=>{r&&t.push(r)}):t.push(o))}),t}function zl(...e){let t=on(...e);return t.length>0?t[0]:void 0}var Wl=(e="height",t=100)=>({"& .MuiDialog-scrollPaper > .MuiDialog-paper":{[e]:`calc(${t}% - 64px)`}});exports.BottomAbsolute = D; exports.Center = lt; exports.CenterAbsolute = O; exports.Closables = _chunkDGBGKY22cjs.p; exports.CooldownButton = ct; exports.CooldownButtonBase = xt; exports.CooldownIconButton = gt; exports.CopyButtonWrapper = Un; exports.CustomTableBody = Yn; exports.DebouncedButton = xs; exports.DebouncedButtonBase = hs; exports.DebouncedIconButton = ws; exports.DebouncedRender = Es; exports.FileButton = eo; exports.FlexColumn = T; exports.FlexItemsContainer = so; exports.FlexRow = w; exports.FloatingIndicator = Le; exports.Hide = gi; exports.Highlight = We; exports.LengthLimitHelperText = Oi; exports.LgOrUp = Ki; exports.Mark = $; exports.MdOrDown = _i; exports.MdOrUp = Yi; exports.Paper = ta; exports.Portlet = j; exports.SegmentedControl = Na; exports.Show = ur; exports.SmOrDown = Da; exports.SmOrUp = $a; exports.Space = br; exports.Spoiler = Sr; exports.StackColumn = A; exports.StackRow = k; exports.TopAbsolute = Q; exports.XsOrDown = kl; exports.blurEventTarget = Dl; exports.firstSx = zl; exports.flatSx = on; exports.getAbsolutePosition = _chunkDGBGKY22cjs.v; exports.isBrowser = _chunkDGBGKY22cjs.w; exports.isEnterKeyEvent = Il; exports.isEnterOrTabKeyEvent = Nl; exports.isEscapeKeyEvent = Ll; exports.isMouseEvent = Hl; exports.isNavigator = _chunkDGBGKY22cjs.x; exports.isTabKeyEvent = Fl; exports.isTouchDevice = _chunkDGBGKY22cjs.t; exports.isTouchEvent = Ml; exports.isWebSerialSupportBrowser = _chunkDGBGKY22cjs.s; exports.matchesOrClosest = _chunkDGBGKY22cjs.u; exports.noop = _chunkDGBGKY22cjs.y; exports.requestFocusSelector = _chunkDGBGKY22cjs.q; exports.requestSelector = _chunkDGBGKY22cjs.r; exports.sxDialogHeight = Wl;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/jjfive/p/cp949/mui-react19/packages/mui/dist/index.cjs","../src/components/bottom-absolute/BottomAbsolute.tsx","../src/components/bottom-absolute/BottomAbsoluteCenter.tsx","../src/components/bottom-absolute/BottomAbsoluteLeft.tsx","../src/components/bottom-absolute/BottomAbsoluteRight.tsx","../src/components/Center.tsx","../src/components/CooldownButton.tsx","../src/components/CooldownButtonBase.tsx","../src/components/CooldownIconButton.tsx","../src/components/CopyButtonWrapper.tsx","../src/components/CustomTableBody.tsx","../src/components/center-absolute/CenterAbsolute.tsx","../src/components/center-absolute/CenterAbsoluteCenter.tsx","../src/components/center-absolute/CenterAbsoluteLeft.tsx","../src/components/center-absolute/CenterAbsoluteRight.tsx","../src/components/DebouncedButton.tsx","../src/components/DebouncedButtonBase.tsx","../src/components/DebouncedIconButton.tsx","../src/components/DebouncedRender.tsx","../src/components/FileButton.tsx","../src/components/FlexItemsContainer.tsx","../src/util/internal-util.ts"],"names":["BottomAbsoluteCenter","forwardRef","fullWidth","bottom","sx","props","ref","jsx","Box","BottomAbsoluteLeft","left","BottomAbsoluteRight","right","BottomAbsoluteBase","BottomAbsolute","Center","vertical","CooldownButton","cooldown","onClick","disabled","isCooldown","setIsCooldown","useState","internalRef","useRef","useImperativeHandle","Button","event","CooldownButtonBase","ButtonBase","CooldownIconButton","IconButton","CopyButtonWrapper","children","value","timeout","clipboard","useClipboard","Fragment","v","CustomTableBody","className","loading","stripe","otherProps","TableBody","clsx","CenterAbsoluteCenter","CenterAbsoluteLeft","CenterAbsoluteRight","CenterAbsoluteBase","CenterAbsolute","DebouncedButton","debounce","debounceTimeout","useEffect","DebouncedButtonBase","DebouncedIconButton","DebouncedRender","leading","trailing","maxWait","content","setContent","timeoutRef","lastCallTimeRef","closeTimer","useCallback","now","invoke","assignRef","FileButton","onChange","multiple","accept","name","form","resetRef","capture","inputProps","inputRef","openRequest","setOpenRequest","handleChange","files","file","reset","jsxs","useComposedRefs","isNil","isNotNil","FlexItemsContainer","items","getItemKey","getItemSize","isLineBreakItem","breakBefore","breakAfter","lineBreakHeight","lineBreakGroup","restProps","Grid","createItems","renderItem","elements","lineStarting","previousGroup","item","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AAO,CACL,SAAA,CAAW,MAAA,CACX,KAAA,CAAO,CAAA,CACP,MAAA,CAAAc,CACF,CAAA,CAAA,CAPK,CAAA,mBAAA,EAAsBD,CAAS,CAAA,CAAA,EAAIN,CAAC,CAAA,CAAA","file":"/home/jjfive/p/cp949/mui-react19/packages/mui/dist/index.cjs","sourcesContent":[null,"import { Box, type BoxProps } from '@mui/material';\nimport type { CSSProperties } from 'react';\nimport { forwardRef } from 'react';\nimport { BottomAbsoluteCenter } from './BottomAbsoluteCenter.js';\nimport { BottomAbsoluteLeft } from './BottomAbsoluteLeft.js';\nimport { BottomAbsoluteRight } from './BottomAbsoluteRight.js';\n\nexport type { BottomAbsoluteCenterProps } from './BottomAbsoluteCenter.js';\nexport type { BottomAbsoluteLeftProps } from './BottomAbsoluteLeft.js';\nexport type { BottomAbsoluteRightProps } from './BottomAbsoluteRight.js';\n\nexport interface BottomAbsoluteProps extends BoxProps {\n left?: CSSProperties['left'];\n right?: CSSProperties['right'];\n bottom?: CSSProperties['bottom'];\n}\n\ninterface BottomAbsoluteComponent extends React.ForwardRefExoticComponent<BottomAbsoluteProps> {\n Left: typeof BottomAbsoluteLeft;\n Right: typeof BottomAbsoluteRight;\n Center: typeof BottomAbsoluteCenter;\n}\n\nconst BottomAbsoluteBase = forwardRef<HTMLDivElement, BottomAbsoluteProps>(\n ({ bottom = 0, left = 0, right = 0, sx, ...props }, ref) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n bottom,\n left,\n right,\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n },\n) as BottomAbsoluteComponent;\n\nBottomAbsoluteBase.displayName = 'BottomAbsoluteBase';\n\nexport const BottomAbsolute = BottomAbsoluteBase;\nBottomAbsolute.displayName = 'BottomAbsolute';\nBottomAbsolute.Left = BottomAbsoluteLeft;\nBottomAbsolute.Right = BottomAbsoluteRight;\nBottomAbsolute.Center = BottomAbsoluteCenter;\n","import { Box, type BoxProps } from '@mui/material';\nimport { type CSSProperties, forwardRef } from 'react';\n\nexport interface BottomAbsoluteCenterProps extends BoxProps {\n fullWidth?: boolean;\n bottom?: CSSProperties['bottom'];\n}\n\nexport const BottomAbsoluteCenter = forwardRef<HTMLDivElement, BottomAbsoluteCenterProps>(\n ({ fullWidth, bottom = 0, sx, ...props }, ref) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n bottom,\n left: '50%',\n transform: 'translate(-50%, -50%)',\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n },\n);\n\nBottomAbsoluteCenter.displayName = 'BottomAbsolute.Center';\n","import { Box, type BoxProps } from '@mui/material';\nimport { type CSSProperties, forwardRef } from 'react';\n\nexport interface BottomAbsoluteLeftProps extends BoxProps {\n fullWidth?: boolean;\n bottom?: CSSProperties['bottom'];\n left?: CSSProperties['left'];\n}\n\nexport const BottomAbsoluteLeft = forwardRef<HTMLDivElement, BottomAbsoluteLeftProps>(\n ({ fullWidth, left = 0, bottom = 0, sx, ...props }, ref) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n left,\n bottom,\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n },\n);\n\nBottomAbsoluteLeft.displayName = 'BottomAbsolute.Left';\n","import { Box, type BoxProps } from '@mui/material';\nimport { type CSSProperties, forwardRef } from 'react';\n\nexport interface BottomAbsoluteRightProps extends BoxProps {\n fullWidth?: boolean;\n bottom?: CSSProperties['bottom'];\n right?: CSSProperties['right'];\n}\n\nexport const BottomAbsoluteRight = forwardRef<HTMLDivElement, BottomAbsoluteRightProps>(\n ({ fullWidth, right = 0, bottom = 0, sx, ...props }, ref) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n right,\n bottom,\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n },\n);\n\nBottomAbsoluteRight.displayName = 'BottomAbsolute.Right';\n","import { Box, type BoxProps } from '@mui/material';\nimport { forwardRef } from 'react';\n\nexport interface CenterProps extends BoxProps {\n vertical?: boolean;\n}\n\nexport const Center = forwardRef<HTMLDivElement, CenterProps>(\n ({ vertical = false, sx, ...props }, ref) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n display: 'flex',\n flexDirection: vertical ? 'column' : 'row',\n alignItems: 'center',\n justifyContent: 'center',\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n },\n);\n\nCenter.displayName = 'Center';\n","'use client';\n\nimport { Button, type ButtonProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { forwardRef, useImperativeHandle, useRef, useState } from 'react';\n\nexport interface CooldownButtonProps extends ButtonProps {\n /**\n * Cooldown duration in milliseconds\n */\n cooldown?: number;\n}\n\nexport const CooldownButton = forwardRef<HTMLButtonElement, CooldownButtonProps>(\n ({ cooldown = 1000, onClick, disabled, ...props }, ref) => {\n const [isCooldown, setIsCooldown] = useState(false);\n const internalRef = useRef<HTMLButtonElement>(null);\n\n useImperativeHandle(ref, () => internalRef.current!);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (!isCooldown && onClick) {\n onClick(event);\n setIsCooldown(true);\n setTimeout(() => setIsCooldown(false), cooldown);\n }\n };\n\n return (\n <Button {...props} ref={internalRef} onClick={handleClick} disabled={disabled || isCooldown}>\n {props.children}\n </Button>\n );\n },\n);\n\nCooldownButton.displayName = 'CooldownButton';\n","'use client';\n\nimport { ButtonBase, type ButtonBaseProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { forwardRef, useImperativeHandle, useRef, useState } from 'react';\n\nexport interface CooldownButtonBaseProps extends ButtonBaseProps {\n /**\n * Cooldown duration in milliseconds\n */\n cooldown?: number;\n}\n\nexport const CooldownButtonBase = forwardRef<HTMLButtonElement, CooldownButtonBaseProps>(\n ({ cooldown = 1000, onClick, disabled, ...props }, ref) => {\n const [isCooldown, setIsCooldown] = useState(false);\n const internalRef = useRef<HTMLButtonElement>(null);\n\n useImperativeHandle(ref, () => internalRef.current!);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (!isCooldown && onClick) {\n onClick(event);\n setIsCooldown(true);\n setTimeout(() => setIsCooldown(false), cooldown);\n }\n };\n\n return (\n <ButtonBase\n {...props}\n ref={internalRef}\n onClick={handleClick}\n disabled={disabled || isCooldown}\n >\n {props.children}\n </ButtonBase>\n );\n },\n);\n\nCooldownButtonBase.displayName = 'CooldownButtonBase';\n","'use client';\n\nimport { IconButton, type IconButtonProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { forwardRef, useImperativeHandle, useRef, useState } from 'react';\n\nexport interface CooldownIconButtonProps extends IconButtonProps {\n /**\n * Cooldown duration in milliseconds\n */\n cooldown?: number;\n}\n\nexport const CooldownIconButton = forwardRef<HTMLButtonElement, CooldownIconButtonProps>(\n ({ cooldown = 700, onClick, disabled, ...props }, ref) => {\n const [isCooldown, setIsCooldown] = useState(false);\n const internalRef = useRef<HTMLButtonElement>(null);\n\n useImperativeHandle(ref, () => internalRef.current!);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (!isCooldown && onClick) {\n onClick(event);\n setIsCooldown(true);\n setTimeout(() => setIsCooldown(false), cooldown);\n }\n };\n\n return (\n <IconButton\n {...props}\n ref={internalRef}\n onClick={handleClick}\n disabled={disabled || isCooldown}\n >\n {props.children}\n </IconButton>\n );\n },\n);\n\nCooldownIconButton.displayName = 'CooldownIconButton';\n","'use client';\n\nimport type { ReactNode } from 'react';\nimport { useClipboard } from '../hooks/useClipboard.js';\n\nexport interface CopyButtonWrapperProps {\n /**\n * 자식 컴포넌트 렌더링을 위한 콜백 함수입니다.\n * 현재 복사 상태(`copied`)와 복사 함수(`copy`)를 인자로 제공합니다.\n *\n * @param payload - 현재 상태 및 복사 함수\n * @param payload.copied - 복사 성공 여부를 나타내는 상태\n * @param payload.copy - 값을 클립보드에 복사하는 함수\n *\n * @example\n * ```tsx\n * <CopyButtonWrapper value=\"복사할 텍스트\">\n * {({ copy, copied }) => (\n * <button onClick={copy}>\n * {copied ? \"복사 완료!\" : \"복사하기\"}\n * </button>\n * )}\n * </CopyButtonWrapper>\n * ```\n */\n children: (payload: { copied: boolean; copy: () => void }) => ReactNode;\n\n /**\n * 버튼 클릭 시 클립보드에 복사될 값입니다.\n * 문자열 또는 문자열을 반환하는 함수 형태를 지원합니다.\n *\n * @example\n * ```tsx\n * <CopyButtonWrapper value=\"복사할 텍스트\">\n * ...\n * </CopyButtonWrapper>\n *\n * <CopyButtonWrapper value={() => dynamicValue()}>\n * ...\n * </CopyButtonWrapper>\n * ```\n */\n value: string | null | undefined | (() => string | null | undefined);\n\n /**\n * 복사 성공 상태가 유지되는 시간(밀리초)입니다. 기본값은 `1000`ms입니다.\n *\n * @default 1000\n */\n timeout?: number;\n}\n\n/**\n * 클립보드 복사 버튼을 쉽게 구현하기 위한 래퍼 컴포넌트입니다.\n *\n * @param props - `CopyButtonWrapper`의 속성\n * @returns 자식 콜백 함수로 전달된 UI 요소를 렌더링합니다.\n *\n * @example\n * ```tsx\n * <CopyButtonWrapper value=\"복사할 텍스트\" timeout={2000}>\n * {({ copy, copied }) => (\n * <button onClick={copy}>\n * {copied ? \"복사되었습니다!\" : \"복사\"}\n * </button>\n * )}\n * </CopyButtonWrapper>\n * ```\n */\nexport function CopyButtonWrapper(props: CopyButtonWrapperProps) {\n const { children, value, timeout = 1000 } = props;\n const clipboard = useClipboard({ timeout });\n\n // 클립보드에 값을 복사합니다. `value`가 함수인 경우 값을 동적으로 평가합니다.\n const copy = () => {\n const v = typeof value === 'function' ? value() : value;\n if (typeof v === 'string' && v.length > 0) {\n clipboard.copy(v);\n }\n };\n\n return <>{children({ copy, copied: clipboard.copied })}</>;\n}\n","import { TableBody, type TableBodyProps } from '@mui/material';\nimport clsx from 'clsx';\n\nexport interface CustomTableBodyProps extends TableBodyProps {\n loading?: boolean;\n stripe?: boolean;\n}\n\nexport function CustomTableBody(props: CustomTableBodyProps) {\n const { sx, className, loading, stripe, ...otherProps } = props;\n\n return (\n <TableBody\n className={clsx('CustomTableBody-root', className, {\n 'CustomTableBody-stripe': !!stripe,\n 'CustomTableBody-loading': !!loading,\n })}\n sx={[\n {\n '&.CustomTableBody-loading': {\n opacity: 0.5,\n },\n '&.CustomTableBody-stripe': {\n '& .MuiTableRow-root:nth-of-type(even)': {\n backgroundColor: 'action.hover',\n },\n },\n },\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n {...otherProps}\n />\n );\n}\n","import { Box, type BoxProps } from '@mui/material';\nimport type { CSSProperties } from 'react';\nimport { forwardRef } from 'react';\nimport { CenterAbsoluteCenter } from './CenterAbsoluteCenter.js';\nimport { CenterAbsoluteLeft } from './CenterAbsoluteLeft.js';\nimport { CenterAbsoluteRight } from './CenterAbsoluteRight.js';\n\nexport type { CenterAbsoluteCenterProps } from './CenterAbsoluteCenter.js';\nexport type { CenterAbsoluteLeftProps } from './CenterAbsoluteLeft.js';\nexport type { CenterAbsoluteRightProps } from './CenterAbsoluteRight.js';\n\nexport interface CenterAbsoluteProps extends BoxProps {\n left?: CSSProperties['left'];\n right?: CSSProperties['right'];\n}\n\ninterface CenterAbsoluteComponent extends React.ForwardRefExoticComponent<CenterAbsoluteProps> {\n Left: typeof CenterAbsoluteLeft;\n Right: typeof CenterAbsoluteRight;\n Center: typeof CenterAbsoluteCenter;\n}\n\nconst CenterAbsoluteBase = forwardRef<HTMLDivElement, CenterAbsoluteProps>(\n ({ left = 0, right = 0, sx, ...props }, ref) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n top: '50%',\n left,\n right,\n transform: 'translateY(-50%)',\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n },\n) as CenterAbsoluteComponent;\n\nCenterAbsoluteBase.displayName = 'CenterAbsoluteBase';\n\nexport const CenterAbsolute = CenterAbsoluteBase;\nCenterAbsolute.displayName = 'CenterAbsolute';\nCenterAbsolute.Left = CenterAbsoluteLeft;\nCenterAbsolute.Right = CenterAbsoluteRight;\nCenterAbsolute.Center = CenterAbsoluteCenter;\n","import { Box, type BoxProps } from '@mui/material';\nimport { forwardRef } from 'react';\n\nexport interface CenterAbsoluteCenterProps extends BoxProps {\n fullWidth?: boolean;\n}\n\nexport const CenterAbsoluteCenter = forwardRef<HTMLDivElement, CenterAbsoluteCenterProps>(\n ({ fullWidth, sx, ...props }, ref) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n },\n);\n\nCenterAbsoluteCenter.displayName = 'CenterAbsolute.Center';\n","import { Box, type BoxProps } from '@mui/material';\nimport type { CSSProperties } from 'react';\nimport { forwardRef } from 'react';\n\nexport interface CenterAbsoluteLeftProps extends BoxProps {\n left?: CSSProperties['left'];\n fullWidth?: boolean;\n}\n\nexport const CenterAbsoluteLeft = forwardRef<HTMLDivElement, CenterAbsoluteLeftProps>(\n ({ fullWidth, left = 0, sx, ...props }, ref) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n top: '50%',\n left,\n transform: 'translateY(-50%)',\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n },\n);\n\nCenterAbsoluteLeft.displayName = 'CenterAbsolute.Left';\n","import { Box, type BoxProps } from '@mui/material';\nimport type { CSSProperties } from 'react';\nimport { forwardRef } from 'react';\n\nexport interface CenterAbsoluteRightProps extends BoxProps {\n right?: CSSProperties['right'];\n fullWidth?: boolean;\n}\n\nexport const CenterAbsoluteRight = forwardRef<HTMLDivElement, CenterAbsoluteRightProps>(\n ({ fullWidth, right = 0, sx, ...props }, ref) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n top: '50%',\n right,\n transform: 'translateY(-50%)',\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n },\n);\n\nCenterAbsoluteRight.displayName = 'CenterAbsolute.Right';\n","'use client';\n\nimport { Button, type ButtonProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { forwardRef, useEffect, useRef } from 'react';\n\nexport interface DebouncedButtonProps extends ButtonProps {\n /**\n * Debounce duration in milliseconds\n */\n debounce?: number;\n}\n\nexport const DebouncedButton = forwardRef<HTMLButtonElement, DebouncedButtonProps>(\n ({ debounce = 700, onClick, disabled, children, ...props }, ref) => {\n const debounceTimeout = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // Cleanup timer on unmount\n useEffect(() => {\n return () => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n };\n }, []);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n debounceTimeout.current = setTimeout(() => {\n if (!disabled && onClick) onClick(event);\n }, debounce);\n };\n\n return (\n <Button {...props} ref={ref} onClick={handleClick} disabled={disabled}>\n {children}\n </Button>\n );\n },\n);\n\nDebouncedButton.displayName = 'DebouncedButton';\n","'use client';\n\nimport { ButtonBase, type ButtonBaseProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { forwardRef, useEffect, useRef } from 'react';\n\nexport interface DebouncedButtonBaseProps extends ButtonBaseProps {\n /**\n * Debounce duration in milliseconds\n */\n debounce?: number;\n}\n\nexport const DebouncedButtonBase = forwardRef<HTMLButtonElement, DebouncedButtonBaseProps>(\n ({ debounce = 700, onClick, disabled, children, ...props }, ref) => {\n const debounceTimeout = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // Cleanup timer on unmount\n useEffect(() => {\n return () => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n };\n }, []);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n\n debounceTimeout.current = setTimeout(() => {\n if (!disabled && onClick) {\n onClick(event);\n }\n }, debounce);\n };\n\n return (\n <ButtonBase {...props} ref={ref} onClick={handleClick} disabled={disabled}>\n {children}\n </ButtonBase>\n );\n },\n);\n\nDebouncedButtonBase.displayName = 'DebouncedButtonBase';\n","'use client';\n\nimport { IconButton, type IconButtonProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { forwardRef, useEffect, useRef } from 'react';\n\nexport interface DebouncedIconButtonProps extends IconButtonProps {\n /**\n * Debounce duration in milliseconds\n */\n debounce?: number;\n}\n\nexport const DebouncedIconButton = forwardRef<HTMLButtonElement, DebouncedIconButtonProps>(\n ({ debounce = 700, onClick, disabled, ...props }, ref) => {\n const debounceTimeout = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // Cleanup timer on unmount\n useEffect(() => {\n return () => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n };\n }, []);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n debounceTimeout.current = setTimeout(() => {\n if (!disabled && onClick) {\n onClick(event);\n }\n }, debounce);\n };\n\n return (\n <IconButton {...props} ref={ref} onClick={handleClick} disabled={disabled}>\n {props.children}\n </IconButton>\n );\n },\n);\n\nDebouncedIconButton.displayName = 'DebouncedIconButton';\n","'use client';\n\nimport type { FC } from 'react';\nimport { type ReactNode, useCallback, useEffect, useRef, useState } from 'react';\n\n/**\n * @example\n * ```tsx\n * <DebouncedRender leading trailing maxWait={200} disabled={false}>\n * <p>{value}</p>\n * </DebouncedRender>\n * ```\n */\n\n/**\n * DebouncedRender 컴포넌트\n *\n * 이 컴포넌트는 `debounce` 기능을 이용해 자식 컴포넌트를 렌더링하는 빈도를 제어합니다.\n *\n * @param children - 렌더링할 React 노드\n * @param leading - `true`로 설정하면 첫 호출 시 즉시 렌더링합니다. (기본값: `false`)\n * @param trailing - `true`로 설정하면 마지막 호출 후 `maxWait` 시간이 지나면 렌더링합니다. (기본값: `true`)\n * @param maxWait - 렌더링 대기 시간(ms)으로, 기본값은 100ms입니다.\n *\n * @returns DebouncedRender 컴포넌트\n */\nexport interface DebouncedRenderProps {\n children: ReactNode;\n leading?: boolean;\n trailing?: boolean;\n maxWait?: number;\n}\n\nexport const DebouncedRender: FC<DebouncedRenderProps> = ({\n children,\n leading = false,\n trailing = true,\n maxWait = 100,\n}) => {\n const [content, setContent] = useState<ReactNode>(leading ? children : undefined);\n const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const lastCallTimeRef = useRef<number | null>(null);\n\n const closeTimer = useCallback(() => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n }, []);\n\n useEffect(() => {\n const now = Date.now();\n const invoke = () => {\n setContent(children);\n lastCallTimeRef.current = now;\n };\n\n if (leading && lastCallTimeRef.current === null) {\n invoke();\n }\n\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n\n timeoutRef.current = setTimeout(() => {\n if (trailing) {\n invoke();\n }\n timeoutRef.current = null;\n }, maxWait);\n\n if (\n leading &&\n lastCallTimeRef.current !== null &&\n now - (lastCallTimeRef.current || 0) >= maxWait\n ) {\n invoke();\n }\n\n return () => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n };\n }, [children, leading, trailing, maxWait, closeTimer]);\n\n return <>{content}</>;\n};\n","'use client';\n\nimport type { ReactNode } from 'react';\nimport { forwardRef, useCallback, useEffect, useRef, useState } from 'react';\nimport { useComposedRefs } from '../hooks/useComposedRefs.js';\n\nexport interface FileButtonProps<Multiple extends boolean = false> {\n /**\n * 파일이 선택되었을 때 호출되는 콜백 함수입니다.\n *\n * @param payload - 선택된 파일 또는 파일 배열 (다중 파일 선택 여부에 따라 달라짐)\n */\n onChange: (payload: Multiple extends true ? File[] : File) => void;\n\n /**\n * 버튼 렌더링에 필요한 속성을 제공하는 콜백 함수입니다.\n *\n * @param props - 렌더링할 버튼의 속성\n * @param props.onClick - 파일 선택 다이얼로그를 여는 함수\n *\n * @returns React 노드\n */\n children: (props: { onClick: () => void }) => ReactNode;\n\n /**\n * 사용자가 여러 파일을 선택할 수 있는지 여부를 결정합니다.\n *\n * @default false\n */\n multiple?: Multiple;\n\n /**\n * 파일 입력의 `accept` 속성입니다.\n * 선택할 수 있는 파일 유형을 지정합니다.\n *\n * @example \"image/png,image/jpeg\"\n */\n accept?: string;\n\n /**\n * 파일 입력의 `name` 속성입니다.\n */\n name?: string;\n\n /**\n * 파일 입력의 `form` 속성입니다.\n */\n form?: string;\n\n /**\n * 값이 `null` 또는 빈 배열로 변경될 때 호출되는 함수의 참조입니다.\n */\n resetRef?: React.ForwardedRef<() => void>;\n\n /**\n * 파일 선택기를 비활성화합니다.\n *\n * @default false\n */\n disabled?: boolean;\n\n /**\n * 새 파일을 캡처할 때 사용할 장치를 지정합니다.\n *\n * @example \"user\" (사용자 측 카메라), \"environment\" (환경 카메라)\n */\n capture?: boolean | 'user' | 'environment';\n\n /**\n * 파일 입력 요소에 전달할 추가 속성입니다.\n */\n inputProps?: React.ComponentPropsWithoutRef<'input'>;\n}\n\n/**\n * 주어진 참조(ref)에 값을 할당합니다.\n *\n * @param ref - React 참조\n * @param value - 할당할 값\n */\nfunction assignRef<T>(ref: React.Ref<T> | undefined, value: T) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (typeof ref === 'object' && ref !== null && 'current' in ref) {\n (ref as React.RefObject<T>).current = value;\n }\n}\n\ntype FileButtonComponent = (<Multiple extends boolean = false>(\n props: FileButtonProps<Multiple>,\n) => React.ReactElement) & { displayName?: string };\n\n/**\n * 파일 선택 버튼 컴포넌트입니다.\n *\n * 사용자가 파일을 선택하거나 새로 캡처할 수 있는 버튼을 렌더링합니다.\n *\n * @param props - `FileButtonProps` 속성\n * @returns 파일 선택 버튼을 렌더링합니다.\n *\n * @example\n * ```tsx\n * <FileButton onChange={(file) => console.log(file)} accept=\"image/png,image/jpeg\">\n * {({ onClick }) => <button onClick={onClick}>파일 선택</button>}\n * </FileButton>\n * ```\n */\nexport const FileButton: FileButtonComponent = forwardRef<\n HTMLInputElement,\n FileButtonProps<boolean>\n>((props, ref) => {\n const {\n onChange,\n children,\n multiple,\n accept,\n name,\n form,\n resetRef,\n disabled,\n capture,\n inputProps,\n } = props;\n\n const inputRef = useRef<HTMLInputElement>(null);\n const [openRequest, setOpenRequest] = useState(0);\n\n /**\n * 파일 선택 다이얼로그를 엽니다.\n */\n const onClick = useCallback(() => {\n if (disabled) return;\n setOpenRequest((v) => v + 1);\n }, [disabled]);\n\n useEffect(() => {\n if (openRequest === 0) return;\n inputRef.current?.click();\n }, [openRequest]);\n\n /**\n * 파일 선택 후 호출됩니다.\n * @param event - 파일 입력 변경 이벤트\n */\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const files = event.currentTarget?.files;\n if (!files) return;\n if (multiple) {\n onChange(Array.from(files));\n } else {\n const file = files[0];\n if (file) {\n onChange(file);\n }\n }\n };\n\n // 파일 선택 상태를 초기화합니다.\n const reset = useCallback(() => {\n if (inputRef.current) {\n inputRef.current.value = '';\n }\n }, []);\n\n useEffect(() => {\n if (!resetRef) return;\n assignRef(resetRef, reset);\n return () => {\n assignRef(resetRef, () => {});\n };\n }, [resetRef, reset]);\n return (\n <>\n {children({ onClick })}\n <input\n style={{ display: 'none' }}\n type='file'\n accept={accept}\n multiple={multiple}\n onChange={handleChange}\n ref={useComposedRefs(ref, inputRef)}\n name={name}\n form={form}\n capture={capture}\n {...inputProps}\n />\n </>\n );\n}) as FileButtonComponent;\n\nFileButton.displayName = 'FileButton';\n","import { Grid, type GridProps } from '@mui/material';\nimport clsx from 'clsx';\nimport type { ReactElement, ReactNode } from 'react';\nimport { isNil } from '../util/internal-util.js';\n\n/**\n * `FlexItemsContainer`의 속성을 정의하는 인터페이스\n *\n * @template TItem - 리스트 아이템의 타입\n */\nexport type FlexItemsContainerProps<TItem> = Omit<GridProps, 'container' | 'children'> & {\n /** 렌더링할 아이템 배열 */\n items: readonly TItem[];\n\n /** 각 아이템의 고유 키를 반환하는 함수 */\n getItemKey: (item: TItem, index: number) => string | number;\n\n /** 각 아이템의 크기(size)를 결정하는 함수 (선택적) */\n getItemSize?: (item: TItem, index: number) => GridProps['size'] | undefined;\n\n /** 특정 아이템이 줄 바꿈 요소인지 확인하는 함수 (선택적) */\n isLineBreakItem?: (item: TItem, index: number) => boolean;\n\n /** 줄 바꿈을 그룹화하는 함수 (선택적) */\n lineBreakGroup?: (item: TItem, index: number) => unknown;\n\n /** 특정 아이템 전에 줄 바꿈을 적용할지 결정하는 함수 (선택적) */\n breakBefore?: (item: TItem, index: number) => boolean;\n\n /** 특정 아이템 후에 줄 바꿈을 적용할지 결정하는 함수 (선택적) */\n breakAfter?: (item: TItem, index: number) => boolean;\n\n /** 각 아이템을 렌더링하는 함수 */\n children: (item: TItem, index: number) => ReactNode;\n\n /** 줄 바꿈의 높이 (예: `16px`, `1.5rem`, 숫자 등) */\n lineBreakHeight?: number | string;\n};\n\n/**\n * `FlexItemsContainer`는 리스트 아이템을 유연하게 배치하는 컨테이너입니다.\n * forwardRef를 하면 items 타입 추론이 안되므로, 일반 함수 컴포넌트로 작성함\n * @template TItem - 리스트 아이템의 타입\n *\n * @example\n * ```tsx\n * <FlexItemsContainer\n * items={[\"Apple\", \"Banana\", \"Cherry\"]}\n * getItemKey={(item) => item}\n * getItemSize={() => \"auto\"}\n * breakAfter={(item) => item === \"Banana\"}\n * >\n * {(item) => <div>{item}</div>}\n * </FlexItemsContainer>\n * ```\n */\nexport function FlexItemsContainer<TItem>(\n props: FlexItemsContainerProps<TItem>,\n): ReactElement | null {\n const {\n className,\n items,\n getItemKey,\n getItemSize,\n isLineBreakItem,\n breakBefore,\n breakAfter,\n children,\n lineBreakHeight,\n lineBreakGroup,\n ...restProps\n } = props;\n\n if (!Array.isArray(items)) {\n console.error('FlexItemsContainer: items must be an array');\n return null;\n }\n\n return (\n <Grid\n className={clsx('FlexItemsContainer-root', className)}\n container\n role='grid'\n {...restProps}\n >\n {createItems<TItem>({\n items,\n isLineBreakItem,\n lineBreakGroup,\n lineBreakHeight,\n breakBefore,\n breakAfter,\n getItemKey,\n getItemSize,\n renderItem: children,\n })}\n </Grid>\n );\n}\n\nFlexItemsContainer.displayName = 'FlexItemsContainer';\n\ninterface CreateItemsProps<TItem> {\n items: readonly TItem[];\n getItemKey: (item: TItem, index: number) => string | number;\n getItemSize?: (item: TItem, index: number) => GridProps['size'] | undefined;\n isLineBreakItem?: (item: TItem, index: number) => boolean;\n lineBreakGroup?: (item: TItem, index: number) => unknown;\n lineBreakHeight?: number | string;\n breakBefore?: (item: TItem, index: number) => boolean;\n breakAfter?: (item: TItem, index: number) => boolean;\n renderItem: (item: TItem, index: number) => ReactNode;\n}\n\n/**\n * 리스트 아이템을 렌더링하는 함수\n *\n * @template TItem - 리스트 아이템의 타입\n * @param props - 아이템과 렌더링 설정을 포함하는 객체\n * @returns 렌더링된 React 요소 배열\n */\nfunction createItems<TItem>(props: CreateItemsProps<TItem>): ReactElement[] {\n const {\n items,\n getItemKey,\n getItemSize,\n isLineBreakItem,\n lineBreakHeight = 0,\n lineBreakGroup,\n breakBefore,\n breakAfter,\n renderItem,\n } = props;\n\n const elements: ReactElement[] = [];\n let lineStarting = true;\n let previousGroup: unknown;\n\n items.forEach((item, i) => {\n if (isLineBreakItem?.(item, i)) {\n if (!lineStarting) {\n lineStarting = true;\n elements.push(getLineBreakNode(i, 'break-item', lineBreakHeight));\n }\n return;\n }\n\n if (lineBreakGroup) {\n const currGrp = lineBreakGroup(item, i);\n if (isGroupChanged(previousGroup, currGrp)) {\n previousGroup = currGrp;\n if (!lineStarting) {\n lineStarting = true;\n elements.push(getLineBreakNode(i, 'group', lineBreakHeight));\n }\n }\n }\n\n if (!lineStarting && breakBefore?.(item, i)) {\n lineStarting = true;\n elements.push(getLineBreakNode(i, 'break-before', lineBreakHeight));\n }\n\n lineStarting = false;\n elements.push(\n <Grid key={getItemKey(item, i)} size={getItemSize?.(item, i)}>\n {renderItem(item, i)}\n </Grid>,\n );\n\n if (breakAfter?.(item, i)) {\n lineStarting = true;\n elements.push(getLineBreakNode(i, 'break-after', lineBreakHeight));\n }\n });\n\n if (lineStarting && elements.length > 0) {\n elements.pop();\n }\n\n return elements;\n}\n\n/**\n * 두 그룹이 변경되었는지 확인하는 함수\n *\n * @param prev - 이전 그룹\n * @param curr - 현재 그룹\n * @returns `true`이면 그룹이 변경된 것\n */\nfunction isGroupChanged(prev: unknown, curr: unknown): boolean {\n if (isNil(prev) && isNil(curr)) {\n return false;\n }\n return prev !== curr;\n}\n\n/**\n * 줄 바꿈 요소를 생성하는 함수\n *\n * @param i - 요소의 인덱스\n * @param keyPrefix - 키 프리픽스\n * @param height - 줄 바꿈 높이\n * @returns 줄 바꿈을 위한 `Grid2` 요소\n */\nfunction getLineBreakNode(i: number, keyPrefix: string, height: number | string): ReactElement {\n return (\n <Grid\n key={`FlexItemsContainer:${keyPrefix}:${i}`}\n className='FlexItemsContainer-emptyLine'\n size='auto'\n style={{\n flexBasis: '100%',\n width: 0,\n height,\n }}\n />\n );\n}\n","export function isNil<T>(v: T | null | undefined): v is null | undefined {\n return typeof v === 'undefined' || v === null;\n}\n\nexport function isNotNil<T>(v: T | null | undefined): v is T {\n return !isNil(v);\n}\n\nexport function isEmptyObject(value: object) {\n for (const _ in value) {\n return false;\n }\n return true;\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["/work/cp949/mui-react19/packages/mui/dist/index.cjs","../src/components/bottom-absolute/BottomAbsolute.tsx","../src/components/bottom-absolute/BottomAbsoluteCenter.tsx","../src/components/bottom-absolute/BottomAbsoluteLeft.tsx","../src/components/bottom-absolute/BottomAbsoluteRight.tsx","../src/components/Center.tsx","../src/components/CooldownButton.tsx","../src/components/CooldownButtonBase.tsx","../src/components/CooldownIconButton.tsx","../src/components/CopyButtonWrapper.tsx","../src/components/CustomTableBody.tsx","../src/components/center-absolute/CenterAbsolute.tsx","../src/components/center-absolute/CenterAbsoluteCenter.tsx","../src/components/center-absolute/CenterAbsoluteLeft.tsx","../src/components/center-absolute/CenterAbsoluteRight.tsx","../src/components/DebouncedButton.tsx","../src/components/DebouncedButtonBase.tsx","../src/components/DebouncedIconButton.tsx","../src/components/DebouncedRender.tsx","../src/components/FileButton.tsx","../src/components/FlexItemsContainer.tsx","../src/util/internal-util.ts"],"names":["BottomAbsoluteCenter","fullWidth","bottom","sx","ref","props","jsx","Box","BottomAbsoluteLeft","left","BottomAbsoluteRight","right","BottomAbsoluteBase","BottomAbsolute","Center","vertical","CooldownButton","cooldown","onClick","disabled","isCooldown","setIsCooldown","useState","Button","event","CooldownButtonBase","ButtonBase","CooldownIconButton","IconButton","CopyButtonWrapper","children","onCopySuccess","value","timeout","clipboard","useClipboard","Fragment","v","copied","CustomTableBody","className","loading","stripe","otherProps","TableBody","clsx","CenterAbsoluteCenter","CenterAbsoluteLeft","CenterAbsoluteRight","CenterAbsoluteBase","CenterAbsolute","DebouncedButton","debounce","debounceTimeout","useRef","useEffect","DebouncedButtonBase","DebouncedIconButton","DebouncedRender","leading","trailing","maxWait","content","setContent","timeoutRef","lastCallTimeRef","closeTimer","useCallback","now","invoke","assignRef","FileButton","onChange","multiple","accept","name","form","resetRef","capture","inputProps","inputRef","openRequest","setOpenRequest","handleChange","files","file","reset","jsxs","useComposedRefs","isNil","isNotNil","FlexItemsContainer","items","getItemKey","getItemSize","isLineBreakItem","breakBefore","breakAfter","lineBreakHeight","lineBreakGroup","restProps","Grid","createItems","renderItem","elements","lineStarting","previousGroup","item","i","getLineBreakNode","currGrp","isGroupChanged","prev","curr","keyPrefix","height"],"mappings":"AAAA,y0BAA6K,gCAA6B,yCCA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U,CAAAA,CAAMC,CAAC,GAAA,EAAA,CACtBH,CAAAA,CAAe,CAAA,CAAA,CACfD,CAAAA,CAAS,IAAA,CAAKK,CAAAA,CAAiBD,CAAAA,CAAG,aAAA,CAAeV,CAAe,CAAC,CAAA,CAErE,CAAC,CAAA,CAEGO,CAAAA,EAAgBD,CAAAA,CAAS,MAAA,CAAS,CAAA,EACpCA,CAAAA,CAAS,GAAA,CAAI,CAAA,CAGRA,CACT,CASA,SAASO,EAAAA,CAAeC,CAAAA,CAAeC,CAAAA,CAAwB,CAC7D,OAAIxB,CAAAA,CAAMuB,CAAI,CAAA,EAAKvB,CAAAA,CAAMwB,CAAI,CAAA,CACpB,CAAA,CAAA,CAEFD,CAAAA,GAASC,CAClB,CAUA,SAASJ,CAAAA,CAAiBD,CAAAA,CAAWM,CAAAA,CAAmBC,CAAAA,CAAuC,CAC7F,OACE7G,6BAAAA,cAAC+F,CAAA,CAEC,SAAA,CAAU,8BAAA,CACV,IAAA,CAAK,MAAA,CACL,KAAA,CAAO,CACL,SAAA,CAAW,MAAA,CACX,KAAA,CAAO,CAAA,CACP,MAAA,CAAAc,CACF,CAAA,CAAA,CAPK,CAAA,mBAAA,EAAsBD,CAAS,CAAA,CAAA,EAAIN,CAAC,CAAA,CAAA","file":"/work/cp949/mui-react19/packages/mui/dist/index.cjs","sourcesContent":[null,"import { Box, type BoxProps } from '@mui/material';\nimport type { CSSProperties } from 'react';\nimport { BottomAbsoluteCenter } from './BottomAbsoluteCenter.js';\nimport { BottomAbsoluteLeft } from './BottomAbsoluteLeft.js';\nimport { BottomAbsoluteRight } from './BottomAbsoluteRight.js';\n\nexport type { BottomAbsoluteCenterProps } from './BottomAbsoluteCenter.js';\nexport type { BottomAbsoluteLeftProps } from './BottomAbsoluteLeft.js';\nexport type { BottomAbsoluteRightProps } from './BottomAbsoluteRight.js';\n\nexport interface BottomAbsoluteProps extends BoxProps {\n left?: CSSProperties['left'];\n right?: CSSProperties['right'];\n bottom?: CSSProperties['bottom'];\n}\n\ninterface BottomAbsoluteComponent extends React.FunctionComponent<BottomAbsoluteProps> {\n Left: typeof BottomAbsoluteLeft;\n Right: typeof BottomAbsoluteRight;\n Center: typeof BottomAbsoluteCenter;\n}\n\nconst BottomAbsoluteBase = (({\n bottom = 0,\n left = 0,\n right = 0,\n sx,\n ref,\n ...props\n}: BottomAbsoluteProps) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n bottom,\n left,\n right,\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n}) as BottomAbsoluteComponent;\n\nBottomAbsoluteBase.displayName = 'BottomAbsoluteBase';\n\nexport const BottomAbsolute = BottomAbsoluteBase;\nBottomAbsolute.displayName = 'BottomAbsolute';\nBottomAbsolute.Left = BottomAbsoluteLeft;\nBottomAbsolute.Right = BottomAbsoluteRight;\nBottomAbsolute.Center = BottomAbsoluteCenter;\n","import { Box, type BoxProps } from '@mui/material';\nimport type { CSSProperties } from 'react';\n\nexport interface BottomAbsoluteCenterProps extends BoxProps {\n fullWidth?: boolean;\n bottom?: CSSProperties['bottom'];\n}\n\nexport const BottomAbsoluteCenter = ({\n fullWidth,\n bottom = 0,\n sx,\n ref,\n ...props\n}: BottomAbsoluteCenterProps) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n bottom,\n left: '50%',\n transform: 'translate(-50%, -50%)',\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n};\n\nBottomAbsoluteCenter.displayName = 'BottomAbsolute.Center';\n","import { Box, type BoxProps } from '@mui/material';\nimport type { CSSProperties } from 'react';\n\nexport interface BottomAbsoluteLeftProps extends BoxProps {\n fullWidth?: boolean;\n bottom?: CSSProperties['bottom'];\n left?: CSSProperties['left'];\n}\n\nexport const BottomAbsoluteLeft = ({\n fullWidth,\n left = 0,\n bottom = 0,\n sx,\n ref,\n ...props\n}: BottomAbsoluteLeftProps) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n left,\n bottom,\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n};\n\nBottomAbsoluteLeft.displayName = 'BottomAbsolute.Left';\n","import { Box, type BoxProps } from '@mui/material';\nimport type { CSSProperties } from 'react';\n\nexport interface BottomAbsoluteRightProps extends BoxProps {\n fullWidth?: boolean;\n bottom?: CSSProperties['bottom'];\n right?: CSSProperties['right'];\n}\n\nexport const BottomAbsoluteRight = ({\n fullWidth,\n right = 0,\n bottom = 0,\n sx,\n ref,\n ...props\n}: BottomAbsoluteRightProps) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n right,\n bottom,\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n};\n\nBottomAbsoluteRight.displayName = 'BottomAbsolute.Right';\n","import { Box, type BoxProps } from '@mui/material';\n\nexport interface CenterProps extends BoxProps {\n vertical?: boolean;\n}\n\nexport const Center = ({ vertical = false, sx, ref, ...props }: CenterProps) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n display: 'flex',\n flexDirection: vertical ? 'column' : 'row',\n alignItems: 'center',\n justifyContent: 'center',\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n};\n\nCenter.displayName = 'Center';\n","'use client';\n\nimport { Button, type ButtonProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { useState } from 'react';\n\nexport interface CooldownButtonProps extends ButtonProps {\n /**\n * Cooldown duration in milliseconds\n */\n cooldown?: number;\n}\n\nexport const CooldownButton = ({\n cooldown = 1000,\n onClick,\n disabled,\n ref,\n ...props\n}: CooldownButtonProps) => {\n const [isCooldown, setIsCooldown] = useState(false);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (!isCooldown && onClick) {\n onClick(event);\n setIsCooldown(true);\n setTimeout(() => setIsCooldown(false), cooldown);\n }\n };\n\n return (\n <Button {...props} ref={ref} onClick={handleClick} disabled={disabled || isCooldown}>\n {props.children}\n </Button>\n );\n};\n\nCooldownButton.displayName = 'CooldownButton';\n","'use client';\n\nimport { ButtonBase, type ButtonBaseProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { useState } from 'react';\n\nexport interface CooldownButtonBaseProps extends ButtonBaseProps {\n /**\n * Cooldown duration in milliseconds\n */\n cooldown?: number;\n}\n\nexport const CooldownButtonBase = ({\n cooldown = 1000,\n onClick,\n disabled,\n ref,\n ...props\n}: CooldownButtonBaseProps) => {\n const [isCooldown, setIsCooldown] = useState(false);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (!isCooldown && onClick) {\n onClick(event);\n setIsCooldown(true);\n setTimeout(() => setIsCooldown(false), cooldown);\n }\n };\n\n return (\n <ButtonBase {...props} ref={ref} onClick={handleClick} disabled={disabled || isCooldown}>\n {props.children}\n </ButtonBase>\n );\n};\n\nCooldownButtonBase.displayName = 'CooldownButtonBase';\n","'use client';\n\nimport { IconButton, type IconButtonProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { useState } from 'react';\n\nexport interface CooldownIconButtonProps extends IconButtonProps {\n /**\n * Cooldown duration in milliseconds\n */\n cooldown?: number;\n}\n\nexport const CooldownIconButton = ({\n cooldown = 700,\n onClick,\n disabled,\n ref,\n ...props\n}: CooldownIconButtonProps) => {\n const [isCooldown, setIsCooldown] = useState(false);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (!isCooldown && onClick) {\n onClick(event);\n setIsCooldown(true);\n setTimeout(() => setIsCooldown(false), cooldown);\n }\n };\n\n return (\n <IconButton {...props} ref={ref} onClick={handleClick} disabled={disabled || isCooldown}>\n {props.children}\n </IconButton>\n );\n};\n\nCooldownIconButton.displayName = 'CooldownIconButton';\n","'use client';\n\nimport type { ReactNode } from 'react';\nimport { useClipboard } from '../hooks/useClipboard.js';\n\nexport interface CopyButtonWrapperProps {\n /**\n * 자식 컴포넌트 렌더링을 위한 콜백 함수입니다.\n * 현재 복사 상태(`copied`)와 복사 함수(`copy`)를 인자로 제공합니다.\n *\n * @param payload - 현재 상태 및 복사 함수\n * @param payload.copied - 복사 성공 여부를 나타내는 상태\n * @param payload.copy - 값을 클립보드에 복사하는 함수\n *\n * @example\n * ```tsx\n * <CopyButtonWrapper value=\"복사할 텍스트\">\n * {({ copy, copied }) => (\n * <button onClick={copy}>\n * {copied ? \"복사 완료!\" : \"복사하기\"}\n * </button>\n * )}\n * </CopyButtonWrapper>\n * ```\n */\n children: (payload: { copied: boolean; copy: () => void }) => ReactNode;\n\n /**\n * 버튼 클릭 시 클립보드에 복사될 값입니다.\n * 문자열 또는 문자열을 반환하는 함수 형태를 지원합니다.\n *\n * @example\n * ```tsx\n * <CopyButtonWrapper value=\"복사할 텍스트\">\n * ...\n * </CopyButtonWrapper>\n *\n * <CopyButtonWrapper value={() => dynamicValue()}>\n * ...\n * </CopyButtonWrapper>\n * ```\n */\n value: string | null | undefined | (() => string | null | undefined);\n\n /**\n * 복사 성공 상태가 유지되는 시간(밀리초)입니다. 기본값은 `1000`ms입니다.\n *\n * @default 1000\n */\n timeout?: number;\n\n /**\n * 클립보드 복사가 성공했을 때 호출되는 콜백 함수입니다.\n *\n * @param value - 클립보드에 복사된 문자열\n */\n onCopySuccess?: (value: string) => void;\n}\n\n/**\n * 클립보드 복사 버튼을 쉽게 구현하기 위한 래퍼 컴포넌트입니다.\n *\n * @param props - `CopyButtonWrapper`의 속성\n * @returns 자식 콜백 함수로 전달된 UI 요소를 렌더링합니다.\n *\n * @example\n * ```tsx\n * <CopyButtonWrapper value=\"복사할 텍스트\" timeout={2000}>\n * {({ copy, copied }) => (\n * <button onClick={copy}>\n * {copied ? \"복사되었습니다!\" : \"복사\"}\n * </button>\n * )}\n * </CopyButtonWrapper>\n * ```\n */\nexport function CopyButtonWrapper(props: CopyButtonWrapperProps) {\n const { children, onCopySuccess, value, timeout = 1000 } = props;\n const clipboard = useClipboard({ timeout });\n\n // 클립보드에 값을 복사합니다. `value`가 함수인 경우 값을 동적으로 평가합니다.\n const copy = () => {\n const v = typeof value === 'function' ? value() : value;\n if (typeof v === 'string' && v.length > 0) {\n void clipboard.copy(v).then((copied) => {\n if (copied) {\n onCopySuccess?.(v);\n }\n });\n }\n };\n\n return <>{children({ copy, copied: clipboard.copied })}</>;\n}\n","import { TableBody, type TableBodyProps } from '@mui/material';\nimport clsx from 'clsx';\n\nexport interface CustomTableBodyProps extends TableBodyProps {\n loading?: boolean;\n stripe?: boolean;\n}\n\nexport function CustomTableBody(props: CustomTableBodyProps) {\n const { sx, className, loading, stripe, ...otherProps } = props;\n\n return (\n <TableBody\n className={clsx('CustomTableBody-root', className, {\n 'CustomTableBody-stripe': !!stripe,\n 'CustomTableBody-loading': !!loading,\n })}\n sx={[\n {\n '&.CustomTableBody-loading': {\n opacity: 0.5,\n },\n '&.CustomTableBody-stripe': {\n '& .MuiTableRow-root:nth-of-type(even)': {\n backgroundColor: 'action.hover',\n },\n },\n },\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n {...otherProps}\n />\n );\n}\n","import { Box, type BoxProps } from '@mui/material';\nimport type { CSSProperties } from 'react';\nimport { CenterAbsoluteCenter } from './CenterAbsoluteCenter.js';\nimport { CenterAbsoluteLeft } from './CenterAbsoluteLeft.js';\nimport { CenterAbsoluteRight } from './CenterAbsoluteRight.js';\n\nexport type { CenterAbsoluteCenterProps } from './CenterAbsoluteCenter.js';\nexport type { CenterAbsoluteLeftProps } from './CenterAbsoluteLeft.js';\nexport type { CenterAbsoluteRightProps } from './CenterAbsoluteRight.js';\n\nexport interface CenterAbsoluteProps extends BoxProps {\n left?: CSSProperties['left'];\n right?: CSSProperties['right'];\n}\n\ninterface CenterAbsoluteComponent extends React.FunctionComponent<CenterAbsoluteProps> {\n Left: typeof CenterAbsoluteLeft;\n Right: typeof CenterAbsoluteRight;\n Center: typeof CenterAbsoluteCenter;\n}\n\nconst CenterAbsoluteBase = (({ left = 0, right = 0, sx, ref, ...props }: CenterAbsoluteProps) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n top: '50%',\n left,\n right,\n transform: 'translateY(-50%)',\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n}) as CenterAbsoluteComponent;\n\nCenterAbsoluteBase.displayName = 'CenterAbsoluteBase';\n\nexport const CenterAbsolute = CenterAbsoluteBase;\nCenterAbsolute.displayName = 'CenterAbsolute';\nCenterAbsolute.Left = CenterAbsoluteLeft;\nCenterAbsolute.Right = CenterAbsoluteRight;\nCenterAbsolute.Center = CenterAbsoluteCenter;\n","import { Box, type BoxProps } from '@mui/material';\n\nexport interface CenterAbsoluteCenterProps extends BoxProps {\n fullWidth?: boolean;\n}\n\nexport const CenterAbsoluteCenter = ({\n fullWidth,\n sx,\n ref,\n ...props\n}: CenterAbsoluteCenterProps) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n};\n\nCenterAbsoluteCenter.displayName = 'CenterAbsolute.Center';\n","import { Box, type BoxProps } from '@mui/material';\nimport type { CSSProperties } from 'react';\n\nexport interface CenterAbsoluteLeftProps extends BoxProps {\n left?: CSSProperties['left'];\n fullWidth?: boolean;\n}\n\nexport const CenterAbsoluteLeft = ({\n fullWidth,\n left = 0,\n sx,\n ref,\n ...props\n}: CenterAbsoluteLeftProps) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n top: '50%',\n left,\n transform: 'translateY(-50%)',\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n};\n\nCenterAbsoluteLeft.displayName = 'CenterAbsolute.Left';\n","import { Box, type BoxProps } from '@mui/material';\nimport type { CSSProperties } from 'react';\n\nexport interface CenterAbsoluteRightProps extends BoxProps {\n right?: CSSProperties['right'];\n fullWidth?: boolean;\n}\n\nexport const CenterAbsoluteRight = ({\n fullWidth,\n right = 0,\n sx,\n ref,\n ...props\n}: CenterAbsoluteRightProps) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n position: 'absolute',\n top: '50%',\n right,\n transform: 'translateY(-50%)',\n ...(fullWidth && {\n width: '100%',\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n};\n\nCenterAbsoluteRight.displayName = 'CenterAbsolute.Right';\n","'use client';\n\nimport { Button, type ButtonProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { useEffect, useRef } from 'react';\n\nexport interface DebouncedButtonProps extends ButtonProps {\n /**\n * Debounce duration in milliseconds\n */\n debounce?: number;\n}\n\nexport const DebouncedButton = ({\n debounce = 700,\n onClick,\n disabled,\n children,\n ref,\n ...props\n}: DebouncedButtonProps) => {\n const debounceTimeout = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // 언마운트 시 타이머 정리\n useEffect(() => {\n return () => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n };\n }, []);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n debounceTimeout.current = setTimeout(() => {\n if (!disabled && onClick) onClick(event);\n }, debounce);\n };\n\n return (\n <Button {...props} ref={ref} onClick={handleClick} disabled={disabled}>\n {children}\n </Button>\n );\n};\n","'use client';\n\nimport { ButtonBase, type ButtonBaseProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { useEffect, useRef } from 'react';\n\nexport interface DebouncedButtonBaseProps extends ButtonBaseProps {\n /**\n * Debounce duration in milliseconds\n */\n debounce?: number;\n}\n\nexport const DebouncedButtonBase = ({\n debounce = 700,\n onClick,\n disabled,\n children,\n ref,\n ...props\n}: DebouncedButtonBaseProps) => {\n const debounceTimeout = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // 언마운트 시 타이머 정리\n useEffect(() => {\n return () => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n };\n }, []);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n\n debounceTimeout.current = setTimeout(() => {\n if (!disabled && onClick) {\n onClick(event);\n }\n }, debounce);\n };\n\n return (\n <ButtonBase {...props} ref={ref} onClick={handleClick} disabled={disabled}>\n {children}\n </ButtonBase>\n );\n};\n","'use client';\n\nimport { IconButton, type IconButtonProps } from '@mui/material';\nimport type { MouseEvent } from 'react';\nimport { useEffect, useRef } from 'react';\n\nexport interface DebouncedIconButtonProps extends IconButtonProps {\n /**\n * Debounce duration in milliseconds\n */\n debounce?: number;\n}\n\nexport const DebouncedIconButton = ({\n debounce = 700,\n onClick,\n disabled,\n ref,\n ...props\n}: DebouncedIconButtonProps) => {\n const debounceTimeout = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // 언마운트 시 타이머 정리\n useEffect(() => {\n return () => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n };\n }, []);\n\n const handleClick = (event: MouseEvent<HTMLButtonElement>) => {\n if (debounceTimeout.current) {\n clearTimeout(debounceTimeout.current);\n }\n debounceTimeout.current = setTimeout(() => {\n if (!disabled && onClick) {\n onClick(event);\n }\n }, debounce);\n };\n\n return (\n <IconButton {...props} ref={ref} onClick={handleClick} disabled={disabled}>\n {props.children}\n </IconButton>\n );\n};\n","'use client';\n\nimport type { FC } from 'react';\nimport { type ReactNode, useCallback, useEffect, useRef, useState } from 'react';\n\n/**\n * @example\n * ```tsx\n * <DebouncedRender leading trailing maxWait={200} disabled={false}>\n * <p>{value}</p>\n * </DebouncedRender>\n * ```\n */\n\n/**\n * DebouncedRender 컴포넌트\n *\n * 이 컴포넌트는 `debounce` 기능을 이용해 자식 컴포넌트를 렌더링하는 빈도를 제어합니다.\n *\n * @param children - 렌더링할 React 노드\n * @param leading - `true`로 설정하면 첫 호출 시 즉시 렌더링합니다. (기본값: `false`)\n * @param trailing - `true`로 설정하면 마지막 호출 후 `maxWait` 시간이 지나면 렌더링합니다. (기본값: `true`)\n * @param maxWait - 렌더링 대기 시간(ms)으로, 기본값은 100ms입니다.\n *\n * @returns DebouncedRender 컴포넌트\n */\nexport interface DebouncedRenderProps {\n children: ReactNode;\n leading?: boolean;\n trailing?: boolean;\n maxWait?: number;\n}\n\nexport const DebouncedRender: FC<DebouncedRenderProps> = ({\n children,\n leading = false,\n trailing = true,\n maxWait = 100,\n}) => {\n const [content, setContent] = useState<ReactNode>(leading ? children : undefined);\n const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const lastCallTimeRef = useRef<number | null>(null);\n\n const closeTimer = useCallback(() => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n }, []);\n\n useEffect(() => {\n const now = Date.now();\n const invoke = () => {\n setContent(children);\n lastCallTimeRef.current = now;\n };\n\n if (leading && lastCallTimeRef.current === null) {\n invoke();\n }\n\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n\n timeoutRef.current = setTimeout(() => {\n if (trailing) {\n invoke();\n }\n timeoutRef.current = null;\n }, maxWait);\n\n if (\n leading &&\n lastCallTimeRef.current !== null &&\n now - (lastCallTimeRef.current || 0) >= maxWait\n ) {\n invoke();\n }\n\n return () => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n };\n }, [children, leading, trailing, maxWait, closeTimer]);\n\n return <>{content}</>;\n};\n","'use client';\n\nimport type { ReactNode } from 'react';\nimport { useCallback, useEffect, useRef, useState } from 'react';\nimport { useComposedRefs } from '../hooks/useComposedRefs.js';\n\nexport interface FileButtonProps<Multiple extends boolean = false> {\n /**\n * 파일이 선택되었을 때 호출되는 콜백 함수입니다.\n *\n * @param payload - 선택된 파일 또는 파일 배열 (다중 파일 선택 여부에 따라 달라짐)\n */\n onChange: (payload: Multiple extends true ? File[] : File) => void;\n\n /**\n * 버튼 렌더링에 필요한 속성을 제공하는 콜백 함수입니다.\n *\n * @param props - 렌더링할 버튼의 속성\n * @param props.onClick - 파일 선택 다이얼로그를 여는 함수\n *\n * @returns React 노드\n */\n children: (props: { onClick: () => void }) => ReactNode;\n\n /**\n * 사용자가 여러 파일을 선택할 수 있는지 여부를 결정합니다.\n *\n * @default false\n */\n multiple?: Multiple;\n\n /**\n * 파일 입력의 `accept` 속성입니다.\n * 선택할 수 있는 파일 유형을 지정합니다.\n *\n * @example \"image/png,image/jpeg\"\n */\n accept?: string;\n\n /**\n * 파일 입력의 `name` 속성입니다.\n */\n name?: string;\n\n /**\n * 파일 입력의 `form` 속성입니다.\n */\n form?: string;\n\n /**\n * 값이 `null` 또는 빈 배열로 변경될 때 호출되는 함수의 참조입니다.\n */\n resetRef?: React.ForwardedRef<() => void>;\n\n /**\n * 파일 선택기를 비활성화합니다.\n *\n * @default false\n */\n disabled?: boolean;\n\n /**\n * 새 파일을 캡처할 때 사용할 장치를 지정합니다.\n *\n * @example \"user\" (사용자 측 카메라), \"environment\" (환경 카메라)\n */\n capture?: boolean | 'user' | 'environment';\n\n /**\n * 파일 입력 요소에 전달할 추가 속성입니다.\n */\n inputProps?: React.ComponentPropsWithoutRef<'input'>;\n\n /**\n * 내부 파일 입력(`<input type=\"file\">`) 요소로 전달되는 참조입니다.\n */\n ref?: React.Ref<HTMLInputElement>;\n}\n\n/**\n * 주어진 참조(ref)에 값을 할당합니다.\n *\n * @param ref - React 참조\n * @param value - 할당할 값\n */\nfunction assignRef<T>(ref: React.Ref<T> | undefined, value: T) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (typeof ref === 'object' && ref !== null && 'current' in ref) {\n (ref as React.RefObject<T | null>).current = value;\n }\n}\n\ntype FileButtonComponent = (<Multiple extends boolean = false>(\n props: FileButtonProps<Multiple>,\n) => React.ReactElement) & { displayName?: string };\n\n/**\n * 파일 선택 버튼 컴포넌트입니다.\n *\n * 사용자가 파일을 선택하거나 새로 캡처할 수 있는 버튼을 렌더링합니다.\n *\n * @param props - `FileButtonProps` 속성\n * @returns 파일 선택 버튼을 렌더링합니다.\n *\n * @example\n * ```tsx\n * <FileButton onChange={(file) => console.log(file)} accept=\"image/png,image/jpeg\">\n * {({ onClick }) => <button onClick={onClick}>파일 선택</button>}\n * </FileButton>\n * ```\n */\nexport const FileButton: FileButtonComponent = ((props: FileButtonProps<boolean>) => {\n const {\n ref,\n onChange,\n children,\n multiple,\n accept,\n name,\n form,\n resetRef,\n disabled,\n capture,\n inputProps,\n } = props;\n\n const inputRef = useRef<HTMLInputElement>(null);\n const [openRequest, setOpenRequest] = useState(0);\n\n /**\n * 파일 선택 다이얼로그를 엽니다.\n */\n const onClick = useCallback(() => {\n if (disabled) return;\n setOpenRequest((v) => v + 1);\n }, [disabled]);\n\n useEffect(() => {\n if (openRequest === 0) return;\n inputRef.current?.click();\n }, [openRequest]);\n\n /**\n * 파일 선택 후 호출됩니다.\n * @param event - 파일 입력 변경 이벤트\n */\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const files = event.currentTarget?.files;\n if (!files) return;\n if (multiple) {\n onChange(Array.from(files));\n } else {\n const file = files[0];\n if (file) {\n onChange(file);\n }\n }\n };\n\n // 파일 선택 상태를 초기화합니다.\n const reset = useCallback(() => {\n if (inputRef.current) {\n inputRef.current.value = '';\n }\n }, []);\n\n useEffect(() => {\n if (!resetRef) return;\n assignRef(resetRef, reset);\n return () => {\n assignRef(resetRef, () => {});\n };\n }, [resetRef, reset]);\n return (\n <>\n {children({ onClick })}\n <input\n style={{ display: 'none' }}\n type='file'\n accept={accept}\n multiple={multiple}\n onChange={handleChange}\n ref={useComposedRefs(ref, inputRef)}\n name={name}\n form={form}\n capture={capture}\n {...inputProps}\n />\n </>\n );\n}) as FileButtonComponent;\n\nFileButton.displayName = 'FileButton';\n","import { Grid, type GridProps } from '@mui/material';\nimport clsx from 'clsx';\nimport type { ReactElement, ReactNode } from 'react';\nimport { isNil } from '../util/internal-util.js';\n\n/**\n * `FlexItemsContainer`의 속성을 정의하는 인터페이스\n *\n * @template TItem - 리스트 아이템의 타입\n */\nexport type FlexItemsContainerProps<TItem> = Omit<GridProps, 'container' | 'children'> & {\n /** 렌더링할 아이템 배열 */\n items: readonly TItem[];\n\n /** 각 아이템의 고유 키를 반환하는 함수 */\n getItemKey: (item: TItem, index: number) => string | number;\n\n /** 각 아이템의 크기(size)를 결정하는 함수 (선택적) */\n getItemSize?: (item: TItem, index: number) => GridProps['size'] | undefined;\n\n /** 특정 아이템이 줄 바꿈 요소인지 확인하는 함수 (선택적) */\n isLineBreakItem?: (item: TItem, index: number) => boolean;\n\n /** 줄 바꿈을 그룹화하는 함수 (선택적) */\n lineBreakGroup?: (item: TItem, index: number) => unknown;\n\n /** 특정 아이템 전에 줄 바꿈을 적용할지 결정하는 함수 (선택적) */\n breakBefore?: (item: TItem, index: number) => boolean;\n\n /** 특정 아이템 후에 줄 바꿈을 적용할지 결정하는 함수 (선택적) */\n breakAfter?: (item: TItem, index: number) => boolean;\n\n /** 각 아이템을 렌더링하는 함수 */\n children: (item: TItem, index: number) => ReactNode;\n\n /** 줄 바꿈의 높이 (예: `16px`, `1.5rem`, 숫자 등) */\n lineBreakHeight?: number | string;\n};\n\n/**\n * `FlexItemsContainer`는 리스트 아이템을 유연하게 배치하는 컨테이너입니다.\n * forwardRef를 하면 items 타입 추론이 안되므로, 일반 함수 컴포넌트로 작성함\n * @template TItem - 리스트 아이템의 타입\n *\n * @example\n * ```tsx\n * <FlexItemsContainer\n * items={[\"Apple\", \"Banana\", \"Cherry\"]}\n * getItemKey={(item) => item}\n * getItemSize={() => \"auto\"}\n * breakAfter={(item) => item === \"Banana\"}\n * >\n * {(item) => <div>{item}</div>}\n * </FlexItemsContainer>\n * ```\n */\nexport function FlexItemsContainer<TItem>(\n props: FlexItemsContainerProps<TItem>,\n): ReactElement | null {\n const {\n className,\n items,\n getItemKey,\n getItemSize,\n isLineBreakItem,\n breakBefore,\n breakAfter,\n children,\n lineBreakHeight,\n lineBreakGroup,\n ...restProps\n } = props;\n\n if (!Array.isArray(items)) {\n console.error('FlexItemsContainer: items must be an array');\n return null;\n }\n\n return (\n <Grid\n className={clsx('FlexItemsContainer-root', className)}\n container\n role='grid'\n {...restProps}\n >\n {createItems<TItem>({\n items,\n isLineBreakItem,\n lineBreakGroup,\n lineBreakHeight,\n breakBefore,\n breakAfter,\n getItemKey,\n getItemSize,\n renderItem: children,\n })}\n </Grid>\n );\n}\n\nFlexItemsContainer.displayName = 'FlexItemsContainer';\n\ninterface CreateItemsProps<TItem> {\n items: readonly TItem[];\n getItemKey: (item: TItem, index: number) => string | number;\n getItemSize?: (item: TItem, index: number) => GridProps['size'] | undefined;\n isLineBreakItem?: (item: TItem, index: number) => boolean;\n lineBreakGroup?: (item: TItem, index: number) => unknown;\n lineBreakHeight?: number | string;\n breakBefore?: (item: TItem, index: number) => boolean;\n breakAfter?: (item: TItem, index: number) => boolean;\n renderItem: (item: TItem, index: number) => ReactNode;\n}\n\n/**\n * 리스트 아이템을 렌더링하는 함수\n *\n * @template TItem - 리스트 아이템의 타입\n * @param props - 아이템과 렌더링 설정을 포함하는 객체\n * @returns 렌더링된 React 요소 배열\n */\nfunction createItems<TItem>(props: CreateItemsProps<TItem>): ReactElement[] {\n const {\n items,\n getItemKey,\n getItemSize,\n isLineBreakItem,\n lineBreakHeight = 0,\n lineBreakGroup,\n breakBefore,\n breakAfter,\n renderItem,\n } = props;\n\n const elements: ReactElement[] = [];\n let lineStarting = true;\n let previousGroup: unknown;\n\n items.forEach((item, i) => {\n if (isLineBreakItem?.(item, i)) {\n if (!lineStarting) {\n lineStarting = true;\n elements.push(getLineBreakNode(i, 'break-item', lineBreakHeight));\n }\n return;\n }\n\n if (lineBreakGroup) {\n const currGrp = lineBreakGroup(item, i);\n if (isGroupChanged(previousGroup, currGrp)) {\n previousGroup = currGrp;\n if (!lineStarting) {\n lineStarting = true;\n elements.push(getLineBreakNode(i, 'group', lineBreakHeight));\n }\n }\n }\n\n if (!lineStarting && breakBefore?.(item, i)) {\n lineStarting = true;\n elements.push(getLineBreakNode(i, 'break-before', lineBreakHeight));\n }\n\n lineStarting = false;\n elements.push(\n <Grid key={getItemKey(item, i)} size={getItemSize?.(item, i)}>\n {renderItem(item, i)}\n </Grid>,\n );\n\n if (breakAfter?.(item, i)) {\n lineStarting = true;\n elements.push(getLineBreakNode(i, 'break-after', lineBreakHeight));\n }\n });\n\n if (lineStarting && elements.length > 0) {\n elements.pop();\n }\n\n return elements;\n}\n\n/**\n * 두 그룹이 변경되었는지 확인하는 함수\n *\n * @param prev - 이전 그룹\n * @param curr - 현재 그룹\n * @returns `true`이면 그룹이 변경된 것\n */\nfunction isGroupChanged(prev: unknown, curr: unknown): boolean {\n if (isNil(prev) && isNil(curr)) {\n return false;\n }\n return prev !== curr;\n}\n\n/**\n * 줄 바꿈 요소를 생성하는 함수\n *\n * @param i - 요소의 인덱스\n * @param keyPrefix - 키 프리픽스\n * @param height - 줄 바꿈 높이\n * @returns 줄 바꿈을 위한 `Grid2` 요소\n */\nfunction getLineBreakNode(i: number, keyPrefix: string, height: number | string): ReactElement {\n return (\n <Grid\n key={`FlexItemsContainer:${keyPrefix}:${i}`}\n className='FlexItemsContainer-emptyLine'\n size='auto'\n style={{\n flexBasis: '100%',\n width: 0,\n height,\n }}\n />\n );\n}\n","export function isNil<T>(v: T | null | undefined): v is null | undefined {\n return typeof v === 'undefined' || v === null;\n}\n\nexport function isNotNil<T>(v: T | null | undefined): v is T {\n return !isNil(v);\n}\n\nexport function isEmptyObject(value: object) {\n for (const _ in value) {\n return false;\n }\n return true;\n}\n"]}
|