@fde-desktop/fde-core 0.4.8 → 0.4.9
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-CJXAq5o5.js → AccordionChevron-DxpOyInK.js} +1 -1
- package/dist/AccordionChevron-kn5kSrEc.cjs +1 -0
- package/dist/{ActionIcon-CtVbYlGY.js → ActionIcon-Drh4p6Fv.js} +32 -32
- package/dist/ActionIcon-alk2zZD6.cjs +1 -0
- package/dist/AppEmptyState-BWCUbf-B.cjs +1 -0
- package/dist/AppEmptyState-Bxpit0JV.js +49 -0
- package/dist/AppIcon-BU7a3ZNH.cjs +1 -0
- package/dist/{AppIcon-DCDuaU-t.js → AppIcon-XumS3bIG.js} +4 -4
- package/dist/AppMenuBar-B9U0n1Vv.cjs +1 -0
- package/dist/AppMenuBar-CnIEVjr8.js +2049 -0
- package/dist/{Box-DRm8EabO.js → Box-DSKR_qaa.js} +257 -271
- package/dist/Box-zW6Twge8.cjs +1 -0
- package/dist/Button-DMlnrqyx.cjs +1 -0
- package/dist/{Button-k7SxX1Xl.js → Button-wTOTQKxF.js} +38 -38
- package/dist/CalendarApp-B_e1B1Yn.cjs +1 -0
- package/dist/CalendarApp-C-l9D6nd.cjs +1 -0
- package/dist/CalendarApp-D0ftTCTG.js +1399 -0
- package/dist/{Center-CyryG5zn.js → Center-CmxXB9ql.js} +1 -1
- package/dist/Center-DKUE2pER.cjs +1 -0
- package/dist/CheckIcon-CZhtJD1O.cjs +1 -0
- package/dist/{CheckIcon-C3WjIR2i.js → CheckIcon-N5qBqXQJ.js} +1 -1
- package/dist/CodeServerApp-BOoGwZ7r.cjs +1 -0
- package/dist/CodeServerApp-Be3I5EGg.cjs +1 -0
- package/dist/{CodeServerApp-DY94cy1a.js → CodeServerApp-DW18EZxa.js} +48 -47
- package/dist/{ColorPicker-DvRR-wlQ.js → ColorPicker-BCNqi02x.js} +364 -364
- package/dist/ColorPicker-BrDE7tMO.cjs +1 -0
- package/dist/CreateItemApp-B12M1E_1.cjs +1 -0
- package/dist/{CreateItemApp-CtdH1K1g.js → CreateItemApp-TAAprby3.js} +13 -13
- package/dist/CreateItemApp-ePB6ujNl.cjs +1 -0
- package/dist/DeviceInfoApp-BMF18BGo.cjs +1 -0
- package/dist/DeviceInfoApp-DRy0H3aT.cjs +1 -0
- package/dist/{DeviceInfoApp-C306YvtZ.js → DeviceInfoApp-lgpwkeRR.js} +7 -7
- package/dist/{DownloadProgress-hdupSUBT.js → DownloadProgress-EoyCaD5O.js} +15 -15
- package/dist/DownloadProgress-VNdj22U8.cjs +1 -0
- package/dist/{FileIcon-BCpGMI5U.js → FileIcon-7JaSR3Gn.js} +26 -25
- package/dist/FileIcon-CIXopWLv.cjs +1 -0
- package/dist/{FilePickerApp-DMGuvahM.js → FilePickerApp-DaMgEqKh.js} +115 -115
- package/dist/FilePickerApp-DjmuSFqa.cjs +1 -0
- package/dist/FilesApp-Bp7wfrBZ.cjs +1 -0
- package/dist/FilesApp-BpJJRKhi.cjs +1 -0
- package/dist/{FilesApp-VXrmtt63.js → FilesApp-Cj94QG5o.js} +21 -21
- package/dist/{Group-BzwlMeob.js → Group-CtBJSfCo.js} +1 -1
- package/dist/Group-Dsrf6lEK.cjs +1 -0
- package/dist/{ImageViewerApp-CWiP6zx-.js → ImageViewerApp-BaLP3gkO.js} +18 -17
- package/dist/ImageViewerApp-DlHGeB3S.cjs +1 -0
- package/dist/ImageViewerApp-DoXd_Swu.cjs +1 -0
- package/dist/{ImageViewerMenuBar-BULkh_Ku.js → ImageViewerMenuBar-CabGSi9r.js} +15 -14
- package/dist/ImageViewerMenuBar-SAI7UNz7.cjs +1 -0
- package/dist/ImageViewerMenuBar-_Jr29gii.cjs +1 -0
- package/dist/MenuEditApp-BJjlPTOa.cjs +1 -0
- package/dist/MenuEditApp-BTRppYnD.js +497 -0
- package/dist/MenuEditApp-JPsGT-S3.cjs +1 -0
- package/dist/MenuEditMenuBar-BydGkqMw.cjs +1 -0
- package/dist/MenuEditMenuBar-DptlwVPQ.cjs +1 -0
- package/dist/{MenuEditMenuBar-B94z4Umw.js → MenuEditMenuBar-x1IQrHP2.js} +13 -12
- package/dist/NotesApp-BOcRGO7w.cjs +1 -0
- package/dist/NotesApp-CQe7UfBC.js +364 -0
- package/dist/NotesApp-OL07JXRE.cjs +1 -0
- package/dist/NotesMenuBar-BSI_2Y7p.cjs +1 -0
- package/dist/NotesMenuBar-Df6aW85J.cjs +1 -0
- package/dist/{NotesMenuBar-BB4NkKGf.js → NotesMenuBar-VhpIe68v.js} +10 -9
- package/dist/{Paper-DtUYKmYn.js → Paper-BX_9odR6.js} +3 -3
- package/dist/Paper-D8-BaBx2.cjs +1 -0
- package/dist/PdfApp-CNEbty5v.cjs +1 -0
- package/dist/PdfApp-CVv3ZCaM.cjs +1 -0
- package/dist/PdfApp-DL_R9-Nc.js +39 -0
- package/dist/PdfMenuBar--E6kDyrT.cjs +1 -0
- package/dist/PdfMenuBar-DZCLSOpR.js +39 -0
- package/dist/PdfMenuBar-Dj5cJUkg.cjs +1 -0
- package/dist/SettingsApp-BlmHuAjT.js +1831 -0
- package/dist/SettingsApp-CNvIgf5B.cjs +1 -0
- package/dist/SettingsApp-DWxanNE4.cjs +1 -0
- package/dist/SettingsMenuBar-CBoOBCfx.cjs +1 -0
- package/dist/SettingsMenuBar-DQooFkZN.cjs +1 -0
- package/dist/SettingsMenuBar-YWiJHaxq.js +42 -0
- package/dist/Slider-BUiHxjKO.cjs +1 -0
- package/dist/{Slider-BNO-vDFn.js → Slider-t-NcD60t.js} +148 -147
- package/dist/{Stack-CuDEaP7e.js → Stack-Bp1Ek2Gp.js} +1 -1
- package/dist/Stack-D4jAiRfc.cjs +1 -0
- package/dist/StorybookApp-CDLV_kja.cjs +1 -0
- package/dist/{StorybookApp-WYninkJo.js → StorybookApp-DKwlPCmo.js} +1 -1
- package/dist/TerminalApp-BCB7i1lR.cjs +1 -0
- package/dist/TerminalApp-BYc_gHLe.js +326 -0
- package/dist/TerminalApp-Dviz6aP2.cjs +1 -0
- package/dist/{TerminalMenuBar-iKLydNda.js → TerminalMenuBar-D5tPmgR_.js} +15 -14
- package/dist/TerminalMenuBar-DNshPmCa.cjs +1 -0
- package/dist/TerminalMenuBar-HzMSR7XP.cjs +1 -0
- package/dist/{TextInput-C3qfxxWI.js → TextInput-C-JtGWn1.js} +264 -263
- package/dist/TextInput-CrsmcOip.cjs +1 -0
- package/dist/Tooltip-D5Cd9wtz.cjs +1 -0
- package/dist/Tooltip-DOeIvhrO.js +1142 -0
- package/dist/{UnstyledButton-CI3kyRck.js → UnstyledButton-DGaG-e_G.js} +1 -1
- package/dist/UnstyledButton-DX2pTahr.cjs +1 -0
- package/dist/UploaderApp-C6xA5Rrf2.cjs +1 -0
- package/dist/UploaderApp-DnHIRxB_.cjs +1 -0
- package/dist/{UploaderApp-C9W_yCT-.js → UploaderApp-qBfpukR_.js} +118 -117
- package/dist/VscIcon-CcMdrFoJ.cjs +1 -0
- package/dist/{VscIcon-DueRJVTe.js → VscIcon-DBfVnArE.js} +1 -1
- package/dist/create-safe-context-Bboj0GWC.cjs +1 -0
- package/dist/desktopStore-CZoA9VHO.cjs +1 -0
- package/dist/{desktopStore-B0R1-BeA.js → desktopStore-F8bgLqFl.js} +256 -393
- package/dist/getRuntime-BFK0-8R1.cjs +1 -0
- package/dist/{getRuntime-CCRXVzJH.js → getRuntime-DAPqFH2W.js} +5 -5
- package/dist/imageViewerStore-BB_tssZR.cjs +1 -0
- package/dist/{imageViewerStore-CJMRXaQh.js → imageViewerStore-C5kWz0o7.js} +1 -1
- package/dist/index.cjs +1 -53
- package/dist/index.css +1 -1
- package/dist/index.js +1293 -5468
- package/dist/is-element-CdV0xajp.cjs +1 -0
- package/dist/menuEditStore-CTeM_dns.cjs +1 -0
- package/dist/{menuEditStore-C8S_EedM.js → menuEditStore-Cj1zAwxQ.js} +1 -1
- package/dist/notesStore-BCEl1D_v.cjs +1 -0
- package/dist/{notesStore-DKRgTTFn.js → notesStore-BPyRTHEc.js} +1 -1
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/{settingsAppStore-KOeWRO6h.js → settingsAppStore-BDQ3ts1y.js} +1 -1
- package/dist/settingsAppStore-CMBc13VU.cjs +1 -0
- package/dist/{terminalStore-LWWjCvCe.js → terminalStore-IWdf4Mm6.js} +1 -1
- package/dist/terminalStore-iIuyodfK.cjs +1 -0
- package/dist/use-merged-ref-n9Gw9LNn.cjs +1 -0
- package/dist/{use-resolved-styles-api-AVDygMKo.cjs → use-resolved-styles-api-8OXE2oRq.cjs} +1 -1
- package/dist/{use-resolved-styles-api-pEOi2wiK.js → use-resolved-styles-api-DNUlJJZf.js} +1 -1
- package/dist/use-uncontrolled-DDJVQiM_.cjs +1 -0
- package/dist/{useAdaptiveDimensions-CunsU0mn.js → useAdaptiveDimensions-AVDc_qPa.js} +1 -1
- package/dist/useAdaptiveDimensions-CfITBJ_m.cjs +1 -0
- package/dist/{useCloseInterceptor-CuKAAFnj.js → useCloseInterceptor-BZd3VILp.js} +12 -12
- package/dist/useCloseInterceptor-yntBEzNc.cjs +1 -0
- package/dist/{useDynamicIcon-GJg3vWsJ.js → useDynamicIcon-Bf0t2foA.js} +1 -1
- package/dist/useDynamicIcon-DJ_il30E.cjs +1 -0
- package/dist/{useOpenApp-JHCPTBWa.js → useOpenApp-CBIm7Gzl.js} +3 -3
- package/dist/useOpenApp-DW4x79Zg.cjs +1 -0
- package/dist/useResolvedUrl-BkMPM1fM.cjs +1 -0
- package/dist/{useResolvedUrl-DFKXq598.js → useResolvedUrl-DQpLqOoL.js} +2 -2
- package/package.json +1 -1
- package/dist/AccordionChevron-DBXp38Lm.cjs +0 -1
- package/dist/ActionIcon-C_SfdBfx.cjs +0 -1
- package/dist/AppEmptyState-BTujnL_b.js +0 -4962
- package/dist/AppEmptyState-Dc4GaDfu.cjs +0 -1
- package/dist/AppIcon--qzR4sgf.cjs +0 -1
- package/dist/AppMenuBar-BiHbNg9V.cjs +0 -9
- package/dist/AppMenuBar-CHJy8OF0.js +0 -2639
- package/dist/Box-D_64wv6n.cjs +0 -1
- package/dist/Button-D0FXpkur.cjs +0 -1
- package/dist/CalendarApp-C1HvuJoa.cjs +0 -1
- package/dist/CalendarApp-DBEQqsS_.js +0 -1721
- package/dist/Center-T4No_FAa.cjs +0 -1
- package/dist/CheckIcon-CBMLR6Gc.cjs +0 -1
- package/dist/CodeServerApp-B3l5QPuG.cjs +0 -1
- package/dist/CodeServerApp-BpeALSaX.js +0 -2
- package/dist/CodeServerApp-CRjCngFv.cjs +0 -1
- package/dist/ColorPicker-BL4UbKCV.cjs +0 -1
- package/dist/CreateItemApp-BU9wmjKM.cjs +0 -1
- package/dist/CreateItemApp-t9F-a6wD.cjs +0 -1
- package/dist/DeviceInfoApp-Cdju_LIB.cjs +0 -1
- package/dist/DeviceInfoApp-CyB01v4D.cjs +0 -1
- package/dist/DownloadProgress-IRw1dzLX.cjs +0 -1
- package/dist/FileIcon-BCrsxmtt.cjs +0 -1
- package/dist/FilePickerApp-Eu0cr2Cm.cjs +0 -1
- package/dist/FilesApp-30OjnOuP.cjs +0 -1
- package/dist/FilesApp-BvlzPNuO.cjs +0 -1
- package/dist/Group-DhwePB84.cjs +0 -1
- package/dist/ImageViewerApp-BOz59TGc.cjs +0 -1
- package/dist/ImageViewerApp-BeqY6voE.cjs +0 -1
- package/dist/ImageViewerApp-DBAfJPSo.js +0 -2
- package/dist/ImageViewerMenuBar-Cb0Nr5-M.js +0 -2
- package/dist/ImageViewerMenuBar-CoEp0RxK.cjs +0 -1
- package/dist/ImageViewerMenuBar-zOkJtqKo.cjs +0 -1
- package/dist/MenuEditApp-BoKtj2GH.js +0 -2
- package/dist/MenuEditApp-D21sEp86.js +0 -2615
- package/dist/MenuEditApp-k3cPfTG9.cjs +0 -1
- package/dist/MenuEditApp-sz9GlLVH.cjs +0 -5
- package/dist/MenuEditMenuBar-6QxlIDpl.cjs +0 -1
- package/dist/MenuEditMenuBar-Bv6R42lf.js +0 -2
- package/dist/MenuEditMenuBar-CBsmH_-T.cjs +0 -1
- package/dist/NotesApp-BtR55Hva.cjs +0 -207
- package/dist/NotesApp-C59exz_9.js +0 -16154
- package/dist/NotesApp-D47I5LS_.js +0 -2
- package/dist/NotesApp-lOwsi2sg.cjs +0 -1
- package/dist/NotesMenuBar-BZITC74y.cjs +0 -1
- package/dist/NotesMenuBar-Bp0sPqyR.cjs +0 -1
- package/dist/NotesMenuBar-xlfODmMA.js +0 -2
- package/dist/Paper-DwCpwWwH.cjs +0 -1
- package/dist/PdfApp-1XbFGfoY.cjs +0 -1
- package/dist/PdfApp-BhIoJWeK.cjs +0 -1
- package/dist/PdfApp-C5Rt1Zaw.js +0 -2
- package/dist/PdfApp-C8Hwxxqh.js +0 -38
- package/dist/PdfMenuBar-BA9rKuMP.cjs +0 -1
- package/dist/PdfMenuBar-JXHqwxhZ.cjs +0 -1
- package/dist/PdfMenuBar-R0fu7oYF.js +0 -2
- package/dist/PdfMenuBar-sd-9Vk3h.js +0 -38
- package/dist/SettingsApp-BA-5B4RA.cjs +0 -1
- package/dist/SettingsApp-B_rev1xh.cjs +0 -1
- package/dist/SettingsApp-Ck4aUXs5.js +0 -2
- package/dist/SettingsApp-DUMKSA3K.js +0 -2425
- package/dist/SettingsMenuBar-BPwv8JQK.js +0 -41
- package/dist/SettingsMenuBar-D8R7hOik.js +0 -2
- package/dist/SettingsMenuBar-DDrjZLmg.cjs +0 -1
- package/dist/SettingsMenuBar-DQjUa8g1.cjs +0 -1
- package/dist/Slider-Bg_EIBg6.cjs +0 -1
- package/dist/Stack-BOaJgV3N.cjs +0 -1
- package/dist/StorybookApp-Bkr-7mXp.cjs +0 -1
- package/dist/TerminalApp-8XbsKAWa.js +0 -10041
- package/dist/TerminalApp-Bq2e7QQu.cjs +0 -1
- package/dist/TerminalApp-CVu3Axc9.js +0 -2
- package/dist/TerminalApp-b7_d0jRO.cjs +0 -36
- package/dist/TerminalMenuBar-Cb8x9laS.js +0 -2
- package/dist/TerminalMenuBar-De-FH5AE.cjs +0 -1
- package/dist/TerminalMenuBar-yOaWd-hn.cjs +0 -1
- package/dist/TextInput-DcYns3hz.cjs +0 -1
- package/dist/Tooltip-CAOO-qdx.js +0 -3185
- package/dist/Tooltip-DDh_x-CB.cjs +0 -1
- package/dist/UnstyledButton-Cl5RuIid.cjs +0 -1
- package/dist/UploaderApp-BZXW75A0.cjs +0 -1
- package/dist/UploaderApp-CPpStgP5.cjs +0 -1
- package/dist/UploaderApp-DHsMQN-f.js +0 -2
- package/dist/VscIcon-CxEmqD80.cjs +0 -1
- package/dist/chunk-BQCxAhux.js +0 -23
- package/dist/chunk-CiTBaPhY.cjs +0 -1
- package/dist/create-safe-context-95P-Bfg3.cjs +0 -1
- package/dist/desktopStore-Cox-Og1z.cjs +0 -1
- package/dist/fc-DejOsQyD.cjs +0 -1
- package/dist/fc-kd8WzIER.js +0 -20536
- package/dist/fc-xJ_v2ayq.cjs +0 -184
- package/dist/fi-BahYsbim.js +0 -9993
- package/dist/fi-BkhyTcZo.cjs +0 -1
- package/dist/getRuntime-BLXyQZBB.cjs +0 -1
- package/dist/iconBase-B4UCuSvv.cjs +0 -1
- package/dist/iconBase-D7iPes7B.js +0 -108
- package/dist/imageViewerStore-CH1qW6md.cjs +0 -1
- package/dist/is-element-BocgicRg.cjs +0 -1
- package/dist/menuEditStore-CU7IAg3L.cjs +0 -1
- package/dist/notesStore-zKmChTfF.cjs +0 -1
- package/dist/react-DYmzHD0X.js +0 -27
- package/dist/react-Dldg32sN.cjs +0 -1
- package/dist/settingsAppStore-BrlImdAH.cjs +0 -1
- package/dist/terminalStore-fZe5t7Ty.cjs +0 -1
- package/dist/use-merged-ref-BI9n1hUK.cjs +0 -1
- package/dist/use-uncontrolled-BPrfGv0W.cjs +0 -1
- package/dist/useAdaptiveDimensions-Btp0m5Pm.cjs +0 -1
- package/dist/useCloseInterceptor-a_6Lcuqj.cjs +0 -1
- package/dist/useDynamicIcon-SytdL1Tu.cjs +0 -1
- package/dist/useOpenApp-BdarhIgl.cjs +0 -1
- package/dist/useResolvedUrl-Be5ZlCX7.cjs +0 -1
- package/dist/useTranslation-DMRGdqZi.js +0 -279
- package/dist/useTranslation-D_O7S4RJ.cjs +0 -1
- package/dist/vsc-Ciibqbxo.cjs +0 -1
- package/dist/vsc-DGKSpOAR.js +0 -9574
- /package/dist/{Colors-hca6raEG.js → Colors-ClnDxnyA.js} +0 -0
- /package/dist/{Colors-BxX4G8kX.cjs → Colors-zP2AFgU3.cjs} +0 -0
- /package/dist/{useMenuBarUtils-Bp5PiztD.cjs → useMenuBarUtils-nJIPJGIQ.cjs} +0 -0
- /package/dist/{useMenuBarUtils-ChmpZjwu.js → useMenuBarUtils-nmu9yehT.js} +0 -0
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, D as t, I as n, M as r, O as i, c as a, l as o, r as s, t as c, x as l } from "./Box-DSKR_qaa.js";
|
|
2
2
|
import { t as u } from "./create-safe-context-XT2cxc14.js";
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
5
|
-
import { a as
|
|
6
|
-
import { r as
|
|
7
|
-
import { createElement as
|
|
8
|
-
import { Fragment as
|
|
3
|
+
import { d, o as f } from "./Tooltip-DOeIvhrO.js";
|
|
4
|
+
import { n as p, t as m } from "./use-uncontrolled-A4hm9ATM.js";
|
|
5
|
+
import { a as h, c as g, f as _, i as v } from "./TextInput-C-JtGWn1.js";
|
|
6
|
+
import { r as y } from "./use-merged-ref-BT8_u6vW.js";
|
|
7
|
+
import { createElement as b, use as x, useCallback as S, useEffect as C, useEffectEvent as w, useMemo as T, useRef as E, useState as D } from "react";
|
|
8
|
+
import { Fragment as O, jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
9
|
+
import { useMergeRefs as ee } from "@floating-ui/react";
|
|
9
10
|
//#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/utils/use-callback-ref/use-callback-ref.mjs
|
|
10
11
|
function j(e) {
|
|
11
|
-
let t =
|
|
12
|
-
return
|
|
12
|
+
let t = E(e);
|
|
13
|
+
return C(() => {
|
|
13
14
|
t.current = e;
|
|
14
|
-
}),
|
|
15
|
+
}), T(() => ((...e) => t.current?.(...e)), []);
|
|
15
16
|
}
|
|
16
17
|
//#endregion
|
|
17
18
|
//#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-debounced-callback/use-debounced-callback.mjs
|
|
@@ -20,7 +21,7 @@ function M(e, t) {
|
|
|
20
21
|
delay: t,
|
|
21
22
|
flushOnUnmount: !1,
|
|
22
23
|
leading: !1
|
|
23
|
-
} : t, a = j(e), o =
|
|
24
|
+
} : t, a = j(e), o = E(0), s = T(() => {
|
|
24
25
|
let e = Object.assign((...t) => {
|
|
25
26
|
window.clearTimeout(o.current);
|
|
26
27
|
let r = e._isFirstCall;
|
|
@@ -65,7 +66,7 @@ function M(e, t) {
|
|
|
65
66
|
n,
|
|
66
67
|
i
|
|
67
68
|
]);
|
|
68
|
-
return
|
|
69
|
+
return C(() => () => {
|
|
69
70
|
r ? s.flush() : s.cancel();
|
|
70
71
|
}, [s, r]), s;
|
|
71
72
|
}
|
|
@@ -80,8 +81,8 @@ var [te, P] = u("ScrollArea.Root component was not found in tree");
|
|
|
80
81
|
//#endregion
|
|
81
82
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/use-resize-observer.mjs
|
|
82
83
|
function F(e, t) {
|
|
83
|
-
let n =
|
|
84
|
-
|
|
84
|
+
let n = w(t);
|
|
85
|
+
_(() => {
|
|
85
86
|
let t = 0;
|
|
86
87
|
if (e) {
|
|
87
88
|
let r = new ResizeObserver(() => {
|
|
@@ -96,7 +97,7 @@ function F(e, t) {
|
|
|
96
97
|
//#endregion
|
|
97
98
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaCorner/ScrollAreaCorner.mjs
|
|
98
99
|
function ne(e) {
|
|
99
|
-
let { style: t, ...n } = e, r = P(), [i, a] =
|
|
100
|
+
let { style: t, ...n } = e, r = P(), [i, a] = D(0), [o, s] = D(0), c = !!(i && o);
|
|
100
101
|
return F(r.scrollbarX, () => {
|
|
101
102
|
let e = r.scrollbarX?.offsetHeight || 0;
|
|
102
103
|
r.onCornerHeightChange(e), s(e);
|
|
@@ -123,7 +124,7 @@ var ie = {
|
|
|
123
124
|
type: "hover"
|
|
124
125
|
};
|
|
125
126
|
function ae(e) {
|
|
126
|
-
let { type: t, scrollHideDelay: n, scrollbars: r, getStyles: i, ref: a, ...s } = o("ScrollAreaRoot", ie, e), [l, u] =
|
|
127
|
+
let { type: t, scrollHideDelay: n, scrollbars: r, getStyles: i, ref: a, ...s } = o("ScrollAreaRoot", ie, e), [l, u] = D(null), [d, f] = D(null), [p, m] = D(null), [h, g] = D(null), [_, v] = D(null), [b, x] = D(0), [S, C] = D(0), [w, T] = D(!1), [E, O] = D(!1), A = y(a, (e) => u(e));
|
|
127
128
|
return /* @__PURE__ */ k(te, {
|
|
128
129
|
value: {
|
|
129
130
|
type: t,
|
|
@@ -140,16 +141,16 @@ function ae(e) {
|
|
|
140
141
|
scrollbarY: _,
|
|
141
142
|
onScrollbarYChange: v,
|
|
142
143
|
scrollbarYEnabled: E,
|
|
143
|
-
onScrollbarYEnabledChange:
|
|
144
|
+
onScrollbarYEnabledChange: O,
|
|
144
145
|
onCornerWidthChange: x,
|
|
145
146
|
onCornerHeightChange: C,
|
|
146
147
|
getStyles: i
|
|
147
148
|
},
|
|
148
149
|
children: /* @__PURE__ */ k(c, {
|
|
149
150
|
...s,
|
|
150
|
-
ref:
|
|
151
|
+
ref: A,
|
|
151
152
|
__vars: {
|
|
152
|
-
"--sa-corner-width": r === "xy" ? `${
|
|
153
|
+
"--sa-corner-width": r === "xy" ? `${b}px` : "0px",
|
|
153
154
|
"--sa-corner-height": r === "xy" ? `${S}px` : "0px"
|
|
154
155
|
}
|
|
155
156
|
})
|
|
@@ -215,23 +216,23 @@ var [H, le] = u("ScrollAreaScrollbar was not found in tree");
|
|
|
215
216
|
//#endregion
|
|
216
217
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.mjs
|
|
217
218
|
function ue(e) {
|
|
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] =
|
|
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] = D(null), h = y(u, (e) => m(e)), g = E(null), _ = E(""), { viewport: v } = f, b = t.content - t.viewport, x = w(c), S = j(o), T = M(l, 10), O = (e) => {
|
|
219
220
|
g.current && s({
|
|
220
221
|
x: e.clientX - g.current.left,
|
|
221
222
|
y: e.clientY - g.current.top
|
|
222
223
|
});
|
|
223
224
|
};
|
|
224
|
-
return
|
|
225
|
+
return C(() => {
|
|
225
226
|
let e = (e) => {
|
|
226
227
|
let t = e.target;
|
|
227
|
-
p?.contains(t) && x(e,
|
|
228
|
+
p?.contains(t) && x(e, b);
|
|
228
229
|
};
|
|
229
230
|
return document.addEventListener("wheel", e, { passive: !1 }), () => document.removeEventListener("wheel", e, { passive: !1 });
|
|
230
231
|
}, [
|
|
231
232
|
v,
|
|
232
233
|
p,
|
|
233
|
-
|
|
234
|
-
]),
|
|
234
|
+
b
|
|
235
|
+
]), C(S, [t, S]), F(p, T), F(f.content, T), /* @__PURE__ */ k(H, {
|
|
235
236
|
value: {
|
|
236
237
|
scrollbar: p,
|
|
237
238
|
hasThumb: n,
|
|
@@ -249,9 +250,9 @@ function ue(e) {
|
|
|
249
250
|
...d.style
|
|
250
251
|
},
|
|
251
252
|
onPointerDown: V(e.onPointerDown, (e) => {
|
|
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",
|
|
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", O(e));
|
|
253
254
|
}),
|
|
254
|
-
onPointerMove: V(e.onPointerMove,
|
|
255
|
+
onPointerMove: V(e.onPointerMove, O),
|
|
255
256
|
onPointerUp: V(e.onPointerUp, (e) => {
|
|
256
257
|
let t = e.target;
|
|
257
258
|
t.hasPointerCapture(e.pointerId) && (e.preventDefault(), t.releasePointerCapture(e.pointerId));
|
|
@@ -265,8 +266,8 @@ function ue(e) {
|
|
|
265
266
|
//#endregion
|
|
266
267
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollbarX.mjs
|
|
267
268
|
var U = (e) => {
|
|
268
|
-
let { sizes: t, onSizesChange: n, style: r, ref: i, ...a } = e, o = P(), [s, c] =
|
|
269
|
-
return
|
|
269
|
+
let { sizes: t, onSizesChange: n, style: r, ref: i, ...a } = e, o = P(), [s, c] = D(), l = E(null), u = y(i, l, o.onScrollbarXChange);
|
|
270
|
+
return C(() => {
|
|
270
271
|
l.current && c(getComputedStyle(l.current));
|
|
271
272
|
}, [l]), /* @__PURE__ */ k(ue, {
|
|
272
273
|
"data-orientation": "horizontal",
|
|
@@ -302,8 +303,8 @@ U.displayName = "@mantine/core/ScrollAreaScrollbarX";
|
|
|
302
303
|
//#endregion
|
|
303
304
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollbarY.mjs
|
|
304
305
|
function W(e) {
|
|
305
|
-
let { sizes: t, onSizesChange: n, style: r, ref: i, ...a } = e, o = P(), [s, c] =
|
|
306
|
-
return
|
|
306
|
+
let { sizes: t, onSizesChange: n, style: r, ref: i, ...a } = e, o = P(), [s, c] = D(), l = E(null), u = y(i, l, o.onScrollbarYChange);
|
|
307
|
+
return C(() => {
|
|
307
308
|
l.current && c(window.getComputedStyle(l.current));
|
|
308
309
|
}, []), /* @__PURE__ */ k(ue, {
|
|
309
310
|
...a,
|
|
@@ -339,7 +340,7 @@ W.displayName = "@mantine/core/ScrollAreaScrollbarY";
|
|
|
339
340
|
//#endregion
|
|
340
341
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.mjs
|
|
341
342
|
function G(e) {
|
|
342
|
-
let { orientation: t = "vertical", ...n } = e, { dir: r } =
|
|
343
|
+
let { orientation: t = "vertical", ...n } = e, { dir: r } = f(), i = P(), a = E(null), o = E(0), [s, c] = D({
|
|
343
344
|
content: 0,
|
|
344
345
|
viewport: 0,
|
|
345
346
|
scrollbar: {
|
|
@@ -396,7 +397,7 @@ G.displayName = "@mantine/core/ScrollAreaScrollbarVisible";
|
|
|
396
397
|
//#endregion
|
|
397
398
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarAuto.mjs
|
|
398
399
|
function K(e) {
|
|
399
|
-
let t = P(), { forceMount: n, ...r } = e, [i, a] =
|
|
400
|
+
let t = P(), { forceMount: n, ...r } = e, [i, a] = D(!1), o = e.orientation === "horizontal", s = M(() => {
|
|
400
401
|
if (t.viewport) {
|
|
401
402
|
let e = t.viewport.offsetWidth < t.viewport.scrollWidth, n = t.viewport.offsetHeight < t.viewport.scrollHeight;
|
|
402
403
|
a(o ? e : n);
|
|
@@ -411,8 +412,8 @@ K.displayName = "@mantine/core/ScrollAreaScrollbarAuto";
|
|
|
411
412
|
//#endregion
|
|
412
413
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarHover.mjs
|
|
413
414
|
function de(e) {
|
|
414
|
-
let { forceMount: t, ...n } = e, r = P(), [i, a] =
|
|
415
|
-
return
|
|
415
|
+
let { forceMount: t, ...n } = e, r = P(), [i, a] = D(!1);
|
|
416
|
+
return C(() => {
|
|
416
417
|
let { scrollArea: e } = r, t = 0;
|
|
417
418
|
if (e) {
|
|
418
419
|
let n = () => {
|
|
@@ -433,13 +434,13 @@ de.displayName = "@mantine/core/ScrollAreaScrollbarHover";
|
|
|
433
434
|
//#endregion
|
|
434
435
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarScroll.mjs
|
|
435
436
|
function q(e) {
|
|
436
|
-
let { forceMount: t, ...n } = e, r = P(), i = e.orientation === "horizontal", [a, o] =
|
|
437
|
-
return
|
|
437
|
+
let { forceMount: t, ...n } = e, r = P(), i = e.orientation === "horizontal", [a, o] = D("hidden"), s = M(() => o("idle"), 100);
|
|
438
|
+
return C(() => {
|
|
438
439
|
if (a === "idle") {
|
|
439
440
|
let e = window.setTimeout(() => o("hidden"), r.scrollHideDelay);
|
|
440
441
|
return () => window.clearTimeout(e);
|
|
441
442
|
}
|
|
442
|
-
}, [a, r.scrollHideDelay]),
|
|
443
|
+
}, [a, r.scrollHideDelay]), C(() => {
|
|
443
444
|
let { viewport: e } = r, t = i ? "scrollLeft" : "scrollTop";
|
|
444
445
|
if (e) {
|
|
445
446
|
let n = e[t], r = () => {
|
|
@@ -463,7 +464,7 @@ function q(e) {
|
|
|
463
464
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.mjs
|
|
464
465
|
function J(e) {
|
|
465
466
|
let { forceMount: t, ...n } = e, r = P(), { onScrollbarXEnabledChange: i, onScrollbarYEnabledChange: a } = r, o = e.orientation === "horizontal";
|
|
466
|
-
return
|
|
467
|
+
return C(() => (o ? i(!0) : a(!0), () => {
|
|
467
468
|
o ? i(!1) : a(!1);
|
|
468
469
|
}), [
|
|
469
470
|
o,
|
|
@@ -499,10 +500,10 @@ function Y(e, t = () => {}) {
|
|
|
499
500
|
//#endregion
|
|
500
501
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.mjs
|
|
501
502
|
function fe(e) {
|
|
502
|
-
let { style: t, ref: n, ...r } = e, i = P(), a = le(), { onThumbPositionChange: o } = a, s =
|
|
503
|
+
let { style: t, ref: n, ...r } = e, i = P(), a = le(), { onThumbPositionChange: o } = a, s = y(n, (e) => a.onThumbChange(e)), c = E(void 0), l = M(() => {
|
|
503
504
|
c.current &&= (c.current(), void 0);
|
|
504
505
|
}, 100);
|
|
505
|
-
return
|
|
506
|
+
return C(() => {
|
|
506
507
|
let { viewport: e } = i;
|
|
507
508
|
if (e) {
|
|
508
509
|
let t = () => {
|
|
@@ -542,7 +543,7 @@ X.displayName = "@mantine/core/ScrollAreaThumb";
|
|
|
542
543
|
//#endregion
|
|
543
544
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.mjs
|
|
544
545
|
function pe({ children: e, style: t, ref: n, onWheel: r, ...i }) {
|
|
545
|
-
let a = P(), o =
|
|
546
|
+
let a = P(), o = y(n, a.onViewportChange), s = (e) => {
|
|
546
547
|
if (r?.(e), a.scrollbarXEnabled && a.viewport && e.shiftKey) {
|
|
547
548
|
let { scrollTop: t, scrollHeight: n, clientHeight: r, scrollWidth: i, clientWidth: o } = a.viewport, s = t < 1, c = t >= n - r - 1;
|
|
548
549
|
i > o && (s || c) && e.stopPropagation();
|
|
@@ -579,75 +580,75 @@ var Z = {
|
|
|
579
580
|
scrollHideDelay: 1e3,
|
|
580
581
|
type: "hover",
|
|
581
582
|
scrollbars: "xy"
|
|
582
|
-
}, he =
|
|
583
|
+
}, he = t((e, { scrollbarSize: t, overscrollBehavior: r, scrollbars: i }) => {
|
|
583
584
|
let a = r;
|
|
584
585
|
return r && i && (i === "x" ? a = `${r} auto` : i === "y" && (a = `auto ${r}`)), { root: {
|
|
585
|
-
"--scrollarea-scrollbar-size":
|
|
586
|
+
"--scrollarea-scrollbar-size": n(t),
|
|
586
587
|
"--scrollarea-over-scroll-behavior": a
|
|
587
588
|
} };
|
|
588
589
|
}), Q = s((e) => {
|
|
589
|
-
let t = o("ScrollArea", me, e), { classNames: n, className:
|
|
590
|
+
let t = o("ScrollArea", me, e), { classNames: n, className: r, style: i, styles: s, unstyled: c, scrollbarSize: l, vars: u, type: d, scrollHideDelay: f, viewportProps: p, viewportRef: m, onScrollPositionChange: h, children: g, offsetScrollbars: v, scrollbars: y, onBottomReached: b, onTopReached: x, onLeftReached: S, onRightReached: C, overscrollBehavior: w, startScrollPosition: T, attributes: O, ...j } = t, [M, N] = D(!1), [te, P] = D(!1), [ne, ie] = D(!1), oe = E(!0), I = E(!1), se = E(!0), L = E(!1), R = a({
|
|
590
591
|
name: "ScrollArea",
|
|
591
592
|
props: t,
|
|
592
593
|
classes: Z,
|
|
593
|
-
className:
|
|
594
|
-
style:
|
|
594
|
+
className: r,
|
|
595
|
+
style: i,
|
|
595
596
|
classNames: n,
|
|
596
597
|
styles: s,
|
|
597
598
|
unstyled: c,
|
|
598
|
-
attributes:
|
|
599
|
+
attributes: O,
|
|
599
600
|
vars: u,
|
|
600
601
|
varsResolver: he
|
|
601
|
-
}), z =
|
|
602
|
-
return
|
|
603
|
-
|
|
604
|
-
left:
|
|
605
|
-
top:
|
|
602
|
+
}), z = E(null), ce = ee([m, z]);
|
|
603
|
+
return _(() => {
|
|
604
|
+
T && z.current && z.current.scrollTo({
|
|
605
|
+
left: T.x ?? 0,
|
|
606
|
+
top: T.y ?? 0
|
|
606
607
|
});
|
|
607
|
-
}, []), F(
|
|
608
|
+
}, []), F(v === "present" ? z.current : null, () => {
|
|
608
609
|
let e = z.current;
|
|
609
610
|
e && (P(e.scrollHeight > e.clientHeight), ie(e.scrollWidth > e.clientWidth));
|
|
610
611
|
}), /* @__PURE__ */ A(ae, {
|
|
611
612
|
getStyles: R,
|
|
612
613
|
type: d === "never" ? "always" : d,
|
|
613
|
-
scrollHideDelay:
|
|
614
|
-
scrollbars:
|
|
614
|
+
scrollHideDelay: f,
|
|
615
|
+
scrollbars: y,
|
|
615
616
|
...R("root"),
|
|
616
617
|
...j,
|
|
617
618
|
children: [
|
|
618
619
|
/* @__PURE__ */ k(pe, {
|
|
619
|
-
...
|
|
620
|
-
...R("viewport", { style:
|
|
620
|
+
...p,
|
|
621
|
+
...R("viewport", { style: p?.style }),
|
|
621
622
|
ref: ce,
|
|
622
|
-
"data-offset-scrollbars":
|
|
623
|
-
"data-scrollbars":
|
|
624
|
-
"data-horizontal-hidden":
|
|
625
|
-
"data-vertical-hidden":
|
|
623
|
+
"data-offset-scrollbars": v === !0 ? "xy" : v || void 0,
|
|
624
|
+
"data-scrollbars": y || void 0,
|
|
625
|
+
"data-horizontal-hidden": v === "present" && !ne ? "true" : void 0,
|
|
626
|
+
"data-vertical-hidden": v === "present" && !te ? "true" : void 0,
|
|
626
627
|
onScroll: (e) => {
|
|
627
|
-
|
|
628
|
+
p?.onScroll?.(e), h?.({
|
|
628
629
|
x: e.currentTarget.scrollLeft,
|
|
629
630
|
y: e.currentTarget.scrollTop
|
|
630
631
|
});
|
|
631
632
|
let { scrollTop: t, scrollHeight: n, clientHeight: r, scrollLeft: i, scrollWidth: a, clientWidth: o } = e.currentTarget, s = t - (n - r) >= -.8, c = t === 0;
|
|
632
|
-
s && !I.current &&
|
|
633
|
+
s && !I.current && b?.(), c && !oe.current && x?.(), I.current = s, oe.current = c;
|
|
633
634
|
let l = i - (a - o) >= -.8, u = i === 0;
|
|
634
|
-
l && !L.current &&
|
|
635
|
+
l && !L.current && C?.(), u && !se.current && S?.(), L.current = l, se.current = u;
|
|
635
636
|
},
|
|
636
|
-
children:
|
|
637
|
+
children: g
|
|
637
638
|
}),
|
|
638
|
-
(
|
|
639
|
+
(y === "xy" || y === "x") && /* @__PURE__ */ k(J, {
|
|
639
640
|
...R("scrollbar"),
|
|
640
641
|
orientation: "horizontal",
|
|
641
|
-
"data-hidden": d === "never" ||
|
|
642
|
+
"data-hidden": d === "never" || v === "present" && !ne ? !0 : void 0,
|
|
642
643
|
forceMount: !0,
|
|
643
644
|
onMouseEnter: () => N(!0),
|
|
644
645
|
onMouseLeave: () => N(!1),
|
|
645
646
|
children: /* @__PURE__ */ k(X, { ...R("thumb") })
|
|
646
647
|
}),
|
|
647
|
-
(
|
|
648
|
+
(y === "xy" || y === "y") && /* @__PURE__ */ k(J, {
|
|
648
649
|
...R("scrollbar"),
|
|
649
650
|
orientation: "vertical",
|
|
650
|
-
"data-hidden": d === "never" ||
|
|
651
|
+
"data-hidden": d === "never" || v === "present" && !te ? !0 : void 0,
|
|
651
652
|
forceMount: !0,
|
|
652
653
|
onMouseEnter: () => N(!0),
|
|
653
654
|
onMouseLeave: () => N(!1),
|
|
@@ -663,32 +664,32 @@ var Z = {
|
|
|
663
664
|
});
|
|
664
665
|
Q.displayName = "@mantine/core/ScrollArea";
|
|
665
666
|
var $ = s((e) => {
|
|
666
|
-
let { children: t, classNames: n, styles: r, scrollbarSize: i, scrollHideDelay: a, type: s, dir: l, offsetScrollbars: u, overscrollBehavior: d, viewportRef:
|
|
667
|
-
let e =
|
|
668
|
-
if (!e || !
|
|
667
|
+
let { children: t, classNames: n, styles: r, scrollbarSize: i, scrollHideDelay: a, type: s, dir: l, offsetScrollbars: u, overscrollBehavior: d, viewportRef: f, onScrollPositionChange: p, unstyled: m, variant: h, viewportProps: g, scrollbars: _, style: v, vars: y, onBottomReached: b, onTopReached: x, startScrollPosition: S, onOverflowChange: C, ...T } = o("ScrollAreaAutosize", me, e), D = E(null), O = ee([f, D]), A = E(!1), j = E(!1), M = w(() => {
|
|
668
|
+
let e = D.current;
|
|
669
|
+
if (!e || !C) return;
|
|
669
670
|
let t = e.scrollHeight > e.clientHeight;
|
|
670
|
-
t !== A.current && (j.current ?
|
|
671
|
+
t !== A.current && (j.current ? C(t) : (j.current = !0, t && C(!0)), A.current = t);
|
|
671
672
|
});
|
|
672
|
-
return F(
|
|
673
|
-
...
|
|
674
|
-
variant:
|
|
673
|
+
return F(C ? D.current : null, M), /* @__PURE__ */ k(c, {
|
|
674
|
+
...T,
|
|
675
|
+
variant: h,
|
|
675
676
|
style: [{
|
|
676
677
|
display: "flex",
|
|
677
678
|
overflow: "hidden"
|
|
678
|
-
},
|
|
679
|
+
}, v],
|
|
679
680
|
children: /* @__PURE__ */ k(c, {
|
|
680
681
|
style: {
|
|
681
682
|
display: "flex",
|
|
682
683
|
flexDirection: "column",
|
|
683
684
|
flex: 1,
|
|
684
685
|
overflow: "hidden",
|
|
685
|
-
...
|
|
686
|
-
...
|
|
687
|
-
...
|
|
686
|
+
..._ === "y" && { minWidth: 0 },
|
|
687
|
+
..._ === "x" && { minHeight: 0 },
|
|
688
|
+
..._ === "xy" && {
|
|
688
689
|
minWidth: 0,
|
|
689
690
|
minHeight: 0
|
|
690
691
|
},
|
|
691
|
-
...
|
|
692
|
+
..._ === !1 && {
|
|
692
693
|
minWidth: 0,
|
|
693
694
|
minHeight: 0
|
|
694
695
|
}
|
|
@@ -702,16 +703,16 @@ var $ = s((e) => {
|
|
|
702
703
|
dir: l,
|
|
703
704
|
offsetScrollbars: u,
|
|
704
705
|
overscrollBehavior: d,
|
|
705
|
-
viewportRef:
|
|
706
|
-
onScrollPositionChange:
|
|
707
|
-
unstyled:
|
|
708
|
-
variant:
|
|
709
|
-
viewportProps:
|
|
710
|
-
vars:
|
|
711
|
-
scrollbars:
|
|
712
|
-
onBottomReached:
|
|
713
|
-
onTopReached:
|
|
714
|
-
startScrollPosition:
|
|
706
|
+
viewportRef: O,
|
|
707
|
+
onScrollPositionChange: p,
|
|
708
|
+
unstyled: m,
|
|
709
|
+
variant: h,
|
|
710
|
+
viewportProps: g,
|
|
711
|
+
vars: y,
|
|
712
|
+
scrollbars: _,
|
|
713
|
+
onBottomReached: b,
|
|
714
|
+
onTopReached: x,
|
|
715
|
+
startScrollPosition: S,
|
|
715
716
|
"data-autosize": "true",
|
|
716
717
|
children: t
|
|
717
718
|
})
|
|
@@ -722,13 +723,13 @@ Q.classes = Z, Q.varsResolver = he, $.displayName = "@mantine/core/ScrollAreaAut
|
|
|
722
723
|
//#endregion
|
|
723
724
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/utils/InputsGroupFieldset/InputsGroupFieldset.mjs
|
|
724
725
|
function ge({ children: e, role: t }) {
|
|
725
|
-
let n =
|
|
726
|
+
let n = x(h);
|
|
726
727
|
return n ? /* @__PURE__ */ k("div", {
|
|
727
728
|
role: t,
|
|
728
729
|
"aria-labelledby": n.labelId,
|
|
729
730
|
"aria-describedby": n.describedBy,
|
|
730
731
|
children: e
|
|
731
|
-
}) : /* @__PURE__ */ k(
|
|
732
|
+
}) : /* @__PURE__ */ k(O, { children: e });
|
|
732
733
|
}
|
|
733
734
|
//#endregion
|
|
734
735
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/utils/InlineInput/InlineInput.module.mjs
|
|
@@ -740,11 +741,11 @@ var _e = {
|
|
|
740
741
|
description: "m_328f68c0",
|
|
741
742
|
error: "m_8e8a99cc"
|
|
742
743
|
}, ve = _e;
|
|
743
|
-
function ye({ __staticSelector: e, __stylesApiProps:
|
|
744
|
-
let D =
|
|
744
|
+
function ye({ __staticSelector: e, __stylesApiProps: t, className: n, classNames: o, styles: s, unstyled: l, children: u, label: d, description: f, id: p, disabled: m, error: h, size: g, labelPosition: _ = "left", bodyElement: y = "div", labelElement: b = "label", variant: x, style: S, vars: C, mod: w, attributes: T, ...E }) {
|
|
745
|
+
let D = a({
|
|
745
746
|
name: e,
|
|
746
|
-
props:
|
|
747
|
-
className:
|
|
747
|
+
props: t,
|
|
748
|
+
className: n,
|
|
748
749
|
style: S,
|
|
749
750
|
classes: _e,
|
|
750
751
|
classNames: o,
|
|
@@ -755,16 +756,16 @@ function ye({ __staticSelector: e, __stylesApiProps: n, className: i, classNames
|
|
|
755
756
|
return /* @__PURE__ */ k(c, {
|
|
756
757
|
...D("root"),
|
|
757
758
|
__vars: {
|
|
758
|
-
"--label-fz":
|
|
759
|
-
"--label-lh":
|
|
759
|
+
"--label-fz": i(g),
|
|
760
|
+
"--label-lh": r(g, "label-lh")
|
|
760
761
|
},
|
|
761
762
|
mod: [{ "label-position": _ }, w],
|
|
762
763
|
variant: x,
|
|
763
764
|
size: g,
|
|
764
765
|
...E,
|
|
765
766
|
children: /* @__PURE__ */ A(c, {
|
|
766
|
-
component:
|
|
767
|
-
htmlFor:
|
|
767
|
+
component: y,
|
|
768
|
+
htmlFor: y === "label" ? p : void 0,
|
|
768
769
|
...D("body"),
|
|
769
770
|
children: [u, /* @__PURE__ */ A("div", {
|
|
770
771
|
...D("labelWrapper"),
|
|
@@ -777,13 +778,13 @@ function ye({ __staticSelector: e, __stylesApiProps: n, className: i, classNames
|
|
|
777
778
|
"data-disabled": m || void 0,
|
|
778
779
|
children: d
|
|
779
780
|
}),
|
|
780
|
-
f && /* @__PURE__ */ k(
|
|
781
|
+
f && /* @__PURE__ */ k(v.Description, {
|
|
781
782
|
size: g,
|
|
782
783
|
__inheritStyles: !1,
|
|
783
784
|
...D("description"),
|
|
784
785
|
children: f
|
|
785
786
|
}),
|
|
786
|
-
h && typeof h != "boolean" && /* @__PURE__ */ k(
|
|
787
|
+
h && typeof h != "boolean" && /* @__PURE__ */ k(v.Error, {
|
|
787
788
|
size: g,
|
|
788
789
|
__inheritStyles: !1,
|
|
789
790
|
...D("error"),
|
|
@@ -814,8 +815,8 @@ function Se({ size: e, disabled: t, variant: n, color: r, thumbSize: i, radius:
|
|
|
814
815
|
Se.displayName = "@mantine/core/SliderRoot";
|
|
815
816
|
//#endregion
|
|
816
817
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Slider/Thumb/Thumb.mjs
|
|
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:
|
|
818
|
-
let { getStyles: x } = xe(), [S, C] =
|
|
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: _ = null, disabled: v, orientation: y = "horizontal", ref: b }) {
|
|
819
|
+
let { getStyles: x } = xe(), [S, C] = D(!1), w = u || a || S || m && h;
|
|
819
820
|
return /* @__PURE__ */ A(c, {
|
|
820
821
|
tabIndex: v ? -1 : 0,
|
|
821
822
|
role: "slider",
|
|
@@ -842,7 +843,7 @@ function Ce({ max: e, min: t, value: n, position: r, label: i, dragging: a, onMo
|
|
|
842
843
|
onMouseDown: o,
|
|
843
844
|
onKeyDownCapture: s,
|
|
844
845
|
onClick: (e) => e.stopPropagation(),
|
|
845
|
-
children: [
|
|
846
|
+
children: [_, /* @__PURE__ */ k(g, {
|
|
846
847
|
mounted: i != null && !!w,
|
|
847
848
|
transition: "fade",
|
|
848
849
|
duration: 0,
|
|
@@ -870,7 +871,7 @@ function Te({ mark: e, offset: t, value: n, inverted: r = !1 }) {
|
|
|
870
871
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Slider/Marks/Marks.mjs
|
|
871
872
|
function Ee({ marks: e, min: t, max: n, disabled: r, value: i, offset: a, inverted: o }) {
|
|
872
873
|
let { getStyles: s } = xe();
|
|
873
|
-
return e ? /* @__PURE__ */ k("div", { children: e.map((e, l) => e.hidden ? null : /* @__PURE__ */
|
|
874
|
+
return e ? /* @__PURE__ */ k("div", { children: e.map((e, l) => e.hidden ? null : /* @__PURE__ */ b(c, {
|
|
874
875
|
...s("markWrapper"),
|
|
875
876
|
__vars: { "--mark-offset": `${we({
|
|
876
877
|
value: e.value,
|
|
@@ -996,75 +997,75 @@ var Fe = {
|
|
|
996
997
|
showLabelOnHover: !0,
|
|
997
998
|
scale: (e) => e,
|
|
998
999
|
size: "md"
|
|
999
|
-
}, Le =
|
|
1000
|
-
"--slider-size":
|
|
1001
|
-
"--slider-color": a ? l(a,
|
|
1002
|
-
"--slider-radius": s === void 0 ? void 0 :
|
|
1003
|
-
"--slider-thumb-size": o === void 0 ? "calc(var(--slider-size) * 2)" :
|
|
1000
|
+
}, Le = t((t, { size: i, color: a, thumbSize: o, radius: s }) => ({ root: {
|
|
1001
|
+
"--slider-size": r(i, "slider-size"),
|
|
1002
|
+
"--slider-color": a ? l(a, t) : void 0,
|
|
1003
|
+
"--slider-radius": s === void 0 ? void 0 : e(s),
|
|
1004
|
+
"--slider-thumb-size": o === void 0 ? "calc(var(--slider-size) * 2)" : n(o)
|
|
1004
1005
|
} })), Re = s((e) => {
|
|
1005
|
-
let t = o("Slider", Ie, e), { classNames: n, styles:
|
|
1006
|
+
let t = o("Slider", Ie, e), { classNames: n, styles: r, value: i, onChange: s, onChangeEnd: c, size: l, min: u, max: h, domain: g, step: _, precision: v, defaultValue: b, name: x, marks: w, label: T, labelTransitionProps: O, 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 = a({
|
|
1006
1007
|
name: "Slider",
|
|
1007
1008
|
props: t,
|
|
1008
1009
|
classes: Fe,
|
|
1009
1010
|
classNames: n,
|
|
1010
1011
|
className: ae,
|
|
1011
|
-
styles:
|
|
1012
|
+
styles: r,
|
|
1012
1013
|
style: oe,
|
|
1013
1014
|
attributes: z,
|
|
1014
1015
|
vars: I,
|
|
1015
1016
|
varsResolver: Le,
|
|
1016
1017
|
unstyled: F
|
|
1017
|
-
}), { dir: H } =
|
|
1018
|
-
value: typeof
|
|
1019
|
-
defaultValue: typeof
|
|
1020
|
-
finalValue:
|
|
1018
|
+
}), { dir: H } = f(), [le, ue] = D(!1), [U, W] = m({
|
|
1019
|
+
value: typeof i == "number" ? p(i, u, h) : i,
|
|
1020
|
+
defaultValue: typeof b == "number" ? p(b, u, h) : b,
|
|
1021
|
+
finalValue: p(0, u, h),
|
|
1021
1022
|
onChange: s
|
|
1022
|
-
}), G =
|
|
1023
|
-
|
|
1023
|
+
}), G = E(U), K = E(c);
|
|
1024
|
+
C(() => {
|
|
1024
1025
|
K.current = c;
|
|
1025
1026
|
}, [c]);
|
|
1026
|
-
let de =
|
|
1027
|
+
let de = E(null), q = E(null), [J, Y] = g || [u, h], fe = we({
|
|
1027
1028
|
value: U,
|
|
1028
1029
|
min: J,
|
|
1029
1030
|
max: Y
|
|
1030
|
-
}), X = ne(U), pe = typeof T == "function" ? T(X) : T, Z = v ?? Ae(_), me =
|
|
1031
|
+
}), X = ne(U), pe = typeof T == "function" ? T(X) : T, Z = v ?? Ae(_), me = S(({ x: e }) => {
|
|
1031
1032
|
if (!P) {
|
|
1032
|
-
let t =
|
|
1033
|
+
let t = p(Oe({
|
|
1033
1034
|
value: e,
|
|
1034
1035
|
min: J,
|
|
1035
1036
|
max: Y,
|
|
1036
1037
|
step: _,
|
|
1037
1038
|
precision: Z
|
|
1038
|
-
}), u,
|
|
1039
|
-
W(L &&
|
|
1039
|
+
}), u, h);
|
|
1040
|
+
W(L && w?.length ? N(t, w.map((e) => e.value)) : t), G.current = t;
|
|
1040
1041
|
}
|
|
1041
1042
|
}, [
|
|
1042
1043
|
P,
|
|
1043
1044
|
u,
|
|
1044
|
-
|
|
1045
|
+
h,
|
|
1045
1046
|
J,
|
|
1046
1047
|
Y,
|
|
1047
1048
|
_,
|
|
1048
1049
|
Z,
|
|
1049
1050
|
W,
|
|
1050
|
-
|
|
1051
|
+
w,
|
|
1051
1052
|
L
|
|
1052
|
-
]), { ref: he, active: Q } = d(({ x: e, y: t }) => me({ x: ie === "vertical" ? 1 - t : e }), { onScrubEnd:
|
|
1053
|
+
]), { ref: he, active: Q } = d(({ x: e, y: t }) => me({ x: ie === "vertical" ? 1 - t : e }), { onScrubEnd: S(() => {
|
|
1053
1054
|
if (!P && K.current) {
|
|
1054
|
-
let e = L &&
|
|
1055
|
+
let e = L && w?.length ? N(G.current, w.map((e) => e.value)) : G.current;
|
|
1055
1056
|
K.current(e);
|
|
1056
1057
|
}
|
|
1057
1058
|
}, [
|
|
1058
1059
|
P,
|
|
1059
|
-
|
|
1060
|
+
w,
|
|
1060
1061
|
L
|
|
1061
|
-
]) }, H), $ =
|
|
1062
|
+
]) }, H), $ = S((e) => {
|
|
1062
1063
|
!P && K.current && K.current(e);
|
|
1063
1064
|
}, [P]), ge = (e) => {
|
|
1064
1065
|
if (!P) switch (e.key) {
|
|
1065
1066
|
case "ArrowUp": {
|
|
1066
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1067
|
-
let e = je(U,
|
|
1067
|
+
if (e.preventDefault(), q.current?.focus(), L && w) {
|
|
1068
|
+
let e = je(U, w);
|
|
1068
1069
|
W(e), $(e);
|
|
1069
1070
|
break;
|
|
1070
1071
|
}
|
|
@@ -1073,8 +1074,8 @@ var Fe = {
|
|
|
1073
1074
|
break;
|
|
1074
1075
|
}
|
|
1075
1076
|
case "ArrowRight": {
|
|
1076
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1077
|
-
let e = H === "rtl" ? Me(U,
|
|
1077
|
+
if (e.preventDefault(), q.current?.focus(), L && w) {
|
|
1078
|
+
let e = H === "rtl" ? Me(U, w) : je(U, w);
|
|
1078
1079
|
W(e), $(e);
|
|
1079
1080
|
break;
|
|
1080
1081
|
}
|
|
@@ -1083,8 +1084,8 @@ var Fe = {
|
|
|
1083
1084
|
break;
|
|
1084
1085
|
}
|
|
1085
1086
|
case "ArrowDown": {
|
|
1086
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1087
|
-
let e = Me(U,
|
|
1087
|
+
if (e.preventDefault(), q.current?.focus(), L && w) {
|
|
1088
|
+
let e = Me(U, w);
|
|
1088
1089
|
W(e), $(e);
|
|
1089
1090
|
break;
|
|
1090
1091
|
}
|
|
@@ -1093,8 +1094,8 @@ var Fe = {
|
|
|
1093
1094
|
break;
|
|
1094
1095
|
}
|
|
1095
1096
|
case "ArrowLeft": {
|
|
1096
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1097
|
-
let e = H === "rtl" ? je(U,
|
|
1097
|
+
if (e.preventDefault(), q.current?.focus(), L && w) {
|
|
1098
|
+
let e = H === "rtl" ? je(U, w) : Me(U, w);
|
|
1098
1099
|
W(e), $(e);
|
|
1099
1100
|
break;
|
|
1100
1101
|
}
|
|
@@ -1103,18 +1104,18 @@ var Fe = {
|
|
|
1103
1104
|
break;
|
|
1104
1105
|
}
|
|
1105
1106
|
case "Home":
|
|
1106
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1107
|
-
W(Ne(
|
|
1107
|
+
if (e.preventDefault(), q.current?.focus(), L && w) {
|
|
1108
|
+
W(Ne(w)), $(Ne(w));
|
|
1108
1109
|
break;
|
|
1109
1110
|
}
|
|
1110
1111
|
W(u), $(u);
|
|
1111
1112
|
break;
|
|
1112
1113
|
case "End":
|
|
1113
|
-
if (e.preventDefault(), q.current?.focus(), L &&
|
|
1114
|
-
W(Pe(
|
|
1114
|
+
if (e.preventDefault(), q.current?.focus(), L && w) {
|
|
1115
|
+
W(Pe(w)), $(Pe(w));
|
|
1115
1116
|
break;
|
|
1116
1117
|
}
|
|
1117
|
-
W(
|
|
1118
|
+
W(h), $(h);
|
|
1118
1119
|
break;
|
|
1119
1120
|
default: break;
|
|
1120
1121
|
}
|
|
@@ -1123,7 +1124,7 @@ var Fe = {
|
|
|
1123
1124
|
value: { getStyles: V },
|
|
1124
1125
|
children: /* @__PURE__ */ A(Se, {
|
|
1125
1126
|
...B,
|
|
1126
|
-
ref:
|
|
1127
|
+
ref: y(ce, de),
|
|
1127
1128
|
onKeyDownCapture: ge,
|
|
1128
1129
|
onMouseDownCapture: () => de.current?.focus(),
|
|
1129
1130
|
size: l,
|
|
@@ -1133,7 +1134,7 @@ var Fe = {
|
|
|
1133
1134
|
inverted: re,
|
|
1134
1135
|
offset: 0,
|
|
1135
1136
|
filled: fe,
|
|
1136
|
-
marks:
|
|
1137
|
+
marks: w,
|
|
1137
1138
|
min: J,
|
|
1138
1139
|
max: Y,
|
|
1139
1140
|
value: X,
|
|
@@ -1151,7 +1152,7 @@ var Fe = {
|
|
|
1151
1152
|
dragging: Q,
|
|
1152
1153
|
label: pe,
|
|
1153
1154
|
ref: q,
|
|
1154
|
-
labelTransitionProps:
|
|
1155
|
+
labelTransitionProps: O,
|
|
1155
1156
|
labelAlwaysOn: ee,
|
|
1156
1157
|
thumbLabel: j,
|
|
1157
1158
|
showLabelOnHover: M,
|