@mlw-packages/react-components 1.9.7 → 1.9.8
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/index.css +195 -14
- package/dist/index.d.mts +95 -2
- package/dist/index.d.ts +95 -2
- package/dist/index.js +334 -237
- package/dist/index.mjs +335 -239
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
import * as React33 from 'react';
|
|
3
|
-
import React33__default, { createContext,
|
|
3
|
+
import React33__default, { createContext, forwardRef, useState, useEffect, useMemo, useRef, useCallback, useContext, useId, useLayoutEffect } from 'react';
|
|
4
4
|
import { Slot } from '@radix-ui/react-slot';
|
|
5
5
|
import { cva } from 'class-variance-authority';
|
|
6
6
|
import { clsx } from 'clsx';
|
|
@@ -1848,9 +1848,9 @@ var InputBase = React33.forwardRef(
|
|
|
1848
1848
|
"div",
|
|
1849
1849
|
{
|
|
1850
1850
|
className: cn(
|
|
1851
|
-
"flex items-center rounded-md transition h-9
|
|
1851
|
+
"flex items-center rounded-md transition h-9 bg-background overflow-hidden",
|
|
1852
1852
|
type !== "file" && "border border-input",
|
|
1853
|
-
error ? "border-destructive focus:ring-1 focus:ring-destructive" : "border-input
|
|
1853
|
+
error ? "border-destructive focus:ring-1 focus:ring-destructive" : "border-input"
|
|
1854
1854
|
),
|
|
1855
1855
|
children: [
|
|
1856
1856
|
leftIcon && /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center px-2", children: leftIcon }),
|
|
@@ -1934,87 +1934,130 @@ var CommandInputBase = React33.forwardRef(({ className, testid: dataTestId = "co
|
|
|
1934
1934
|
}
|
|
1935
1935
|
));
|
|
1936
1936
|
CommandInputBase.displayName = Command.Input.displayName;
|
|
1937
|
-
var
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
const
|
|
1965
|
-
|
|
1966
|
-
const
|
|
1967
|
-
|
|
1937
|
+
var CommandDebouncedInputBase = React33.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
1938
|
+
"div",
|
|
1939
|
+
{
|
|
1940
|
+
className: "flex items-center border-b px-3 border-border",
|
|
1941
|
+
"cmdk-input-wrapper": "",
|
|
1942
|
+
children: [
|
|
1943
|
+
/* @__PURE__ */ jsx(MagnifyingGlassIcon, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
|
|
1944
|
+
/* @__PURE__ */ jsx(
|
|
1945
|
+
Command.Input,
|
|
1946
|
+
{
|
|
1947
|
+
ref,
|
|
1948
|
+
className: cn(
|
|
1949
|
+
"flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none text-primary placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
1950
|
+
className
|
|
1951
|
+
),
|
|
1952
|
+
"data-testid": dataTestId,
|
|
1953
|
+
...props
|
|
1954
|
+
}
|
|
1955
|
+
)
|
|
1956
|
+
]
|
|
1957
|
+
}
|
|
1958
|
+
));
|
|
1959
|
+
CommandDebouncedInputBase.displayName = Command.Input.displayName;
|
|
1960
|
+
var CommandListBase = React33.forwardRef(
|
|
1961
|
+
({ className, testid: dataTestId = "command-list", onEndReached, ...props }, ref) => {
|
|
1962
|
+
const listRef = React33.useRef(null);
|
|
1963
|
+
React33.useEffect(() => {
|
|
1964
|
+
const element = listRef.current;
|
|
1965
|
+
if (!element) return;
|
|
1966
|
+
const handleWheel = (e) => {
|
|
1967
|
+
const target = e.currentTarget;
|
|
1968
|
+
const { scrollTop, scrollHeight, clientHeight } = target;
|
|
1969
|
+
const isScrollingDown = e.deltaY > 0;
|
|
1970
|
+
const isScrollingUp = e.deltaY < 0;
|
|
1971
|
+
const isAtBottom = scrollTop + clientHeight >= scrollHeight - 1;
|
|
1972
|
+
const isAtTop = scrollTop <= 1;
|
|
1973
|
+
if (isScrollingDown && isAtBottom && onEndReached) {
|
|
1974
|
+
onEndReached();
|
|
1975
|
+
}
|
|
1976
|
+
if (isScrollingDown && !isAtBottom || isScrollingUp && !isAtTop) {
|
|
1977
|
+
e.stopPropagation();
|
|
1978
|
+
}
|
|
1979
|
+
};
|
|
1980
|
+
const handleScroll = (e) => {
|
|
1981
|
+
const target = e.currentTarget;
|
|
1982
|
+
const { scrollTop, scrollHeight, clientHeight } = target;
|
|
1983
|
+
const isAtBottom = scrollTop + clientHeight >= scrollHeight - 1;
|
|
1984
|
+
if (isAtBottom && onEndReached) {
|
|
1985
|
+
onEndReached();
|
|
1986
|
+
}
|
|
1987
|
+
};
|
|
1988
|
+
let touchStartY = 0;
|
|
1989
|
+
const handleTouchStart = (e) => {
|
|
1990
|
+
touchStartY = e.touches[0].clientY;
|
|
1968
1991
|
e.stopPropagation();
|
|
1969
|
-
}
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
"
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
willChange: "scroll-position",
|
|
2012
|
-
transform: "translateZ(0)"
|
|
1992
|
+
};
|
|
1993
|
+
const handleTouchMove = (e) => {
|
|
1994
|
+
const target = e.currentTarget;
|
|
1995
|
+
const { scrollTop, scrollHeight, clientHeight } = target;
|
|
1996
|
+
const touchCurrentY = e.touches[0].clientY;
|
|
1997
|
+
const touchDeltaY = touchStartY - touchCurrentY;
|
|
1998
|
+
const isScrollingDown = touchDeltaY > 0;
|
|
1999
|
+
const isScrollingUp = touchDeltaY < 0;
|
|
2000
|
+
const isAtBottom = scrollTop + clientHeight >= scrollHeight - 1;
|
|
2001
|
+
const isAtTop = scrollTop <= 1;
|
|
2002
|
+
if (isScrollingDown && isAtBottom && onEndReached) {
|
|
2003
|
+
onEndReached();
|
|
2004
|
+
}
|
|
2005
|
+
if (isScrollingDown && !isAtBottom || isScrollingUp && !isAtTop) {
|
|
2006
|
+
e.stopPropagation();
|
|
2007
|
+
} else if (isScrollingDown && isAtBottom || isScrollingUp && isAtTop) {
|
|
2008
|
+
e.preventDefault();
|
|
2009
|
+
}
|
|
2010
|
+
};
|
|
2011
|
+
element.addEventListener("wheel", handleWheel, { passive: false });
|
|
2012
|
+
element.addEventListener("scroll", handleScroll);
|
|
2013
|
+
element.addEventListener("touchstart", handleTouchStart, {
|
|
2014
|
+
passive: false
|
|
2015
|
+
});
|
|
2016
|
+
element.addEventListener("touchmove", handleTouchMove, {
|
|
2017
|
+
passive: false
|
|
2018
|
+
});
|
|
2019
|
+
return () => {
|
|
2020
|
+
element.removeEventListener("wheel", handleWheel);
|
|
2021
|
+
element.removeEventListener("scroll", handleScroll);
|
|
2022
|
+
element.removeEventListener("touchmove", handleTouchMove);
|
|
2023
|
+
element.removeEventListener("touchstart", handleTouchStart);
|
|
2024
|
+
};
|
|
2025
|
+
}, [onEndReached]);
|
|
2026
|
+
const combinedRef = React33.useCallback(
|
|
2027
|
+
(node) => {
|
|
2028
|
+
listRef.current = node;
|
|
2029
|
+
if (typeof ref === "function") {
|
|
2030
|
+
ref(node);
|
|
2031
|
+
} else if (ref) {
|
|
2032
|
+
ref.current = node;
|
|
2033
|
+
}
|
|
2013
2034
|
},
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2035
|
+
[ref]
|
|
2036
|
+
);
|
|
2037
|
+
return /* @__PURE__ */ jsx(
|
|
2038
|
+
Command.List,
|
|
2039
|
+
{
|
|
2040
|
+
ref: combinedRef,
|
|
2041
|
+
className: cn(
|
|
2042
|
+
"max-h-[300px] overflow-y-auto overflow-x-hidden scroll-smooth [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:bg-muted [&::-webkit-scrollbar-thumb]:rounded-full hover:[&::-webkit-scrollbar-thumb]:bg-muted-foreground/50",
|
|
2043
|
+
className
|
|
2044
|
+
),
|
|
2045
|
+
"data-testid": dataTestId,
|
|
2046
|
+
style: {
|
|
2047
|
+
overscrollBehavior: "contain",
|
|
2048
|
+
WebkitOverflowScrolling: "touch",
|
|
2049
|
+
touchAction: "pan-y",
|
|
2050
|
+
scrollbarWidth: "thin",
|
|
2051
|
+
scrollbarColor: "hsl(var(--muted)) transparent",
|
|
2052
|
+
overflowY: "auto",
|
|
2053
|
+
willChange: "scroll-position",
|
|
2054
|
+
transform: "translateZ(0)"
|
|
2055
|
+
},
|
|
2056
|
+
...props
|
|
2057
|
+
}
|
|
2058
|
+
);
|
|
2059
|
+
}
|
|
2060
|
+
);
|
|
2018
2061
|
CommandListBase.displayName = Command.List.displayName;
|
|
2019
2062
|
var CommandEmptyBase = React33.forwardRef(({ testid: dataTestId = "command-empty", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2020
2063
|
Command.Empty,
|
|
@@ -7280,58 +7323,62 @@ function StatusIndicator({
|
|
|
7280
7323
|
/* @__PURE__ */ jsx("div", { className: "min-w-0", children })
|
|
7281
7324
|
] });
|
|
7282
7325
|
}
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7326
|
+
var DebouncedInput = forwardRef(
|
|
7327
|
+
({
|
|
7328
|
+
value: initialValue,
|
|
7329
|
+
onChange,
|
|
7330
|
+
debounce: debounce2 = 500,
|
|
7331
|
+
label,
|
|
7332
|
+
labelClassname,
|
|
7333
|
+
leftIcon,
|
|
7334
|
+
rightIcon,
|
|
7335
|
+
showLoadingIndicator = false,
|
|
7336
|
+
className,
|
|
7337
|
+
error,
|
|
7338
|
+
...props
|
|
7339
|
+
}, ref) => {
|
|
7340
|
+
const [value, setValue] = useState(initialValue);
|
|
7341
|
+
const [isDebouncing, setIsDebouncing] = useState(false);
|
|
7342
|
+
useEffect(() => {
|
|
7343
|
+
setValue(initialValue);
|
|
7344
|
+
}, [initialValue]);
|
|
7345
|
+
useEffect(() => {
|
|
7346
|
+
if (value !== initialValue) {
|
|
7347
|
+
setIsDebouncing(true);
|
|
7348
|
+
}
|
|
7349
|
+
const timeout = setTimeout(() => {
|
|
7350
|
+
onChange(value);
|
|
7351
|
+
setIsDebouncing(false);
|
|
7352
|
+
}, debounce2);
|
|
7353
|
+
return () => {
|
|
7354
|
+
clearTimeout(timeout);
|
|
7355
|
+
setIsDebouncing(false);
|
|
7356
|
+
};
|
|
7357
|
+
}, [debounce2, initialValue, onChange, value]);
|
|
7358
|
+
const renderRightIcon = () => {
|
|
7359
|
+
if (showLoadingIndicator && isDebouncing) {
|
|
7360
|
+
return /* @__PURE__ */ jsx(CircleNotchIcon, { className: "h-4 w-4 animate-spin text-muted-foreground" });
|
|
7361
|
+
}
|
|
7362
|
+
return rightIcon;
|
|
7312
7363
|
};
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
error
|
|
7332
|
-
}
|
|
7333
|
-
);
|
|
7334
|
-
}
|
|
7364
|
+
return /* @__PURE__ */ jsx(
|
|
7365
|
+
InputBase,
|
|
7366
|
+
{
|
|
7367
|
+
...props,
|
|
7368
|
+
ref,
|
|
7369
|
+
label,
|
|
7370
|
+
labelClassname,
|
|
7371
|
+
leftIcon,
|
|
7372
|
+
rightIcon: renderRightIcon(),
|
|
7373
|
+
className: cn("transition-all duration-200", className),
|
|
7374
|
+
value,
|
|
7375
|
+
onChange: (e) => setValue(e.target.value),
|
|
7376
|
+
error
|
|
7377
|
+
}
|
|
7378
|
+
);
|
|
7379
|
+
}
|
|
7380
|
+
);
|
|
7381
|
+
DebouncedInput.displayName = "DebouncedInput";
|
|
7335
7382
|
function useCheckboxTree(initialTree) {
|
|
7336
7383
|
const initialCheckedNodes = useMemo(() => {
|
|
7337
7384
|
const checkedSet = /* @__PURE__ */ new Set();
|
|
@@ -9101,19 +9148,19 @@ function getEventColorClassesAgenda(color) {
|
|
|
9101
9148
|
const eventColor = color || "sky";
|
|
9102
9149
|
switch (eventColor) {
|
|
9103
9150
|
case "sky":
|
|
9104
|
-
return "bg-sky-
|
|
9151
|
+
return "bg-sky-100 hover:bg-sky-200 text-sky-900 border dark:bg-sky-500/30 dark:hover:bg-sky-500/40 dark:text-sky-50 dark:border-sky-400/40 shadow-sky-500/15 hover:shadow-sky-500/25 transition-all duration-200";
|
|
9105
9152
|
case "amber":
|
|
9106
|
-
return "bg-amber-
|
|
9153
|
+
return "bg-amber-100 hover:bg-amber-200 text-amber-900 border dark:bg-amber-500/30 dark:hover:bg-amber-500/40 dark:text-amber-50 dark:border-amber-400/40 shadow-amber-500/15 hover:shadow-amber-500/25 transition-all duration-200";
|
|
9107
9154
|
case "violet":
|
|
9108
|
-
return "bg-violet-
|
|
9155
|
+
return "bg-violet-100 hover:bg-violet-200 text-violet-900 border dark:bg-violet-500/30 dark:hover:bg-violet-500/40 dark:text-violet-50 dark:border-violet-400/40 shadow-violet-500/15 hover:shadow-violet-500/25 transition-all duration-200";
|
|
9109
9156
|
case "rose":
|
|
9110
|
-
return "bg-rose-
|
|
9157
|
+
return "bg-rose-100 hover:bg-rose-200 text-rose-900 border dark:bg-rose-500/30 dark:hover:bg-rose-500/40 dark:text-rose-50 dark:border-rose-400/40 shadow-rose-500/15 hover:shadow-rose-500/25 transition-all duration-200";
|
|
9111
9158
|
case "emerald":
|
|
9112
|
-
return "bg-emerald-
|
|
9159
|
+
return "bg-emerald-100 hover:bg-emerald-200 text-emerald-900 border dark:bg-emerald-500/30 dark:hover:bg-emerald-500/40 dark:text-emerald-50 dark:border-emerald-400/40 shadow-emerald-500/15 hover:shadow-emerald-500/25 transition-all duration-200";
|
|
9113
9160
|
case "orange":
|
|
9114
|
-
return "bg-orange-
|
|
9161
|
+
return "bg-orange-100 hover:bg-orange-200 text-orange-900 border dark:bg-orange-500/30 dark:hover:bg-orange-500/40 dark:text-orange-50 dark:border-orange-400/40 shadow-orange-500/15 hover:shadow-orange-500/25 transition-all duration-200";
|
|
9115
9162
|
default:
|
|
9116
|
-
return "bg-sky-
|
|
9163
|
+
return "bg-sky-100 hover:bg-sky-200 text-sky-900 border dark:bg-sky-500/30 dark:hover:bg-sky-500/40 dark:text-sky-50 dark:border-sky-400/40 shadow-sky-500/15 hover:shadow-sky-500/25 transition-all duration-200";
|
|
9117
9164
|
}
|
|
9118
9165
|
}
|
|
9119
9166
|
function getBorderRadiusClassesAgenda(isFirstDay, isLastDay) {
|
|
@@ -9132,7 +9179,7 @@ function isMultiDayEventAgenda(event) {
|
|
|
9132
9179
|
const eventStart = getEventStartDate(event);
|
|
9133
9180
|
const eventEnd = getEventEndDate(event);
|
|
9134
9181
|
if (!eventStart || !eventEnd) return !!event.allDay;
|
|
9135
|
-
return event.allDay || eventStart
|
|
9182
|
+
return event.allDay || !isSameDay(eventStart, eventEnd);
|
|
9136
9183
|
}
|
|
9137
9184
|
function getEventsForDayAgenda(events, day) {
|
|
9138
9185
|
return events.filter((event) => {
|
|
@@ -9288,12 +9335,13 @@ function EventWrapper({
|
|
|
9288
9335
|
return void 0;
|
|
9289
9336
|
})();
|
|
9290
9337
|
const isEventInPast = displayEnd ? isPast(displayEnd) : false;
|
|
9291
|
-
const colorClasses = hasValidTimeForWrapper ? getEventColorClassesAgenda(event.color) : "bg-gray-200/50 hover:bg-gray-200/40 text-gray-900/80 dark:bg-gray-700/25 dark:text-gray-200/90 shadow-none";
|
|
9338
|
+
const colorClasses = hasValidTimeForWrapper ? getEventColorClassesAgenda(event.color) : "bg-gray-200/50 hover:bg-gray-200/40 text-gray-900/80 dark:bg-gray-700/25 dark:text-gray-200/90 shadow-none ";
|
|
9292
9339
|
return /* @__PURE__ */ jsx(
|
|
9293
9340
|
"button",
|
|
9294
9341
|
{
|
|
9295
9342
|
className: cn(
|
|
9296
|
-
"flex w-full select-none
|
|
9343
|
+
"flex w-full select-none px-3 py-1 text-left font-medium outline-none transition-transform duration-150 ease-out backdrop-blur-sm focus-visible:ring-2 focus-visible:ring-ring/50 focus-visible:border-ring data-dragging:cursor-grabbing data-past-event:line-through data-dragging:shadow-lg sm:px-3 rounded-lg shadow-sm hover:shadow-md border ",
|
|
9344
|
+
className?.includes("overflow-visible") ? "" : "overflow-hidden",
|
|
9297
9345
|
colorClasses,
|
|
9298
9346
|
getBorderRadiusClassesAgenda(isFirstDay, isLastDay),
|
|
9299
9347
|
className
|
|
@@ -9918,7 +9966,7 @@ function Select({
|
|
|
9918
9966
|
]
|
|
9919
9967
|
}
|
|
9920
9968
|
),
|
|
9921
|
-
/* @__PURE__ */ jsx(ScrollAreaBase, { "data-testid": testIds.scrollarea ?? "select-scrollarea", children: /* @__PURE__ */ jsx(SelectContentBase, { "data-testid": testIds.content ?? "select-content", children: pagination && pagination > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9969
|
+
/* @__PURE__ */ jsx(ScrollAreaBase, { "data-testid": testIds.scrollarea ?? "select-scrollarea", children: /* @__PURE__ */ jsx(SelectContentBase, { "data-testid": testIds.content ?? "select-content", className: "border-border", children: pagination && pagination > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9922
9970
|
/* @__PURE__ */ jsx(
|
|
9923
9971
|
"div",
|
|
9924
9972
|
{
|
|
@@ -10416,7 +10464,7 @@ function MonthViewAgenda({
|
|
|
10416
10464
|
"div",
|
|
10417
10465
|
{
|
|
10418
10466
|
className: twMerge(
|
|
10419
|
-
`mt-1 inline-flex w-6 h-6 sm:w-7 sm:h-7 items-center justify-center rounded-
|
|
10467
|
+
`mt-1 inline-flex w-6 h-6 sm:w-7 sm:h-7 items-center justify-center border rounded-md text-xs sm:text-sm font-semibold text-muted-foreground`,
|
|
10420
10468
|
isToday(day) ? "bg-blue-500 text-white" : ""
|
|
10421
10469
|
),
|
|
10422
10470
|
children: format(day, "d")
|
|
@@ -10449,21 +10497,19 @@ function MonthViewAgenda({
|
|
|
10449
10497
|
isLastDay,
|
|
10450
10498
|
onClick: (e) => handleEventClick(event, e),
|
|
10451
10499
|
view: "month",
|
|
10452
|
-
children: /* @__PURE__ */
|
|
10453
|
-
/* @__PURE__ */ jsx("span", { className: "text-[11px] opacity-80", children: "\u2192" }),
|
|
10454
|
-
/* @__PURE__ */ jsx("span", { className: "truncate font-medium", children: event.title })
|
|
10455
|
-
] })
|
|
10500
|
+
children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1 truncate text-[12px] text-foreground" })
|
|
10456
10501
|
}
|
|
10457
10502
|
)
|
|
10458
10503
|
},
|
|
10459
10504
|
`spanning-${event.id}-${day.toISOString().slice(0, 10)}`
|
|
10460
10505
|
);
|
|
10461
10506
|
}
|
|
10507
|
+
const isMultiDay = !isLastDay;
|
|
10462
10508
|
return /* @__PURE__ */ jsx(
|
|
10463
10509
|
"div",
|
|
10464
10510
|
{
|
|
10465
10511
|
"aria-hidden": isHidden ? "true" : void 0,
|
|
10466
|
-
className: "aria-hidden:hidden",
|
|
10512
|
+
className: "aria-hidden:hidden relative",
|
|
10467
10513
|
children: /* @__PURE__ */ jsx(
|
|
10468
10514
|
EventItemAgenda,
|
|
10469
10515
|
{
|
|
@@ -10472,9 +10518,16 @@ function MonthViewAgenda({
|
|
|
10472
10518
|
isLastDay,
|
|
10473
10519
|
onClick: (e) => handleEventClick(event, e),
|
|
10474
10520
|
view: "month",
|
|
10475
|
-
|
|
10521
|
+
className: isMultiDay ? "overflow-visible" : "",
|
|
10522
|
+
children: /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1 sm:gap-2 truncate text-[12px] text-foreground relative z-10", children: [
|
|
10476
10523
|
!event.allDay && /* @__PURE__ */ jsx("span", { className: "truncate font-normal opacity-80 text-[10px] sm:text-[11px] bg-white/10 px-1 py-0.5 rounded-full", children: format(eventStart, "HH:mm") }),
|
|
10477
|
-
/* @__PURE__ */ jsx(
|
|
10524
|
+
/* @__PURE__ */ jsx(
|
|
10525
|
+
"span",
|
|
10526
|
+
{
|
|
10527
|
+
className: `font-medium text-xs sm:text-sm ${isMultiDay ? "whitespace-nowrap" : "truncate"}`,
|
|
10528
|
+
children: event.title
|
|
10529
|
+
}
|
|
10530
|
+
)
|
|
10478
10531
|
] })
|
|
10479
10532
|
}
|
|
10480
10533
|
)
|
|
@@ -13240,13 +13293,13 @@ function getEventColorClasses(color) {
|
|
|
13240
13293
|
}
|
|
13241
13294
|
function getBorderRadiusClasses(isFirstDay, isLastDay) {
|
|
13242
13295
|
if (isFirstDay && isLastDay) {
|
|
13243
|
-
return "rounded";
|
|
13296
|
+
return "rounded-lg";
|
|
13244
13297
|
}
|
|
13245
13298
|
if (isFirstDay) {
|
|
13246
|
-
return "rounded-l rounded-r-none";
|
|
13299
|
+
return "rounded-l-lg rounded-r-none";
|
|
13247
13300
|
}
|
|
13248
13301
|
if (isLastDay) {
|
|
13249
|
-
return "rounded-r rounded-l-none";
|
|
13302
|
+
return "rounded-r-lg rounded-l-none";
|
|
13250
13303
|
}
|
|
13251
13304
|
return "rounded-none";
|
|
13252
13305
|
}
|
|
@@ -15080,7 +15133,7 @@ var DraggableTooltipComponent = ({
|
|
|
15080
15133
|
/* @__PURE__ */ jsx(
|
|
15081
15134
|
motion.div,
|
|
15082
15135
|
{
|
|
15083
|
-
className: "fixed pointer-events-none z-
|
|
15136
|
+
className: "fixed pointer-events-none z-[9998]",
|
|
15084
15137
|
variants: guideVariants,
|
|
15085
15138
|
initial: "hidden",
|
|
15086
15139
|
animate: "visible",
|
|
@@ -15102,7 +15155,7 @@ var DraggableTooltipComponent = ({
|
|
|
15102
15155
|
/* @__PURE__ */ jsx(
|
|
15103
15156
|
motion.div,
|
|
15104
15157
|
{
|
|
15105
|
-
className: "fixed pointer-events-none z-
|
|
15158
|
+
className: "fixed pointer-events-none z-[9999]",
|
|
15106
15159
|
variants: guideDotVariants,
|
|
15107
15160
|
initial: "hidden",
|
|
15108
15161
|
animate: "visible",
|
|
@@ -15142,7 +15195,7 @@ var DraggableTooltipComponent = ({
|
|
|
15142
15195
|
/* @__PURE__ */ jsx(AnimatePresence, { children: /* @__PURE__ */ jsxs(
|
|
15143
15196
|
motion.div,
|
|
15144
15197
|
{
|
|
15145
|
-
className: "fixed bg-card border border-border rounded-lg shadow-lg z-
|
|
15198
|
+
className: "fixed bg-card border border-border rounded-lg shadow-lg z-[10000] min-w-80 select-none",
|
|
15146
15199
|
variants: tooltipVariants,
|
|
15147
15200
|
initial: "hidden",
|
|
15148
15201
|
animate: "visible",
|
|
@@ -15374,7 +15427,7 @@ var RechartTooltipWithTotal = ({
|
|
|
15374
15427
|
{
|
|
15375
15428
|
role: "dialog",
|
|
15376
15429
|
"aria-label": `Tooltip ${label ?? ""}`,
|
|
15377
|
-
className: "bg-card border border-border rounded-lg p-3 shadow-2xl max-w-xs z-
|
|
15430
|
+
className: "bg-card border border-border rounded-lg p-3 shadow-2xl max-w-xs z-[10000]",
|
|
15378
15431
|
style: { minWidth: 220 },
|
|
15379
15432
|
children: [
|
|
15380
15433
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between mb-2", children: [
|
|
@@ -15487,7 +15540,7 @@ var TooltipSimple = ({
|
|
|
15487
15540
|
{
|
|
15488
15541
|
role: "dialog",
|
|
15489
15542
|
"aria-label": `Tooltip ${label ?? ""}`,
|
|
15490
|
-
className: "bg-card border border-border rounded-lg p-3 shadow-2xl max-w-[280px] z-
|
|
15543
|
+
className: "bg-card border border-border rounded-lg p-3 shadow-2xl max-w-[280px] z-[10000]",
|
|
15491
15544
|
style: { minWidth: 220 },
|
|
15492
15545
|
children: [
|
|
15493
15546
|
/* @__PURE__ */ jsx("div", { className: "mb-2", children: /* @__PURE__ */ jsx("div", { className: "flex items-center justify-between gap-3", children: /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
@@ -15676,7 +15729,7 @@ var SystemTooltip = ({
|
|
|
15676
15729
|
return /* @__PURE__ */ jsx(AnimatePresence, { children: /* @__PURE__ */ jsxs(
|
|
15677
15730
|
motion.div,
|
|
15678
15731
|
{
|
|
15679
|
-
className: "fixed bg-card/95 backdrop-blur-md border border-border/50 rounded-xl shadow-2xl z-
|
|
15732
|
+
className: "fixed bg-card/95 backdrop-blur-md border border-border/50 rounded-xl shadow-2xl z-[10000] w-80 overflow-hidden",
|
|
15680
15733
|
variants: tooltipVariants2,
|
|
15681
15734
|
initial: "hidden",
|
|
15682
15735
|
animate: "visible",
|
|
@@ -15751,7 +15804,9 @@ var SystemTooltip = ({
|
|
|
15751
15804
|
"div",
|
|
15752
15805
|
{
|
|
15753
15806
|
className: "group flex items-center justify-between p-2 rounded-lg bg-emerald-500/5 border border-emerald-500/10 hover:border-emerald-500/30 transition-all cursor-pointer",
|
|
15754
|
-
onClick: () => setExpandedId(
|
|
15807
|
+
onClick: () => setExpandedId(
|
|
15808
|
+
expandedId === conn.id ? null : conn.id
|
|
15809
|
+
),
|
|
15755
15810
|
children: [
|
|
15756
15811
|
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 overflow-hidden", children: /* @__PURE__ */ jsx("span", { className: "text-sm font-medium truncate", children: conn.name }) }),
|
|
15757
15812
|
/* @__PURE__ */ jsx(
|
|
@@ -15813,7 +15868,9 @@ var SystemTooltip = ({
|
|
|
15813
15868
|
"div",
|
|
15814
15869
|
{
|
|
15815
15870
|
className: "group flex items-center justify-between p-2 rounded-lg bg-blue-500/5 border border-blue-500/10 hover:border-blue-500/30 transition-all cursor-pointer",
|
|
15816
|
-
onClick: () => setExpandedId(
|
|
15871
|
+
onClick: () => setExpandedId(
|
|
15872
|
+
expandedId === conn.id ? null : conn.id
|
|
15873
|
+
),
|
|
15817
15874
|
children: [
|
|
15818
15875
|
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 overflow-hidden", children: /* @__PURE__ */ jsx("span", { className: "text-sm font-medium truncate", children: conn.name }) }),
|
|
15819
15876
|
/* @__PURE__ */ jsx(
|
|
@@ -15874,6 +15931,35 @@ var SystemTooltip = ({
|
|
|
15874
15931
|
) });
|
|
15875
15932
|
};
|
|
15876
15933
|
var SystemTooltip_default = SystemTooltip;
|
|
15934
|
+
|
|
15935
|
+
// src/components/ui/charts/components/tooltips/systemTooltipUtils.ts
|
|
15936
|
+
function processNeo4jData(integrations, targetSystemName) {
|
|
15937
|
+
const connections = [];
|
|
15938
|
+
integrations.forEach((integration) => {
|
|
15939
|
+
const origemNome = integration.origem.properties.nome;
|
|
15940
|
+
const destinoNome = integration.destino.properties.nome;
|
|
15941
|
+
if (origemNome === targetSystemName) {
|
|
15942
|
+
connections.push({
|
|
15943
|
+
id: integration.r.elementId,
|
|
15944
|
+
name: destinoNome,
|
|
15945
|
+
type: "saida",
|
|
15946
|
+
integration: integration.r.properties
|
|
15947
|
+
});
|
|
15948
|
+
}
|
|
15949
|
+
if (destinoNome === targetSystemName) {
|
|
15950
|
+
connections.push({
|
|
15951
|
+
id: integration.r.elementId,
|
|
15952
|
+
name: origemNome,
|
|
15953
|
+
type: "entrada",
|
|
15954
|
+
integration: integration.r.properties
|
|
15955
|
+
});
|
|
15956
|
+
}
|
|
15957
|
+
});
|
|
15958
|
+
return {
|
|
15959
|
+
name: targetSystemName,
|
|
15960
|
+
connections
|
|
15961
|
+
};
|
|
15962
|
+
}
|
|
15877
15963
|
var Brush = ({
|
|
15878
15964
|
data,
|
|
15879
15965
|
legend,
|
|
@@ -16578,7 +16664,7 @@ var NoData = ({
|
|
|
16578
16664
|
/* @__PURE__ */ jsxs(
|
|
16579
16665
|
"svg",
|
|
16580
16666
|
{
|
|
16581
|
-
className: "w-full h-
|
|
16667
|
+
className: "w-full h-full opacity-40",
|
|
16582
16668
|
viewBox: `0 0 900 ${h}`,
|
|
16583
16669
|
preserveAspectRatio: "none",
|
|
16584
16670
|
children: [
|
|
@@ -17348,6 +17434,16 @@ var Chart = ({
|
|
|
17348
17434
|
// horizontal removido
|
|
17349
17435
|
// orderBy removido
|
|
17350
17436
|
}) => {
|
|
17437
|
+
const usesFullHeight = typeof height === "string" && (height === "100%" || height === "100vh") || typeof className === "string" && /\bh-full\b/.test(className || "");
|
|
17438
|
+
const responsiveHeight = usesFullHeight ? "100%" : height;
|
|
17439
|
+
const wrapperClass = cn(
|
|
17440
|
+
"w-full min-w-0 rounded-lg border-border",
|
|
17441
|
+
className,
|
|
17442
|
+
"overflow-hidden"
|
|
17443
|
+
);
|
|
17444
|
+
const wrapperStyle = usesFullHeight ? void 0 : {
|
|
17445
|
+
height: typeof responsiveHeight === "number" ? `${responsiveHeight}px` : responsiveHeight
|
|
17446
|
+
};
|
|
17351
17447
|
const { xAxisConfig, mapperConfig } = useMemo(() => {
|
|
17352
17448
|
return fnSmartConfig({ xAxis, data, labelMap });
|
|
17353
17449
|
}, [data, xAxis, labelMap]);
|
|
@@ -17491,6 +17587,10 @@ var Chart = ({
|
|
|
17491
17587
|
maxTooltips,
|
|
17492
17588
|
effectiveChartWidth
|
|
17493
17589
|
});
|
|
17590
|
+
const legendSpace = showLegend ? 44 : 0;
|
|
17591
|
+
const xAxisLabelSpace = xAxisLabel ? 18 : 0;
|
|
17592
|
+
const brushSpace = timeSeriesConfig?.height ? 200 : 0;
|
|
17593
|
+
const bottomMargin = 10 + legendSpace + xAxisLabelSpace + brushSpace;
|
|
17494
17594
|
if (!data && !isLoading) return null;
|
|
17495
17595
|
if (isLoading) {
|
|
17496
17596
|
return /* @__PURE__ */ jsx(
|
|
@@ -17514,16 +17614,13 @@ var Chart = ({
|
|
|
17514
17614
|
}
|
|
17515
17615
|
);
|
|
17516
17616
|
}
|
|
17517
|
-
return /* @__PURE__ */ jsxs(
|
|
17518
|
-
|
|
17519
|
-
|
|
17520
|
-
|
|
17521
|
-
|
|
17522
|
-
|
|
17523
|
-
|
|
17524
|
-
),
|
|
17525
|
-
children: [
|
|
17526
|
-
/* @__PURE__ */ jsxs("div", { className: "rounded-lg bg-card relative w-full max-w-full min-w-0 py-1", children: [
|
|
17617
|
+
return /* @__PURE__ */ jsxs("div", { ref: wrapperRef, className: wrapperClass, style: wrapperStyle, children: [
|
|
17618
|
+
/* @__PURE__ */ jsxs(
|
|
17619
|
+
"div",
|
|
17620
|
+
{
|
|
17621
|
+
className: "rounded-lg bg-card relative w-full max-w-full min-w-0 py-1",
|
|
17622
|
+
style: usesFullHeight ? { height: "100%" } : void 0,
|
|
17623
|
+
children: [
|
|
17527
17624
|
/* @__PURE__ */ jsx(
|
|
17528
17625
|
ChartHeader,
|
|
17529
17626
|
{
|
|
@@ -17585,16 +17682,15 @@ var Chart = ({
|
|
|
17585
17682
|
)
|
|
17586
17683
|
}
|
|
17587
17684
|
),
|
|
17588
|
-
/* @__PURE__ */ jsx(ResponsiveContainer, { width: "100%", height
|
|
17685
|
+
/* @__PURE__ */ jsx(ResponsiveContainer, { width: "100%", height: responsiveHeight, children: /* @__PURE__ */ jsxs(
|
|
17589
17686
|
ComposedChart,
|
|
17590
17687
|
{
|
|
17591
17688
|
data: processedData,
|
|
17592
|
-
height,
|
|
17593
17689
|
margin: {
|
|
17594
17690
|
top: 10,
|
|
17595
17691
|
right: finalChartRightMargin,
|
|
17596
17692
|
left: finalChartLeftMargin,
|
|
17597
|
-
bottom:
|
|
17693
|
+
bottom: bottomMargin
|
|
17598
17694
|
},
|
|
17599
17695
|
onClick: handleChartClick,
|
|
17600
17696
|
children: [
|
|
@@ -17875,67 +17971,67 @@ var Chart = ({
|
|
|
17875
17971
|
]
|
|
17876
17972
|
}
|
|
17877
17973
|
) })
|
|
17878
|
-
]
|
|
17879
|
-
|
|
17880
|
-
|
|
17881
|
-
|
|
17882
|
-
|
|
17883
|
-
|
|
17884
|
-
|
|
17885
|
-
|
|
17886
|
-
|
|
17887
|
-
|
|
17888
|
-
|
|
17889
|
-
|
|
17890
|
-
|
|
17891
|
-
|
|
17892
|
-
|
|
17893
|
-
|
|
17894
|
-
|
|
17895
|
-
|
|
17896
|
-
|
|
17897
|
-
|
|
17898
|
-
|
|
17899
|
-
|
|
17900
|
-
|
|
17901
|
-
|
|
17902
|
-
|
|
17903
|
-
|
|
17904
|
-
|
|
17905
|
-
|
|
17906
|
-
|
|
17907
|
-
|
|
17908
|
-
|
|
17909
|
-
|
|
17910
|
-
|
|
17911
|
-
|
|
17912
|
-
|
|
17913
|
-
|
|
17914
|
-
|
|
17915
|
-
|
|
17916
|
-
|
|
17917
|
-
|
|
17918
|
-
|
|
17919
|
-
|
|
17920
|
-
|
|
17921
|
-
|
|
17922
|
-
|
|
17923
|
-
|
|
17924
|
-
|
|
17925
|
-
|
|
17926
|
-
|
|
17927
|
-
|
|
17928
|
-
|
|
17929
|
-
|
|
17930
|
-
|
|
17931
|
-
|
|
17932
|
-
|
|
17933
|
-
|
|
17934
|
-
|
|
17935
|
-
|
|
17936
|
-
|
|
17937
|
-
|
|
17938
|
-
);
|
|
17974
|
+
]
|
|
17975
|
+
}
|
|
17976
|
+
),
|
|
17977
|
+
enableDraggableTooltips && activeTooltips.map((tooltip) => /* @__PURE__ */ jsx(
|
|
17978
|
+
DraggableTooltip_default,
|
|
17979
|
+
{
|
|
17980
|
+
id: tooltip.id,
|
|
17981
|
+
data: adaptDataForTooltip(tooltip.data, xAxisConfig.dataKey),
|
|
17982
|
+
position: tooltip.position,
|
|
17983
|
+
title,
|
|
17984
|
+
dataKeys: allKeys,
|
|
17985
|
+
finalColors,
|
|
17986
|
+
highlightedSeries,
|
|
17987
|
+
toggleHighlight,
|
|
17988
|
+
showOnlyHighlighted,
|
|
17989
|
+
onClose: (id) => setActiveTooltips((prev) => prev.filter((t) => t.id !== id)),
|
|
17990
|
+
onPositionChange: onTooltipPositionChange,
|
|
17991
|
+
periodLabel,
|
|
17992
|
+
dataLabel: "Dados do Per\xEDodo",
|
|
17993
|
+
valueFormatter: finalValueFormatter,
|
|
17994
|
+
categoryFormatter,
|
|
17995
|
+
globalTooltipCount: activeTooltips.length,
|
|
17996
|
+
onCloseAll: () => window.dispatchEvent(new Event("closeAllTooltips")),
|
|
17997
|
+
closeAllButtonPosition: "top-center",
|
|
17998
|
+
closeAllButtonVariant: "floating"
|
|
17999
|
+
},
|
|
18000
|
+
tooltip.id
|
|
18001
|
+
)),
|
|
18002
|
+
enableDraggableTooltips && activeTooltips.length > 1 && /* @__PURE__ */ jsx(
|
|
18003
|
+
CloseAllButton_default,
|
|
18004
|
+
{
|
|
18005
|
+
count: activeTooltips.length,
|
|
18006
|
+
onCloseAll: () => window.dispatchEvent(new Event("closeAllTooltips")),
|
|
18007
|
+
position: "top-center",
|
|
18008
|
+
variant: "floating"
|
|
18009
|
+
}
|
|
18010
|
+
),
|
|
18011
|
+
timeSeriesConfig && /* @__PURE__ */ jsx(
|
|
18012
|
+
Brush_default,
|
|
18013
|
+
{
|
|
18014
|
+
legend: timeSeriesLegend,
|
|
18015
|
+
data,
|
|
18016
|
+
startIndex,
|
|
18017
|
+
endIndex,
|
|
18018
|
+
onMouseDown: handleMouseDown,
|
|
18019
|
+
brushRef,
|
|
18020
|
+
xAxisKey: xAxisConfig.dataKey,
|
|
18021
|
+
seriesOrder,
|
|
18022
|
+
finalColors,
|
|
18023
|
+
brushHeight: timeSeriesConfig.height,
|
|
18024
|
+
brushColor: timeSeriesConfig.brushColor,
|
|
18025
|
+
miniChartOpacity: timeSeriesConfig.miniChartOpacity,
|
|
18026
|
+
showGrid,
|
|
18027
|
+
gridColor,
|
|
18028
|
+
margin: {
|
|
18029
|
+
left: finalChartLeftMargin,
|
|
18030
|
+
right: finalChartRightMargin
|
|
18031
|
+
}
|
|
18032
|
+
}
|
|
18033
|
+
)
|
|
18034
|
+
] });
|
|
17939
18035
|
};
|
|
17940
18036
|
var Chart_default = Chart;
|
|
17941
18037
|
var DEFAULT_COLORS3 = ["#0d1136", "#666655", "#1a1a1a"];
|
|
@@ -18684,4 +18780,4 @@ function Leaderboard({
|
|
|
18684
18780
|
);
|
|
18685
18781
|
}
|
|
18686
18782
|
|
|
18687
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush_default as Brush, ButtonBase, ButtonGroupBase, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent2 as DraggableEvent, DraggableTooltip_default as DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage_default as ErrorMessage, EventAgenda, EventCalendar, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, FilterButton, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiSelect, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, ProgressCirclesBase, ProgressPanelsBase, ProgressSegmentsBase, RangePicker, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly_default as ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, StartHour, StartHourAgenda, StatusIndicator, SwitchBase, SystemTooltip_default as SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple_default as TooltipSimple, TooltipTriggerBase, TooltipWithTotal_default as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|
|
18783
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush_default as Brush, ButtonBase, ButtonGroupBase, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent2 as DraggableEvent, DraggableTooltip_default as DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage_default as ErrorMessage, EventAgenda, EventCalendar, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, FilterButton, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiSelect, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, ProgressCirclesBase, ProgressPanelsBase, ProgressSegmentsBase, RangePicker, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly_default as ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, StartHour, StartHourAgenda, StatusIndicator, SwitchBase, SystemTooltip_default as SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple_default as TooltipSimple, TooltipTriggerBase, TooltipWithTotal_default as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|