@nice2dev/ui 1.0.30 → 1.0.31

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.
Files changed (74) hide show
  1. package/CHANGELOG.md +495 -0
  2. package/README.md +30 -31
  3. package/dist/NiceCalendarScheduler.doc-BEtQkZjV.cjs +9 -0
  4. package/dist/NiceCalendarScheduler.doc-D__LRgOx.js +33 -0
  5. package/dist/NiceConfirmDialog-B57cl_F7.cjs +1 -0
  6. package/dist/NiceConfirmDialog-N9fBTLYm.js +81 -0
  7. package/dist/NiceDrawingCanvas.doc-Dv5vB4gY.js +32 -0
  8. package/dist/NiceDrawingCanvas.doc-Ww9zz17x.cjs +8 -0
  9. package/dist/NiceErrorBoundary-BD-uqk_q.js +709 -0
  10. package/dist/NiceErrorBoundary-CIPXaYik.cjs +1 -0
  11. package/dist/NiceFileManagerViews.doc-CKlnm6cX.cjs +1 -0
  12. package/dist/NiceFileManagerViews.doc-Cg21DArG.js +25 -0
  13. package/dist/NiceForm-BNZB31Pg.js +4499 -0
  14. package/dist/NiceForm-CPyAXxBO.cjs +1 -0
  15. package/dist/NiceMegaMenu.doc-7UyOCd3l.cjs +7 -0
  16. package/dist/NiceMegaMenu.doc-zeIyVa65.js +31 -0
  17. package/dist/NiceModal-Bj53SKLI.js +95 -0
  18. package/dist/NiceModal-DC0UlQhc.cjs +1 -0
  19. package/dist/NiceModuleLifecyclePanel-BBOg9g0b.cjs +1 -0
  20. package/dist/NiceModuleLifecyclePanel-DtuXRiLR.js +6991 -0
  21. package/dist/NiceModuleLifecyclePanel.css +1 -1
  22. package/dist/NicePagination-Bjxy9aEc.js +172 -0
  23. package/dist/NicePagination-CfFfNwrg.cjs +1 -0
  24. package/dist/NiceSavedQueryPanel-CH5c3rUG.js +6988 -0
  25. package/dist/NiceSavedQueryPanel-aQrEmmcC.cjs +596 -0
  26. package/dist/NiceScannerControl-Cd5KXJA9.js +12769 -0
  27. package/dist/NiceScannerControl-DZsERSw_.cjs +698 -0
  28. package/dist/NiceScannerControl.css +1 -0
  29. package/dist/NiceWindow-BoDzlGk-.js +1621 -0
  30. package/dist/NiceWindow-DgONWxBm.cjs +1 -0
  31. package/dist/charts-Bs0aDM0X.js +4671 -0
  32. package/dist/charts-DjjKkw0q.cjs +761 -0
  33. package/dist/charts.cjs +1 -1
  34. package/dist/charts.mjs +1 -1
  35. package/dist/core-BUsZ7_vI.js +27914 -0
  36. package/dist/core-CLfcCDKc.cjs +122 -0
  37. package/dist/data-branching-D7l_kILW.cjs +1 -0
  38. package/dist/data-branching-lJ07lDN-.js +6255 -0
  39. package/dist/data-branching.cjs +1 -1
  40. package/dist/data-branching.mjs +1 -1
  41. package/dist/data.cjs +1 -1
  42. package/dist/data.d.ts +41 -37
  43. package/dist/data.mjs +18 -19
  44. package/dist/devops-Bi8MXtko.js +8165 -0
  45. package/dist/devops-On_1wRf9.cjs +17 -0
  46. package/dist/devops.cjs +1 -1
  47. package/dist/devops.mjs +1 -1
  48. package/dist/editors.cjs +1 -1
  49. package/dist/editors.d.ts +215 -431
  50. package/dist/editors.mjs +48 -56
  51. package/dist/feedback.cjs +1 -1
  52. package/dist/feedback.mjs +3 -3
  53. package/dist/index-BDH1yDSg.js +69235 -0
  54. package/dist/index-C9njkNOD.cjs +5470 -0
  55. package/dist/index.cjs +1 -1
  56. package/dist/index.css +1 -1
  57. package/dist/index.d.ts +441 -916
  58. package/dist/index.mjs +908 -933
  59. package/dist/lazy.cjs +1 -1
  60. package/dist/lazy.mjs +24 -24
  61. package/dist/navigation.cjs +1 -1
  62. package/dist/navigation.d.ts +25 -213
  63. package/dist/navigation.mjs +105 -113
  64. package/dist/no-code-8lO7o6xi.js +7425 -0
  65. package/dist/no-code-K8tOLNew.cjs +332 -0
  66. package/dist/no-code.cjs +1 -1
  67. package/dist/no-code.mjs +1 -1
  68. package/dist/overlays.cjs +1 -1
  69. package/dist/overlays.d.ts +8 -0
  70. package/dist/overlays.mjs +36 -36
  71. package/dist/pickerCommons-CORo9j2a.js +2119 -0
  72. package/dist/pickerCommons-D3WShRrR.cjs +1 -0
  73. package/dist/style.css +5 -5
  74. package/package.json +3 -3
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),X=require("./core-CLfcCDKc.cjs"),n=require("react"),ht=({visible:t,onClose:i,title:s,items:l,showCancelButton:h=!0,cancelText:f,size:x="md",disabled:w,loading:u,error:v,className:a,style:y})=>{const{t:T}=X.Gt();if(!t)return null;const z=w||u;return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"nice-actionsheet__overlay",onClick:i}),e.jsxs("div",{className:`nice-actionsheet nice-actionsheet--${x} ${w?"nice-actionsheet--disabled":""} ${u?"nice-actionsheet--loading":""} ${v?"nice-actionsheet--error":""} ${a||""}`,style:y,"aria-disabled":w||void 0,"aria-busy":u||void 0,children:[v&&e.jsx("div",{className:"nice-actionsheet__error",role:"alert",children:v}),u&&e.jsx("span",{className:"nice-actionsheet__spinner","aria-hidden":"true",children:e.jsx("span",{className:"nice-spinner nice-spinner--sm"})}),s&&e.jsx("div",{className:"nice-actionsheet__title",children:s}),e.jsx("div",{className:"nice-actionsheet__items",children:l.map((g,R)=>e.jsxs("button",{className:`nice-actionsheet__item ${g.type==="danger"?"nice-actionsheet__item--danger":""}`,disabled:g.disabled||z,onClick:()=>{z||(g.onClick?.(),i())},children:[g.icon&&e.jsx("span",{className:"nice-actionsheet__icon",children:g.icon}),g.text]},R))}),h&&e.jsx("button",{className:"nice-actionsheet__cancel",onClick:i,children:f||T("cancel","Cancel")})]})]})},ft=({visible:t,onClose:i,targetRef:s,position:l="bottom",title:h,showArrow:f=!0,width:x,children:w,className:u,style:v,displayStyle:a})=>{X.ac("tooltip",a);const y=n.useRef(null),[T,z]=n.useState({top:0,left:0}),g=n.useCallback(()=>{const R=s.current,B=y.current;if(!R||!B)return;const c=R.getBoundingClientRect(),b=B.getBoundingClientRect();let r=0,k=0;const _=8;switch(l){case"top":r=c.top-b.height-_,k=c.left+(c.width-b.width)/2;break;case"bottom":r=c.bottom+_,k=c.left+(c.width-b.width)/2;break;case"left":r=c.top+(c.height-b.height)/2,k=c.left-b.width-_;break;case"right":r=c.top+(c.height-b.height)/2,k=c.right+_;break}z({top:r+window.scrollY,left:k+window.scrollX})},[s,l]);return n.useEffect(()=>{if(t){requestAnimationFrame(g);const R=B=>{y.current&&!y.current.contains(B.target)&&s.current&&!s.current.contains(B.target)&&i()};return document.addEventListener("mousedown",R),()=>document.removeEventListener("mousedown",R)}},[t,g,i,s]),t?e.jsxs("div",{ref:y,className:`nice-popover nice-popover--${l} ${u||""}`,style:{...v,position:"absolute",top:T.top,left:T.left,width:x},children:[f&&e.jsx("div",{className:`nice-popover__arrow nice-popover__arrow--${l}`}),h&&e.jsx("div",{className:"nice-popover__title",children:h}),e.jsx("div",{className:"nice-popover__content",children:w})]}):null},pt=({visible:t,message:i,container:s,showIndicator:l=!0,shading:h=!0,className:f,style:x})=>{const{t:w}=X.Gt();if(!t)return null;const u=!!s?.current,v=e.jsxs("div",{className:`nice-loadpanel ${f||""}`,style:x,children:[h&&e.jsx("div",{className:"nice-loadpanel__shade"}),e.jsxs("div",{className:"nice-loadpanel__box",children:[l&&e.jsx("div",{className:"nice-spinner nice-spinner--md"}),e.jsx("span",{className:"nice-loadpanel__text",children:i||w("loading","Loading...")})]})]});if(u&&s.current){const a=s.current;return a.style.position=a.style.position||"relative",v}return v},xt=({direction:t="row",align:i,justify:s,wrap:l,gap:h,flex:f,children:x,className:w,style:u})=>e.jsx("div",{className:`nice-box ${w||""}`,style:{display:"flex",flexDirection:t,alignItems:i,justifyContent:s,flexWrap:l?"wrap":void 0,gap:h,flex:f,...u},children:x}),wt=({direction:t="row",items:i,gap:s,className:l,style:h})=>e.jsx("div",{className:`nice-responsivebox ${l||""}`,style:{display:"flex",flexDirection:t,gap:s,...h},children:i.map((f,x)=>e.jsx("div",{style:{flex:f.ratio??1,flexBasis:f.baseSize,flexShrink:f.shrink??1},children:f.children},x))}),_t=({width:t=200,height:i=200,minWidth:s=50,minHeight:l=50,maxWidth:h=1/0,maxHeight:f=1/0,handles:x=["right","bottom","bottomRight"],onResize:w,children:u,className:v,style:a})=>{const[y,T]=n.useState({width:t,height:i}),z=n.useRef(null),g=(c,b)=>{b.preventDefault();const r=b.clientX,k=b.clientY,_=y.width,G=y.height,M={n:"top",s:"bottom",e:"right",w:"left",ne:"topRight",se:"bottomRight",sw:"bottomLeft",nw:"topLeft"}[c]??c,o=M==="right"||M==="topRight"||M==="bottomRight",C=M==="left"||M==="topLeft"||M==="bottomLeft",j=M==="bottom"||M==="bottomRight"||M==="bottomLeft",I=M==="top"||M==="topRight"||M==="topLeft",d=m=>{const L=m.clientX-r,p=m.clientY-k;let P=_,q=G;o&&(P=_+L),C&&(P=_-L),j&&(q=G+p),I&&(q=G-p),P=Math.max(s,Math.min(h,P)),q=Math.max(l,Math.min(f,q)),T({width:P,height:q}),w?.({width:P,height:q})},N=()=>{document.removeEventListener("pointermove",d),document.removeEventListener("pointerup",N)};document.addEventListener("pointermove",d),document.addEventListener("pointerup",N)},R=c=>{switch(c){case"top":case"bottom":return"ns-resize";case"left":case"right":return"ew-resize";case"topLeft":case"bottomRight":return"nwse-resize";case"topRight":case"bottomLeft":return"nesw-resize";default:return"default"}},B=c=>{const b={position:"absolute",zIndex:1},r=8;return c==="right"?{...b,top:0,right:-r/2,width:r,height:"100%",cursor:R(c)}:c==="bottom"?{...b,left:0,bottom:-r/2,width:"100%",height:r,cursor:R(c)}:c==="left"?{...b,top:0,left:-r/2,width:r,height:"100%",cursor:R(c)}:c==="top"?{...b,top:-r/2,left:0,width:"100%",height:r,cursor:R(c)}:c==="bottomRight"?{...b,bottom:-r/2,right:-r/2,width:r*2,height:r*2,cursor:R(c)}:c==="bottomLeft"?{...b,bottom:-r/2,left:-r/2,width:r*2,height:r*2,cursor:R(c)}:c==="topRight"?{...b,top:-r/2,right:-r/2,width:r*2,height:r*2,cursor:R(c)}:c==="topLeft"?{...b,top:-r/2,left:-r/2,width:r*2,height:r*2,cursor:R(c)}:b};return e.jsxs("div",{ref:z,className:`nice-resizable ${v||""}`,style:{...a,width:y.width,height:y.height,position:"relative",overflow:"hidden"},children:[u,x.map(c=>e.jsx("div",{style:B(c),onPointerDown:b=>g(c,b)},c))]})},gt=({direction:t="vertical",showScrollbar:i="onInteraction",width:s,height:l,onScroll:h,children:f,className:x,style:w})=>{const u=t==="horizontal"||t==="both"?"auto":"hidden",v=t==="vertical"||t==="both"?"auto":"hidden",a=i==="never"?"nice-scrollview--hide-sb":i==="always"?"nice-scrollview--show-sb":"";return e.jsx("div",{className:`nice-scrollview ${a} ${x||""}`,style:{...w,width:s,height:l,overflowX:u,overflowY:v},onScroll:h,children:f})};function Me(t,i){if(!t)return{score:1,indices:[]};const s=t.toLowerCase(),l=i.toLowerCase();let h=0;const f=[];let x=0,w=-1;for(let u=0;u<l.length&&h<s.length;u++)l[u]===s[h]&&(f.push(u),w===u-1&&(x+=3),(u===0||/[\s\-_/.]/.test(i[u-1]))&&(x+=5),i[u]===t[h]&&(x+=1),x+=1,w=u,h++);return h<s.length?null:(x-=f[0]*.1,{score:x,indices:f})}function Oe(t,i){if(i.length===0)return[t];const s=[];let l=0;const h=new Set(i);for(let f=0;f<t.length;f++)h.has(f)&&(l<f&&s.push(t.slice(l,f)),s.push(n.createElement("mark",{key:`m-${f}`,className:"nice-command-palette__match"},t[f])),l=f+1);return l<t.length&&s.push(t.slice(l)),s}function bt(t,i){switch(i.type){case"REGISTER":{const s=new Map(t.commands);return s.set(i.command.id,i.command),{...t,commands:s}}case"REGISTER_BATCH":{const s=new Map(t.commands);for(const l of i.commands)s.set(l.id,l);return{...t,commands:s}}case"UNREGISTER":{const s=new Map(t.commands);return s.delete(i.id),{...t,commands:s}}case"OPEN":return{...t,isOpen:!0,query:"",selectedIndex:0};case"CLOSE":return{...t,isOpen:!1,query:"",selectedIndex:0};case"SET_QUERY":return{...t,query:i.query,selectedIndex:0};case"SET_SELECTED":return{...t,selectedIndex:i.index};case"ADD_RECENT":{const s=t.recentIds.filter(l=>l!==i.id);return{...t,recentIds:[i.id,...s].slice(0,i.maxRecent)}}default:return t}}const qe=n.createContext(null);function We(){const t=n.useContext(qe);if(!t)throw new Error("useCommandPalette must be used within NiceCommandPaletteProvider");return t}const Ae=({children:t,commands:i,placeholder:s="Type a command...",maxVisible:l=10,maxRecent:h=5,className:f,emptyText:x="No commands found",closeOnAction:w=!0,onOpen:u,onClose:v})=>{const[a,y]=n.useReducer(bt,{commands:new Map(i?.map(d=>[d.id,d])??[]),isOpen:!1,query:"",selectedIndex:0,recentIds:[]}),T=n.useRef(null),z=n.useRef(null),[g,R]=n.useState(!1),B=n.useCallback(d=>{y({type:"REGISTER",command:d})},[]),c=n.useCallback(d=>{y({type:"UNREGISTER",id:d})},[]),b=n.useCallback(d=>{y({type:"REGISTER_BATCH",commands:d})},[]),r=n.useCallback(()=>{y({type:"OPEN"}),u?.()},[u]),k=n.useCallback(()=>{y({type:"CLOSE"}),v?.()},[v]),_=n.useCallback(()=>{a.isOpen?k():r()},[a.isOpen,k,r]),O=n.useMemo(()=>{const d=Array.from(a.commands.values()).filter(m=>!m.hidden);if(!a.query.trim()){const m=a.recentIds.map(p=>a.commands.get(p)).filter(p=>!!p&&!p.hidden),L=d.filter(p=>!a.recentIds.includes(p.id));return L.sort((p,P)=>p.label.localeCompare(P.label)),[...m,...L].map(p=>({command:p,match:null,isRecent:a.recentIds.includes(p.id)}))}return d.map(m=>{const L=Me(a.query,m.label),p=m.description?Me(a.query,m.description):null,P=m.keywords?.map(H=>Me(a.query,H)).filter(Boolean)[0]??null,q=[L,p,P].filter(Boolean).sort((H,J)=>(J?.score??0)-(H?.score??0))[0];return{command:m,match:q,isRecent:!1}}).filter(m=>m.match!==null).sort((m,L)=>(L.match?.score??0)-(m.match?.score??0))},[a.commands,a.query,a.recentIds]).slice(0,l),M=n.useCallback(async d=>{const N=a.commands.get(d);if(!(!N||N.disabled)){R(!0);try{await N.action(),y({type:"ADD_RECENT",id:d,maxRecent:h})}finally{R(!1),w&&k()}}},[a.commands,h,w,k]);n.useEffect(()=>{const d=N=>{(N.metaKey||N.ctrlKey)&&N.key==="k"&&(N.preventDefault(),_()),N.key==="Escape"&&a.isOpen&&(N.preventDefault(),k())};return document.addEventListener("keydown",d),()=>document.removeEventListener("keydown",d)},[_,a.isOpen,k]),n.useEffect(()=>{a.isOpen&&requestAnimationFrame(()=>T.current?.focus())},[a.isOpen]);const o=n.useCallback(d=>{const N=O.length;if(N){if(d.key==="ArrowDown")d.preventDefault(),y({type:"SET_SELECTED",index:(a.selectedIndex+1)%N});else if(d.key==="ArrowUp")d.preventDefault(),y({type:"SET_SELECTED",index:(a.selectedIndex-1+N)%N});else if(d.key==="Enter"){d.preventDefault();const m=O[a.selectedIndex];m&&M(m.command.id)}}},[O,a.selectedIndex,M]);n.useEffect(()=>{if(!z.current)return;z.current.children[a.selectedIndex]?.scrollIntoView({block:"nearest"})},[a.selectedIndex]);const C=n.useMemo(()=>({registerCommand:B,unregisterCommand:c,registerCommands:b,open:r,close:k,toggle:_,isOpen:a.isOpen,executeCommand:M}),[B,c,b,r,k,_,a.isOpen,M]),j=n.useMemo(()=>{const d=new Map;for(const N of O){const m=N.command.category??"General";d.has(m)||d.set(m,[]),d.get(m).push(N)}return d},[O]);let I=0;return e.jsxs(qe.Provider,{value:C,children:[t,a.isOpen&&e.jsx("div",{className:`nice-command-palette__overlay ${f??""}`,onClick:k,children:e.jsxs("div",{className:"nice-command-palette",role:"dialog","aria-label":"Command Palette","aria-modal":"true",onClick:d=>d.stopPropagation(),children:[e.jsx("div",{className:"nice-command-palette__input-wrapper",children:e.jsx("input",{ref:T,className:"nice-command-palette__input",type:"text",placeholder:s,value:a.query,onChange:d=>y({type:"SET_QUERY",query:d.target.value}),onKeyDown:o,"aria-label":"Search commands","aria-autocomplete":"list","aria-controls":"nice-command-palette-list","aria-activedescendant":O[a.selectedIndex]?`nice-cmd-${O[a.selectedIndex].command.id}`:void 0})}),e.jsxs("div",{ref:z,id:"nice-command-palette-list",className:"nice-command-palette__list",role:"listbox",children:[O.length===0&&e.jsx("div",{className:"nice-command-palette__empty",children:x}),Array.from(j.entries()).map(([d,N])=>e.jsxs("div",{className:"nice-command-palette__group",children:[e.jsx("div",{className:"nice-command-palette__category",children:d}),N.map(m=>{const L=I++,p=L===a.selectedIndex;return e.jsxs("div",{id:`nice-cmd-${m.command.id}`,className:`nice-command-palette__item ${p?"nice-command-palette__item--selected":""} ${m.command.disabled?"nice-command-palette__item--disabled":""}`,role:"option","aria-selected":p,"aria-disabled":m.command.disabled,onClick:()=>!m.command.disabled&&M(m.command.id),onMouseEnter:()=>y({type:"SET_SELECTED",index:L}),children:[m.command.icon&&e.jsx("span",{className:"nice-command-palette__icon",children:m.command.icon}),e.jsxs("div",{className:"nice-command-palette__label-group",children:[e.jsx("span",{className:"nice-command-palette__label",children:m.match&&a.query?Oe(m.command.label,m.match.indices):m.command.label}),m.command.description&&e.jsx("span",{className:"nice-command-palette__description",children:m.command.description})]}),m.command.shortcut&&e.jsx("kbd",{className:"nice-command-palette__shortcut",children:m.command.shortcut}),m.isRecent&&e.jsx("span",{className:"nice-command-palette__recent-badge",children:"Recent"})]},m.command.id)})]},d))]}),g&&e.jsx("div",{className:"nice-command-palette__executing",children:"Executing..."})]})})]})};Ae.displayName="NiceCommandPaletteProvider";function vt(t){const{registerCommands:i,unregisterCommand:s}=We();n.useEffect(()=>(i(t),()=>{for(const l of t)s(l.id)}),[])}const Fe=n.forwardRef(({blocked:t,message:i,spinner:s,blur:l,children:h,className:f,style:x,id:w},u)=>{const v=X.bc(w);return e.jsxs("div",{ref:u,id:v,className:`nice-block-ui ${f||""}`,style:{position:"relative",...x},children:[h,t&&e.jsx("div",{className:`nice-block-ui__overlay${l?" nice-block-ui__overlay--blur":""}`,"aria-busy":"true",role:"alert",children:(s||i)&&e.jsxs("div",{className:"nice-block-ui__content",children:[s&&e.jsx("div",{className:"nice-block-ui__spinner","aria-hidden":"true"}),i&&e.jsx("div",{className:"nice-block-ui__message",children:i})]})})]})});Fe.displayName="NiceBlockUI";const Ue=n.forwardRef(({windows:t,children:i,onChange:s,onClose:l,onFocus:h,showTaskbar:f=!0,size:x="md",className:w,style:u,id:v,...a},y)=>{const T=X.bc(v),{t:z}=X.Gt(),[g,R]=n.useState(null),B=n.useRef(null),c=t??[],b=Math.max(1,...c.map(o=>o.zIndex??1)),r=n.useCallback((o,C)=>{const j=c.map(I=>I.key===o?{...I,...C}:I);s?.(j)},[c,s]),k=n.useCallback(o=>{r(o,{zIndex:b+1}),h?.(o)},[r,b,h]),_=n.useCallback(o=>{l?.(o),s?.(c.filter(C=>C.key!==o))},[c,s,l]),G=n.useCallback(o=>{const C=c.find(j=>j.key===o);C&&r(o,{minimized:!C.minimized,maximized:!1})},[c,r]),O=n.useCallback(o=>{const C=c.find(j=>j.key===o);C&&r(o,{maximized:!C.maximized,minimized:!1})},[c,r]);n.useEffect(()=>{if(!g)return;const o=j=>{const I=c.find(d=>d.key===g.key);if(I)if(g.mode==="move")r(g.key,{x:j.clientX-g.offsetX,y:j.clientY-g.offsetY});else{const N=B.current?.getBoundingClientRect(),m=N?.left??0,L=N?.top??0;r(g.key,{width:Math.max(200,j.clientX-m-I.x),height:Math.max(100,j.clientY-L-I.y)})}},C=()=>R(null);return document.addEventListener("mousemove",o),document.addEventListener("mouseup",C),()=>{document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",C)}},[g,c,r]);const M=n.useCallback((o,C,j)=>{C.preventDefault();const I=c.find(d=>d.key===o);I&&(k(o),R({key:o,offsetX:j==="move"?C.clientX-I.x:0,offsetY:j==="move"?C.clientY-I.y:0,mode:j}))},[c,k]);return e.jsxs("div",{ref:o=>{B.current=o,typeof y=="function"?y(o):y&&(y.current=o)},id:T,className:`nice-wm nice-wm--${x} ${w??""}`,style:{...u,position:"relative",overflow:"hidden"},...a,children:[c.map(o=>{if(o.minimized)return null;const C=o.maximized,j=C?{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:o.zIndex??1}:{position:"absolute",top:o.y,left:o.x,width:o.width,height:o.height,zIndex:o.zIndex??1};return e.jsxs("div",{className:`nice-wm__window ${C?"nice-wm__window--maximized":""}`,style:j,onMouseDown:()=>k(o.key),role:"dialog","aria-label":o.title,children:[e.jsxs("div",{className:"nice-wm__titlebar",onMouseDown:I=>!C&&M(o.key,I,"move"),children:[o.icon&&e.jsx("span",{className:"nice-wm__icon",children:o.icon}),e.jsx("span",{className:"nice-wm__title",children:o.title}),e.jsxs("div",{className:"nice-wm__controls",children:[(o.minimizable??!0)&&e.jsx("button",{type:"button",className:"nice-wm__ctrl-btn nice-wm__ctrl-btn--min",onClick:()=>G(o.key),title:z("wm.minimize","Minimize"),children:e.jsx(X.oa,{name:"minus",size:14})}),(o.maximizable??!0)&&e.jsx("button",{type:"button",className:"nice-wm__ctrl-btn nice-wm__ctrl-btn--max",onClick:()=>O(o.key),title:z("wm.maximize","Maximize"),children:e.jsx(X.oa,{name:C?"copy":"window",size:14})}),(o.closable??!0)&&e.jsx("button",{type:"button",className:"nice-wm__ctrl-btn nice-wm__ctrl-btn--close",onClick:()=>_(o.key),title:z("wm.close","Close"),children:e.jsx(X.oa,{name:"close",size:14})})]})]}),e.jsx("div",{className:"nice-wm__body",children:o.content}),(o.resizable??!0)&&!C&&e.jsx("div",{className:"nice-wm__resize-handle",onMouseDown:I=>M(o.key,I,"resize")})]},o.key)}),t===void 0&&i,f&&e.jsx("div",{className:"nice-wm__taskbar",role:"toolbar","aria-label":z("wm.taskbar","Taskbar"),children:c.map(o=>e.jsxs("button",{type:"button",className:`nice-wm__taskbar-btn ${o.minimized?"nice-wm__taskbar-btn--minimized":""}`,onClick:()=>{o.minimized&&G(o.key),k(o.key)},children:[o.icon&&e.jsx("span",{className:"nice-wm__taskbar-icon",children:o.icon}),e.jsx("span",{className:"nice-wm__taskbar-label",children:o.title})]},o.key))})]})});Ue.displayName="NiceWindowManager";function yt(t,i){const s=document.querySelector(t);if(!s)return null;const l=s.getBoundingClientRect();return{top:l.top-i+window.scrollY,left:l.left-i+window.scrollX,width:l.width+i*2,height:l.height+i*2}}function Nt(t,i,s,l){const f={w:window.innerWidth,h:window.innerHeight+window.scrollY},x={top:{top:t.top-s-12,left:t.left+t.width/2-i/2},bottom:{top:t.top+t.height+12,left:t.left+t.width/2-i/2},left:{top:t.top+t.height/2-s/2,left:t.left-i-12},right:{top:t.top+t.height/2-s/2,left:t.left+t.width+12}};if(l&&l!=="auto")return{...x[l],actualPlacement:l};for(const w of["bottom","top","right","left"]){const u=x[w];if(u.top>=0&&u.left>=0&&u.top+s<=f.h&&u.left+i<=f.w)return{...u,actualPlacement:w}}return{...x.bottom,actualPlacement:"bottom"}}const be={width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0};function jt(){return e.jsxs("svg",{...be,children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}function kt(){return e.jsx("svg",{...be,children:e.jsx("polyline",{points:"15 18 9 12 15 6"})})}function Ct(){return e.jsx("svg",{...be,children:e.jsx("polyline",{points:"9 18 15 12 9 6"})})}function Et(){return e.jsxs("svg",{...be,children:[e.jsx("polygon",{points:"5 4 15 12 5 20 5 4"}),e.jsx("line",{x1:"19",y1:"5",x2:"19",y2:"19"})]})}function zt(){return e.jsx("svg",{...be,children:e.jsx("polygon",{points:"6 4 20 12 6 20 6 4",fill:"currentColor"})})}function St(){return e.jsxs("svg",{...be,children:[e.jsx("rect",{x:"6",y:"4",width:"4",height:"16",fill:"currentColor"}),e.jsx("rect",{x:"14",y:"4",width:"4",height:"16",fill:"currentColor"})]})}function Re(t,i,s){return s==="text"?e.jsx("span",{className:"nice-tutorial__btn-label",children:i}):s==="icon-text"?e.jsxs(e.Fragment,{children:[t,e.jsx("span",{className:"nice-tutorial__btn-label",children:i})]}):t}const Be=({steps:t,active:i,onFinish:s,onSkip:l,onStepChange:h,closeOnEscape:f=!0,closeOnOverlayClick:x=!1,showProgress:w=!0,showSkipButton:u=!0,labels:v,animationDuration:a=300,overlayOpacity:y=.6,zIndex:T=1e4,buttonsPlacement:z="floating-bottom",buttonsDisplay:g="icon",showAutoplay:R=!0,autoplayInterval:B=5e3,autoplaySpeedRange:c={min:2e3,max:15e3},onAutoplayChange:b})=>{const[r,k]=n.useState(0),[_,G]=n.useState(null),[O,M]=n.useState({w:340,h:200}),[o,C]=n.useState(!0),[j,I]=n.useState(!1),[d,N]=n.useState(B),m=n.useRef(null),L=n.useRef(-1),p=t[r],P=r===t.length-1,q=r===0,H=v?.next??"Next",J=v?.back??"Back",ee=v?.finish??"Finish",ue=v?.skip??"Skip",me=v?.stepOf??"of",he=v?.play??"Play",fe=v?.pause??"Pause",ze=v?.speed??"Speed",ve=v?.close??"Close";n.useEffect(()=>{i&&(k(0),I(!1),N(B))},[i,B]),n.useEffect(()=>{if(m.current){const S=m.current.getBoundingClientRect();M({w:S.width,h:S.height})}},[r,i]),n.useEffect(()=>{if(!i||!p)return;const S=p.highlightPadding??0,$=()=>{const A=yt(p.target,S);G(A)};if($(),p.scrollIntoView!==!1){document.querySelector(p.target)?.scrollIntoView({behavior:"smooth",block:"center"});const K=setTimeout($,350);return()=>clearTimeout(K)}},[i,p,r]),n.useEffect(()=>{!i||!p||L.current!==r&&(L.current>=0&&L.current<t.length&&t[L.current]?.onLeave?.(),p.onEnter?.(),L.current=r)},[i,p,r,t]);const te=n.useCallback(()=>{if(P)p?.onLeave?.(),s?.();else{const S=r+1;k(S),h?.(S)}},[r,P,s,h,p]),pe=n.useCallback(()=>{if(!q){const S=r-1;k(S),h?.(S)}},[r,q,h]);n.useEffect(()=>{if(!i||!p?.advanceOn)return;const S=document.querySelector(p.target);if(!S)return;const $=()=>te();return S.addEventListener(p.advanceOn.event,$),()=>S.removeEventListener(p.advanceOn.event,$)},[i,p,r,te]),n.useEffect(()=>{if(!i)return;const S=$=>{$.key==="Escape"&&f?l?.():$.key==="ArrowRight"?te():$.key==="ArrowLeft"&&pe()};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[i,r,f,te,pe,l]),n.useEffect(()=>{C(!0);const S=setTimeout(()=>C(!1),a);return()=>clearTimeout(S)},[r,a]),n.useEffect(()=>{if(!i||!j)return;const S=setInterval(()=>{k($=>{if($>=t.length-1)return I(!1),b?.(!1),t[$]?.onLeave?.(),s?.(),$;const A=$+1;return h?.(A),A})},Math.max(500,d));return()=>clearInterval(S)},[i,j,d,t,b,s,h]);const Se=n.useCallback(()=>{I(S=>{const $=!S;return b?.($),$})},[b]),xe=n.useMemo(()=>_?Nt(_,O.w,O.h,p?.placement):{top:typeof window<"u"?window.innerHeight/2:0,left:typeof window<"u"?window.innerWidth/2:0,actualPlacement:"bottom"},[_,O,p?.placement]),ye=t.length===0?0:(r+1)/t.length*100,ne=n.useCallback(S=>{const $=R&&t.length>1,A=u&&!P&&e.jsx("button",{type:"button",className:`nice-tutorial__btn nice-tutorial__btn--skip nice-tutorial__btn--${g}`,onClick:l,"aria-label":ue,title:ue,children:Re(e.jsx(Et,{}),ue,g)}),K=!q&&e.jsx("button",{type:"button",className:`nice-tutorial__btn nice-tutorial__btn--back nice-tutorial__btn--${g}`,onClick:pe,"aria-label":J,title:J,children:Re(e.jsx(kt,{}),J,g)}),we=!p?.waitForAction&&e.jsx("button",{type:"button",className:`nice-tutorial__btn nice-tutorial__btn--next nice-tutorial__btn--${g}`,onClick:te,"aria-label":P?ee:H,title:P?ee:H,children:Re(e.jsx(Ct,{}),P?ee:H,g)}),_e=$&&e.jsx("button",{type:"button",className:["nice-tutorial__btn","nice-tutorial__btn--play",`nice-tutorial__btn--${g}`,j?"nice-tutorial__btn--active":""].filter(Boolean).join(" "),onClick:Se,"aria-label":j?fe:he,title:j?fe:he,"aria-pressed":j,children:Re(j?e.jsx(St,{}):e.jsx(zt,{}),j?fe:he,g)});return e.jsxs("div",{className:["nice-tutorial__controls",S?"nice-tutorial__controls--inline":"nice-tutorial__controls--floating-bottom"].join(" "),style:S?void 0:{zIndex:T+2},role:"group","aria-label":"Tutorial controls",children:[A,K,w&&e.jsxs("span",{className:"nice-tutorial__step-label","aria-live":"polite",children:[r+1," ",me," ",t.length]}),we,$&&e.jsx("div",{className:"nice-tutorial__progress-bar",role:"progressbar","aria-valuenow":Math.round(ye),"aria-valuemin":0,"aria-valuemax":100,"aria-label":`${r+1} ${me} ${t.length}`,children:e.jsx("div",{className:"nice-tutorial__progress-bar-fill",style:{width:`${ye}%`}})}),_e,$&&e.jsxs("label",{className:"nice-tutorial__speed",children:[e.jsx("input",{type:"range",className:"nice-tutorial__speed-slider",min:c.min,max:c.max,step:500,value:c.min+c.max-d,onChange:Ie=>N(c.min+c.max-Number(Ie.target.value)),"aria-label":ze}),e.jsxs("span",{className:"nice-tutorial__speed-value",children:[(d/1e3).toFixed(1),"s"]})]})]})},[R,u,w,g,q,P,l,ue,J,H,ee,he,fe,ze,me,pe,te,p,j,Se,r,t.length,ye,d,c,T]);if(!i||!p)return null;const Ne=typeof document<"u"?Math.max(document.documentElement.scrollWidth,window.innerWidth):0,D=typeof document<"u"?Math.max(document.documentElement.scrollHeight,window.innerHeight):0;return e.jsxs("div",{className:"nice-tutorial",style:{zIndex:T},"aria-modal":"true",role:"dialog","aria-label":"Tutorial",children:[e.jsxs("svg",{className:"nice-tutorial__overlay",style:{position:"absolute",top:0,left:0,width:Ne,height:D,pointerEvents:"auto"},onClick:x?l:void 0,children:[e.jsx("defs",{children:e.jsxs("mask",{id:"nice-tutorial-mask",children:[e.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"white"}),_&&e.jsx("rect",{x:_.left,y:_.top,width:_.width,height:_.height,rx:"4",fill:"black",className:o?"nice-tutorial__spotlight--entering":""})]})}),e.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`rgba(0,0,0,${y})`,mask:"url(#nice-tutorial-mask)"})]}),_&&e.jsx("div",{className:`nice-tutorial__highlight ${o?"nice-tutorial__highlight--entering":""}`,style:{position:"absolute",top:_.top,left:_.left,width:_.width,height:_.height,transition:`all ${a}ms ease`}}),p.disableInteraction&&_&&e.jsx("div",{className:"nice-tutorial__blocker",style:{position:"absolute",top:_.top,left:_.left,width:_.width,height:_.height}}),e.jsxs("div",{ref:m,className:`nice-tutorial__tooltip nice-tutorial__tooltip--${xe.actualPlacement} ${o?"nice-tutorial__tooltip--entering":""}`,style:{position:"absolute",top:xe.top,left:xe.left,transition:`all ${a}ms ease`,maxWidth:380,zIndex:T+1},children:[p.showArrow!==!1&&e.jsx("div",{className:`nice-tutorial__arrow nice-tutorial__arrow--${xe.actualPlacement}`}),e.jsxs("div",{className:"nice-tutorial__header",children:[e.jsx("h4",{className:"nice-tutorial__title",children:p.title}),u&&e.jsx("button",{type:"button",className:"nice-tutorial__close",onClick:l,"aria-label":ve,title:ve,children:e.jsx(jt,{})})]}),e.jsx("div",{className:"nice-tutorial__content",dangerouslySetInnerHTML:{__html:X.lc(p.content)}}),z==="inline"&&ne(!0)]}),z==="floating-bottom"&&ne(!1)]})};Be.displayName="NiceTutorial";const Ge=n.createContext({startTutorial:()=>{},stopTutorial:()=>{},isActive:!1,currentStep:0,nextStep:()=>{},prevStep:()=>{},goToStep:()=>{}});function Rt(){return n.useContext(Ge)}const He=({children:t})=>{const[i,s]=n.useState([]),[l,h]=n.useState(!1),[f,x]=n.useState(0),w=n.useCallback(z=>{s(z),x(0),h(!0)},[]),u=n.useCallback(()=>{h(!1),x(0),s([])},[]),v=n.useCallback(()=>{x(z=>Math.min(z+1,i.length-1))},[i.length]),a=n.useCallback(()=>{x(z=>Math.max(z-1,0))},[]),y=n.useCallback(z=>{x(Math.max(0,Math.min(z,i.length-1)))},[i.length]),T={startTutorial:w,stopTutorial:u,isActive:l,currentStep:f,nextStep:v,prevStep:a,goToStep:y};return e.jsxs(Ge.Provider,{value:T,children:[t,l&&i.length>0&&e.jsx(Be,{steps:i,active:l,onFinish:u,onSkip:u,onStepChange:x})]})};He.displayName="NiceTutorialProvider";function Mt(t,i,s,l,h){const f=t<=h,x=t+h>=s,w=i<=h,u=i+h>=l;return w&&f?"top-left":w&&x?"top-right":u&&f?"bottom-left":u&&x?"bottom-right":f?"left":x?"right":w?"top":u?"bottom":"none"}function It(t){switch(t){case"left":return{left:0,top:0,width:"50%",height:"100%"};case"right":return{left:"50%",top:0,width:"50%",height:"100%"};case"top":return{left:0,top:0,width:"100%",height:"50%"};case"bottom":return{left:0,top:"50%",width:"100%",height:"50%"};case"top-left":return{left:0,top:0,width:"50%",height:"50%"};case"top-right":return{left:"50%",top:0,width:"50%",height:"50%"};case"bottom-left":return{left:0,top:"50%",width:"50%",height:"50%"};case"bottom-right":return{left:"50%",top:"50%",width:"50%",height:"50%"};default:return null}}const Ke=n.forwardRef(({windowKey:t,title:i,icon:s,children:l,footer:h,x:f,y:x,defaultPosition:w,width:u=480,height:v=360,minWidth:a=200,minHeight:y=120,maxWidth:T,maxHeight:z,zIndex:g=1,closable:R=!0,minimizable:B=!0,maximizable:c=!0,fullscreenable:b=!1,pinnable:r=!1,resizable:k=!0,draggable:_=!0,snappable:G=!0,snapThreshold:O=20,minimized:M,maximized:o,fullscreen:C,pinned:j,focused:I,onClose:d,onMinimize:N,onMaximize:m,onFullscreen:L,onPin:p,onFocus:P,onMove:q,onResize:H,onSnap:J,onTitleBarDoubleClick:ee,size:ue="md",statusBar:me,titleBarActions:he,className:fe,style:ze,id:ve,accessMode:te,...pe},Se)=>{const xe=X.bc(ve),ye=X.Dc(te,ve),{t:ne}=X.Gt(),Ne=n.useRef(null);Ne.current==null&&(Ne.current=`nice-window-${Math.random().toString(36).slice(2,10)}`);const D=t??Ne.current,S=f??w?.x??100,$=x??w?.y??100;if(ye==="hidden")return null;const[A,K]=n.useState({x:S,y:$}),[we,_e]=n.useState({width:u,height:v}),[Ie,Ve]=n.useState(!1),[Qe,Ze]=n.useState(!1),[Je,et]=n.useState(!1),[tt,nt]=n.useState(!1),[Q,Le]=n.useState("none"),it=M??Ie,V=o??Qe,F=C??Je,je=j??tt,$e=I??!0,ae=A.x,de=A.y,ie=we.width,se=we.height,oe=n.useRef(null),U=n.useRef(null),Y=n.useRef(null),st=n.useCallback(()=>{d?.(D)},[D,d]),ot=n.useCallback(()=>{Ve(!0),N?.(D)},[D,N]),Te=n.useCallback(()=>{const E=!V;Ze(E),!E&&Y.current?(K({x:Y.current.x,y:Y.current.y}),_e({width:Y.current.w,height:Y.current.h}),Y.current=null):E&&(Y.current={x:ae,y:de,w:ie,h:se}),Le("none"),m?.(D,E)},[D,V,ae,de,ie,se,m]),Pe=n.useCallback(()=>{const E=!F;et(E),E?Y.current={x:ae,y:de,w:ie,h:se}:Y.current&&(K({x:Y.current.x,y:Y.current.y}),_e({width:Y.current.w,height:Y.current.h}),Y.current=null),L?.(D,E)},[D,F,ae,de,ie,se,L]),ct=n.useCallback(()=>{const E=!je;nt(E),p?.(D,E)},[D,je,p]),ke=n.useCallback(()=>{P?.(D)},[D,P]),rt=n.useCallback(()=>{ee?ee(D):c&&Te()},[D,c,Te,ee]);n.useEffect(()=>{const E=ce=>{if(!oe.current)return;const Z=ce.clientX-oe.current.startX+oe.current.origX,Ce=ce.clientY-oe.current.startY+oe.current.origY;K({x:Z,y:Ce}),q?.(D,{x:Z,y:Ce})},W=ce=>{if(oe.current){if(G){const Z=Mt(ce.clientX,ce.clientY,window.innerWidth,window.innerHeight,O);Z!=="none"&&(Y.current={x:A.x,y:A.y,w:ie,h:se},Le(Z),J?.(D,Z))}oe.current=null}};return document.addEventListener("mousemove",E),document.addEventListener("mouseup",W),()=>{document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",W)}});const lt=n.useCallback(E=>{!_||V||F||(E.preventDefault(),Q!=="none"&&(Y.current&&(K({x:Y.current.x,y:Y.current.y}),_e({width:Y.current.w,height:Y.current.h})),Le("none")),ke(),oe.current={startX:E.clientX,startY:E.clientY,origX:ae,origY:de})},[_,V,F,Q,ae,de,ke]);n.useEffect(()=>{const E=ce=>{if(!U.current)return;const Z=ce.clientX-U.current.startX,Ce=ce.clientY-U.current.startY,ge=U.current.handle;let re=U.current.origW,le=U.current.origH;if(ge.includes("e")&&(re=U.current.origW+Z),ge.includes("w")&&(re=U.current.origW-Z),ge.includes("s")&&(le=U.current.origH+Ce),ge.includes("n")&&(le=U.current.origH-Ce),re=Math.max(a,T?Math.min(T,re):re),le=Math.max(y,z?Math.min(z,le):le),ge.includes("w")){const Ye=we.width-re;K(Ee=>({...Ee,x:Ee.x+Ye}))}if(ge.includes("n")){const Ye=we.height-le;K(Ee=>({...Ee,y:Ee.y+Ye}))}_e({width:re,height:le}),H?.(D,{width:re,height:le})},W=()=>{U.current=null};return document.addEventListener("mousemove",E),document.addEventListener("mouseup",W),()=>{document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",W)}});const at=n.useCallback((E,W)=>{!k||V||F||Q!=="none"||(W.preventDefault(),W.stopPropagation(),ke(),U.current={startX:W.clientX,startY:W.clientY,origW:ie,origH:se,handle:E})},[k,V,F,Q,ie,se,ke]);if(n.useEffect(()=>{if(!$e)return;const E=W=>{W.key==="Escape"&&F&&Pe()};return document.addEventListener("keydown",E),()=>document.removeEventListener("keydown",E)},[$e,F,Pe]),it)return null;const De=Q!=="none"?It(Q):null,Xe=V||F,dt=F?{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",zIndex:999999}:V?{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:g}:De?{position:"absolute",...De,zIndex:g}:{position:"absolute",top:de,left:ae,width:ie,height:se,zIndex:g},ut=["n","e","s","w","ne","se","sw","nw"],mt={n:"ns-resize",s:"ns-resize",e:"ew-resize",w:"ew-resize",ne:"nesw-resize",sw:"nesw-resize",nw:"nwse-resize",se:"nwse-resize"};return e.jsxs("div",{ref:Se,id:xe,className:`nice-window nice-window--${ue} ${$e?"nice-window--focused":""} ${je?"nice-window--pinned":""} ${Xe?"nice-window--maximized":""} ${Q!=="none"?`nice-window--snapped-${Q}`:""} ${fe??""}`,style:{...dt,...ze},onMouseDown:ke,role:"dialog","aria-label":i,...pe,children:[e.jsxs("div",{className:"nice-window__titlebar",onMouseDown:lt,onDoubleClick:rt,children:[s&&e.jsx("span",{className:"nice-window__icon",children:s}),e.jsx("span",{className:"nice-window__title",children:i}),e.jsxs("div",{className:"nice-window__actions",children:[he,r&&e.jsx("button",{type:"button",className:`nice-window__action nice-window__action--pin ${je?"nice-window__action--active":""}`,onClick:ct,title:ne("window.pin",je?"Unpin":"Pin"),children:e.jsx(X.oa,{name:"paperclip",size:14})}),B&&e.jsx("button",{type:"button",className:"nice-window__action nice-window__action--minimize",onClick:ot,title:ne("window.minimize","Minimize"),children:e.jsx(X.oa,{name:"minus",size:14})}),c&&e.jsx("button",{type:"button",className:"nice-window__action nice-window__action--maximize",onClick:Te,title:ne("window.maximize",V?"Restore":"Maximize"),children:e.jsx(X.oa,{name:V?"copy":"window",size:14})}),b&&e.jsx("button",{type:"button",className:"nice-window__action nice-window__action--fullscreen",onClick:Pe,title:ne("window.fullscreen",F?"Exit Full Screen":"Full Screen"),children:e.jsx(X.oa,{name:F?"collapse":"expand",size:14})}),R&&e.jsx("button",{type:"button",className:"nice-window__action nice-window__action--close",onClick:st,title:ne("window.close","Close"),children:e.jsx(X.oa,{name:"close",size:14})})]})]}),e.jsx("div",{className:"nice-window__body",children:l}),h&&e.jsx("div",{className:"nice-window__footer",children:h}),me&&e.jsx("div",{className:"nice-window__statusbar",children:me}),k&&!Xe&&Q==="none"&&e.jsx(e.Fragment,{children:ut.map(E=>e.jsx("div",{className:`nice-window__resize nice-window__resize--${E}`,style:{cursor:mt[E]},onMouseDown:W=>at(E,W)},E))})]})});Ke.displayName="NiceWindow";exports.NiceActionSheet=ht;exports.NiceBlockUI=Fe;exports.NiceBox=xt;exports.NiceCommandPaletteProvider=Ae;exports.NiceLoadPanel=pt;exports.NicePopover=ft;exports.NiceResizable=_t;exports.NiceResponsiveBox=wt;exports.NiceScrollView=gt;exports.NiceTutorial=Be;exports.NiceTutorialProvider=He;exports.NiceWindow=Ke;exports.NiceWindowManager=Ue;exports.fuzzyMatch=Me;exports.highlightMatches=Oe;exports.useCommandPalette=We;exports.useNiceTutorial=Rt;exports.useRegisterCommands=vt;