@fde-desktop/fde-core 0.4.9 → 0.4.10
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/dist/{AccordionChevron-DxpOyInK.js → AccordionChevron-CJXAq5o5.js} +1 -1
- package/dist/AccordionChevron-DBXp38Lm.cjs +1 -0
- package/dist/ActionIcon-C_SfdBfx.cjs +1 -0
- package/dist/{ActionIcon-Drh4p6Fv.js → ActionIcon-CtVbYlGY.js} +32 -32
- package/dist/AppEmptyState-BTujnL_b.js +4962 -0
- package/dist/AppEmptyState-Dc4GaDfu.cjs +1 -0
- package/dist/AppIcon--qzR4sgf.cjs +1 -0
- package/dist/{AppIcon-XumS3bIG.js → AppIcon-DCDuaU-t.js} +4 -4
- package/dist/AppMenuBar-BiHbNg9V.cjs +9 -0
- package/dist/AppMenuBar-CHJy8OF0.js +2639 -0
- package/dist/{Box-DSKR_qaa.js → Box-DRm8EabO.js} +271 -257
- package/dist/Box-D_64wv6n.cjs +1 -0
- package/dist/Button-D0FXpkur.cjs +1 -0
- package/dist/{Button-wTOTQKxF.js → Button-k7SxX1Xl.js} +38 -38
- package/dist/CalendarApp-C1HvuJoa.cjs +1 -0
- package/dist/CalendarApp-DBEQqsS_.js +1721 -0
- package/dist/{Center-CmxXB9ql.js → Center-CyryG5zn.js} +1 -1
- package/dist/Center-T4No_FAa.cjs +1 -0
- package/dist/{CheckIcon-N5qBqXQJ.js → CheckIcon-C3WjIR2i.js} +1 -1
- package/dist/CheckIcon-CBMLR6Gc.cjs +1 -0
- package/dist/CodeServerApp-B3l5QPuG.cjs +1 -0
- package/dist/CodeServerApp-BpeALSaX.js +2 -0
- package/dist/CodeServerApp-CRjCngFv.cjs +1 -0
- package/dist/{CodeServerApp-DW18EZxa.js → CodeServerApp-DY94cy1a.js} +47 -48
- package/dist/ColorPicker-BL4UbKCV.cjs +1 -0
- package/dist/{ColorPicker-BCNqi02x.js → ColorPicker-DvRR-wlQ.js} +364 -364
- package/dist/CreateItemApp-BU9wmjKM.cjs +1 -0
- package/dist/{CreateItemApp-TAAprby3.js → CreateItemApp-CtdH1K1g.js} +13 -13
- package/dist/CreateItemApp-t9F-a6wD.cjs +1 -0
- package/dist/{DeviceInfoApp-lgpwkeRR.js → DeviceInfoApp-C306YvtZ.js} +7 -7
- package/dist/DeviceInfoApp-Cdju_LIB.cjs +1 -0
- package/dist/DeviceInfoApp-CyB01v4D.cjs +1 -0
- package/dist/DownloadProgress-IRw1dzLX.cjs +1 -0
- package/dist/{DownloadProgress-EoyCaD5O.js → DownloadProgress-hdupSUBT.js} +15 -15
- package/dist/{FileIcon-7JaSR3Gn.js → FileIcon-BCpGMI5U.js} +25 -26
- package/dist/FileIcon-BCrsxmtt.cjs +1 -0
- package/dist/{FilePickerApp-DaMgEqKh.js → FilePickerApp-DMGuvahM.js} +115 -115
- package/dist/FilePickerApp-Eu0cr2Cm.cjs +1 -0
- package/dist/{FilesApp-Cj94QG5o.js → FilesApp-BQFVHkEn.js} +21 -21
- package/dist/FilesApp-BZ_dzZnF.cjs +1 -0
- package/dist/FilesApp-SIWXFPXt.cjs +1 -0
- package/dist/{Group-CtBJSfCo.js → Group-BzwlMeob.js} +1 -1
- package/dist/Group-DhwePB84.cjs +1 -0
- package/dist/ImageViewerApp-BOz59TGc.cjs +1 -0
- package/dist/ImageViewerApp-BeqY6voE.cjs +1 -0
- package/dist/{ImageViewerApp-BaLP3gkO.js → ImageViewerApp-CWiP6zx-.js} +17 -18
- package/dist/ImageViewerApp-DBAfJPSo.js +2 -0
- package/dist/{ImageViewerMenuBar-CabGSi9r.js → ImageViewerMenuBar-BULkh_Ku.js} +14 -15
- package/dist/ImageViewerMenuBar-Cb0Nr5-M.js +2 -0
- package/dist/ImageViewerMenuBar-CoEp0RxK.cjs +1 -0
- package/dist/ImageViewerMenuBar-zOkJtqKo.cjs +1 -0
- package/dist/MenuEditApp-BoKtj2GH.js +2 -0
- package/dist/MenuEditApp-D21sEp86.js +2615 -0
- package/dist/MenuEditApp-k3cPfTG9.cjs +1 -0
- package/dist/MenuEditApp-sz9GlLVH.cjs +5 -0
- package/dist/MenuEditMenuBar-6QxlIDpl.cjs +1 -0
- package/dist/{MenuEditMenuBar-x1IQrHP2.js → MenuEditMenuBar-B94z4Umw.js} +12 -13
- package/dist/MenuEditMenuBar-Bv6R42lf.js +2 -0
- package/dist/MenuEditMenuBar-CBsmH_-T.cjs +1 -0
- package/dist/NotesApp-BtR55Hva.cjs +207 -0
- package/dist/NotesApp-C59exz_9.js +16154 -0
- package/dist/NotesApp-D47I5LS_.js +2 -0
- package/dist/NotesApp-lOwsi2sg.cjs +1 -0
- package/dist/{NotesMenuBar-VhpIe68v.js → NotesMenuBar-BB4NkKGf.js} +9 -10
- package/dist/NotesMenuBar-BZITC74y.cjs +1 -0
- package/dist/NotesMenuBar-Bp0sPqyR.cjs +1 -0
- package/dist/NotesMenuBar-xlfODmMA.js +2 -0
- package/dist/{Paper-BX_9odR6.js → Paper-DtUYKmYn.js} +3 -3
- package/dist/Paper-DwCpwWwH.cjs +1 -0
- package/dist/PdfApp-1XbFGfoY.cjs +1 -0
- package/dist/PdfApp-BhIoJWeK.cjs +1 -0
- package/dist/PdfApp-C5Rt1Zaw.js +2 -0
- package/dist/PdfApp-C8Hwxxqh.js +38 -0
- package/dist/PdfMenuBar-BA9rKuMP.cjs +1 -0
- package/dist/PdfMenuBar-JXHqwxhZ.cjs +1 -0
- package/dist/PdfMenuBar-R0fu7oYF.js +2 -0
- package/dist/PdfMenuBar-sd-9Vk3h.js +38 -0
- package/dist/SettingsApp-7EhpjzUE.cjs +1 -0
- package/dist/SettingsApp-ByiPAj1I.cjs +1 -0
- package/dist/{SettingsApp-BlmHuAjT.js → SettingsApp-d6fmBHxR.js} +342 -344
- package/dist/SettingsApp-qKJmC0lj.js +2 -0
- package/dist/SettingsMenuBar-BPwv8JQK.js +41 -0
- package/dist/SettingsMenuBar-D8R7hOik.js +2 -0
- package/dist/SettingsMenuBar-DDrjZLmg.cjs +1 -0
- package/dist/SettingsMenuBar-DQjUa8g1.cjs +1 -0
- package/dist/{Slider-t-NcD60t.js → Slider-BNO-vDFn.js} +147 -148
- package/dist/Slider-Bg_EIBg6.cjs +1 -0
- package/dist/Stack-BOaJgV3N.cjs +1 -0
- package/dist/{Stack-Bp1Ek2Gp.js → Stack-CuDEaP7e.js} +1 -1
- package/dist/StorybookApp-Bkr-7mXp.cjs +1 -0
- package/dist/{StorybookApp-DKwlPCmo.js → StorybookApp-WYninkJo.js} +1 -1
- package/dist/TerminalApp-8XbsKAWa.js +10041 -0
- package/dist/TerminalApp-Bq2e7QQu.cjs +1 -0
- package/dist/TerminalApp-CVu3Axc9.js +2 -0
- package/dist/TerminalApp-b7_d0jRO.cjs +36 -0
- package/dist/TerminalMenuBar-Cb8x9laS.js +2 -0
- package/dist/TerminalMenuBar-De-FH5AE.cjs +1 -0
- package/dist/{TerminalMenuBar-D5tPmgR_.js → TerminalMenuBar-iKLydNda.js} +14 -15
- package/dist/TerminalMenuBar-yOaWd-hn.cjs +1 -0
- package/dist/{TextInput-C-JtGWn1.js → TextInput-C3qfxxWI.js} +263 -264
- package/dist/TextInput-DcYns3hz.cjs +1 -0
- package/dist/Tooltip-CAOO-qdx.js +3185 -0
- package/dist/Tooltip-DDh_x-CB.cjs +1 -0
- package/dist/{UnstyledButton-DGaG-e_G.js → UnstyledButton-CI3kyRck.js} +1 -1
- package/dist/UnstyledButton-Cl5RuIid.cjs +1 -0
- package/dist/{UploaderApp-qBfpukR_.js → UploaderApp-C76ydsd8.js} +117 -118
- package/dist/UploaderApp-CHACW8Yr.js +2 -0
- package/dist/UploaderApp-Q_a3mBik.cjs +1 -0
- package/dist/UploaderApp-htj59ppo.cjs +1 -0
- package/dist/VscIcon-CxEmqD80.cjs +1 -0
- package/dist/{VscIcon-DBfVnArE.js → VscIcon-DueRJVTe.js} +1 -1
- package/dist/chunk-BQCxAhux.js +23 -0
- package/dist/chunk-CiTBaPhY.cjs +1 -0
- package/dist/create-safe-context-95P-Bfg3.cjs +1 -0
- package/dist/{desktopStore-F8bgLqFl.js → desktopStore-B0R1-BeA.js} +393 -256
- package/dist/desktopStore-Cox-Og1z.cjs +1 -0
- package/dist/fc-DejOsQyD.cjs +1 -0
- package/dist/fc-kd8WzIER.js +20536 -0
- package/dist/fc-xJ_v2ayq.cjs +184 -0
- package/dist/fi-BahYsbim.js +9993 -0
- package/dist/fi-BkhyTcZo.cjs +1 -0
- package/dist/getRuntime-BLXyQZBB.cjs +1 -0
- package/dist/{getRuntime-DAPqFH2W.js → getRuntime-CCRXVzJH.js} +5 -5
- package/dist/iconBase-B4UCuSvv.cjs +1 -0
- package/dist/iconBase-D7iPes7B.js +108 -0
- package/dist/imageViewerStore-CH1qW6md.cjs +1 -0
- package/dist/{imageViewerStore-C5kWz0o7.js → imageViewerStore-CJMRXaQh.js} +1 -1
- package/dist/index.cjs +53 -1
- package/dist/index.css +1 -1
- package/dist/index.js +5903 -1728
- package/dist/is-element-BocgicRg.cjs +1 -0
- package/dist/{menuEditStore-Cj1zAwxQ.js → menuEditStore-C8S_EedM.js} +1 -1
- package/dist/menuEditStore-CU7IAg3L.cjs +1 -0
- package/dist/{notesStore-BPyRTHEc.js → notesStore-DKRgTTFn.js} +1 -1
- package/dist/notesStore-zKmChTfF.cjs +1 -0
- package/dist/react-DYmzHD0X.js +27 -0
- package/dist/react-Dldg32sN.cjs +1 -0
- package/dist/settingsAppStore-BrlImdAH.cjs +1 -0
- package/dist/{settingsAppStore-BDQ3ts1y.js → settingsAppStore-KOeWRO6h.js} +1 -1
- package/dist/{terminalStore-IWdf4Mm6.js → terminalStore-LWWjCvCe.js} +1 -1
- package/dist/terminalStore-fZe5t7Ty.cjs +1 -0
- package/dist/use-merged-ref-BI9n1hUK.cjs +1 -0
- package/dist/{use-resolved-styles-api-8OXE2oRq.cjs → use-resolved-styles-api-AVDygMKo.cjs} +1 -1
- package/dist/{use-resolved-styles-api-DNUlJJZf.js → use-resolved-styles-api-pEOi2wiK.js} +1 -1
- package/dist/use-uncontrolled-BPrfGv0W.cjs +1 -0
- package/dist/useAdaptiveDimensions-Btp0m5Pm.cjs +1 -0
- package/dist/{useAdaptiveDimensions-AVDc_qPa.js → useAdaptiveDimensions-CunsU0mn.js} +1 -1
- package/dist/{useCloseInterceptor-BZd3VILp.js → useCloseInterceptor-CuKAAFnj.js} +12 -12
- package/dist/useCloseInterceptor-a_6Lcuqj.cjs +1 -0
- package/dist/{useDynamicIcon-Bf0t2foA.js → useDynamicIcon-GJg3vWsJ.js} +1 -1
- package/dist/useDynamicIcon-SytdL1Tu.cjs +1 -0
- package/dist/{useOpenApp-CBIm7Gzl.js → useOpenApp-BVpSfNrG.js} +3 -3
- package/dist/useOpenApp-Br0jo4-y.cjs +1 -0
- package/dist/useResolvedUrl-Be5ZlCX7.cjs +1 -0
- package/dist/{useResolvedUrl-DQpLqOoL.js → useResolvedUrl-DFKXq598.js} +2 -2
- package/dist/useTranslation-DMRGdqZi.js +279 -0
- package/dist/useTranslation-D_O7S4RJ.cjs +1 -0
- package/dist/vsc-Ciibqbxo.cjs +1 -0
- package/dist/vsc-DGKSpOAR.js +9574 -0
- package/package.json +4 -2
- package/dist/AccordionChevron-kn5kSrEc.cjs +0 -1
- package/dist/ActionIcon-alk2zZD6.cjs +0 -1
- package/dist/AppEmptyState-BWCUbf-B.cjs +0 -1
- package/dist/AppEmptyState-Bxpit0JV.js +0 -49
- package/dist/AppIcon-BU7a3ZNH.cjs +0 -1
- package/dist/AppMenuBar-B9U0n1Vv.cjs +0 -1
- package/dist/AppMenuBar-CnIEVjr8.js +0 -2049
- package/dist/Box-zW6Twge8.cjs +0 -1
- package/dist/Button-DMlnrqyx.cjs +0 -1
- package/dist/CalendarApp-B_e1B1Yn.cjs +0 -1
- package/dist/CalendarApp-C-l9D6nd.cjs +0 -1
- package/dist/CalendarApp-D0ftTCTG.js +0 -1399
- package/dist/Center-DKUE2pER.cjs +0 -1
- package/dist/CheckIcon-CZhtJD1O.cjs +0 -1
- package/dist/CodeServerApp-BOoGwZ7r.cjs +0 -1
- package/dist/CodeServerApp-Be3I5EGg.cjs +0 -1
- package/dist/ColorPicker-BrDE7tMO.cjs +0 -1
- package/dist/CreateItemApp-B12M1E_1.cjs +0 -1
- package/dist/CreateItemApp-ePB6ujNl.cjs +0 -1
- package/dist/DeviceInfoApp-BMF18BGo.cjs +0 -1
- package/dist/DeviceInfoApp-DRy0H3aT.cjs +0 -1
- package/dist/DownloadProgress-VNdj22U8.cjs +0 -1
- package/dist/FileIcon-CIXopWLv.cjs +0 -1
- package/dist/FilePickerApp-DjmuSFqa.cjs +0 -1
- package/dist/FilesApp-Bp7wfrBZ.cjs +0 -1
- package/dist/FilesApp-BpJJRKhi.cjs +0 -1
- package/dist/Group-Dsrf6lEK.cjs +0 -1
- package/dist/ImageViewerApp-DlHGeB3S.cjs +0 -1
- package/dist/ImageViewerApp-DoXd_Swu.cjs +0 -1
- package/dist/ImageViewerMenuBar-SAI7UNz7.cjs +0 -1
- package/dist/ImageViewerMenuBar-_Jr29gii.cjs +0 -1
- package/dist/MenuEditApp-BJjlPTOa.cjs +0 -1
- package/dist/MenuEditApp-BTRppYnD.js +0 -497
- package/dist/MenuEditApp-JPsGT-S3.cjs +0 -1
- package/dist/MenuEditMenuBar-BydGkqMw.cjs +0 -1
- package/dist/MenuEditMenuBar-DptlwVPQ.cjs +0 -1
- package/dist/NotesApp-BOcRGO7w.cjs +0 -1
- package/dist/NotesApp-CQe7UfBC.js +0 -364
- package/dist/NotesApp-OL07JXRE.cjs +0 -1
- package/dist/NotesMenuBar-BSI_2Y7p.cjs +0 -1
- package/dist/NotesMenuBar-Df6aW85J.cjs +0 -1
- package/dist/Paper-D8-BaBx2.cjs +0 -1
- package/dist/PdfApp-CNEbty5v.cjs +0 -1
- package/dist/PdfApp-CVv3ZCaM.cjs +0 -1
- package/dist/PdfApp-DL_R9-Nc.js +0 -39
- package/dist/PdfMenuBar--E6kDyrT.cjs +0 -1
- package/dist/PdfMenuBar-DZCLSOpR.js +0 -39
- package/dist/PdfMenuBar-Dj5cJUkg.cjs +0 -1
- package/dist/SettingsApp-CNvIgf5B.cjs +0 -1
- package/dist/SettingsApp-DWxanNE4.cjs +0 -1
- package/dist/SettingsMenuBar-CBoOBCfx.cjs +0 -1
- package/dist/SettingsMenuBar-DQooFkZN.cjs +0 -1
- package/dist/SettingsMenuBar-YWiJHaxq.js +0 -42
- package/dist/Slider-BUiHxjKO.cjs +0 -1
- package/dist/Stack-D4jAiRfc.cjs +0 -1
- package/dist/StorybookApp-CDLV_kja.cjs +0 -1
- package/dist/TerminalApp-BCB7i1lR.cjs +0 -1
- package/dist/TerminalApp-BYc_gHLe.js +0 -326
- package/dist/TerminalApp-Dviz6aP2.cjs +0 -1
- package/dist/TerminalMenuBar-DNshPmCa.cjs +0 -1
- package/dist/TerminalMenuBar-HzMSR7XP.cjs +0 -1
- package/dist/TextInput-CrsmcOip.cjs +0 -1
- package/dist/Tooltip-D5Cd9wtz.cjs +0 -1
- package/dist/Tooltip-DOeIvhrO.js +0 -1142
- package/dist/UnstyledButton-DX2pTahr.cjs +0 -1
- package/dist/UploaderApp-C6xA5Rrf2.cjs +0 -1
- package/dist/UploaderApp-DnHIRxB_.cjs +0 -1
- package/dist/VscIcon-CcMdrFoJ.cjs +0 -1
- package/dist/create-safe-context-Bboj0GWC.cjs +0 -1
- package/dist/desktopStore-CZoA9VHO.cjs +0 -1
- package/dist/getRuntime-BFK0-8R1.cjs +0 -1
- package/dist/imageViewerStore-BB_tssZR.cjs +0 -1
- package/dist/is-element-CdV0xajp.cjs +0 -1
- package/dist/menuEditStore-CTeM_dns.cjs +0 -1
- package/dist/notesStore-BCEl1D_v.cjs +0 -1
- package/dist/rolldown-runtime-CAFD8bLK.js +0 -11
- package/dist/settingsAppStore-CMBc13VU.cjs +0 -1
- package/dist/terminalStore-iIuyodfK.cjs +0 -1
- package/dist/use-merged-ref-n9Gw9LNn.cjs +0 -1
- package/dist/use-uncontrolled-DDJVQiM_.cjs +0 -1
- package/dist/useAdaptiveDimensions-CfITBJ_m.cjs +0 -1
- package/dist/useCloseInterceptor-yntBEzNc.cjs +0 -1
- package/dist/useDynamicIcon-DJ_il30E.cjs +0 -1
- package/dist/useOpenApp-DW4x79Zg.cjs +0 -1
- package/dist/useResolvedUrl-BkMPM1fM.cjs +0 -1
- /package/dist/{Colors-zP2AFgU3.cjs → Colors-BxX4G8kX.cjs} +0 -0
- /package/dist/{Colors-ClnDxnyA.js → Colors-hca6raEG.js} +0 -0
- /package/dist/{useMenuBarUtils-nJIPJGIQ.cjs → useMenuBarUtils-Bp5PiztD.cjs} +0 -0
- /package/dist/{useMenuBarUtils-nmu9yehT.js → useMenuBarUtils-ChmpZjwu.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-CiTBaPhY.cjs`);const e=require(`./Box-D_64wv6n.cjs`),t=require(`./ColorPicker-BL4UbKCV.cjs`),n=require(`./Tooltip-DDh_x-CB.cjs`),r=require(`./TextInput-DcYns3hz.cjs`),i=require(`./use-merged-ref-BI9n1hUK.cjs`),a=require(`./UnstyledButton-Cl5RuIid.cjs`),o=require(`./ActionIcon-C_SfdBfx.cjs`),s=require(`./Group-DhwePB84.cjs`),c=require(`./getRuntime-BLXyQZBB.cjs`),l=require(`./Button-D0FXpkur.cjs`),u=require(`./desktopStore-Cox-Og1z.cjs`),d=require(`./useDynamicIcon-SytdL1Tu.cjs`),f=require(`./VscIcon-CxEmqD80.cjs`);let p=require(`react`),m=require(`react/jsx-runtime`),h=require(`react-dom`);function g(e){if(!e||typeof e==`string`)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function _(e){return e.current?e.current.scrollHeight:`auto`}function v({transitionDuration:e,transitionTimingFunction:t=`ease`,onTransitionEnd:n,onTransitionStart:a,expanded:o,keepMounted:s}){let c={height:0,overflow:`hidden`,...s?{}:{display:`none`}},l=(0,p.useEffectEvent)(()=>a?.()),u=(0,p.useRef)(null),[d,f]=(0,p.useState)(o?{}:c),[m,v]=(0,p.useState)(o?`entered`:`exited`),y=e=>{(0,h.flushSync)(()=>f(e))},b=e=>{y(t=>({...t,...e}))},x=n=>{let r=e||g(n);return{transition:`height ${r}ms ${t}, opacity ${r}ms ${t}`}};r.d(()=>{e!==0&&l(),o?window.requestAnimationFrame(()=>{(0,h.flushSync)(()=>v(`entering`)),b({willChange:`height`,display:`block`,overflow:`hidden`}),window.requestAnimationFrame(()=>{let e=_(u);b({...x(e),height:e})})}):window.requestAnimationFrame(()=>{(0,h.flushSync)(()=>v(`exiting`));let e=_(u);b({...x(e),willChange:`height`,height:e}),window.requestAnimationFrame(()=>b({height:0,overflow:`hidden`}))})},[o]);let S=e=>{if(!(e.target!==u.current||e.propertyName!==`height`))if(o){let e=_(u);e===d.height?y({}):b({height:e}),v(`entered`),n?.()}else d.height===0&&(y(c),v(`exited`),n?.())};return{state:m,getCollapseProps:e=>({"aria-hidden":!o,inert:!o,ref:i.n(u,e?.ref),onTransitionEnd:S,style:{boxSizing:`border-box`,...e?.style,...d}})}}function y(e){if(!e||typeof e==`string`)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function b(e){return e.current?e.current.scrollWidth:`auto`}function x({transitionDuration:e,transitionTimingFunction:t=`ease`,onTransitionEnd:n,onTransitionStart:a,expanded:o,keepMounted:s}){let c={width:0,overflow:`hidden`,...s?{}:{display:`none`}},l=(0,p.useRef)(null),[u,d]=(0,p.useState)(o?{}:c),[f,m]=(0,p.useState)(o?`entered`:`exited`),g=e=>{(0,h.flushSync)(()=>d(e))},_=e=>{g(t=>({...t,...e}))},v=n=>{let r=e||y(n);return{transition:`width ${r}ms ${t}, opacity ${r}ms ${t}`}};r.d(()=>{e!==0&&a?.(),o?window.requestAnimationFrame(()=>{(0,h.flushSync)(()=>m(`entering`)),_({willChange:`width`,display:`block`,overflow:`hidden`}),window.requestAnimationFrame(()=>{let e=b(l);_({...v(e),width:e})})}):window.requestAnimationFrame(()=>{(0,h.flushSync)(()=>m(`exiting`));let e=b(l);_({...v(e),willChange:`width`,width:e}),window.requestAnimationFrame(()=>_({width:0,overflow:`hidden`}))})},[o,a]);let x=e=>{if(!(e.target!==l.current||e.propertyName!==`width`))if(o){let e=b(l);e===u.width?g({}):_({width:e}),m(`entered`),n?.()}else u.width===0&&(g(c),m(`exited`),n?.())};return{state:f,getCollapseProps:e=>({"aria-hidden":!o,inert:!o,ref:i.n(l,e?.ref),onTransitionEnd:x,style:{boxSizing:`border-box`,...e?.style,...u}})}}var S={transitionDuration:200,transitionTimingFunction:`ease`,animateOpacity:!0,orientation:`vertical`},C=e.r(t=>{let{children:i,expanded:a,transitionDuration:o,transitionTimingFunction:s,style:c,onTransitionEnd:l,onTransitionStart:u,animateOpacity:d,keepMounted:f,ref:h,orientation:g,..._}=e.l(`Collapse`,S,t),y=e.h(),b=e.d(),C=r.l(),w=b.respectReducedMotion&&C?0:o,T=(g===`horizontal`?x:v)({expanded:a,transitionDuration:w,transitionTimingFunction:s,onTransitionEnd:l,onTransitionStart:u,keepMounted:!1});if(w===0)return f===!0&&y!==`test`?(0,m.jsx)(p.Activity,{mode:a?`visible`:`hidden`,children:(0,m.jsx)(e.t,{..._,children:i})}):a?(0,m.jsx)(e.t,{..._,children:i}):null;let E=T.state===`exited`,D;return D=f===!1?E?null:i:f===!0?(0,m.jsx)(p.Activity,{mode:E?`hidden`:`visible`,children:i}):i,(0,m.jsx)(e.t,{..._,...T.getCollapseProps({style:{opacity:a||!d?1:0,transition:d?`opacity ${w}ms ${s}`:`none`,...n.c(c,b)},ref:h}),children:D})});C.displayName=`@mantine/core/Collapse`;var w={root:`_root_1jzye_1`,iconGrid:`_iconGrid_1jzye_7`,iconButton:`_iconButton_1jzye_11`},T=[`VscFolder`,`VscFolderOpened`,`VscHome`,`VscServer`,`VscDatabase`,`VscBook`,`VscMail`,`VscGithub`,`VscCloud`,`VscLock`,`VscSettingsGear`,`VscStar`,`VscHeart`,`VscMusic`,`VscCamera`,`VscArchive`],E=({selectedIcon:e,selectedColor:r,onIconChange:i,onColorChange:o,colorError:s})=>(0,m.jsxs)(`div`,{className:w.root,children:[(0,m.jsx)(t.n,{cols:8,spacing:4,className:w.iconGrid,children:T.map(t=>{let o=e===t;return(0,m.jsx)(n.t,{label:t,openDelay:500,children:(0,m.jsx)(a.t,{className:w.iconButton,"data-selected":o||void 0,onClick:()=>i(t),"aria-label":t,"aria-pressed":o,children:(0,m.jsx)(f.t,{name:t,size:20,color:r})})},t)})}),(0,m.jsx)(t.t,{value:r,onChange:o,error:s})]}),D={content:`_content_ej839_1`,header:`_header_ej839_8`,nameRow:`_nameRow_ej839_13`,iconPreview:`_iconPreview_ej839_19`,nameInput:`_nameInput_ej839_30`,collapseToggle:`_collapseToggle_ej839_34`,pickerWrapper:`_pickerWrapper_ej839_46`},O=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/,k=e=>O.test(e),A={size:14,style:{display:`block`}},j=({open:e})=>d.i(e?`FcCollapse`:`FcExpand`,A),M=()=>d.i(`FcCancel`,A),N=()=>d.i(`FcCheckmark`,A),P=`VscFolder`,F=`#228be6`,I=`New File`,L=`New Folder`,R=36,z=({window:e})=>{let t=e,n=t?.contentData?.mode??`folder`,i=t?.contentData?.parentId??null,f=t?.contentData?.currentPath??`/home`,[h,g]=(0,p.useState)(n===`folder`?L:I),[_,v]=(0,p.useState)(P),[y,b]=(0,p.useState)(F),[x,S]=(0,p.useState)(t?.contentData?.iconPickerOpen??!1),w=(0,p.useRef)(null),T=u.o(e=>e.closeWindow),O=u.o(e=>e.resizeWindow),A=u.o(e=>e.createFile),z=u.o(e=>e.createFolder),B=u.o(e=>e.addNotification),V=u.o(e=>e.fsNodes),H=u.o(e=>e.windows.find(e=>e.id===t?.id)?.width??400),U=V.some(e=>e.parentId===i&&e.type===n&&e.name===h.trim()),W=n===`folder`&&x&&!k(y),G=h.trim().length>0&&!U&&!W;(0,p.useEffect)(()=>{if(!t?.id||!w.current)return;let e=w.current,n=new ResizeObserver(()=>{O(t.id,H,e.scrollHeight+R)});return n.observe(e),()=>n.disconnect()},[t,H,O]);let K=()=>{if(!G)return;let e=h.trim(),r=i??null,a=_,o=y;T(t.id),n===`folder`?z(e,r,a,o).catch(e=>{console.error(`Failed to create folder:`,e),B({id:`create-folder-error-${Date.now()}`,title:`Error`,message:`Failed to create folder: ${e instanceof Error?e.message:`Unknown error`}`,fcIcon:`FcHighPriority`})}):A(e,``,r).catch(e=>{console.error(`Failed to create file:`,e),B({id:`create-file-error-${Date.now()}`,title:`Error`,message:`Failed to create file: ${e instanceof Error?e.message:`Unknown error`}`,fcIcon:`FcHighPriority`})})},q=()=>{T(t.id)},J=d.c(_,{size:40,color:y});return(0,m.jsxs)(`div`,{ref:w,className:D.root,children:[(0,m.jsx)(`div`,{className:D.header,children:(0,m.jsxs)(c.o,{fw:600,size:`sm`,children:[n===`folder`?`Create new folder`:`Create new file`,` in `,f,`:`]})}),(0,m.jsxs)(`div`,{className:D.content,children:[(0,m.jsxs)(`div`,{className:D.nameRow,children:[n===`folder`&&J&&(0,m.jsx)(`div`,{className:D.iconPreview,"aria-hidden":`true`,children:J}),(0,m.jsx)(r.t,{value:h,onChange:e=>g(e.currentTarget.value),onKeyDown:e=>e.key===`Enter`&&K(),error:U?`There is already a ${n} with that name`:void 0,rightSection:h?(0,m.jsx)(o.t,{variant:`transparent`,size:`sm`,onClick:()=>g(``),"aria-label":`Clear name`,children:(0,m.jsx)(M,{})}):null,autoFocus:!0,className:D.nameInput,"aria-label":`Item name`})]}),n===`folder`&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(a.t,{className:D.collapseToggle,onClick:()=>S(e=>!e),"aria-expanded":x,children:[(0,m.jsx)(j,{open:x}),(0,m.jsx)(c.o,{size:`sm`,ml:6,children:`Choose custom icon or color`})]}),(0,m.jsx)(C,{expanded:x,children:(0,m.jsx)(`div`,{className:D.pickerWrapper,children:(0,m.jsx)(E,{selectedIcon:_,selectedColor:y,onIconChange:v,onColorChange:b,colorError:W?`Enter a valid hex color (e.g. #ff0000)`:void 0})})}),(0,m.jsx)(c.o,{size:`xs`,c:`dimmed`,mt:4,children:`You can change the icon later in folder properties.`})]}),(0,m.jsxs)(s.t,{justify:`flex-end`,mt:`md`,children:[(0,m.jsx)(l.t,{variant:`default`,size:`sm`,onClick:q,leftSection:(0,m.jsx)(M,{}),children:`Cancel`}),(0,m.jsx)(l.t,{size:`sm`,onClick:K,leftSection:(0,m.jsx)(N,{}),disabled:!G,children:`OK`})]})]})]})};Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return z}});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as t, h as n, l as r, r as i, t as a } from "./Box-
|
|
3
|
-
import { n as o, t as s } from "./ColorPicker-
|
|
4
|
-
import {
|
|
5
|
-
import { d as u, l as d, t as f } from "./TextInput-
|
|
1
|
+
import { r as e } from "./chunk-BQCxAhux.js";
|
|
2
|
+
import { d as t, h as n, l as r, r as i, t as a } from "./Box-DRm8EabO.js";
|
|
3
|
+
import { n as o, t as s } from "./ColorPicker-DvRR-wlQ.js";
|
|
4
|
+
import { c, t as l } from "./Tooltip-CAOO-qdx.js";
|
|
5
|
+
import { d as u, l as d, t as f } from "./TextInput-C3qfxxWI.js";
|
|
6
6
|
import { n as p } from "./use-merged-ref-BT8_u6vW.js";
|
|
7
|
-
import { t as m } from "./UnstyledButton-
|
|
8
|
-
import { t as h } from "./ActionIcon-
|
|
9
|
-
import { t as g } from "./Group-
|
|
10
|
-
import { o as _ } from "./getRuntime-
|
|
11
|
-
import { t as v } from "./Button-
|
|
12
|
-
import { o as y } from "./desktopStore-
|
|
13
|
-
import { c as b, i as x } from "./useDynamicIcon-
|
|
14
|
-
import { t as S } from "./VscIcon-
|
|
7
|
+
import { t as m } from "./UnstyledButton-CI3kyRck.js";
|
|
8
|
+
import { t as h } from "./ActionIcon-CtVbYlGY.js";
|
|
9
|
+
import { t as g } from "./Group-BzwlMeob.js";
|
|
10
|
+
import { o as _ } from "./getRuntime-CCRXVzJH.js";
|
|
11
|
+
import { t as v } from "./Button-k7SxX1Xl.js";
|
|
12
|
+
import { o as y } from "./desktopStore-B0R1-BeA.js";
|
|
13
|
+
import { c as b, i as x } from "./useDynamicIcon-GJg3vWsJ.js";
|
|
14
|
+
import { t as S } from "./VscIcon-DueRJVTe.js";
|
|
15
15
|
import { Activity as C, useEffect as w, useEffectEvent as T, useRef as E, useState as D } from "react";
|
|
16
16
|
import { Fragment as O, jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
17
17
|
import { flushSync as j } from "react-dom";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-CiTBaPhY.cjs`);const e=require(`./CreateItemApp-BU9wmjKM.cjs`);exports.default=e.t;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as s } from "./Paper-
|
|
4
|
-
import { i as c, o as l, r as u } from "./getRuntime-
|
|
5
|
-
import { t as d } from "./Stack-
|
|
6
|
-
import { o as f, p } from "./desktopStore-
|
|
7
|
-
import { t as m } from "./useAdaptiveDimensions-
|
|
1
|
+
import { r as e } from "./chunk-BQCxAhux.js";
|
|
2
|
+
import { O as t, c as n, l as r, r as i, t as a, x as o } from "./Box-DRm8EabO.js";
|
|
3
|
+
import { t as s } from "./Paper-DtUYKmYn.js";
|
|
4
|
+
import { i as c, o as l, r as u } from "./getRuntime-CCRXVzJH.js";
|
|
5
|
+
import { t as d } from "./Stack-CuDEaP7e.js";
|
|
6
|
+
import { o as f, p } from "./desktopStore-B0R1-BeA.js";
|
|
7
|
+
import { t as m } from "./useAdaptiveDimensions-CunsU0mn.js";
|
|
8
8
|
import { useCallback as h, useEffect as g, useState as _ } from "react";
|
|
9
9
|
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
10
10
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Code/Code.module.mjs
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-CiTBaPhY.cjs`);const e=require(`./Box-D_64wv6n.cjs`),t=require(`./Paper-DwCpwWwH.cjs`),n=require(`./getRuntime-BLXyQZBB.cjs`),r=require(`./Stack-BOaJgV3N.cjs`),i=require(`./desktopStore-Cox-Og1z.cjs`),a=require(`./useAdaptiveDimensions-Btp0m5Pm.cjs`);let o=require(`react`),s=require(`react/jsx-runtime`);var c={root:`m_b183c0a2`},l=e.O((t,{color:n})=>({root:{"--code-bg":n?e.x(n,t):void 0}})),u=e.r(t=>{let n=e.l(`Code`,null,t),{classNames:r,className:i,style:a,styles:o,unstyled:u,vars:d,color:f,block:p,mod:m,attributes:h,...g}=n,_=e.c({name:`Code`,props:n,classes:c,className:i,style:a,classNames:r,styles:o,unstyled:u,attributes:h,vars:d,varsResolver:l});return(0,s.jsx)(e.t,{component:p?`pre`:`code`,mod:[{block:p},m],..._(`root`),...g,dir:`ltr`})});u.classes=c,u.varsResolver=l,u.displayName=`@mantine/core/Code`;var d=()=>{let e=window.innerWidth,t=window.matchMedia(`(pointer: coarse)`).matches;return e<i.p.MOBILE||t},f=()=>{let e=window.innerWidth;return e>=i.p.MOBILE&&e<i.p.TABLET},p=()=>window.innerWidth>=i.p.TABLET,m=()=>screen.orientation?screen.orientation.type.includes(`portrait`):window.innerHeight>window.innerWidth;function h(){let[e,t]=(0,o.useState)(()=>({isMobile:d(),isTablet:f(),isDesktop:p(),isPortrait:m(),shouldShowWarning:d()&&m(),screenWidth:window.innerWidth,screenHeight:window.innerHeight})),n=(0,o.useCallback)(()=>{let e=d(),n=m();t({isMobile:e,isTablet:f(),isDesktop:p(),isPortrait:n,shouldShowWarning:e&&n,screenWidth:window.innerWidth,screenHeight:window.innerHeight})},[]);return(0,o.useEffect)(()=>(window.addEventListener(`resize`,n),screen.orientation?.addEventListener?.(`change`,n),()=>{window.removeEventListener(`resize`,n),screen.orientation?.removeEventListener?.(`change`,n)}),[n]),e}var g={container:`_container_1o4i3_1`},_=({window:e,notifyReady:c})=>{let l=h(),d=a.t(),f=i.o(e=>e.viewportWidth),p=i.o(e=>e.viewportHeight),m=i.o(e=>e.setViewportSize);return(0,o.useEffect)(()=>{c?.({})},[c]),(0,o.useEffect)(()=>{let e=()=>{m(window.innerWidth,window.innerHeight)};return e(),window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[m]),(0,s.jsxs)(`div`,{className:g.container,"data-windowid":e?.id,children:[(0,s.jsx)(t.t,{p:`sm`,shadow:`sm`,withBorder:!0,children:(0,s.jsxs)(r.t,{gap:`xs`,children:[(0,s.jsx)(n.o,{fw:`bold`,size:`sm`,children:`Runtime Environment`}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`isDocker:`}),` `,String(n.i())]}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`isDev:`}),` `,String(n.r())]})]})}),(0,s.jsx)(t.t,{p:`sm`,shadow:`sm`,withBorder:!0,mt:`sm`,children:(0,s.jsxs)(r.t,{gap:`xs`,children:[(0,s.jsx)(n.o,{fw:`bold`,size:`sm`,children:`Device Detection`}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`isMobile:`}),` `,String(l.isMobile)]}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`isTablet:`}),` `,String(l.isTablet)]}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`isDesktop:`}),` `,String(l.isDesktop)]}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`isPortrait:`}),` `,String(l.isPortrait)]}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`shouldShowWarning:`}),` `,String(l.shouldShowWarning)]}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`viewportWidth:`}),` `,f,`px`]}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`viewportHeight:`}),` `,p,`px`]}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`defaultWidth:`}),` `,d.defaultWidth,`px`]}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`defaultHeight:`}),` `,d.defaultHeight,`px`]}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`minWidth:`}),` `,d.minWidth,`px`]}),(0,s.jsxs)(n.o,{size:`xs`,children:[(0,s.jsx)(u,{children:`minHeight:`}),` `,d.minHeight,`px`]})]})})]})};Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return _}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-CiTBaPhY.cjs`);const e=require(`./DeviceInfoApp-Cdju_LIB.cjs`);exports.default=e.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-CiTBaPhY.cjs`);const e=require(`./Box-D_64wv6n.cjs`),t=require(`./create-safe-context-95P-Bfg3.cjs`),n=require(`./use-resolved-styles-api-AVDygMKo.cjs`),r=require(`./Group-DhwePB84.cjs`),i=require(`./getRuntime-BLXyQZBB.cjs`),a=require(`./useDynamicIcon-SytdL1Tu.cjs`);let o=require(`react`),s=require(`react/jsx-runtime`);function c({color:t,theme:n,autoContrast:r}){return(typeof r==`boolean`?r:n.autoContrast)&&e.S({color:t||n.primaryColor,theme:n}).isLight?`var(--mantine-color-black)`:`var(--mantine-color-white)`}function l(t,n){return c({color:t.colors[t.primaryColor][e.w(t,n)],theme:t,autoContrast:null})}function u(e,t){return typeof e==`boolean`?e:t.autoContrast}var[d,f]=t.t(`Progress.Root component was not found in tree`),p={root:`m_db6d6462`,section:`m_2242eb65`,"stripes-animation":`m_81a374bd`,"stripes-animation-vertical":`m_e0fb7a86`,label:`m_91e40b74`},m=e.r(t=>{let{classNames:n,className:r,style:i,styles:a,vars:o,...c}=e.l(`ProgressLabel`,null,t);return(0,s.jsx)(e.t,{...f().getStyles(`label`,{className:r,style:i,classNames:n,styles:a}),...c})});m.classes=p,m.displayName=`@mantine/core/ProgressLabel`;var h=e.O((t,{size:n,radius:r,transitionDuration:i})=>({root:{"--progress-size":e.N(n,`progress-size`),"--progress-radius":r===void 0?void 0:e.j(r),"--progress-transition-duration":typeof i==`number`?`${i}ms`:void 0}})),g=e.r(t=>{let n=e.l(`ProgressRoot`,null,t),{classNames:r,className:i,style:a,styles:o,unstyled:c,vars:l,autoContrast:u,transitionDuration:f,orientation:m,attributes:g,mod:_,...v}=n,y=e.c({name:`Progress`,classes:p,props:n,className:i,style:a,classNames:r,styles:o,unstyled:c,attributes:g,vars:l,varsResolver:h});return(0,s.jsx)(d,{value:{getStyles:y,autoContrast:u},children:(0,s.jsx)(e.t,{mod:[{orientation:m},_],...y(`root`),...v})})});g.classes=p,g.varsResolver=h,g.displayName=`@mantine/core/ProgressRoot`;var _={withAria:!0},v=e.r(t=>{let{classNames:n,className:r,style:i,styles:a,vars:o,value:l,withAria:d,color:p,striped:m,animated:h,mod:g,...v}=e.l(`ProgressSection`,_,t),y=f(),b=e.d(),x=d?{role:`progressbar`,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":l,"aria-valuetext":`${l}%`}:{};return(0,s.jsx)(e.t,{...y.getStyles(`section`,{className:r,classNames:n,styles:a,style:i}),...v,...x,mod:[{striped:m||h,animated:h},g],__vars:{"--progress-section-size":`${l}%`,"--progress-section-color":e.x(p,b),"--progress-label-color":u(y.autoContrast,b)?c({color:p,theme:b,autoContrast:y.autoContrast}):void 0}})});v.classes=p,v.displayName=`@mantine/core/ProgressSection`;var y=e.r(t=>{let r=e.l(`Progress`,null,t),{value:i,classNames:a,styles:o,vars:c,color:l,striped:u,animated:d,"aria-label":f,...p}=r,{resolvedClassNames:m,resolvedStyles:h}=n.t({classNames:a,styles:o,props:r});return(0,s.jsx)(g,{classNames:m,styles:h,vars:c,...p,children:(0,s.jsx)(v,{value:i,color:l,striped:u,animated:d,"aria-label":f})})});y.classes=p,y.displayName=`@mantine/core/Progress`,y.Section=v,y.Root=g,y.Label=m;var b={spinner:`_spinner_yguq4_1`,spin:`_spin_yguq4_1`},x=e=>(e/1024).toFixed(1),S=({state:t,ariaLabel:n=`Download progress`,minDisplayTime:c=1e3})=>{let{status:l,loaded:u,total:d}=t,f=a.i(`FcProcess`,{size:24}),[p,m]=(0,o.useState)(null);if((0,o.useEffect)(()=>{if(l!==`done`&&l!==`error`)return;let e=Date.now(),t=setTimeout(()=>{m(e)},c);return()=>clearTimeout(t)},[l,c]),l===`idle`)return null;let h=d===null?`${x(u)} KB`:`${x(u)} / ${x(d)} KB`;return p?(0,s.jsx)(y,{value:100,size:`sm`,"aria-label":n,children:(0,s.jsxs)(y.Label,{children:[x(u),` KB`]})}):(0,s.jsxs)(r.t,{gap:`sm`,align:`center`,justify:`center`,style:{minHeight:40},children:[(0,s.jsx)(e.t,{className:b.spinner,"data-testid":`process-icon`,children:f}),(0,s.jsx)(i.o,{size:`sm`,children:h})]})};Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return S}});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, O as t, S as n, c as r, d as i, j as a, l as o, r as s, t as c, w as l, x as u } from "./Box-DRm8EabO.js";
|
|
2
2
|
import { t as d } from "./create-safe-context-XT2cxc14.js";
|
|
3
|
-
import { t as f } from "./use-resolved-styles-api-
|
|
4
|
-
import { t as p } from "./Group-
|
|
5
|
-
import { o as m } from "./getRuntime-
|
|
6
|
-
import { i as h } from "./useDynamicIcon-
|
|
3
|
+
import { t as f } from "./use-resolved-styles-api-pEOi2wiK.js";
|
|
4
|
+
import { t as p } from "./Group-BzwlMeob.js";
|
|
5
|
+
import { o as m } from "./getRuntime-CCRXVzJH.js";
|
|
6
|
+
import { i as h } from "./useDynamicIcon-GJg3vWsJ.js";
|
|
7
7
|
import { useEffect as g, useState as _ } from "react";
|
|
8
8
|
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
9
9
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-contrast-color/get-contrast-color.mjs
|
|
10
|
-
function b({ color: e, theme: t, autoContrast:
|
|
11
|
-
return (typeof
|
|
10
|
+
function b({ color: e, theme: t, autoContrast: r }) {
|
|
11
|
+
return (typeof r == "boolean" ? r : t.autoContrast) && n({
|
|
12
12
|
color: e || t.primaryColor,
|
|
13
13
|
theme: t
|
|
14
14
|
}).isLight ? "var(--mantine-color-black)" : "var(--mantine-color-white)";
|
|
@@ -48,16 +48,16 @@ var [C, w] = d("Progress.Root component was not found in tree"), T = {
|
|
|
48
48
|
E.classes = T, E.displayName = "@mantine/core/ProgressLabel";
|
|
49
49
|
//#endregion
|
|
50
50
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Progress/ProgressRoot/ProgressRoot.mjs
|
|
51
|
-
var D = t((t, { size:
|
|
52
|
-
"--progress-size": n
|
|
53
|
-
"--progress-radius":
|
|
54
|
-
"--progress-transition-duration": typeof
|
|
51
|
+
var D = t((t, { size: n, radius: r, transitionDuration: i }) => ({ root: {
|
|
52
|
+
"--progress-size": e(n, "progress-size"),
|
|
53
|
+
"--progress-radius": r === void 0 ? void 0 : a(r),
|
|
54
|
+
"--progress-transition-duration": typeof i == "number" ? `${i}ms` : void 0
|
|
55
55
|
} })), O = s((e) => {
|
|
56
|
-
let t = o("ProgressRoot", null, e), { classNames: n, className:
|
|
56
|
+
let t = o("ProgressRoot", null, e), { classNames: n, className: i, style: a, styles: s, unstyled: l, vars: u, autoContrast: d, transitionDuration: f, orientation: p, attributes: m, mod: h, ...g } = t, _ = r({
|
|
57
57
|
name: "Progress",
|
|
58
58
|
classes: T,
|
|
59
59
|
props: t,
|
|
60
|
-
className:
|
|
60
|
+
className: i,
|
|
61
61
|
style: a,
|
|
62
62
|
classNames: n,
|
|
63
63
|
styles: s,
|
|
@@ -82,7 +82,7 @@ O.classes = T, O.varsResolver = D, O.displayName = "@mantine/core/ProgressRoot";
|
|
|
82
82
|
//#endregion
|
|
83
83
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Progress/ProgressSection/ProgressSection.mjs
|
|
84
84
|
var k = { withAria: !0 }, A = s((e) => {
|
|
85
|
-
let { classNames: t, className: n, style: r, styles:
|
|
85
|
+
let { classNames: t, className: n, style: r, styles: a, vars: s, value: l, withAria: d, color: f, striped: p, animated: m, mod: h, ...g } = o("ProgressSection", k, e), _ = w(), y = i(), x = d ? {
|
|
86
86
|
role: "progressbar",
|
|
87
87
|
"aria-valuemax": 100,
|
|
88
88
|
"aria-valuemin": 0,
|
|
@@ -93,7 +93,7 @@ var k = { withAria: !0 }, A = s((e) => {
|
|
|
93
93
|
..._.getStyles("section", {
|
|
94
94
|
className: n,
|
|
95
95
|
classNames: t,
|
|
96
|
-
styles:
|
|
96
|
+
styles: a,
|
|
97
97
|
style: r
|
|
98
98
|
}),
|
|
99
99
|
...g,
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { D as e,
|
|
2
|
-
import { t as
|
|
3
|
-
import { o as
|
|
4
|
-
import { s as
|
|
5
|
-
import { Children as
|
|
6
|
-
import { jsx as
|
|
7
|
-
import m from "clsx";
|
|
1
|
+
import { D as e, O as t, P as n, c as r, l as i, n as a, r as o, t as s } from "./Box-DRm8EabO.js";
|
|
2
|
+
import { t as c } from "./is-element-Bu_JY8Qy.js";
|
|
3
|
+
import { o as l } from "./getRuntime-CCRXVzJH.js";
|
|
4
|
+
import { s as u } from "./useDynamicIcon-GJg3vWsJ.js";
|
|
5
|
+
import { Children as d, cloneElement as f, createElement as p } from "react";
|
|
6
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
8
7
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Anchor/Anchor.module.mjs
|
|
9
|
-
var h = { root: "m_849cf0da" }, g = { underline: "hover" }, _ =
|
|
10
|
-
let { underline:
|
|
11
|
-
return /* @__PURE__ */
|
|
8
|
+
var h = { root: "m_849cf0da" }, g = { underline: "hover" }, _ = a((t) => {
|
|
9
|
+
let { underline: n, className: r, unstyled: a, mod: o, ...s } = i("Anchor", g, t);
|
|
10
|
+
return /* @__PURE__ */ m(l, {
|
|
12
11
|
component: "a",
|
|
13
|
-
className:
|
|
14
|
-
...
|
|
15
|
-
mod: [{ underline:
|
|
12
|
+
className: e({ [h.root]: !a }, r),
|
|
13
|
+
...s,
|
|
14
|
+
mod: [{ underline: n }, o],
|
|
16
15
|
__staticSelector: "Anchor",
|
|
17
|
-
unstyled:
|
|
16
|
+
unstyled: a
|
|
18
17
|
});
|
|
19
18
|
});
|
|
20
19
|
_.classes = h, _.displayName = "@mantine/core/Anchor";
|
|
@@ -24,33 +23,33 @@ var v = {
|
|
|
24
23
|
root: "m_8b3717df",
|
|
25
24
|
breadcrumb: "m_f678d540",
|
|
26
25
|
separator: "m_3b8f2208"
|
|
27
|
-
}, y = { separator: "/" }, b =
|
|
28
|
-
let t =
|
|
26
|
+
}, y = { separator: "/" }, b = t((e, { separatorMargin: t }) => ({ root: { "--bc-separator-margin": n(t) } })), x = o((e) => {
|
|
27
|
+
let t = i("Breadcrumbs", y, e), { classNames: n, className: a, style: o, styles: l, unstyled: u, vars: h, children: g, separator: _, separatorMargin: x, attributes: S, ...C } = t, w = r({
|
|
29
28
|
name: "Breadcrumbs",
|
|
30
29
|
classes: v,
|
|
31
30
|
props: t,
|
|
32
31
|
className: a,
|
|
33
|
-
style:
|
|
34
|
-
classNames:
|
|
32
|
+
style: o,
|
|
33
|
+
classNames: n,
|
|
35
34
|
styles: l,
|
|
36
|
-
unstyled:
|
|
35
|
+
unstyled: u,
|
|
37
36
|
attributes: S,
|
|
38
37
|
vars: h,
|
|
39
38
|
varsResolver: b
|
|
40
|
-
}), T =
|
|
41
|
-
let i =
|
|
39
|
+
}), T = d.toArray(g).reduce((e, t, n, r) => {
|
|
40
|
+
let i = c(t) ? f(t, {
|
|
42
41
|
...w("breadcrumb", { className: t.props?.className }),
|
|
43
42
|
key: n
|
|
44
|
-
}) : /* @__PURE__ */
|
|
43
|
+
}) : /* @__PURE__ */ p("div", {
|
|
45
44
|
...w("breadcrumb"),
|
|
46
45
|
key: n
|
|
47
46
|
}, t);
|
|
48
|
-
return e.push(i), n !== r.length - 1 && e.push(/* @__PURE__ */
|
|
47
|
+
return e.push(i), n !== r.length - 1 && e.push(/* @__PURE__ */ p(s, {
|
|
49
48
|
...w("separator"),
|
|
50
49
|
key: `separator-${n}`
|
|
51
50
|
}, _)), e;
|
|
52
51
|
}, []);
|
|
53
|
-
return /* @__PURE__ */
|
|
52
|
+
return /* @__PURE__ */ m(s, {
|
|
54
53
|
...w("root"),
|
|
55
54
|
...C,
|
|
56
55
|
children: T
|
|
@@ -78,8 +77,8 @@ var S = (e) => e.split(".").pop()?.toLowerCase() ?? "", C = {
|
|
|
78
77
|
}, w = ({ type: e, name: t = "", folderNode: n, fileNode: r, size: i = 20 }) => {
|
|
79
78
|
let a, o;
|
|
80
79
|
e === "folder" ? (a = n?.iconName ?? "VscFolder", o = n?.iconColor ?? void 0) : e === "file" && r?.iconName ? (a = r.iconName, o = r.iconColor ?? void 0) : a = C[S(t)] ?? "VscFile";
|
|
81
|
-
let s =
|
|
82
|
-
return s ?
|
|
80
|
+
let s = u(a);
|
|
81
|
+
return s ? p(s, {
|
|
83
82
|
size: i,
|
|
84
83
|
color: o,
|
|
85
84
|
"aria-hidden": "true"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-CiTBaPhY.cjs`);const e=require(`./Box-D_64wv6n.cjs`),t=require(`./is-element-BocgicRg.cjs`),n=require(`./getRuntime-BLXyQZBB.cjs`),r=require(`./useDynamicIcon-SytdL1Tu.cjs`);let i=require(`react`),a=require(`react/jsx-runtime`);var o={root:`m_849cf0da`},s={underline:`hover`},c=e.n(t=>{let{underline:r,className:i,unstyled:c,mod:l,...u}=e.l(`Anchor`,s,t);return(0,a.jsx)(n.o,{component:`a`,className:e.D({[o.root]:!c},i),...u,mod:[{underline:r},l],__staticSelector:`Anchor`,unstyled:c})});c.classes=o,c.displayName=`@mantine/core/Anchor`;var l={root:`m_8b3717df`,breadcrumb:`m_f678d540`,separator:`m_3b8f2208`},u={separator:`/`},d=e.O((t,{separatorMargin:n})=>({root:{"--bc-separator-margin":e.P(n)}})),f=e.r(n=>{let r=e.l(`Breadcrumbs`,u,n),{classNames:o,className:s,style:c,styles:f,unstyled:p,vars:m,children:h,separator:g,separatorMargin:_,attributes:v,...y}=r,b=e.c({name:`Breadcrumbs`,classes:l,props:r,className:s,style:c,classNames:o,styles:f,unstyled:p,attributes:v,vars:m,varsResolver:d}),x=i.Children.toArray(h).reduce((n,r,a,o)=>{let s=t.t(r)?(0,i.cloneElement)(r,{...b(`breadcrumb`,{className:r.props?.className}),key:a}):(0,i.createElement)(`div`,{...b(`breadcrumb`),key:a},r);return n.push(s),a!==o.length-1&&n.push((0,i.createElement)(e.t,{...b(`separator`),key:`separator-${a}`},g)),n},[]);return(0,a.jsx)(e.t,{...b(`root`),...y,children:x})});f.classes=l,f.varsResolver=d,f.displayName=`@mantine/core/Breadcrumbs`;var p=e=>e.split(`.`).pop()?.toLowerCase()??``,m={pdf:`VscFilePdf`,md:`VscMarkdown`,txt:`VscFile`,jpg:`VscFileMedia`,jpeg:`VscFileMedia`,png:`VscFileMedia`,gif:`VscFileMedia`,svg:`VscFileCode`,ts:`VscFileCode`,tsx:`VscFileCode`,js:`VscFileCode`,jsx:`VscFileCode`,json:`VscJson`,html:`VscFileCode`,css:`VscFileCode`},h=({type:e,name:t=``,folderNode:n,fileNode:a,size:o=20})=>{let s,c;e===`folder`?(s=n?.iconName??`VscFolder`,c=n?.iconColor??void 0):e===`file`&&a?.iconName?(s=a.iconName,c=a.iconColor??void 0):s=m[p(t)]??`VscFile`;let l=r.s(s);return l?(0,i.createElement)(l,{size:o,color:c,"aria-hidden":`true`}):null};Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|