@fde-desktop/fde-core 0.4.10 → 0.4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/dist/AppEmptyState-Boej96TB.js +49 -0
  2. package/dist/AppEmptyState-CLc00OOG.cjs +1 -0
  3. package/dist/AppIcon-C8vHUVcb.cjs +1 -0
  4. package/dist/AppIcon-mtEoyzOb.js +22 -0
  5. package/dist/AppMenuBar-CAlkNHjj.cjs +1 -0
  6. package/dist/AppMenuBar-DmSfQRXU.js +197 -0
  7. package/dist/CalendarApp-DOmjWbpl.js +10 -0
  8. package/dist/CalendarApp-Z0bCCYsK.cjs +1 -0
  9. package/dist/ColorPicker-CQRRwY-y.cjs +1 -0
  10. package/dist/ColorPicker-WCeD3Wjf.js +35 -0
  11. package/dist/CreateItemApp-BkFFFdX1.cjs +1 -0
  12. package/dist/CreateItemApp-DR8Y4bwo.js +202 -0
  13. package/dist/DeviceInfoApp-BXQ9uOwF.cjs +1 -0
  14. package/dist/DeviceInfoApp-I63mJRWy.js +195 -0
  15. package/dist/DownloadProgress-CkTGTf0z.cjs +1 -0
  16. package/dist/DownloadProgress-DnVASsv5.js +39 -0
  17. package/dist/FilePickerApp-By6-vbag.cjs +1 -0
  18. package/dist/FilePickerApp-ClHuhm6Z.js +390 -0
  19. package/dist/FilesApp-BRK2OqkQ.cjs +1 -0
  20. package/dist/FilesApp-BuoFP_KA.js +212 -0
  21. package/dist/ImageViewerApp-B1niWF75.cjs +1 -0
  22. package/dist/{ImageViewerApp-CWiP6zx-.js → ImageViewerApp-iojtyFEf.js} +18 -17
  23. package/dist/{ImageViewerMenuBar-BULkh_Ku.js → ImageViewerMenuBar-BIsUokxV.js} +15 -14
  24. package/dist/ImageViewerMenuBar-BgzgSF3v.cjs +1 -0
  25. package/dist/MenuEditApp-BHptoJbz.cjs +1 -0
  26. package/dist/MenuEditApp-CJUbJaqh.js +492 -0
  27. package/dist/MenuEditMenuBar-CCOSPAUe.cjs +1 -0
  28. package/dist/{MenuEditMenuBar-B94z4Umw.js → MenuEditMenuBar-DnCL-kaZ.js} +13 -12
  29. package/dist/NotesApp-BmQIBtJ2.cjs +1 -0
  30. package/dist/NotesApp-DJ2dGt4-.js +364 -0
  31. package/dist/NotesMenuBar-BzojwMtH.cjs +1 -0
  32. package/dist/{NotesMenuBar-BB4NkKGf.js → NotesMenuBar-DILZTjnT.js} +10 -9
  33. package/dist/PdfApp-IjY_GtnW.js +39 -0
  34. package/dist/PdfApp-krW8UI97.cjs +1 -0
  35. package/dist/PdfMenuBar-Bd5MTZcZ.js +39 -0
  36. package/dist/PdfMenuBar-DWD0Qa3F.cjs +1 -0
  37. package/dist/SettingsApp-BE22l5UP.cjs +1 -0
  38. package/dist/SettingsApp-BTFtTFY_.js +1228 -0
  39. package/dist/SettingsMenuBar-CZE2evG2.cjs +1 -0
  40. package/dist/SettingsMenuBar-ktC0viTd.js +42 -0
  41. package/dist/UploaderApp-Bboc4KZ1.js +263 -0
  42. package/dist/UploaderApp-Dr1mF7oj.cjs +1 -0
  43. package/dist/{VscIcon-DueRJVTe.js → VscIcon-AEENjKOE.js} +1 -1
  44. package/dist/VscIcon-BYb_Soyy.cjs +1 -0
  45. package/dist/buildBreadcrumbs-Ccd8i11b.cjs +1 -0
  46. package/dist/buildBreadcrumbs-noWhu8os.js +45 -0
  47. package/dist/{desktopStore-B0R1-BeA.js → desktopStore-8cSZlj7s.js} +342 -549
  48. package/dist/desktopStore-C1jR6Fdb.cjs +1 -0
  49. package/dist/{imageViewerStore-CJMRXaQh.js → imageViewerStore-COrD02Zu.js} +1 -1
  50. package/dist/imageViewerStore-Dfylg59V.cjs +1 -0
  51. package/dist/index.cjs +1 -53
  52. package/dist/index.css +1 -1
  53. package/dist/index.d.ts +16 -6
  54. package/dist/index.js +3033 -7513
  55. package/dist/menuEditStore-CYwtfD6H.cjs +1 -0
  56. package/dist/{menuEditStore-C8S_EedM.js → menuEditStore-CxsgLiQu.js} +1 -1
  57. package/dist/notesStore-CrWTO6oB.cjs +1 -0
  58. package/dist/{notesStore-DKRgTTFn.js → notesStore-Dgah46U5.js} +1 -1
  59. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  60. package/dist/{settingsAppStore-KOeWRO6h.js → settingsAppStore-DHZhi6Rl.js} +1 -1
  61. package/dist/settingsAppStore-DuYZNeFf.cjs +1 -0
  62. package/dist/useAdaptiveDimensions-3Lz4X0Tc.cjs +1 -0
  63. package/dist/{useAdaptiveDimensions-CunsU0mn.js → useAdaptiveDimensions-DxNLJ7R5.js} +1 -1
  64. package/dist/{useCloseInterceptor-CuKAAFnj.js → useCloseInterceptor-CIxhOZx1.js} +12 -12
  65. package/dist/useCloseInterceptor-CdX-09Ib.cjs +1 -0
  66. package/dist/useDynamicIcon-CK6SjEv5.cjs +1 -0
  67. package/dist/{useDynamicIcon-GJg3vWsJ.js → useDynamicIcon-_wGeWu-b.js} +1 -1
  68. package/dist/useOpenApp-ChDhsL9h.cjs +1 -0
  69. package/dist/{useOpenApp-BVpSfNrG.js → useOpenApp-uguTLkyl.js} +51 -67
  70. package/dist/{useResolvedUrl-DFKXq598.js → useResolvedUrl-B6x4xy0x.js} +1 -2
  71. package/dist/useResolvedUrl-Bb39DpVy.cjs +1 -0
  72. package/package.json +3 -4
  73. package/dist/AccordionChevron-CJXAq5o5.js +0 -26
  74. package/dist/AccordionChevron-DBXp38Lm.cjs +0 -1
  75. package/dist/ActionIcon-C_SfdBfx.cjs +0 -1
  76. package/dist/ActionIcon-CtVbYlGY.js +0 -145
  77. package/dist/AppEmptyState-BTujnL_b.js +0 -4962
  78. package/dist/AppEmptyState-Dc4GaDfu.cjs +0 -1
  79. package/dist/AppIcon--qzR4sgf.cjs +0 -1
  80. package/dist/AppIcon-DCDuaU-t.js +0 -80
  81. package/dist/AppMenuBar-BiHbNg9V.cjs +0 -9
  82. package/dist/AppMenuBar-CHJy8OF0.js +0 -2639
  83. package/dist/Box-DRm8EabO.js +0 -1593
  84. package/dist/Box-D_64wv6n.cjs +0 -1
  85. package/dist/Button-D0FXpkur.cjs +0 -1
  86. package/dist/Button-k7SxX1Xl.js +0 -178
  87. package/dist/CalendarApp-C1HvuJoa.cjs +0 -1
  88. package/dist/CalendarApp-DBEQqsS_.js +0 -1721
  89. package/dist/Center-CyryG5zn.js +0 -25
  90. package/dist/Center-T4No_FAa.cjs +0 -1
  91. package/dist/CheckIcon-C3WjIR2i.js +0 -25
  92. package/dist/CheckIcon-CBMLR6Gc.cjs +0 -1
  93. package/dist/CodeServerApp-B3l5QPuG.cjs +0 -1
  94. package/dist/CodeServerApp-BpeALSaX.js +0 -2
  95. package/dist/CodeServerApp-CRjCngFv.cjs +0 -1
  96. package/dist/CodeServerApp-DY94cy1a.js +0 -149
  97. package/dist/ColorPicker-BL4UbKCV.cjs +0 -1
  98. package/dist/ColorPicker-DvRR-wlQ.js +0 -997
  99. package/dist/CreateItemApp-BU9wmjKM.cjs +0 -1
  100. package/dist/CreateItemApp-CtdH1K1g.js +0 -400
  101. package/dist/CreateItemApp-t9F-a6wD.cjs +0 -1
  102. package/dist/DeviceInfoApp-C306YvtZ.js +0 -223
  103. package/dist/DeviceInfoApp-Cdju_LIB.cjs +0 -1
  104. package/dist/DeviceInfoApp-CyB01v4D.cjs +0 -1
  105. package/dist/DownloadProgress-IRw1dzLX.cjs +0 -1
  106. package/dist/DownloadProgress-hdupSUBT.js +0 -174
  107. package/dist/FileIcon-BCpGMI5U.js +0 -88
  108. package/dist/FileIcon-BCrsxmtt.cjs +0 -1
  109. package/dist/FilePickerApp-DMGuvahM.js +0 -409
  110. package/dist/FilePickerApp-Eu0cr2Cm.cjs +0 -1
  111. package/dist/FilesApp-BQFVHkEn.js +0 -225
  112. package/dist/FilesApp-BZ_dzZnF.cjs +0 -1
  113. package/dist/FilesApp-SIWXFPXt.cjs +0 -1
  114. package/dist/Group-BzwlMeob.js +0 -48
  115. package/dist/Group-DhwePB84.cjs +0 -1
  116. package/dist/ImageViewerApp-BOz59TGc.cjs +0 -1
  117. package/dist/ImageViewerApp-BeqY6voE.cjs +0 -1
  118. package/dist/ImageViewerApp-DBAfJPSo.js +0 -2
  119. package/dist/ImageViewerMenuBar-Cb0Nr5-M.js +0 -2
  120. package/dist/ImageViewerMenuBar-CoEp0RxK.cjs +0 -1
  121. package/dist/ImageViewerMenuBar-zOkJtqKo.cjs +0 -1
  122. package/dist/MenuEditApp-BoKtj2GH.js +0 -2
  123. package/dist/MenuEditApp-D21sEp86.js +0 -2615
  124. package/dist/MenuEditApp-k3cPfTG9.cjs +0 -1
  125. package/dist/MenuEditApp-sz9GlLVH.cjs +0 -5
  126. package/dist/MenuEditMenuBar-6QxlIDpl.cjs +0 -1
  127. package/dist/MenuEditMenuBar-Bv6R42lf.js +0 -2
  128. package/dist/MenuEditMenuBar-CBsmH_-T.cjs +0 -1
  129. package/dist/NotesApp-BtR55Hva.cjs +0 -207
  130. package/dist/NotesApp-C59exz_9.js +0 -16154
  131. package/dist/NotesApp-D47I5LS_.js +0 -2
  132. package/dist/NotesApp-lOwsi2sg.cjs +0 -1
  133. package/dist/NotesMenuBar-BZITC74y.cjs +0 -1
  134. package/dist/NotesMenuBar-Bp0sPqyR.cjs +0 -1
  135. package/dist/NotesMenuBar-xlfODmMA.js +0 -2
  136. package/dist/Paper-DtUYKmYn.js +0 -30
  137. package/dist/Paper-DwCpwWwH.cjs +0 -1
  138. package/dist/PdfApp-1XbFGfoY.cjs +0 -1
  139. package/dist/PdfApp-BhIoJWeK.cjs +0 -1
  140. package/dist/PdfApp-C5Rt1Zaw.js +0 -2
  141. package/dist/PdfApp-C8Hwxxqh.js +0 -38
  142. package/dist/PdfMenuBar-BA9rKuMP.cjs +0 -1
  143. package/dist/PdfMenuBar-JXHqwxhZ.cjs +0 -1
  144. package/dist/PdfMenuBar-R0fu7oYF.js +0 -2
  145. package/dist/PdfMenuBar-sd-9Vk3h.js +0 -38
  146. package/dist/SettingsApp-7EhpjzUE.cjs +0 -1
  147. package/dist/SettingsApp-ByiPAj1I.cjs +0 -1
  148. package/dist/SettingsApp-d6fmBHxR.js +0 -1829
  149. package/dist/SettingsApp-qKJmC0lj.js +0 -2
  150. package/dist/SettingsMenuBar-BPwv8JQK.js +0 -41
  151. package/dist/SettingsMenuBar-D8R7hOik.js +0 -2
  152. package/dist/SettingsMenuBar-DDrjZLmg.cjs +0 -1
  153. package/dist/SettingsMenuBar-DQjUa8g1.cjs +0 -1
  154. package/dist/Slider-BNO-vDFn.js +0 -1175
  155. package/dist/Slider-Bg_EIBg6.cjs +0 -1
  156. package/dist/Stack-BOaJgV3N.cjs +0 -1
  157. package/dist/Stack-CuDEaP7e.js +0 -34
  158. package/dist/StorybookApp-Bkr-7mXp.cjs +0 -1
  159. package/dist/StorybookApp-WYninkJo.js +0 -10
  160. package/dist/TerminalApp-8XbsKAWa.js +0 -10041
  161. package/dist/TerminalApp-Bq2e7QQu.cjs +0 -1
  162. package/dist/TerminalApp-CVu3Axc9.js +0 -2
  163. package/dist/TerminalApp-b7_d0jRO.cjs +0 -36
  164. package/dist/TerminalMenuBar-Cb8x9laS.js +0 -2
  165. package/dist/TerminalMenuBar-De-FH5AE.cjs +0 -1
  166. package/dist/TerminalMenuBar-iKLydNda.js +0 -112
  167. package/dist/TerminalMenuBar-yOaWd-hn.cjs +0 -1
  168. package/dist/TextInput-C3qfxxWI.js +0 -980
  169. package/dist/TextInput-DcYns3hz.cjs +0 -1
  170. package/dist/Tooltip-CAOO-qdx.js +0 -3185
  171. package/dist/Tooltip-DDh_x-CB.cjs +0 -1
  172. package/dist/UnstyledButton-CI3kyRck.js +0 -25
  173. package/dist/UnstyledButton-Cl5RuIid.cjs +0 -1
  174. package/dist/UploaderApp-C76ydsd8.js +0 -487
  175. package/dist/UploaderApp-CHACW8Yr.js +0 -2
  176. package/dist/UploaderApp-Q_a3mBik.cjs +0 -1
  177. package/dist/UploaderApp-htj59ppo.cjs +0 -1
  178. package/dist/VscIcon-CxEmqD80.cjs +0 -1
  179. package/dist/chunk-BQCxAhux.js +0 -23
  180. package/dist/chunk-CiTBaPhY.cjs +0 -1
  181. package/dist/create-safe-context-95P-Bfg3.cjs +0 -1
  182. package/dist/create-safe-context-XT2cxc14.js +0 -12
  183. package/dist/desktopStore-Cox-Og1z.cjs +0 -1
  184. package/dist/fc-DejOsQyD.cjs +0 -1
  185. package/dist/fc-kd8WzIER.js +0 -20536
  186. package/dist/fc-xJ_v2ayq.cjs +0 -184
  187. package/dist/fi-BahYsbim.js +0 -9993
  188. package/dist/fi-BkhyTcZo.cjs +0 -1
  189. package/dist/getRuntime-BLXyQZBB.cjs +0 -1
  190. package/dist/getRuntime-CCRXVzJH.js +0 -63
  191. package/dist/iconBase-B4UCuSvv.cjs +0 -1
  192. package/dist/iconBase-D7iPes7B.js +0 -108
  193. package/dist/imageViewerStore-CH1qW6md.cjs +0 -1
  194. package/dist/is-element-BocgicRg.cjs +0 -1
  195. package/dist/is-element-Bu_JY8Qy.js +0 -7
  196. package/dist/menuEditStore-CU7IAg3L.cjs +0 -1
  197. package/dist/notesStore-zKmChTfF.cjs +0 -1
  198. package/dist/react-DYmzHD0X.js +0 -27
  199. package/dist/react-Dldg32sN.cjs +0 -1
  200. package/dist/settingsAppStore-BrlImdAH.cjs +0 -1
  201. package/dist/terminalStore-LWWjCvCe.js +0 -30
  202. package/dist/terminalStore-fZe5t7Ty.cjs +0 -1
  203. package/dist/use-merged-ref-BI9n1hUK.cjs +0 -1
  204. package/dist/use-merged-ref-BT8_u6vW.js +0 -25
  205. package/dist/use-resolved-styles-api-AVDygMKo.cjs +0 -1
  206. package/dist/use-resolved-styles-api-pEOi2wiK.js +0 -21
  207. package/dist/use-uncontrolled-A4hm9ATM.js +0 -23
  208. package/dist/use-uncontrolled-BPrfGv0W.cjs +0 -1
  209. package/dist/useAdaptiveDimensions-Btp0m5Pm.cjs +0 -1
  210. package/dist/useCloseInterceptor-a_6Lcuqj.cjs +0 -1
  211. package/dist/useDynamicIcon-SytdL1Tu.cjs +0 -1
  212. package/dist/useOpenApp-Br0jo4-y.cjs +0 -1
  213. package/dist/useResolvedUrl-Be5ZlCX7.cjs +0 -1
  214. package/dist/useTranslation-DMRGdqZi.js +0 -279
  215. package/dist/useTranslation-D_O7S4RJ.cjs +0 -1
  216. package/dist/vsc-Ciibqbxo.cjs +0 -1
  217. package/dist/vsc-DGKSpOAR.js +0 -9574
  218. /package/dist/{Colors-BxX4G8kX.cjs → Colors-CNJbU7oq.cjs} +0 -0
  219. /package/dist/{Colors-hca6raEG.js → Colors-CuABn2W4.js} +0 -0
  220. /package/dist/{useMenuBarUtils-ChmpZjwu.js → useMenuBarUtils-ChAfI7OA.js} +0 -0
  221. /package/dist/{useMenuBarUtils-Bp5PiztD.cjs → useMenuBarUtils-DAap0ukp.cjs} +0 -0
