@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,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { L as e, N as t, O as n, c as r, j as i, k as a, l as o, r as s, t as c, x as l } from "./Box-DRm8EabO.js";
|
|
2
2
|
import { t as u } from "./create-safe-context-XT2cxc14.js";
|
|
3
|
-
import { d, o as f } from "./Tooltip-
|
|
4
|
-
import { n as
|
|
5
|
-
import { a as
|
|
6
|
-
import { r as
|
|
7
|
-
import { createElement as
|
|
8
|
-
import { Fragment as
|
|
9
|
-
import { useMergeRefs as ee } from "@floating-ui/react";
|
|
3
|
+
import { f as d, o as f, s as p } from "./Tooltip-CAOO-qdx.js";
|
|
4
|
+
import { n as m, t as h } from "./use-uncontrolled-A4hm9ATM.js";
|
|
5
|
+
import { a as g, c as _, f as v, i as y } from "./TextInput-C3qfxxWI.js";
|
|
6
|
+
import { r as b } from "./use-merged-ref-BT8_u6vW.js";
|
|
7
|
+
import { createElement as x, use as S, useCallback as C, useEffect as w, useEffectEvent as T, useMemo as E, useRef as D, useState as O } from "react";
|
|
8
|
+
import { Fragment as ee, jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
10
9
|
//#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/utils/use-callback-ref/use-callback-ref.mjs
|
|
11
10
|
function j(e) {
|
|
12
|
-
let t =
|
|
13
|
-
return
|
|
11
|
+
let t = D(e);
|
|
12
|
+
return w(() => {
|
|
14
13
|
t.current = e;
|
|
15
|
-
}),
|
|
14
|
+
}), E(() => ((...e) => t.current?.(...e)), []);
|
|
16
15
|
}
|
|
17
16
|
//#endregion
|
|
18
17
|
//#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-debounced-callback/use-debounced-callback.mjs
|
|
@@ -21,7 +20,7 @@ function M(e, t) {
|
|
|
21
20
|
delay: t,
|
|
22
21
|
flushOnUnmount: !1,
|
|
23
22
|
leading: !1
|
|
24
|
-
} : t, a = j(e), o =
|
|
23
|
+
} : t, a = j(e), o = D(0), s = E(() => {
|
|
25
24
|
let e = Object.assign((...t) => {
|
|
26
25
|
window.clearTimeout(o.current);
|
|
27
26
|
let r = e._isFirstCall;
|
|
@@ -66,7 +65,7 @@ function M(e, t) {
|
|
|
66
65
|
n,
|
|
67
66
|
i
|
|
68
67
|
]);
|
|
69
|
-
return
|
|
68
|
+
return w(() => () => {
|
|
70
69
|
r ? s.flush() : s.cancel();
|
|
71
70
|
}, [s, r]), s;
|
|
72
71
|
}
|
|
@@ -81,8 +80,8 @@ var [te, P] = u("ScrollArea.Root component was not found in tree");
|
|
|
81
80
|
//#endregion
|
|
82
81
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/use-resize-observer.mjs
|
|
83
82
|
function F(e, t) {
|
|
84
|
-
let n =
|
|
85
|
-
|
|
83
|
+
let n = T(t);
|
|
84
|
+
v(() => {
|
|
86
85
|
let t = 0;
|
|
87
86
|
if (e) {
|
|
88
87
|
let r = new ResizeObserver(() => {
|
|
@@ -97,7 +96,7 @@ function F(e, t) {
|
|
|
97
96
|
//#endregion
|
|
98
97
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaCorner/ScrollAreaCorner.mjs
|
|
99
98
|
function ne(e) {
|
|
100
|
-
let { style: t, ...n } = e, r = P(), [i, a] =
|
|
99
|
+
let { style: t, ...n } = e, r = P(), [i, a] = O(0), [o, s] = O(0), c = !!(i && o);
|
|
101
100
|
return F(r.scrollbarX, () => {
|
|
102
101
|
let e = r.scrollbarX?.offsetHeight || 0;
|
|
103
102
|
r.onCornerHeightChange(e), s(e);
|
|
@@ -124,7 +123,7 @@ var ie = {
|
|
|
124
123
|
type: "hover"
|
|
125
124
|
};
|
|
126
125
|
function ae(e) {
|
|
127
|
-
let { type: t, scrollHideDelay: n, scrollbars: r, getStyles: i, ref: a, ...s } = o("ScrollAreaRoot", ie, e), [l, u] =
|
|
126
|
+
let { type: t, scrollHideDelay: n, scrollbars: r, getStyles: i, ref: a, ...s } = o("ScrollAreaRoot", ie, e), [l, u] = O(null), [d, f] = O(null), [p, m] = O(null), [h, g] = O(null), [_, v] = O(null), [y, x] = O(0), [S, C] = O(0), [w, T] = O(!1), [E, D] = O(!1), ee = b(a, (e) => u(e));
|
|
128
127
|
return /* @__PURE__ */ k(te, {
|
|
129
128
|
value: {
|
|
130
129
|
type: t,
|
|
@@ -141,16 +140,16 @@ function ae(e) {
|
|
|
141
140
|
scrollbarY: _,
|
|
142
141
|
onScrollbarYChange: v,
|
|
143
142
|
scrollbarYEnabled: E,
|
|
144
|
-
onScrollbarYEnabledChange:
|
|
143
|
+
onScrollbarYEnabledChange: D,
|
|
145
144
|
onCornerWidthChange: x,
|
|
146
145
|
onCornerHeightChange: C,
|
|
147
146
|
getStyles: i
|
|
148
147
|
},
|
|
149
148
|
children: /* @__PURE__ */ k(c, {
|
|
150
149
|
...s,
|
|
151
|
-
ref:
|
|
150
|
+
ref: ee,
|
|
152
151
|
__vars: {
|
|
153
|
-
"--sa-corner-width": r === "xy" ? `${
|
|
152
|
+
"--sa-corner-width": r === "xy" ? `${y}px` : "0px",
|
|
154
153
|
"--sa-corner-height": r === "xy" ? `${S}px` : "0px"
|
|
155
154
|
}
|
|
156
155
|
})
|
|
@@ -216,23 +215,23 @@ var [H, le] = u("ScrollAreaScrollbar was not found in tree");
|
|
|
216
215
|
//#endregion
|
|
217
216
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.mjs
|
|
218
217
|
function ue(e) {
|
|
219
|
-
let { sizes: t, hasThumb: n, onThumbChange: r, onThumbPointerUp: i, onThumbPointerDown: a, onThumbPositionChange: o, onDragScroll: s, onWheelScroll: c, onResize: l, ref: u, ...d } = e, f = P(), [p, m] =
|
|
218
|
+
let { sizes: t, hasThumb: n, onThumbChange: r, onThumbPointerUp: i, onThumbPointerDown: a, onThumbPositionChange: o, onDragScroll: s, onWheelScroll: c, onResize: l, ref: u, ...d } = e, f = P(), [p, m] = O(null), h = b(u, (e) => m(e)), g = D(null), _ = D(""), { viewport: v } = f, y = t.content - t.viewport, x = T(c), S = j(o), C = M(l, 10), E = (e) => {
|
|
220
219
|
g.current && s({
|
|
221
220
|
x: e.clientX - g.current.left,
|
|
222
221
|
y: e.clientY - g.current.top
|
|
223
222
|
});
|
|
224
223
|
};
|
|
225
|
-
return
|
|
224
|
+
return w(() => {
|
|
226
225
|
let e = (e) => {
|
|
227
226
|
let t = e.target;
|
|
228
|
-
p?.contains(t) && x(e,
|
|
227
|
+
p?.contains(t) && x(e, y);
|
|
229
228
|
};
|
|
230
229
|
return document.addEventListener("wheel", e, { passive: !1 }), () => document.removeEventListener("wheel", e, { passive: !1 });
|
|
231
230
|
}, [
|
|
232
231
|
v,
|
|
233
232
|
p,
|
|
234
|
-
|
|
235
|
-
]),
|
|
233
|
+
y
|
|
234
|
+
]), w(S, [t, S]), F(p, C), F(f.content, C), /* @__PURE__ */ k(H, {
|
|
236
235
|
value: {
|
|
237
236
|
scrollbar: p,
|
|
238
237
|
hasThumb: n,
|
|
@@ -250,9 +249,9 @@ function ue(e) {
|
|
|
250
249
|
...d.style
|
|
251
250
|
},
|
|
252
251
|
onPointerDown: V(e.onPointerDown, (e) => {
|
|
253
|
-
e.preventDefault(), e.button === 0 && (e.target.setPointerCapture(e.pointerId), g.current = p.getBoundingClientRect(), _.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none",
|
|
252
|
+
e.preventDefault(), e.button === 0 && (e.target.setPointerCapture(e.pointerId), g.current = p.getBoundingClientRect(), _.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", E(e));
|
|
254
253
|
}),
|
|
255
|
-
onPointerMove: V(e.onPointerMove,
|
|
254
|
+
onPointerMove: V(e.onPointerMove, E),
|
|
256
255
|
onPointerUp: V(e.onPointerUp, (e) => {
|
|
257
256
|
let t = e.target;
|
|
258
257
|
t.hasPointerCapture(e.pointerId) && (e.preventDefault(), t.releasePointerCapture(e.pointerId));
|
|
@@ -266,8 +265,8 @@ function ue(e) {
|
|
|
266
265
|
//#endregion
|
|
267
266
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollbarX.mjs
|
|
268
267
|
var U = (e) => {
|
|
269
|
-
let { sizes: t, onSizesChange: n, style: r, ref: i, ...a } = e, o = P(), [s, c] =
|
|
270
|
-
return
|
|
268
|
+
let { sizes: t, onSizesChange: n, style: r, ref: i, ...a } = e, o = P(), [s, c] = O(), l = D(null), u = b(i, l, o.onScrollbarXChange);
|
|
269
|
+
return w(() => {
|
|
271
270
|
l.current && c(getComputedStyle(l.current));
|
|
272
271
|
}, [l]), /* @__PURE__ */ k(ue, {
|
|
273
272
|
"data-orientation": "horizontal",
|
|
@@ -303,8 +302,8 @@ U.displayName = "@mantine/core/ScrollAreaScrollbarX";
|
|
|
303
302
|
//#endregion
|
|
304
303
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollbarY.mjs
|
|
305
304
|
function W(e) {
|
|
306
|
-
let { sizes: t, onSizesChange: n, style: r, ref: i, ...a } = e, o = P(), [s, c] =
|
|
307
|
-
return
|
|
305
|
+
let { sizes: t, onSizesChange: n, style: r, ref: i, ...a } = e, o = P(), [s, c] = O(), l = D(null), u = b(i, l, o.onScrollbarYChange);
|
|
306
|
+
return w(() => {
|
|
308
307
|
l.current && c(window.getComputedStyle(l.current));
|
|
309
308
|
}, []), /* @__PURE__ */ k(ue, {
|
|
310
309
|
...a,
|
|
@@ -340,7 +339,7 @@ W.displayName = "@mantine/core/ScrollAreaScrollbarY";
|
|
|
340
339
|
//#endregion
|
|
341
340
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.mjs
|
|
342
341
|
function G(e) {
|
|
343
|
-
let { orientation: t = "vertical", ...n } = e, { dir: r } =
|
|
342
|
+
let { orientation: t = "vertical", ...n } = e, { dir: r } = p(), i = P(), a = D(null), o = D(0), [s, c] = O({
|
|
344
343
|
content: 0,
|
|
345
344
|
viewport: 0,
|
|
346
345
|
scrollbar: {
|
|
@@ -397,7 +396,7 @@ G.displayName = "@mantine/core/ScrollAreaScrollbarVisible";
|
|
|
397
396
|
//#endregion
|
|
398
397
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarAuto.mjs
|
|
399
398
|
function K(e) {
|
|
400
|
-
let t = P(), { forceMount: n, ...r } = e, [i, a] =
|
|
399
|
+
let t = P(), { forceMount: n, ...r } = e, [i, a] = O(!1), o = e.orientation === "horizontal", s = M(() => {
|
|
401
400
|
if (t.viewport) {
|
|
402
401
|
let e = t.viewport.offsetWidth < t.viewport.scrollWidth, n = t.viewport.offsetHeight < t.viewport.scrollHeight;
|
|
403
402
|
a(o ? e : n);
|
|
@@ -412,8 +411,8 @@ K.displayName = "@mantine/core/ScrollAreaScrollbarAuto";
|
|
|
412
411
|
//#endregion
|
|
413
412
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarHover.mjs
|
|
414
413
|
function de(e) {
|
|
415
|
-
let { forceMount: t, ...n } = e, r = P(), [i, a] =
|
|
416
|
-
return
|
|
414
|
+
let { forceMount: t, ...n } = e, r = P(), [i, a] = O(!1);
|
|
415
|
+
return w(() => {
|
|
417
416
|
let { scrollArea: e } = r, t = 0;
|
|
418
417
|
if (e) {
|
|
419
418
|
let n = () => {
|
|
@@ -434,13 +433,13 @@ de.displayName = "@mantine/core/ScrollAreaScrollbarHover";
|
|
|
434
433
|
//#endregion
|
|
435
434
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarScroll.mjs
|
|
436
435
|
function q(e) {
|
|
437
|
-
let { forceMount: t, ...n } = e, r = P(), i = e.orientation === "horizontal", [a, o] =
|
|
438
|
-
return
|
|
436
|
+
let { forceMount: t, ...n } = e, r = P(), i = e.orientation === "horizontal", [a, o] = O("hidden"), s = M(() => o("idle"), 100);
|
|
437
|
+
return w(() => {
|
|
439
438
|
if (a === "idle") {
|
|
440
439
|
let e = window.setTimeout(() => o("hidden"), r.scrollHideDelay);
|
|
441
440
|
return () => window.clearTimeout(e);
|
|
442
441
|
}
|
|
443
|
-
}, [a, r.scrollHideDelay]),
|
|
442
|
+
}, [a, r.scrollHideDelay]), w(() => {
|
|
444
443
|
let { viewport: e } = r, t = i ? "scrollLeft" : "scrollTop";
|
|
445
444
|
if (e) {
|
|
446
445
|
let n = e[t], r = () => {
|
|
@@ -464,7 +463,7 @@ function q(e) {
|
|
|
464
463
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.mjs
|
|
465
464
|
function J(e) {
|
|
466
465
|
let { forceMount: t, ...n } = e, r = P(), { onScrollbarXEnabledChange: i, onScrollbarYEnabledChange: a } = r, o = e.orientation === "horizontal";
|
|
467
|
-
return
|
|
466
|
+
return w(() => (o ? i(!0) : a(!0), () => {
|
|
468
467
|
o ? i(!1) : a(!1);
|
|
469
468
|
}), [
|
|
470
469
|
o,
|
|
@@ -500,10 +499,10 @@ function Y(e, t = () => {}) {
|
|
|
500
499
|
//#endregion
|
|
501
500
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.mjs
|
|
502
501
|
function fe(e) {
|
|
503
|
-
let { style: t, ref: n, ...r } = e, i = P(), a = le(), { onThumbPositionChange: o } = a, s =
|
|
502
|
+
let { style: t, ref: n, ...r } = e, i = P(), a = le(), { onThumbPositionChange: o } = a, s = b(n, (e) => a.onThumbChange(e)), c = D(void 0), l = M(() => {
|
|
504
503
|
c.current &&= (c.current(), void 0);
|
|
505
504
|
}, 100);
|
|
506
|
-
return
|
|
505
|
+
return w(() => {
|
|
507
506
|
let { viewport: e } = i;
|
|
508
507
|
if (e) {
|
|
509
508
|
let t = () => {
|
|
@@ -543,7 +542,7 @@ X.displayName = "@mantine/core/ScrollAreaThumb";
|
|
|
543
542
|
//#endregion
|
|
544
543
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.mjs
|
|
545
544
|
function pe({ children: e, style: t, ref: n, onWheel: r, ...i }) {
|
|
546
|
-
let a = P(), o =
|
|
545
|
+
let a = P(), o = b(n, a.onViewportChange), s = (e) => {
|
|
547
546
|
if (r?.(e), a.scrollbarXEnabled && a.viewport && e.shiftKey) {
|
|
548
547
|
let { scrollTop: t, scrollHeight: n, clientHeight: r, scrollWidth: i, clientWidth: o } = a.viewport, s = t < 1, c = t >= n - r - 1;
|
|
549
548
|
i > o && (s || c) && e.stopPropagation();
|
|
@@ -580,75 +579,75 @@ var Z = {
|
|
|
580
579
|
scrollHideDelay: 1e3,
|
|
581
580
|
type: "hover",
|
|
582
581
|
scrollbars: "xy"
|
|
583
|
-
}, he =
|
|
582
|
+
}, he = n((t, { scrollbarSize: n, overscrollBehavior: r, scrollbars: i }) => {
|
|
584
583
|
let a = r;
|
|
585
584
|
return r && i && (i === "x" ? a = `${r} auto` : i === "y" && (a = `auto ${r}`)), { root: {
|
|
586
|
-
"--scrollarea-scrollbar-size": n
|
|
585
|
+
"--scrollarea-scrollbar-size": e(n),
|
|
587
586
|
"--scrollarea-over-scroll-behavior": a
|
|
588
587
|
} };
|
|
589
588
|
}), Q = s((e) => {
|
|
590
|
-
let t = o("ScrollArea", me, e), { classNames: n, className:
|
|
589
|
+
let t = o("ScrollArea", me, e), { classNames: n, className: i, style: a, styles: s, unstyled: c, scrollbarSize: l, vars: u, type: d, scrollHideDelay: p, viewportProps: m, viewportRef: h, onScrollPositionChange: g, children: _, offsetScrollbars: y, scrollbars: b, onBottomReached: x, onTopReached: S, onLeftReached: C, onRightReached: w, overscrollBehavior: T, startScrollPosition: E, attributes: ee, ...j } = t, [M, N] = O(!1), [te, P] = O(!1), [ne, ie] = O(!1), oe = D(!0), I = D(!1), se = D(!0), L = D(!1), R = r({
|
|
591
590
|
name: "ScrollArea",
|
|
592
591
|
props: t,
|
|
593
592
|
classes: Z,
|
|
594
|
-
className:
|
|
595
|
-
style:
|
|
593
|
+
className: i,
|
|
594
|
+
style: a,
|
|
596
595
|
classNames: n,
|
|
597
596
|
styles: s,
|
|
598
597
|
unstyled: c,
|
|
599
|
-
attributes:
|
|
598
|
+
attributes: ee,
|
|
600
599
|
vars: u,
|
|
601
600
|
varsResolver: he
|
|
602
|
-
}), z =
|
|
603
|
-
return
|
|
604
|
-
|
|
605
|
-
left:
|
|
606
|
-
top:
|
|
601
|
+
}), z = D(null), ce = f([h, z]);
|
|
602
|
+
return v(() => {
|
|
603
|
+
E && z.current && z.current.scrollTo({
|
|
604
|
+
left: E.x ?? 0,
|
|
605
|
+
top: E.y ?? 0
|
|
607
606
|
});
|
|
608
|
-
}, []), F(
|
|
607
|
+
}, []), F(y === "present" ? z.current : null, () => {
|
|
609
608
|
let e = z.current;
|
|
610
609
|
e && (P(e.scrollHeight > e.clientHeight), ie(e.scrollWidth > e.clientWidth));
|
|
611
610
|
}), /* @__PURE__ */ A(ae, {
|
|
612
611
|
getStyles: R,
|
|
613
612
|
type: d === "never" ? "always" : d,
|
|
614
|
-
scrollHideDelay:
|
|
615
|
-
scrollbars:
|
|
613
|
+
scrollHideDelay: p,
|
|
614
|
+
scrollbars: b,
|
|
616
615
|
...R("root"),
|
|
617
616
|
...j,
|
|
618
617
|
children: [
|
|
619
618
|
/* @__PURE__ */ k(pe, {
|
|
620
|
-
...
|
|
621
|
-
...R("viewport", { style:
|
|
619
|
+
...m,
|
|
620
|
+
...R("viewport", { style: m?.style }),
|
|
622
621
|
ref: ce,
|
|
623
|
-
"data-offset-scrollbars":
|
|
624
|
-
"data-scrollbars":
|
|
625
|
-
"data-horizontal-hidden":
|
|
626
|
-
"data-vertical-hidden":
|
|
622
|
+
"data-offset-scrollbars": y === !0 ? "xy" : y || void 0,
|
|
623
|
+
"data-scrollbars": b || void 0,
|
|
624
|
+
"data-horizontal-hidden": y === "present" && !ne ? "true" : void 0,
|
|
625
|
+
"data-vertical-hidden": y === "present" && !te ? "true" : void 0,
|
|
627
626
|
onScroll: (e) => {
|
|
628
|
-
|
|
627
|
+
m?.onScroll?.(e), g?.({
|
|
629
628
|
x: e.currentTarget.scrollLeft,
|
|
630
629
|
y: e.currentTarget.scrollTop
|
|
631
630
|
});
|
|
632
631
|
let { scrollTop: t, scrollHeight: n, clientHeight: r, scrollLeft: i, scrollWidth: a, clientWidth: o } = e.currentTarget, s = t - (n - r) >= -.8, c = t === 0;
|
|
633
|
-
s && !I.current &&
|
|
632
|
+
s && !I.current && x?.(), c && !oe.current && S?.(), I.current = s, oe.current = c;
|
|
634
633
|
let l = i - (a - o) >= -.8, u = i === 0;
|
|
635
|
-
l && !L.current &&
|
|
634
|
+
l && !L.current && w?.(), u && !se.current && C?.(), L.current = l, se.current = u;
|
|
636
635
|
},
|
|
637
|
-
children:
|
|
636
|
+
children: _
|
|
638
637
|
}),
|
|
639
|
-
(
|
|
638
|
+
(b === "xy" || b === "x") && /* @__PURE__ */ k(J, {
|
|
640
639
|
...R("scrollbar"),
|
|
641
640
|
orientation: "horizontal",
|
|
642
|
-
"data-hidden": d === "never" ||
|
|
641
|
+
"data-hidden": d === "never" || y === "present" && !ne ? !0 : void 0,
|
|
643
642
|
forceMount: !0,
|
|
644
643
|
onMouseEnter: () => N(!0),
|
|
645
644
|
onMouseLeave: () => N(!1),
|
|
646
645
|
children: /* @__PURE__ */ k(X, { ...R("thumb") })
|
|
647
646
|
}),
|
|
648
|
-
(
|
|
647
|
+
(b === "xy" || b === "y") && /* @__PURE__ */ k(J, {
|
|
649
648
|
...R("scrollbar"),
|
|
650
649
|
orientation: "vertical",
|
|
651
|
-
"data-hidden": d === "never" ||
|
|
650
|
+
"data-hidden": d === "never" || y === "present" && !te ? !0 : void 0,
|
|
652
651
|
forceMount: !0,
|
|
653
652
|
onMouseEnter: () => N(!0),
|
|
654
653
|
onMouseLeave: () => N(!1),
|
|
@@ -664,32 +663,32 @@ var Z = {
|
|
|
664
663
|
});
|
|
665
664
|
Q.displayName = "@mantine/core/ScrollArea";
|
|
666
665
|
var $ = s((e) => {
|
|
667
|
-
let { children: t, classNames: n, styles: r, scrollbarSize: i, scrollHideDelay: a, type: s, dir: l, offsetScrollbars: u, overscrollBehavior: d, viewportRef:
|
|
668
|
-
let e =
|
|
669
|
-
if (!e || !
|
|
666
|
+
let { children: t, classNames: n, styles: r, scrollbarSize: i, scrollHideDelay: a, type: s, dir: l, offsetScrollbars: u, overscrollBehavior: d, viewportRef: p, onScrollPositionChange: m, unstyled: h, variant: g, viewportProps: _, scrollbars: v, style: y, vars: b, onBottomReached: x, onTopReached: S, startScrollPosition: C, onOverflowChange: w, ...E } = o("ScrollAreaAutosize", me, e), O = D(null), ee = f([p, O]), A = D(!1), j = D(!1), M = T(() => {
|
|
667
|
+
let e = O.current;
|
|
668
|
+
if (!e || !w) return;
|
|
670
669
|
let t = e.scrollHeight > e.clientHeight;
|
|
671
|
-
t !== A.current && (j.current ?
|
|
670
|
+
t !== A.current && (j.current ? w(t) : (j.current = !0, t && w(!0)), A.current = t);
|
|
672
671
|
});
|
|
673
|
-
return F(
|
|
674
|
-
...
|
|
675
|
-
variant:
|
|
672
|
+
return F(w ? O.current : null, M), /* @__PURE__ */ k(c, {
|
|
673
|
+
...E,
|
|
674
|
+
variant: g,
|
|
676
675
|
style: [{
|
|
677
676
|
display: "flex",
|
|
678
677
|
overflow: "hidden"
|
|
679
|
-
},
|
|
678
|
+
}, y],
|
|
680
679
|
children: /* @__PURE__ */ k(c, {
|
|
681
680
|
style: {
|
|
682
681
|
display: "flex",
|
|
683
682
|
flexDirection: "column",
|
|
684
683
|
flex: 1,
|
|
685
684
|
overflow: "hidden",
|
|
686
|
-
...
|
|
687
|
-
...
|
|
688
|
-
...
|
|
685
|
+
...v === "y" && { minWidth: 0 },
|
|
686
|
+
...v === "x" && { minHeight: 0 },
|
|
687
|
+
...v === "xy" && {
|
|
689
688
|
minWidth: 0,
|
|
690
689
|
minHeight: 0
|
|
691
690
|
},
|
|
692
|
-
...
|
|
691
|
+
...v === !1 && {
|
|
693
692
|
minWidth: 0,
|
|
694
693
|
minHeight: 0
|
|
695
694
|
}
|
|
@@ -703,16 +702,16 @@ var $ = s((e) => {
|
|
|
703
702
|
dir: l,
|
|
704
703
|
offsetScrollbars: u,
|
|
705
704
|
overscrollBehavior: d,
|
|
706
|
-
viewportRef:
|
|
707
|
-
onScrollPositionChange:
|
|
708
|
-
unstyled:
|
|
709
|
-
variant:
|
|
710
|
-
viewportProps:
|
|
711
|
-
vars:
|
|
712
|
-
scrollbars:
|
|
713
|
-
onBottomReached:
|
|
714
|
-
onTopReached:
|
|
715
|
-
startScrollPosition:
|
|
705
|
+
viewportRef: ee,
|
|
706
|
+
onScrollPositionChange: m,
|
|
707
|
+
unstyled: h,
|
|
708
|
+
variant: g,
|
|
709
|
+
viewportProps: _,
|
|
710
|
+
vars: b,
|
|
711
|
+
scrollbars: v,
|
|
712
|
+
onBottomReached: x,
|
|
713
|
+
onTopReached: S,
|
|
714
|
+
startScrollPosition: C,
|
|
716
715
|
"data-autosize": "true",
|
|
717
716
|
children: t
|
|
718
717
|
})
|
|
@@ -723,13 +722,13 @@ Q.classes = Z, Q.varsResolver = he, $.displayName = "@mantine/core/ScrollAreaAut
|
|
|
723
722
|
//#endregion
|
|
724
723
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/utils/InputsGroupFieldset/InputsGroupFieldset.mjs
|
|
725
724
|
function ge({ children: e, role: t }) {
|
|
726
|
-
let n =
|
|
725
|
+
let n = S(g);
|
|
727
726
|
return n ? /* @__PURE__ */ k("div", {
|
|
728
727
|
role: t,
|
|
729
728
|
"aria-labelledby": n.labelId,
|
|
730
729
|
"aria-describedby": n.describedBy,
|
|
731
730
|
children: e
|
|
732
|
-
}) : /* @__PURE__ */ k(
|
|
731
|
+
}) : /* @__PURE__ */ k(ee, { children: e });
|
|
733
732
|
}
|
|
734
733
|
//#endregion
|
|
735
734
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/utils/InlineInput/InlineInput.module.mjs
|
|
@@ -741,11 +740,11 @@ var _e = {
|
|
|
741
740
|
description: "m_328f68c0",
|
|
742
741
|
error: "m_8e8a99cc"
|
|
743
742
|
}, ve = _e;
|
|
744
|
-
function ye({ __staticSelector: e, __stylesApiProps:
|
|
745
|
-
let D =
|
|
743
|
+
function ye({ __staticSelector: e, __stylesApiProps: n, className: i, classNames: o, styles: s, unstyled: l, children: u, label: d, description: f, id: p, disabled: m, error: h, size: g, labelPosition: _ = "left", bodyElement: v = "div", labelElement: b = "label", variant: x, style: S, vars: C, mod: w, attributes: T, ...E }) {
|
|
744
|
+
let D = r({
|
|
746
745
|
name: e,
|
|
747
|
-
props:
|
|
748
|
-
className:
|
|
746
|
+
props: n,
|
|
747
|
+
className: i,
|
|
749
748
|
style: S,
|
|
750
749
|
classes: _e,
|
|
751
750
|
classNames: o,
|
|
@@ -756,16 +755,16 @@ function ye({ __staticSelector: e, __stylesApiProps: t, className: n, classNames
|
|
|
756
755
|
return /* @__PURE__ */ k(c, {
|
|
757
756
|
...D("root"),
|
|
758
757
|
__vars: {
|
|
759
|
-
"--label-fz":
|
|
760
|
-
"--label-lh":
|
|
758
|
+
"--label-fz": a(g),
|
|
759
|
+
"--label-lh": t(g, "label-lh")
|
|
761
760
|
},
|
|
762
761
|
mod: [{ "label-position": _ }, w],
|
|
763
762
|
variant: x,
|
|
764
763
|
size: g,
|
|
765
764
|
...E,
|
|
766
765
|
children: /* @__PURE__ */ A(c, {
|
|
767
|
-
component:
|
|
768
|
-
htmlFor:
|
|
766
|
+
component: v,
|
|
767
|
+
htmlFor: v === "label" ? p : void 0,
|
|
769
768
|
...D("body"),
|
|
770
769
|
children: [u, /* @__PURE__ */ A("div", {
|
|
771
770
|
...D("labelWrapper"),
|
|
@@ -778,13 +777,13 @@ function ye({ __staticSelector: e, __stylesApiProps: t, className: n, classNames
|
|
|
778
777
|
"data-disabled": m || void 0,
|
|
779
778
|
children: d
|
|
780
779
|
}),
|
|
781
|
-
f && /* @__PURE__ */ k(
|
|
780
|
+
f && /* @__PURE__ */ k(y.Description, {
|
|
782
781
|
size: g,
|
|
783
782
|
__inheritStyles: !1,
|
|
784
783
|
...D("description"),
|
|
785
784
|
children: f
|
|
786
785
|
}),
|
|
787
|
-
h && typeof h != "boolean" && /* @__PURE__ */ k(
|
|
786
|
+
h && typeof h != "boolean" && /* @__PURE__ */ k(y.Error, {
|
|
788
787
|
size: g,
|
|
789
788
|
__inheritStyles: !1,
|
|
790
789
|
...D("error"),
|
|
@@ -815,8 +814,8 @@ function Se({ size: e, disabled: t, variant: n, color: r, thumbSize: i, radius:
|
|
|
815
814
|
Se.displayName = "@mantine/core/SliderRoot";
|
|
816
815
|
//#endregion
|
|
817
816
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Slider/Thumb/Thumb.mjs
|
|
818
|
-
function Ce({ max: e, min: t, value: n, position: r, label: i, dragging: a, onMouseDown: o, onKeyDownCapture: s, labelTransitionProps: l, labelAlwaysOn: u, thumbLabel: d, onFocus: f, onBlur: p, showLabelOnHover: m, isHovered: h, children:
|
|
819
|
-
let { getStyles: x } = xe(), [S, C] =
|
|
817
|
+
function Ce({ max: e, min: t, value: n, position: r, label: i, dragging: a, onMouseDown: o, onKeyDownCapture: s, labelTransitionProps: l, labelAlwaysOn: u, thumbLabel: d, onFocus: f, onBlur: p, showLabelOnHover: m, isHovered: h, children: g = null, disabled: v, orientation: y = "horizontal", ref: b }) {
|
|
818
|
+
let { getStyles: x } = xe(), [S, C] = O(!1), w = u || a || S || m && h;
|
|
820
819
|
return /* @__PURE__ */ A(c, {
|
|
821
820
|
tabIndex: v ? -1 : 0,
|
|
822
821
|
role: "slider",
|
|
@@ -843,7 +842,7 @@ function Ce({ max: e, min: t, value: n, position: r, label: i, dragging: a, onMo
|
|
|
843
842
|
onMouseDown: o,
|
|
844
843
|
onKeyDownCapture: s,
|
|
845
844
|
onClick: (e) => e.stopPropagation(),
|
|
846
|
-
children: [
|
|
845
|
+
children: [g, /* @__PURE__ */ k(_, {
|
|
847
846
|
mounted: i != null && !!w,
|
|
848
847
|
transition: "fade",
|
|
849
848
|
duration: 0,
|
|
@@ -871,7 +870,7 @@ function Te({ mark: e, offset: t, value: n, inverted: r = !1 }) {
|
|
|
871
870
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Slider/Marks/Marks.mjs
|
|
872
871
|
function Ee({ marks: e, min: t, max: n, disabled: r, value: i, offset: a, inverted: o }) {
|
|
873
872
|
let { getStyles: s } = xe();
|
|
874
|
-
return e ? /* @__PURE__ */ k("div", { children: e.map((e, l) => e.hidden ? null : /* @__PURE__ */
|
|
873
|
+
return e ? /* @__PURE__ */ k("div", { children: e.map((e, l) => e.hidden ? null : /* @__PURE__ */ x(c, {
|
|
875
874
|
...s("markWrapper"),
|
|
876
875
|
__vars: { "--mark-offset": `${we({
|
|
877
876
|
value: e.value,
|
|
@@ -997,75 +996,75 @@ var Fe = {
|
|
|
997
996
|
showLabelOnHover: !0,
|
|
998
997
|
scale: (e) => e,
|
|
999
998
|
size: "md"
|
|
1000
|
-
}, Le =
|
|
1001
|
-
"--slider-size": r
|
|
1002
|
-
"--slider-color": a ? l(a,
|
|
1003
|
-
"--slider-radius": s === void 0 ? void 0 :
|
|
1004
|
-
"--slider-thumb-size": o === void 0 ? "calc(var(--slider-size) * 2)" :
|
|
999
|
+
}, Le = n((n, { size: r, color: a, thumbSize: o, radius: s }) => ({ root: {
|
|
1000
|
+
"--slider-size": t(r, "slider-size"),
|
|
1001
|
+
"--slider-color": a ? l(a, n) : void 0,
|
|
1002
|
+
"--slider-radius": s === void 0 ? void 0 : i(s),
|
|
1003
|
+
"--slider-thumb-size": o === void 0 ? "calc(var(--slider-size) * 2)" : e(o)
|
|
1005
1004
|
} })), Re = s((e) => {
|
|
1006
|
-
let t = o("Slider", Ie, e), { classNames: n, styles:
|
|
1005
|
+
let t = o("Slider", Ie, e), { classNames: n, styles: i, value: a, onChange: s, onChangeEnd: c, size: l, min: u, max: f, domain: g, step: _, precision: v, defaultValue: y, name: x, marks: S, label: T, labelTransitionProps: E, labelAlwaysOn: ee, thumbLabel: j, showLabelOnHover: M, thumbChildren: te, disabled: P, unstyled: F, scale: ne, inverted: re, orientation: ie, className: ae, style: oe, vars: I, hiddenInputProps: se, restrictToMarks: L, thumbProps: R, attributes: z, ref: ce, ...B } = t, V = r({
|
|
1007
1006
|
name: "Slider",
|
|
1008
1007
|
props: t,
|
|
1009
1008
|
classes: Fe,
|
|
1010
1009
|
classNames: n,
|
|
1011
1010
|
className: ae,
|
|
1012
|
-
styles:
|
|
1011
|
+
styles: i,
|
|
1013
1012
|
style: oe,
|
|
1014
1013
|
attributes: z,
|
|
1015
1014
|
vars: I,
|
|
1016
1015
|
varsResolver: Le,
|
|
1017
1016
|
unstyled: F
|
|
1018
|
-
}), { dir: H } =
|
|
1019
|
-
value: typeof
|
|
1020
|
-
defaultValue: typeof
|
|
1021
|
-
finalValue:
|
|
1017
|
+
}), { dir: H } = p(), [le, ue] = O(!1), [U, W] = h({
|
|
1018
|
+
value: typeof a == "number" ? m(a, u, f) : a,
|
|
1019
|
+
defaultValue: typeof y == "number" ? m(y, u, f) : y,
|
|
1020
|
+
finalValue: m(0, u, f),
|
|
1022
1021
|
onChange: s
|
|
1023
|
-
}), G =
|
|
1024
|
-
|
|
1022
|
+
}), G = D(U), K = D(c);
|
|
1023
|
+
w(() => {
|
|
1025
1024
|
K.current = c;
|
|
1026
1025
|
}, [c]);
|
|
1027
|
-
let de =
|
|
1026
|
+
let de = D(null), q = D(null), [J, Y] = g || [u, f], fe = we({
|
|
1028
1027
|
value: U,
|
|
1029
1028
|
min: J,
|
|
1030
1029
|
max: Y
|
|
1031
|
-
}), X = ne(U), pe = typeof T == "function" ? T(X) : T, Z = v ?? Ae(_), me =
|
|
1030
|
+
}), X = ne(U), pe = typeof T == "function" ? T(X) : T, Z = v ?? Ae(_), me = C(({ x: e }) => {
|
|
1032
1031
|
if (!P) {
|
|
1033
|
-
let t =
|
|
1032
|
+
let t = m(Oe({
|
|
1034
1033
|
value: e,
|
|
1035
1034
|
min: J,
|
|
1036
1035
|
max: Y,
|
|
1037
1036
|
step: _,
|
|
1038
1037
|
precision: Z
|
|
1039
|
-
}), u,
|
|
1040
|
-
W(L &&
|
|
1038
|
+
}), u, f);
|
|
1039
|
+
W(L && S?.length ? N(t, S.map((e) => e.value)) : t), G.current = t;
|
|
1041
1040
|
}
|
|
1042
1041
|
}, [
|
|
1043
1042
|
P,
|
|
1044
1043
|
u,
|
|
1045
|
-
|
|
1044
|
+
f,
|
|
1046
1045
|
J,
|
|
1047
1046
|
Y,
|
|
1048
1047
|
_,
|
|
1049
1048
|
Z,
|
|
1050
1049
|
W,
|
|
1051
|
-
|
|
1050
|
+
S,
|
|
1052
1051
|
L
|
|
1053
|
-
]), { ref: he, active: Q } = d(({ x: e, y: t }) => me({ x: ie === "vertical" ? 1 - t : e }), { onScrubEnd:
|
|
1052
|
+
]), { ref: he, active: Q } = d(({ x: e, y: t }) => me({ x: ie === "vertical" ? 1 - t : e }), { onScrubEnd: C(() => {
|
|
1054
1053
|
if (!P && K.current) {
|
|
1055
|
-
let e = L &&
|
|
1054
|
+
let e = L && S?.length ? N(G.current, S.map((e) => e.value)) : G.current;
|
|
1056
1055
|
K.current(e);
|
|
1057
1056
|
}
|
|
1058
1057
|
}, [
|
|
1059
1058
|
P,
|
|
1060
|
-
|
|
1059
|
+
S,
|
|
1061
1060
|
L
|
|
1062
|
-
]) }, H), $ =
|
|
1061
|
+
]) }, H), $ = C((e) => {
|
|
1063
1062
|
!P && K.current && K.current(e);
|
|
1064
1063
|
}, [P]), ge = (e) => {
|
|
1065
1064
|
if (!P) switch (e.key) {
|
|
1066
1065
|
case "ArrowUp": {
|
|
1067
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1068
|
-
let e = je(U,
|
|
1066
|
+
if (e.preventDefault(), q.current?.focus(), L && S) {
|
|
1067
|
+
let e = je(U, S);
|
|
1069
1068
|
W(e), $(e);
|
|
1070
1069
|
break;
|
|
1071
1070
|
}
|
|
@@ -1074,8 +1073,8 @@ var Fe = {
|
|
|
1074
1073
|
break;
|
|
1075
1074
|
}
|
|
1076
1075
|
case "ArrowRight": {
|
|
1077
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1078
|
-
let e = H === "rtl" ? Me(U,
|
|
1076
|
+
if (e.preventDefault(), q.current?.focus(), L && S) {
|
|
1077
|
+
let e = H === "rtl" ? Me(U, S) : je(U, S);
|
|
1079
1078
|
W(e), $(e);
|
|
1080
1079
|
break;
|
|
1081
1080
|
}
|
|
@@ -1084,8 +1083,8 @@ var Fe = {
|
|
|
1084
1083
|
break;
|
|
1085
1084
|
}
|
|
1086
1085
|
case "ArrowDown": {
|
|
1087
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1088
|
-
let e = Me(U,
|
|
1086
|
+
if (e.preventDefault(), q.current?.focus(), L && S) {
|
|
1087
|
+
let e = Me(U, S);
|
|
1089
1088
|
W(e), $(e);
|
|
1090
1089
|
break;
|
|
1091
1090
|
}
|
|
@@ -1094,8 +1093,8 @@ var Fe = {
|
|
|
1094
1093
|
break;
|
|
1095
1094
|
}
|
|
1096
1095
|
case "ArrowLeft": {
|
|
1097
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1098
|
-
let e = H === "rtl" ? je(U,
|
|
1096
|
+
if (e.preventDefault(), q.current?.focus(), L && S) {
|
|
1097
|
+
let e = H === "rtl" ? je(U, S) : Me(U, S);
|
|
1099
1098
|
W(e), $(e);
|
|
1100
1099
|
break;
|
|
1101
1100
|
}
|
|
@@ -1104,18 +1103,18 @@ var Fe = {
|
|
|
1104
1103
|
break;
|
|
1105
1104
|
}
|
|
1106
1105
|
case "Home":
|
|
1107
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1108
|
-
W(Ne(
|
|
1106
|
+
if (e.preventDefault(), q.current?.focus(), L && S) {
|
|
1107
|
+
W(Ne(S)), $(Ne(S));
|
|
1109
1108
|
break;
|
|
1110
1109
|
}
|
|
1111
1110
|
W(u), $(u);
|
|
1112
1111
|
break;
|
|
1113
1112
|
case "End":
|
|
1114
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1115
|
-
W(Pe(
|
|
1113
|
+
if (e.preventDefault(), q.current?.focus(), L && S) {
|
|
1114
|
+
W(Pe(S)), $(Pe(S));
|
|
1116
1115
|
break;
|
|
1117
1116
|
}
|
|
1118
|
-
W(
|
|
1117
|
+
W(f), $(f);
|
|
1119
1118
|
break;
|
|
1120
1119
|
default: break;
|
|
1121
1120
|
}
|
|
@@ -1124,7 +1123,7 @@ var Fe = {
|
|
|
1124
1123
|
value: { getStyles: V },
|
|
1125
1124
|
children: /* @__PURE__ */ A(Se, {
|
|
1126
1125
|
...B,
|
|
1127
|
-
ref:
|
|
1126
|
+
ref: b(ce, de),
|
|
1128
1127
|
onKeyDownCapture: ge,
|
|
1129
1128
|
onMouseDownCapture: () => de.current?.focus(),
|
|
1130
1129
|
size: l,
|
|
@@ -1134,7 +1133,7 @@ var Fe = {
|
|
|
1134
1133
|
inverted: re,
|
|
1135
1134
|
offset: 0,
|
|
1136
1135
|
filled: fe,
|
|
1137
|
-
marks:
|
|
1136
|
+
marks: S,
|
|
1138
1137
|
min: J,
|
|
1139
1138
|
max: Y,
|
|
1140
1139
|
value: X,
|
|
@@ -1152,7 +1151,7 @@ var Fe = {
|
|
|
1152
1151
|
dragging: Q,
|
|
1153
1152
|
label: pe,
|
|
1154
1153
|
ref: q,
|
|
1155
|
-
labelTransitionProps:
|
|
1154
|
+
labelTransitionProps: E,
|
|
1156
1155
|
labelAlwaysOn: ee,
|
|
1157
1156
|
thumbLabel: j,
|
|
1158
1157
|
showLabelOnHover: M,
|