@fde-desktop/fde-core 0.4.9 → 0.4.11

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 (186) hide show
  1. package/dist/{AppEmptyState-Bxpit0JV.js → AppEmptyState-Boej96TB.js} +1 -1
  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-BC4UPNuw.cjs +1 -0
  20. package/dist/FilesApp-D8MqvC5X.js +210 -0
  21. package/dist/ImageViewerApp-B1niWF75.cjs +1 -0
  22. package/dist/{ImageViewerApp-BaLP3gkO.js → ImageViewerApp-iojtyFEf.js} +5 -5
  23. package/dist/{ImageViewerMenuBar-CabGSi9r.js → ImageViewerMenuBar-BIsUokxV.js} +2 -2
  24. package/dist/ImageViewerMenuBar-BgzgSF3v.cjs +1 -0
  25. package/dist/MenuEditApp-BHptoJbz.cjs +1 -0
  26. package/dist/{MenuEditApp-BTRppYnD.js → MenuEditApp-CJUbJaqh.js} +138 -143
  27. package/dist/MenuEditMenuBar-CCOSPAUe.cjs +1 -0
  28. package/dist/{MenuEditMenuBar-x1IQrHP2.js → MenuEditMenuBar-DnCL-kaZ.js} +3 -3
  29. package/dist/NotesApp-BmQIBtJ2.cjs +1 -0
  30. package/dist/{NotesApp-CQe7UfBC.js → NotesApp-DJ2dGt4-.js} +5 -5
  31. package/dist/NotesMenuBar-BzojwMtH.cjs +1 -0
  32. package/dist/{NotesMenuBar-VhpIe68v.js → NotesMenuBar-DILZTjnT.js} +3 -3
  33. package/dist/{PdfApp-DL_R9-Nc.js → PdfApp-IjY_GtnW.js} +3 -3
  34. package/dist/PdfApp-krW8UI97.cjs +1 -0
  35. package/dist/{PdfMenuBar-DZCLSOpR.js → PdfMenuBar-Bd5MTZcZ.js} +1 -1
  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-YWiJHaxq.js → SettingsMenuBar-ktC0viTd.js} +3 -3
  41. package/dist/UploaderApp-CbypD538.js +263 -0
  42. package/dist/UploaderApp-D_qD3O70.cjs +1 -0
  43. package/dist/{VscIcon-DBfVnArE.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-F8bgLqFl.js → desktopStore-8cSZlj7s.js} +407 -477
  48. package/dist/desktopStore-C1jR6Fdb.cjs +1 -0
  49. package/dist/imageViewerStore-Dfylg59V.cjs +1 -0
  50. package/dist/index.cjs +1 -1
  51. package/dist/index.css +1 -1
  52. package/dist/index.d.ts +16 -6
  53. package/dist/index.js +1646 -1960
  54. package/dist/menuEditStore-CYwtfD6H.cjs +1 -0
  55. package/dist/notesStore-CrWTO6oB.cjs +1 -0
  56. package/dist/settingsAppStore-DuYZNeFf.cjs +1 -0
  57. package/dist/useAdaptiveDimensions-3Lz4X0Tc.cjs +1 -0
  58. package/dist/{useAdaptiveDimensions-AVDc_qPa.js → useAdaptiveDimensions-DxNLJ7R5.js} +1 -1
  59. package/dist/{useCloseInterceptor-BZd3VILp.js → useCloseInterceptor-CIxhOZx1.js} +1 -1
  60. package/dist/useCloseInterceptor-CdX-09Ib.cjs +1 -0
  61. package/dist/useDynamicIcon-CK6SjEv5.cjs +1 -0
  62. package/dist/useOpenApp-D-FOY88T.cjs +1 -0
  63. package/dist/{useOpenApp-CBIm7Gzl.js → useOpenApp-DkZLFFCH.js} +51 -67
  64. package/dist/{useResolvedUrl-DQpLqOoL.js → useResolvedUrl-B6x4xy0x.js} +1 -2
  65. package/dist/useResolvedUrl-Bb39DpVy.cjs +1 -0
  66. package/package.json +2 -1
  67. package/dist/AccordionChevron-DxpOyInK.js +0 -26
  68. package/dist/AccordionChevron-kn5kSrEc.cjs +0 -1
  69. package/dist/ActionIcon-Drh4p6Fv.js +0 -145
  70. package/dist/ActionIcon-alk2zZD6.cjs +0 -1
  71. package/dist/AppEmptyState-BWCUbf-B.cjs +0 -1
  72. package/dist/AppIcon-BU7a3ZNH.cjs +0 -1
  73. package/dist/AppIcon-XumS3bIG.js +0 -80
  74. package/dist/AppMenuBar-B9U0n1Vv.cjs +0 -1
  75. package/dist/AppMenuBar-CnIEVjr8.js +0 -2049
  76. package/dist/Box-DSKR_qaa.js +0 -1579
  77. package/dist/Box-zW6Twge8.cjs +0 -1
  78. package/dist/Button-DMlnrqyx.cjs +0 -1
  79. package/dist/Button-wTOTQKxF.js +0 -178
  80. package/dist/CalendarApp-B_e1B1Yn.cjs +0 -1
  81. package/dist/CalendarApp-C-l9D6nd.cjs +0 -1
  82. package/dist/CalendarApp-D0ftTCTG.js +0 -1399
  83. package/dist/Center-CmxXB9ql.js +0 -25
  84. package/dist/Center-DKUE2pER.cjs +0 -1
  85. package/dist/CheckIcon-CZhtJD1O.cjs +0 -1
  86. package/dist/CheckIcon-N5qBqXQJ.js +0 -25
  87. package/dist/CodeServerApp-BOoGwZ7r.cjs +0 -1
  88. package/dist/CodeServerApp-Be3I5EGg.cjs +0 -1
  89. package/dist/CodeServerApp-DW18EZxa.js +0 -150
  90. package/dist/ColorPicker-BCNqi02x.js +0 -997
  91. package/dist/ColorPicker-BrDE7tMO.cjs +0 -1
  92. package/dist/CreateItemApp-B12M1E_1.cjs +0 -1
  93. package/dist/CreateItemApp-TAAprby3.js +0 -400
  94. package/dist/CreateItemApp-ePB6ujNl.cjs +0 -1
  95. package/dist/DeviceInfoApp-BMF18BGo.cjs +0 -1
  96. package/dist/DeviceInfoApp-DRy0H3aT.cjs +0 -1
  97. package/dist/DeviceInfoApp-lgpwkeRR.js +0 -223
  98. package/dist/DownloadProgress-EoyCaD5O.js +0 -174
  99. package/dist/DownloadProgress-VNdj22U8.cjs +0 -1
  100. package/dist/FileIcon-7JaSR3Gn.js +0 -89
  101. package/dist/FileIcon-CIXopWLv.cjs +0 -1
  102. package/dist/FilePickerApp-DaMgEqKh.js +0 -409
  103. package/dist/FilePickerApp-DjmuSFqa.cjs +0 -1
  104. package/dist/FilesApp-Bp7wfrBZ.cjs +0 -1
  105. package/dist/FilesApp-BpJJRKhi.cjs +0 -1
  106. package/dist/FilesApp-Cj94QG5o.js +0 -225
  107. package/dist/Group-CtBJSfCo.js +0 -48
  108. package/dist/Group-Dsrf6lEK.cjs +0 -1
  109. package/dist/ImageViewerApp-DlHGeB3S.cjs +0 -1
  110. package/dist/ImageViewerApp-DoXd_Swu.cjs +0 -1
  111. package/dist/ImageViewerMenuBar-SAI7UNz7.cjs +0 -1
  112. package/dist/ImageViewerMenuBar-_Jr29gii.cjs +0 -1
  113. package/dist/MenuEditApp-BJjlPTOa.cjs +0 -1
  114. package/dist/MenuEditApp-JPsGT-S3.cjs +0 -1
  115. package/dist/MenuEditMenuBar-BydGkqMw.cjs +0 -1
  116. package/dist/MenuEditMenuBar-DptlwVPQ.cjs +0 -1
  117. package/dist/NotesApp-BOcRGO7w.cjs +0 -1
  118. package/dist/NotesApp-OL07JXRE.cjs +0 -1
  119. package/dist/NotesMenuBar-BSI_2Y7p.cjs +0 -1
  120. package/dist/NotesMenuBar-Df6aW85J.cjs +0 -1
  121. package/dist/Paper-BX_9odR6.js +0 -30
  122. package/dist/Paper-D8-BaBx2.cjs +0 -1
  123. package/dist/PdfApp-CNEbty5v.cjs +0 -1
  124. package/dist/PdfApp-CVv3ZCaM.cjs +0 -1
  125. package/dist/PdfMenuBar--E6kDyrT.cjs +0 -1
  126. package/dist/PdfMenuBar-Dj5cJUkg.cjs +0 -1
  127. package/dist/SettingsApp-BlmHuAjT.js +0 -1831
  128. package/dist/SettingsApp-CNvIgf5B.cjs +0 -1
  129. package/dist/SettingsApp-DWxanNE4.cjs +0 -1
  130. package/dist/SettingsMenuBar-CBoOBCfx.cjs +0 -1
  131. package/dist/SettingsMenuBar-DQooFkZN.cjs +0 -1
  132. package/dist/Slider-BUiHxjKO.cjs +0 -1
  133. package/dist/Slider-t-NcD60t.js +0 -1176
  134. package/dist/Stack-Bp1Ek2Gp.js +0 -34
  135. package/dist/Stack-D4jAiRfc.cjs +0 -1
  136. package/dist/StorybookApp-CDLV_kja.cjs +0 -1
  137. package/dist/StorybookApp-DKwlPCmo.js +0 -10
  138. package/dist/TerminalApp-BCB7i1lR.cjs +0 -1
  139. package/dist/TerminalApp-BYc_gHLe.js +0 -326
  140. package/dist/TerminalApp-Dviz6aP2.cjs +0 -1
  141. package/dist/TerminalMenuBar-D5tPmgR_.js +0 -113
  142. package/dist/TerminalMenuBar-DNshPmCa.cjs +0 -1
  143. package/dist/TerminalMenuBar-HzMSR7XP.cjs +0 -1
  144. package/dist/TextInput-C-JtGWn1.js +0 -981
  145. package/dist/TextInput-CrsmcOip.cjs +0 -1
  146. package/dist/Tooltip-D5Cd9wtz.cjs +0 -1
  147. package/dist/Tooltip-DOeIvhrO.js +0 -1142
  148. package/dist/UnstyledButton-DGaG-e_G.js +0 -25
  149. package/dist/UnstyledButton-DX2pTahr.cjs +0 -1
  150. package/dist/UploaderApp-C6xA5Rrf2.cjs +0 -1
  151. package/dist/UploaderApp-DnHIRxB_.cjs +0 -1
  152. package/dist/UploaderApp-qBfpukR_.js +0 -488
  153. package/dist/VscIcon-CcMdrFoJ.cjs +0 -1
  154. package/dist/create-safe-context-Bboj0GWC.cjs +0 -1
  155. package/dist/create-safe-context-XT2cxc14.js +0 -12
  156. package/dist/desktopStore-CZoA9VHO.cjs +0 -1
  157. package/dist/getRuntime-BFK0-8R1.cjs +0 -1
  158. package/dist/getRuntime-DAPqFH2W.js +0 -63
  159. package/dist/imageViewerStore-BB_tssZR.cjs +0 -1
  160. package/dist/is-element-Bu_JY8Qy.js +0 -7
  161. package/dist/is-element-CdV0xajp.cjs +0 -1
  162. package/dist/menuEditStore-CTeM_dns.cjs +0 -1
  163. package/dist/notesStore-BCEl1D_v.cjs +0 -1
  164. package/dist/settingsAppStore-CMBc13VU.cjs +0 -1
  165. package/dist/terminalStore-IWdf4Mm6.js +0 -30
  166. package/dist/terminalStore-iIuyodfK.cjs +0 -1
  167. package/dist/use-merged-ref-BT8_u6vW.js +0 -25
  168. package/dist/use-merged-ref-n9Gw9LNn.cjs +0 -1
  169. package/dist/use-resolved-styles-api-8OXE2oRq.cjs +0 -1
  170. package/dist/use-resolved-styles-api-DNUlJJZf.js +0 -21
  171. package/dist/use-uncontrolled-A4hm9ATM.js +0 -23
  172. package/dist/use-uncontrolled-DDJVQiM_.cjs +0 -1
  173. package/dist/useAdaptiveDimensions-CfITBJ_m.cjs +0 -1
  174. package/dist/useCloseInterceptor-yntBEzNc.cjs +0 -1
  175. package/dist/useDynamicIcon-DJ_il30E.cjs +0 -1
  176. package/dist/useOpenApp-DW4x79Zg.cjs +0 -1
  177. package/dist/useResolvedUrl-BkMPM1fM.cjs +0 -1
  178. /package/dist/{Colors-zP2AFgU3.cjs → Colors-CNJbU7oq.cjs} +0 -0
  179. /package/dist/{Colors-ClnDxnyA.js → Colors-CuABn2W4.js} +0 -0
  180. /package/dist/{imageViewerStore-C5kWz0o7.js → imageViewerStore-COrD02Zu.js} +0 -0
  181. /package/dist/{menuEditStore-Cj1zAwxQ.js → menuEditStore-CxsgLiQu.js} +0 -0
  182. /package/dist/{notesStore-BPyRTHEc.js → notesStore-Dgah46U5.js} +0 -0
  183. /package/dist/{settingsAppStore-BDQ3ts1y.js → settingsAppStore-DHZhi6Rl.js} +0 -0
  184. /package/dist/{useDynamicIcon-Bf0t2foA.js → useDynamicIcon-_wGeWu-b.js} +0 -0
  185. /package/dist/{useMenuBarUtils-nmu9yehT.js → useMenuBarUtils-ChAfI7OA.js} +0 -0
  186. /package/dist/{useMenuBarUtils-nJIPJGIQ.cjs → useMenuBarUtils-DAap0ukp.cjs} +0 -0
