@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
|
@@ -1,30 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { r as te } from "./
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
1
|
+
import { L as e, N as t, O as n, S as r, c as i, d as a, i as o, j as s, k as c, l, n as u, o as d, r as f, t as p, x as m } from "./Box-DRm8EabO.js";
|
|
2
|
+
import { n as h, t as g } from "./ColorPicker-DvRR-wlQ.js";
|
|
3
|
+
import { s as _, t as v } from "./Tooltip-CAOO-qdx.js";
|
|
4
|
+
import { t as y } from "./use-uncontrolled-A4hm9ATM.js";
|
|
5
|
+
import { i as b, l as x, p as S, t as C, u as w } from "./TextInput-C3qfxxWI.js";
|
|
6
|
+
import { a as T, i as E, n as D, o as O, t as k } from "./Slider-BNO-vDFn.js";
|
|
7
|
+
import { r as A } from "./use-merged-ref-BT8_u6vW.js";
|
|
8
|
+
import { i as ee, r as j, t as te } from "./DownloadProgress-hdupSUBT.js";
|
|
9
|
+
import { t as M } from "./UnstyledButton-CI3kyRck.js";
|
|
10
|
+
import { t as N } from "./Paper-DtUYKmYn.js";
|
|
11
|
+
import { t as P } from "./Group-BzwlMeob.js";
|
|
12
|
+
import { i as ne, o as F } from "./getRuntime-CCRXVzJH.js";
|
|
13
|
+
import { t as I } from "./Button-k7SxX1Xl.js";
|
|
14
|
+
import { n as L, t as R } from "./AppIcon-DCDuaU-t.js";
|
|
15
|
+
import { t as z } from "./Stack-CuDEaP7e.js";
|
|
16
|
+
import { t as re } from "./react-DYmzHD0X.js";
|
|
17
|
+
import { ft as ie, o as ae, pt as oe } from "./desktopStore-B0R1-BeA.js";
|
|
18
|
+
import { t as B } from "./useTranslation-DMRGdqZi.js";
|
|
19
|
+
import { i as se } from "./useCloseInterceptor-CuKAAFnj.js";
|
|
20
|
+
import { t as V } from "./useResolvedUrl-DFKXq598.js";
|
|
21
|
+
import { n as ce } from "./FilePickerApp-DMGuvahM.js";
|
|
22
|
+
import { t as le } from "./Colors-hca6raEG.js";
|
|
23
|
+
import { n as ue } from "./settingsAppStore-KOeWRO6h.js";
|
|
24
|
+
import { createContext as de, createElement as fe, use as pe, useCallback as H, useDeferredValue as me, useEffect as U, useRef as W, useState as G } from "react";
|
|
24
25
|
import { jsx as K, jsxs as q } from "react/jsx-runtime";
|
|
25
|
-
import { create as fe } from "zustand";
|
|
26
|
-
import { createJSONStorage as pe, persist as me } from "zustand/middleware";
|
|
27
|
-
import { useTranslation as J } from "react-i18next";
|
|
28
26
|
import { useQuery as he, useQueryClient as ge } from "@tanstack/react-query";
|
|
29
27
|
//#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/utils/shallow-equal/shallow-equal.mjs
|
|
30
28
|
function _e(e, t) {
|
|
@@ -168,35 +166,35 @@ function De({ target: e, parent: t, ref: n, displayAfterTransitionEnd: r, onTran
|
|
|
168
166
|
var Oe = { root: "m_96b553a6" }, ke = n((e, { transitionDuration: t }, { shouldReduceMotion: n }) => {
|
|
169
167
|
let r = e.respectReducedMotion && n ? "0ms" : typeof t == "number" ? `${t}ms` : t || "150ms";
|
|
170
168
|
return { root: { "--transition-duration": r } };
|
|
171
|
-
}), Ae =
|
|
172
|
-
let t =
|
|
169
|
+
}), Ae = f((e) => {
|
|
170
|
+
let t = l("FloatingIndicator", null, e), { classNames: n, className: r, style: a, styles: o, unstyled: s, vars: c, target: u, parent: d, transitionDuration: f, mod: m, displayAfterTransitionEnd: h, onTransitionStart: g, onTransitionEnd: _, attributes: v, ref: y, ...b } = t, S = i({
|
|
173
171
|
name: "FloatingIndicator",
|
|
174
172
|
classes: Oe,
|
|
175
173
|
props: t,
|
|
176
174
|
className: r,
|
|
177
|
-
style:
|
|
175
|
+
style: a,
|
|
178
176
|
classNames: n,
|
|
179
|
-
styles:
|
|
180
|
-
unstyled:
|
|
177
|
+
styles: o,
|
|
178
|
+
unstyled: s,
|
|
181
179
|
attributes: v,
|
|
182
180
|
vars: c,
|
|
183
181
|
varsResolver: ke,
|
|
184
|
-
stylesCtx: { shouldReduceMotion:
|
|
182
|
+
stylesCtx: { shouldReduceMotion: x() }
|
|
185
183
|
}), C = W(null), { initialized: w, hidden: T } = De({
|
|
186
|
-
target:
|
|
184
|
+
target: u,
|
|
187
185
|
parent: d,
|
|
188
186
|
ref: C,
|
|
189
187
|
displayAfterTransitionEnd: h,
|
|
190
188
|
onTransitionStart: g,
|
|
191
189
|
onTransitionEnd: _
|
|
192
|
-
}), E =
|
|
193
|
-
return !
|
|
190
|
+
}), E = A(y, C);
|
|
191
|
+
return !u || !d ? null : /* @__PURE__ */ K(p, {
|
|
194
192
|
ref: E,
|
|
195
193
|
mod: [{
|
|
196
194
|
initialized: w,
|
|
197
195
|
hidden: T
|
|
198
|
-
},
|
|
199
|
-
...
|
|
196
|
+
}, m],
|
|
197
|
+
...S("root"),
|
|
200
198
|
...b
|
|
201
199
|
});
|
|
202
200
|
});
|
|
@@ -208,53 +206,53 @@ var je = {
|
|
|
208
206
|
"root--dot": "m_fbd81e3d",
|
|
209
207
|
label: "m_5add502a",
|
|
210
208
|
section: "m_91fdda9b"
|
|
211
|
-
}, Me = n((e, { radius: n, color: r, gradient:
|
|
209
|
+
}, Me = n((e, { radius: n, color: r, gradient: i, variant: a, size: o, autoContrast: c, circle: l }) => {
|
|
212
210
|
let u = e.variantColorResolver({
|
|
213
211
|
color: r || e.primaryColor,
|
|
214
212
|
theme: e,
|
|
215
|
-
gradient:
|
|
216
|
-
variant:
|
|
213
|
+
gradient: i,
|
|
214
|
+
variant: a || "filled",
|
|
217
215
|
autoContrast: c
|
|
218
216
|
});
|
|
219
217
|
return { root: {
|
|
220
|
-
"--badge-height":
|
|
221
|
-
"--badge-padding-x":
|
|
222
|
-
"--badge-fz":
|
|
223
|
-
"--badge-radius": l || n === void 0 ? void 0 :
|
|
224
|
-
"--badge-bg": r ||
|
|
225
|
-
"--badge-color": r ||
|
|
226
|
-
"--badge-bd": r ||
|
|
227
|
-
"--badge-dot-color":
|
|
218
|
+
"--badge-height": t(o, "badge-height"),
|
|
219
|
+
"--badge-padding-x": t(o, "badge-padding-x"),
|
|
220
|
+
"--badge-fz": t(o, "badge-fz"),
|
|
221
|
+
"--badge-radius": l || n === void 0 ? void 0 : s(n),
|
|
222
|
+
"--badge-bg": r || a ? u.background : void 0,
|
|
223
|
+
"--badge-color": r || a ? u.color : void 0,
|
|
224
|
+
"--badge-bd": r || a ? u.border : void 0,
|
|
225
|
+
"--badge-dot-color": a === "dot" ? m(r, e) : void 0
|
|
228
226
|
} };
|
|
229
|
-
}), Ne =
|
|
230
|
-
let t =
|
|
227
|
+
}), Ne = u((e) => {
|
|
228
|
+
let t = l("Badge", null, e), { classNames: n, className: r, style: a, styles: o, unstyled: s, vars: c, radius: u, color: d, gradient: f, leftSection: m, rightSection: h, children: g, variant: _, fullWidth: v, autoContrast: y, circle: b, mod: x, attributes: S, ...C } = t, w = i({
|
|
231
229
|
name: "Badge",
|
|
232
230
|
props: t,
|
|
233
231
|
classes: je,
|
|
234
232
|
className: r,
|
|
235
|
-
style:
|
|
233
|
+
style: a,
|
|
236
234
|
classNames: n,
|
|
237
|
-
styles:
|
|
238
|
-
unstyled:
|
|
235
|
+
styles: o,
|
|
236
|
+
unstyled: s,
|
|
239
237
|
attributes: S,
|
|
240
238
|
vars: c,
|
|
241
239
|
varsResolver: Me
|
|
242
240
|
});
|
|
243
|
-
return /* @__PURE__ */ q(
|
|
241
|
+
return /* @__PURE__ */ q(p, {
|
|
244
242
|
variant: _,
|
|
245
243
|
mod: [{
|
|
246
244
|
block: v,
|
|
247
245
|
circle: b,
|
|
248
246
|
"with-right-section": !!h,
|
|
249
|
-
"with-left-section": !!
|
|
247
|
+
"with-left-section": !!m
|
|
250
248
|
}, x],
|
|
251
249
|
...w("root", { variant: _ }),
|
|
252
250
|
...C,
|
|
253
251
|
children: [
|
|
254
|
-
|
|
252
|
+
m && /* @__PURE__ */ K("span", {
|
|
255
253
|
...w("section"),
|
|
256
254
|
"data-position": "left",
|
|
257
|
-
children:
|
|
255
|
+
children: m
|
|
258
256
|
}),
|
|
259
257
|
/* @__PURE__ */ K("span", {
|
|
260
258
|
...w("label"),
|
|
@@ -271,8 +269,8 @@ var je = {
|
|
|
271
269
|
Ne.classes = je, Ne.varsResolver = Me, Ne.displayName = "@mantine/core/Badge";
|
|
272
270
|
//#endregion
|
|
273
271
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Radio/RadioGroup/RadioGroup.mjs
|
|
274
|
-
var Pe =
|
|
275
|
-
let { value: t, defaultValue: n, onChange: r, size: i, wrapperProps: a, children: o, name: s, readOnly: c, disabled:
|
|
272
|
+
var Pe = de(null), Fe = o(((e) => {
|
|
273
|
+
let { value: t, defaultValue: n, onChange: r, size: i, wrapperProps: a, children: o, name: s, readOnly: c, disabled: u, ...d } = l("RadioGroup", null, e), f = w(s), [p, m] = y({
|
|
276
274
|
value: t,
|
|
277
275
|
defaultValue: n,
|
|
278
276
|
finalValue: "",
|
|
@@ -284,39 +282,39 @@ var Pe = le(null), Fe = l(((e) => {
|
|
|
284
282
|
onChange: (e) => !c && m(typeof e == "string" ? e : e.currentTarget.value),
|
|
285
283
|
size: i,
|
|
286
284
|
name: f,
|
|
287
|
-
disabled:
|
|
285
|
+
disabled: u
|
|
288
286
|
},
|
|
289
|
-
children: /* @__PURE__ */ K(
|
|
287
|
+
children: /* @__PURE__ */ K(b.Wrapper, {
|
|
290
288
|
size: i,
|
|
291
289
|
...a,
|
|
292
290
|
...d,
|
|
293
291
|
labelElement: "div",
|
|
294
292
|
__staticSelector: "RadioGroup",
|
|
295
|
-
children: /* @__PURE__ */ K(
|
|
293
|
+
children: /* @__PURE__ */ K(E, {
|
|
296
294
|
role: "radiogroup",
|
|
297
295
|
children: o
|
|
298
296
|
})
|
|
299
297
|
})
|
|
300
298
|
});
|
|
301
299
|
}));
|
|
302
|
-
Fe.classes =
|
|
300
|
+
Fe.classes = b.Wrapper.classes, Fe.displayName = "@mantine/core/RadioGroup";
|
|
303
301
|
//#endregion
|
|
304
302
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Radio/RadioCard/RadioCard.module.mjs
|
|
305
|
-
var Ie = { card: "m_9dc8ae12" }, Le =
|
|
306
|
-
let t =
|
|
303
|
+
var Ie = { card: "m_9dc8ae12" }, Le = de(null), Re = { withBorder: !0 }, ze = n((e, { radius: t }) => ({ card: { "--card-radius": s(t) } })), Be = f((e) => {
|
|
304
|
+
let t = l("RadioCard", Re, e), { classNames: n, className: r, style: a, styles: o, unstyled: s, vars: c, checked: u, mod: d, withBorder: f, value: p, onClick: m, name: h, onKeyDown: g, attributes: v, ...y } = t, b = i({
|
|
307
305
|
name: "RadioCard",
|
|
308
306
|
classes: Ie,
|
|
309
307
|
props: t,
|
|
310
308
|
className: r,
|
|
311
|
-
style:
|
|
309
|
+
style: a,
|
|
312
310
|
classNames: n,
|
|
313
|
-
styles:
|
|
314
|
-
unstyled:
|
|
315
|
-
attributes:
|
|
311
|
+
styles: o,
|
|
312
|
+
unstyled: s,
|
|
313
|
+
attributes: v,
|
|
316
314
|
vars: c,
|
|
317
315
|
varsResolver: ze,
|
|
318
316
|
rootSelector: "card"
|
|
319
|
-
}), { dir: x } =
|
|
317
|
+
}), { dir: x } = _(), S = pe(Pe), C = typeof u == "boolean" ? u : S?.value === p || !1, w = h || S?.name, T = (e) => {
|
|
320
318
|
if (g?.(e), w && [
|
|
321
319
|
"ArrowDown",
|
|
322
320
|
"ArrowUp",
|
|
@@ -350,18 +348,18 @@ var Ie = { card: "m_9dc8ae12" }, Le = le(null), Re = { withBorder: !0 }, ze = n(
|
|
|
350
348
|
Be.displayName = "@mantine/core/RadioCard", Be.classes = Ie, Be.varsResolver = ze;
|
|
351
349
|
//#endregion
|
|
352
350
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Radio/RadioIcon.mjs
|
|
353
|
-
function Ve({ size:
|
|
351
|
+
function Ve({ size: t, style: n, ...r }) {
|
|
354
352
|
return /* @__PURE__ */ K("svg", {
|
|
355
353
|
xmlns: "http://www.w3.org/2000/svg",
|
|
356
354
|
fill: "none",
|
|
357
355
|
viewBox: "0 0 5 5",
|
|
358
356
|
style: {
|
|
359
|
-
width:
|
|
360
|
-
height:
|
|
361
|
-
...
|
|
357
|
+
width: e(t),
|
|
358
|
+
height: e(t),
|
|
359
|
+
...n
|
|
362
360
|
},
|
|
363
361
|
"aria-hidden": !0,
|
|
364
|
-
...
|
|
362
|
+
...r,
|
|
365
363
|
children: /* @__PURE__ */ K("circle", {
|
|
366
364
|
cx: "2.5",
|
|
367
365
|
cy: "2.5",
|
|
@@ -376,38 +374,38 @@ var He = {
|
|
|
376
374
|
indicator: "m_717d7ff6",
|
|
377
375
|
icon: "m_3e4da632",
|
|
378
376
|
"indicator--outline": "m_2980836c"
|
|
379
|
-
}, Ue = { icon: Ve }, We = n((e, { radius: n, color:
|
|
380
|
-
let u =
|
|
381
|
-
color:
|
|
377
|
+
}, Ue = { icon: Ve }, We = n((e, { radius: n, color: i, size: a, iconColor: o, variant: c, autoContrast: l }) => {
|
|
378
|
+
let u = r({
|
|
379
|
+
color: i || e.primaryColor,
|
|
382
380
|
theme: e
|
|
383
381
|
}), d = u.isThemeColor && u.shade === void 0 ? `var(--mantine-color-${u.color}-outline)` : u.color;
|
|
384
382
|
return { indicator: {
|
|
385
|
-
"--radio-size":
|
|
386
|
-
"--radio-radius": n === void 0 ? void 0 :
|
|
387
|
-
"--radio-color": c === "outline" ? d :
|
|
388
|
-
"--radio-icon-size":
|
|
389
|
-
"--radio-icon-color":
|
|
390
|
-
color:
|
|
383
|
+
"--radio-size": t(a, "radio-size"),
|
|
384
|
+
"--radio-radius": n === void 0 ? void 0 : s(n),
|
|
385
|
+
"--radio-color": c === "outline" ? d : m(i, e),
|
|
386
|
+
"--radio-icon-size": t(a, "radio-icon-size"),
|
|
387
|
+
"--radio-icon-color": o ? m(o, e) : j(l, e) ? ee({
|
|
388
|
+
color: i,
|
|
391
389
|
theme: e,
|
|
392
390
|
autoContrast: l
|
|
393
391
|
}) : void 0
|
|
394
392
|
} };
|
|
395
|
-
}), Ge =
|
|
396
|
-
let t =
|
|
393
|
+
}), Ge = f((e) => {
|
|
394
|
+
let t = l("RadioIndicator", Ue, e), { classNames: n, className: r, style: a, styles: o, unstyled: s, vars: c, icon: u, radius: d, color: f, iconColor: m, autoContrast: h, checked: g, mod: _, variant: v, disabled: y, attributes: b, ...x } = t, S = i({
|
|
397
395
|
name: "RadioIndicator",
|
|
398
396
|
classes: He,
|
|
399
397
|
props: t,
|
|
400
398
|
className: r,
|
|
401
|
-
style:
|
|
399
|
+
style: a,
|
|
402
400
|
classNames: n,
|
|
403
|
-
styles:
|
|
404
|
-
unstyled:
|
|
401
|
+
styles: o,
|
|
402
|
+
unstyled: s,
|
|
405
403
|
attributes: b,
|
|
406
404
|
vars: c,
|
|
407
405
|
varsResolver: We,
|
|
408
406
|
rootSelector: "indicator"
|
|
409
|
-
}), C =
|
|
410
|
-
return /* @__PURE__ */ K(
|
|
407
|
+
}), C = pe(Le), w = typeof g == "boolean" ? g : C?.checked || !1;
|
|
408
|
+
return /* @__PURE__ */ K(p, {
|
|
411
409
|
...S("indicator", { variant: v }),
|
|
412
410
|
variant: v,
|
|
413
411
|
mod: [{
|
|
@@ -415,7 +413,7 @@ var He = {
|
|
|
415
413
|
disabled: y
|
|
416
414
|
}, _],
|
|
417
415
|
...x,
|
|
418
|
-
children: /* @__PURE__ */ K(
|
|
416
|
+
children: /* @__PURE__ */ K(u, { ...S("icon") })
|
|
419
417
|
});
|
|
420
418
|
});
|
|
421
419
|
Ge.displayName = "@mantine/core/RadioIndicator", Ge.classes = He, Ge.varsResolver = We;
|
|
@@ -430,89 +428,89 @@ var Ke = {
|
|
|
430
428
|
}, qe = {
|
|
431
429
|
labelPosition: "right",
|
|
432
430
|
withErrorStyles: !0
|
|
433
|
-
}, Je = n((e, { size: n, radius:
|
|
434
|
-
let u =
|
|
431
|
+
}, Je = n((e, { size: n, radius: i, color: a, iconColor: o, variant: c, autoContrast: l }) => {
|
|
432
|
+
let u = r({
|
|
435
433
|
color: a || e.primaryColor,
|
|
436
434
|
theme: e
|
|
437
435
|
}), d = u.isThemeColor && u.shade === void 0 ? `var(--mantine-color-${u.color}-outline)` : u.color;
|
|
438
436
|
return { root: {
|
|
439
|
-
"--radio-size":
|
|
440
|
-
"--radio-radius":
|
|
441
|
-
"--radio-color": c === "outline" ? d :
|
|
442
|
-
"--radio-icon-color":
|
|
437
|
+
"--radio-size": t(n, "radio-size"),
|
|
438
|
+
"--radio-radius": i === void 0 ? void 0 : s(i),
|
|
439
|
+
"--radio-color": c === "outline" ? d : m(a, e),
|
|
440
|
+
"--radio-icon-color": o ? m(o, e) : j(l, e) ? ee({
|
|
443
441
|
color: a,
|
|
444
442
|
theme: e,
|
|
445
443
|
autoContrast: l
|
|
446
444
|
}) : void 0,
|
|
447
|
-
"--radio-icon-size":
|
|
445
|
+
"--radio-icon-size": t(n, "radio-icon-size")
|
|
448
446
|
} };
|
|
449
|
-
}),
|
|
450
|
-
let t =
|
|
447
|
+
}), J = f((e) => {
|
|
448
|
+
let t = l("Radio", qe, e), { classNames: n, className: r, style: a, styles: o, unstyled: s, vars: c, id: u, size: f, label: m, labelPosition: h, description: g, error: _, radius: v, color: y, variant: b, disabled: x, wrapperProps: S, icon: C = Ve, rootRef: T, iconColor: E, onChange: O, mod: k, attributes: A, withErrorStyles: ee, checked: j, ...te } = t, M = i({
|
|
451
449
|
name: "Radio",
|
|
452
450
|
classes: Ke,
|
|
453
451
|
props: t,
|
|
454
452
|
className: r,
|
|
455
|
-
style:
|
|
453
|
+
style: a,
|
|
456
454
|
classNames: n,
|
|
457
|
-
styles:
|
|
458
|
-
unstyled:
|
|
459
|
-
attributes:
|
|
455
|
+
styles: o,
|
|
456
|
+
unstyled: s,
|
|
457
|
+
attributes: A,
|
|
460
458
|
vars: c,
|
|
461
459
|
varsResolver: Je
|
|
462
|
-
}),
|
|
463
|
-
checked:
|
|
464
|
-
name: I.name ??
|
|
460
|
+
}), N = pe(Pe), P = N?.size ?? f, ne = t.size ? f : P, { styleProps: F, rest: I } = d(te), L = w(u), R = N ? N.value === I.value : void 0, z = {
|
|
461
|
+
checked: R ?? j,
|
|
462
|
+
name: I.name ?? N?.name,
|
|
465
463
|
onChange: (e) => {
|
|
466
|
-
|
|
464
|
+
N?.onChange(e), O?.(e);
|
|
467
465
|
},
|
|
468
|
-
disabled:
|
|
466
|
+
disabled: N?.disabled ?? x
|
|
469
467
|
};
|
|
470
|
-
return /* @__PURE__ */ K(
|
|
471
|
-
...
|
|
468
|
+
return /* @__PURE__ */ K(D, {
|
|
469
|
+
...M("root"),
|
|
472
470
|
__staticSelector: "Radio",
|
|
473
471
|
__stylesApiProps: t,
|
|
474
472
|
id: L,
|
|
475
|
-
size:
|
|
473
|
+
size: ne,
|
|
476
474
|
labelPosition: h,
|
|
477
|
-
label:
|
|
475
|
+
label: m,
|
|
478
476
|
description: g,
|
|
479
477
|
error: _,
|
|
480
|
-
disabled:
|
|
478
|
+
disabled: z.disabled,
|
|
481
479
|
classNames: n,
|
|
482
|
-
styles:
|
|
483
|
-
unstyled:
|
|
484
|
-
"data-checked": (
|
|
480
|
+
styles: o,
|
|
481
|
+
unstyled: s,
|
|
482
|
+
"data-checked": (R ?? j) || void 0,
|
|
485
483
|
variant: b,
|
|
486
|
-
ref:
|
|
487
|
-
mod:
|
|
488
|
-
attributes:
|
|
484
|
+
ref: T,
|
|
485
|
+
mod: k,
|
|
486
|
+
attributes: A,
|
|
489
487
|
...F,
|
|
490
488
|
...S,
|
|
491
|
-
children: /* @__PURE__ */ q(
|
|
492
|
-
...
|
|
489
|
+
children: /* @__PURE__ */ q(p, {
|
|
490
|
+
...M("inner"),
|
|
493
491
|
mod: { "label-position": h },
|
|
494
|
-
children: [/* @__PURE__ */ K(
|
|
495
|
-
...
|
|
492
|
+
children: [/* @__PURE__ */ K(p, {
|
|
493
|
+
...M("radio", {
|
|
496
494
|
focusable: !0,
|
|
497
495
|
variant: b
|
|
498
496
|
}),
|
|
499
497
|
...I,
|
|
500
|
-
...
|
|
498
|
+
...z,
|
|
501
499
|
component: "input",
|
|
502
500
|
mod: {
|
|
503
501
|
error: !!_,
|
|
504
|
-
"with-error-styles":
|
|
502
|
+
"with-error-styles": ee
|
|
505
503
|
},
|
|
506
504
|
id: L,
|
|
507
505
|
type: "radio"
|
|
508
506
|
}), /* @__PURE__ */ K(C, {
|
|
509
|
-
...
|
|
507
|
+
...M("icon"),
|
|
510
508
|
"aria-hidden": !0
|
|
511
509
|
})]
|
|
512
510
|
})
|
|
513
511
|
});
|
|
514
512
|
});
|
|
515
|
-
|
|
513
|
+
J.classes = Ke, J.varsResolver = Je, J.displayName = "@mantine/core/Radio", J.Group = Fe, J.Card = Be, J.Indicator = Ge;
|
|
516
514
|
//#endregion
|
|
517
515
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/SegmentedControl/SegmentedControl.module.mjs
|
|
518
516
|
var Ye = {
|
|
@@ -522,104 +520,104 @@ var Ye = {
|
|
|
522
520
|
input: "m_1714d588",
|
|
523
521
|
control: "m_69686b9b",
|
|
524
522
|
innerLabel: "m_78882f40"
|
|
525
|
-
}, Xe = { withItemsBorders: !0 }, Ze = n((e, { radius: n, color: r, transitionDuration:
|
|
526
|
-
"--sc-radius": n === void 0 ? void 0 :
|
|
527
|
-
"--sc-color": r ?
|
|
523
|
+
}, Xe = { withItemsBorders: !0 }, Ze = n((e, { radius: n, color: r, transitionDuration: i, size: a, transitionTimingFunction: o }) => ({ root: {
|
|
524
|
+
"--sc-radius": n === void 0 ? void 0 : s(n),
|
|
525
|
+
"--sc-color": r ? m(r, e) : void 0,
|
|
528
526
|
"--sc-shadow": r ? void 0 : "var(--mantine-shadow-xs)",
|
|
529
|
-
"--sc-transition-duration":
|
|
530
|
-
"--sc-transition-timing-function":
|
|
531
|
-
"--sc-padding":
|
|
532
|
-
"--sc-font-size": a
|
|
533
|
-
} })),
|
|
534
|
-
let t =
|
|
527
|
+
"--sc-transition-duration": i === void 0 ? void 0 : `${i}ms`,
|
|
528
|
+
"--sc-transition-timing-function": o,
|
|
529
|
+
"--sc-padding": t(a, "sc-padding"),
|
|
530
|
+
"--sc-font-size": c(a)
|
|
531
|
+
} })), Y = o((e) => {
|
|
532
|
+
let t = l("SegmentedControl", Xe, e), { classNames: n, className: r, style: o, styles: s, unstyled: c, vars: u, data: d, value: f, defaultValue: m, onChange: h, size: g, name: _, disabled: v, readOnly: b, fullWidth: x, orientation: C, radius: T, color: E, transitionDuration: D, transitionTimingFunction: O, variant: k, autoContrast: j, withItemsBorders: te, mod: M, attributes: N, ref: P, ...ne } = t, F = i({
|
|
535
533
|
name: "SegmentedControl",
|
|
536
534
|
props: t,
|
|
537
535
|
classes: Ye,
|
|
538
536
|
className: r,
|
|
539
|
-
style:
|
|
537
|
+
style: o,
|
|
540
538
|
classNames: n,
|
|
541
|
-
styles:
|
|
542
|
-
unstyled:
|
|
543
|
-
attributes:
|
|
544
|
-
vars:
|
|
539
|
+
styles: s,
|
|
540
|
+
unstyled: c,
|
|
541
|
+
attributes: N,
|
|
542
|
+
vars: u,
|
|
545
543
|
varsResolver: Ze
|
|
546
|
-
}), I =
|
|
544
|
+
}), I = a(), L = d.map((e) => Te(e) ? {
|
|
547
545
|
label: `${e}`,
|
|
548
546
|
value: e
|
|
549
|
-
} : e),
|
|
550
|
-
oe[t] = e,
|
|
551
|
-
}, [
|
|
547
|
+
} : e), R = Ce(), [z, re] = G(S()), [ie, ae] = G(null), [oe, B] = G({}), se = (e, t) => {
|
|
548
|
+
oe[t] = e, B(oe);
|
|
549
|
+
}, [V, ce] = y({
|
|
552
550
|
value: f,
|
|
553
|
-
defaultValue:
|
|
551
|
+
defaultValue: m,
|
|
554
552
|
finalValue: Array.isArray(d) ? L.find((e) => !e.disabled)?.value ?? d[0]?.value ?? null : null,
|
|
555
553
|
onChange: h
|
|
556
|
-
}),
|
|
554
|
+
}), le = w(_), ue = L.map((e) => /* @__PURE__ */ fe(p, {
|
|
557
555
|
...F("control"),
|
|
558
556
|
mod: {
|
|
559
|
-
active:
|
|
560
|
-
orientation:
|
|
557
|
+
active: V === e.value,
|
|
558
|
+
orientation: C
|
|
561
559
|
},
|
|
562
560
|
key: `${e.value}`
|
|
563
|
-
}, /* @__PURE__ */
|
|
561
|
+
}, /* @__PURE__ */ fe("input", {
|
|
564
562
|
...F("input"),
|
|
565
563
|
disabled: v || e.disabled,
|
|
566
564
|
type: "radio",
|
|
567
|
-
name:
|
|
565
|
+
name: le,
|
|
568
566
|
value: `${e.value}`,
|
|
569
|
-
id: `${
|
|
570
|
-
checked:
|
|
571
|
-
onChange: () => !
|
|
567
|
+
id: `${le}-${e.value}`,
|
|
568
|
+
checked: V === e.value,
|
|
569
|
+
onChange: () => !b && ce(e.value),
|
|
572
570
|
"data-focus-ring": I.focusRing,
|
|
573
571
|
key: `${e.value}-input`
|
|
574
|
-
}), /* @__PURE__ */
|
|
572
|
+
}), /* @__PURE__ */ fe(p, {
|
|
575
573
|
component: "label",
|
|
576
574
|
...F("label"),
|
|
577
575
|
mod: {
|
|
578
|
-
active:
|
|
576
|
+
active: V === e.value && !(v || e.disabled),
|
|
579
577
|
disabled: v || e.disabled,
|
|
580
|
-
"read-only":
|
|
578
|
+
"read-only": b
|
|
581
579
|
},
|
|
582
|
-
htmlFor: `${
|
|
583
|
-
ref: (t) =>
|
|
584
|
-
__vars: { "--sc-label-color": E === void 0 ? void 0 :
|
|
580
|
+
htmlFor: `${le}-${e.value}`,
|
|
581
|
+
ref: (t) => se(t, `${e.value}`),
|
|
582
|
+
__vars: { "--sc-label-color": E === void 0 ? void 0 : ee({
|
|
585
583
|
color: E,
|
|
586
584
|
theme: I,
|
|
587
|
-
autoContrast:
|
|
585
|
+
autoContrast: j
|
|
588
586
|
}) },
|
|
589
587
|
key: `${e.value}-label`
|
|
590
588
|
}, /* @__PURE__ */ K("span", {
|
|
591
589
|
...F("innerLabel"),
|
|
592
590
|
children: e.label
|
|
593
|
-
})))), de =
|
|
591
|
+
})))), de = A(P, (e) => ae(e));
|
|
594
592
|
return be(() => {
|
|
595
|
-
|
|
596
|
-
}, [d.length]), d.length === 0 ? null : /* @__PURE__ */ q(
|
|
593
|
+
re(S());
|
|
594
|
+
}, [d.length]), d.length === 0 ? null : /* @__PURE__ */ q(p, {
|
|
597
595
|
...F("root"),
|
|
598
|
-
variant:
|
|
596
|
+
variant: k,
|
|
599
597
|
size: g,
|
|
600
598
|
ref: de,
|
|
601
599
|
mod: [{
|
|
602
600
|
"full-width": x,
|
|
603
|
-
orientation:
|
|
604
|
-
initialized:
|
|
605
|
-
"with-items-borders":
|
|
606
|
-
},
|
|
607
|
-
...
|
|
601
|
+
orientation: C,
|
|
602
|
+
initialized: R,
|
|
603
|
+
"with-items-borders": te
|
|
604
|
+
}, M],
|
|
605
|
+
...ne,
|
|
608
606
|
role: "radiogroup",
|
|
609
607
|
"data-disabled": v,
|
|
610
|
-
children: [
|
|
611
|
-
target: oe[`${
|
|
608
|
+
children: [V !== void 0 && /* @__PURE__ */ K(Ae, {
|
|
609
|
+
target: oe[`${V}`],
|
|
612
610
|
parent: ie,
|
|
613
611
|
component: "span",
|
|
614
612
|
transitionDuration: "var(--sc-transition-duration)",
|
|
615
613
|
...F("indicator")
|
|
616
|
-
},
|
|
614
|
+
}, z), ue]
|
|
617
615
|
});
|
|
618
616
|
});
|
|
619
|
-
|
|
617
|
+
Y.classes = Ye, Y.varsResolver = Ze, Y.displayName = "@mantine/core/SegmentedControl";
|
|
620
618
|
//#endregion
|
|
621
619
|
//#region src/infrastructure/adapters/DefaultThemeProvider.ts
|
|
622
|
-
var
|
|
620
|
+
var Qe = {
|
|
623
621
|
mode: "light",
|
|
624
622
|
colors: {
|
|
625
623
|
desktop: "#f0f4f8",
|
|
@@ -647,7 +645,7 @@ var $e = {
|
|
|
647
645
|
iconSize: 64,
|
|
648
646
|
iconSpacing: 16
|
|
649
647
|
}
|
|
650
|
-
},
|
|
648
|
+
}, $e = {
|
|
651
649
|
mode: "dark",
|
|
652
650
|
colors: {
|
|
653
651
|
desktop: "#1a1b1e",
|
|
@@ -675,14 +673,14 @@ var $e = {
|
|
|
675
673
|
iconSize: 64,
|
|
676
674
|
iconSpacing: 16
|
|
677
675
|
}
|
|
678
|
-
},
|
|
676
|
+
}, et = class {
|
|
679
677
|
mode;
|
|
680
678
|
customColors = null;
|
|
681
679
|
constructor(e = "light") {
|
|
682
680
|
this.mode = e;
|
|
683
681
|
}
|
|
684
682
|
getTheme() {
|
|
685
|
-
let e = this.mode === "light" ?
|
|
683
|
+
let e = this.mode === "light" ? Qe : $e;
|
|
686
684
|
return this.customColors ? {
|
|
687
685
|
...e,
|
|
688
686
|
colors: {
|
|
@@ -702,25 +700,25 @@ var $e = {
|
|
|
702
700
|
toggle() {
|
|
703
701
|
this.mode = this.mode === "light" ? "dark" : "light";
|
|
704
702
|
}
|
|
705
|
-
},
|
|
703
|
+
}, tt = ["en", "es"], nt = "en", rt = () => {
|
|
706
704
|
try {
|
|
707
705
|
let e = localStorage.getItem("fde-desktop:settings"), t = localStorage.getItem("fran-desktop:settings");
|
|
708
706
|
return JSON.parse(e ?? t ?? "{}")?.state?.theme?.mode ?? null;
|
|
709
707
|
} catch {
|
|
710
708
|
return null;
|
|
711
709
|
}
|
|
712
|
-
},
|
|
713
|
-
if (typeof navigator > "u" || !navigator.language) return
|
|
710
|
+
}, it = rt(), at = () => {
|
|
711
|
+
if (typeof navigator > "u" || !navigator.language) return nt;
|
|
714
712
|
let e = navigator.language.split("-")[0];
|
|
715
|
-
return
|
|
716
|
-
},
|
|
713
|
+
return tt.includes(e) ? e : nt;
|
|
714
|
+
}, ot = (() => {
|
|
717
715
|
try {
|
|
718
716
|
let e = localStorage.getItem("fde-desktop:settings"), t = localStorage.getItem("fran-desktop:settings"), n = JSON.parse(e ?? t ?? "{}")?.state?.language;
|
|
719
|
-
return n &&
|
|
717
|
+
return n && tt.includes(n) ? n : at();
|
|
720
718
|
} catch {
|
|
721
|
-
return
|
|
719
|
+
return at();
|
|
722
720
|
}
|
|
723
|
-
})(),
|
|
721
|
+
})(), st = typeof window < "u" && window.matchMedia?.("(prefers-color-scheme: dark)").matches ? "dark" : "light", X = new et(it ?? st), Z = re()(oe((e) => ({
|
|
724
722
|
wallpaper: null,
|
|
725
723
|
wallpaperModule: "default",
|
|
726
724
|
launcherIcon: "FcElectronics",
|
|
@@ -729,9 +727,9 @@ var $e = {
|
|
|
729
727
|
fontSize: 14,
|
|
730
728
|
animationDuration: .3,
|
|
731
729
|
theme: X.getTheme(),
|
|
732
|
-
themeSetManually:
|
|
730
|
+
themeSetManually: it !== null,
|
|
733
731
|
customThemeColors: null,
|
|
734
|
-
language:
|
|
732
|
+
language: ot,
|
|
735
733
|
setWallpaper: (t) => e({ wallpaper: t }),
|
|
736
734
|
setWallpaperModule: (t) => e({ wallpaperModule: t }),
|
|
737
735
|
setLauncherIcon: (t) => e({ launcherIcon: t }),
|
|
@@ -761,14 +759,14 @@ var $e = {
|
|
|
761
759
|
setLanguage: (t) => e({ language: t })
|
|
762
760
|
}), {
|
|
763
761
|
name: "fde-desktop:settings",
|
|
764
|
-
storage:
|
|
765
|
-
})),
|
|
762
|
+
storage: ie(() => localStorage)
|
|
763
|
+
})), ct = {
|
|
766
764
|
container: "_container_a0fjd_1",
|
|
767
765
|
flag: "_flag_a0fjd_8"
|
|
768
|
-
},
|
|
766
|
+
}, lt = {
|
|
769
767
|
en: /* @__PURE__ */ q("svg", {
|
|
770
768
|
viewBox: "0 0 60 40",
|
|
771
|
-
className:
|
|
769
|
+
className: ct.flag,
|
|
772
770
|
children: [
|
|
773
771
|
/* @__PURE__ */ K("rect", {
|
|
774
772
|
fill: "#012169",
|
|
@@ -799,7 +797,7 @@ var $e = {
|
|
|
799
797
|
}),
|
|
800
798
|
es: /* @__PURE__ */ q("svg", {
|
|
801
799
|
viewBox: "0 0 60 40",
|
|
802
|
-
className:
|
|
800
|
+
className: ct.flag,
|
|
803
801
|
children: [/* @__PURE__ */ K("rect", {
|
|
804
802
|
fill: "#C60B1E",
|
|
805
803
|
width: "60",
|
|
@@ -811,16 +809,16 @@ var $e = {
|
|
|
811
809
|
height: "20"
|
|
812
810
|
})]
|
|
813
811
|
})
|
|
814
|
-
},
|
|
812
|
+
}, ut = ({ lang: e, size: t = 20 }) => /* @__PURE__ */ K("div", {
|
|
815
813
|
style: {
|
|
816
814
|
width: t * 1.5,
|
|
817
815
|
height: t
|
|
818
816
|
},
|
|
819
|
-
className:
|
|
817
|
+
className: ct.container,
|
|
820
818
|
"aria-label": e === "en" ? "English" : "Español",
|
|
821
819
|
"data-testid": `flag-${e}`,
|
|
822
|
-
children:
|
|
823
|
-
}),
|
|
820
|
+
children: lt[e]
|
|
821
|
+
}), dt = [
|
|
824
822
|
{
|
|
825
823
|
value: "system-ui",
|
|
826
824
|
label: "System Default",
|
|
@@ -841,10 +839,10 @@ var $e = {
|
|
|
841
839
|
label: "Open Sans",
|
|
842
840
|
stack: "\"Open Sans\", monospace"
|
|
843
841
|
}
|
|
844
|
-
],
|
|
842
|
+
], ft = Object.fromEntries(dt.map((e) => [e.value, e.stack])), Q = {
|
|
845
843
|
"Source Code Pro": "https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap",
|
|
846
844
|
"Open Sans": "https://fonts.googleapis.com/css2?family=Open+Sans&display=swap"
|
|
847
|
-
},
|
|
845
|
+
}, pt = [
|
|
848
846
|
{
|
|
849
847
|
id: "wallpaper",
|
|
850
848
|
label: "Wallpaper",
|
|
@@ -881,24 +879,24 @@ var $e = {
|
|
|
881
879
|
fcIcon: "FcDisclaimer",
|
|
882
880
|
description: "Reset all settings and data to defaults."
|
|
883
881
|
}
|
|
884
|
-
],
|
|
882
|
+
], mt = ({ title: e, description: t, children: n }) => /* @__PURE__ */ q(z, {
|
|
885
883
|
gap: "md",
|
|
886
884
|
p: "md",
|
|
887
885
|
children: [
|
|
888
|
-
/* @__PURE__ */ K(
|
|
886
|
+
/* @__PURE__ */ K(F, {
|
|
889
887
|
fw: 600,
|
|
890
888
|
size: "lg",
|
|
891
889
|
children: e
|
|
892
890
|
}),
|
|
893
|
-
t && /* @__PURE__ */ K(
|
|
891
|
+
t && /* @__PURE__ */ K(F, {
|
|
894
892
|
size: "sm",
|
|
895
893
|
c: "dimmed",
|
|
896
894
|
children: t
|
|
897
895
|
}),
|
|
898
896
|
n
|
|
899
897
|
]
|
|
900
|
-
}),
|
|
901
|
-
let { t: e } =
|
|
898
|
+
}), ht = "/Images/wallpaper.jpg", gt = () => {
|
|
899
|
+
let { t: e } = B("settings"), t = Z((e) => e.wallpaper), n = Z((e) => e.wallpaperModule), r = Z((e) => e.setWallpaper), i = Z((e) => e.setWallpaperModule), [a, o] = G(""), [s, c] = G(!1), l = W(null), u = V(t ?? void 0) ?? ht, d = H((e) => {
|
|
902
900
|
let t = e.target.files?.[0];
|
|
903
901
|
if (!t) return;
|
|
904
902
|
let n = new FileReader();
|
|
@@ -915,10 +913,10 @@ var $e = {
|
|
|
915
913
|
let t = e.url ? e.url.startsWith("idb://") ? e.url : `/${e.url}` : null;
|
|
916
914
|
t && r(t), c(!1);
|
|
917
915
|
}, [r]);
|
|
918
|
-
return /* @__PURE__ */ q(
|
|
916
|
+
return /* @__PURE__ */ q(mt, {
|
|
919
917
|
title: e("wallpaper.title"),
|
|
920
918
|
children: [
|
|
921
|
-
/* @__PURE__ */ K("div", { children: /* @__PURE__ */ K(
|
|
919
|
+
/* @__PURE__ */ K("div", { children: /* @__PURE__ */ K(Y, {
|
|
922
920
|
value: n,
|
|
923
921
|
onChange: i,
|
|
924
922
|
data: [{
|
|
@@ -946,17 +944,17 @@ var $e = {
|
|
|
946
944
|
onChange: d,
|
|
947
945
|
"aria-label": e("wallpaper.uploadAria", { defaultValue: "Upload wallpaper file" })
|
|
948
946
|
}),
|
|
949
|
-
/* @__PURE__ */ K(
|
|
947
|
+
/* @__PURE__ */ K(I, {
|
|
950
948
|
variant: "light",
|
|
951
949
|
onClick: () => c(!0),
|
|
952
950
|
children: e("wallpaper.chooseFromImages")
|
|
953
951
|
}),
|
|
954
|
-
/* @__PURE__ */ K(
|
|
952
|
+
/* @__PURE__ */ K(I, {
|
|
955
953
|
variant: "light",
|
|
956
954
|
onClick: () => l.current?.click(),
|
|
957
955
|
children: e("wallpaper.uploadFromDisk")
|
|
958
956
|
}),
|
|
959
|
-
/* @__PURE__ */ K(
|
|
957
|
+
/* @__PURE__ */ K(I, {
|
|
960
958
|
variant: "subtle",
|
|
961
959
|
color: "red",
|
|
962
960
|
onClick: p,
|
|
@@ -965,19 +963,19 @@ var $e = {
|
|
|
965
963
|
] }),
|
|
966
964
|
/* @__PURE__ */ q(P, {
|
|
967
965
|
align: "flex-end",
|
|
968
|
-
children: [/* @__PURE__ */ K(
|
|
966
|
+
children: [/* @__PURE__ */ K(C, {
|
|
969
967
|
label: e("wallpaper.orEnterUrl"),
|
|
970
968
|
placeholder: "https://example.com/image.jpg",
|
|
971
969
|
value: a,
|
|
972
970
|
onChange: (e) => o(e.currentTarget.value),
|
|
973
971
|
style: { flex: 1 }
|
|
974
|
-
}), /* @__PURE__ */ K(
|
|
972
|
+
}), /* @__PURE__ */ K(I, {
|
|
975
973
|
onClick: f,
|
|
976
974
|
disabled: !a.trim(),
|
|
977
975
|
children: e("common:actions.apply")
|
|
978
976
|
})]
|
|
979
977
|
}),
|
|
980
|
-
/* @__PURE__ */ K(
|
|
978
|
+
/* @__PURE__ */ K(ce, {
|
|
981
979
|
opened: s,
|
|
982
980
|
acceptedMimeTypes: ["image/*"],
|
|
983
981
|
onConfirm: m,
|
|
@@ -985,8 +983,8 @@ var $e = {
|
|
|
985
983
|
})
|
|
986
984
|
]
|
|
987
985
|
});
|
|
988
|
-
},
|
|
989
|
-
let { t: e } =
|
|
986
|
+
}, _t = () => {
|
|
987
|
+
let { t: e } = B("settings"), t = Z((e) => e.theme.mode), n = Z((e) => e.themeSetManually), r = Z((e) => e.customThemeColors), i = Z((e) => e.animationDuration), a = Z((e) => e.setThemeMode), o = Z((e) => e.setThemeAutomatic), s = Z((e) => e.setCustomThemeColors), c = Z((e) => e.setAnimationDuration), l = r ? "custom" : n ? t : "system", u = H((e) => {
|
|
990
988
|
e === "system" ? (o(), s(null)) : e === "custom" ? s({
|
|
991
989
|
taskbar: "#339af0",
|
|
992
990
|
window: "#ffffff",
|
|
@@ -1003,22 +1001,22 @@ var $e = {
|
|
|
1003
1001
|
});
|
|
1004
1002
|
}, [r, s]), f = H((e) => {
|
|
1005
1003
|
c(e);
|
|
1006
|
-
}, [c]),
|
|
1004
|
+
}, [c]), m = l === "custom";
|
|
1007
1005
|
return /* @__PURE__ */ q(z, {
|
|
1008
1006
|
gap: "md",
|
|
1009
1007
|
p: "md",
|
|
1010
1008
|
children: [
|
|
1011
|
-
/* @__PURE__ */ K(
|
|
1009
|
+
/* @__PURE__ */ K(F, {
|
|
1012
1010
|
fw: 600,
|
|
1013
1011
|
size: "lg",
|
|
1014
1012
|
children: e("appearance.title")
|
|
1015
1013
|
}),
|
|
1016
|
-
/* @__PURE__ */ K(
|
|
1014
|
+
/* @__PURE__ */ K(F, {
|
|
1017
1015
|
size: "sm",
|
|
1018
1016
|
c: "dimmed",
|
|
1019
1017
|
children: e("appearance.description")
|
|
1020
1018
|
}),
|
|
1021
|
-
/* @__PURE__ */ K(
|
|
1019
|
+
/* @__PURE__ */ K(Y, {
|
|
1022
1020
|
value: l,
|
|
1023
1021
|
onChange: u,
|
|
1024
1022
|
data: [
|
|
@@ -1045,51 +1043,51 @@ var $e = {
|
|
|
1045
1043
|
gap: "sm",
|
|
1046
1044
|
mt: "md",
|
|
1047
1045
|
children: [
|
|
1048
|
-
/* @__PURE__ */ q(
|
|
1046
|
+
/* @__PURE__ */ q(p, { children: [/* @__PURE__ */ K(F, {
|
|
1049
1047
|
size: "sm",
|
|
1050
1048
|
fw: 500,
|
|
1051
1049
|
mb: "xs",
|
|
1052
|
-
c:
|
|
1050
|
+
c: m ? "dark" : void 0,
|
|
1053
1051
|
children: e("appearance.taskbar")
|
|
1054
|
-
}), /* @__PURE__ */ K(
|
|
1052
|
+
}), /* @__PURE__ */ K(g, {
|
|
1055
1053
|
value: r?.taskbar ?? "#339af0",
|
|
1056
1054
|
onChange: d("taskbar"),
|
|
1057
|
-
disabled: !
|
|
1055
|
+
disabled: !m
|
|
1058
1056
|
})] }),
|
|
1059
|
-
/* @__PURE__ */ q(
|
|
1057
|
+
/* @__PURE__ */ q(p, { children: [/* @__PURE__ */ K(F, {
|
|
1060
1058
|
size: "sm",
|
|
1061
1059
|
fw: 500,
|
|
1062
1060
|
mb: "xs",
|
|
1063
|
-
c:
|
|
1061
|
+
c: m ? "dark" : void 0,
|
|
1064
1062
|
children: e("appearance.window")
|
|
1065
|
-
}), /* @__PURE__ */ K(
|
|
1063
|
+
}), /* @__PURE__ */ K(g, {
|
|
1066
1064
|
value: r?.window ?? "#ffffff",
|
|
1067
1065
|
onChange: d("window"),
|
|
1068
|
-
disabled: !
|
|
1066
|
+
disabled: !m
|
|
1069
1067
|
})] }),
|
|
1070
|
-
/* @__PURE__ */ q(
|
|
1068
|
+
/* @__PURE__ */ q(p, { children: [/* @__PURE__ */ K(F, {
|
|
1071
1069
|
size: "sm",
|
|
1072
1070
|
fw: 500,
|
|
1073
1071
|
mb: "xs",
|
|
1074
|
-
c:
|
|
1072
|
+
c: m ? "dark" : void 0,
|
|
1075
1073
|
children: e("appearance.accent")
|
|
1076
|
-
}), /* @__PURE__ */ K(
|
|
1074
|
+
}), /* @__PURE__ */ K(g, {
|
|
1077
1075
|
value: r?.accent ?? "#339af0",
|
|
1078
1076
|
onChange: d("accent"),
|
|
1079
|
-
disabled: !
|
|
1077
|
+
disabled: !m
|
|
1080
1078
|
})] })
|
|
1081
1079
|
]
|
|
1082
1080
|
}),
|
|
1083
|
-
/* @__PURE__ */ q(
|
|
1081
|
+
/* @__PURE__ */ q(p, {
|
|
1084
1082
|
mt: "md",
|
|
1085
1083
|
children: [
|
|
1086
|
-
/* @__PURE__ */ K(
|
|
1084
|
+
/* @__PURE__ */ K(F, {
|
|
1087
1085
|
size: "sm",
|
|
1088
1086
|
fw: 500,
|
|
1089
1087
|
mb: "xs",
|
|
1090
1088
|
children: e("appearance.animationDuration")
|
|
1091
1089
|
}),
|
|
1092
|
-
/* @__PURE__ */ K(
|
|
1090
|
+
/* @__PURE__ */ K(F, {
|
|
1093
1091
|
size: "xs",
|
|
1094
1092
|
c: "dimmed",
|
|
1095
1093
|
mb: "sm",
|
|
@@ -1120,7 +1118,7 @@ var $e = {
|
|
|
1120
1118
|
}
|
|
1121
1119
|
],
|
|
1122
1120
|
"aria-label": e("appearance.animationDuration")
|
|
1123
|
-
}), /* @__PURE__ */ q(
|
|
1121
|
+
}), /* @__PURE__ */ q(F, {
|
|
1124
1122
|
size: "sm",
|
|
1125
1123
|
fw: 500,
|
|
1126
1124
|
style: { minWidth: 40 },
|
|
@@ -1131,33 +1129,33 @@ var $e = {
|
|
|
1131
1129
|
})
|
|
1132
1130
|
]
|
|
1133
1131
|
});
|
|
1134
|
-
},
|
|
1135
|
-
let e = Z((e) => e.launcherIcon), t = Z((e) => e.setLauncherIcon), [n, r] = G([]), [i, a] = G(""), o =
|
|
1132
|
+
}, vt = () => {
|
|
1133
|
+
let e = Z((e) => e.launcherIcon), t = Z((e) => e.setLauncherIcon), [n, r] = G([]), [i, a] = G(""), o = me(i);
|
|
1136
1134
|
U(() => {
|
|
1137
|
-
import("
|
|
1135
|
+
import("./fc-kd8WzIER.js").then((e) => e.r).then((e) => {
|
|
1138
1136
|
r(Object.keys(e).filter((e) => e.startsWith("Fc")).sort());
|
|
1139
1137
|
});
|
|
1140
1138
|
}, []);
|
|
1141
1139
|
let s = o ? n.filter((e) => e.toLowerCase().includes(o.toLowerCase())) : n, c = H((e) => {
|
|
1142
1140
|
t(e);
|
|
1143
1141
|
}, [t]);
|
|
1144
|
-
return /* @__PURE__ */ q(
|
|
1142
|
+
return /* @__PURE__ */ q(mt, {
|
|
1145
1143
|
title: "Launcher Icon",
|
|
1146
1144
|
description: `Selected: ${e}`,
|
|
1147
|
-
children: [/* @__PURE__ */ K(
|
|
1145
|
+
children: [/* @__PURE__ */ K(C, {
|
|
1148
1146
|
placeholder: "Search icons...",
|
|
1149
1147
|
value: i,
|
|
1150
1148
|
onChange: (e) => a(e.currentTarget.value),
|
|
1151
1149
|
"aria-label": "Search icons"
|
|
1152
|
-
}), /* @__PURE__ */ K(
|
|
1150
|
+
}), /* @__PURE__ */ K(T, {
|
|
1153
1151
|
style: {
|
|
1154
1152
|
flex: 1,
|
|
1155
1153
|
height: 300
|
|
1156
1154
|
},
|
|
1157
|
-
children: /* @__PURE__ */ K(
|
|
1155
|
+
children: /* @__PURE__ */ K(h, {
|
|
1158
1156
|
cols: 8,
|
|
1159
1157
|
spacing: 4,
|
|
1160
|
-
children: s.map((t) => /* @__PURE__ */ K(
|
|
1158
|
+
children: s.map((t) => /* @__PURE__ */ K(v, {
|
|
1161
1159
|
label: t,
|
|
1162
1160
|
withArrow: !0,
|
|
1163
1161
|
openDelay: 400,
|
|
@@ -1182,27 +1180,27 @@ var $e = {
|
|
|
1182
1180
|
})
|
|
1183
1181
|
})]
|
|
1184
1182
|
});
|
|
1185
|
-
},
|
|
1183
|
+
}, yt = (e) => {
|
|
1186
1184
|
let t = Q[e];
|
|
1187
1185
|
if (!t || document.head.querySelector(`link[data-font="${e}"]`)) return;
|
|
1188
1186
|
let n = document.createElement("link");
|
|
1189
1187
|
n.rel = "stylesheet", n.href = t, n.setAttribute("data-font", e), document.head.appendChild(n);
|
|
1190
|
-
},
|
|
1188
|
+
}, bt = async (e) => {
|
|
1191
1189
|
let t = Q[e];
|
|
1192
1190
|
if (!t) throw Error(`Font "${e}" not found in Google Fonts`);
|
|
1193
1191
|
let n = await fetch(t);
|
|
1194
1192
|
if (!n.ok) throw Error(`Failed to download font: HTTP ${n.status}`);
|
|
1195
|
-
return await n.text(),
|
|
1193
|
+
return await n.text(), yt(e), {
|
|
1196
1194
|
font: e,
|
|
1197
1195
|
success: !0
|
|
1198
1196
|
};
|
|
1199
|
-
},
|
|
1197
|
+
}, xt = (e) => {
|
|
1200
1198
|
let t = ge(), n = Z((e) => e.markFontDownloaded), r = Z((e) => e.downloadedFonts), i = e ? r.includes(e) : !1, a = e && !i && Q[e], o = he({
|
|
1201
1199
|
queryKey: ["font", e ?? ""],
|
|
1202
1200
|
queryFn: async ({ queryKey: e }) => {
|
|
1203
1201
|
let [, t] = e;
|
|
1204
1202
|
if (!t || !Q[t]) throw Error(`Font "${t}" not available`);
|
|
1205
|
-
let r = await
|
|
1203
|
+
let r = await bt(t);
|
|
1206
1204
|
return r.success && n(t), r;
|
|
1207
1205
|
},
|
|
1208
1206
|
enabled: !!a,
|
|
@@ -1242,15 +1240,15 @@ var $e = {
|
|
|
1242
1240
|
isDownloaded: i,
|
|
1243
1241
|
reset: c
|
|
1244
1242
|
};
|
|
1245
|
-
},
|
|
1246
|
-
let { t: r } =
|
|
1243
|
+
}, St = le[1], Ct = ({ status: e, error: t, onDownload: n }) => {
|
|
1244
|
+
let { t: r } = B("settings");
|
|
1247
1245
|
return t ? /* @__PURE__ */ K(Ne, {
|
|
1248
|
-
color:
|
|
1246
|
+
color: St,
|
|
1249
1247
|
variant: "filled",
|
|
1250
1248
|
size: "sm",
|
|
1251
1249
|
"aria-label": `Download error: ${t}`,
|
|
1252
1250
|
children: r("common:status.error")
|
|
1253
|
-
}) : /* @__PURE__ */ K(
|
|
1251
|
+
}) : /* @__PURE__ */ K(I, {
|
|
1254
1252
|
size: "xs",
|
|
1255
1253
|
variant: "light",
|
|
1256
1254
|
onClick: n,
|
|
@@ -1258,8 +1256,8 @@ var $e = {
|
|
|
1258
1256
|
"aria-label": r("font.download"),
|
|
1259
1257
|
children: r("font.download")
|
|
1260
1258
|
});
|
|
1261
|
-
},
|
|
1262
|
-
let { t: e } =
|
|
1259
|
+
}, wt = () => {
|
|
1260
|
+
let { t: e } = B("settings"), t = Z((e) => e.font), n = Z((e) => e.setFont), r = Z((e) => e.fontSize), i = Z((e) => e.setFontSize), a = Z((e) => e.downloadedFonts), o = Z((e) => e.markFontDownloaded), [s, c] = G(null), l = xt(s);
|
|
1263
1261
|
U(() => {
|
|
1264
1262
|
l.isSuccess && l.data?.success && s && (a.includes(s) || o(s));
|
|
1265
1263
|
}, [
|
|
@@ -1274,28 +1272,28 @@ var $e = {
|
|
|
1274
1272
|
}, []), d = (e) => a.includes(e) ? "done" : s === e ? l.progress.status : "idle", f = (e) => s === e ? l.progress.error : null, p = H((e) => {
|
|
1275
1273
|
let t = e.trim();
|
|
1276
1274
|
t && (Q[t] = `https://fonts.googleapis.com/css2?family=${t.replace(/\s+/g, "+")}&display=swap`, c(t));
|
|
1277
|
-
}, []), m =
|
|
1275
|
+
}, []), m = dt.map((e) => e.value), h = a.filter((e) => !m.includes(e));
|
|
1278
1276
|
return /* @__PURE__ */ q(z, {
|
|
1279
1277
|
gap: "md",
|
|
1280
1278
|
p: "md",
|
|
1281
1279
|
children: [
|
|
1282
|
-
/* @__PURE__ */ K(
|
|
1280
|
+
/* @__PURE__ */ K(F, {
|
|
1283
1281
|
fw: 600,
|
|
1284
1282
|
size: "lg",
|
|
1285
1283
|
children: e("font.title")
|
|
1286
1284
|
}),
|
|
1287
|
-
/* @__PURE__ */ K(
|
|
1285
|
+
/* @__PURE__ */ K(F, {
|
|
1288
1286
|
size: "sm",
|
|
1289
1287
|
c: "dimmed",
|
|
1290
1288
|
children: e("font.description")
|
|
1291
1289
|
}),
|
|
1292
|
-
/* @__PURE__ */ K(
|
|
1290
|
+
/* @__PURE__ */ K(J.Group, {
|
|
1293
1291
|
value: t,
|
|
1294
1292
|
onChange: n,
|
|
1295
1293
|
"aria-label": e("font.selectionAria", { defaultValue: "Font selection" }),
|
|
1296
1294
|
children: /* @__PURE__ */ q(z, {
|
|
1297
1295
|
gap: "xs",
|
|
1298
|
-
children: [
|
|
1296
|
+
children: [dt.map((e) => {
|
|
1299
1297
|
let t = !!Q[e.value], n = a.includes(e.value), r = d(e.value), i = f(e.value), o = !t || n || r === "done";
|
|
1300
1298
|
return /* @__PURE__ */ K(N, {
|
|
1301
1299
|
p: "sm",
|
|
@@ -1305,7 +1303,7 @@ var $e = {
|
|
|
1305
1303
|
gap: "xs",
|
|
1306
1304
|
children: [/* @__PURE__ */ q(P, {
|
|
1307
1305
|
justify: "space-between",
|
|
1308
|
-
children: [/* @__PURE__ */ K(
|
|
1306
|
+
children: [/* @__PURE__ */ K(J, {
|
|
1309
1307
|
value: e.value,
|
|
1310
1308
|
label: e.label,
|
|
1311
1309
|
"aria-label": e.label,
|
|
@@ -1313,12 +1311,12 @@ var $e = {
|
|
|
1313
1311
|
}), /* @__PURE__ */ q(P, {
|
|
1314
1312
|
gap: "xs",
|
|
1315
1313
|
align: "center",
|
|
1316
|
-
children: [o && /* @__PURE__ */ K(
|
|
1314
|
+
children: [o && /* @__PURE__ */ K(F, {
|
|
1317
1315
|
size: "sm",
|
|
1318
1316
|
c: "dimmed",
|
|
1319
1317
|
style: { fontFamily: e.stack },
|
|
1320
1318
|
children: "AaBbCcDd"
|
|
1321
|
-
}), t && /* @__PURE__ */ K(
|
|
1319
|
+
}), t && /* @__PURE__ */ K(Ct, {
|
|
1322
1320
|
fontLabel: e.label,
|
|
1323
1321
|
status: r,
|
|
1324
1322
|
error: i,
|
|
@@ -1326,7 +1324,7 @@ var $e = {
|
|
|
1326
1324
|
isDownloaded: n
|
|
1327
1325
|
})]
|
|
1328
1326
|
})]
|
|
1329
|
-
}), t && r === "downloading" && /* @__PURE__ */ K(
|
|
1327
|
+
}), t && r === "downloading" && /* @__PURE__ */ K(te, { state: l.progress })]
|
|
1330
1328
|
})
|
|
1331
1329
|
}, e.value);
|
|
1332
1330
|
}), h.map((e) => /* @__PURE__ */ K(N, {
|
|
@@ -1335,11 +1333,11 @@ var $e = {
|
|
|
1335
1333
|
radius: "md",
|
|
1336
1334
|
children: /* @__PURE__ */ q(P, {
|
|
1337
1335
|
justify: "space-between",
|
|
1338
|
-
children: [/* @__PURE__ */ K(
|
|
1336
|
+
children: [/* @__PURE__ */ K(J, {
|
|
1339
1337
|
value: e,
|
|
1340
1338
|
label: e,
|
|
1341
1339
|
"aria-label": e
|
|
1342
|
-
}), /* @__PURE__ */ K(
|
|
1340
|
+
}), /* @__PURE__ */ K(F, {
|
|
1343
1341
|
size: "sm",
|
|
1344
1342
|
c: "dimmed",
|
|
1345
1343
|
style: { fontFamily: `"${e}"` },
|
|
@@ -1357,11 +1355,11 @@ var $e = {
|
|
|
1357
1355
|
gap: "xs",
|
|
1358
1356
|
children: [/* @__PURE__ */ q(P, {
|
|
1359
1357
|
justify: "space-between",
|
|
1360
|
-
children: [/* @__PURE__ */ K(
|
|
1358
|
+
children: [/* @__PURE__ */ K(F, {
|
|
1361
1359
|
size: "sm",
|
|
1362
1360
|
fw: 500,
|
|
1363
1361
|
children: e("font.fontSize")
|
|
1364
|
-
}), /* @__PURE__ */ q(
|
|
1362
|
+
}), /* @__PURE__ */ q(F, {
|
|
1365
1363
|
size: "sm",
|
|
1366
1364
|
c: "dimmed",
|
|
1367
1365
|
children: [r, "px"]
|
|
@@ -1383,15 +1381,15 @@ var $e = {
|
|
|
1383
1381
|
})]
|
|
1384
1382
|
})
|
|
1385
1383
|
}),
|
|
1386
|
-
/* @__PURE__ */ K(
|
|
1384
|
+
/* @__PURE__ */ K(Tt, {
|
|
1387
1385
|
onDownload: p,
|
|
1388
1386
|
activeDownload: s,
|
|
1389
1387
|
fontDownload: l
|
|
1390
1388
|
})
|
|
1391
1389
|
]
|
|
1392
1390
|
});
|
|
1393
|
-
},
|
|
1394
|
-
let { t: r } =
|
|
1391
|
+
}, Tt = ({ onDownload: e, activeDownload: t, fontDownload: n }) => {
|
|
1392
|
+
let { t: r } = B("settings"), [i, a] = G(""), o = t === i.trim(), s = o ? n.progress.status : "idle", c = o && n.progress.status === "error", l = H((e) => {
|
|
1395
1393
|
a(e), c && n.reset?.();
|
|
1396
1394
|
}, [c, n]), u = H(() => {
|
|
1397
1395
|
e(i);
|
|
@@ -1403,7 +1401,7 @@ var $e = {
|
|
|
1403
1401
|
children: /* @__PURE__ */ q(z, {
|
|
1404
1402
|
gap: "xs",
|
|
1405
1403
|
children: [
|
|
1406
|
-
/* @__PURE__ */ q(
|
|
1404
|
+
/* @__PURE__ */ q(F, {
|
|
1407
1405
|
size: "sm",
|
|
1408
1406
|
fw: 500,
|
|
1409
1407
|
children: [
|
|
@@ -1420,14 +1418,14 @@ var $e = {
|
|
|
1420
1418
|
/* @__PURE__ */ q(P, {
|
|
1421
1419
|
gap: "xs",
|
|
1422
1420
|
align: "flex-start",
|
|
1423
|
-
children: [/* @__PURE__ */ K(
|
|
1421
|
+
children: [/* @__PURE__ */ K(C, {
|
|
1424
1422
|
placeholder: r("font.namePlaceholder", { defaultValue: "e.g. Open Sans" }),
|
|
1425
1423
|
value: i,
|
|
1426
1424
|
onChange: (e) => l(e.currentTarget.value),
|
|
1427
1425
|
style: { flex: 1 },
|
|
1428
1426
|
"aria-label": r("font.customNameAria", { defaultValue: "Custom font name" }),
|
|
1429
1427
|
error: c ? r("font.downloadError") : void 0
|
|
1430
|
-
}), /* @__PURE__ */ K(
|
|
1428
|
+
}), /* @__PURE__ */ K(I, {
|
|
1431
1429
|
onClick: u,
|
|
1432
1430
|
disabled: !i.trim() || s === "downloading",
|
|
1433
1431
|
loading: s === "downloading",
|
|
@@ -1436,8 +1434,8 @@ var $e = {
|
|
|
1436
1434
|
children: r("font.download")
|
|
1437
1435
|
})]
|
|
1438
1436
|
}),
|
|
1439
|
-
s === "downloading" && /* @__PURE__ */ K(
|
|
1440
|
-
d && /* @__PURE__ */ K(
|
|
1437
|
+
s === "downloading" && /* @__PURE__ */ K(te, { state: n.progress }),
|
|
1438
|
+
d && /* @__PURE__ */ K(F, {
|
|
1441
1439
|
size: "xs",
|
|
1442
1440
|
c: "dimmed",
|
|
1443
1441
|
children: r("font.downloadSuccess")
|
|
@@ -1445,21 +1443,21 @@ var $e = {
|
|
|
1445
1443
|
]
|
|
1446
1444
|
})
|
|
1447
1445
|
});
|
|
1448
|
-
},
|
|
1446
|
+
}, Et = ["en", "es"], Dt = "en", Ot = {
|
|
1449
1447
|
en: "English",
|
|
1450
1448
|
es: "Español"
|
|
1451
|
-
},
|
|
1452
|
-
let { t: e } =
|
|
1449
|
+
}, kt = () => {
|
|
1450
|
+
let { t: e } = B("settings"), t = Z((e) => e.language), n = Z((e) => e.setLanguage), r = H((e) => {
|
|
1453
1451
|
n(e);
|
|
1454
1452
|
}, [n]);
|
|
1455
|
-
return /* @__PURE__ */ K(
|
|
1453
|
+
return /* @__PURE__ */ K(mt, {
|
|
1456
1454
|
title: e("language.title"),
|
|
1457
1455
|
description: e("language.description"),
|
|
1458
1456
|
children: /* @__PURE__ */ K(z, {
|
|
1459
1457
|
gap: "xs",
|
|
1460
|
-
children:
|
|
1458
|
+
children: Et.map((e) => /* @__PURE__ */ K(M, {
|
|
1461
1459
|
onClick: () => r(e),
|
|
1462
|
-
"aria-label":
|
|
1460
|
+
"aria-label": Ot[e],
|
|
1463
1461
|
"aria-pressed": e === t,
|
|
1464
1462
|
style: {
|
|
1465
1463
|
padding: "12px 16px",
|
|
@@ -1472,12 +1470,12 @@ var $e = {
|
|
|
1472
1470
|
},
|
|
1473
1471
|
children: /* @__PURE__ */ q(P, {
|
|
1474
1472
|
gap: "sm",
|
|
1475
|
-
children: [/* @__PURE__ */ K(
|
|
1473
|
+
children: [/* @__PURE__ */ K(ut, {
|
|
1476
1474
|
lang: e,
|
|
1477
1475
|
size: 24
|
|
1478
|
-
}), /* @__PURE__ */ K(
|
|
1476
|
+
}), /* @__PURE__ */ K(F, {
|
|
1479
1477
|
fw: e === t ? 600 : 400,
|
|
1480
|
-
children:
|
|
1478
|
+
children: Ot[e]
|
|
1481
1479
|
})]
|
|
1482
1480
|
})
|
|
1483
1481
|
}, e))
|
|
@@ -1486,7 +1484,7 @@ var $e = {
|
|
|
1486
1484
|
};
|
|
1487
1485
|
//#endregion
|
|
1488
1486
|
//#region src/utils/clearBrowserData.ts
|
|
1489
|
-
async function
|
|
1487
|
+
async function At(e) {
|
|
1490
1488
|
let t = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : void 0;
|
|
1491
1489
|
if (t) {
|
|
1492
1490
|
if (!e?.keepServiceWorker && "serviceWorker" in t.navigator) {
|
|
@@ -1506,30 +1504,30 @@ async function jt(e) {
|
|
|
1506
1504
|
}
|
|
1507
1505
|
//#endregion
|
|
1508
1506
|
//#region src/utils/resetDockerWorkspace.ts
|
|
1509
|
-
async function
|
|
1510
|
-
|
|
1507
|
+
async function jt() {
|
|
1508
|
+
ne() && (await fetch("/api/fs/reset", { method: "POST" }), await fetch("/api/fs/seed", { method: "POST" }));
|
|
1511
1509
|
}
|
|
1512
1510
|
//#endregion
|
|
1513
1511
|
//#region src/components/Apps/SettingsApp/sections/ResetSettings.tsx
|
|
1514
|
-
var
|
|
1515
|
-
let { t: e } =
|
|
1512
|
+
var Mt = () => {
|
|
1513
|
+
let { t: e } = B("settings"), [t, n] = G(!1), r = H(() => {
|
|
1516
1514
|
n(!0);
|
|
1517
1515
|
}, []), i = H(() => {
|
|
1518
1516
|
n(!1);
|
|
1519
1517
|
}, []), a = H(async () => {
|
|
1520
|
-
await
|
|
1518
|
+
await jt(), await At(), window.location.reload();
|
|
1521
1519
|
}, []), o = H(async () => {
|
|
1522
|
-
await
|
|
1520
|
+
await jt(), await At({ keepIndexedDB: !0 }), window.location.reload();
|
|
1523
1521
|
}, []);
|
|
1524
|
-
return /* @__PURE__ */ q(
|
|
1522
|
+
return /* @__PURE__ */ q(mt, {
|
|
1525
1523
|
title: e("reset.title"),
|
|
1526
1524
|
description: e("reset.description"),
|
|
1527
|
-
children: [/* @__PURE__ */ K(
|
|
1525
|
+
children: [/* @__PURE__ */ K(I, {
|
|
1528
1526
|
color: "red",
|
|
1529
1527
|
onClick: r,
|
|
1530
1528
|
style: { alignSelf: "flex-start" },
|
|
1531
1529
|
children: e("reset.resetButton")
|
|
1532
|
-
}), t && /* @__PURE__ */ K(
|
|
1530
|
+
}), t && /* @__PURE__ */ K(p, {
|
|
1533
1531
|
style: {
|
|
1534
1532
|
position: "fixed",
|
|
1535
1533
|
top: 0,
|
|
@@ -1544,7 +1542,7 @@ var Nt = () => {
|
|
|
1544
1542
|
},
|
|
1545
1543
|
role: "dialog",
|
|
1546
1544
|
"aria-label": "Confirm reset",
|
|
1547
|
-
children: /* @__PURE__ */ K(
|
|
1545
|
+
children: /* @__PURE__ */ K(p, {
|
|
1548
1546
|
style: {
|
|
1549
1547
|
background: "var(--mantine-color-default)",
|
|
1550
1548
|
borderRadius: 8,
|
|
@@ -1555,13 +1553,13 @@ var Nt = () => {
|
|
|
1555
1553
|
children: /* @__PURE__ */ q(z, {
|
|
1556
1554
|
gap: "md",
|
|
1557
1555
|
children: [
|
|
1558
|
-
/* @__PURE__ */ K(
|
|
1556
|
+
/* @__PURE__ */ K(F, {
|
|
1559
1557
|
fw: 600,
|
|
1560
1558
|
size: "lg",
|
|
1561
1559
|
ta: "center",
|
|
1562
1560
|
children: e("reset.modalTitle")
|
|
1563
1561
|
}),
|
|
1564
|
-
/* @__PURE__ */ K(
|
|
1562
|
+
/* @__PURE__ */ K(F, {
|
|
1565
1563
|
size: "sm",
|
|
1566
1564
|
c: "dimmed",
|
|
1567
1565
|
ta: "center",
|
|
@@ -1572,17 +1570,17 @@ var Nt = () => {
|
|
|
1572
1570
|
gap: "xs",
|
|
1573
1571
|
mt: "md",
|
|
1574
1572
|
children: [
|
|
1575
|
-
/* @__PURE__ */ K(
|
|
1573
|
+
/* @__PURE__ */ K(I, {
|
|
1576
1574
|
variant: "default",
|
|
1577
1575
|
onClick: i,
|
|
1578
1576
|
children: e("reset.goBack")
|
|
1579
1577
|
}),
|
|
1580
|
-
/* @__PURE__ */ K(
|
|
1578
|
+
/* @__PURE__ */ K(I, {
|
|
1581
1579
|
color: "blue",
|
|
1582
1580
|
onClick: o,
|
|
1583
1581
|
children: e("reset.keepFiles")
|
|
1584
1582
|
}),
|
|
1585
|
-
/* @__PURE__ */ K(
|
|
1583
|
+
/* @__PURE__ */ K(I, {
|
|
1586
1584
|
color: "red",
|
|
1587
1585
|
onClick: a,
|
|
1588
1586
|
children: e("reset.burnEverything")
|
|
@@ -1604,7 +1602,7 @@ var Nt = () => {
|
|
|
1604
1602
|
toolbar: "_toolbar_77epl_60",
|
|
1605
1603
|
dirtyIndicator: "_dirtyIndicator_77epl_70",
|
|
1606
1604
|
versionFooter: "_versionFooter_77epl_77"
|
|
1607
|
-
},
|
|
1605
|
+
}, Nt = {
|
|
1608
1606
|
name: "Francisco Núñez Palomares",
|
|
1609
1607
|
title: "Fullstack Developer & DevOps",
|
|
1610
1608
|
email: "frannunpal@gmail.com",
|
|
@@ -1616,15 +1614,15 @@ var Nt = () => {
|
|
|
1616
1614
|
en: "Desktop/CV_2026_English.pdf",
|
|
1617
1615
|
es: "Desktop/CV 2026.pdf"
|
|
1618
1616
|
}
|
|
1619
|
-
},
|
|
1620
|
-
wallpaper:
|
|
1621
|
-
appearance:
|
|
1622
|
-
launcher:
|
|
1623
|
-
font:
|
|
1624
|
-
language:
|
|
1625
|
-
reset:
|
|
1626
|
-
},
|
|
1627
|
-
let { t: n } =
|
|
1617
|
+
}, Pt = "0.4.0", Ft = () => Pt, It = {
|
|
1618
|
+
wallpaper: gt,
|
|
1619
|
+
appearance: _t,
|
|
1620
|
+
launcher: vt,
|
|
1621
|
+
font: wt,
|
|
1622
|
+
language: kt,
|
|
1623
|
+
reset: Mt
|
|
1624
|
+
}, Lt = ({ window: e, notifyReady: t }) => {
|
|
1625
|
+
let { t: n } = B("settings"), [r, i] = G(null), [a, o] = G(!1), s = ae((e) => e.windows), c = e?.id ?? s.find((e) => e.content === "settings")?.id, l = Z((e) => e.wallpaper), u = Z((e) => e.wallpaperModule), d = Z((e) => e.theme), f = Z((e) => e.font), p = Z((e) => e.fontSize), m = Z((e) => e.launcherIcon), g = Z((e) => e.customThemeColors), _ = Z((e) => e.animationDuration), v = Z((e) => e.setWallpaper), y = Z((e) => e.setWallpaperModule), b = Z((e) => e.setFont), x = Z((e) => e.setFontSize), S = Z((e) => e.setLauncherIcon), C = Z((e) => e.setThemeMode), w = Z((e) => e.setCustomThemeColors), T = Z((e) => e.setThemeAutomatic), E = Z((e) => e.setAnimationDuration), D = W(null);
|
|
1628
1626
|
U(() => {
|
|
1629
1627
|
D.current === null && (D.current = {
|
|
1630
1628
|
wallpaper: l,
|
|
@@ -1633,7 +1631,7 @@ var Nt = () => {
|
|
|
1633
1631
|
font: f,
|
|
1634
1632
|
fontSize: p,
|
|
1635
1633
|
launcherIcon: m,
|
|
1636
|
-
customThemeColors:
|
|
1634
|
+
customThemeColors: g,
|
|
1637
1635
|
animationDuration: _
|
|
1638
1636
|
});
|
|
1639
1637
|
}, [
|
|
@@ -1643,7 +1641,7 @@ var Nt = () => {
|
|
|
1643
1641
|
f,
|
|
1644
1642
|
p,
|
|
1645
1643
|
m,
|
|
1646
|
-
|
|
1644
|
+
g,
|
|
1647
1645
|
_
|
|
1648
1646
|
]), U(() => {
|
|
1649
1647
|
if (!D.current) return;
|
|
@@ -1654,7 +1652,7 @@ var Nt = () => {
|
|
|
1654
1652
|
font: f,
|
|
1655
1653
|
fontSize: p,
|
|
1656
1654
|
launcherIcon: m,
|
|
1657
|
-
customThemeColors:
|
|
1655
|
+
customThemeColors: g,
|
|
1658
1656
|
animationDuration: _
|
|
1659
1657
|
};
|
|
1660
1658
|
o(JSON.stringify(e) !== JSON.stringify(D.current));
|
|
@@ -1665,10 +1663,10 @@ var Nt = () => {
|
|
|
1665
1663
|
f,
|
|
1666
1664
|
p,
|
|
1667
1665
|
m,
|
|
1668
|
-
|
|
1666
|
+
g,
|
|
1669
1667
|
_
|
|
1670
1668
|
]);
|
|
1671
|
-
let
|
|
1669
|
+
let O = H(() => {
|
|
1672
1670
|
let e = D.current;
|
|
1673
1671
|
e && (v(e.wallpaper), y(e.wallpaperModule), b(e.font), x(e.fontSize), S(e.launcherIcon), E(e.animationDuration), e.customThemeColors ? w(e.customThemeColors) : (w(null), T()), C(e.themeMode), o(!1));
|
|
1674
1672
|
}, [
|
|
@@ -1683,19 +1681,19 @@ var Nt = () => {
|
|
|
1683
1681
|
T
|
|
1684
1682
|
]);
|
|
1685
1683
|
U(() => {
|
|
1686
|
-
c &&
|
|
1684
|
+
c && ue.getState().reset(c);
|
|
1687
1685
|
}, [c]), U(() => {
|
|
1688
|
-
c &&
|
|
1686
|
+
c && ue.getState().setIsDirty(c, a);
|
|
1689
1687
|
}, [c, a]), U(() => {
|
|
1690
1688
|
t?.({
|
|
1691
1689
|
...e?.contentData ?? {},
|
|
1692
|
-
discard:
|
|
1690
|
+
discard: O
|
|
1693
1691
|
});
|
|
1694
1692
|
}, [
|
|
1695
1693
|
e,
|
|
1696
1694
|
t,
|
|
1697
|
-
|
|
1698
|
-
]),
|
|
1695
|
+
O
|
|
1696
|
+
]), se({
|
|
1699
1697
|
isDirtyGetter: H(() => {
|
|
1700
1698
|
if (!D.current) return !1;
|
|
1701
1699
|
let e = {
|
|
@@ -1711,16 +1709,16 @@ var Nt = () => {
|
|
|
1711
1709
|
return JSON.stringify(e) !== JSON.stringify(D.current);
|
|
1712
1710
|
}, []),
|
|
1713
1711
|
windowId: c,
|
|
1714
|
-
onDiscard:
|
|
1712
|
+
onDiscard: O,
|
|
1715
1713
|
onSave: () => {}
|
|
1716
1714
|
});
|
|
1717
|
-
let
|
|
1715
|
+
let k = H((e) => {
|
|
1718
1716
|
i(e);
|
|
1719
|
-
}, []),
|
|
1717
|
+
}, []), A = H(() => {
|
|
1720
1718
|
i(null);
|
|
1721
|
-
}, []),
|
|
1722
|
-
globalThis.location.href = `mailto:${
|
|
1723
|
-
}, []),
|
|
1719
|
+
}, []), ee = H(() => {
|
|
1720
|
+
globalThis.location.href = `mailto:${Nt.email}`;
|
|
1721
|
+
}, []), j = r ? It[r] : null;
|
|
1724
1722
|
return /* @__PURE__ */ q("div", {
|
|
1725
1723
|
className: $.root,
|
|
1726
1724
|
children: [/* @__PURE__ */ K("aside", {
|
|
@@ -1730,28 +1728,28 @@ var Nt = () => {
|
|
|
1730
1728
|
children: [/* @__PURE__ */ q("button", {
|
|
1731
1729
|
className: $.navItem,
|
|
1732
1730
|
"data-active": r === null || void 0,
|
|
1733
|
-
onClick:
|
|
1731
|
+
onClick: A,
|
|
1734
1732
|
"aria-label": "All Settings",
|
|
1735
1733
|
"aria-current": r === null ? "page" : void 0,
|
|
1736
1734
|
children: [/* @__PURE__ */ K(R, {
|
|
1737
1735
|
fcIcon: "FcList",
|
|
1738
1736
|
size: 16
|
|
1739
|
-
}), /* @__PURE__ */ K(
|
|
1737
|
+
}), /* @__PURE__ */ K(F, {
|
|
1740
1738
|
size: "xs",
|
|
1741
1739
|
ml: 6,
|
|
1742
1740
|
truncate: !0,
|
|
1743
1741
|
children: n("all")
|
|
1744
1742
|
})]
|
|
1745
|
-
}),
|
|
1743
|
+
}), pt.map((e) => /* @__PURE__ */ q("button", {
|
|
1746
1744
|
className: $.navItem,
|
|
1747
1745
|
"data-active": r === e.id || void 0,
|
|
1748
|
-
onClick: () =>
|
|
1746
|
+
onClick: () => k(e.id),
|
|
1749
1747
|
"aria-label": e.label,
|
|
1750
1748
|
"aria-current": r === e.id ? "page" : void 0,
|
|
1751
1749
|
children: [/* @__PURE__ */ K(R, {
|
|
1752
1750
|
fcIcon: e.fcIcon,
|
|
1753
1751
|
size: 16
|
|
1754
|
-
}), /* @__PURE__ */ K(
|
|
1752
|
+
}), /* @__PURE__ */ K(F, {
|
|
1755
1753
|
size: "xs",
|
|
1756
1754
|
ml: 6,
|
|
1757
1755
|
truncate: !0,
|
|
@@ -1761,27 +1759,27 @@ var Nt = () => {
|
|
|
1761
1759
|
})
|
|
1762
1760
|
}), /* @__PURE__ */ K("main", {
|
|
1763
1761
|
className: $.content,
|
|
1764
|
-
children:
|
|
1762
|
+
children: j ? /* @__PURE__ */ K(j, {}) : /* @__PURE__ */ q(z, {
|
|
1765
1763
|
className: $.overviewPadding,
|
|
1766
1764
|
h: "100%",
|
|
1767
1765
|
justify: "space-between",
|
|
1768
1766
|
gap: 0,
|
|
1769
1767
|
children: [
|
|
1770
|
-
/* @__PURE__ */ q("div", { children: [/* @__PURE__ */ K(
|
|
1768
|
+
/* @__PURE__ */ q("div", { children: [/* @__PURE__ */ K(F, {
|
|
1771
1769
|
fw: 500,
|
|
1772
1770
|
mb: "md",
|
|
1773
1771
|
size: "sm",
|
|
1774
1772
|
c: "dimmed",
|
|
1775
1773
|
children: n("all")
|
|
1776
|
-
}), /* @__PURE__ */ K(
|
|
1774
|
+
}), /* @__PURE__ */ K(h, {
|
|
1777
1775
|
cols: 2,
|
|
1778
1776
|
spacing: "sm",
|
|
1779
|
-
children:
|
|
1777
|
+
children: pt.map((e) => /* @__PURE__ */ K(L, {
|
|
1780
1778
|
withBorder: !0,
|
|
1781
1779
|
padding: "md",
|
|
1782
1780
|
radius: "md",
|
|
1783
1781
|
className: $.sectionCard,
|
|
1784
|
-
onClick: () =>
|
|
1782
|
+
onClick: () => k(e.id),
|
|
1785
1783
|
role: "button",
|
|
1786
1784
|
"aria-label": `Open ${e.label} settings`,
|
|
1787
1785
|
children: /* @__PURE__ */ q(z, {
|
|
@@ -1792,12 +1790,12 @@ var Nt = () => {
|
|
|
1792
1790
|
fcIcon: e.fcIcon,
|
|
1793
1791
|
size: 28
|
|
1794
1792
|
}),
|
|
1795
|
-
/* @__PURE__ */ K(
|
|
1793
|
+
/* @__PURE__ */ K(F, {
|
|
1796
1794
|
size: "sm",
|
|
1797
1795
|
fw: 500,
|
|
1798
1796
|
children: n(`sections.${e.id}.label`)
|
|
1799
1797
|
}),
|
|
1800
|
-
/* @__PURE__ */ K(
|
|
1798
|
+
/* @__PURE__ */ K(F, {
|
|
1801
1799
|
size: "xs",
|
|
1802
1800
|
c: "dimmed",
|
|
1803
1801
|
children: n(`sections.${e.id}.description`)
|
|
@@ -1806,21 +1804,21 @@ var Nt = () => {
|
|
|
1806
1804
|
})
|
|
1807
1805
|
}, e.id))
|
|
1808
1806
|
})] }),
|
|
1809
|
-
/* @__PURE__ */ K(
|
|
1807
|
+
/* @__PURE__ */ K(I, {
|
|
1810
1808
|
gradient: {
|
|
1811
1809
|
from: "blue",
|
|
1812
1810
|
to: "cyan",
|
|
1813
1811
|
deg: 90
|
|
1814
1812
|
},
|
|
1815
|
-
onClick:
|
|
1813
|
+
onClick: ee,
|
|
1816
1814
|
children: "FDE: Fran Desktop Environment"
|
|
1817
1815
|
}),
|
|
1818
|
-
/* @__PURE__ */ K(
|
|
1816
|
+
/* @__PURE__ */ K(F, {
|
|
1819
1817
|
size: "xs",
|
|
1820
1818
|
c: "dimmed",
|
|
1821
1819
|
ta: "center",
|
|
1822
1820
|
className: $.versionFooter,
|
|
1823
|
-
children:
|
|
1821
|
+
children: Ft()
|
|
1824
1822
|
})
|
|
1825
1823
|
]
|
|
1826
1824
|
})
|
|
@@ -1828,4 +1826,4 @@ var Nt = () => {
|
|
|
1828
1826
|
});
|
|
1829
1827
|
};
|
|
1830
1828
|
//#endregion
|
|
1831
|
-
export {
|
|
1829
|
+
export { Et as a, mt as c, ft as d, Q as f, et as g, Z as h, Dt as i, pt as l, rt as m, Nt as n, xt as o, ut as p, At as r, yt as s, Lt as t, dt as u };
|