likec4 1.17.1 → 1.18.0
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/__app__ → __app__}/react/likec4.tsx +9 -26
- package/{dist/__app__/src/chunks/-index-overview-DrCqsLHx.js → __app__/src/chunks/-index-overview-CBnvpD1d.js} +4 -4
- package/{dist/__app__/src/chunks/likec4-DF_Jsv_p.js → __app__/src/chunks/likec4-DslTxitT.js} +14 -14
- package/{dist/__app__/src/chunks/main-E2hyQKFO.js → __app__/src/chunks/main-ByUdz_Be.js} +14153 -13715
- package/{dist/__app__/src/chunks/mantine-BzD51ZKm.js → __app__/src/chunks/mantine-oFa3ZrEq.js} +427 -253
- package/{dist/__app__/src/chunks/tanstack-router-CF1kJvtP.js → __app__/src/chunks/tanstack-router-BWjXKr0n.js} +1 -1
- package/{dist/__app__ → __app__}/src/main.js +1 -1
- package/{dist/__app__ → __app__}/src/style.css +1 -1
- package/{dist/__app__ → __app__}/webcomponent/webcomponent.js +30811 -30120
- package/dist/chunks/prompt.mjs +3 -3
- package/dist/cli/index.mjs +210 -179
- package/dist/index.d.mts +1693 -742
- package/dist/index.d.ts +1693 -742
- package/dist/index.mjs +1 -1
- package/dist/shared/likec4.lgHXhASw.mjs +1832 -0
- package/package.json +25 -26
- package/react/index.d.ts +891 -423
- package/react/index.mjs +32737 -31318
- package/react/style.css +1 -1
- package/dist/shared/likec4.BkLj38-D.mjs +0 -1824
- /package/{dist/__app__ → __app__}/favicon.ico +0 -0
- /package/{dist/__app__ → __app__}/favicon.svg +0 -0
- /package/{dist/__app__ → __app__}/index.html +0 -0
- /package/{dist/__app__ → __app__}/robots.txt +0 -0
- /package/{dist/__app__ → __app__}/src/chunks/-view-lazy-data-WZmbIsHq.js +0 -0
- /package/{dist/__app__ → __app__}/src/chunks/index-CIsxIzOH.js +0 -0
- /package/{dist/__app__ → __app__}/src/const.js +0 -0
- /package/{dist/__app__ → __app__}/src/icons.js +0 -0
package/{dist/__app__/src/chunks/mantine-BzD51ZKm.js → __app__/src/chunks/mantine-oFa3ZrEq.js}
RENAMED
|
@@ -708,8 +708,8 @@ function useHovered() {
|
|
|
708
708
|
function clamp$2(value, min2, max2) {
|
|
709
709
|
return min2 === void 0 && max2 === void 0 ? value : min2 !== void 0 && max2 === void 0 ? Math.max(value, min2) : Math.min(min2 === void 0 && max2 !== void 0 ? value : Math.max(value, min2), max2);
|
|
710
710
|
}
|
|
711
|
-
function randomId() {
|
|
712
|
-
return
|
|
711
|
+
function randomId(prefix = "mantine-") {
|
|
712
|
+
return `${prefix}${Math.random().toString(36).slice(2, 11)}`;
|
|
713
713
|
}
|
|
714
714
|
function useCallbackRef(callback) {
|
|
715
715
|
const callbackRef = useRef(callback);
|
|
@@ -728,7 +728,7 @@ function useDebouncedCallback(callback, delay) {
|
|
|
728
728
|
}
|
|
729
729
|
const DEFAULT_EVENTS = ["mousedown", "touchstart"];
|
|
730
730
|
function useClickOutside(handler, events, nodes) {
|
|
731
|
-
const ref = useRef();
|
|
731
|
+
const ref = useRef(null);
|
|
732
732
|
return useEffect(() => {
|
|
733
733
|
const listener = (event) => {
|
|
734
734
|
const { target } = event ?? {};
|
|
@@ -767,7 +767,7 @@ function useMediaQuery(query, initialValue, { getInitialValueInEffect } = {
|
|
|
767
767
|
}) {
|
|
768
768
|
const [matches, setMatches] = useState(
|
|
769
769
|
getInitialValueInEffect ? initialValue : getInitialValue(query)
|
|
770
|
-
), queryRef = useRef();
|
|
770
|
+
), queryRef = useRef(null);
|
|
771
771
|
return useEffect(() => {
|
|
772
772
|
if ("matchMedia" in window)
|
|
773
773
|
return queryRef.current = window.matchMedia(query), setMatches(queryRef.current.matches), attachMediaListener(queryRef.current, (event) => setMatches(event.matches));
|
|
@@ -799,7 +799,7 @@ function useDidUpdate(fn, dependencies) {
|
|
|
799
799
|
}, dependencies);
|
|
800
800
|
}
|
|
801
801
|
function useFocusReturn({ opened, shouldReturnFocus = !0 }) {
|
|
802
|
-
const lastActiveElement = useRef(), returnFocus = () => {
|
|
802
|
+
const lastActiveElement = useRef(null), returnFocus = () => {
|
|
803
803
|
lastActiveElement.current && "focus" in lastActiveElement.current && typeof lastActiveElement.current.focus == "function" && lastActiveElement.current?.focus({ preventScroll: !0 });
|
|
804
804
|
};
|
|
805
805
|
return useDidUpdate(() => {
|
|
@@ -860,7 +860,7 @@ function scopeTab(node, event) {
|
|
|
860
860
|
target && target.focus();
|
|
861
861
|
}
|
|
862
862
|
function useFocusTrap(active = !0) {
|
|
863
|
-
const ref = useRef(), focusNode = (node) => {
|
|
863
|
+
const ref = useRef(null), focusNode = (node) => {
|
|
864
864
|
let focusElement = node.querySelector("[data-autofocus]");
|
|
865
865
|
if (!focusElement) {
|
|
866
866
|
const children = Array.from(node.querySelectorAll(FOCUS_SELECTOR));
|
|
@@ -938,7 +938,7 @@ function createStorageHandler(type) {
|
|
|
938
938
|
} };
|
|
939
939
|
}
|
|
940
940
|
function createStorage(type, hookName) {
|
|
941
|
-
const eventName = "mantine-local-storage", { getItem, setItem, removeItem } = createStorageHandler(type);
|
|
941
|
+
const eventName = type === "localStorage" ? "mantine-local-storage" : "mantine-session-storage", { getItem, setItem, removeItem } = createStorageHandler(type);
|
|
942
942
|
return function({
|
|
943
943
|
key,
|
|
944
944
|
defaultValue,
|
|
@@ -988,6 +988,9 @@ function createStorage(type, hookName) {
|
|
|
988
988
|
function useLocalStorage(props) {
|
|
989
989
|
return createStorage("localStorage", "use-local-storage")(props);
|
|
990
990
|
}
|
|
991
|
+
function useSessionStorage(props) {
|
|
992
|
+
return createStorage("sessionStorage", "use-session-storage")(props);
|
|
993
|
+
}
|
|
991
994
|
function assignRef(ref, value) {
|
|
992
995
|
typeof ref == "function" ? ref(value) : typeof ref == "object" && ref !== null && "current" in ref && (ref.current = value);
|
|
993
996
|
}
|
|
@@ -1177,7 +1180,7 @@ function useTimeout(callback, delay, options = { autoInvoke: !1 }) {
|
|
|
1177
1180
|
return useEffect(() => (options.autoInvoke && start(), clear), [clear, start]), { start, clear };
|
|
1178
1181
|
}
|
|
1179
1182
|
function usePrevious(value) {
|
|
1180
|
-
const ref = useRef();
|
|
1183
|
+
const ref = useRef(void 0);
|
|
1181
1184
|
return useEffect(() => {
|
|
1182
1185
|
ref.current = value;
|
|
1183
1186
|
}, [value]), ref.current;
|
|
@@ -1191,7 +1194,7 @@ function useInViewport() {
|
|
|
1191
1194
|
}, []), inViewport };
|
|
1192
1195
|
}
|
|
1193
1196
|
function useMutationObserver(callback, options, target) {
|
|
1194
|
-
const observer = useRef(), ref = useRef(null);
|
|
1197
|
+
const observer = useRef(null), ref = useRef(null);
|
|
1195
1198
|
return useEffect(() => {
|
|
1196
1199
|
const targetElement = typeof target == "function" ? target() : target;
|
|
1197
1200
|
return (targetElement || ref.current) && (observer.current = new MutationObserver(callback), observer.current.observe(targetElement || ref.current, options)), () => {
|
|
@@ -2222,7 +2225,7 @@ function suppressNextjsWarning() {
|
|
|
2222
2225
|
};
|
|
2223
2226
|
}
|
|
2224
2227
|
function setColorSchemeAttribute(colorScheme, getRootElement) {
|
|
2225
|
-
const
|
|
2228
|
+
const hasDarkColorScheme = typeof window < "u" && "matchMedia" in window && window.matchMedia("(prefers-color-scheme: dark)").matches, computedColorScheme = colorScheme !== "auto" ? colorScheme : hasDarkColorScheme ? "dark" : "light";
|
|
2226
2229
|
getRootElement()?.setAttribute("data-mantine-color-scheme", computedColorScheme);
|
|
2227
2230
|
}
|
|
2228
2231
|
function useProviderColorScheme({
|
|
@@ -2231,7 +2234,7 @@ function useProviderColorScheme({
|
|
|
2231
2234
|
getRootElement,
|
|
2232
2235
|
forceColorScheme
|
|
2233
2236
|
}) {
|
|
2234
|
-
const media = useRef(), [value, setValue] = useState(() => manager.get(defaultColorScheme)), colorSchemeValue = forceColorScheme || value, setColorScheme = useCallback(
|
|
2237
|
+
const media = useRef(null), [value, setValue] = useState(() => manager.get(defaultColorScheme)), colorSchemeValue = forceColorScheme || value, setColorScheme = useCallback(
|
|
2235
2238
|
(colorScheme) => {
|
|
2236
2239
|
forceColorScheme || (setColorSchemeAttribute(colorScheme, getRootElement), setValue(colorScheme), manager.set(colorScheme));
|
|
2237
2240
|
},
|
|
@@ -2245,7 +2248,7 @@ function useProviderColorScheme({
|
|
|
2245
2248
|
if (forceColorScheme)
|
|
2246
2249
|
return setColorSchemeAttribute(forceColorScheme, getRootElement), () => {
|
|
2247
2250
|
};
|
|
2248
|
-
forceColorScheme === void 0 && setColorSchemeAttribute(value, getRootElement), media.current = window.matchMedia("(prefers-color-scheme: dark)");
|
|
2251
|
+
forceColorScheme === void 0 && setColorSchemeAttribute(value, getRootElement), typeof window < "u" && "matchMedia" in window && (media.current = window.matchMedia("(prefers-color-scheme: dark)"));
|
|
2249
2252
|
const listener = (event) => {
|
|
2250
2253
|
value === "auto" && setColorSchemeAttribute(event.matches ? "dark" : "light", getRootElement);
|
|
2251
2254
|
};
|
|
@@ -2589,7 +2592,7 @@ function disableTransition(nonce) {
|
|
|
2589
2592
|
return style.setAttribute("data-mantine-styles", "inline"), style.innerHTML = "*, *::before, *::after {transition: none !important;}", style.setAttribute("data-mantine-disable-transition", "true"), nonce && style.setAttribute("nonce", nonce), document.head.appendChild(style), () => document.querySelectorAll("[data-mantine-disable-transition]").forEach((element) => element.remove());
|
|
2590
2593
|
}
|
|
2591
2594
|
function useMantineColorScheme({ keepTransitions } = {}) {
|
|
2592
|
-
const clearStylesRef = useRef(), timeoutRef = useRef(), ctx = useContext(MantineContext), nonce = useMantineStyleNonce(), nonceValue = useRef(nonce?.());
|
|
2595
|
+
const clearStylesRef = useRef(noop), timeoutRef = useRef(-1), ctx = useContext(MantineContext), nonce = useMantineStyleNonce(), nonceValue = useRef(nonce?.());
|
|
2593
2596
|
if (!ctx)
|
|
2594
2597
|
throw new Error("[@mantine/core] MantineProvider was not found in tree");
|
|
2595
2598
|
const setColorScheme = (value) => {
|
|
@@ -3099,11 +3102,11 @@ const Corner = forwardRef((props, ref) => {
|
|
|
3099
3102
|
}), ScrollAreaCorner = forwardRef((props, ref) => {
|
|
3100
3103
|
const ctx = useScrollAreaContext(), hasBothScrollbarsVisible = !!(ctx.scrollbarX && ctx.scrollbarY);
|
|
3101
3104
|
return ctx.type !== "scroll" && hasBothScrollbarsVisible ? /* @__PURE__ */ jsx(Corner, { ...props, ref }) : null;
|
|
3102
|
-
}), defaultProps$
|
|
3105
|
+
}), defaultProps$1K = {
|
|
3103
3106
|
scrollHideDelay: 1e3,
|
|
3104
3107
|
type: "hover"
|
|
3105
3108
|
}, ScrollAreaRoot = forwardRef((_props, ref) => {
|
|
3106
|
-
const props = useProps("ScrollAreaRoot", defaultProps$
|
|
3109
|
+
const props = useProps("ScrollAreaRoot", defaultProps$1K, _props), { type, scrollHideDelay, scrollbars, ...others } = props, [scrollArea, setScrollArea] = useState(null), [viewport, setViewport] = useState(null), [content, setContent] = useState(null), [scrollbarX, setScrollbarX] = useState(null), [scrollbarY, setScrollbarY] = useState(null), [cornerWidth, setCornerWidth] = useState(0), [cornerHeight, setCornerHeight] = useState(0), [scrollbarXEnabled, setScrollbarXEnabled] = useState(!1), [scrollbarYEnabled, setScrollbarYEnabled] = useState(!1), rootRef = useMergedRef(ref, (node) => setScrollArea(node));
|
|
3107
3110
|
return /* @__PURE__ */ jsx(
|
|
3108
3111
|
ScrollAreaProvider,
|
|
3109
3112
|
{
|
|
@@ -3362,7 +3365,7 @@ const ScrollAreaScrollbarVisible = forwardRef((props, forwardedRef) => {
|
|
|
3362
3365
|
onThumbPositionChange: () => {
|
|
3363
3366
|
if (context.viewport && thumbRef.current) {
|
|
3364
3367
|
const scrollPos = context.viewport.scrollTop, offset2 = getThumbOffsetFromScroll(scrollPos, sizes2);
|
|
3365
|
-
sizes2.scrollbar.size === 0 ? thumbRef.current.style.opacity
|
|
3368
|
+
sizes2.scrollbar.size === 0 ? thumbRef.current.style.setProperty("--thumb-opacity", "0") : thumbRef.current.style.setProperty("--thumb-opacity", "1"), thumbRef.current.style.transform = `translate3d(0, ${offset2}px, 0)`;
|
|
3366
3369
|
}
|
|
3367
3370
|
},
|
|
3368
3371
|
onWheelScroll: (scrollPos) => {
|
|
@@ -3468,7 +3471,7 @@ function addUnlinkedScrollListener(node, handler = () => {
|
|
|
3468
3471
|
}(), () => window.cancelAnimationFrame(rAF);
|
|
3469
3472
|
}
|
|
3470
3473
|
const Thumb$1 = forwardRef((props, forwardedRef) => {
|
|
3471
|
-
const { style, ...others } = props, scrollAreaContext = useScrollAreaContext(), scrollbarContext = useScrollbarContext(), { onThumbPositionChange } = scrollbarContext, composedRef = useMergedRef(forwardedRef, (node) => scrollbarContext.onThumbChange(node)), removeUnlinkedScrollListenerRef = useRef(), debounceScrollEnd = useDebouncedCallback(() => {
|
|
3474
|
+
const { style, ...others } = props, scrollAreaContext = useScrollAreaContext(), scrollbarContext = useScrollbarContext(), { onThumbPositionChange } = scrollbarContext, composedRef = useMergedRef(forwardedRef, (node) => scrollbarContext.onThumbChange(node)), removeUnlinkedScrollListenerRef = useRef(noop), debounceScrollEnd = useDebouncedCallback(() => {
|
|
3472
3475
|
removeUnlinkedScrollListenerRef.current && (removeUnlinkedScrollListenerRef.current(), removeUnlinkedScrollListenerRef.current = void 0);
|
|
3473
3476
|
}, 100);
|
|
3474
3477
|
return useEffect(() => {
|
|
@@ -3529,16 +3532,16 @@ const ScrollAreaViewport = forwardRef(
|
|
|
3529
3532
|
);
|
|
3530
3533
|
ScrollAreaViewport.displayName = "@mantine/core/ScrollAreaViewport";
|
|
3531
3534
|
var __default__$J = { root: "m_d57069b5", viewport: "m_c0783ff9", viewportInner: "m_f8f631dd", scrollbar: "m_c44ba933", thumb: "m_d8b5e363", corner: "m_21657268" };
|
|
3532
|
-
const classes$J = __default__$J, defaultProps$
|
|
3535
|
+
const classes$J = __default__$J, defaultProps$1J = {
|
|
3533
3536
|
scrollHideDelay: 1e3,
|
|
3534
3537
|
type: "hover",
|
|
3535
3538
|
scrollbars: "xy"
|
|
3536
|
-
}, varsResolver$
|
|
3539
|
+
}, varsResolver$L = (_, { scrollbarSize }) => ({
|
|
3537
3540
|
root: {
|
|
3538
3541
|
"--scrollarea-scrollbar-size": rem(scrollbarSize)
|
|
3539
3542
|
}
|
|
3540
3543
|
}), ScrollArea = factory((_props, ref) => {
|
|
3541
|
-
const props = useProps("ScrollArea", defaultProps$
|
|
3544
|
+
const props = useProps("ScrollArea", defaultProps$1J, _props), {
|
|
3542
3545
|
classNames,
|
|
3543
3546
|
className,
|
|
3544
3547
|
style,
|
|
@@ -3567,7 +3570,7 @@ const classes$J = __default__$J, defaultProps$1H = {
|
|
|
3567
3570
|
styles,
|
|
3568
3571
|
unstyled,
|
|
3569
3572
|
vars,
|
|
3570
|
-
varsResolver: varsResolver$
|
|
3573
|
+
varsResolver: varsResolver$L
|
|
3571
3574
|
});
|
|
3572
3575
|
return /* @__PURE__ */ jsxs(
|
|
3573
3576
|
ScrollAreaRoot,
|
|
@@ -3653,7 +3656,7 @@ const ScrollAreaAutosize = factory((props, ref) => {
|
|
|
3653
3656
|
onBottomReached,
|
|
3654
3657
|
onTopReached,
|
|
3655
3658
|
...others
|
|
3656
|
-
} = useProps("ScrollAreaAutosize", defaultProps$
|
|
3659
|
+
} = useProps("ScrollAreaAutosize", defaultProps$1J, props);
|
|
3657
3660
|
return /* @__PURE__ */ jsx(Box, { ...others, ref, style: [{ display: "flex", overflow: "auto" }, style], children: /* @__PURE__ */ jsx(Box, { style: { display: "flex", flexDirection: "column", flex: 1 }, children: /* @__PURE__ */ jsx(
|
|
3658
3661
|
ScrollArea,
|
|
3659
3662
|
{
|
|
@@ -3682,11 +3685,11 @@ ScrollAreaAutosize.displayName = "@mantine/core/ScrollAreaAutosize";
|
|
|
3682
3685
|
ScrollAreaAutosize.classes = classes$J;
|
|
3683
3686
|
ScrollArea.Autosize = ScrollAreaAutosize;
|
|
3684
3687
|
var __default__$I = { root: "m_87cf2631" };
|
|
3685
|
-
const classes$I = __default__$I, defaultProps$
|
|
3688
|
+
const classes$I = __default__$I, defaultProps$1I = {
|
|
3686
3689
|
__staticSelector: "UnstyledButton"
|
|
3687
3690
|
}, UnstyledButton = polymorphicFactory(
|
|
3688
3691
|
(_props, ref) => {
|
|
3689
|
-
const props = useProps("UnstyledButton", defaultProps$
|
|
3692
|
+
const props = useProps("UnstyledButton", defaultProps$1I, _props), {
|
|
3690
3693
|
className,
|
|
3691
3694
|
component = "button",
|
|
3692
3695
|
__staticSelector,
|
|
@@ -3720,8 +3723,8 @@ const classes$I = __default__$I, defaultProps$1G = {
|
|
|
3720
3723
|
UnstyledButton.classes = classes$I;
|
|
3721
3724
|
UnstyledButton.displayName = "@mantine/core/UnstyledButton";
|
|
3722
3725
|
var __default__$H = { root: "m_515a97f8" };
|
|
3723
|
-
const classes$H = __default__$H, defaultProps$
|
|
3724
|
-
const props = useProps("VisuallyHidden", defaultProps$
|
|
3726
|
+
const classes$H = __default__$H, defaultProps$1H = {}, VisuallyHidden = factory((_props, ref) => {
|
|
3727
|
+
const props = useProps("VisuallyHidden", defaultProps$1H, _props), { classNames, className, style, styles, unstyled, vars, ...others } = props, getStyles2 = useStyles({
|
|
3725
3728
|
name: "VisuallyHidden",
|
|
3726
3729
|
classes: classes$H,
|
|
3727
3730
|
props,
|
|
@@ -3736,13 +3739,13 @@ const classes$H = __default__$H, defaultProps$1F = {}, VisuallyHidden = factory(
|
|
|
3736
3739
|
VisuallyHidden.classes = classes$H;
|
|
3737
3740
|
VisuallyHidden.displayName = "@mantine/core/VisuallyHidden";
|
|
3738
3741
|
var __default__$G = { root: "m_1b7284a3" };
|
|
3739
|
-
const classes$G = __default__$G, defaultProps$
|
|
3742
|
+
const classes$G = __default__$G, defaultProps$1G = {}, varsResolver$K = (_, { radius, shadow }) => ({
|
|
3740
3743
|
root: {
|
|
3741
3744
|
"--paper-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
3742
3745
|
"--paper-shadow": getShadow(shadow)
|
|
3743
3746
|
}
|
|
3744
3747
|
}), Paper = polymorphicFactory((_props, ref) => {
|
|
3745
|
-
const props = useProps("Paper", defaultProps$
|
|
3748
|
+
const props = useProps("Paper", defaultProps$1G, _props), {
|
|
3746
3749
|
classNames,
|
|
3747
3750
|
className,
|
|
3748
3751
|
style,
|
|
@@ -3765,7 +3768,7 @@ const classes$G = __default__$G, defaultProps$1E = {}, varsResolver$I = (_, { ra
|
|
|
3765
3768
|
styles,
|
|
3766
3769
|
unstyled,
|
|
3767
3770
|
vars,
|
|
3768
|
-
varsResolver: varsResolver$
|
|
3771
|
+
varsResolver: varsResolver$K
|
|
3769
3772
|
});
|
|
3770
3773
|
return /* @__PURE__ */ jsx(
|
|
3771
3774
|
Box,
|
|
@@ -5992,25 +5995,29 @@ function getArrowPositionStyles({
|
|
|
5992
5995
|
...horizontalSide(placement, arrowY, arrowOffset, arrowPosition),
|
|
5993
5996
|
right: arrowPlacement,
|
|
5994
5997
|
borderLeftColor: "transparent",
|
|
5995
|
-
borderBottomColor: "transparent"
|
|
5998
|
+
borderBottomColor: "transparent",
|
|
5999
|
+
clipPath: "polygon(100% 0, 0 0, 100% 100%)"
|
|
5996
6000
|
} : side === "right" ? {
|
|
5997
6001
|
...baseStyles,
|
|
5998
6002
|
...horizontalSide(placement, arrowY, arrowOffset, arrowPosition),
|
|
5999
6003
|
left: arrowPlacement,
|
|
6000
6004
|
borderRightColor: "transparent",
|
|
6001
|
-
borderTopColor: "transparent"
|
|
6005
|
+
borderTopColor: "transparent",
|
|
6006
|
+
clipPath: "polygon(0 100%, 0 0, 100% 100%)"
|
|
6002
6007
|
} : side === "top" ? {
|
|
6003
6008
|
...baseStyles,
|
|
6004
6009
|
...verticalSide(placement, arrowX, arrowOffset, arrowPosition, dir),
|
|
6005
6010
|
bottom: arrowPlacement,
|
|
6006
6011
|
borderTopColor: "transparent",
|
|
6007
|
-
borderLeftColor: "transparent"
|
|
6012
|
+
borderLeftColor: "transparent",
|
|
6013
|
+
clipPath: "polygon(0 100%, 100% 100%, 100% 0)"
|
|
6008
6014
|
} : side === "bottom" ? {
|
|
6009
6015
|
...baseStyles,
|
|
6010
6016
|
...verticalSide(placement, arrowX, arrowOffset, arrowPosition, dir),
|
|
6011
6017
|
top: arrowPlacement,
|
|
6012
6018
|
borderBottomColor: "transparent",
|
|
6013
|
-
borderRightColor: "transparent"
|
|
6019
|
+
borderRightColor: "transparent",
|
|
6020
|
+
clipPath: "polygon(0 100%, 0 0, 100% 0)"
|
|
6014
6021
|
} : {};
|
|
6015
6022
|
}
|
|
6016
6023
|
const FloatingArrow = forwardRef(
|
|
@@ -6072,8 +6079,8 @@ function createPortalNode(props) {
|
|
|
6072
6079
|
const node = document.createElement("div");
|
|
6073
6080
|
return node.setAttribute("data-portal", "true"), typeof props.className == "string" && node.classList.add(...props.className.split(" ").filter(Boolean)), typeof props.style == "object" && Object.assign(node.style, props.style), typeof props.id == "string" && node.setAttribute("id", props.id), node;
|
|
6074
6081
|
}
|
|
6075
|
-
const defaultProps$
|
|
6076
|
-
const { children, target, ...others } = useProps("Portal", defaultProps$
|
|
6082
|
+
const defaultProps$1F = {}, Portal = forwardRef((props, ref) => {
|
|
6083
|
+
const { children, target, ...others } = useProps("Portal", defaultProps$1F, props), [mounted, setMounted] = useState(!1), nodeRef = useRef(null);
|
|
6077
6084
|
return useIsomorphicEffect(() => (setMounted(!0), nodeRef.current = target ? typeof target == "string" ? document.querySelector(target) : target : createPortalNode(others), assignRef(ref, nodeRef.current), !target && nodeRef.current && document.body.appendChild(nodeRef.current), () => {
|
|
6078
6085
|
!target && nodeRef.current && document.body.removeChild(nodeRef.current);
|
|
6079
6086
|
}), [target]), !mounted || !nodeRef.current ? null : createPortal(/* @__PURE__ */ jsx(Fragment$1, { children }), nodeRef.current);
|
|
@@ -6317,8 +6324,8 @@ function Transition({
|
|
|
6317
6324
|
}
|
|
6318
6325
|
Transition.displayName = "@mantine/core/Transition";
|
|
6319
6326
|
var __default__$F = { dropdown: "m_38a85659", arrow: "m_a31dc6c1" };
|
|
6320
|
-
const classes$F = __default__$F, defaultProps$
|
|
6321
|
-
const props = useProps("PopoverDropdown", defaultProps$
|
|
6327
|
+
const classes$F = __default__$F, defaultProps$1E = {}, PopoverDropdown = factory((_props, ref) => {
|
|
6328
|
+
const props = useProps("PopoverDropdown", defaultProps$1E, _props), {
|
|
6322
6329
|
className,
|
|
6323
6330
|
style,
|
|
6324
6331
|
vars,
|
|
@@ -6406,13 +6413,13 @@ const classes$F = __default__$F, defaultProps$1C = {}, PopoverDropdown = factory
|
|
|
6406
6413
|
});
|
|
6407
6414
|
PopoverDropdown.classes = classes$F;
|
|
6408
6415
|
PopoverDropdown.displayName = "@mantine/core/PopoverDropdown";
|
|
6409
|
-
const defaultProps$
|
|
6416
|
+
const defaultProps$1D = {
|
|
6410
6417
|
refProp: "ref",
|
|
6411
6418
|
popupType: "dialog"
|
|
6412
6419
|
}, PopoverTarget = factory((props, ref) => {
|
|
6413
6420
|
const { children, refProp, popupType, ...others } = useProps(
|
|
6414
6421
|
"PopoverTarget",
|
|
6415
|
-
defaultProps$
|
|
6422
|
+
defaultProps$1D,
|
|
6416
6423
|
props
|
|
6417
6424
|
);
|
|
6418
6425
|
if (!isElement$1(children))
|
|
@@ -6429,7 +6436,11 @@ const defaultProps$1B = {
|
|
|
6429
6436
|
...forwardedProps,
|
|
6430
6437
|
...accessibleProps,
|
|
6431
6438
|
...ctx.targetProps,
|
|
6432
|
-
className: clsx(
|
|
6439
|
+
className: clsx(
|
|
6440
|
+
ctx.targetProps.className,
|
|
6441
|
+
forwardedProps.className,
|
|
6442
|
+
children.props.className
|
|
6443
|
+
),
|
|
6433
6444
|
[refProp]: targetRef,
|
|
6434
6445
|
...ctx.controlled ? null : { onClick: ctx.onToggle }
|
|
6435
6446
|
});
|
|
@@ -6522,7 +6533,7 @@ function usePopover(options) {
|
|
|
6522
6533
|
onToggle
|
|
6523
6534
|
};
|
|
6524
6535
|
}
|
|
6525
|
-
const defaultProps$
|
|
6536
|
+
const defaultProps$1C = {
|
|
6526
6537
|
position: "bottom",
|
|
6527
6538
|
offset: 8,
|
|
6528
6539
|
positionDependencies: [],
|
|
@@ -6542,14 +6553,14 @@ const defaultProps$1A = {
|
|
|
6542
6553
|
zIndex: getDefaultZIndex("popover"),
|
|
6543
6554
|
__staticSelector: "Popover",
|
|
6544
6555
|
width: "max-content"
|
|
6545
|
-
}, varsResolver$
|
|
6556
|
+
}, varsResolver$J = (_, { radius, shadow }) => ({
|
|
6546
6557
|
dropdown: {
|
|
6547
6558
|
"--popover-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
6548
6559
|
"--popover-shadow": getShadow(shadow)
|
|
6549
6560
|
}
|
|
6550
6561
|
});
|
|
6551
6562
|
function Popover(_props) {
|
|
6552
|
-
const props = useProps("Popover", defaultProps$
|
|
6563
|
+
const props = useProps("Popover", defaultProps$1C, _props), {
|
|
6553
6564
|
children,
|
|
6554
6565
|
position,
|
|
6555
6566
|
offset: offset2,
|
|
@@ -6557,6 +6568,8 @@ function Popover(_props) {
|
|
|
6557
6568
|
positionDependencies,
|
|
6558
6569
|
opened,
|
|
6559
6570
|
transitionProps,
|
|
6571
|
+
onExitTransitionEnd,
|
|
6572
|
+
onEnterTransitionEnd,
|
|
6560
6573
|
width,
|
|
6561
6574
|
middlewares,
|
|
6562
6575
|
withArrow,
|
|
@@ -6599,7 +6612,7 @@ function Popover(_props) {
|
|
|
6599
6612
|
unstyled,
|
|
6600
6613
|
rootSelector: "dropdown",
|
|
6601
6614
|
vars,
|
|
6602
|
-
varsResolver: varsResolver$
|
|
6615
|
+
varsResolver: varsResolver$J
|
|
6603
6616
|
}), { resolvedStyles } = useResolvedStylesApi({ classNames, styles, props }), arrowRef = useRef(null), [targetNode, setTargetNode] = useState(null), [dropdownNode, setDropdownNode] = useState(null), { dir } = useDirection(), uid = useId$1(id), popover = usePopover({
|
|
6604
6617
|
middlewares,
|
|
6605
6618
|
width,
|
|
@@ -6630,7 +6643,11 @@ function Popover(_props) {
|
|
|
6630
6643
|
setDropdownNode(node), popover.floating.refs.setFloating(node);
|
|
6631
6644
|
},
|
|
6632
6645
|
[popover.floating.refs.setFloating]
|
|
6633
|
-
)
|
|
6646
|
+
), onExited = useCallback(() => {
|
|
6647
|
+
transitionProps?.onExited?.(), onExitTransitionEnd?.();
|
|
6648
|
+
}, [transitionProps?.onExited, onExitTransitionEnd]), onEntered = useCallback(() => {
|
|
6649
|
+
transitionProps?.onEntered?.(), onEnterTransitionEnd?.();
|
|
6650
|
+
}, [transitionProps?.onEntered, onEnterTransitionEnd]);
|
|
6634
6651
|
return /* @__PURE__ */ jsx(
|
|
6635
6652
|
PopoverContextProvider,
|
|
6636
6653
|
{
|
|
@@ -6646,7 +6663,7 @@ function Popover(_props) {
|
|
|
6646
6663
|
arrowY: popover.floating?.middlewareData?.arrow?.y,
|
|
6647
6664
|
opened: popover.opened,
|
|
6648
6665
|
arrowRef,
|
|
6649
|
-
transitionProps,
|
|
6666
|
+
transitionProps: { ...transitionProps, onExited, onEntered },
|
|
6650
6667
|
width,
|
|
6651
6668
|
withArrow,
|
|
6652
6669
|
arrowSize,
|
|
@@ -6704,16 +6721,16 @@ const defaultLoaders = {
|
|
|
6704
6721
|
bars: Bars,
|
|
6705
6722
|
oval: Oval,
|
|
6706
6723
|
dots: Dots
|
|
6707
|
-
}, defaultProps$
|
|
6724
|
+
}, defaultProps$1B = {
|
|
6708
6725
|
loaders: defaultLoaders,
|
|
6709
6726
|
type: "oval"
|
|
6710
|
-
}, varsResolver$
|
|
6727
|
+
}, varsResolver$I = (theme, { size: size2, color }) => ({
|
|
6711
6728
|
root: {
|
|
6712
6729
|
"--loader-size": getSize(size2, "loader-size"),
|
|
6713
6730
|
"--loader-color": color ? getThemeColor(color, theme) : void 0
|
|
6714
6731
|
}
|
|
6715
6732
|
}), Loader = factory((_props, ref) => {
|
|
6716
|
-
const props = useProps("Loader", defaultProps$
|
|
6733
|
+
const props = useProps("Loader", defaultProps$1B, _props), {
|
|
6717
6734
|
size: size2,
|
|
6718
6735
|
color,
|
|
6719
6736
|
type,
|
|
@@ -6737,7 +6754,7 @@ const defaultLoaders = {
|
|
|
6737
6754
|
styles,
|
|
6738
6755
|
unstyled,
|
|
6739
6756
|
vars,
|
|
6740
|
-
varsResolver: varsResolver$
|
|
6757
|
+
varsResolver: varsResolver$I
|
|
6741
6758
|
});
|
|
6742
6759
|
return children ? /* @__PURE__ */ jsx(Box, { ...getStyles2("root"), ref, ...others, children }) : /* @__PURE__ */ jsx(
|
|
6743
6760
|
Box,
|
|
@@ -6754,13 +6771,13 @@ const defaultLoaders = {
|
|
|
6754
6771
|
Loader.defaultLoaders = defaultLoaders;
|
|
6755
6772
|
Loader.classes = classes$E;
|
|
6756
6773
|
Loader.displayName = "@mantine/core/Loader";
|
|
6757
|
-
var __default__$D = { root: "m_8d3f4000", icon: "m_8d3afb97", loader: "m_302b9fb1", group: "m_1a0f1b21" };
|
|
6758
|
-
const classes$D = __default__$D, defaultProps$
|
|
6774
|
+
var __default__$D = { root: "m_8d3f4000", icon: "m_8d3afb97", loader: "m_302b9fb1", group: "m_1a0f1b21", groupSection: "m_437b6484" };
|
|
6775
|
+
const classes$D = __default__$D, defaultProps$1A = {
|
|
6759
6776
|
orientation: "horizontal"
|
|
6760
|
-
}, varsResolver$
|
|
6777
|
+
}, varsResolver$H = (_, { borderWidth }) => ({
|
|
6761
6778
|
group: { "--ai-border-width": rem(borderWidth) }
|
|
6762
6779
|
}), ActionIconGroup = factory((_props, ref) => {
|
|
6763
|
-
const props = useProps("ActionIconGroup", defaultProps$
|
|
6780
|
+
const props = useProps("ActionIconGroup", defaultProps$1A, _props), {
|
|
6764
6781
|
className,
|
|
6765
6782
|
style,
|
|
6766
6783
|
classNames,
|
|
@@ -6772,7 +6789,7 @@ const classes$D = __default__$D, defaultProps$1y = {
|
|
|
6772
6789
|
variant,
|
|
6773
6790
|
mod,
|
|
6774
6791
|
...others
|
|
6775
|
-
} = useProps("ActionIconGroup", defaultProps$
|
|
6792
|
+
} = useProps("ActionIconGroup", defaultProps$1A, _props), getStyles2 = useStyles({
|
|
6776
6793
|
name: "ActionIconGroup",
|
|
6777
6794
|
props,
|
|
6778
6795
|
classes: classes$D,
|
|
@@ -6782,7 +6799,7 @@ const classes$D = __default__$D, defaultProps$1y = {
|
|
|
6782
6799
|
styles,
|
|
6783
6800
|
unstyled,
|
|
6784
6801
|
vars,
|
|
6785
|
-
varsResolver: varsResolver$
|
|
6802
|
+
varsResolver: varsResolver$H,
|
|
6786
6803
|
rootSelector: "group"
|
|
6787
6804
|
});
|
|
6788
6805
|
return /* @__PURE__ */ jsx(
|
|
@@ -6799,7 +6816,56 @@ const classes$D = __default__$D, defaultProps$1y = {
|
|
|
6799
6816
|
});
|
|
6800
6817
|
ActionIconGroup.classes = classes$D;
|
|
6801
6818
|
ActionIconGroup.displayName = "@mantine/core/ActionIconGroup";
|
|
6802
|
-
const defaultProps$
|
|
6819
|
+
const defaultProps$1z = {}, varsResolver$G = (theme, { radius, color, gradient, variant, autoContrast, size: size2 }) => {
|
|
6820
|
+
const colors = theme.variantColorResolver({
|
|
6821
|
+
color: color || theme.primaryColor,
|
|
6822
|
+
theme,
|
|
6823
|
+
gradient,
|
|
6824
|
+
variant: variant || "filled",
|
|
6825
|
+
autoContrast
|
|
6826
|
+
});
|
|
6827
|
+
return {
|
|
6828
|
+
groupSection: {
|
|
6829
|
+
"--section-height": getSize(size2, "section-height"),
|
|
6830
|
+
"--section-padding-x": getSize(size2, "section-padding-x"),
|
|
6831
|
+
"--section-fz": getFontSize(size2),
|
|
6832
|
+
"--section-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
6833
|
+
"--section-bg": color || variant ? colors.background : void 0,
|
|
6834
|
+
"--section-color": colors.color,
|
|
6835
|
+
"--section-bd": color || variant ? colors.border : void 0
|
|
6836
|
+
}
|
|
6837
|
+
};
|
|
6838
|
+
}, ActionIconGroupSection = factory((_props, ref) => {
|
|
6839
|
+
const props = useProps("ActionIconGroupSection", defaultProps$1z, _props), {
|
|
6840
|
+
className,
|
|
6841
|
+
style,
|
|
6842
|
+
classNames,
|
|
6843
|
+
styles,
|
|
6844
|
+
unstyled,
|
|
6845
|
+
vars,
|
|
6846
|
+
variant,
|
|
6847
|
+
gradient,
|
|
6848
|
+
radius,
|
|
6849
|
+
autoContrast,
|
|
6850
|
+
...others
|
|
6851
|
+
} = useProps("ActionIconGroupSection", defaultProps$1z, _props), getStyles2 = useStyles({
|
|
6852
|
+
name: "ActionIconGroupSection",
|
|
6853
|
+
props,
|
|
6854
|
+
classes: classes$D,
|
|
6855
|
+
className,
|
|
6856
|
+
style,
|
|
6857
|
+
classNames,
|
|
6858
|
+
styles,
|
|
6859
|
+
unstyled,
|
|
6860
|
+
vars,
|
|
6861
|
+
varsResolver: varsResolver$G,
|
|
6862
|
+
rootSelector: "groupSection"
|
|
6863
|
+
});
|
|
6864
|
+
return /* @__PURE__ */ jsx(Box, { ...getStyles2("groupSection"), ref, variant, ...others });
|
|
6865
|
+
});
|
|
6866
|
+
ActionIconGroupSection.classes = classes$D;
|
|
6867
|
+
ActionIconGroupSection.displayName = "@mantine/core/ActionIconGroupSection";
|
|
6868
|
+
const defaultProps$1y = {}, varsResolver$F = (theme, { size: size2, radius, variant, gradient, color, autoContrast }) => {
|
|
6803
6869
|
const colors = theme.variantColorResolver({
|
|
6804
6870
|
color: color || theme.primaryColor,
|
|
6805
6871
|
theme,
|
|
@@ -6819,7 +6885,7 @@ const defaultProps$1x = {}, varsResolver$E = (theme, { size: size2, radius, vari
|
|
|
6819
6885
|
}
|
|
6820
6886
|
};
|
|
6821
6887
|
}, ActionIcon = polymorphicFactory((_props, ref) => {
|
|
6822
|
-
const props = useProps("ActionIcon", defaultProps$
|
|
6888
|
+
const props = useProps("ActionIcon", defaultProps$1y, _props), {
|
|
6823
6889
|
className,
|
|
6824
6890
|
unstyled,
|
|
6825
6891
|
variant,
|
|
@@ -6850,7 +6916,7 @@ const defaultProps$1x = {}, varsResolver$E = (theme, { size: size2, radius, vari
|
|
|
6850
6916
|
styles,
|
|
6851
6917
|
unstyled,
|
|
6852
6918
|
vars,
|
|
6853
|
-
varsResolver: varsResolver$
|
|
6919
|
+
varsResolver: varsResolver$F
|
|
6854
6920
|
});
|
|
6855
6921
|
return /* @__PURE__ */ jsxs(
|
|
6856
6922
|
UnstyledButton,
|
|
@@ -6873,6 +6939,7 @@ const defaultProps$1x = {}, varsResolver$E = (theme, { size: size2, radius, vari
|
|
|
6873
6939
|
ActionIcon.classes = classes$D;
|
|
6874
6940
|
ActionIcon.displayName = "@mantine/core/ActionIcon";
|
|
6875
6941
|
ActionIcon.Group = ActionIconGroup;
|
|
6942
|
+
ActionIcon.GroupSection = ActionIconGroupSection;
|
|
6876
6943
|
const CloseIcon = forwardRef(
|
|
6877
6944
|
({ size: size2 = "var(--cb-icon-size, 70%)", style, ...others }, ref) => /* @__PURE__ */ jsx(
|
|
6878
6945
|
"svg",
|
|
@@ -6897,16 +6964,16 @@ const CloseIcon = forwardRef(
|
|
|
6897
6964
|
);
|
|
6898
6965
|
CloseIcon.displayName = "@mantine/core/CloseIcon";
|
|
6899
6966
|
var __default__$C = { root: "m_86a44da5", "root--subtle": "m_220c80f2" };
|
|
6900
|
-
const classes$C = __default__$C, defaultProps$
|
|
6967
|
+
const classes$C = __default__$C, defaultProps$1x = {
|
|
6901
6968
|
variant: "subtle"
|
|
6902
|
-
}, varsResolver$
|
|
6969
|
+
}, varsResolver$E = (_, { size: size2, radius, iconSize }) => ({
|
|
6903
6970
|
root: {
|
|
6904
6971
|
"--cb-size": getSize(size2, "cb-size"),
|
|
6905
6972
|
"--cb-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
6906
6973
|
"--cb-icon-size": rem(iconSize)
|
|
6907
6974
|
}
|
|
6908
6975
|
}), CloseButton = polymorphicFactory((_props, ref) => {
|
|
6909
|
-
const props = useProps("CloseButton", defaultProps$
|
|
6976
|
+
const props = useProps("CloseButton", defaultProps$1x, _props), {
|
|
6910
6977
|
iconSize,
|
|
6911
6978
|
children,
|
|
6912
6979
|
vars,
|
|
@@ -6932,7 +6999,7 @@ const classes$C = __default__$C, defaultProps$1w = {
|
|
|
6932
6999
|
styles,
|
|
6933
7000
|
unstyled,
|
|
6934
7001
|
vars,
|
|
6935
|
-
varsResolver: varsResolver$
|
|
7002
|
+
varsResolver: varsResolver$E
|
|
6936
7003
|
});
|
|
6937
7004
|
return /* @__PURE__ */ jsxs(
|
|
6938
7005
|
UnstyledButton,
|
|
@@ -6957,13 +7024,13 @@ function filterFalsyChildren(children) {
|
|
|
6957
7024
|
return Children.toArray(children).filter(Boolean);
|
|
6958
7025
|
}
|
|
6959
7026
|
var __default__$B = { root: "m_4081bf90" };
|
|
6960
|
-
const classes$B = __default__$B, defaultProps$
|
|
7027
|
+
const classes$B = __default__$B, defaultProps$1w = {
|
|
6961
7028
|
preventGrowOverflow: !0,
|
|
6962
7029
|
gap: "md",
|
|
6963
7030
|
align: "center",
|
|
6964
7031
|
justify: "flex-start",
|
|
6965
7032
|
wrap: "wrap"
|
|
6966
|
-
}, varsResolver$
|
|
7033
|
+
}, varsResolver$D = (_, { grow, preventGrowOverflow, gap, align, justify, wrap }, { childWidth }) => ({
|
|
6967
7034
|
root: {
|
|
6968
7035
|
"--group-child-width": grow && preventGrowOverflow ? childWidth : void 0,
|
|
6969
7036
|
"--group-gap": getSpacing(gap),
|
|
@@ -6972,7 +7039,7 @@ const classes$B = __default__$B, defaultProps$1v = {
|
|
|
6972
7039
|
"--group-wrap": wrap
|
|
6973
7040
|
}
|
|
6974
7041
|
}), Group = factory((_props, ref) => {
|
|
6975
|
-
const props = useProps("Group", defaultProps$
|
|
7042
|
+
const props = useProps("Group", defaultProps$1w, _props), {
|
|
6976
7043
|
classNames,
|
|
6977
7044
|
className,
|
|
6978
7045
|
style,
|
|
@@ -7001,7 +7068,7 @@ const classes$B = __default__$B, defaultProps$1v = {
|
|
|
7001
7068
|
styles,
|
|
7002
7069
|
unstyled,
|
|
7003
7070
|
vars,
|
|
7004
|
-
varsResolver: varsResolver$
|
|
7071
|
+
varsResolver: varsResolver$D
|
|
7005
7072
|
});
|
|
7006
7073
|
return /* @__PURE__ */ jsx(
|
|
7007
7074
|
Box,
|
|
@@ -7019,9 +7086,9 @@ const classes$B = __default__$B, defaultProps$1v = {
|
|
|
7019
7086
|
Group.classes = classes$B;
|
|
7020
7087
|
Group.displayName = "@mantine/core/Group";
|
|
7021
7088
|
var __default__$A = { root: "m_9814e45f" };
|
|
7022
|
-
const classes$A = __default__$A, defaultProps$
|
|
7089
|
+
const classes$A = __default__$A, defaultProps$1v = {
|
|
7023
7090
|
zIndex: getDefaultZIndex("modal")
|
|
7024
|
-
}, varsResolver$
|
|
7091
|
+
}, varsResolver$C = (_, { gradient, color, backgroundOpacity, blur, radius, zIndex }) => ({
|
|
7025
7092
|
root: {
|
|
7026
7093
|
"--overlay-bg": gradient || (color !== void 0 || backgroundOpacity !== void 0) && rgba(color || "#000", backgroundOpacity ?? 0.6) || void 0,
|
|
7027
7094
|
"--overlay-filter": blur ? `blur(${rem(blur)})` : void 0,
|
|
@@ -7029,7 +7096,7 @@ const classes$A = __default__$A, defaultProps$1u = {
|
|
|
7029
7096
|
"--overlay-z-index": zIndex?.toString()
|
|
7030
7097
|
}
|
|
7031
7098
|
}), Overlay = polymorphicFactory((_props, ref) => {
|
|
7032
|
-
const props = useProps("Overlay", defaultProps$
|
|
7099
|
+
const props = useProps("Overlay", defaultProps$1v, _props), {
|
|
7033
7100
|
classNames,
|
|
7034
7101
|
className,
|
|
7035
7102
|
style,
|
|
@@ -7057,7 +7124,7 @@ const classes$A = __default__$A, defaultProps$1u = {
|
|
|
7057
7124
|
styles,
|
|
7058
7125
|
unstyled,
|
|
7059
7126
|
vars,
|
|
7060
|
-
varsResolver: varsResolver$
|
|
7127
|
+
varsResolver: varsResolver$C
|
|
7061
7128
|
});
|
|
7062
7129
|
return /* @__PURE__ */ jsx(Box, { ref, ...getStyles2("root"), mod: [{ center, fixed }, mod], ...others, children });
|
|
7063
7130
|
});
|
|
@@ -7067,7 +7134,7 @@ const [ModalBaseProvider, useModalBaseContext] = createSafeContext(
|
|
|
7067
7134
|
"ModalBase component was not found in tree"
|
|
7068
7135
|
);
|
|
7069
7136
|
function useLockScroll({ opened, transitionDuration }) {
|
|
7070
|
-
const [shouldLockScroll, setShouldLockScroll] = useState(opened), timeout = useRef(), _transitionDuration = useReducedMotion() ? 0 : transitionDuration;
|
|
7137
|
+
const [shouldLockScroll, setShouldLockScroll] = useState(opened), timeout = useRef(-1), _transitionDuration = useReducedMotion() ? 0 : transitionDuration;
|
|
7071
7138
|
return useEffect(() => (opened ? (setShouldLockScroll(!0), window.clearTimeout(timeout.current)) : _transitionDuration === 0 ? setShouldLockScroll(!1) : timeout.current = window.setTimeout(() => setShouldLockScroll(!1), _transitionDuration), () => window.clearTimeout(timeout.current)), [opened, _transitionDuration]), shouldLockScroll;
|
|
7072
7139
|
}
|
|
7073
7140
|
function useModal({
|
|
@@ -7102,6 +7169,8 @@ const ModalBase = forwardRef(
|
|
|
7102
7169
|
onClose,
|
|
7103
7170
|
id,
|
|
7104
7171
|
transitionProps,
|
|
7172
|
+
onExitTransitionEnd,
|
|
7173
|
+
onEnterTransitionEnd,
|
|
7105
7174
|
trapFocus,
|
|
7106
7175
|
closeOnEscape: closeOnEscape2,
|
|
7107
7176
|
returnFocus,
|
|
@@ -7126,6 +7195,8 @@ const ModalBase = forwardRef(
|
|
|
7126
7195
|
opened,
|
|
7127
7196
|
onClose,
|
|
7128
7197
|
closeOnClickOutside,
|
|
7198
|
+
onExitTransitionEnd,
|
|
7199
|
+
onEnterTransitionEnd,
|
|
7129
7200
|
transitionProps: { ...transitionProps, keepMounted },
|
|
7130
7201
|
getTitleId: () => `${_id}-title`,
|
|
7131
7202
|
getBodyId: () => `${_id}-body`,
|
|
@@ -7212,6 +7283,12 @@ const ModalBaseContent = forwardRef(
|
|
|
7212
7283
|
mounted: ctx.opened,
|
|
7213
7284
|
transition: "pop",
|
|
7214
7285
|
...ctx.transitionProps,
|
|
7286
|
+
onExited: () => {
|
|
7287
|
+
ctx.onExitTransitionEnd?.(), ctx.transitionProps?.onExited?.();
|
|
7288
|
+
},
|
|
7289
|
+
onEntered: () => {
|
|
7290
|
+
ctx.onEnterTransitionEnd?.(), ctx.transitionProps?.onEntered?.();
|
|
7291
|
+
},
|
|
7215
7292
|
...transitionProps,
|
|
7216
7293
|
children: (transitionStyles) => /* @__PURE__ */ jsx(
|
|
7217
7294
|
"div",
|
|
@@ -7325,12 +7402,12 @@ const [InputWrapperProvider, useInputWrapperContext] = createOptionalContext({
|
|
|
7325
7402
|
labelId: void 0
|
|
7326
7403
|
});
|
|
7327
7404
|
var __default__$y = { wrapper: "m_6c018570", input: "m_8fb7ebe7", section: "m_82577fc2", placeholder: "m_88bacfd0", root: "m_46b77525", label: "m_8fdc1311", required: "m_78a94662", error: "m_8f816625", description: "m_fe47ce59" };
|
|
7328
|
-
const classes$y = __default__$y, defaultProps$
|
|
7405
|
+
const classes$y = __default__$y, defaultProps$1u = {}, varsResolver$B = (_, { size: size2 }) => ({
|
|
7329
7406
|
description: {
|
|
7330
7407
|
"--input-description-size": size2 === void 0 ? void 0 : `calc(${getFontSize(size2)} - ${rem(2)})`
|
|
7331
7408
|
}
|
|
7332
7409
|
}), InputDescription = factory((_props, ref) => {
|
|
7333
|
-
const props = useProps("InputDescription", defaultProps$
|
|
7410
|
+
const props = useProps("InputDescription", defaultProps$1u, _props), {
|
|
7334
7411
|
classNames,
|
|
7335
7412
|
className,
|
|
7336
7413
|
style,
|
|
@@ -7342,7 +7419,7 @@ const classes$y = __default__$y, defaultProps$1t = {}, varsResolver$A = (_, { si
|
|
|
7342
7419
|
__inheritStyles = !0,
|
|
7343
7420
|
variant,
|
|
7344
7421
|
...others
|
|
7345
|
-
} = useProps("InputDescription", defaultProps$
|
|
7422
|
+
} = useProps("InputDescription", defaultProps$1u, props), ctx = useInputWrapperContext(), _getStyles = useStyles({
|
|
7346
7423
|
name: ["InputWrapper", __staticSelector],
|
|
7347
7424
|
props,
|
|
7348
7425
|
classes: classes$y,
|
|
@@ -7353,7 +7430,7 @@ const classes$y = __default__$y, defaultProps$1t = {}, varsResolver$A = (_, { si
|
|
|
7353
7430
|
unstyled,
|
|
7354
7431
|
rootSelector: "description",
|
|
7355
7432
|
vars,
|
|
7356
|
-
varsResolver: varsResolver$
|
|
7433
|
+
varsResolver: varsResolver$B
|
|
7357
7434
|
}), getStyles2 = __inheritStyles && ctx?.getStyles || _getStyles;
|
|
7358
7435
|
return /* @__PURE__ */ jsx(
|
|
7359
7436
|
Box,
|
|
@@ -7369,12 +7446,12 @@ const classes$y = __default__$y, defaultProps$1t = {}, varsResolver$A = (_, { si
|
|
|
7369
7446
|
});
|
|
7370
7447
|
InputDescription.classes = classes$y;
|
|
7371
7448
|
InputDescription.displayName = "@mantine/core/InputDescription";
|
|
7372
|
-
const defaultProps$
|
|
7449
|
+
const defaultProps$1t = {}, varsResolver$A = (_, { size: size2 }) => ({
|
|
7373
7450
|
error: {
|
|
7374
7451
|
"--input-error-size": size2 === void 0 ? void 0 : `calc(${getFontSize(size2)} - ${rem(2)})`
|
|
7375
7452
|
}
|
|
7376
7453
|
}), InputError = factory((_props, ref) => {
|
|
7377
|
-
const props = useProps("InputError", defaultProps$
|
|
7454
|
+
const props = useProps("InputError", defaultProps$1t, _props), {
|
|
7378
7455
|
classNames,
|
|
7379
7456
|
className,
|
|
7380
7457
|
style,
|
|
@@ -7397,7 +7474,7 @@ const defaultProps$1s = {}, varsResolver$z = (_, { size: size2 }) => ({
|
|
|
7397
7474
|
unstyled,
|
|
7398
7475
|
rootSelector: "error",
|
|
7399
7476
|
vars,
|
|
7400
|
-
varsResolver: varsResolver$
|
|
7477
|
+
varsResolver: varsResolver$A
|
|
7401
7478
|
}), ctx = useInputWrapperContext(), getStyles2 = __inheritStyles && ctx?.getStyles || _getStyles;
|
|
7402
7479
|
return /* @__PURE__ */ jsx(
|
|
7403
7480
|
Box,
|
|
@@ -7413,15 +7490,15 @@ const defaultProps$1s = {}, varsResolver$z = (_, { size: size2 }) => ({
|
|
|
7413
7490
|
});
|
|
7414
7491
|
InputError.classes = classes$y;
|
|
7415
7492
|
InputError.displayName = "@mantine/core/InputError";
|
|
7416
|
-
const defaultProps$
|
|
7493
|
+
const defaultProps$1s = {
|
|
7417
7494
|
labelElement: "label"
|
|
7418
|
-
}, varsResolver$
|
|
7495
|
+
}, varsResolver$z = (_, { size: size2 }) => ({
|
|
7419
7496
|
label: {
|
|
7420
7497
|
"--input-label-size": getFontSize(size2),
|
|
7421
7498
|
"--input-asterisk-color": void 0
|
|
7422
7499
|
}
|
|
7423
7500
|
}), InputLabel = factory((_props, ref) => {
|
|
7424
|
-
const props = useProps("InputLabel", defaultProps$
|
|
7501
|
+
const props = useProps("InputLabel", defaultProps$1s, _props), {
|
|
7425
7502
|
classNames,
|
|
7426
7503
|
className,
|
|
7427
7504
|
style,
|
|
@@ -7438,7 +7515,7 @@ const defaultProps$1r = {
|
|
|
7438
7515
|
variant,
|
|
7439
7516
|
mod,
|
|
7440
7517
|
...others
|
|
7441
|
-
} = useProps("InputLabel", defaultProps$
|
|
7518
|
+
} = useProps("InputLabel", defaultProps$1s, props), _getStyles = useStyles({
|
|
7442
7519
|
name: ["InputWrapper", __staticSelector],
|
|
7443
7520
|
props,
|
|
7444
7521
|
classes: classes$y,
|
|
@@ -7449,7 +7526,7 @@ const defaultProps$1r = {
|
|
|
7449
7526
|
unstyled,
|
|
7450
7527
|
rootSelector: "label",
|
|
7451
7528
|
vars,
|
|
7452
|
-
varsResolver: varsResolver$
|
|
7529
|
+
varsResolver: varsResolver$z
|
|
7453
7530
|
}), ctx = useInputWrapperContext(), getStyles2 = ctx?.getStyles || _getStyles;
|
|
7454
7531
|
return /* @__PURE__ */ jsxs(
|
|
7455
7532
|
Box,
|
|
@@ -7474,8 +7551,8 @@ const defaultProps$1r = {
|
|
|
7474
7551
|
});
|
|
7475
7552
|
InputLabel.classes = classes$y;
|
|
7476
7553
|
InputLabel.displayName = "@mantine/core/InputLabel";
|
|
7477
|
-
const defaultProps$
|
|
7478
|
-
const props = useProps("InputPlaceholder", defaultProps$
|
|
7554
|
+
const defaultProps$1r = {}, InputPlaceholder = factory((_props, ref) => {
|
|
7555
|
+
const props = useProps("InputPlaceholder", defaultProps$1r, _props), {
|
|
7479
7556
|
classNames,
|
|
7480
7557
|
className,
|
|
7481
7558
|
style,
|
|
@@ -7487,7 +7564,7 @@ const defaultProps$1q = {}, InputPlaceholder = factory((_props, ref) => {
|
|
|
7487
7564
|
error,
|
|
7488
7565
|
mod,
|
|
7489
7566
|
...others
|
|
7490
|
-
} = useProps("InputPlaceholder", defaultProps$
|
|
7567
|
+
} = useProps("InputPlaceholder", defaultProps$1r, props), getStyles2 = useStyles({
|
|
7491
7568
|
name: ["InputPlaceholder", __staticSelector],
|
|
7492
7569
|
props,
|
|
7493
7570
|
classes: classes$y,
|
|
@@ -7516,11 +7593,11 @@ function getInputOffsets(inputWrapperOrder, { hasDescription, hasError }) {
|
|
|
7516
7593
|
const inputIndex = inputWrapperOrder.findIndex((part) => part === "input"), aboveInput = inputWrapperOrder.slice(0, inputIndex), belowInput = inputWrapperOrder.slice(inputIndex + 1), offsetTop = hasDescription && aboveInput.includes("description") || hasError && aboveInput.includes("error");
|
|
7517
7594
|
return { offsetBottom: hasDescription && belowInput.includes("description") || hasError && belowInput.includes("error"), offsetTop };
|
|
7518
7595
|
}
|
|
7519
|
-
const defaultProps$
|
|
7596
|
+
const defaultProps$1q = {
|
|
7520
7597
|
labelElement: "label",
|
|
7521
7598
|
inputContainer: (children) => children,
|
|
7522
7599
|
inputWrapperOrder: ["label", "description", "input", "error"]
|
|
7523
|
-
}, varsResolver$
|
|
7600
|
+
}, varsResolver$y = (_, { size: size2 }) => ({
|
|
7524
7601
|
label: {
|
|
7525
7602
|
"--input-label-size": getFontSize(size2),
|
|
7526
7603
|
"--input-asterisk-color": void 0
|
|
@@ -7532,7 +7609,7 @@ const defaultProps$1p = {
|
|
|
7532
7609
|
"--input-description-size": size2 === void 0 ? void 0 : `calc(${getFontSize(size2)} - ${rem(2)})`
|
|
7533
7610
|
}
|
|
7534
7611
|
}), InputWrapper = factory((_props, ref) => {
|
|
7535
|
-
const props = useProps("InputWrapper", defaultProps$
|
|
7612
|
+
const props = useProps("InputWrapper", defaultProps$1q, _props), {
|
|
7536
7613
|
classNames,
|
|
7537
7614
|
className,
|
|
7538
7615
|
style,
|
|
@@ -7568,7 +7645,7 @@ const defaultProps$1p = {
|
|
|
7568
7645
|
styles,
|
|
7569
7646
|
unstyled,
|
|
7570
7647
|
vars,
|
|
7571
|
-
varsResolver: varsResolver$
|
|
7648
|
+
varsResolver: varsResolver$y
|
|
7572
7649
|
}), sharedProps = {
|
|
7573
7650
|
size: size2,
|
|
7574
7651
|
variant,
|
|
@@ -7646,13 +7723,13 @@ const defaultProps$1p = {
|
|
|
7646
7723
|
});
|
|
7647
7724
|
InputWrapper.classes = classes$y;
|
|
7648
7725
|
InputWrapper.displayName = "@mantine/core/InputWrapper";
|
|
7649
|
-
const defaultProps$
|
|
7726
|
+
const defaultProps$1p = {
|
|
7650
7727
|
variant: "default",
|
|
7651
7728
|
leftSectionPointerEvents: "none",
|
|
7652
7729
|
rightSectionPointerEvents: "none",
|
|
7653
7730
|
withAria: !0,
|
|
7654
7731
|
withErrorStyles: !0
|
|
7655
|
-
}, varsResolver$
|
|
7732
|
+
}, varsResolver$x = (_, props, ctx) => ({
|
|
7656
7733
|
wrapper: {
|
|
7657
7734
|
"--input-margin-top": ctx.offsetTop ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
|
|
7658
7735
|
"--input-margin-bottom": ctx.offsetBottom ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
|
|
@@ -7666,7 +7743,7 @@ const defaultProps$1o = {
|
|
|
7666
7743
|
"--input-right-section-pointer-events": props.rightSectionPointerEvents
|
|
7667
7744
|
}
|
|
7668
7745
|
}), Input = polymorphicFactory((_props, ref) => {
|
|
7669
|
-
const props = useProps("Input", defaultProps$
|
|
7746
|
+
const props = useProps("Input", defaultProps$1p, _props), {
|
|
7670
7747
|
classNames,
|
|
7671
7748
|
className,
|
|
7672
7749
|
style,
|
|
@@ -7710,7 +7787,7 @@ const defaultProps$1o = {
|
|
|
7710
7787
|
stylesCtx,
|
|
7711
7788
|
rootSelector: "wrapper",
|
|
7712
7789
|
vars,
|
|
7713
|
-
varsResolver: varsResolver$
|
|
7790
|
+
varsResolver: varsResolver$x
|
|
7714
7791
|
}), ariaAttributes = withAria ? {
|
|
7715
7792
|
required,
|
|
7716
7793
|
disabled,
|
|
@@ -7857,11 +7934,11 @@ function useInputProps(component, defaultProps2, _props) {
|
|
|
7857
7934
|
}
|
|
7858
7935
|
};
|
|
7859
7936
|
}
|
|
7860
|
-
const defaultProps$
|
|
7937
|
+
const defaultProps$1o = {
|
|
7861
7938
|
__staticSelector: "InputBase",
|
|
7862
7939
|
withAria: !0
|
|
7863
7940
|
}, InputBase = polymorphicFactory((props, ref) => {
|
|
7864
|
-
const { inputProps, wrapperProps, ...others } = useInputProps("InputBase", defaultProps$
|
|
7941
|
+
const { inputProps, wrapperProps, ...others } = useInputProps("InputBase", defaultProps$1o, props);
|
|
7865
7942
|
return /* @__PURE__ */ jsx(Input.Wrapper, { ...wrapperProps, children: /* @__PURE__ */ jsx(Input, { ...inputProps, ...others, ref }) });
|
|
7866
7943
|
});
|
|
7867
7944
|
InputBase.classes = { ...Input.classes, ...Input.Wrapper.classes };
|
|
@@ -7876,8 +7953,8 @@ const FLEX_STYLE_PROPS_DATA = {
|
|
|
7876
7953
|
direction: { type: "identity", property: "flexDirection" }
|
|
7877
7954
|
};
|
|
7878
7955
|
var __default__$x = { root: "m_8bffd616" };
|
|
7879
|
-
const classes$x = __default__$x, defaultProps$
|
|
7880
|
-
const props = useProps("Flex", defaultProps$
|
|
7956
|
+
const classes$x = __default__$x, defaultProps$1n = {}, Flex = polymorphicFactory((_props, ref) => {
|
|
7957
|
+
const props = useProps("Flex", defaultProps$1n, _props), {
|
|
7881
7958
|
classNames,
|
|
7882
7959
|
className,
|
|
7883
7960
|
style,
|
|
@@ -7948,7 +8025,7 @@ function useFloatingIndicator({
|
|
|
7948
8025
|
ref,
|
|
7949
8026
|
displayAfterTransitionEnd
|
|
7950
8027
|
}) {
|
|
7951
|
-
const transitionTimeout = useRef(), [initialized, setInitialized] = useState(!1), [hidden2, setHidden] = useState(
|
|
8028
|
+
const transitionTimeout = useRef(-1), [initialized, setInitialized] = useState(!1), [hidden2, setHidden] = useState(
|
|
7952
8029
|
typeof displayAfterTransitionEnd == "boolean" ? displayAfterTransitionEnd : !1
|
|
7953
8030
|
), updatePosition = () => {
|
|
7954
8031
|
if (!target || !parent)
|
|
@@ -7964,7 +8041,7 @@ function useFloatingIndicator({
|
|
|
7964
8041
|
window.clearTimeout(transitionTimeout.current), ref.current && (ref.current.style.transitionDuration = "0ms"), updatePosition(), transitionTimeout.current = window.setTimeout(() => {
|
|
7965
8042
|
ref.current && (ref.current.style.transitionDuration = "");
|
|
7966
8043
|
}, 30);
|
|
7967
|
-
}, targetResizeObserver = useRef(), parentResizeObserver = useRef();
|
|
8044
|
+
}, targetResizeObserver = useRef(null), parentResizeObserver = useRef(null);
|
|
7968
8045
|
return useEffect(() => {
|
|
7969
8046
|
if (updatePosition(), target)
|
|
7970
8047
|
return targetResizeObserver.current = new ResizeObserver(updatePositionWithoutAnimation), targetResizeObserver.current.observe(target), parent && (parentResizeObserver.current = new ResizeObserver(updatePositionWithoutAnimation), parentResizeObserver.current.observe(parent)), () => {
|
|
@@ -7996,12 +8073,12 @@ function useFloatingIndicator({
|
|
|
7996
8073
|
), { initialized, hidden: hidden2 };
|
|
7997
8074
|
}
|
|
7998
8075
|
var __default__$w = { root: "m_96b553a6" };
|
|
7999
|
-
const classes$w = __default__$w, defaultProps$
|
|
8076
|
+
const classes$w = __default__$w, defaultProps$1m = {}, varsResolver$w = (_theme, { transitionDuration }) => ({
|
|
8000
8077
|
root: {
|
|
8001
8078
|
"--transition-duration": typeof transitionDuration == "number" ? `${transitionDuration}ms` : transitionDuration
|
|
8002
8079
|
}
|
|
8003
8080
|
}), FloatingIndicator = factory((_props, ref) => {
|
|
8004
|
-
const props = useProps("FloatingIndicator", defaultProps$
|
|
8081
|
+
const props = useProps("FloatingIndicator", defaultProps$1m, _props), {
|
|
8005
8082
|
classNames,
|
|
8006
8083
|
className,
|
|
8007
8084
|
style,
|
|
@@ -8024,7 +8101,7 @@ const classes$w = __default__$w, defaultProps$1l = {}, varsResolver$v = (_theme,
|
|
|
8024
8101
|
styles,
|
|
8025
8102
|
unstyled,
|
|
8026
8103
|
vars,
|
|
8027
|
-
varsResolver: varsResolver$
|
|
8104
|
+
varsResolver: varsResolver$w
|
|
8028
8105
|
}), innerRef = useRef(null), { initialized, hidden: hidden2 } = useFloatingIndicator({
|
|
8029
8106
|
target,
|
|
8030
8107
|
parent,
|
|
@@ -8036,7 +8113,7 @@ const classes$w = __default__$w, defaultProps$1l = {}, varsResolver$v = (_theme,
|
|
|
8036
8113
|
FloatingIndicator.displayName = "@mantine/core/FloatingIndicator";
|
|
8037
8114
|
FloatingIndicator.classes = classes$w;
|
|
8038
8115
|
var __default__$v = { root: "m_66836ed3", wrapper: "m_a5d60502", body: "m_667c2793", title: "m_6a03f287", label: "m_698f4f23", icon: "m_667f2a6a", message: "m_7fa78076", closeButton: "m_87f54839" };
|
|
8039
|
-
const classes$v = __default__$v, defaultProps$
|
|
8116
|
+
const classes$v = __default__$v, defaultProps$1l = {}, varsResolver$v = (theme, { radius, color, variant, autoContrast }) => {
|
|
8040
8117
|
const colors = theme.variantColorResolver({
|
|
8041
8118
|
color: color || theme.primaryColor,
|
|
8042
8119
|
theme,
|
|
@@ -8052,7 +8129,7 @@ const classes$v = __default__$v, defaultProps$1k = {}, varsResolver$u = (theme,
|
|
|
8052
8129
|
}
|
|
8053
8130
|
};
|
|
8054
8131
|
}, Alert = factory((_props, ref) => {
|
|
8055
|
-
const props = useProps("Alert", defaultProps$
|
|
8132
|
+
const props = useProps("Alert", defaultProps$1l, _props), {
|
|
8056
8133
|
classNames,
|
|
8057
8134
|
className,
|
|
8058
8135
|
style,
|
|
@@ -8081,7 +8158,7 @@ const classes$v = __default__$v, defaultProps$1k = {}, varsResolver$u = (theme,
|
|
|
8081
8158
|
styles,
|
|
8082
8159
|
unstyled,
|
|
8083
8160
|
vars,
|
|
8084
|
-
varsResolver: varsResolver$
|
|
8161
|
+
varsResolver: varsResolver$v
|
|
8085
8162
|
}), rootId = useId$1(id), titleId = title && `${rootId}-title` || void 0, bodyId = `${rootId}-body`;
|
|
8086
8163
|
return /* @__PURE__ */ jsx(
|
|
8087
8164
|
Box,
|
|
@@ -8126,9 +8203,9 @@ function getTextTruncate(truncate) {
|
|
|
8126
8203
|
if (truncate === "end" || truncate)
|
|
8127
8204
|
return "end";
|
|
8128
8205
|
}
|
|
8129
|
-
const defaultProps$
|
|
8206
|
+
const defaultProps$1k = {
|
|
8130
8207
|
inherit: !1
|
|
8131
|
-
}, varsResolver$
|
|
8208
|
+
}, varsResolver$u = (theme, { variant, lineClamp, gradient, size: size2, color }) => ({
|
|
8132
8209
|
root: {
|
|
8133
8210
|
"--text-fz": getFontSize(size2),
|
|
8134
8211
|
"--text-lh": getLineHeight(size2),
|
|
@@ -8137,7 +8214,7 @@ const defaultProps$1j = {
|
|
|
8137
8214
|
"--text-color": color ? getThemeColor(color, theme) : void 0
|
|
8138
8215
|
}
|
|
8139
8216
|
}), Text = polymorphicFactory((_props, ref) => {
|
|
8140
|
-
const props = useProps("Text", defaultProps$
|
|
8217
|
+
const props = useProps("Text", defaultProps$1k, _props), {
|
|
8141
8218
|
lineClamp,
|
|
8142
8219
|
truncate,
|
|
8143
8220
|
inline: inline2,
|
|
@@ -8165,7 +8242,7 @@ const defaultProps$1j = {
|
|
|
8165
8242
|
styles,
|
|
8166
8243
|
unstyled,
|
|
8167
8244
|
vars,
|
|
8168
|
-
varsResolver: varsResolver$
|
|
8245
|
+
varsResolver: varsResolver$u
|
|
8169
8246
|
});
|
|
8170
8247
|
return /* @__PURE__ */ jsx(
|
|
8171
8248
|
Box,
|
|
@@ -8191,12 +8268,12 @@ const defaultProps$1j = {
|
|
|
8191
8268
|
Text.classes = classes$u;
|
|
8192
8269
|
Text.displayName = "@mantine/core/Text";
|
|
8193
8270
|
var __default__$t = { root: "m_849cf0da" };
|
|
8194
|
-
const classes$t = __default__$t, defaultProps$
|
|
8271
|
+
const classes$t = __default__$t, defaultProps$1j = {
|
|
8195
8272
|
underline: "hover"
|
|
8196
8273
|
}, Anchor = polymorphicFactory((props, ref) => {
|
|
8197
8274
|
const { underline, className, unstyled, mod, ...others } = useProps(
|
|
8198
8275
|
"Anchor",
|
|
8199
|
-
defaultProps$
|
|
8276
|
+
defaultProps$1j,
|
|
8200
8277
|
props
|
|
8201
8278
|
);
|
|
8202
8279
|
return /* @__PURE__ */ jsx(
|
|
@@ -8227,14 +8304,14 @@ function getOptionsLockup(options) {
|
|
|
8227
8304
|
return options.reduce((acc, item) => "group" in item ? { ...acc, ...getOptionsLockup(item.items) } : (acc[item.value] = item, acc), {});
|
|
8228
8305
|
}
|
|
8229
8306
|
var __default__$s = { dropdown: "m_88b62a41", search: "m_985517d8", options: "m_b2821a6e", option: "m_92253aa5", empty: "m_2530cd1d", header: "m_858f94bd", footer: "m_82b967cb", group: "m_254f3e4f", groupLabel: "m_2bb2e9e5", chevron: "m_2943220b", optionsDropdownOption: "m_390b5f4", optionsDropdownCheckIcon: "m_8ee53fc2" };
|
|
8230
|
-
const classes$s = __default__$s, defaultProps$
|
|
8307
|
+
const classes$s = __default__$s, defaultProps$1i = {
|
|
8231
8308
|
error: null
|
|
8232
|
-
}, varsResolver$
|
|
8309
|
+
}, varsResolver$t = (_, { size: size2 }) => ({
|
|
8233
8310
|
chevron: {
|
|
8234
8311
|
"--combobox-chevron-size": getSize(size2, "combobox-chevron-size")
|
|
8235
8312
|
}
|
|
8236
8313
|
}), ComboboxChevron = factory((_props, ref) => {
|
|
8237
|
-
const props = useProps("ComboboxChevron", defaultProps$
|
|
8314
|
+
const props = useProps("ComboboxChevron", defaultProps$1i, _props), { size: size2, error, style, className, classNames, styles, unstyled, vars, mod, ...others } = props, getStyles2 = useStyles({
|
|
8238
8315
|
name: "ComboboxChevron",
|
|
8239
8316
|
classes: classes$s,
|
|
8240
8317
|
props,
|
|
@@ -8244,7 +8321,7 @@ const classes$s = __default__$s, defaultProps$1h = {
|
|
|
8244
8321
|
styles,
|
|
8245
8322
|
unstyled,
|
|
8246
8323
|
vars,
|
|
8247
|
-
varsResolver: varsResolver$
|
|
8324
|
+
varsResolver: varsResolver$t,
|
|
8248
8325
|
rootSelector: "chevron"
|
|
8249
8326
|
});
|
|
8250
8327
|
return /* @__PURE__ */ jsx(
|
|
@@ -8295,10 +8372,10 @@ const [ComboboxProvider, useComboboxContext] = createSafeContext(
|
|
|
8295
8372
|
)
|
|
8296
8373
|
);
|
|
8297
8374
|
ComboboxClearButton.displayName = "@mantine/core/ComboboxClearButton";
|
|
8298
|
-
const defaultProps$
|
|
8375
|
+
const defaultProps$1h = {}, ComboboxDropdown = factory((props, ref) => {
|
|
8299
8376
|
const { classNames, styles, className, style, hidden: hidden2, ...others } = useProps(
|
|
8300
8377
|
"ComboboxDropdown",
|
|
8301
|
-
defaultProps$
|
|
8378
|
+
defaultProps$1h,
|
|
8302
8379
|
props
|
|
8303
8380
|
), ctx = useComboboxContext();
|
|
8304
8381
|
return /* @__PURE__ */ jsx(
|
|
@@ -8314,10 +8391,10 @@ const defaultProps$1g = {}, ComboboxDropdown = factory((props, ref) => {
|
|
|
8314
8391
|
});
|
|
8315
8392
|
ComboboxDropdown.classes = classes$s;
|
|
8316
8393
|
ComboboxDropdown.displayName = "@mantine/core/ComboboxDropdown";
|
|
8317
|
-
const defaultProps$
|
|
8394
|
+
const defaultProps$1g = {
|
|
8318
8395
|
refProp: "ref"
|
|
8319
8396
|
}, ComboboxDropdownTarget = factory((props, ref) => {
|
|
8320
|
-
const { children, refProp } = useProps("ComboboxDropdownTarget", defaultProps$
|
|
8397
|
+
const { children, refProp } = useProps("ComboboxDropdownTarget", defaultProps$1g, props);
|
|
8321
8398
|
if (useComboboxContext(), !isElement$1(children))
|
|
8322
8399
|
throw new Error(
|
|
8323
8400
|
"Combobox.DropdownTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"
|
|
@@ -8325,10 +8402,10 @@ const defaultProps$1f = {
|
|
|
8325
8402
|
return /* @__PURE__ */ jsx(Popover.Target, { ref, refProp, children });
|
|
8326
8403
|
});
|
|
8327
8404
|
ComboboxDropdownTarget.displayName = "@mantine/core/ComboboxDropdownTarget";
|
|
8328
|
-
const defaultProps$
|
|
8405
|
+
const defaultProps$1f = {}, ComboboxEmpty = factory((props, ref) => {
|
|
8329
8406
|
const { classNames, className, style, styles, vars, ...others } = useProps(
|
|
8330
8407
|
"ComboboxEmpty",
|
|
8331
|
-
defaultProps$
|
|
8408
|
+
defaultProps$1f,
|
|
8332
8409
|
props
|
|
8333
8410
|
), ctx = useComboboxContext();
|
|
8334
8411
|
return /* @__PURE__ */ jsx(
|
|
@@ -8376,7 +8453,7 @@ function useComboboxTargetProps({
|
|
|
8376
8453
|
onKeyDown: handleKeyDown
|
|
8377
8454
|
};
|
|
8378
8455
|
}
|
|
8379
|
-
const defaultProps$
|
|
8456
|
+
const defaultProps$1e = {
|
|
8380
8457
|
refProp: "ref",
|
|
8381
8458
|
targetType: "input",
|
|
8382
8459
|
withKeyboardNavigation: !0,
|
|
@@ -8393,7 +8470,7 @@ const defaultProps$1d = {
|
|
|
8393
8470
|
targetType,
|
|
8394
8471
|
autoComplete,
|
|
8395
8472
|
...others
|
|
8396
|
-
} = useProps("ComboboxEventsTarget", defaultProps$
|
|
8473
|
+
} = useProps("ComboboxEventsTarget", defaultProps$1e, props);
|
|
8397
8474
|
if (!isElement$1(children))
|
|
8398
8475
|
throw new Error(
|
|
8399
8476
|
"Combobox.EventsTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"
|
|
@@ -8413,10 +8490,10 @@ const defaultProps$1d = {
|
|
|
8413
8490
|
});
|
|
8414
8491
|
});
|
|
8415
8492
|
ComboboxEventsTarget.displayName = "@mantine/core/ComboboxEventsTarget";
|
|
8416
|
-
const defaultProps$
|
|
8493
|
+
const defaultProps$1d = {}, ComboboxFooter = factory((props, ref) => {
|
|
8417
8494
|
const { classNames, className, style, styles, vars, ...others } = useProps(
|
|
8418
8495
|
"ComboboxFooter",
|
|
8419
|
-
defaultProps$
|
|
8496
|
+
defaultProps$1d,
|
|
8420
8497
|
props
|
|
8421
8498
|
), ctx = useComboboxContext();
|
|
8422
8499
|
return /* @__PURE__ */ jsx(
|
|
@@ -8433,10 +8510,10 @@ const defaultProps$1c = {}, ComboboxFooter = factory((props, ref) => {
|
|
|
8433
8510
|
});
|
|
8434
8511
|
ComboboxFooter.classes = classes$s;
|
|
8435
8512
|
ComboboxFooter.displayName = "@mantine/core/ComboboxFooter";
|
|
8436
|
-
const defaultProps$
|
|
8513
|
+
const defaultProps$1c = {}, ComboboxGroup = factory((props, ref) => {
|
|
8437
8514
|
const { classNames, className, style, styles, vars, children, label, ...others } = useProps(
|
|
8438
8515
|
"ComboboxGroup",
|
|
8439
|
-
defaultProps$
|
|
8516
|
+
defaultProps$1c,
|
|
8440
8517
|
props
|
|
8441
8518
|
), ctx = useComboboxContext();
|
|
8442
8519
|
return /* @__PURE__ */ jsxs(
|
|
@@ -8454,10 +8531,10 @@ const defaultProps$1b = {}, ComboboxGroup = factory((props, ref) => {
|
|
|
8454
8531
|
});
|
|
8455
8532
|
ComboboxGroup.classes = classes$s;
|
|
8456
8533
|
ComboboxGroup.displayName = "@mantine/core/ComboboxGroup";
|
|
8457
|
-
const defaultProps$
|
|
8534
|
+
const defaultProps$1b = {}, ComboboxHeader = factory((props, ref) => {
|
|
8458
8535
|
const { classNames, className, style, styles, vars, ...others } = useProps(
|
|
8459
8536
|
"ComboboxHeader",
|
|
8460
|
-
defaultProps$
|
|
8537
|
+
defaultProps$1b,
|
|
8461
8538
|
props
|
|
8462
8539
|
), ctx = useComboboxContext();
|
|
8463
8540
|
return /* @__PURE__ */ jsx(
|
|
@@ -8489,8 +8566,8 @@ function ComboboxHiddenInput({
|
|
|
8489
8566
|
);
|
|
8490
8567
|
}
|
|
8491
8568
|
ComboboxHiddenInput.displayName = "@mantine/core/ComboboxHiddenInput";
|
|
8492
|
-
const defaultProps$
|
|
8493
|
-
const props = useProps("ComboboxOption", defaultProps$
|
|
8569
|
+
const defaultProps$1a = {}, ComboboxOption = factory((_props, ref) => {
|
|
8570
|
+
const props = useProps("ComboboxOption", defaultProps$1a, _props), {
|
|
8494
8571
|
classNames,
|
|
8495
8572
|
className,
|
|
8496
8573
|
style,
|
|
@@ -8533,8 +8610,8 @@ const defaultProps$19 = {}, ComboboxOption = factory((_props, ref) => {
|
|
|
8533
8610
|
});
|
|
8534
8611
|
ComboboxOption.classes = classes$s;
|
|
8535
8612
|
ComboboxOption.displayName = "@mantine/core/ComboboxOption";
|
|
8536
|
-
const defaultProps$
|
|
8537
|
-
const props = useProps("ComboboxOptions", defaultProps$
|
|
8613
|
+
const defaultProps$19 = {}, ComboboxOptions = factory((_props, ref) => {
|
|
8614
|
+
const props = useProps("ComboboxOptions", defaultProps$19, _props), { classNames, className, style, styles, id, onMouseDown, labelledBy, ...others } = props, ctx = useComboboxContext(), _id = useId$1(id);
|
|
8538
8615
|
return useEffect(() => {
|
|
8539
8616
|
ctx.store.setListId(_id);
|
|
8540
8617
|
}, [_id]), /* @__PURE__ */ jsx(
|
|
@@ -8554,11 +8631,11 @@ const defaultProps$18 = {}, ComboboxOptions = factory((_props, ref) => {
|
|
|
8554
8631
|
});
|
|
8555
8632
|
ComboboxOptions.classes = classes$s;
|
|
8556
8633
|
ComboboxOptions.displayName = "@mantine/core/ComboboxOptions";
|
|
8557
|
-
const defaultProps$
|
|
8634
|
+
const defaultProps$18 = {
|
|
8558
8635
|
withAriaAttributes: !0,
|
|
8559
8636
|
withKeyboardNavigation: !0
|
|
8560
8637
|
}, ComboboxSearch = factory((_props, ref) => {
|
|
8561
|
-
const props = useProps("ComboboxSearch", defaultProps$
|
|
8638
|
+
const props = useProps("ComboboxSearch", defaultProps$18, _props), {
|
|
8562
8639
|
classNames,
|
|
8563
8640
|
styles,
|
|
8564
8641
|
unstyled,
|
|
@@ -8591,7 +8668,7 @@ const defaultProps$17 = {
|
|
|
8591
8668
|
});
|
|
8592
8669
|
ComboboxSearch.classes = classes$s;
|
|
8593
8670
|
ComboboxSearch.displayName = "@mantine/core/ComboboxSearch";
|
|
8594
|
-
const defaultProps$
|
|
8671
|
+
const defaultProps$17 = {
|
|
8595
8672
|
refProp: "ref",
|
|
8596
8673
|
targetType: "input",
|
|
8597
8674
|
withKeyboardNavigation: !0,
|
|
@@ -8608,7 +8685,7 @@ const defaultProps$16 = {
|
|
|
8608
8685
|
targetType,
|
|
8609
8686
|
autoComplete,
|
|
8610
8687
|
...others
|
|
8611
|
-
} = useProps("ComboboxTarget", defaultProps$
|
|
8688
|
+
} = useProps("ComboboxTarget", defaultProps$17, props);
|
|
8612
8689
|
if (!isElement$1(children))
|
|
8613
8690
|
throw new Error(
|
|
8614
8691
|
"Combobox.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"
|
|
@@ -8785,13 +8862,13 @@ function useCombobox({
|
|
|
8785
8862
|
focusTarget
|
|
8786
8863
|
};
|
|
8787
8864
|
}
|
|
8788
|
-
const defaultProps$
|
|
8865
|
+
const defaultProps$16 = {
|
|
8789
8866
|
keepMounted: !0,
|
|
8790
8867
|
withinPortal: !0,
|
|
8791
8868
|
resetSelectionOnOptionHover: !1,
|
|
8792
8869
|
width: "target",
|
|
8793
8870
|
transitionProps: { transition: "fade", duration: 0 }
|
|
8794
|
-
}, varsResolver$
|
|
8871
|
+
}, varsResolver$s = (_, { size: size2, dropdownPadding }) => ({
|
|
8795
8872
|
options: {
|
|
8796
8873
|
"--combobox-option-fz": getFontSize(size2),
|
|
8797
8874
|
"--combobox-option-padding": getSize(size2, "combobox-option-padding")
|
|
@@ -8803,7 +8880,7 @@ const defaultProps$15 = {
|
|
|
8803
8880
|
}
|
|
8804
8881
|
});
|
|
8805
8882
|
function Combobox(_props) {
|
|
8806
|
-
const props = useProps("Combobox", defaultProps$
|
|
8883
|
+
const props = useProps("Combobox", defaultProps$16, _props), {
|
|
8807
8884
|
classNames,
|
|
8808
8885
|
styles,
|
|
8809
8886
|
unstyled,
|
|
@@ -8826,7 +8903,7 @@ function Combobox(_props) {
|
|
|
8826
8903
|
styles,
|
|
8827
8904
|
unstyled,
|
|
8828
8905
|
vars,
|
|
8829
|
-
varsResolver: varsResolver$
|
|
8906
|
+
varsResolver: varsResolver$s
|
|
8830
8907
|
}), onDropdownClose = () => {
|
|
8831
8908
|
onClose?.(), store.closeDropdown();
|
|
8832
8909
|
};
|
|
@@ -9045,7 +9122,7 @@ function OptionsDropdown({
|
|
|
9045
9122
|
] }) });
|
|
9046
9123
|
}
|
|
9047
9124
|
var __default__$r = { root: "m_347db0ec", "root--dot": "m_fbd81e3d", label: "m_5add502a", section: "m_91fdda9b" };
|
|
9048
|
-
const classes$r = __default__$r, defaultProps$
|
|
9125
|
+
const classes$r = __default__$r, defaultProps$15 = {}, varsResolver$r = (theme, { radius, color, gradient, variant, size: size2, autoContrast }) => {
|
|
9049
9126
|
const colors = theme.variantColorResolver({
|
|
9050
9127
|
color: color || theme.primaryColor,
|
|
9051
9128
|
theme,
|
|
@@ -9066,7 +9143,7 @@ const classes$r = __default__$r, defaultProps$14 = {}, varsResolver$q = (theme,
|
|
|
9066
9143
|
}
|
|
9067
9144
|
};
|
|
9068
9145
|
}, Badge = polymorphicFactory((_props, ref) => {
|
|
9069
|
-
const props = useProps("Badge", defaultProps$
|
|
9146
|
+
const props = useProps("Badge", defaultProps$15, _props), {
|
|
9070
9147
|
classNames,
|
|
9071
9148
|
className,
|
|
9072
9149
|
style,
|
|
@@ -9095,7 +9172,7 @@ const classes$r = __default__$r, defaultProps$14 = {}, varsResolver$q = (theme,
|
|
|
9095
9172
|
styles,
|
|
9096
9173
|
unstyled,
|
|
9097
9174
|
vars,
|
|
9098
|
-
varsResolver: varsResolver$
|
|
9175
|
+
varsResolver: varsResolver$r
|
|
9099
9176
|
});
|
|
9100
9177
|
return /* @__PURE__ */ jsxs(
|
|
9101
9178
|
Box,
|
|
@@ -9124,7 +9201,7 @@ const classes$r = __default__$r, defaultProps$14 = {}, varsResolver$q = (theme,
|
|
|
9124
9201
|
Badge.classes = classes$r;
|
|
9125
9202
|
Badge.displayName = "@mantine/core/Badge";
|
|
9126
9203
|
var __default__$q = { root: "m_fea6bf1a", burger: "m_d4fb9cad" };
|
|
9127
|
-
const classes$q = __default__$q, defaultProps$
|
|
9204
|
+
const classes$q = __default__$q, defaultProps$14 = {}, varsResolver$q = (theme, { color, size: size2, lineSize, transitionDuration, transitionTimingFunction }) => ({
|
|
9128
9205
|
root: {
|
|
9129
9206
|
"--burger-color": color ? getThemeColor(color, theme) : void 0,
|
|
9130
9207
|
"--burger-size": getSize(size2, "burger-size"),
|
|
@@ -9133,7 +9210,7 @@ const classes$q = __default__$q, defaultProps$13 = {}, varsResolver$p = (theme,
|
|
|
9133
9210
|
"--burger-transition-timing-function": transitionTimingFunction
|
|
9134
9211
|
}
|
|
9135
9212
|
}), Burger = factory((_props, ref) => {
|
|
9136
|
-
const props = useProps("Burger", defaultProps$
|
|
9213
|
+
const props = useProps("Burger", defaultProps$14, _props), {
|
|
9137
9214
|
classNames,
|
|
9138
9215
|
className,
|
|
9139
9216
|
style,
|
|
@@ -9156,7 +9233,7 @@ const classes$q = __default__$q, defaultProps$13 = {}, varsResolver$p = (theme,
|
|
|
9156
9233
|
styles,
|
|
9157
9234
|
unstyled,
|
|
9158
9235
|
vars,
|
|
9159
|
-
varsResolver: varsResolver$
|
|
9236
|
+
varsResolver: varsResolver$q
|
|
9160
9237
|
});
|
|
9161
9238
|
return /* @__PURE__ */ jsxs(UnstyledButton, { ...getStyles2("root"), ref, ...others, children: [
|
|
9162
9239
|
/* @__PURE__ */ jsx(Box, { mod: ["reduce-motion", { opened }], ...getStyles2("burger") }),
|
|
@@ -9165,13 +9242,13 @@ const classes$q = __default__$q, defaultProps$13 = {}, varsResolver$p = (theme,
|
|
|
9165
9242
|
});
|
|
9166
9243
|
Burger.classes = classes$q;
|
|
9167
9244
|
Burger.displayName = "@mantine/core/Burger";
|
|
9168
|
-
var __default__$p = { root: "m_77c9d27d", inner: "m_80f1301b", label: "m_811560b9", section: "m_a74036a", loader: "m_a25b86ee", group: "m_80d6d844" };
|
|
9169
|
-
const classes$p = __default__$p, defaultProps$
|
|
9245
|
+
var __default__$p = { root: "m_77c9d27d", inner: "m_80f1301b", label: "m_811560b9", section: "m_a74036a", loader: "m_a25b86ee", group: "m_80d6d844", groupSection: "m_70be2a01" };
|
|
9246
|
+
const classes$p = __default__$p, defaultProps$13 = {
|
|
9170
9247
|
orientation: "horizontal"
|
|
9171
|
-
}, varsResolver$
|
|
9248
|
+
}, varsResolver$p = (_, { borderWidth }) => ({
|
|
9172
9249
|
group: { "--button-border-width": rem(borderWidth) }
|
|
9173
9250
|
}), ButtonGroup = factory((_props, ref) => {
|
|
9174
|
-
const props = useProps("ButtonGroup", defaultProps$
|
|
9251
|
+
const props = useProps("ButtonGroup", defaultProps$13, _props), {
|
|
9175
9252
|
className,
|
|
9176
9253
|
style,
|
|
9177
9254
|
classNames,
|
|
@@ -9183,7 +9260,7 @@ const classes$p = __default__$p, defaultProps$12 = {
|
|
|
9183
9260
|
variant,
|
|
9184
9261
|
mod,
|
|
9185
9262
|
...others
|
|
9186
|
-
} = useProps("ButtonGroup", defaultProps$
|
|
9263
|
+
} = useProps("ButtonGroup", defaultProps$13, _props), getStyles2 = useStyles({
|
|
9187
9264
|
name: "ButtonGroup",
|
|
9188
9265
|
props,
|
|
9189
9266
|
classes: classes$p,
|
|
@@ -9193,7 +9270,7 @@ const classes$p = __default__$p, defaultProps$12 = {
|
|
|
9193
9270
|
styles,
|
|
9194
9271
|
unstyled,
|
|
9195
9272
|
vars,
|
|
9196
|
-
varsResolver: varsResolver$
|
|
9273
|
+
varsResolver: varsResolver$p,
|
|
9197
9274
|
rootSelector: "group"
|
|
9198
9275
|
});
|
|
9199
9276
|
return /* @__PURE__ */ jsx(
|
|
@@ -9210,6 +9287,55 @@ const classes$p = __default__$p, defaultProps$12 = {
|
|
|
9210
9287
|
});
|
|
9211
9288
|
ButtonGroup.classes = classes$p;
|
|
9212
9289
|
ButtonGroup.displayName = "@mantine/core/ButtonGroup";
|
|
9290
|
+
const defaultProps$12 = {}, varsResolver$o = (theme, { radius, color, gradient, variant, autoContrast, size: size2 }) => {
|
|
9291
|
+
const colors = theme.variantColorResolver({
|
|
9292
|
+
color: color || theme.primaryColor,
|
|
9293
|
+
theme,
|
|
9294
|
+
gradient,
|
|
9295
|
+
variant: variant || "filled",
|
|
9296
|
+
autoContrast
|
|
9297
|
+
});
|
|
9298
|
+
return {
|
|
9299
|
+
groupSection: {
|
|
9300
|
+
"--section-height": getSize(size2, "section-height"),
|
|
9301
|
+
"--section-padding-x": getSize(size2, "section-padding-x"),
|
|
9302
|
+
"--section-fz": size2?.includes("compact") ? getFontSize(size2.replace("compact-", "")) : getFontSize(size2),
|
|
9303
|
+
"--section-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
9304
|
+
"--section-bg": color || variant ? colors.background : void 0,
|
|
9305
|
+
"--section-color": colors.color,
|
|
9306
|
+
"--section-bd": color || variant ? colors.border : void 0
|
|
9307
|
+
}
|
|
9308
|
+
};
|
|
9309
|
+
}, ButtonGroupSection = factory((_props, ref) => {
|
|
9310
|
+
const props = useProps("ButtonGroupSection", defaultProps$12, _props), {
|
|
9311
|
+
className,
|
|
9312
|
+
style,
|
|
9313
|
+
classNames,
|
|
9314
|
+
styles,
|
|
9315
|
+
unstyled,
|
|
9316
|
+
vars,
|
|
9317
|
+
variant,
|
|
9318
|
+
gradient,
|
|
9319
|
+
radius,
|
|
9320
|
+
autoContrast,
|
|
9321
|
+
...others
|
|
9322
|
+
} = useProps("ButtonGroupSection", defaultProps$12, _props), getStyles2 = useStyles({
|
|
9323
|
+
name: "ButtonGroupSection",
|
|
9324
|
+
props,
|
|
9325
|
+
classes: classes$p,
|
|
9326
|
+
className,
|
|
9327
|
+
style,
|
|
9328
|
+
classNames,
|
|
9329
|
+
styles,
|
|
9330
|
+
unstyled,
|
|
9331
|
+
vars,
|
|
9332
|
+
varsResolver: varsResolver$o,
|
|
9333
|
+
rootSelector: "groupSection"
|
|
9334
|
+
});
|
|
9335
|
+
return /* @__PURE__ */ jsx(Box, { ...getStyles2("groupSection"), ref, variant, ...others });
|
|
9336
|
+
});
|
|
9337
|
+
ButtonGroupSection.classes = classes$p;
|
|
9338
|
+
ButtonGroupSection.displayName = "@mantine/core/ButtonGroupSection";
|
|
9213
9339
|
const loaderTransition = {
|
|
9214
9340
|
in: { opacity: 1, transform: `translate(-50%, calc(-50% + ${rem(1)}))` },
|
|
9215
9341
|
out: { opacity: 0, transform: "translate(-50%, -200%)" },
|
|
@@ -9312,6 +9438,7 @@ const loaderTransition = {
|
|
|
9312
9438
|
Button.classes = classes$p;
|
|
9313
9439
|
Button.displayName = "@mantine/core/Button";
|
|
9314
9440
|
Button.Group = ButtonGroup;
|
|
9441
|
+
Button.GroupSection = ButtonGroupSection;
|
|
9315
9442
|
const [CardProvider, useCardContext] = createSafeContext(
|
|
9316
9443
|
"Card component was not found in tree"
|
|
9317
9444
|
);
|
|
@@ -10137,7 +10264,7 @@ const defaultProps$D = {}, MenuItem = polymorphicFactory((props, ref) => {
|
|
|
10137
10264
|
children,
|
|
10138
10265
|
disabled,
|
|
10139
10266
|
...others
|
|
10140
|
-
} = useProps("MenuItem", defaultProps$D, props), ctx = useMenuContext(), theme = useMantineTheme(), { dir } = useDirection(), itemRef = useRef(), itemIndex = ctx.getItemIndex(itemRef.current), _others = others, handleMouseLeave = createEventHandler(_others.onMouseLeave, () => ctx.setHovered(-1)), handleMouseEnter = createEventHandler(
|
|
10267
|
+
} = useProps("MenuItem", defaultProps$D, props), ctx = useMenuContext(), theme = useMantineTheme(), { dir } = useDirection(), itemRef = useRef(null), itemIndex = ctx.getItemIndex(itemRef.current), _others = others, handleMouseLeave = createEventHandler(_others.onMouseLeave, () => ctx.setHovered(-1)), handleMouseEnter = createEventHandler(
|
|
10141
10268
|
_others.onMouseEnter,
|
|
10142
10269
|
() => ctx.setHovered(ctx.getItemIndex(itemRef.current))
|
|
10143
10270
|
), handleClick = createEventHandler(_others.onClick, () => {
|
|
@@ -10212,12 +10339,12 @@ const defaultProps$B = {
|
|
|
10212
10339
|
throw new Error(
|
|
10213
10340
|
"Menu.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"
|
|
10214
10341
|
);
|
|
10215
|
-
const ctx = useMenuContext(), onClick = createEventHandler(
|
|
10342
|
+
const ctx = useMenuContext(), _childrenProps = children.props, onClick = createEventHandler(_childrenProps.onClick, () => {
|
|
10216
10343
|
ctx.trigger === "click" ? ctx.toggleDropdown() : ctx.trigger === "click-hover" && (ctx.setOpenedViaClick(!0), ctx.opened || ctx.openDropdown());
|
|
10217
10344
|
}), onMouseEnter = createEventHandler(
|
|
10218
|
-
|
|
10345
|
+
_childrenProps.onMouseEnter,
|
|
10219
10346
|
() => (ctx.trigger === "hover" || ctx.trigger === "click-hover") && ctx.openDropdown()
|
|
10220
|
-
), onMouseLeave = createEventHandler(
|
|
10347
|
+
), onMouseLeave = createEventHandler(_childrenProps.onMouseLeave, () => {
|
|
10221
10348
|
(ctx.trigger === "hover" || ctx.trigger === "click-hover" && !ctx.openedViaClick) && ctx.closeDropdown();
|
|
10222
10349
|
});
|
|
10223
10350
|
return /* @__PURE__ */ jsx(Popover.Target, { refProp, popupType: "menu", ref, ...others, children: cloneElement(children, {
|
|
@@ -10786,7 +10913,7 @@ function useFloatingTooltip({
|
|
|
10786
10913
|
position,
|
|
10787
10914
|
defaultOpened
|
|
10788
10915
|
}) {
|
|
10789
|
-
const [opened, setOpened] = useState(defaultOpened), boundaryRef = useRef(), { x, y, elements, refs, update, placement } = useFloating({
|
|
10916
|
+
const [opened, setOpened] = useState(defaultOpened), boundaryRef = useRef(null), { x, y, elements, refs, update, placement } = useFloating({
|
|
10790
10917
|
placement: position,
|
|
10791
10918
|
middleware: [
|
|
10792
10919
|
shift({
|
|
@@ -10887,10 +11014,10 @@ const classes$a = __default__$a, defaultProps$o = {
|
|
|
10887
11014
|
throw new Error(
|
|
10888
11015
|
"[@mantine/core] Tooltip.Floating component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported"
|
|
10889
11016
|
);
|
|
10890
|
-
const targetRef = useMergedRef(boundaryRef, getRefProp(children), ref), onMouseEnter = (event) => {
|
|
10891
|
-
|
|
11017
|
+
const targetRef = useMergedRef(boundaryRef, getRefProp(children), ref), _childrenProps = children.props, onMouseEnter = (event) => {
|
|
11018
|
+
_childrenProps.onMouseEnter?.(event), handleMouseMove(event), setOpened(!0);
|
|
10892
11019
|
}, onMouseLeave = (event) => {
|
|
10893
|
-
|
|
11020
|
+
_childrenProps.onMouseLeave?.(event), setOpened(!1);
|
|
10894
11021
|
};
|
|
10895
11022
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
10896
11023
|
/* @__PURE__ */ jsx(OptionalPortal, { ...portalProps, withinPortal, children: /* @__PURE__ */ jsx(
|
|
@@ -10913,7 +11040,7 @@ const classes$a = __default__$a, defaultProps$o = {
|
|
|
10913
11040
|
}
|
|
10914
11041
|
) }),
|
|
10915
11042
|
cloneElement(children, {
|
|
10916
|
-
...
|
|
11043
|
+
..._childrenProps,
|
|
10917
11044
|
[refProp]: targetRef,
|
|
10918
11045
|
onMouseEnter,
|
|
10919
11046
|
onMouseLeave
|
|
@@ -11088,7 +11215,7 @@ const defaultProps$m = {
|
|
|
11088
11215
|
throw new Error(
|
|
11089
11216
|
"[@mantine/core] Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported"
|
|
11090
11217
|
);
|
|
11091
|
-
const targetRef = useMergedRef(tooltip.reference, getRefProp(children), ref), transition = getTransitionProps(transitionProps, { duration: 100, transition: "fade" });
|
|
11218
|
+
const targetRef = useMergedRef(tooltip.reference, getRefProp(children), ref), transition = getTransitionProps(transitionProps, { duration: 100, transition: "fade" }), _childrenProps = children.props;
|
|
11092
11219
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
11093
11220
|
/* @__PURE__ */ jsx(OptionalPortal, { ...portalProps, withinPortal, children: /* @__PURE__ */ jsx(
|
|
11094
11221
|
Transition,
|
|
@@ -11147,8 +11274,8 @@ const defaultProps$m = {
|
|
|
11147
11274
|
onPointerDown: props.onPointerDown,
|
|
11148
11275
|
onPointerEnter: props.onPointerEnter,
|
|
11149
11276
|
[refProp]: targetRef,
|
|
11150
|
-
className: clsx(className,
|
|
11151
|
-
...
|
|
11277
|
+
className: clsx(className, _childrenProps.className),
|
|
11278
|
+
..._childrenProps
|
|
11152
11279
|
})
|
|
11153
11280
|
)
|
|
11154
11281
|
] });
|
|
@@ -11631,11 +11758,11 @@ const Thumb = forwardRef(
|
|
|
11631
11758
|
__vars: { "--slider-thumb-offset": `${position}%` },
|
|
11632
11759
|
...getStyles2("thumb", { focusable: !0 }),
|
|
11633
11760
|
mod: { dragging, disabled },
|
|
11634
|
-
onFocus: () => {
|
|
11635
|
-
setFocused(!0), typeof onFocus == "function" && onFocus();
|
|
11761
|
+
onFocus: (event) => {
|
|
11762
|
+
setFocused(!0), typeof onFocus == "function" && onFocus(event);
|
|
11636
11763
|
},
|
|
11637
|
-
onBlur: () => {
|
|
11638
|
-
setFocused(!1), typeof onBlur == "function" && onBlur();
|
|
11764
|
+
onBlur: (event) => {
|
|
11765
|
+
setFocused(!1), typeof onBlur == "function" && onBlur(event);
|
|
11639
11766
|
},
|
|
11640
11767
|
onTouchStart: onMouseDown,
|
|
11641
11768
|
onMouseDown,
|
|
@@ -11737,6 +11864,22 @@ function getPrecision(step) {
|
|
|
11737
11864
|
const split = step.toString().split(".");
|
|
11738
11865
|
return split.length > 1 ? split[1].length : 0;
|
|
11739
11866
|
}
|
|
11867
|
+
function getNextMarkValue(currentValue, marks) {
|
|
11868
|
+
const nextMark = [...marks].sort((a, b) => a.value - b.value).find((mark) => mark.value > currentValue);
|
|
11869
|
+
return nextMark ? nextMark.value : currentValue;
|
|
11870
|
+
}
|
|
11871
|
+
function getPreviousMarkValue(currentValue, marks) {
|
|
11872
|
+
const previousMark = [...marks].sort((a, b) => b.value - a.value).find((mark) => mark.value < currentValue);
|
|
11873
|
+
return previousMark ? previousMark.value : currentValue;
|
|
11874
|
+
}
|
|
11875
|
+
function getFirstMarkValue(marks) {
|
|
11876
|
+
const sortedMarks = [...marks].sort((a, b) => b.value - a.value);
|
|
11877
|
+
return sortedMarks.length > 0 ? sortedMarks[0].value : 0;
|
|
11878
|
+
}
|
|
11879
|
+
function getLastMarkValue(marks) {
|
|
11880
|
+
const sortedMarks = [...marks].sort((a, b) => a.value - b.value);
|
|
11881
|
+
return sortedMarks.length > 0 ? sortedMarks[sortedMarks.length - 1].value : 100;
|
|
11882
|
+
}
|
|
11740
11883
|
var __default__$7 = { root: "m_dd36362e", label: "m_c9357328", thumb: "m_c9a9a60a", trackContainer: "m_a8645c2", track: "m_c9ade57f", bar: "m_38aeed47", markWrapper: "m_b7b0423a", mark: "m_dd33bc19", markLabel: "m_68c77a5b" };
|
|
11741
11884
|
const classes$7 = __default__$7, defaultProps$i = {
|
|
11742
11885
|
radius: "xl",
|
|
@@ -11788,6 +11931,7 @@ const classes$7 = __default__$7, defaultProps$i = {
|
|
|
11788
11931
|
vars,
|
|
11789
11932
|
hiddenInputProps,
|
|
11790
11933
|
restrictToMarks,
|
|
11934
|
+
thumbProps,
|
|
11791
11935
|
...others
|
|
11792
11936
|
} = props, getStyles2 = useStyles({
|
|
11793
11937
|
name: "Slider",
|
|
@@ -11805,7 +11949,7 @@ const classes$7 = __default__$7, defaultProps$i = {
|
|
|
11805
11949
|
defaultValue: typeof defaultValue == "number" ? clamp$2(defaultValue, min2, max2) : defaultValue,
|
|
11806
11950
|
finalValue: clamp$2(0, min2, max2),
|
|
11807
11951
|
onChange
|
|
11808
|
-
}), valueRef = useRef(_value), root = useRef(), thumb = useRef(), position = getPosition({ value: _value, min: min2, max: max2 }), scaledValue = scale(_value), _label = typeof label == "function" ? label(scaledValue) : label, precision = _precision ?? getPrecision(step), handleChange = useCallback(
|
|
11952
|
+
}), valueRef = useRef(_value), root = useRef(null), thumb = useRef(null), position = getPosition({ value: _value, min: min2, max: max2 }), scaledValue = scale(_value), _label = typeof label == "function" ? label(scaledValue) : label, precision = _precision ?? getPrecision(step), handleChange = useCallback(
|
|
11809
11953
|
({ x }) => {
|
|
11810
11954
|
if (!disabled) {
|
|
11811
11955
|
const nextValue = getChangeValue({
|
|
@@ -11839,7 +11983,11 @@ const classes$7 = __default__$7, defaultProps$i = {
|
|
|
11839
11983
|
if (!disabled)
|
|
11840
11984
|
switch (event.key) {
|
|
11841
11985
|
case "ArrowUp": {
|
|
11842
|
-
event.preventDefault(), thumb.current?.focus()
|
|
11986
|
+
if (event.preventDefault(), thumb.current?.focus(), restrictToMarks && marks) {
|
|
11987
|
+
const nextValue2 = getNextMarkValue(_value, marks);
|
|
11988
|
+
setValue(nextValue2), onChangeEnd?.(nextValue2);
|
|
11989
|
+
break;
|
|
11990
|
+
}
|
|
11843
11991
|
const nextValue = getFloatingValue(
|
|
11844
11992
|
Math.min(Math.max(_value + step, min2), max2),
|
|
11845
11993
|
precision
|
|
@@ -11848,7 +11996,11 @@ const classes$7 = __default__$7, defaultProps$i = {
|
|
|
11848
11996
|
break;
|
|
11849
11997
|
}
|
|
11850
11998
|
case "ArrowRight": {
|
|
11851
|
-
event.preventDefault(), thumb.current?.focus()
|
|
11999
|
+
if (event.preventDefault(), thumb.current?.focus(), restrictToMarks && marks) {
|
|
12000
|
+
const nextValue2 = dir === "rtl" ? getPreviousMarkValue(_value, marks) : getNextMarkValue(_value, marks);
|
|
12001
|
+
setValue(nextValue2), onChangeEnd?.(nextValue2);
|
|
12002
|
+
break;
|
|
12003
|
+
}
|
|
11852
12004
|
const nextValue = getFloatingValue(
|
|
11853
12005
|
Math.min(Math.max(dir === "rtl" ? _value - step : _value + step, min2), max2),
|
|
11854
12006
|
precision
|
|
@@ -11857,7 +12009,11 @@ const classes$7 = __default__$7, defaultProps$i = {
|
|
|
11857
12009
|
break;
|
|
11858
12010
|
}
|
|
11859
12011
|
case "ArrowDown": {
|
|
11860
|
-
event.preventDefault(), thumb.current?.focus()
|
|
12012
|
+
if (event.preventDefault(), thumb.current?.focus(), restrictToMarks && marks) {
|
|
12013
|
+
const nextValue2 = getPreviousMarkValue(_value, marks);
|
|
12014
|
+
setValue(nextValue2), onChangeEnd?.(nextValue2);
|
|
12015
|
+
break;
|
|
12016
|
+
}
|
|
11861
12017
|
const nextValue = getFloatingValue(
|
|
11862
12018
|
Math.min(Math.max(_value - step, min2), max2),
|
|
11863
12019
|
precision
|
|
@@ -11866,7 +12022,11 @@ const classes$7 = __default__$7, defaultProps$i = {
|
|
|
11866
12022
|
break;
|
|
11867
12023
|
}
|
|
11868
12024
|
case "ArrowLeft": {
|
|
11869
|
-
event.preventDefault(), thumb.current?.focus()
|
|
12025
|
+
if (event.preventDefault(), thumb.current?.focus(), restrictToMarks && marks) {
|
|
12026
|
+
const nextValue2 = dir === "rtl" ? getNextMarkValue(_value, marks) : getPreviousMarkValue(_value, marks);
|
|
12027
|
+
setValue(nextValue2), onChangeEnd?.(nextValue2);
|
|
12028
|
+
break;
|
|
12029
|
+
}
|
|
11870
12030
|
const nextValue = getFloatingValue(
|
|
11871
12031
|
Math.min(Math.max(dir === "rtl" ? _value + step : _value - step, min2), max2),
|
|
11872
12032
|
precision
|
|
@@ -11875,11 +12035,19 @@ const classes$7 = __default__$7, defaultProps$i = {
|
|
|
11875
12035
|
break;
|
|
11876
12036
|
}
|
|
11877
12037
|
case "Home": {
|
|
11878
|
-
event.preventDefault(), thumb.current?.focus(),
|
|
12038
|
+
if (event.preventDefault(), thumb.current?.focus(), restrictToMarks && marks) {
|
|
12039
|
+
setValue(getFirstMarkValue(marks)), onChangeEnd?.(getFirstMarkValue(marks));
|
|
12040
|
+
break;
|
|
12041
|
+
}
|
|
12042
|
+
setValue(min2), onChangeEnd?.(min2);
|
|
11879
12043
|
break;
|
|
11880
12044
|
}
|
|
11881
12045
|
case "End": {
|
|
11882
|
-
event.preventDefault(), thumb.current?.focus(),
|
|
12046
|
+
if (event.preventDefault(), thumb.current?.focus(), restrictToMarks && marks) {
|
|
12047
|
+
setValue(getLastMarkValue(marks)), onChangeEnd?.(getLastMarkValue(marks));
|
|
12048
|
+
break;
|
|
12049
|
+
}
|
|
12050
|
+
setValue(max2), onChangeEnd?.(max2);
|
|
11883
12051
|
break;
|
|
11884
12052
|
}
|
|
11885
12053
|
}
|
|
@@ -11926,6 +12094,7 @@ const classes$7 = __default__$7, defaultProps$i = {
|
|
|
11926
12094
|
showLabelOnHover,
|
|
11927
12095
|
isHovered: hovered,
|
|
11928
12096
|
disabled,
|
|
12097
|
+
...thumbProps,
|
|
11929
12098
|
children: thumbChildren
|
|
11930
12099
|
}
|
|
11931
12100
|
)
|
|
@@ -12429,7 +12598,8 @@ function TreeNode({
|
|
|
12429
12598
|
renderNode,
|
|
12430
12599
|
flatValues,
|
|
12431
12600
|
allowRangeSelection,
|
|
12432
|
-
expandOnSpace
|
|
12601
|
+
expandOnSpace,
|
|
12602
|
+
checkOnSpace
|
|
12433
12603
|
}) {
|
|
12434
12604
|
const ref = useRef(null), nested = (node.children || []).map((child) => /* @__PURE__ */ jsx(
|
|
12435
12605
|
TreeNode,
|
|
@@ -12445,7 +12615,8 @@ function TreeNode({
|
|
|
12445
12615
|
renderNode,
|
|
12446
12616
|
selectOnClick,
|
|
12447
12617
|
allowRangeSelection,
|
|
12448
|
-
expandOnSpace
|
|
12618
|
+
expandOnSpace,
|
|
12619
|
+
checkOnSpace
|
|
12449
12620
|
},
|
|
12450
12621
|
child.value
|
|
12451
12622
|
)), handleKeyDown = (event) => {
|
|
@@ -12465,7 +12636,7 @@ function TreeNode({
|
|
|
12465
12636
|
);
|
|
12466
12637
|
}
|
|
12467
12638
|
}
|
|
12468
|
-
event.nativeEvent.code === "Space" && expandOnSpace && (event.stopPropagation(), event.preventDefault(), controller.toggleExpanded(node.value));
|
|
12639
|
+
event.nativeEvent.code === "Space" && (expandOnSpace && (event.stopPropagation(), event.preventDefault(), controller.toggleExpanded(node.value)), checkOnSpace && (event.stopPropagation(), event.preventDefault(), controller.isNodeChecked(node.value) ? controller.uncheckNode(node.value) : controller.checkNode(node.value)));
|
|
12469
12640
|
}, handleNodeClick = (event) => {
|
|
12470
12641
|
event.stopPropagation(), allowRangeSelection && event.shiftKey && controller.anchorNode ? (controller.setSelectedState(getValuesRange(controller.anchorNode, node.value, flatValues)), ref.current?.focus()) : (expandOnClick && controller.toggleExpanded(node.value), selectOnClick && controller.select(node.value), ref.current?.focus());
|
|
12471
12642
|
}, selected = controller.selectedState.includes(node.value), elementProps = {
|
|
@@ -12711,6 +12882,7 @@ const defaultProps$8 = {
|
|
|
12711
12882
|
allowRangeSelection,
|
|
12712
12883
|
expandOnSpace,
|
|
12713
12884
|
levelOffset,
|
|
12885
|
+
checkOnSpace,
|
|
12714
12886
|
...others
|
|
12715
12887
|
} = props, defaultController = useTree(), controller = tree || defaultController, getStyles2 = useStyles({
|
|
12716
12888
|
name: "Tree",
|
|
@@ -12741,7 +12913,8 @@ const defaultProps$8 = {
|
|
|
12741
12913
|
renderNode,
|
|
12742
12914
|
flatValues,
|
|
12743
12915
|
allowRangeSelection,
|
|
12744
|
-
expandOnSpace
|
|
12916
|
+
expandOnSpace,
|
|
12917
|
+
checkOnSpace
|
|
12745
12918
|
},
|
|
12746
12919
|
node.value
|
|
12747
12920
|
));
|
|
@@ -13380,82 +13553,83 @@ Spotlight.open = spotlight.open;
|
|
|
13380
13553
|
Spotlight.close = spotlight.close;
|
|
13381
13554
|
Spotlight.toggle = spotlight.toggle;
|
|
13382
13555
|
export {
|
|
13383
|
-
|
|
13556
|
+
UnstyledButton as $,
|
|
13384
13557
|
ActionIcon as A,
|
|
13385
13558
|
Box as B,
|
|
13386
13559
|
Card as C,
|
|
13387
|
-
|
|
13388
|
-
|
|
13389
|
-
|
|
13560
|
+
Anchor as D,
|
|
13561
|
+
Pill as E,
|
|
13562
|
+
Divider as F,
|
|
13390
13563
|
Group as G,
|
|
13391
13564
|
Highlight as H,
|
|
13392
13565
|
Image as I,
|
|
13393
|
-
|
|
13394
|
-
|
|
13395
|
-
|
|
13396
|
-
|
|
13397
|
-
|
|
13398
|
-
|
|
13566
|
+
useViewportSize as J,
|
|
13567
|
+
useSessionStorage as K,
|
|
13568
|
+
FocusTrap as L,
|
|
13569
|
+
Menu as M,
|
|
13570
|
+
FocusTrapInitialFocus as N,
|
|
13571
|
+
CloseButton as O,
|
|
13399
13572
|
Paper as P,
|
|
13400
|
-
|
|
13573
|
+
Badge as Q,
|
|
13401
13574
|
RemoveScroll as R,
|
|
13402
13575
|
Spotlight as S,
|
|
13403
13576
|
ThemeIcon as T,
|
|
13404
|
-
|
|
13405
|
-
|
|
13406
|
-
|
|
13407
|
-
|
|
13408
|
-
|
|
13409
|
-
|
|
13410
|
-
|
|
13577
|
+
Flex as U,
|
|
13578
|
+
ActionIconGroup as V,
|
|
13579
|
+
Tabs as W,
|
|
13580
|
+
TabsList as X,
|
|
13581
|
+
TabsTab as Y,
|
|
13582
|
+
TabsPanel as Z,
|
|
13583
|
+
ScrollArea as _,
|
|
13411
13584
|
Text as a,
|
|
13412
|
-
|
|
13413
|
-
|
|
13414
|
-
|
|
13415
|
-
|
|
13416
|
-
|
|
13417
|
-
|
|
13418
|
-
|
|
13419
|
-
|
|
13420
|
-
|
|
13421
|
-
|
|
13422
|
-
|
|
13423
|
-
|
|
13424
|
-
|
|
13425
|
-
|
|
13426
|
-
|
|
13427
|
-
|
|
13428
|
-
|
|
13429
|
-
|
|
13430
|
-
|
|
13431
|
-
|
|
13432
|
-
|
|
13433
|
-
|
|
13434
|
-
|
|
13435
|
-
|
|
13436
|
-
|
|
13437
|
-
|
|
13438
|
-
|
|
13439
|
-
|
|
13440
|
-
|
|
13441
|
-
|
|
13442
|
-
|
|
13443
|
-
|
|
13444
|
-
|
|
13445
|
-
|
|
13446
|
-
|
|
13447
|
-
|
|
13448
|
-
|
|
13449
|
-
|
|
13450
|
-
|
|
13451
|
-
|
|
13452
|
-
|
|
13453
|
-
|
|
13454
|
-
|
|
13455
|
-
|
|
13456
|
-
|
|
13457
|
-
|
|
13458
|
-
|
|
13585
|
+
CopyButton as a0,
|
|
13586
|
+
Code as a1,
|
|
13587
|
+
useLocalStorage as a2,
|
|
13588
|
+
useStateHistory as a3,
|
|
13589
|
+
Space as a4,
|
|
13590
|
+
useHotkeys as a5,
|
|
13591
|
+
Notification as a6,
|
|
13592
|
+
MantineContext as a7,
|
|
13593
|
+
MenuTarget as a8,
|
|
13594
|
+
MenuDropdown as a9,
|
|
13595
|
+
Select as aA,
|
|
13596
|
+
ModalRoot as aB,
|
|
13597
|
+
ModalOverlay as aC,
|
|
13598
|
+
ModalContent as aD,
|
|
13599
|
+
ModalBody as aE,
|
|
13600
|
+
useMantineTheme as aF,
|
|
13601
|
+
useMediaQuery as aG,
|
|
13602
|
+
useDisclosure as aH,
|
|
13603
|
+
LoadingOverlay as aI,
|
|
13604
|
+
useCallbackRef as aJ,
|
|
13605
|
+
Burger as aK,
|
|
13606
|
+
Loader as aL,
|
|
13607
|
+
MenuLabel as aa,
|
|
13608
|
+
MenuDivider as ab,
|
|
13609
|
+
TooltipGroup as ac,
|
|
13610
|
+
MenuItem as ad,
|
|
13611
|
+
keys as ae,
|
|
13612
|
+
ColorSwatch as af,
|
|
13613
|
+
CheckIcon as ag,
|
|
13614
|
+
Slider as ah,
|
|
13615
|
+
useDebouncedValue as ai,
|
|
13616
|
+
Spoiler as aj,
|
|
13617
|
+
ButtonGroup as ak,
|
|
13618
|
+
useHover$1 as al,
|
|
13619
|
+
FloatingIndicator as am,
|
|
13620
|
+
useUncontrolled as an,
|
|
13621
|
+
clampUseMovePosition as ao,
|
|
13622
|
+
useMove as ap,
|
|
13623
|
+
openSpotlight as aq,
|
|
13624
|
+
HoverCard as ar,
|
|
13625
|
+
HoverCardTarget as as,
|
|
13626
|
+
Overlay as at,
|
|
13627
|
+
HoverCardDropdown as au,
|
|
13628
|
+
createTheme as av,
|
|
13629
|
+
MantineProvider as aw,
|
|
13630
|
+
useInViewport as ax,
|
|
13631
|
+
SimpleGrid as ay,
|
|
13632
|
+
Drawer as az,
|
|
13459
13633
|
CardSection as b,
|
|
13460
13634
|
clsx as c,
|
|
13461
13635
|
Center as d,
|
|
@@ -13473,12 +13647,12 @@ export {
|
|
|
13473
13647
|
ScrollAreaAutosize as p,
|
|
13474
13648
|
Stack as q,
|
|
13475
13649
|
useTree as r,
|
|
13476
|
-
|
|
13650
|
+
Alert as s,
|
|
13477
13651
|
themeToVars as t,
|
|
13478
13652
|
useMantineColorScheme as u,
|
|
13479
|
-
|
|
13480
|
-
|
|
13481
|
-
|
|
13482
|
-
|
|
13483
|
-
|
|
13653
|
+
Tree as v,
|
|
13654
|
+
rem as w,
|
|
13655
|
+
Tooltip as x,
|
|
13656
|
+
useId$1 as y,
|
|
13657
|
+
SegmentedControl as z
|
|
13484
13658
|
};
|