@mlw-packages/react-components 1.10.21 → 1.10.23
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 +26 -13
- package/dist/index.d.mts +33 -3
- package/dist/index.d.ts +33 -3
- package/dist/index.js +463 -106
- package/dist/index.mjs +464 -108
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -40,7 +40,7 @@ import { ptBR } from 'date-fns/locale';
|
|
|
40
40
|
import { useSensors, useSensor, MouseSensor, TouchSensor, PointerSensor, DndContext, DragOverlay, useDroppable, useDraggable } from '@dnd-kit/core';
|
|
41
41
|
import { CSS } from '@dnd-kit/utilities';
|
|
42
42
|
import { RadioGroup, RadioGroupItem } from '@radix-ui/react-radio-group';
|
|
43
|
-
import { ResponsiveContainer, ComposedChart, XAxis, YAxis, Bar, Line, Area, CartesianGrid, Tooltip, Legend, LabelList, Rectangle } from 'recharts';
|
|
43
|
+
import { ResponsiveContainer, ComposedChart, XAxis, YAxis, Bar, Line, Area, CartesianGrid, Tooltip, Legend, LabelList, Rectangle, PieChart, Pie, Cell, Sector } from 'recharts';
|
|
44
44
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
45
45
|
import { useVirtualizer } from '@tanstack/react-virtual';
|
|
46
46
|
|
|
@@ -1622,9 +1622,16 @@ var ModalContentBase = React32.forwardRef(
|
|
|
1622
1622
|
size = "md",
|
|
1623
1623
|
centered = true,
|
|
1624
1624
|
backdropBlur = true,
|
|
1625
|
+
noPadding = false,
|
|
1625
1626
|
...props
|
|
1626
1627
|
}, ref) => {
|
|
1627
|
-
const sizeClass =
|
|
1628
|
+
const sizeClass = {
|
|
1629
|
+
sm: "max-w-md",
|
|
1630
|
+
md: "max-w-2xl",
|
|
1631
|
+
lg: "max-w-4xl",
|
|
1632
|
+
xl: "max-w-6xl",
|
|
1633
|
+
full: "w-full max-w-[calc(100%-2rem)]"
|
|
1634
|
+
}[size];
|
|
1628
1635
|
const positionClass = centered ? "left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%]" : "left-[50%] top-20 translate-x-[-50%] translate-y-0 sm:translate-y-0";
|
|
1629
1636
|
return /* @__PURE__ */ jsxs(ModalPortalBase, { children: [
|
|
1630
1637
|
/* @__PURE__ */ jsx(
|
|
@@ -1657,8 +1664,9 @@ var ModalContentBase = React32.forwardRef(
|
|
|
1657
1664
|
{
|
|
1658
1665
|
ref,
|
|
1659
1666
|
className: cn(
|
|
1660
|
-
"fixed z-50 grid w-[calc(100%-2rem)]
|
|
1667
|
+
"fixed z-50 grid w-[calc(100%-2rem)] border bg-background shadow-lg rounded-md sm:rounded-lg max-h-[calc(100dvh-2rem)] sm:max-h-[90dvh] overflow-auto",
|
|
1661
1668
|
"data-[state=open]:animate-modal-in data-[state=closed]:animate-modal-out border-border",
|
|
1669
|
+
!noPadding && "p-4 sm:p-6 gap-3 sm:gap-4",
|
|
1662
1670
|
positionClass,
|
|
1663
1671
|
sizeClass,
|
|
1664
1672
|
className
|
|
@@ -20048,6 +20056,308 @@ function processNeo4jData(integrations, targetSystemName) {
|
|
|
20048
20056
|
connections
|
|
20049
20057
|
};
|
|
20050
20058
|
}
|
|
20059
|
+
var AnimatedNumber = ({ value }) => {
|
|
20060
|
+
const [displayed, setDisplayed] = React32__default.useState(value);
|
|
20061
|
+
const prevRef = React32__default.useRef(value);
|
|
20062
|
+
React32__default.useEffect(() => {
|
|
20063
|
+
const start = prevRef.current;
|
|
20064
|
+
const end = value;
|
|
20065
|
+
if (start === end) return;
|
|
20066
|
+
const duration = 420;
|
|
20067
|
+
const startTime = performance.now();
|
|
20068
|
+
const tick = (now) => {
|
|
20069
|
+
const elapsed = now - startTime;
|
|
20070
|
+
const progress = Math.min(elapsed / duration, 1);
|
|
20071
|
+
const eased = progress === 1 ? 1 : 1 - Math.pow(2, -10 * progress);
|
|
20072
|
+
setDisplayed(Math.round(start + (end - start) * eased));
|
|
20073
|
+
if (progress < 1) requestAnimationFrame(tick);
|
|
20074
|
+
else prevRef.current = end;
|
|
20075
|
+
};
|
|
20076
|
+
requestAnimationFrame(tick);
|
|
20077
|
+
}, [value]);
|
|
20078
|
+
return /* @__PURE__ */ jsx(Fragment, { children: displayed });
|
|
20079
|
+
};
|
|
20080
|
+
var Callout = ({
|
|
20081
|
+
sx,
|
|
20082
|
+
sy,
|
|
20083
|
+
mx,
|
|
20084
|
+
my,
|
|
20085
|
+
ex,
|
|
20086
|
+
ey,
|
|
20087
|
+
fill,
|
|
20088
|
+
name,
|
|
20089
|
+
value,
|
|
20090
|
+
percent,
|
|
20091
|
+
isRight
|
|
20092
|
+
}) => /* @__PURE__ */ jsx(AnimatePresence, { children: /* @__PURE__ */ jsxs(
|
|
20093
|
+
motion.g,
|
|
20094
|
+
{
|
|
20095
|
+
initial: { opacity: 0 },
|
|
20096
|
+
animate: { opacity: 1 },
|
|
20097
|
+
exit: { opacity: 0 },
|
|
20098
|
+
transition: { duration: 0.18 },
|
|
20099
|
+
className: "z-9999",
|
|
20100
|
+
children: [
|
|
20101
|
+
/* @__PURE__ */ jsx(
|
|
20102
|
+
motion.path,
|
|
20103
|
+
{
|
|
20104
|
+
d: `M${sx},${sy}L${mx},${my}L${ex},${ey}`,
|
|
20105
|
+
stroke: fill,
|
|
20106
|
+
fill: "none",
|
|
20107
|
+
strokeWidth: 1.5,
|
|
20108
|
+
strokeLinecap: "round",
|
|
20109
|
+
initial: { pathLength: 0, opacity: 0 },
|
|
20110
|
+
animate: { pathLength: 1, opacity: 1 },
|
|
20111
|
+
exit: { pathLength: 0, opacity: 0 },
|
|
20112
|
+
transition: { duration: 0.32, ease: "easeInOut" }
|
|
20113
|
+
}
|
|
20114
|
+
),
|
|
20115
|
+
/* @__PURE__ */ jsx(
|
|
20116
|
+
motion.circle,
|
|
20117
|
+
{
|
|
20118
|
+
cx: ex,
|
|
20119
|
+
cy: ey,
|
|
20120
|
+
r: 3,
|
|
20121
|
+
fill,
|
|
20122
|
+
initial: { scale: 0, opacity: 0 },
|
|
20123
|
+
animate: { scale: 1, opacity: 1 },
|
|
20124
|
+
exit: { scale: 0, opacity: 0 }
|
|
20125
|
+
}
|
|
20126
|
+
),
|
|
20127
|
+
/* @__PURE__ */ jsx(
|
|
20128
|
+
"foreignObject",
|
|
20129
|
+
{
|
|
20130
|
+
x: isRight ? ex + 10 : ex - 90,
|
|
20131
|
+
y: ey - 24,
|
|
20132
|
+
width: 90,
|
|
20133
|
+
height: 48,
|
|
20134
|
+
style: { overflow: "visible" },
|
|
20135
|
+
children: /* @__PURE__ */ jsxs(
|
|
20136
|
+
motion.div,
|
|
20137
|
+
{
|
|
20138
|
+
initial: {
|
|
20139
|
+
opacity: 0,
|
|
20140
|
+
x: isRight ? -14 : 14,
|
|
20141
|
+
scale: 0.88,
|
|
20142
|
+
filter: "blur(4px)"
|
|
20143
|
+
},
|
|
20144
|
+
animate: { opacity: 1, x: 0, scale: 1, filter: "blur(0px)" },
|
|
20145
|
+
exit: {
|
|
20146
|
+
opacity: 0,
|
|
20147
|
+
x: isRight ? -8 : 8,
|
|
20148
|
+
scale: 0.92,
|
|
20149
|
+
filter: "blur(3px)"
|
|
20150
|
+
},
|
|
20151
|
+
transition: {
|
|
20152
|
+
type: "spring",
|
|
20153
|
+
stiffness: 460,
|
|
20154
|
+
damping: 26,
|
|
20155
|
+
mass: 0.8
|
|
20156
|
+
},
|
|
20157
|
+
style: { pointerEvents: "none" },
|
|
20158
|
+
children: [
|
|
20159
|
+
/* @__PURE__ */ jsxs(
|
|
20160
|
+
motion.div,
|
|
20161
|
+
{
|
|
20162
|
+
style: {
|
|
20163
|
+
fontSize: 15,
|
|
20164
|
+
fontWeight: 800,
|
|
20165
|
+
color: "#333",
|
|
20166
|
+
lineHeight: 1
|
|
20167
|
+
},
|
|
20168
|
+
initial: { y: 6, opacity: 0 },
|
|
20169
|
+
animate: { y: 0, opacity: 1 },
|
|
20170
|
+
exit: { y: -4, opacity: 0 },
|
|
20171
|
+
transition: {
|
|
20172
|
+
delay: 0.06,
|
|
20173
|
+
type: "spring",
|
|
20174
|
+
stiffness: 400,
|
|
20175
|
+
damping: 22
|
|
20176
|
+
},
|
|
20177
|
+
children: [
|
|
20178
|
+
"PV ",
|
|
20179
|
+
/* @__PURE__ */ jsx(AnimatedNumber, { value })
|
|
20180
|
+
]
|
|
20181
|
+
}
|
|
20182
|
+
),
|
|
20183
|
+
/* @__PURE__ */ jsxs(
|
|
20184
|
+
motion.div,
|
|
20185
|
+
{
|
|
20186
|
+
style: { fontSize: 11, color: "#999", marginTop: 5 },
|
|
20187
|
+
initial: { y: 6, opacity: 0 },
|
|
20188
|
+
animate: { y: 0, opacity: 1 },
|
|
20189
|
+
exit: { y: -4, opacity: 0 },
|
|
20190
|
+
transition: {
|
|
20191
|
+
delay: 0.12,
|
|
20192
|
+
type: "spring",
|
|
20193
|
+
stiffness: 400,
|
|
20194
|
+
damping: 22
|
|
20195
|
+
},
|
|
20196
|
+
children: [
|
|
20197
|
+
"Rate ",
|
|
20198
|
+
(percent * 100).toFixed(2),
|
|
20199
|
+
"%"
|
|
20200
|
+
]
|
|
20201
|
+
}
|
|
20202
|
+
)
|
|
20203
|
+
]
|
|
20204
|
+
},
|
|
20205
|
+
name
|
|
20206
|
+
)
|
|
20207
|
+
}
|
|
20208
|
+
)
|
|
20209
|
+
]
|
|
20210
|
+
},
|
|
20211
|
+
name
|
|
20212
|
+
) });
|
|
20213
|
+
var renderActiveShape = (props) => {
|
|
20214
|
+
const RADIAN = Math.PI / 180;
|
|
20215
|
+
const {
|
|
20216
|
+
cx,
|
|
20217
|
+
cy,
|
|
20218
|
+
midAngle,
|
|
20219
|
+
innerRadius,
|
|
20220
|
+
outerRadius,
|
|
20221
|
+
startAngle,
|
|
20222
|
+
endAngle,
|
|
20223
|
+
fill,
|
|
20224
|
+
payload,
|
|
20225
|
+
percent,
|
|
20226
|
+
value
|
|
20227
|
+
} = props;
|
|
20228
|
+
const sin = Math.sin(-RADIAN * (midAngle ?? 0));
|
|
20229
|
+
const cos = Math.cos(-RADIAN * (midAngle ?? 0));
|
|
20230
|
+
const sx = (cx ?? 0) + ((outerRadius ?? 0) + 10) * cos;
|
|
20231
|
+
const sy = (cy ?? 0) + ((outerRadius ?? 0) + 10) * sin;
|
|
20232
|
+
const mx = (cx ?? 0) + ((outerRadius ?? 0) + 30) * cos;
|
|
20233
|
+
const my = (cy ?? 0) + ((outerRadius ?? 0) + 30) * sin;
|
|
20234
|
+
const ex = mx + (cos >= 0 ? 1 : -1) * 22;
|
|
20235
|
+
const ey = my;
|
|
20236
|
+
return /* @__PURE__ */ jsxs("g", { children: [
|
|
20237
|
+
/* @__PURE__ */ jsx("text", { x: cx, y: cy, dy: 8, textAnchor: "middle", fill, children: payload?.name }),
|
|
20238
|
+
/* @__PURE__ */ jsx(
|
|
20239
|
+
Sector,
|
|
20240
|
+
{
|
|
20241
|
+
cx,
|
|
20242
|
+
cy,
|
|
20243
|
+
innerRadius,
|
|
20244
|
+
outerRadius,
|
|
20245
|
+
startAngle,
|
|
20246
|
+
endAngle,
|
|
20247
|
+
fill
|
|
20248
|
+
}
|
|
20249
|
+
),
|
|
20250
|
+
/* @__PURE__ */ jsx(
|
|
20251
|
+
Sector,
|
|
20252
|
+
{
|
|
20253
|
+
cx,
|
|
20254
|
+
cy,
|
|
20255
|
+
startAngle,
|
|
20256
|
+
endAngle,
|
|
20257
|
+
innerRadius: (outerRadius ?? 0) + 6,
|
|
20258
|
+
outerRadius: (outerRadius ?? 0) + 10,
|
|
20259
|
+
fill
|
|
20260
|
+
}
|
|
20261
|
+
),
|
|
20262
|
+
/* @__PURE__ */ jsx(
|
|
20263
|
+
Callout,
|
|
20264
|
+
{
|
|
20265
|
+
sx,
|
|
20266
|
+
sy,
|
|
20267
|
+
mx,
|
|
20268
|
+
my,
|
|
20269
|
+
ex,
|
|
20270
|
+
ey,
|
|
20271
|
+
fill: fill ?? "#8884d8",
|
|
20272
|
+
name: payload?.name,
|
|
20273
|
+
value,
|
|
20274
|
+
percent: percent ?? 0,
|
|
20275
|
+
isRight: cos >= 0
|
|
20276
|
+
}
|
|
20277
|
+
)
|
|
20278
|
+
] });
|
|
20279
|
+
};
|
|
20280
|
+
var PieChartComponent = ({
|
|
20281
|
+
data,
|
|
20282
|
+
width = 400,
|
|
20283
|
+
height = 300,
|
|
20284
|
+
innerRadius = 60,
|
|
20285
|
+
outerRadius = 80,
|
|
20286
|
+
showLegend = true,
|
|
20287
|
+
showTooltip = true,
|
|
20288
|
+
title,
|
|
20289
|
+
titlePosition = "left",
|
|
20290
|
+
className
|
|
20291
|
+
}) => {
|
|
20292
|
+
const [activeIndex, setActiveIndex] = useState(0);
|
|
20293
|
+
const finalColors = Object.fromEntries(
|
|
20294
|
+
data.map((d) => [d.name, d.color || "#8884d8"])
|
|
20295
|
+
);
|
|
20296
|
+
return /* @__PURE__ */ jsxs(
|
|
20297
|
+
"div",
|
|
20298
|
+
{
|
|
20299
|
+
className: cn(
|
|
20300
|
+
"w-full overflow-hidden min-w-0 rounded-lg border-border bg-card",
|
|
20301
|
+
className
|
|
20302
|
+
),
|
|
20303
|
+
tabIndex: -1,
|
|
20304
|
+
children: [
|
|
20305
|
+
title && /* @__PURE__ */ jsx(
|
|
20306
|
+
ChartHeader,
|
|
20307
|
+
{
|
|
20308
|
+
title,
|
|
20309
|
+
titlePosition,
|
|
20310
|
+
HORIZONTAL_PADDING_CLASS: "px-6",
|
|
20311
|
+
data,
|
|
20312
|
+
allKeys: data.map((d) => d.name),
|
|
20313
|
+
processedData: data,
|
|
20314
|
+
finalColors,
|
|
20315
|
+
mapperConfig: Object.fromEntries(
|
|
20316
|
+
data.map((d) => [
|
|
20317
|
+
d.name,
|
|
20318
|
+
{ label: d.name, color: d.color || "#8884d8" }
|
|
20319
|
+
])
|
|
20320
|
+
)
|
|
20321
|
+
}
|
|
20322
|
+
),
|
|
20323
|
+
/* @__PURE__ */ jsx(ResponsiveContainer, { width: "100%", height, children: /* @__PURE__ */ jsxs(
|
|
20324
|
+
PieChart,
|
|
20325
|
+
{
|
|
20326
|
+
width: typeof width === "number" ? width : 400,
|
|
20327
|
+
height,
|
|
20328
|
+
margin: { top: 20, right: 80, bottom: 20, left: 80 },
|
|
20329
|
+
children: [
|
|
20330
|
+
/* @__PURE__ */ jsx(
|
|
20331
|
+
Pie,
|
|
20332
|
+
{
|
|
20333
|
+
activeIndex,
|
|
20334
|
+
activeShape: renderActiveShape,
|
|
20335
|
+
data,
|
|
20336
|
+
dataKey: "value",
|
|
20337
|
+
nameKey: "name",
|
|
20338
|
+
cx: "50%",
|
|
20339
|
+
cy: "50%",
|
|
20340
|
+
innerRadius,
|
|
20341
|
+
outerRadius,
|
|
20342
|
+
fill: "#8884d8",
|
|
20343
|
+
onMouseEnter: (_, index) => setActiveIndex(index),
|
|
20344
|
+
onMouseLeave: () => setActiveIndex(void 0),
|
|
20345
|
+
onClick: (e) => {
|
|
20346
|
+
if (e && e.target && typeof e.target.blur === "function") e.target.blur();
|
|
20347
|
+
},
|
|
20348
|
+
children: data.map((entry, index) => /* @__PURE__ */ jsx(Cell, { fill: entry.color || "#8884d8" }, `cell-${index}`))
|
|
20349
|
+
}
|
|
20350
|
+
),
|
|
20351
|
+
showLegend && /* @__PURE__ */ jsx(Legend, {}),
|
|
20352
|
+
showTooltip && /* @__PURE__ */ jsx(Tooltip, { content: () => null })
|
|
20353
|
+
]
|
|
20354
|
+
}
|
|
20355
|
+
) })
|
|
20356
|
+
]
|
|
20357
|
+
}
|
|
20358
|
+
);
|
|
20359
|
+
};
|
|
20360
|
+
var PieChart_default = PieChartComponent;
|
|
20051
20361
|
function NumericInput({
|
|
20052
20362
|
value,
|
|
20053
20363
|
onChange,
|
|
@@ -21042,12 +21352,23 @@ function CarouselBase({
|
|
|
21042
21352
|
setDownloadSuccess(false);
|
|
21043
21353
|
const currentItem = items[index];
|
|
21044
21354
|
try {
|
|
21045
|
-
const response = await fetch(currentItem.url);
|
|
21355
|
+
const response = await fetch(currentItem.url, { mode: "cors" });
|
|
21356
|
+
if (!response.ok) throw new Error("Erro ao baixar imagem");
|
|
21046
21357
|
const blob = await response.blob();
|
|
21047
21358
|
const url = window.URL.createObjectURL(blob);
|
|
21048
21359
|
const link = document.createElement("a");
|
|
21049
21360
|
link.href = url;
|
|
21050
|
-
|
|
21361
|
+
let ext = "";
|
|
21362
|
+
try {
|
|
21363
|
+
const urlObj = new URL(currentItem.url, window.location.href);
|
|
21364
|
+
const path = urlObj.pathname;
|
|
21365
|
+
ext = path.substring(path.lastIndexOf("."));
|
|
21366
|
+
if (!ext || ext.length > 6) ext = "";
|
|
21367
|
+
} catch {
|
|
21368
|
+
}
|
|
21369
|
+
let filename = currentItem.title || "image";
|
|
21370
|
+
if (ext && !filename.endsWith(ext)) filename += ext;
|
|
21371
|
+
link.download = filename;
|
|
21051
21372
|
document.body.appendChild(link);
|
|
21052
21373
|
link.click();
|
|
21053
21374
|
document.body.removeChild(link);
|
|
@@ -21056,6 +21377,9 @@ function CarouselBase({
|
|
|
21056
21377
|
setDownloadSuccess(true);
|
|
21057
21378
|
setTimeout(() => setDownloadSuccess(false), 2e3);
|
|
21058
21379
|
} catch (error) {
|
|
21380
|
+
toast$1.error(
|
|
21381
|
+
"Erro ao baixar imagem. Verifique a URL ou permiss\xF5es do servidor."
|
|
21382
|
+
);
|
|
21059
21383
|
console.error("Error downloading image:", error);
|
|
21060
21384
|
setIsDownloading(false);
|
|
21061
21385
|
}
|
|
@@ -21097,8 +21421,13 @@ function CarouselBase({
|
|
|
21097
21421
|
{
|
|
21098
21422
|
src: item.url,
|
|
21099
21423
|
alt: item.title,
|
|
21100
|
-
className: cn(
|
|
21101
|
-
|
|
21424
|
+
className: cn(
|
|
21425
|
+
"w-full h-full select-none object-contain"
|
|
21426
|
+
),
|
|
21427
|
+
imageClassName: cn(
|
|
21428
|
+
"object-contain w-full h-full",
|
|
21429
|
+
imageClassName
|
|
21430
|
+
),
|
|
21102
21431
|
borderRadius: 8,
|
|
21103
21432
|
maxZoom: 3
|
|
21104
21433
|
}
|
|
@@ -21955,7 +22284,9 @@ function CommandItemRow({
|
|
|
21955
22284
|
item,
|
|
21956
22285
|
isActive,
|
|
21957
22286
|
isSelected,
|
|
22287
|
+
multiSelect,
|
|
21958
22288
|
onSelect,
|
|
22289
|
+
onToggleSelection,
|
|
21959
22290
|
onHover,
|
|
21960
22291
|
searchQuery
|
|
21961
22292
|
}) {
|
|
@@ -21963,12 +22294,18 @@ function CommandItemRow({
|
|
|
21963
22294
|
motion.button,
|
|
21964
22295
|
{
|
|
21965
22296
|
layout: true,
|
|
21966
|
-
onClick:
|
|
22297
|
+
onClick: (e) => {
|
|
22298
|
+
if (multiSelect && onToggleSelection && (e.ctrlKey || e.metaKey || e.shiftKey)) {
|
|
22299
|
+
onToggleSelection(e);
|
|
22300
|
+
} else {
|
|
22301
|
+
onSelect(e);
|
|
22302
|
+
}
|
|
22303
|
+
},
|
|
21967
22304
|
onMouseEnter: onHover,
|
|
21968
22305
|
className: `
|
|
21969
|
-
w-full flex items-center gap-1 px-2
|
|
22306
|
+
w-full flex items-center gap-1 px-2 py-1 rounded-md text-left cursor-pointer
|
|
21970
22307
|
transition-colors duration-75 group relative
|
|
21971
|
-
${isActive ? "text-accent-foreground
|
|
22308
|
+
${isActive ? "text-accent-foreground bg-accent" : "hover:bg-accent hover:text-accent-foreground"}
|
|
21972
22309
|
`,
|
|
21973
22310
|
children: [
|
|
21974
22311
|
item.icon && /* @__PURE__ */ jsx(
|
|
@@ -21980,7 +22317,7 @@ function CommandItemRow({
|
|
|
21980
22317
|
}
|
|
21981
22318
|
),
|
|
21982
22319
|
/* @__PURE__ */ jsxs("div", { className: "relative flex-1 min-w-0 px-1", children: [
|
|
21983
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3
|
|
22320
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 flex-wrap", children: [
|
|
21984
22321
|
/* @__PURE__ */ jsx(
|
|
21985
22322
|
"span",
|
|
21986
22323
|
{
|
|
@@ -22318,7 +22655,7 @@ var VirtualResultList = memo(
|
|
|
22318
22655
|
ref: listRef,
|
|
22319
22656
|
className: "overflow-y-auto overscroll-contain px-2 py-1 [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:bg-muted-foreground/30 [&::-webkit-scrollbar-thumb]:rounded-full hover:[&::-webkit-scrollbar-thumb]:bg-muted-foreground/50 transition-colors",
|
|
22320
22657
|
style: { maxHeight: `min(${LIST_MAX_HEIGHT}px, 60vh)` },
|
|
22321
|
-
children: /* @__PURE__ */ jsx("div", { style: { height: totalSize, position: "relative" }, children: virtualItems.map((vItem) => {
|
|
22658
|
+
children: /* @__PURE__ */ jsx("div", { style: { height: totalSize, position: "relative", width: "100%" }, children: virtualItems.map((vItem) => {
|
|
22322
22659
|
const row = rows[vItem.index];
|
|
22323
22660
|
return /* @__PURE__ */ jsx(
|
|
22324
22661
|
"div",
|
|
@@ -22327,9 +22664,10 @@ var VirtualResultList = memo(
|
|
|
22327
22664
|
ref: virtualizer.measureElement,
|
|
22328
22665
|
style: {
|
|
22329
22666
|
position: "absolute",
|
|
22330
|
-
top:
|
|
22667
|
+
top: 0,
|
|
22331
22668
|
left: 0,
|
|
22332
|
-
|
|
22669
|
+
width: "100%",
|
|
22670
|
+
transform: `translateY(${vItem.start}px)`
|
|
22333
22671
|
},
|
|
22334
22672
|
children: row.kind === "label" ? /* @__PURE__ */ jsx(GroupLabel, { group: row.group }) : /* @__PURE__ */ jsx("div", { "data-active": row.globalIdx === activeIndex, children: /* @__PURE__ */ jsx(
|
|
22335
22673
|
CommandItemRow,
|
|
@@ -22375,7 +22713,7 @@ var FooterBar = memo(
|
|
|
22375
22713
|
}
|
|
22376
22714
|
),
|
|
22377
22715
|
/* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1.5", children: [
|
|
22378
|
-
/* @__PURE__ */ jsx("span", { className: "font-mono", children: "Ctrl+Enter" }),
|
|
22716
|
+
/* @__PURE__ */ jsx("span", { className: "font-mono text-[10px] px-1 bg-muted rounded border", children: "Ctrl+Enter" }),
|
|
22379
22717
|
"Finalizar sele\xE7\xE3o"
|
|
22380
22718
|
] })
|
|
22381
22719
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -22435,9 +22773,9 @@ function CommandPalette(props) {
|
|
|
22435
22773
|
showList
|
|
22436
22774
|
} = useCommandPalette({
|
|
22437
22775
|
...props,
|
|
22438
|
-
open:
|
|
22776
|
+
open: props.open
|
|
22439
22777
|
});
|
|
22440
|
-
useKeyboardShortcut(shortcut.key, () => onOpenChange(!open), {
|
|
22778
|
+
useKeyboardShortcut(shortcut.key, () => onOpenChange?.(!open), {
|
|
22441
22779
|
ctrl: shortcut.ctrl,
|
|
22442
22780
|
meta: shortcut.meta,
|
|
22443
22781
|
shift: shortcut.shift,
|
|
@@ -22446,7 +22784,7 @@ function CommandPalette(props) {
|
|
|
22446
22784
|
useEffect(() => {
|
|
22447
22785
|
if (!open) return;
|
|
22448
22786
|
const handleEscape = (e) => {
|
|
22449
|
-
if (e.key === "Escape") onOpenChange(false);
|
|
22787
|
+
if (e.key === "Escape") onOpenChange?.(false);
|
|
22450
22788
|
};
|
|
22451
22789
|
document.addEventListener("keydown", handleEscape);
|
|
22452
22790
|
return () => document.removeEventListener("keydown", handleEscape);
|
|
@@ -22473,11 +22811,11 @@ function CommandPalette(props) {
|
|
|
22473
22811
|
(val) => {
|
|
22474
22812
|
setQuery(val);
|
|
22475
22813
|
setActiveIndex(0);
|
|
22476
|
-
if (!open && val.trim() !== "") onOpenChange(true);
|
|
22814
|
+
if (!open && val.trim() !== "") onOpenChange?.(true);
|
|
22477
22815
|
},
|
|
22478
22816
|
[setQuery, setActiveIndex, open, onOpenChange]
|
|
22479
22817
|
);
|
|
22480
|
-
const handleClose = useCallback(() => onOpenChange(false), [onOpenChange]);
|
|
22818
|
+
const handleClose = useCallback(() => onOpenChange?.(false), [onOpenChange]);
|
|
22481
22819
|
const handleClearQuery = useCallback(() => setQuery(""), [setQuery]);
|
|
22482
22820
|
const searchPlaceholder = multiSearch ? "Buscar\u2026 (separe termos por v\xEDrgula)" : placeholder;
|
|
22483
22821
|
const sharedListProps = {
|
|
@@ -22495,100 +22833,118 @@ function CommandPalette(props) {
|
|
|
22495
22833
|
searchQuery: query
|
|
22496
22834
|
};
|
|
22497
22835
|
if (isMobile) {
|
|
22498
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
22499
|
-
/* @__PURE__ */
|
|
22500
|
-
|
|
22836
|
+
return /* @__PURE__ */ jsx(AnimatePresence, { children: open && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
22837
|
+
/* @__PURE__ */ jsxs(
|
|
22838
|
+
motion.div,
|
|
22501
22839
|
{
|
|
22502
|
-
|
|
22503
|
-
|
|
22504
|
-
|
|
22505
|
-
|
|
22506
|
-
|
|
22840
|
+
initial: { opacity: 0, y: -20 },
|
|
22841
|
+
animate: { opacity: 1, y: 0 },
|
|
22842
|
+
exit: { opacity: 0, y: -20 },
|
|
22843
|
+
className: "fixed top-0 left-0 right-0 z-[100] px-4 py-3 bg-background border-b border-border shadow-sm flex items-center gap-3",
|
|
22844
|
+
children: [
|
|
22845
|
+
/* @__PURE__ */ jsx(MagnifyingGlassIcon, { className: "w-5 h-5 text-muted-foreground" }),
|
|
22846
|
+
/* @__PURE__ */ jsx(
|
|
22847
|
+
DebouncedInput,
|
|
22848
|
+
{
|
|
22849
|
+
ref: inputRef,
|
|
22850
|
+
value: query,
|
|
22851
|
+
debounce: debounceDelay,
|
|
22852
|
+
onChange: handleQueryChangeMobile,
|
|
22853
|
+
placeholder: searchPlaceholder,
|
|
22854
|
+
className: "flex-1 bg-transparent border-none shadow-none focus-visible:ring-0 p-0 text-base"
|
|
22855
|
+
}
|
|
22856
|
+
),
|
|
22857
|
+
query && /* @__PURE__ */ jsx(ButtonBase, { variant: "ghost", size: "icon", onClick: handleClearQuery, className: "h-8 w-8", children: /* @__PURE__ */ jsx(XIcon, { className: "w-4 h-4" }) })
|
|
22858
|
+
]
|
|
22507
22859
|
}
|
|
22508
|
-
)
|
|
22509
|
-
/* @__PURE__ */ jsx(
|
|
22510
|
-
|
|
22511
|
-
|
|
22512
|
-
{
|
|
22513
|
-
|
|
22514
|
-
|
|
22515
|
-
|
|
22516
|
-
|
|
22517
|
-
|
|
22518
|
-
|
|
22519
|
-
|
|
22520
|
-
|
|
22521
|
-
|
|
22522
|
-
|
|
22523
|
-
{
|
|
22524
|
-
|
|
22525
|
-
|
|
22526
|
-
|
|
22527
|
-
|
|
22528
|
-
|
|
22529
|
-
|
|
22530
|
-
|
|
22531
|
-
|
|
22532
|
-
|
|
22533
|
-
|
|
22534
|
-
|
|
22535
|
-
] }) })
|
|
22536
|
-
] });
|
|
22860
|
+
),
|
|
22861
|
+
/* @__PURE__ */ jsx(
|
|
22862
|
+
motion.div,
|
|
22863
|
+
{
|
|
22864
|
+
initial: { opacity: 0 },
|
|
22865
|
+
animate: { opacity: 1 },
|
|
22866
|
+
exit: { opacity: 0 },
|
|
22867
|
+
transition: ANIMATION.overlay,
|
|
22868
|
+
className: "fixed inset-0 z-[98] bg-background/80 backdrop-blur-md",
|
|
22869
|
+
onClick: handleClose
|
|
22870
|
+
}
|
|
22871
|
+
),
|
|
22872
|
+
showList && /* @__PURE__ */ jsxs(
|
|
22873
|
+
motion.div,
|
|
22874
|
+
{
|
|
22875
|
+
initial: { opacity: 0, y: 10 },
|
|
22876
|
+
animate: { opacity: 1, y: 0 },
|
|
22877
|
+
exit: { opacity: 0, y: 10 },
|
|
22878
|
+
transition: ANIMATION.mobilePanel,
|
|
22879
|
+
className: "fixed inset-x-0 bottom-0 top-[60px] z-[99] bg-background overflow-hidden flex flex-col",
|
|
22880
|
+
children: [
|
|
22881
|
+
/* @__PURE__ */ jsx(SearchBadges, { terms: searchTerms }),
|
|
22882
|
+
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-hidden", children: /* @__PURE__ */ jsx(VirtualResultList, { ...sharedListProps }) })
|
|
22883
|
+
]
|
|
22884
|
+
}
|
|
22885
|
+
)
|
|
22886
|
+
] }) });
|
|
22537
22887
|
}
|
|
22538
|
-
return /* @__PURE__ */ jsx(AnimatePresence, { children: open && /* @__PURE__ */
|
|
22539
|
-
|
|
22540
|
-
|
|
22541
|
-
|
|
22542
|
-
|
|
22543
|
-
|
|
22544
|
-
|
|
22545
|
-
|
|
22546
|
-
|
|
22547
|
-
|
|
22548
|
-
|
|
22549
|
-
|
|
22550
|
-
|
|
22551
|
-
|
|
22552
|
-
|
|
22553
|
-
|
|
22554
|
-
|
|
22555
|
-
|
|
22888
|
+
return /* @__PURE__ */ jsx(AnimatePresence, { children: open && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
22889
|
+
/* @__PURE__ */ jsx(
|
|
22890
|
+
motion.div,
|
|
22891
|
+
{
|
|
22892
|
+
initial: { opacity: 0 },
|
|
22893
|
+
animate: { opacity: 1 },
|
|
22894
|
+
exit: { opacity: 0 },
|
|
22895
|
+
className: "fixed inset-0 z-[99] bg-black/40 backdrop-blur-sm",
|
|
22896
|
+
onClick: handleClose
|
|
22897
|
+
}
|
|
22898
|
+
),
|
|
22899
|
+
/* @__PURE__ */ jsxs(
|
|
22900
|
+
motion.div,
|
|
22901
|
+
{
|
|
22902
|
+
initial: { opacity: 0, scale: 0.96, y: -8 },
|
|
22903
|
+
animate: { opacity: 1, scale: 1, y: 0 },
|
|
22904
|
+
exit: { opacity: 0, scale: 0.96, y: -8 },
|
|
22905
|
+
transition: ANIMATION.panel,
|
|
22906
|
+
className: "fixed z-[100] top-4 -translate-x-1/2 w-full max-w-xl rounded-xl border border-border overflow-hidden shadow-2xl shadow-black/20 dark:shadow-black/60 bg-popover/95 backdrop-blur-xl",
|
|
22907
|
+
style: { maxHeight: "min(600px, 80vh)" },
|
|
22908
|
+
children: [
|
|
22909
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 px-4 py-2 border-b border-border", children: [
|
|
22910
|
+
/* @__PURE__ */ jsx(MagnifyingGlassIcon, { className: "w-4 h-4 text-muted-foreground flex-shrink-0", weight: "bold" }),
|
|
22911
|
+
/* @__PURE__ */ jsx(
|
|
22912
|
+
DebouncedInput,
|
|
22913
|
+
{
|
|
22914
|
+
ref: inputRef,
|
|
22915
|
+
value: query,
|
|
22916
|
+
debounce: debounceDelay,
|
|
22917
|
+
onChange: handleQueryChange,
|
|
22918
|
+
placeholder: searchPlaceholder,
|
|
22919
|
+
rightIcon: query ? /* @__PURE__ */ jsx(
|
|
22920
|
+
ButtonBase,
|
|
22921
|
+
{
|
|
22922
|
+
variant: "ghost",
|
|
22923
|
+
size: "icon",
|
|
22924
|
+
onClick: handleClearQuery,
|
|
22925
|
+
className: "text-muted-foreground hover:text-red-500 hover:bg-transparent transition-colors",
|
|
22926
|
+
children: /* @__PURE__ */ jsx(XIcon, { className: "w-4 h-4" })
|
|
22927
|
+
}
|
|
22928
|
+
) : void 0,
|
|
22929
|
+
className: "flex-1 bg-transparent border-none focus-visible:ring-0 outline-none shadow-none px-0 h-7 text-sm caret-primary"
|
|
22930
|
+
}
|
|
22931
|
+
)
|
|
22932
|
+
] }),
|
|
22933
|
+
/* @__PURE__ */ jsx(SearchBadges, { terms: searchTerms }),
|
|
22934
|
+
showList && /* @__PURE__ */ jsx(VirtualResultList, { ...sharedListProps }),
|
|
22556
22935
|
/* @__PURE__ */ jsx(
|
|
22557
|
-
|
|
22936
|
+
FooterBar,
|
|
22558
22937
|
{
|
|
22559
|
-
|
|
22560
|
-
|
|
22561
|
-
|
|
22562
|
-
|
|
22563
|
-
placeholder: searchPlaceholder,
|
|
22564
|
-
rightIcon: query ? /* @__PURE__ */ jsx(
|
|
22565
|
-
ButtonBase,
|
|
22566
|
-
{
|
|
22567
|
-
variant: "ghost",
|
|
22568
|
-
size: "icon",
|
|
22569
|
-
onClick: handleClearQuery,
|
|
22570
|
-
className: "text-muted-foreground hover:text-red-500 hover:bg-transparent transition-colors",
|
|
22571
|
-
children: /* @__PURE__ */ jsx(XIcon, { className: "w-4 h-4" })
|
|
22572
|
-
}
|
|
22573
|
-
) : void 0,
|
|
22574
|
-
className: "flex-1 bg-transparent border-none focus-visible:ring-0 outline-none shadow-none px-0 h-7 text-sm caret-primary"
|
|
22938
|
+
footer,
|
|
22939
|
+
totalItems,
|
|
22940
|
+
selectedCount: selectedItemIds.size,
|
|
22941
|
+
executeBulkAction
|
|
22575
22942
|
}
|
|
22576
22943
|
)
|
|
22577
|
-
]
|
|
22578
|
-
|
|
22579
|
-
|
|
22580
|
-
|
|
22581
|
-
FooterBar,
|
|
22582
|
-
{
|
|
22583
|
-
footer,
|
|
22584
|
-
totalItems,
|
|
22585
|
-
selectedCount: selectedItemIds.size,
|
|
22586
|
-
executeBulkAction
|
|
22587
|
-
}
|
|
22588
|
-
)
|
|
22589
|
-
]
|
|
22590
|
-
}
|
|
22591
|
-
) }) });
|
|
22944
|
+
]
|
|
22945
|
+
}
|
|
22946
|
+
)
|
|
22947
|
+
] }) });
|
|
22592
22948
|
}
|
|
22593
22949
|
|
|
22594
|
-
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, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, 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, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, FilterButton, GroupLabel, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, IntegrationModal_default as IntegrationModal, Kbd, KbdGroup, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiDayOverlay, 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, RadialMenu, 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, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, 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, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|
|
22950
|
+
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, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, 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, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, FilterButton, GroupLabel, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, IntegrationModal_default as IntegrationModal, Kbd, KbdGroup, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiDayOverlay, 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, PieChart_default as PieChartComponent, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, ProgressCirclesBase, ProgressPanelsBase, ProgressSegmentsBase, RadialMenu, 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, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, 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, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|