@@ -1,981 +0,0 @@
1
- import { A as e, D as t, I as n, M as r, O as i, c as a, d as o, h as s, l as c, n as l, o as u, r as d, t as f, x as p } from "./Box-DSKR_qaa.js";
2
- import { t as m } from "./use-resolved-styles-api-DNUlJJZf.js";
3
- import { t as h } from "./UnstyledButton-DGaG-e_G.js";
4
- import { Activity as g, Fragment as _, createContext as v, createElement as y, use as b, useEffect as x, useId as S, useLayoutEffect as C, useRef as w, useState as T } from "react";
5
- import { Fragment as E, jsx as D, jsxs as O } from "react/jsx-runtime";
6
- import k from "react-dom";
7
- import A from "clsx";
8
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/utils/random-id/random-id.mjs
9
- function j(e = "mantine-") {
10
- return `${e}${Math.random().toString(36).slice(2, 11)}`;
11
- }
12
- //#endregion
13
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-media-query/use-media-query.mjs
14
- function ee(e, t) {
15
- return typeof t == "boolean" ? t : typeof window < "u" && "matchMedia" in window ? window.matchMedia(e).matches : !1;
16
- }
17
- function te(e, t, { getInitialValueInEffect: n } = { getInitialValueInEffect: !0 }) {
18
- let [r, i] = T(n ? t : ee(e));
19
- return x(() => {
20
- try {
21
- if ("matchMedia" in window) {
22
- let t = window.matchMedia(e);
23
- i(t.matches);
24
- let n = (e) => i(e.matches);
25
- return t.addEventListener("change", n), () => {
26
- t.removeEventListener("change", n);
27
- };
28
- }
29
- } catch {
30
- return;
31
- }
32
- }, [e]), r || !1;
33
- }
34
- //#endregion
35
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-isomorphic-effect/use-isomorphic-effect.mjs
36
- var M = typeof document < "u" ? C : x;
37
- //#endregion
38
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-did-update/use-did-update.mjs
39
- function N(e, t) {
40
- let n = w(!1);
41
- x(() => () => {
42
- n.current = !1;
43
- }, []), x(() => {
44
- if (n.current) return e();
45
- n.current = !0;
46
- }, t);
47
- }
48
- //#endregion
49
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-id/use-id.mjs
50
- function ne(e) {
51
- let [t, n] = T(`mantine-${S().replace(/:/g, "")}`);
52
- return M(() => {
53
- n(j());
54
- }, []), typeof e == "string" ? e : t;
55
- }
56
- //#endregion
57
- //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-reduced-motion/use-reduced-motion.mjs
58
- function P(e, t) {
59
- return te("(prefers-reduced-motion: reduce)", e, t);
60
- }
61
- //#endregion
62
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Transition/transitions.mjs
63
- var F = (e) => ({
64
- in: {
65
- opacity: 1,
66
- transform: "scale(1)"
67
- },
68
- out: {
69
- opacity: 0,
70
- transform: `scale(.9) translateY(${e === "bottom" ? 10 : -10}px)`
71
- },
72
- transitionProperty: "transform, opacity"
73
- }), I = {
74
- fade: {
75
- in: { opacity: 1 },
76
- out: { opacity: 0 },
77
- transitionProperty: "opacity"
78
- },
79
- "fade-up": {
80
- in: {
81
- opacity: 1,
82
- transform: "translateY(0)"
83
- },
84
- out: {
85
- opacity: 0,
86
- transform: "translateY(30px)"
87
- },
88
- transitionProperty: "opacity, transform"
89
- },
90
- "fade-down": {
91
- in: {
92
- opacity: 1,
93
- transform: "translateY(0)"
94
- },
95
- out: {
96
- opacity: 0,
97
- transform: "translateY(-30px)"
98
- },
99
- transitionProperty: "opacity, transform"
100
- },
101
- "fade-left": {
102
- in: {
103
- opacity: 1,
104
- transform: "translateX(0)"
105
- },
106
- out: {
107
- opacity: 0,
108
- transform: "translateX(30px)"
109
- },
110
- transitionProperty: "opacity, transform"
111
- },
112
- "fade-right": {
113
- in: {
114
- opacity: 1,
115
- transform: "translateX(0)"
116
- },
117
- out: {
118
- opacity: 0,
119
- transform: "translateX(-30px)"
120
- },
121
- transitionProperty: "opacity, transform"
122
- },
123
- scale: {
124
- in: {
125
- opacity: 1,
126
- transform: "scale(1)"
127
- },
128
- out: {
129
- opacity: 0,
130
- transform: "scale(0)"
131
- },
132
- common: { transformOrigin: "top" },
133
- transitionProperty: "transform, opacity"
134
- },
135
- "scale-y": {
136
- in: {
137
- opacity: 1,
138
- transform: "scaleY(1)"
139
- },
140
- out: {
141
- opacity: 0,
142
- transform: "scaleY(0)"
143
- },
144
- common: { transformOrigin: "top" },
145
- transitionProperty: "transform, opacity"
146
- },
147
- "scale-x": {
148
- in: {
149
- opacity: 1,
150
- transform: "scaleX(1)"
151
- },
152
- out: {
153
- opacity: 0,
154
- transform: "scaleX(0)"
155
- },
156
- common: { transformOrigin: "left" },
157
- transitionProperty: "transform, opacity"
158
- },
159
- "skew-up": {
160
- in: {
161
- opacity: 1,
162
- transform: "translateY(0) skew(0deg, 0deg)"
163
- },
164
- out: {
165
- opacity: 0,
166
- transform: "translateY(-20px) skew(-10deg, -5deg)"
167
- },
168
- common: { transformOrigin: "top" },
169
- transitionProperty: "transform, opacity"
170
- },
171
- "skew-down": {
172
- in: {
173
- opacity: 1,
174
- transform: "translateY(0) skew(0deg, 0deg)"
175
- },
176
- out: {
177
- opacity: 0,
178
- transform: "translateY(20px) skew(-10deg, -5deg)"
179
- },
180
- common: { transformOrigin: "bottom" },
181
- transitionProperty: "transform, opacity"
182
- },
183
- "rotate-left": {
184
- in: {
185
- opacity: 1,
186
- transform: "translateY(0) rotate(0deg)"
187
- },
188
- out: {
189
- opacity: 0,
190
- transform: "translateY(20px) rotate(-5deg)"
191
- },
192
- common: { transformOrigin: "bottom" },
193
- transitionProperty: "transform, opacity"
194
- },
195
- "rotate-right": {
196
- in: {
197
- opacity: 1,
198
- transform: "translateY(0) rotate(0deg)"
199
- },
200
- out: {
201
- opacity: 0,
202
- transform: "translateY(20px) rotate(5deg)"
203
- },
204
- common: { transformOrigin: "top" },
205
- transitionProperty: "transform, opacity"
206
- },
207
- "slide-down": {
208
- in: {
209
- opacity: 1,
210
- transform: "translateY(0)"
211
- },
212
- out: {
213
- opacity: 0,
214
- transform: "translateY(-100%)"
215
- },
216
- common: { transformOrigin: "top" },
217
- transitionProperty: "transform, opacity"
218
- },
219
- "slide-up": {
220
- in: {
221
- opacity: 1,
222
- transform: "translateY(0)"
223
- },
224
- out: {
225
- opacity: 0,
226
- transform: "translateY(100%)"
227
- },
228
- common: { transformOrigin: "bottom" },
229
- transitionProperty: "transform, opacity"
230
- },
231
- "slide-left": {
232
- in: {
233
- opacity: 1,
234
- transform: "translateX(0)"
235
- },
236
- out: {
237
- opacity: 0,
238
- transform: "translateX(100%)"
239
- },
240
- common: { transformOrigin: "left" },
241
- transitionProperty: "transform, opacity"
242
- },
243
- "slide-right": {
244
- in: {
245
- opacity: 1,
246
- transform: "translateX(0)"
247
- },
248
- out: {
249
- opacity: 0,
250
- transform: "translateX(-100%)"
251
- },
252
- common: { transformOrigin: "right" },
253
- transitionProperty: "transform, opacity"
254
- },
255
- pop: {
256
- ...F("bottom"),
257
- common: { transformOrigin: "center center" }
258
- },
259
- "pop-bottom-left": {
260
- ...F("bottom"),
261
- common: { transformOrigin: "bottom left" }
262
- },
263
- "pop-bottom-right": {
264
- ...F("bottom"),
265
- common: { transformOrigin: "bottom right" }
266
- },
267
- "pop-top-left": {
268
- ...F("top"),
269
- common: { transformOrigin: "top left" }
270
- },
271
- "pop-top-right": {
272
- ...F("top"),
273
- common: { transformOrigin: "top right" }
274
- }
275
- }, L = {
276
- entering: "in",
277
- entered: "in",
278
- exiting: "out",
279
- exited: "out",
280
- "pre-exiting": "out",
281
- "pre-entering": "out"
282
- };
283
- function R({ transition: e, state: t, duration: n, timingFunction: r }) {
284
- let i = {
285
- WebkitBackfaceVisibility: "hidden",
286
- transitionDuration: `${n}ms`,
287
- transitionTimingFunction: r
288
- };
289
- return typeof e == "string" ? e in I ? {
290
- transitionProperty: I[e].transitionProperty,
291
- ...i,
292
- ...I[e].common,
293
- ...I[e][L[t]]
294
- } : {} : {
295
- transitionProperty: e.transitionProperty,
296
- ...i,
297
- ...e.common,
298
- ...e[L[t]]
299
- };
300
- }
301
- //#endregion
302
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Transition/use-transition.mjs
303
- function z({ duration: e, exitDuration: t, timingFunction: n, mounted: r, onEnter: i, onExit: a, onEntered: s, onExited: c, enterDelay: l, exitDelay: u }) {
304
- let d = o(), f = P(), p = d.respectReducedMotion ? f : !1, [m, h] = T(p ? 0 : e), [g, _] = T(r ? "entered" : "exited"), v = w(-1), y = w(-1), b = w(-1);
305
- function S() {
306
- window.clearTimeout(v.current), window.clearTimeout(y.current), cancelAnimationFrame(b.current);
307
- }
308
- let C = (n) => {
309
- S();
310
- let r = n ? i : a, o = n ? s : c, l = p ? 0 : n ? e : t;
311
- h(l), l === 0 ? (typeof r == "function" && r(), typeof o == "function" && o(), _(n ? "entered" : "exited")) : b.current = requestAnimationFrame(() => {
312
- k.flushSync(() => {
313
- _(n ? "pre-entering" : "pre-exiting");
314
- }), b.current = requestAnimationFrame(() => {
315
- typeof r == "function" && r(), _(n ? "entering" : "exiting"), v.current = window.setTimeout(() => {
316
- typeof o == "function" && o(), _(n ? "entered" : "exited");
317
- }, l);
318
- });
319
- });
320
- }, E = (e) => {
321
- if (S(), typeof (e ? l : u) != "number") {
322
- C(e);
323
- return;
324
- }
325
- y.current = window.setTimeout(() => {
326
- C(e);
327
- }, e ? l : u);
328
- };
329
- return N(() => {
330
- E(r);
331
- }, [r]), x(() => () => {
332
- S();
333
- }, []), {
334
- transitionDuration: m,
335
- transitionStatus: g,
336
- transitionTimingFunction: n || "ease"
337
- };
338
- }
339
- //#endregion
340
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Transition/Transition.mjs
341
- function B({ keepMounted: e, transition: t = "fade", duration: n = 250, exitDuration: r = n, mounted: i, children: a, timingFunction: o = "ease", onExit: c, onEntered: l, onEnter: u, onExited: d, enterDelay: f, exitDelay: p }) {
342
- let m = s(), { transitionDuration: h, transitionStatus: _, transitionTimingFunction: v } = z({
343
- mounted: i,
344
- exitDuration: r,
345
- duration: n,
346
- timingFunction: o,
347
- onExit: c,
348
- onEntered: l,
349
- onEnter: u,
350
- onExited: d,
351
- enterDelay: f,
352
- exitDelay: p
353
- });
354
- if (m === "test") return i ? /* @__PURE__ */ D(E, { children: a({}) }) : e ? a({ display: "none" }) : null;
355
- if (h === 0) return e ? /* @__PURE__ */ D(g, {
356
- mode: i ? "visible" : "hidden",
357
- children: a({})
358
- }) : i ? /* @__PURE__ */ D(E, { children: a({}) }) : null;
359
- let y = _ === "exited";
360
- return e ? /* @__PURE__ */ D(g, {
361
- mode: y ? "hidden" : "visible",
362
- children: a(y ? {} : R({
363
- transition: t,
364
- duration: h,
365
- state: _,
366
- timingFunction: v
367
- }))
368
- }) : y ? null : /* @__PURE__ */ D(E, { children: a(R({
369
- transition: t,
370
- duration: h,
371
- state: _,
372
- timingFunction: v
373
- })) });
374
- }
375
- B.displayName = "@mantine/core/Transition";
376
- //#endregion
377
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Loader/Loader.module.mjs
378
- var V = {
379
- root: "m_5ae2e3c",
380
- barsLoader: "m_7a2bd4cd",
381
- bar: "m_870bb79",
382
- "bars-loader-animation": "m_5d2b3b9d",
383
- dotsLoader: "m_4e3f22d7",
384
- dot: "m_870c4af",
385
- "loader-dots-animation": "m_aac34a1",
386
- ovalLoader: "m_b34414df",
387
- "oval-loader-animation": "m_f8e89c4b"
388
- }, H = ({ className: e, ...t }) => /* @__PURE__ */ O(f, {
389
- component: "span",
390
- className: A(V.barsLoader, e),
391
- ...t,
392
- children: [
393
- /* @__PURE__ */ D("span", { className: V.bar }),
394
- /* @__PURE__ */ D("span", { className: V.bar }),
395
- /* @__PURE__ */ D("span", { className: V.bar })
396
- ]
397
- });
398
- H.displayName = "@mantine/core/Bars";
399
- //#endregion
400
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Loader/loaders/Dots.mjs
401
- var re = ({ className: e, ...t }) => /* @__PURE__ */ O(f, {
402
- component: "span",
403
- className: A(V.dotsLoader, e),
404
- ...t,
405
- children: [
406
- /* @__PURE__ */ D("span", { className: V.dot }),
407
- /* @__PURE__ */ D("span", { className: V.dot }),
408
- /* @__PURE__ */ D("span", { className: V.dot })
409
- ]
410
- });
411
- re.displayName = "@mantine/core/Dots";
412
- //#endregion
413
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Loader/loaders/Oval.mjs
414
- var ie = ({ className: e, ...t }) => /* @__PURE__ */ D(f, {
415
- component: "span",
416
- className: A(V.ovalLoader, e),
417
- ...t
418
- });
419
- ie.displayName = "@mantine/core/Oval";
420
- //#endregion
421
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Loader/Loader.mjs
422
- var ae = {
423
- bars: H,
424
- oval: ie,
425
- dots: re
426
- }, U = {
427
- loaders: ae,
428
- type: "oval"
429
- }, oe = t((e, { size: t, color: n }) => ({ root: {
430
- "--loader-size": r(t, "loader-size"),
431
- "--loader-color": n ? p(n, e) : void 0
432
- } })), W = d((e) => {
433
- let t = c("Loader", U, e), { size: n, color: r, type: i, vars: o, className: s, style: l, classNames: u, styles: d, unstyled: p, loaders: m, variant: h, children: g, attributes: _, ...v } = t, y = a({
434
- name: "Loader",
435
- props: t,
436
- classes: V,
437
- className: s,
438
- style: l,
439
- classNames: u,
440
- styles: d,
441
- unstyled: p,
442
- attributes: _,
443
- vars: o,
444
- varsResolver: oe
445
- });
446
- return g ? /* @__PURE__ */ D(f, {
447
- ...y("root"),
448
- ...v,
449
- children: g
450
- }) : /* @__PURE__ */ D(f, {
451
- ...y("root"),
452
- component: m[i],
453
- variant: h,
454
- size: n,
455
- ...v
456
- });
457
- });
458
- W.defaultLoaders = ae, W.classes = V, W.varsResolver = oe, W.displayName = "@mantine/core/Loader";
459
- //#endregion
460
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/CloseButton/CloseIcon.mjs
461
- function G({ size: e = "var(--cb-icon-size, 70%)", style: t, ...n }) {
462
- return /* @__PURE__ */ D("svg", {
463
- viewBox: "0 0 15 15",
464
- fill: "none",
465
- xmlns: "http://www.w3.org/2000/svg",
466
- style: {
467
- ...t,
468
- width: e,
469
- height: e
470
- },
471
- ...n,
472
- children: /* @__PURE__ */ D("path", {
473
- 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",
474
- fill: "currentColor",
475
- fillRule: "evenodd",
476
- clipRule: "evenodd"
477
- })
478
- });
479
- }
480
- G.displayName = "@mantine/core/CloseIcon";
481
- //#endregion
482
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.module.mjs
483
- var se = {
484
- root: "m_86a44da5",
485
- "root--subtle": "m_220c80f2"
486
- }, ce = { variant: "subtle" }, K = t((t, { size: i, radius: a, iconSize: o }) => ({ root: {
487
- "--cb-size": r(i, "cb-size"),
488
- "--cb-radius": a === void 0 ? void 0 : e(a),
489
- "--cb-icon-size": n(o)
490
- } })), q = l((e) => {
491
- let t = c("CloseButton", ce, e), { iconSize: n, children: r, vars: i, radius: o, className: s, classNames: l, style: u, styles: d, unstyled: f, "data-disabled": p, disabled: m, variant: g, icon: _, mod: v, attributes: y, __staticSelector: b, ...x } = t, S = a({
492
- name: b || "CloseButton",
493
- props: t,
494
- className: s,
495
- style: u,
496
- classes: se,
497
- classNames: l,
498
- styles: d,
499
- unstyled: f,
500
- attributes: y,
501
- vars: i,
502
- varsResolver: K
503
- });
504
- return /* @__PURE__ */ O(h, {
505
- ...x,
506
- unstyled: f,
507
- variant: g,
508
- disabled: m,
509
- mod: [{ disabled: m || p }, v],
510
- ...S("root", {
511
- variant: g,
512
- active: !m && !p
513
- }),
514
- children: [_ || /* @__PURE__ */ D(G, {}), r]
515
- });
516
- });
517
- q.classes = se, q.varsResolver = K, q.displayName = "@mantine/core/CloseButton";
518
- //#endregion
519
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/Input.context.mjs
520
- var le = v({ size: "sm" }), ue = d((e) => {
521
- let t = c("InputClearButton", null, e), { size: n, variant: r, vars: i, classNames: a, styles: o, ...s } = t, l = b(le), { resolvedClassNames: u, resolvedStyles: d } = m({
522
- classNames: a,
523
- styles: o,
524
- props: t
525
- });
526
- return /* @__PURE__ */ D(q, {
527
- variant: r || "transparent",
528
- size: n || l?.size || "sm",
529
- classNames: u,
530
- styles: d,
531
- __staticSelector: "InputClearButton",
532
- style: {
533
- pointerEvents: "all",
534
- background: "var(--input-bg)",
535
- ...s.style
536
- },
537
- ...s
538
- });
539
- });
540
- ue.displayName = "@mantine/core/InputClearButton";
541
- //#endregion
542
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputClearSection/InputClearSection.mjs
543
- var de = {
544
- xs: 7,
545
- sm: 8,
546
- md: 10,
547
- lg: 12,
548
- xl: 15
549
- };
550
- function fe({ __clearable: e, __clearSection: t, rightSection: n, __defaultRightSection: r, size: i = "sm", __clearSectionMode: a = "both" }) {
551
- let o = e && t;
552
- return a === "rightSection" ? n === null ? null : n || r : a === "clear" ? n === null ? null : o || r : o && (n || r) ? /* @__PURE__ */ O("div", {
553
- "data-combined-clear-section": !0,
554
- style: {
555
- display: "flex",
556
- gap: 2,
557
- alignItems: "center",
558
- paddingInlineEnd: de[i]
559
- },
560
- children: [o, n || r]
561
- }) : n === null ? null : n || o || r;
562
- }
563
- //#endregion
564
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputWrapper.context.mjs
565
- var J = v({
566
- offsetBottom: !1,
567
- offsetTop: !1,
568
- describedBy: void 0,
569
- getStyles: null,
570
- inputId: void 0,
571
- labelId: void 0
572
- }), Y = {
573
- wrapper: "m_6c018570",
574
- input: "m_8fb7ebe7",
575
- section: "m_82577fc2",
576
- placeholder: "m_88bacfd0",
577
- root: "m_46b77525",
578
- label: "m_8fdc1311",
579
- required: "m_78a94662",
580
- error: "m_8f816625",
581
- description: "m_fe47ce59"
582
- }, pe = t((e, { size: t }) => ({ description: { "--input-description-size": t === void 0 ? void 0 : `calc(${i(t)} - ${n(2)})` } })), X = d((e) => {
583
- let t = c("InputDescription", null, e), { classNames: n, className: r, style: i, styles: o, unstyled: s, vars: l, __staticSelector: u, __inheritStyles: d = !0, attributes: p, ...m } = c("InputDescription", null, t), h = b(J), g = a({
584
- name: ["InputWrapper", u],
585
- props: t,
586
- classes: Y,
587
- className: r,
588
- style: i,
589
- classNames: n,
590
- styles: o,
591
- unstyled: s,
592
- attributes: p,
593
- rootSelector: "description",
594
- vars: l,
595
- varsResolver: pe
596
- });
597
- return /* @__PURE__ */ D(f, {
598
- component: "p",
599
- ...(d && h?.getStyles || g)("description", h?.getStyles ? {
600
- className: r,
601
- style: i
602
- } : void 0),
603
- ...m
604
- });
605
- });
606
- X.classes = Y, X.varsResolver = pe, X.displayName = "@mantine/core/InputDescription";
607
- //#endregion
608
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputError/InputError.mjs
609
- var me = t((e, { size: t }) => ({ error: { "--input-error-size": t === void 0 ? void 0 : `calc(${i(t)} - ${n(2)})` } })), Z = d((e) => {
610
- let t = c("InputError", null, e), { classNames: n, className: r, style: i, styles: o, unstyled: s, vars: l, attributes: u, __staticSelector: d, __inheritStyles: p = !0, ...m } = t, h = a({
611
- name: ["InputWrapper", d],
612
- props: t,
613
- classes: Y,
614
- className: r,
615
- style: i,
616
- classNames: n,
617
- styles: o,
618
- unstyled: s,
619
- attributes: u,
620
- rootSelector: "error",
621
- vars: l,
622
- varsResolver: me
623
- }), g = b(J);
624
- return /* @__PURE__ */ D(f, {
625
- component: "p",
626
- ...(p && g?.getStyles || h)("error", g?.getStyles ? {
627
- className: r,
628
- style: i
629
- } : void 0),
630
- ...m
631
- });
632
- });
633
- Z.classes = Y, Z.varsResolver = me, Z.displayName = "@mantine/core/InputError";
634
- //#endregion
635
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputLabel/InputLabel.mjs
636
- var he = { labelElement: "label" }, ge = t((e, { size: t }) => ({ label: {
637
- "--input-label-size": i(t),
638
- "--input-asterisk-color": void 0
639
- } })), _e = d((e) => {
640
- let t = c("InputLabel", he, e), { classNames: n, className: r, style: i, styles: o, unstyled: s, vars: l, labelElement: u, required: d, htmlFor: p, onMouseDown: m, children: h, __staticSelector: g, mod: _, attributes: v, ...y } = t, x = a({
641
- name: ["InputWrapper", g],
642
- props: t,
643
- classes: Y,
644
- className: r,
645
- style: i,
646
- classNames: n,
647
- styles: o,
648
- unstyled: s,
649
- attributes: v,
650
- rootSelector: "label",
651
- vars: l,
652
- varsResolver: ge
653
- }), S = b(J), C = S?.getStyles || x;
654
- return /* @__PURE__ */ O(f, {
655
- ...C("label", S?.getStyles ? {
656
- className: r,
657
- style: i
658
- } : void 0),
659
- component: u,
660
- htmlFor: u === "label" ? p : void 0,
661
- mod: [{ required: d }, _],
662
- onMouseDown: (e) => {
663
- m?.(e), !e.defaultPrevented && e.detail > 1 && e.preventDefault();
664
- },
665
- ...y,
666
- children: [h, d && /* @__PURE__ */ D("span", {
667
- ...C("required"),
668
- "aria-hidden": !0,
669
- children: " *"
670
- })]
671
- });
672
- });
673
- _e.classes = Y, _e.varsResolver = ge, _e.displayName = "@mantine/core/InputLabel";
674
- //#endregion
675
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputPlaceholder/InputPlaceholder.mjs
676
- var ve = d((e) => {
677
- let t = c("InputPlaceholder", null, e), { classNames: n, className: r, style: i, styles: o, unstyled: s, vars: l, __staticSelector: u, error: d, mod: p, attributes: m, ...h } = t;
678
- return /* @__PURE__ */ D(f, {
679
- ...a({
680
- name: ["InputPlaceholder", u],
681
- props: t,
682
- classes: Y,
683
- className: r,
684
- style: i,
685
- classNames: n,
686
- styles: o,
687
- unstyled: s,
688
- attributes: m,
689
- rootSelector: "placeholder"
690
- })("placeholder"),
691
- mod: [{ error: !!d }, p],
692
- component: "span",
693
- ...h
694
- });
695
- });
696
- ve.classes = Y, ve.displayName = "@mantine/core/InputPlaceholder";
697
- //#endregion
698
- //#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
699
- function ye(e, { hasDescription: t, hasError: n }) {
700
- 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");
701
- return {
702
- offsetBottom: t && a.includes("description") || n && a.includes("error"),
703
- offsetTop: o
704
- };
705
- }
706
- //#endregion
707
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/InputWrapper/InputWrapper.mjs
708
- var be = {
709
- labelElement: "label",
710
- inputContainer: (e) => e,
711
- inputWrapperOrder: [
712
- "label",
713
- "description",
714
- "input",
715
- "error"
716
- ]
717
- }, xe = t((e, { size: t }) => ({
718
- label: {
719
- "--input-label-size": i(t),
720
- "--input-asterisk-color": void 0
721
- },
722
- error: { "--input-error-size": t === void 0 ? void 0 : `calc(${i(t)} - ${n(2)})` },
723
- description: { "--input-description-size": t === void 0 ? void 0 : `calc(${i(t)} - ${n(2)})` }
724
- })), Se = d((e) => {
725
- let t = c("InputWrapper", be, e), { classNames: n, className: r, style: i, styles: o, unstyled: s, vars: l, size: u, variant: d, __staticSelector: p, inputContainer: m, inputWrapperOrder: h, label: g, error: v, description: b, labelProps: x, descriptionProps: S, errorProps: C, labelElement: w, children: T, withAsterisk: E, id: O, required: k, __stylesApiProps: A, mod: j, attributes: ee, ...te } = t, M = a({
726
- name: ["InputWrapper", p],
727
- props: A || t,
728
- classes: Y,
729
- className: r,
730
- style: i,
731
- classNames: n,
732
- styles: o,
733
- unstyled: s,
734
- attributes: ee,
735
- vars: l,
736
- varsResolver: xe
737
- }), N = {
738
- size: u,
739
- variant: d,
740
- __staticSelector: p
741
- }, P = ne(O), F = typeof E == "boolean" ? E : k, I = C?.id || `${P}-error`, L = S?.id || `${P}-description`, R = P, z = !!v && typeof v != "boolean", B = !!b, V = `${z ? I : ""} ${B ? L : ""}`, H = V.trim().length > 0 ? V.trim() : void 0, re = x?.id || `${P}-label`, ie = g && /* @__PURE__ */ D(_e, {
742
- labelElement: w,
743
- id: re,
744
- htmlFor: R,
745
- required: F,
746
- ...N,
747
- ...x,
748
- children: g
749
- }, "label"), ae = B && /* @__PURE__ */ D(X, {
750
- ...S,
751
- ...N,
752
- size: S?.size || N.size,
753
- id: S?.id || L,
754
- children: b
755
- }, "description"), U = /* @__PURE__ */ D(_, { children: m(T) }, "input"), oe = z && /* @__PURE__ */ y(Z, {
756
- ...C,
757
- ...N,
758
- size: C?.size || N.size,
759
- key: "error",
760
- id: C?.id || I
761
- }, v), W = h.map((e) => {
762
- switch (e) {
763
- case "label": return ie;
764
- case "input": return U;
765
- case "description": return ae;
766
- case "error": return oe;
767
- default: return null;
768
- }
769
- });
770
- return /* @__PURE__ */ D(J, {
771
- value: {
772
- getStyles: M,
773
- describedBy: H,
774
- inputId: R,
775
- labelId: re,
776
- ...ye(h, {
777
- hasDescription: B,
778
- hasError: z
779
- })
780
- },
781
- children: /* @__PURE__ */ D(f, {
782
- variant: d,
783
- size: u,
784
- mod: [{ error: !!v }, j],
785
- id: w === "label" ? void 0 : O,
786
- ...M("root"),
787
- ...te,
788
- children: W
789
- })
790
- });
791
- });
792
- Se.classes = Y, Se.varsResolver = xe, Se.displayName = "@mantine/core/InputWrapper";
793
- //#endregion
794
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/Input.mjs
795
- var Ce = {
796
- variant: "default",
797
- leftSectionPointerEvents: "none",
798
- rightSectionPointerEvents: "none",
799
- withAria: !0,
800
- withErrorStyles: !0,
801
- size: "sm",
802
- loading: !1,
803
- loadingPosition: "right"
804
- }, we = t((t, a, o) => ({ wrapper: {
805
- "--input-margin-top": o.offsetTop ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
806
- "--input-margin-bottom": o.offsetBottom ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
807
- "--input-height": r(a.size, "input-height"),
808
- "--input-fz": i(a.size),
809
- "--input-radius": a.radius === void 0 ? void 0 : e(a.radius),
810
- "--input-left-section-width": a.leftSectionWidth === void 0 ? void 0 : n(a.leftSectionWidth),
811
- "--input-right-section-width": a.rightSectionWidth === void 0 ? void 0 : n(a.rightSectionWidth),
812
- "--input-padding-y": a.multiline ? r(a.size, "input-padding-y") : void 0,
813
- "--input-left-section-pointer-events": a.leftSectionPointerEvents,
814
- "--input-right-section-pointer-events": a.rightSectionPointerEvents
815
- } })), Q = l((e) => {
816
- let t = c("Input", Ce, e), { classNames: n, className: r, style: i, styles: o, unstyled: s, required: l, __staticSelector: d, __stylesApiProps: p, size: m, wrapperProps: h, error: g, disabled: _, leftSection: v, leftSectionProps: y, leftSectionWidth: x, rightSection: S, rightSectionProps: C, rightSectionWidth: w, rightSectionPointerEvents: T, leftSectionPointerEvents: E, variant: k, vars: A, pointer: j, multiline: ee, radius: te, id: M, withAria: N, withErrorStyles: ne, mod: P, inputSize: F, attributes: I, __clearSection: L, __clearable: R, __clearSectionMode: z, __defaultRightSection: B, loading: V, loadingPosition: H, ...re } = t, { styleProps: ie, rest: ae } = u(re), U = b(J), oe = {
817
- offsetBottom: U?.offsetBottom,
818
- offsetTop: U?.offsetTop
819
- }, G = a({
820
- name: ["Input", d],
821
- props: p || t,
822
- classes: Y,
823
- className: r,
824
- style: i,
825
- classNames: n,
826
- styles: o,
827
- unstyled: s,
828
- attributes: I,
829
- stylesCtx: oe,
830
- rootSelector: "wrapper",
831
- vars: A,
832
- varsResolver: we
833
- }), se = N ? {
834
- required: l,
835
- disabled: _,
836
- "aria-invalid": !!g,
837
- "aria-describedby": U?.describedBy,
838
- id: U?.inputId || M
839
- } : {}, ce = V ? /* @__PURE__ */ D(W, { size: H === "left" ? "calc(var(--input-left-section-size) / 2)" : "calc(var(--input-right-section-size) / 2)" }) : null, K = V && H === "left" ? ce : v, q = fe({
840
- __clearable: R,
841
- __clearSection: L,
842
- rightSection: V && H === "right" ? ce : S,
843
- __defaultRightSection: B,
844
- size: m,
845
- __clearSectionMode: z
846
- });
847
- return /* @__PURE__ */ D(le, {
848
- value: { size: m || "sm" },
849
- children: /* @__PURE__ */ O(f, {
850
- ...G("wrapper"),
851
- ...ie,
852
- ...h,
853
- mod: [{
854
- error: !!g && ne,
855
- pointer: j,
856
- disabled: _,
857
- multiline: ee,
858
- "data-with-right-section": !!q,
859
- "data-with-left-section": !!K
860
- }, P],
861
- variant: k,
862
- size: m,
863
- children: [
864
- K && /* @__PURE__ */ D("div", {
865
- ...y,
866
- "data-position": "left",
867
- ...G("section", {
868
- className: y?.className,
869
- style: y?.style
870
- }),
871
- children: K
872
- }),
873
- /* @__PURE__ */ D(f, {
874
- component: "input",
875
- ...ae,
876
- ...se,
877
- required: l,
878
- mod: {
879
- disabled: _,
880
- error: !!g && ne
881
- },
882
- variant: k,
883
- __size: F,
884
- ...G("input")
885
- }),
886
- q && /* @__PURE__ */ D("div", {
887
- ...C,
888
- "data-position": "right",
889
- ...G("section", {
890
- className: C?.className,
891
- style: C?.style
892
- }),
893
- children: q
894
- })
895
- ]
896
- })
897
- });
898
- });
899
- Q.classes = Y, Q.varsResolver = we, Q.Wrapper = Se, Q.Label = _e, Q.Error = Z, Q.Description = X, Q.Placeholder = ve, Q.ClearButton = ue, Q.displayName = "@mantine/core/Input";
900
- //#endregion
901
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Input/use-input-props.mjs
902
- function Te(e, t, n) {
903
- let r = c(e, t, n), { label: i, description: a, error: o, required: s, classNames: l, styles: d, 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, ...A } = r, { styleProps: j, rest: ee } = u(A), te = {
904
- label: i,
905
- description: a,
906
- error: o,
907
- required: s,
908
- classNames: l,
909
- className: f,
910
- __staticSelector: m,
911
- __stylesApiProps: h || r,
912
- errorProps: g,
913
- labelProps: _,
914
- descriptionProps: v,
915
- unstyled: p,
916
- styles: d,
917
- size: x,
918
- style: S,
919
- inputContainer: C,
920
- inputWrapperOrder: w,
921
- withAsterisk: T,
922
- variant: E,
923
- id: b,
924
- mod: O,
925
- attributes: k,
926
- ...y
927
- };
928
- return {
929
- ...ee,
930
- classNames: l,
931
- styles: d,
932
- unstyled: p,
933
- wrapperProps: {
934
- ...te,
935
- ...j
936
- },
937
- inputProps: {
938
- required: s,
939
- classNames: l,
940
- styles: d,
941
- unstyled: p,
942
- size: x,
943
- __staticSelector: m,
944
- __stylesApiProps: h || r,
945
- error: o,
946
- variant: E,
947
- id: b,
948
- attributes: k
949
- }
950
- };
951
- }
952
- //#endregion
953
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/InputBase/InputBase.mjs
954
- var Ee = {
955
- __staticSelector: "InputBase",
956
- withAria: !0,
957
- size: "sm"
958
- }, $ = l((e) => {
959
- let { inputProps: t, wrapperProps: n, ...r } = Te("InputBase", Ee, e);
960
- return /* @__PURE__ */ D(Q.Wrapper, {
961
- ...n,
962
- children: /* @__PURE__ */ D(Q, {
963
- ...t,
964
- ...r
965
- })
966
- });
967
- });
968
- $.classes = {
969
- ...Q.classes,
970
- ...Q.Wrapper.classes
971
- }, $.displayName = "@mantine/core/InputBase";
972
- //#endregion
973
- //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/TextInput/TextInput.mjs
974
- var De = d((e) => /* @__PURE__ */ D($, {
975
- component: "input",
976
- ...c("TextInput", null, e),
977
- __staticSelector: "TextInput"
978
- }));
979
- De.classes = $.classes, De.displayName = "@mantine/core/TextInput";
980
- //#endregion
981
- export { J as a, B as c, N as d, M as f, Q as i, P as l, $ as n, q as o, j as p, Te as r, W as s, De as t, ne as u };