@@ -1,980 +0,0 @@
1
- import { D as e, L as t, N as n, O as r, c as i, d as a, h as o, j as s, k as c, l, n as u, o as d, r as f, t as p, x as m } from "./Box-DRm8EabO.js";
2
- import { t as h } from "./use-resolved-styles-api-pEOi2wiK.js";
3
- import { t as g } from "./UnstyledButton-CI3kyRck.js";
4
- import { Activity as _, Fragment as v, createContext as y, createElement as b, use as x, useEffect as S, useId as C, useLayoutEffect as w, useRef as T, useState as E } from "react";
5
- import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
6
- import ee from "react-dom";
7
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/utils/random-id/random-id.mjs
8
- function A(e = "mantine-") {
9
- return `${e}${Math.random().toString(36).slice(2, 11)}`;
10
- }
11
- //#endregion
12
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-media-query/use-media-query.mjs
13
- function te(e, t) {
14
- return typeof t == "boolean" ? t : typeof window < "u" && "matchMedia" in window ? window.matchMedia(e).matches : !1;
15
- }
16
- function ne(e, t, { getInitialValueInEffect: n } = { getInitialValueInEffect: !0 }) {
17
- let [r, i] = E(n ? t : te(e));
18
- return S(() => {
19
- try {
20
- if ("matchMedia" in window) {
21
- let t = window.matchMedia(e);
22
- i(t.matches);
23
- let n = (e) => i(e.matches);
24
- return t.addEventListener("change", n), () => {
25
- t.removeEventListener("change", n);
26
- };
27
- }
28
- } catch {
29
- return;
30
- }
31
- }, [e]), r || !1;
32
- }
33
- //#endregion
34
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-isomorphic-effect/use-isomorphic-effect.mjs
35
- var j = typeof document < "u" ? w : S;
36
- //#endregion
37
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-did-update/use-did-update.mjs
38
- function M(e, t) {
39
- let n = T(!1);
40
- S(() => () => {
41
- n.current = !1;
42
- }, []), S(() => {
43
- if (n.current) return e();
44
- n.current = !0;
45
- }, t);
46
- }
47
- //#endregion
48
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-id/use-id.mjs
49
- function re(e) {
50
- let [t, n] = E(`mantine-${C().replace(/:/g, "")}`);
51
- return j(() => {
52
- n(A());
53
- }, []), typeof e == "string" ? e : t;
54
- }
55
- //#endregion
56
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-reduced-motion/use-reduced-motion.mjs
57
- function N(e, t) {
58
- return ne("(prefers-reduced-motion: reduce)", e, t);
59
- }
60
- //#endregion
61
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Transition/transitions.mjs
62
- var P = (e) => ({
63
- in: {
64
- opacity: 1,
65
- transform: "scale(1)"
66
- },
67
- out: {
68
- opacity: 0,
69
- transform: `scale(.9) translateY(${e === "bottom" ? 10 : -10}px)`
70
- },
71
- transitionProperty: "transform, opacity"
72
- }), F = {
73
- fade: {
74
- in: { opacity: 1 },
75
- out: { opacity: 0 },
76
- transitionProperty: "opacity"
77
- },
78
- "fade-up": {
79
- in: {
80
- opacity: 1,
81
- transform: "translateY(0)"
82
- },
83
- out: {
84
- opacity: 0,
85
- transform: "translateY(30px)"
86
- },
87
- transitionProperty: "opacity, transform"
88
- },
89
- "fade-down": {
90
- in: {
91
- opacity: 1,
92
- transform: "translateY(0)"
93
- },
94
- out: {
95
- opacity: 0,
96
- transform: "translateY(-30px)"
97
- },
98
- transitionProperty: "opacity, transform"
99
- },
100
- "fade-left": {
101
- in: {
102
- opacity: 1,
103
- transform: "translateX(0)"
104
- },
105
- out: {
106
- opacity: 0,
107
- transform: "translateX(30px)"
108
- },
109
- transitionProperty: "opacity, transform"
110
- },
111
- "fade-right": {
112
- in: {
113
- opacity: 1,
114
- transform: "translateX(0)"
115
- },
116
- out: {
117
- opacity: 0,
118
- transform: "translateX(-30px)"
119
- },
120
- transitionProperty: "opacity, transform"
121
- },
122
- scale: {
123
- in: {
124
- opacity: 1,
125
- transform: "scale(1)"
126
- },
127
- out: {
128
- opacity: 0,
129
- transform: "scale(0)"
130
- },
131
- common: { transformOrigin: "top" },
132
- transitionProperty: "transform, opacity"
133
- },
134
- "scale-y": {
135
- in: {
136
- opacity: 1,
137
- transform: "scaleY(1)"
138
- },
139
- out: {
140
- opacity: 0,
141
- transform: "scaleY(0)"
142
- },
143
- common: { transformOrigin: "top" },
144
- transitionProperty: "transform, opacity"
145
- },
146
- "scale-x": {
147
- in: {
148
- opacity: 1,
149
- transform: "scaleX(1)"
150
- },
151
- out: {
152
- opacity: 0,
153
- transform: "scaleX(0)"
154
- },
155
- common: { transformOrigin: "left" },
156
- transitionProperty: "transform, opacity"
157
- },
158
- "skew-up": {
159
- in: {
160
- opacity: 1,
161
- transform: "translateY(0) skew(0deg, 0deg)"
162
- },
163
- out: {
164
- opacity: 0,
165
- transform: "translateY(-20px) skew(-10deg, -5deg)"
166
- },
167
- common: { transformOrigin: "top" },
168
- transitionProperty: "transform, opacity"
169
- },
170
- "skew-down": {
171
- in: {
172
- opacity: 1,
173
- transform: "translateY(0) skew(0deg, 0deg)"
174
- },
175
- out: {
176
- opacity: 0,
177
- transform: "translateY(20px) skew(-10deg, -5deg)"
178
- },
179
- common: { transformOrigin: "bottom" },
180
- transitionProperty: "transform, opacity"
181
- },
182
- "rotate-left": {
183
- in: {
184
- opacity: 1,
185
- transform: "translateY(0) rotate(0deg)"
186
- },
187
- out: {
188
- opacity: 0,
189
- transform: "translateY(20px) rotate(-5deg)"
190
- },
191
- common: { transformOrigin: "bottom" },
192
- transitionProperty: "transform, opacity"
193
- },
194
- "rotate-right": {
195
- in: {
196
- opacity: 1,
197
- transform: "translateY(0) rotate(0deg)"
198
- },
199
- out: {
200
- opacity: 0,
201
- transform: "translateY(20px) rotate(5deg)"
202
- },
203
- common: { transformOrigin: "top" },
204
- transitionProperty: "transform, opacity"
205
- },
206
- "slide-down": {
207
- in: {
208
- opacity: 1,
209
- transform: "translateY(0)"
210
- },
211
- out: {
212
- opacity: 0,
213
- transform: "translateY(-100%)"
214
- },
215
- common: { transformOrigin: "top" },
216
- transitionProperty: "transform, opacity"
217
- },
218
- "slide-up": {
219
- in: {
220
- opacity: 1,
221
- transform: "translateY(0)"
222
- },
223
- out: {
224
- opacity: 0,
225
- transform: "translateY(100%)"
226
- },
227
- common: { transformOrigin: "bottom" },
228
- transitionProperty: "transform, opacity"
229
- },
230
- "slide-left": {
231
- in: {
232
- opacity: 1,
233
- transform: "translateX(0)"
234
- },
235
- out: {
236
- opacity: 0,
237
- transform: "translateX(100%)"
238
- },
239
- common: { transformOrigin: "left" },
240
- transitionProperty: "transform, opacity"
241
- },
242
- "slide-right": {
243
- in: {
244
- opacity: 1,
245
- transform: "translateX(0)"
246
- },
247
- out: {
248
- opacity: 0,
249
- transform: "translateX(-100%)"
250
- },
251
- common: { transformOrigin: "right" },
252
- transitionProperty: "transform, opacity"
253
- },
254
- pop: {
255
- ...P("bottom"),
256
- common: { transformOrigin: "center center" }
257
- },
258
- "pop-bottom-left": {
259
- ...P("bottom"),
260
- common: { transformOrigin: "bottom left" }
261
- },
262
- "pop-bottom-right": {
263
- ...P("bottom"),
264
- common: { transformOrigin: "bottom right" }
265
- },
266
- "pop-top-left": {
267
- ...P("top"),
268
- common: { transformOrigin: "top left" }
269
- },
270
- "pop-top-right": {
271
- ...P("top"),
272
- common: { transformOrigin: "top right" }
273
- }
274
- }, I = {
275
- entering: "in",
276
- entered: "in",
277
- exiting: "out",
278
- exited: "out",
279
- "pre-exiting": "out",
280
- "pre-entering": "out"
281
- };
282
- function L({ transition: e, state: t, duration: n, timingFunction: r }) {
283
- let i = {
284
- WebkitBackfaceVisibility: "hidden",
285
- transitionDuration: `${n}ms`,
286
- transitionTimingFunction: r
287
- };
288
- return typeof e == "string" ? e in F ? {
289
- transitionProperty: F[e].transitionProperty,
290
- ...i,
291
- ...F[e].common,
292
- ...F[e][I[t]]
293
- } : {} : {
294
- transitionProperty: e.transitionProperty,
295
- ...i,
296
- ...e.common,
297
- ...e[I[t]]
298
- };
299
- }
300
- //#endregion
301
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Transition/use-transition.mjs
302
- function R({ duration: e, exitDuration: t, timingFunction: n, mounted: r, onEnter: i, onExit: o, onEntered: s, onExited: c, enterDelay: l, exitDelay: u }) {
303
- let d = a(), f = N(), p = d.respectReducedMotion ? f : !1, [m, h] = E(p ? 0 : e), [g, _] = E(r ? "entered" : "exited"), v = T(-1), y = T(-1), b = T(-1);
304
- function x() {
305
- window.clearTimeout(v.current), window.clearTimeout(y.current), cancelAnimationFrame(b.current);
306
- }
307
- let C = (n) => {
308
- x();
309
- let r = n ? i : o, a = n ? s : c, l = p ? 0 : n ? e : t;
310
- h(l), l === 0 ? (typeof r == "function" && r(), typeof a == "function" && a(), _(n ? "entered" : "exited")) : b.current = requestAnimationFrame(() => {
311
- ee.flushSync(() => {
312
- _(n ? "pre-entering" : "pre-exiting");
313
- }), b.current = requestAnimationFrame(() => {
314
- typeof r == "function" && r(), _(n ? "entering" : "exiting"), v.current = window.setTimeout(() => {
315
- typeof a == "function" && a(), _(n ? "entered" : "exited");
316
- }, l);
317
- });
318
- });
319
- }, w = (e) => {
320
- if (x(), typeof (e ? l : u) != "number") {
321
- C(e);
322
- return;
323
- }
324
- y.current = window.setTimeout(() => {
325
- C(e);
326
- }, e ? l : u);
327
- };
328
- return M(() => {
329
- w(r);
330
- }, [r]), S(() => () => {
331
- x();
332
- }, []), {
333
- transitionDuration: m,
334
- transitionStatus: g,
335
- transitionTimingFunction: n || "ease"
336
- };
337
- }
338
- //#endregion
339
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Transition/Transition.mjs
340
- function z({ keepMounted: e, transition: t = "fade", duration: n = 250, exitDuration: r = n, mounted: i, children: a, timingFunction: s = "ease", onExit: c, onEntered: l, onEnter: u, onExited: d, enterDelay: f, exitDelay: p }) {
341
- let m = o(), { transitionDuration: h, transitionStatus: g, transitionTimingFunction: v } = R({
342
- mounted: i,
343
- exitDuration: r,
344
- duration: n,
345
- timingFunction: s,
346
- onExit: c,
347
- onEntered: l,
348
- onEnter: u,
349
- onExited: d,
350
- enterDelay: f,
351
- exitDelay: p
352
- });
353
- if (m === "test") return i ? /* @__PURE__ */ O(D, { children: a({}) }) : e ? a({ display: "none" }) : null;
354
- if (h === 0) return e ? /* @__PURE__ */ O(_, {
355
- mode: i ? "visible" : "hidden",
356
- children: a({})
357
- }) : i ? /* @__PURE__ */ O(D, { children: a({}) }) : null;
358
- let y = g === "exited";
359
- return e ? /* @__PURE__ */ O(_, {
360
- mode: y ? "hidden" : "visible",
361
- children: a(y ? {} : L({
362
- transition: t,
363
- duration: h,
364
- state: g,
365
- timingFunction: v
366
- }))
367
- }) : y ? null : /* @__PURE__ */ O(D, { children: a(L({
368
- transition: t,
369
- duration: h,
370
- state: g,
371
- timingFunction: v
372
- })) });
373
- }
374
- z.displayName = "@mantine/core/Transition";
375
- //#endregion
376
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Loader/Loader.module.mjs
377
- var B = {
378
- root: "m_5ae2e3c",
379
- barsLoader: "m_7a2bd4cd",
380
- bar: "m_870bb79",
381
- "bars-loader-animation": "m_5d2b3b9d",
382
- dotsLoader: "m_4e3f22d7",
383
- dot: "m_870c4af",
384
- "loader-dots-animation": "m_aac34a1",
385
- ovalLoader: "m_b34414df",
386
- "oval-loader-animation": "m_f8e89c4b"
387
- }, V = ({ className: t, ...n }) => /* @__PURE__ */ k(p, {
388
- component: "span",
389
- className: e(B.barsLoader, t),
390
- ...n,
391
- children: [
392
- /* @__PURE__ */ O("span", { className: B.bar }),
393
- /* @__PURE__ */ O("span", { className: B.bar }),
394
- /* @__PURE__ */ O("span", { className: B.bar })
395
- ]
396
- });
397
- V.displayName = "@mantine/core/Bars";
398
- //#endregion
399
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Loader/loaders/Dots.mjs
400
- var H = ({ className: t, ...n }) => /* @__PURE__ */ k(p, {
401
- component: "span",
402
- className: e(B.dotsLoader, t),
403
- ...n,
404
- children: [
405
- /* @__PURE__ */ O("span", { className: B.dot }),
406
- /* @__PURE__ */ O("span", { className: B.dot }),
407
- /* @__PURE__ */ O("span", { className: B.dot })
408
- ]
409
- });
410
- H.displayName = "@mantine/core/Dots";
411
- //#endregion
412
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Loader/loaders/Oval.mjs
413
- var ie = ({ className: t, ...n }) => /* @__PURE__ */ O(p, {
414
- component: "span",
415
- className: e(B.ovalLoader, t),
416
- ...n
417
- });
418
- ie.displayName = "@mantine/core/Oval";
419
- //#endregion
420
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Loader/Loader.mjs
421
- var ae = {
422
- bars: V,
423
- oval: ie,
424
- dots: H
425
- }, U = {
426
- loaders: ae,
427
- type: "oval"
428
- }, oe = r((e, { size: t, color: r }) => ({ root: {
429
- "--loader-size": n(t, "loader-size"),
430
- "--loader-color": r ? m(r, e) : void 0
431
- } })), W = f((e) => {
432
- let t = l("Loader", U, e), { size: n, color: r, type: a, vars: o, className: s, style: c, classNames: u, styles: d, unstyled: f, loaders: m, variant: h, children: g, attributes: _, ...v } = t, y = i({
433
- name: "Loader",
434
- props: t,
435
- classes: B,
436
- className: s,
437
- style: c,
438
- classNames: u,
439
- styles: d,
440
- unstyled: f,
441
- attributes: _,
442
- vars: o,
443
- varsResolver: oe
444
- });
445
- return g ? /* @__PURE__ */ O(p, {
446
- ...y("root"),
447
- ...v,
448
- children: g
449
- }) : /* @__PURE__ */ O(p, {
450
- ...y("root"),
451
- component: m[a],
452
- variant: h,
453
- size: n,
454
- ...v
455
- });
456
- });
457
- W.defaultLoaders = ae, W.classes = B, W.varsResolver = oe, W.displayName = "@mantine/core/Loader";
458
- //#endregion
459
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/CloseButton/CloseIcon.mjs
460
- function G({ size: e = "var(--cb-icon-size, 70%)", style: t, ...n }) {
461
- return /* @__PURE__ */ O("svg", {
462
- viewBox: "0 0 15 15",
463
- fill: "none",
464
- xmlns: "http://www.w3.org/2000/svg",
465
- style: {
466
- ...t,
467
- width: e,
468
- height: e
469
- },
470
- ...n,
471
- children: /* @__PURE__ */ O("path", {
472
- d: "M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",
473
- fill: "currentColor",
474
- fillRule: "evenodd",
475
- clipRule: "evenodd"
476
- })
477
- });
478
- }
479
- G.displayName = "@mantine/core/CloseIcon";
480
- //#endregion
481
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.module.mjs
482
- var se = {
483
- root: "m_86a44da5",
484
- "root--subtle": "m_220c80f2"
485
- }, ce = { variant: "subtle" }, K = r((e, { size: r, radius: i, iconSize: a }) => ({ root: {
486
- "--cb-size": n(r, "cb-size"),
487
- "--cb-radius": i === void 0 ? void 0 : s(i),
488
- "--cb-icon-size": t(a)
489
- } })), q = u((e) => {
490
- let t = l("CloseButton", ce, e), { iconSize: n, children: r, vars: a, radius: o, className: s, classNames: c, style: u, styles: d, unstyled: f, "data-disabled": p, disabled: m, variant: h, icon: _, mod: v, attributes: y, __staticSelector: b, ...x } = t, S = i({
491
- name: b || "CloseButton",
492
- props: t,
493
- className: s,
494
- style: u,
495
- classes: se,
496
- classNames: c,
497
- styles: d,
498
- unstyled: f,
499
- attributes: y,
500
- vars: a,
501
- varsResolver: K
502
- });
503
- return /* @__PURE__ */ k(g, {
504
- ...x,
505
- unstyled: f,
506
- variant: h,
507
- disabled: m,
508
- mod: [{ disabled: m || p }, v],
509
- ...S("root", {
510
- variant: h,
511
- active: !m && !p
512
- }),
513
- children: [_ || /* @__PURE__ */ O(G, {}), r]
514
- });
515
- });
516
- q.classes = se, q.varsResolver = K, q.displayName = "@mantine/core/CloseButton";
517
- //#endregion
518
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/Input.context.mjs
519
- var le = y({ size: "sm" }), ue = f((e) => {
520
- let t = l("InputClearButton", null, e), { size: n, variant: r, vars: i, classNames: a, styles: o, ...s } = t, c = x(le), { resolvedClassNames: u, resolvedStyles: d } = h({
521
- classNames: a,
522
- styles: o,
523
- props: t
524
- });
525
- return /* @__PURE__ */ O(q, {
526
- variant: r || "transparent",
527
- size: n || c?.size || "sm",
528
- classNames: u,
529
- styles: d,
530
- __staticSelector: "InputClearButton",
531
- style: {
532
- pointerEvents: "all",
533
- background: "var(--input-bg)",
534
- ...s.style
535
- },
536
- ...s
537
- });
538
- });
539
- ue.displayName = "@mantine/core/InputClearButton";
540
- //#endregion
541
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputClearSection/InputClearSection.mjs
542
- var de = {
543
- xs: 7,
544
- sm: 8,
545
- md: 10,
546
- lg: 12,
547
- xl: 15
548
- };
549
- function fe({ __clearable: e, __clearSection: t, rightSection: n, __defaultRightSection: r, size: i = "sm", __clearSectionMode: a = "both" }) {
550
- let o = e && t;
551
- return a === "rightSection" ? n === null ? null : n || r : a === "clear" ? n === null ? null : o || r : o && (n || r) ? /* @__PURE__ */ k("div", {
552
- "data-combined-clear-section": !0,
553
- style: {
554
- display: "flex",
555
- gap: 2,
556
- alignItems: "center",
557
- paddingInlineEnd: de[i]
558
- },
559
- children: [o, n || r]
560
- }) : n === null ? null : n || o || r;
561
- }
562
- //#endregion
563
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputWrapper.context.mjs
564
- var J = y({
565
- offsetBottom: !1,
566
- offsetTop: !1,
567
- describedBy: void 0,
568
- getStyles: null,
569
- inputId: void 0,
570
- labelId: void 0
571
- }), Y = {
572
- wrapper: "m_6c018570",
573
- input: "m_8fb7ebe7",
574
- section: "m_82577fc2",
575
- placeholder: "m_88bacfd0",
576
- root: "m_46b77525",
577
- label: "m_8fdc1311",
578
- required: "m_78a94662",
579
- error: "m_8f816625",
580
- description: "m_fe47ce59"
581
- }, pe = r((e, { size: n }) => ({ description: { "--input-description-size": n === void 0 ? void 0 : `calc(${c(n)} - ${t(2)})` } })), X = f((e) => {
582
- let t = l("InputDescription", null, e), { classNames: n, className: r, style: a, styles: o, unstyled: s, vars: c, __staticSelector: u, __inheritStyles: d = !0, attributes: f, ...m } = l("InputDescription", null, t), h = x(J), g = i({
583
- name: ["InputWrapper", u],
584
- props: t,
585
- classes: Y,
586
- className: r,
587
- style: a,
588
- classNames: n,
589
- styles: o,
590
- unstyled: s,
591
- attributes: f,
592
- rootSelector: "description",
593
- vars: c,
594
- varsResolver: pe
595
- });
596
- return /* @__PURE__ */ O(p, {
597
- component: "p",
598
- ...(d && h?.getStyles || g)("description", h?.getStyles ? {
599
- className: r,
600
- style: a
601
- } : void 0),
602
- ...m
603
- });
604
- });
605
- X.classes = Y, X.varsResolver = pe, X.displayName = "@mantine/core/InputDescription";
606
- //#endregion
607
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputError/InputError.mjs
608
- var me = r((e, { size: n }) => ({ error: { "--input-error-size": n === void 0 ? void 0 : `calc(${c(n)} - ${t(2)})` } })), Z = f((e) => {
609
- let t = l("InputError", null, e), { classNames: n, className: r, style: a, styles: o, unstyled: s, vars: c, attributes: u, __staticSelector: d, __inheritStyles: f = !0, ...m } = t, h = i({
610
- name: ["InputWrapper", d],
611
- props: t,
612
- classes: Y,
613
- className: r,
614
- style: a,
615
- classNames: n,
616
- styles: o,
617
- unstyled: s,
618
- attributes: u,
619
- rootSelector: "error",
620
- vars: c,
621
- varsResolver: me
622
- }), g = x(J);
623
- return /* @__PURE__ */ O(p, {
624
- component: "p",
625
- ...(f && g?.getStyles || h)("error", g?.getStyles ? {
626
- className: r,
627
- style: a
628
- } : void 0),
629
- ...m
630
- });
631
- });
632
- Z.classes = Y, Z.varsResolver = me, Z.displayName = "@mantine/core/InputError";
633
- //#endregion
634
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputLabel/InputLabel.mjs
635
- var he = { labelElement: "label" }, ge = r((e, { size: t }) => ({ label: {
636
- "--input-label-size": c(t),
637
- "--input-asterisk-color": void 0
638
- } })), Q = f((e) => {
639
- let t = l("InputLabel", he, e), { classNames: n, className: r, style: a, styles: o, unstyled: s, vars: c, labelElement: u, required: d, htmlFor: f, onMouseDown: m, children: h, __staticSelector: g, mod: _, attributes: v, ...y } = t, b = i({
640
- name: ["InputWrapper", g],
641
- props: t,
642
- classes: Y,
643
- className: r,
644
- style: a,
645
- classNames: n,
646
- styles: o,
647
- unstyled: s,
648
- attributes: v,
649
- rootSelector: "label",
650
- vars: c,
651
- varsResolver: ge
652
- }), S = x(J), C = S?.getStyles || b;
653
- return /* @__PURE__ */ k(p, {
654
- ...C("label", S?.getStyles ? {
655
- className: r,
656
- style: a
657
- } : void 0),
658
- component: u,
659
- htmlFor: u === "label" ? f : void 0,
660
- mod: [{ required: d }, _],
661
- onMouseDown: (e) => {
662
- m?.(e), !e.defaultPrevented && e.detail > 1 && e.preventDefault();
663
- },
664
- ...y,
665
- children: [h, d && /* @__PURE__ */ O("span", {
666
- ...C("required"),
667
- "aria-hidden": !0,
668
- children: " *"
669
- })]
670
- });
671
- });
672
- Q.classes = Y, Q.varsResolver = ge, Q.displayName = "@mantine/core/InputLabel";
673
- //#endregion
674
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputPlaceholder/InputPlaceholder.mjs
675
- var _e = f((e) => {
676
- let t = l("InputPlaceholder", null, e), { classNames: n, className: r, style: a, styles: o, unstyled: s, vars: c, __staticSelector: u, error: d, mod: f, attributes: m, ...h } = t;
677
- return /* @__PURE__ */ O(p, {
678
- ...i({
679
- name: ["InputPlaceholder", u],
680
- props: t,
681
- classes: Y,
682
- className: r,
683
- style: a,
684
- classNames: n,
685
- styles: o,
686
- unstyled: s,
687
- attributes: m,
688
- rootSelector: "placeholder"
689
- })("placeholder"),
690
- mod: [{ error: !!d }, f],
691
- component: "span",
692
- ...h
693
- });
694
- });
695
- _e.classes = Y, _e.displayName = "@mantine/core/InputPlaceholder";
696
- //#endregion
697
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputWrapper/get-input-offsets/get-input-offsets.mjs
698
- function ve(e, { hasDescription: t, hasError: n }) {
699
- let r = e.findIndex((e) => e === "input"), i = e.slice(0, r), a = e.slice(r + 1), o = t && i.includes("description") || n && i.includes("error");
700
- return {
701
- offsetBottom: t && a.includes("description") || n && a.includes("error"),
702
- offsetTop: o
703
- };
704
- }
705
- //#endregion
706
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputWrapper/InputWrapper.mjs
707
- var ye = {
708
- labelElement: "label",
709
- inputContainer: (e) => e,
710
- inputWrapperOrder: [
711
- "label",
712
- "description",
713
- "input",
714
- "error"
715
- ]
716
- }, be = r((e, { size: n }) => ({
717
- label: {
718
- "--input-label-size": c(n),
719
- "--input-asterisk-color": void 0
720
- },
721
- error: { "--input-error-size": n === void 0 ? void 0 : `calc(${c(n)} - ${t(2)})` },
722
- description: { "--input-description-size": n === void 0 ? void 0 : `calc(${c(n)} - ${t(2)})` }
723
- })), xe = f((e) => {
724
- let t = l("InputWrapper", ye, e), { classNames: n, className: r, style: a, styles: o, unstyled: s, vars: c, size: u, variant: d, __staticSelector: f, inputContainer: m, inputWrapperOrder: h, label: g, error: _, description: y, labelProps: x, descriptionProps: S, errorProps: C, labelElement: w, children: T, withAsterisk: E, id: D, required: k, __stylesApiProps: ee, mod: A, attributes: te, ...ne } = t, j = i({
725
- name: ["InputWrapper", f],
726
- props: ee || t,
727
- classes: Y,
728
- className: r,
729
- style: a,
730
- classNames: n,
731
- styles: o,
732
- unstyled: s,
733
- attributes: te,
734
- vars: c,
735
- varsResolver: be
736
- }), M = {
737
- size: u,
738
- variant: d,
739
- __staticSelector: f
740
- }, N = re(D), P = typeof E == "boolean" ? E : k, F = C?.id || `${N}-error`, I = S?.id || `${N}-description`, L = N, R = !!_ && typeof _ != "boolean", z = !!y, B = `${R ? F : ""} ${z ? I : ""}`, V = B.trim().length > 0 ? B.trim() : void 0, H = x?.id || `${N}-label`, ie = g && /* @__PURE__ */ O(Q, {
741
- labelElement: w,
742
- id: H,
743
- htmlFor: L,
744
- required: P,
745
- ...M,
746
- ...x,
747
- children: g
748
- }, "label"), ae = z && /* @__PURE__ */ O(X, {
749
- ...S,
750
- ...M,
751
- size: S?.size || M.size,
752
- id: S?.id || I,
753
- children: y
754
- }, "description"), U = /* @__PURE__ */ O(v, { children: m(T) }, "input"), oe = R && /* @__PURE__ */ b(Z, {
755
- ...C,
756
- ...M,
757
- size: C?.size || M.size,
758
- key: "error",
759
- id: C?.id || F
760
- }, _), W = h.map((e) => {
761
- switch (e) {
762
- case "label": return ie;
763
- case "input": return U;
764
- case "description": return ae;
765
- case "error": return oe;
766
- default: return null;
767
- }
768
- });
769
- return /* @__PURE__ */ O(J, {
770
- value: {
771
- getStyles: j,
772
- describedBy: V,
773
- inputId: L,
774
- labelId: H,
775
- ...ve(h, {
776
- hasDescription: z,
777
- hasError: R
778
- })
779
- },
780
- children: /* @__PURE__ */ O(p, {
781
- variant: d,
782
- size: u,
783
- mod: [{ error: !!_ }, A],
784
- id: w === "label" ? void 0 : D,
785
- ...j("root"),
786
- ...ne,
787
- children: W
788
- })
789
- });
790
- });
791
- xe.classes = Y, xe.varsResolver = be, xe.displayName = "@mantine/core/InputWrapper";
792
- //#endregion
793
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/Input.mjs
794
- var Se = {
795
- variant: "default",
796
- leftSectionPointerEvents: "none",
797
- rightSectionPointerEvents: "none",
798
- withAria: !0,
799
- withErrorStyles: !0,
800
- size: "sm",
801
- loading: !1,
802
- loadingPosition: "right"
803
- }, Ce = r((e, r, i) => ({ wrapper: {
804
- "--input-margin-top": i.offsetTop ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
805
- "--input-margin-bottom": i.offsetBottom ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
806
- "--input-height": n(r.size, "input-height"),
807
- "--input-fz": c(r.size),
808
- "--input-radius": r.radius === void 0 ? void 0 : s(r.radius),
809
- "--input-left-section-width": r.leftSectionWidth === void 0 ? void 0 : t(r.leftSectionWidth),
810
- "--input-right-section-width": r.rightSectionWidth === void 0 ? void 0 : t(r.rightSectionWidth),
811
- "--input-padding-y": r.multiline ? n(r.size, "input-padding-y") : void 0,
812
- "--input-left-section-pointer-events": r.leftSectionPointerEvents,
813
- "--input-right-section-pointer-events": r.rightSectionPointerEvents
814
- } })), $ = u((e) => {
815
- let t = l("Input", Se, e), { classNames: n, className: r, style: a, styles: o, unstyled: s, required: c, __staticSelector: u, __stylesApiProps: f, size: m, wrapperProps: h, error: g, disabled: _, leftSection: v, leftSectionProps: y, leftSectionWidth: b, rightSection: S, rightSectionProps: C, rightSectionWidth: w, rightSectionPointerEvents: T, leftSectionPointerEvents: E, variant: D, vars: ee, pointer: A, multiline: te, radius: ne, id: j, withAria: M, withErrorStyles: re, mod: N, inputSize: P, attributes: F, __clearSection: I, __clearable: L, __clearSectionMode: R, __defaultRightSection: z, loading: B, loadingPosition: V, ...H } = t, { styleProps: ie, rest: ae } = d(H), U = x(J), oe = {
816
- offsetBottom: U?.offsetBottom,
817
- offsetTop: U?.offsetTop
818
- }, G = i({
819
- name: ["Input", u],
820
- props: f || t,
821
- classes: Y,
822
- className: r,
823
- style: a,
824
- classNames: n,
825
- styles: o,
826
- unstyled: s,
827
- attributes: F,
828
- stylesCtx: oe,
829
- rootSelector: "wrapper",
830
- vars: ee,
831
- varsResolver: Ce
832
- }), se = M ? {
833
- required: c,
834
- disabled: _,
835
- "aria-invalid": !!g,
836
- "aria-describedby": U?.describedBy,
837
- id: U?.inputId || j
838
- } : {}, ce = B ? /* @__PURE__ */ O(W, { size: V === "left" ? "calc(var(--input-left-section-size) / 2)" : "calc(var(--input-right-section-size) / 2)" }) : null, K = B && V === "left" ? ce : v, q = fe({
839
- __clearable: L,
840
- __clearSection: I,
841
- rightSection: B && V === "right" ? ce : S,
842
- __defaultRightSection: z,
843
- size: m,
844
- __clearSectionMode: R
845
- });
846
- return /* @__PURE__ */ O(le, {
847
- value: { size: m || "sm" },
848
- children: /* @__PURE__ */ k(p, {
849
- ...G("wrapper"),
850
- ...ie,
851
- ...h,
852
- mod: [{
853
- error: !!g && re,
854
- pointer: A,
855
- disabled: _,
856
- multiline: te,
857
- "data-with-right-section": !!q,
858
- "data-with-left-section": !!K
859
- }, N],
860
- variant: D,
861
- size: m,
862
- children: [
863
- K && /* @__PURE__ */ O("div", {
864
- ...y,
865
- "data-position": "left",
866
- ...G("section", {
867
- className: y?.className,
868
- style: y?.style
869
- }),
870
- children: K
871
- }),
872
- /* @__PURE__ */ O(p, {
873
- component: "input",
874
- ...ae,
875
- ...se,
876
- required: c,
877
- mod: {
878
- disabled: _,
879
- error: !!g && re
880
- },
881
- variant: D,
882
- __size: P,
883
- ...G("input")
884
- }),
885
- q && /* @__PURE__ */ O("div", {
886
- ...C,
887
- "data-position": "right",
888
- ...G("section", {
889
- className: C?.className,
890
- style: C?.style
891
- }),
892
- children: q
893
- })
894
- ]
895
- })
896
- });
897
- });
898
- $.classes = Y, $.varsResolver = Ce, $.Wrapper = xe, $.Label = Q, $.Error = Z, $.Description = X, $.Placeholder = _e, $.ClearButton = ue, $.displayName = "@mantine/core/Input";
899
- //#endregion
900
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/use-input-props.mjs
901
- function we(e, t, n) {
902
- let r = l(e, t, n), { label: i, description: a, error: o, required: s, classNames: c, styles: u, className: f, unstyled: p, __staticSelector: m, __stylesApiProps: h, errorProps: g, labelProps: _, descriptionProps: v, wrapperProps: y, id: b, size: x, style: S, inputContainer: C, inputWrapperOrder: w, withAsterisk: T, variant: E, vars: D, mod: O, attributes: k, ...ee } = r, { styleProps: A, rest: te } = d(ee), ne = {
903
- label: i,
904
- description: a,
905
- error: o,
906
- required: s,
907
- classNames: c,
908
- className: f,
909
- __staticSelector: m,
910
- __stylesApiProps: h || r,
911
- errorProps: g,
912
- labelProps: _,
913
- descriptionProps: v,
914
- unstyled: p,
915
- styles: u,
916
- size: x,
917
- style: S,
918
- inputContainer: C,
919
- inputWrapperOrder: w,
920
- withAsterisk: T,
921
- variant: E,
922
- id: b,
923
- mod: O,
924
- attributes: k,
925
- ...y
926
- };
927
- return {
928
- ...te,
929
- classNames: c,
930
- styles: u,
931
- unstyled: p,
932
- wrapperProps: {
933
- ...ne,
934
- ...A
935
- },
936
- inputProps: {
937
- required: s,
938
- classNames: c,
939
- styles: u,
940
- unstyled: p,
941
- size: x,
942
- __staticSelector: m,
943
- __stylesApiProps: h || r,
944
- error: o,
945
- variant: E,
946
- id: b,
947
- attributes: k
948
- }
949
- };
950
- }
951
- //#endregion
952
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/InputBase/InputBase.mjs
953
- var Te = {
954
- __staticSelector: "InputBase",
955
- withAria: !0,
956
- size: "sm"
957
- }, Ee = u((e) => {
958
- let { inputProps: t, wrapperProps: n, ...r } = we("InputBase", Te, e);
959
- return /* @__PURE__ */ O($.Wrapper, {
960
- ...n,
961
- children: /* @__PURE__ */ O($, {
962
- ...t,
963
- ...r
964
- })
965
- });
966
- });
967
- Ee.classes = {
968
- ...$.classes,
969
- ...$.Wrapper.classes
970
- }, Ee.displayName = "@mantine/core/InputBase";
971
- //#endregion
972
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/TextInput/TextInput.mjs
973
- var De = f((e) => /* @__PURE__ */ O(Ee, {
974
- component: "input",
975
- ...l("TextInput", null, e),
976
- __staticSelector: "TextInput"
977
- }));
978
- De.classes = Ee.classes, De.displayName = "@mantine/core/TextInput";
979
- //#endregion
980
- export { J as a, z as c, M as d, j as f, $ as i, N as l, Ee as n, q as o, A as p, we as r, W as s, De as t, re as u };