@cp949/mui-react19 1.0.0 → 2.0.0
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 +10 -2
- package/dist/chunk-F2OL5PTS.js +2 -0
- package/dist/chunk-F2OL5PTS.js.map +1 -0
- package/dist/chunk-YXXXYWHI.cjs +2 -0
- package/dist/chunk-YXXXYWHI.cjs.map +1 -0
- package/dist/file-drop/index.cjs +1 -1
- package/dist/file-drop/index.cjs.map +1 -1
- package/dist/file-drop/index.d.cts +81 -81
- package/dist/file-drop/index.d.ts +81 -81
- package/dist/file-drop/index.js +1 -1
- package/dist/file-drop/index.js.map +1 -1
- package/dist/helper/index.cjs +1 -1
- package/dist/helper/index.cjs.map +1 -1
- package/dist/helper/index.d.cts +43 -43
- package/dist/helper/index.d.ts +43 -43
- package/dist/helper/index.js +1 -1
- package/dist/helper/index.js.map +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- 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 +97 -88
- package/dist/index.d.ts +97 -88
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +44 -48
- package/dist/chunk-3KMZF7M6.cjs +0 -2
- package/dist/chunk-3KMZF7M6.cjs.map +0 -1
- package/dist/chunk-T37ZYZXP.js +0 -2
- package/dist/chunk-T37ZYZXP.js.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 _chunk3KMZF7M6cjs = require('./chunk-3KMZF7M6.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 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 Tt=_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}));Tt.displayName="Center";var Ft=_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})});Ft.displayName="CooldownButton";var zt=_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})});zt.displayName="CooldownButtonBase";var _t=_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})});_t.displayName="CooldownIconButton";function as(e){let{children:t,value:o,timeout:r=1e3}=e,n=_chunk3KMZF7M6cjs.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 ds(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 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(),m=()=>{i(e),a.current=l};return t&&a.current===null&&m(),s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{o&&m(),s.current=null},r),t&&a.current!==null&&l-(a.current||0)>=r&&m(),()=>{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:m,inputProps:d}=e,y=_react.useRef.call(void 0, null),[c,u]=_react.useState.call(void 0, 0),x=_react.useCallback.call(void 0, ()=>{l||u(R=>R+1)},[l]);_react.useEffect.call(void 0, ()=>{c!==0&&_optionalChain([y, 'access', _2 => _2.current, 'optionalAccess', _3 => _3.click, 'call', _4 => _4()])},[c]);let C=R=>{let g=_optionalChain([R, 'access', _5 => _5.currentTarget, 'optionalAccess', _6 => _6.files]);if(g)if(n)o(Array.from(g));else{let b=g[0];b&&o(b)}},B=_react.useCallback.call(void 0, ()=>{y.current&&(y.current.value="")},[]);return _react.useEffect.call(void 0, ()=>{if(p)return ke(p,B),()=>{ke(p,()=>{})}},[p,B]),_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:C,ref:_chunk3KMZF7M6cjs.c.call(void 0, t,y),name:s,form:a,capture:m,...d})]})});wo.displayName="FileButton";function S(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{...n,...s}},{});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},m)=>_jsxruntime.jsx.call(void 0, _material.Box,{ref:m,sx:[{display:n?"inline-flex":"flex",flexDirection:t,...S(o,{justifyContent:i,alignItems:s,flexWrap:a})},...Array.isArray(p)?p:[p]],...l}));return r.displayName=e,r}var Io=P("FlexColumn.Start","column",{justifyContent:"flex-start"}),Ho=P("FlexColumn.End","column",{justifyContent:"flex-end"}),Do=P("FlexColumn.Center","column",{justifyContent:"center"}),Oo=P("FlexColumn.Around","column",{justifyContent:"space-around"}),zo=P("FlexColumn.Between","column",{justifyContent:"space-between"}),Wo=P("FlexColumn.Evenly","column",{justifyContent:"space-evenly"}),Ne=_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",...S(e?{justifyContent:"center",alignItems:"center"}:{},{justifyContent:o,alignItems:r,flexWrap:n})},...Array.isArray(i)?i:[i]],...s}));Ne.displayName="FlexColumnBase";var T=Ne;T.displayName="FlexColumn";T.Start=Io;T.End=Ho;T.Center=Do;T.Between=zo;T.Evenly=Wo;T.Around=Oo;var Uo=P("FlexRow.Start","row",{justifyContent:"flex-start"}),jo=P("FlexRow.End","row",{justifyContent:"flex-end"}),_o=P("FlexRow.Around","row",{justifyContent:"space-around"}),Qo=P("FlexRow.Between","row",{justifyContent:"space-between"}),Vo=P("FlexRow.Evenly","row",{justifyContent:"space-evenly"}),Xo=P("FlexRow.Center","row",{justifyContent:"center"}),Fe=_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",...S(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})});Fe.displayName="FlexRowBase";var w=Fe;w.displayName="FlexRow";w.Start=Uo;w.End=jo;w.Center=Xo;w.Between=Qo;w.Around=_o;w.Evenly=Vo;function z(e){return typeof e>"u"||e===null}function Le(e){return!z(e)}function Jo(e){let{className:t,items:o,getItemKey:r,getItemSize:n,isLineBreakItem:i,breakBefore:s,breakAfter:a,children:p,lineBreakHeight:l,lineBreakGroup:m,...d}=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",...d,children:Zo({items:o,isLineBreakItem:i,lineBreakGroup:m,lineBreakHeight:l,breakBefore:s,breakAfter:a,getItemKey:r,getItemSize:n,renderItem:p})}):(console.error("FlexItemsContainer: items must be an array"),null)}Jo.displayName="FlexItemsContainer";function Zo(e){let{items:t,getItemKey:o,getItemSize:r,isLineBreakItem:n,lineBreakHeight:i=0,lineBreakGroup:s,breakBefore:a,breakAfter:p,renderItem:l}=e,m=[],d=!0,y;return t.forEach((c,u)=>{if(_optionalChain([n, 'optionalCall', _7 => _7(c,u)])){d||(d=!0,m.push(W(u,"break-item",i)));return}if(s){let x=s(c,u);er(y,x)&&(y=x,d||(d=!0,m.push(W(u,"group",i))))}!d&&_optionalChain([a, 'optionalCall', _8 => _8(c,u)])&&(d=!0,m.push(W(u,"break-before",i))),d=!1,m.push(_jsxruntime.jsx.call(void 0, _material.Grid,{size:_optionalChain([r, 'optionalCall', _9 => _9(c,u)]),children:l(c,u)},o(c,u))),_optionalChain([p, 'optionalCall', _10 => _10(c,u)])&&(d=!0,m.push(W(u,"break-after",i)))}),d&&m.length>0&&m.pop(),m}function er(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 tr(e,t){if(!t||!e)return!1;let o=t.parentNode;for(;Le(o);){if(o===e)return!0;o=o.parentNode}return!1}function He({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),m=_chunk3KMZF7M6cjs.e.call(void 0, ()=>{if(!e||!t||!o.current)return;let u=e.getBoundingClientRect(),x=t.getBoundingClientRect(),C=window.getComputedStyle(e),B=window.getComputedStyle(t),R={top:N(B.borderTopWidth),left:N(B.borderLeftWidth)},g={top:N(C.borderTopWidth),bottom:N(C.borderBottomWidth),left:N(C.borderLeftWidth),right:N(C.borderRightWidth)},b={top:u.top-x.top-R.top,left:u.left-x.left-R.left,width:u.width,height:u.height};r&&(b.top+=g.top,b.left+=g.left,b.height-=g.top+g.bottom,b.width-=g.left+g.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`}),d=_chunk3KMZF7M6cjs.e.call(void 0, ()=>{window.clearTimeout(i.current),o.current&&(o.current.style.transitionDuration="0ms"),m.current(),i.current=window.setTimeout(()=>{o.current&&(o.current.style.transitionDuration="")},30)}),y=_react.useRef.call(void 0, null),c=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>{if(m.current(),e)return y.current=new ResizeObserver(d.current),y.current.observe(e),t&&(c.current=new ResizeObserver(d.current),c.current.observe(t)),()=>{_optionalChain([y, 'access', _11 => _11.current, 'optionalAccess', _12 => _12.disconnect, 'call', _13 => _13()]),_optionalChain([c, 'access', _14 => _14.current, 'optionalAccess', _15 => _15.disconnect, 'call', _16 => _16()])}},[t,e,m,d]),_react.useEffect.call(void 0, ()=>{if(t){let u=x=>{tr(x.target,t)&&(d.current(),l(!1))};return t.addEventListener("transitionend",u),()=>{t.removeEventListener("transitionend",u)}}},[t,d]),_chunk3KMZF7M6cjs.j.call(void 0, ()=>{a(!0)},20,{autoInvoke:!0}),_chunk3KMZF7M6cjs.i.call(void 0, u=>{u.forEach(x=>{x.type==="attributes"&&x.attributeName==="dir"&&d.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,m=_react.useRef.call(void 0, null),{initialized:d,hidden:y}=He({target:o,parent:r,indicatorRef:m,excludeTargetBorderWidth:i,displayAfterTransitionEnd:s}),c=_chunk3KMZF7M6cjs.c.call(void 0, t,m);return!o||!r?null:_jsxruntime.jsx.call(void 0, _material.Box,{className:_clsx2.default.call(void 0, "FloatingIndicator-root",p),ref:c,sx:[{position:"absolute",top:0,left:0,transition:`transform ${n}ms`,opacity:d?1:0,...y?{display:"none"}:void 0},...Array.isArray(a)?a:[_nullishCoalesce(a, () => (!1))]],...l})});ie.displayName="FloatingIndicator";var De=ie;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,m)=>m.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:m=!1,children:d,...y}=e,c=_react.useMemo.call(void 0, ()=>ze(d,s,{ignorecase:l}),[d,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:c.map(({chunk:u,highlighted:x},C)=>x?m?_jsxruntime.jsx.call(void 0, $,{color:a,sx:p,"data-highlight":u,children:u},C):_jsxruntime.jsx.call(void 0, $,{color:a,sx:p,children:u},C):_jsxruntime.jsx.call(void 0, "span",{children:u},C))})});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,{alignItems:"flex-start",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,{alignItems:"flex-start",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 Ua(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 me=_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})});me.displayName="PortletHeader";var Kr={square:!0},G= 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})});G.displayName="Portlet";G.Content=le;G.Header=me;G.Footer=pe;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 de=_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"}}));de.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 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:m,withItemBorder:d,primaryColor:y="primary",secondaryColor:c="textSecondary",transitionDuration:u,transitionTimingFunction:x,vertical:C,readOnly:B,size:R="medium",indicator:g}=e,b=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)},[M,Ye]=_chunk3KMZF7M6cjs.l.call(void 0, {value:a,defaultValue:p,finalValue:Array.isArray(s)?_nullishCoalesce(_nullishCoalesce(_optionalChain([b, 'access', _18 => _18.find, 'call', _19 => _19(f=>!f.disabled), 'optionalAccess', _20 => _20.value]), () => (_optionalChain([b, 'access', _21 => _21[0], 'optionalAccess', _22 => _22.value]))), () => (void 0)):void 0,onChange:l}),V=_chunk3KMZF7M6cjs.k.call(void 0, ),qe=_chunk3KMZF7M6cjs.c.call(void 0, t,L);return s.length===0?null:_jsxruntime.jsxs.call(void 0, ue,{className:_clsx2.default.call(void 0, "SegmentedControl-root",r,{x_readOnly:B,x_fullWidth:m,"Mui-disabled":i,"Mui-readOnly":B}),sx:o,style:n,ref:qe,role:"radiogroup","data-vertical":ye(C),"data-fullwidth":ye(m),"data-with-item-border":ye(d),"data-size":R,children:[typeof M=="string"&&_jsxruntime.jsx.call(void 0, De,{className:"SegmentedControl-indicator",component:"span",target:v[M],parent:F,transitionDuration:u,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}),b.map(f=>_jsxruntime.jsxs.call(void 0, de,{className:_clsx2.default.call(void 0, "SegmentedControl-item",{"Mui-active":M===f.value,"Mui-disabled":f.disabled||i,"Mui-readOnly":B}),transitionDuration:u,transitionTimingFunction:x,children:[_jsxruntime.jsx.call(void 0, ce,{component:"input",className:"SegmentedControl-input",type:"radio",name:V,value:f.value,checked:M===f.value,id:`${V}-${f.value}`,onChange:()=>{!B&&!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:c,transitionDuration:u,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:m,onExpandedChange:d,controlRef:y,children:c,transitionDuration:u=100,...x}=e,C=_chunk3KMZF7M6cjs.k.call(void 0, i),B=`${C}-region`,[R,g]=_chunk3KMZF7M6cjs.l.call(void 0, {value:m,defaultValue:s,finalValue:!1,onChange:d}),{ref:b,height:F}=_chunk3KMZF7M6cjs.n.call(void 0, ),L=R?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:C,ref:t,"data-has-spoiler":v,...x,children:[v&&_jsxruntime.jsx.call(void 0, mn,{component:"button",ref:y,onClick:()=>{g(!R)},"aria-expanded":R,"aria-controls":B,children:L}),_jsxruntime.jsx.call(void 0, un,{"data-reduce-motion":!0,role:"region",id:B,transitionDuration:u,style:{maxHeight:R?_nullishCoalesce(F, () => (void 0)):a},children:_jsxruntime.jsx.call(void 0, "div",{ref:b,children:c})})]})});ln.displayName="Spoiler";var pn=_material.styled.call(void 0, (0, _material.Box))(()=>({position:"relative",'&:where([data-has-spoiler="true"])':{marginBottom:24}})),mn=_material.styled.call(void 0, (0, _material.Link))(()=>({position:"absolute",insetInlineStart:0,top:"100%",height:32,textDecoration:"none","&:hover":{textDecoration:"underline"}})),un=_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=S(o,{alignItems:n,justifyContent:i});return _jsxruntime.jsx.call(void 0, _material.Stack,{direction:t,...p,...s,ref:a})});return r.displayName=e,r}var Cn=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"}),Bn=h("StackColumn.Around","column",{justifyContent:"space-around"}),Rn=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",alignItems:e?"center":t,justifyContent:e?"center":o,...n,ref:i,children:r}));A.displayName="StackColumn";A.Start=gn;A.End=Pn;A.Between=hn;A.Around=Bn;A.Center=Cn;A.Evenly=Rn;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",alignItems:e?"center":t,justifyContent:e?"center":o,...n,ref:i,children:r}));E.displayName="StackRow";E.Start=En;E.End=vn;E.Between=kn;E.Around=Nn;E.Center=An;E.Evenly=Fn;var Ce=_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}));Ce.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=Ce;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 jp=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=>!!(e.touches&&e.touches.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 em=(e="height",t=100)=>({"& .MuiDialog-paperScrollPaper":{[e]:`calc(${t}% - 64px)`}});exports.BottomAbsolute = D; exports.Center = Tt; exports.CenterAbsolute = O; exports.Closables = _chunk3KMZF7M6cjs.p; exports.CooldownButton = Ft; exports.CooldownButtonBase = zt; exports.CooldownIconButton = _t; exports.CopyButtonWrapper = as; exports.CustomTableBody = ds; exports.DebouncedButton = ro; exports.DebouncedButtonBase = po; exports.DebouncedIconButton = xo; exports.DebouncedRender = Es; exports.FileButton = wo; exports.FlexColumn = T; exports.FlexItemsContainer = Jo; exports.FlexRow = w; exports.FloatingIndicator = ie; exports.Hide = ha; exports.Highlight = We; exports.LengthLimitHelperText = Wa; exports.LgOrUp = Ua; exports.Mark = $; exports.MdOrDown = Va; exports.MdOrUp = Ja; exports.Paper = rl; exports.Portlet = G; 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 = _chunk3KMZF7M6cjs.v; exports.isBrowser = _chunk3KMZF7M6cjs.w; exports.isEnterKeyEvent = Qp; exports.isEnterOrTabKeyEvent = _p; exports.isEscapeKeyEvent = Vp; exports.isMouseEvent = Yp; exports.isNavigator = _chunk3KMZF7M6cjs.x; exports.isTabKeyEvent = jp; exports.isTouchDevice = _chunk3KMZF7M6cjs.t; exports.isTouchEvent = Xp; exports.isWebSerialSupportBrowser = _chunk3KMZF7M6cjs.s; exports.matchesOrClosest = _chunk3KMZF7M6cjs.u; exports.noop = _chunk3KMZF7M6cjs.y; exports.requestFocusSelector = _chunk3KMZF7M6cjs.q; exports.requestSelector = _chunk3KMZF7M6cjs.r; exports.sxDialogHeight = em;
|
|
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;
|
|
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-absolute/CenterAbsolute.tsx","../src/components/center-absolute/CenterAbsoluteCenter.tsx","../src/components/center-absolute/CenterAbsoluteLeft.tsx","../src/components/center-absolute/CenterAbsoluteRight.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/DebouncedButton.tsx","../src/components/DebouncedButtonBase.tsx","../src/components/DebouncedIconButton.tsx","../src/components/DebouncedRender.tsx","../src/components/FileButton.tsx","../src/components/flex/FlexColumn.tsx","../src/util/override-props.ts","../src/components/flex/create-component.tsx","../src/components/flex/FlexRow.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","CenterAbsoluteCenter","CenterAbsoluteLeft","CenterAbsoluteRight","CenterAbsoluteBase","CenterAbsolute","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","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","overrideProps","targetProps","overrides","filteredTargetProps","_","filteredOverrides","acc","current","filteredCurrent","createFlexComponent","displayName","flexDirection","defaultProps","Component","inlineFlex","justifyContent","alignItems","flexWrap","FlexColumnStart","FlexColumnEnd","FlexColumnCenter","FlexColumnAround","FlexColumnBetween","FlexColumnEvenly","FlexColumnBase","center","FlexColumn","FlexRowStart","FlexRowEnd","FlexRowAround","FlexRowBetween","FlexRowEvenly","FlexRowCenter","FlexRowBase","sxArray","baseStyle","FlexRow","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,yCCAvK,8BACR,+CCWrB,IAHOA,CAAAA,CAAuBC,+BAAAA,CACjC,CAAE,SAAA,CAAAC,CAAAA,CAAW,MAAA,CAAAC,CAAAA,CAAS,CAAA,CAAG,EAAA,C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,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 { forwardRef } from 'react';\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.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 { forwardRef } from 'react';\nimport { type CSSProperties } 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 { forwardRef } from 'react';\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 = 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 { forwardRef } from 'react';\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 = 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';\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.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 { forwardRef } from 'react';\nimport type { CSSProperties } 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 { forwardRef } from 'react';\nimport type { CSSProperties } 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","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","'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<HTMLInputElement, 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 },\n) as FileButtonComponent;\n\nFileButton.displayName = 'FileButton';\n","import { Box } from '@mui/material';\nimport { forwardRef } from 'react';\nimport { overrideProps } from '../../util/override-props.js';\nimport { createFlexComponent } from './create-component.js';\nimport type { FlexBaseProps } from './types.js';\n\nconst FlexColumnStart = createFlexComponent('FlexColumn.Start', 'column', {\n justifyContent: 'flex-start',\n});\n\nconst FlexColumnEnd = createFlexComponent('FlexColumn.End', 'column', {\n justifyContent: 'flex-end',\n});\n\nconst FlexColumnCenter = createFlexComponent('FlexColumn.Center', 'column', {\n justifyContent: 'center',\n});\n\nconst FlexColumnAround = createFlexComponent('FlexColumn.Around', 'column', {\n justifyContent: 'space-around',\n});\n\nconst FlexColumnBetween = createFlexComponent('FlexColumn.Between', 'column', {\n justifyContent: 'space-between',\n});\n\nconst FlexColumnEvenly = createFlexComponent('FlexColumn.Evenly', 'column', {\n justifyContent: 'space-evenly',\n});\n\nexport interface FlexColumnProps extends FlexBaseProps {\n center?: boolean;\n}\n\ninterface FlexColumnComponent extends React.ForwardRefExoticComponent<FlexColumnProps> {\n Start: typeof FlexColumnStart;\n End: typeof FlexColumnEnd;\n Center: typeof FlexColumnCenter;\n Between: typeof FlexColumnBetween;\n Around: typeof FlexColumnAround;\n Evenly: typeof FlexColumnEvenly;\n}\n\nconst FlexColumnBase = forwardRef<HTMLDivElement, FlexColumnProps>(\n ({ center, inlineFlex, justifyContent, alignItems, flexWrap, sx, ...props }, ref) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n display: inlineFlex ? 'inline-flex' : 'flex',\n flexDirection: 'column',\n ...overrideProps(\n center\n ? {\n justifyContent: 'center',\n alignItems: 'center',\n }\n : {},\n { justifyContent, alignItems, flexWrap },\n ),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n },\n) as FlexColumnComponent;\nFlexColumnBase.displayName = 'FlexColumnBase';\n\nexport const FlexColumn = FlexColumnBase;\nFlexColumn.displayName = 'FlexColumn';\nFlexColumn.Start = FlexColumnStart;\nFlexColumn.End = FlexColumnEnd;\nFlexColumn.Center = FlexColumnCenter;\nFlexColumn.Between = FlexColumnBetween;\nFlexColumn.Evenly = FlexColumnEvenly;\nFlexColumn.Around = FlexColumnAround;\n","/**\n * 기본 props 객체와 여러 오버라이드 props 객체를 병합하여 하나의 새로운 객체를 반환합니다.\n *\n * - `overrides`에 전달된 값들 중 `undefined`는 무시됩니다.\n * - 반환된 객체의 모든 프로퍼티에서 `undefined`가 제거됩니다.\n *\n * @template T - 기본 props 타입\n * @template R - 오버라이드할 props 타입 배열\n *\n * @param targetProps - 병합의 기준이 되는 기본 props 객체\n * @param overrides - 병합할 여러 오버라이드 props 객체 (가변인자)\n * @returns 병합된 새로운 객체로, `undefined` 값이 제거된 상태로 반환됩니다.\n *\n * @example\n * ```typescript\n * const defaultProps = {\n * label: \"기본값\",\n * onClick: () => console.log(\"기본 클릭\"),\n * };\n *\n * const override1 = {\n * label: \"오버라이드 1\",\n * onClick: undefined, // undefined는 무시\n * };\n *\n * const override2 = {\n * style: { color: \"red\" },\n * };\n *\n * const finalProps = overrideProps(defaultProps, override1, override2);\n *\n * // 결과:\n * // {\n * // label: \"오버라이드 1\",\n * // onClick: () => console.log(\"기본 클릭\"), // 기본값 유지\n * // style: { color: \"red\" }\n * // }\n * ```\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function overrideProps<T extends Record<string, any>, R extends Record<string, any>[]>(\n targetProps: T,\n ...overrides: R\n): { [K in keyof (T & R[number])]: Exclude<(T & R[number])[K], undefined> } {\n // 기본 props를 필터링\n const filteredTargetProps = Object.fromEntries(\n Object.entries(targetProps).filter(([_, value]) => value !== undefined),\n );\n\n // 모든 overrides를 순차적으로 병합\n const filteredOverrides = overrides.reduce((acc, current) => {\n const filteredCurrent = Object.fromEntries(\n Object.entries(current).filter(([_, value]) => value !== undefined),\n );\n return { ...acc, ...filteredCurrent };\n }, {});\n\n // 최종 병합된 결과 반환\n return {\n ...filteredTargetProps,\n ...filteredOverrides,\n } as { [K in keyof (T & R[number])]: Exclude<(T & R[number])[K], undefined> };\n}\n","import { Box } from '@mui/material';\nimport { forwardRef } from 'react';\nimport { overrideProps } from '../../util/override-props.js';\nimport type { FlexBaseProps } from './types.js';\nimport type { CSSProperties } from 'react';\n\nexport function createFlexComponent(\n displayName: string,\n flexDirection: CSSProperties['flexDirection'],\n defaultProps: object,\n) {\n const Component = forwardRef<HTMLDivElement, FlexBaseProps>(\n ({ inlineFlex, justifyContent, alignItems, flexWrap, sx, ...props }, ref) => {\n return (\n <Box\n ref={ref}\n sx={[\n {\n display: inlineFlex ? 'inline-flex' : 'flex',\n flexDirection,\n ...overrideProps(defaultProps, {\n justifyContent,\n alignItems,\n flexWrap,\n }),\n },\n ...(Array.isArray(sx) ? sx : [sx]),\n ]}\n {...props}\n />\n );\n },\n );\n Component.displayName = displayName;\n return Component;\n}\n","import { Box } from '@mui/material';\nimport { forwardRef } from 'react';\nimport { overrideProps } from '../../util/override-props.js';\nimport { createFlexComponent } from './create-component.js';\nimport type { FlexBaseProps } from './types.js';\n\nconst FlexRowStart = createFlexComponent('FlexRow.Start', 'row', {\n justifyContent: 'flex-start',\n});\n\nconst FlexRowEnd = createFlexComponent('FlexRow.End', 'row', {\n justifyContent: 'flex-end',\n});\n\nconst FlexRowAround = createFlexComponent('FlexRow.Around', 'row', {\n justifyContent: 'space-around',\n});\n\nconst FlexRowBetween = createFlexComponent('FlexRow.Between', 'row', {\n justifyContent: 'space-between',\n});\n\nconst FlexRowEvenly = createFlexComponent('FlexRow.Evenly', 'row', {\n justifyContent: 'space-evenly',\n});\n\nconst FlexRowCenter = createFlexComponent('FlexRow.Center', 'row', {\n justifyContent: 'center',\n});\n\nexport interface FlexRowProps extends FlexBaseProps {\n center?: boolean;\n}\n\ninterface FlexRowComponent extends React.ForwardRefExoticComponent<FlexRowProps> {\n Start: typeof FlexRowStart;\n End: typeof FlexRowEnd;\n Center: typeof FlexRowCenter;\n Between: typeof FlexRowBetween;\n Around: typeof FlexRowAround;\n Evenly: typeof FlexRowEvenly;\n}\n\nconst FlexRowBase = forwardRef<HTMLDivElement, FlexRowProps>(\n ({ center, inlineFlex = false, justifyContent, alignItems, flexWrap, sx, ...props }, ref) => {\n // undefined/null/false 완전히 제거하여 hydration error 방지\n const sxArray = Array.isArray(sx) ? sx.filter(Boolean) : sx ? [sx] : [];\n\n const baseStyle = {\n display: inlineFlex ? 'inline-flex' : 'flex',\n flexDirection: 'row' as const,\n ...overrideProps(\n center\n ? {\n justifyContent: 'center' as const,\n alignItems: 'center' as const,\n }\n : {},\n { justifyContent, alignItems, flexWrap },\n ),\n };\n\n return (\n <Box\n ref={ref}\n sx={sxArray.length > 0 ? [baseStyle, ...sxArray] : baseStyle}\n {...props}\n />\n );\n },\n) as FlexRowComponent;\nFlexRowBase.displayName = 'FlexRowBase';\n\nexport const FlexRow = FlexRowBase;\nFlexRow.displayName = 'FlexRow';\nFlexRow.Start = FlexRowStart;\nFlexRow.End = FlexRowEnd;\nFlexRow.Center = FlexRowCenter;\nFlexRow.Between = FlexRowBetween;\nFlexRow.Around = FlexRowAround;\nFlexRow.Evenly = FlexRowEvenly;\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 = undefined;\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":["/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","i","getLineBreakNode","currGrp","isGroupChanged","prev","curr","keyPrefix","height"],"mappings":"AAAA,y0BAA6K,gCAA6B,yCCAvK,8BAER,+CCSrB,IAHOA,CAAAA,CAAuBC,+BAAAA,CACjC,CAAE,SAAA,CAAAC,CAAAA,CAAW,MAAA,CAAAC,CAAAA,CAAS,CAAA,CAAG,EAAA,CAAAC,CAAAA,CAAI,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAEtCC,6BAAAA,aAACC,CAAA,CACC,GAAA,CAAKF,CAAAA,CACL,EAAA,CAAI,CACF,CACE,QAAA,CAAU,UAAA,CACV,MAAA,CAAAH,CAAAA,CACA,IAAA,CAAM,KAAA,CACN,SAAA,CAAW,uBAAA,CACX,GAAID,CAAAA,EAAa,CACf,KAAA,CAAO,MACT,CACF,CAAA,CACA,GAAI,KAAA,CAAM,OAAA,CAAQE,CAAE,CAAA,CAAIA,CAAAA,CAAK,C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EIX,CAAAA,4BAAAA,CAAaU,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":"/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"]}
|