hazo_ui 6.18.0 → 6.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGE_LOG.md +16 -0
- package/dist/index.cjs +342 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -2
- package/dist/index.d.ts +22 -2
- package/dist/index.js +341 -1
- package/dist/index.js.map +1 -1
- package/dist/index.utils.cjs +75 -0
- package/dist/index.utils.cjs.map +1 -1
- package/dist/index.utils.d.cts +1 -1
- package/dist/index.utils.d.ts +1 -1
- package/dist/index.utils.js +75 -1
- package/dist/index.utils.js.map +1 -1
- package/dist/{announce-DAnQDTld.d.cts → trend_stats-BAatnIt-.d.cts} +45 -1
- package/dist/{announce-DAnQDTld.d.ts → trend_stats-BAatnIt-.d.ts} +45 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { d as TrendWindow, T as TrendChartPoint } from './trend_stats-BAatnIt-.cjs';
|
|
2
|
+
export { A as AnnounceOptions, a as AnnouncePriority, D as DEFAULT_ANNOUNCE_EVENT, L as LiveAnnouncement, b as TrendStats, c as TrendStatsOptions, e as announce, f as cn, g as computeTrendStats, h as hasUrlParam, r as readRememberedState, s as safeHref, w as writeRememberedState } from './trend_stats-BAatnIt-.cjs';
|
|
2
3
|
import * as React$1 from 'react';
|
|
3
4
|
import React__default, { ReactNode, RefObject, PointerEvent, MouseEvent } from 'react';
|
|
4
5
|
import { ICommand } from '@uiw/react-md-editor';
|
|
@@ -3129,4 +3130,23 @@ interface EditableDataTableProps<TRow extends object = any> {
|
|
|
3129
3130
|
|
|
3130
3131
|
declare function EditableDataTable<TRow extends object = any>({ columns, rows, onChange, getRowKey, createRow, highlightedKey, className, label, }: EditableDataTableProps<TRow>): React__default.ReactElement;
|
|
3131
3132
|
|
|
3132
|
-
|
|
3133
|
+
interface TrendSummaryProps {
|
|
3134
|
+
windows: TrendWindow[];
|
|
3135
|
+
chartData?: TrendChartPoint[];
|
|
3136
|
+
/** Title shown above the bar chart. Default: "Activity (YTD)". */
|
|
3137
|
+
chartTitle?: string;
|
|
3138
|
+
/** Suffix for hover tooltips, e.g. "signups" or "ratings". */
|
|
3139
|
+
chartTooltipSuffix?: string;
|
|
3140
|
+
/** Label under the "All time" card value. Default: "total". */
|
|
3141
|
+
totalLabel?: string;
|
|
3142
|
+
/** Template for previous-period count. Use {count} placeholder. Default: "prev {count}". */
|
|
3143
|
+
prevTemplate?: string;
|
|
3144
|
+
className?: string;
|
|
3145
|
+
}
|
|
3146
|
+
/**
|
|
3147
|
+
* Trend summary widget: rolling-window stat cards with % change deltas and an
|
|
3148
|
+
* optional interactive YTD bar chart, in a responsive 12-column grid.
|
|
3149
|
+
*/
|
|
3150
|
+
declare function TrendSummary({ windows, chartData, chartTitle, chartTooltipSuffix, totalLabel, prevTemplate, className, }: TrendSummaryProps): React$1.JSX.Element;
|
|
3151
|
+
|
|
3152
|
+
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AnimationPreset, AppFooter, type AppFooterProps, AppHeader, type AppHeaderProps, Badge, type BadgeProps, type BadgeTone, type BaseCommandInputProps, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CELEBRATION_GRADIENT, Calendar, CanvasTextToolbar, type CanvasTextToolbarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CelebrationPayload, CelebrationProvider, type CelebrationProviderProps, type CelebrationShareableCard, type ChartDataPoint, type ChartDataSeries, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DateRangeOption, DateRangeSelector, type DateRangeSelectorProps, type DialogVariant, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EditableCellType, type EditableColumn, EditableDataTable, type EditableDataTableProps, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ErrorBannerSeverity, ErrorPage, type ErrorPageProps, type EtaProgressHandle, type FilterConfig, type FilterField, FunnelChart, type FunnelChartProps, type FunnelStep, HazoBrowserTab, type HazoBrowserTabItem, type HazoBrowserTabProps, HazoContextProvider, type HazoContextProviderProps, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, type HazoUiDialogKind, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiEtaProgress, type HazoUiEtaProgressProps, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiI18nProvider, type HazoUiI18nProviderProps, HazoUiIcon, HazoUiIconPicker, type HazoUiIconPickerProps, type HazoUiIconProps, HazoUiImageCropper, HazoUiImageCropperDialog, type HazoUiImageCropperDialogProps, type HazoUiImageCropperHandle, type HazoUiImageCropperProps, HazoUiKanban, HazoUiKanbanFilter, type HazoUiKanbanFilterProps, type HazoUiKanbanProps, HazoUiMemoryDropdown, type HazoUiMemoryDropdownProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiProgressBar, type HazoUiProgressBarProps, HazoUiRte, type HazoUiRteProps, type HazoUiTFunction, HazoUiTable, type HazoUiTablePagination, type HazoUiTableProps, type HazoUiTableServerLoadArgs, type HazoUiTableServerLoadResult, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HazoUiToaster, type HazoUiToasterProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAffix, type InputAffixProps, type InsertedCommand, InverseSparkline, type InverseSparklineProps, type KanbanAnnouncements, type KanbanColumn, type KanbanEditorCtx, type KanbanEditorField, type KanbanEditorFieldType, type KanbanFilterValue, type KanbanItem, type KanbanLane, type KanbanMoveEvent, type KanbanMoveHandle, type KanbanPriority, type KanbanReorderEvent, type KanbanSaveEvent, type KanbanSection, Label, LiveRegion, type LiveRegionProps, LoadingTimeout, type LoadingTimeoutProps, type Logger, Logo, type LogoProps, MarkdownEditor, type MarkdownEditorProps, type MarkdownEmbed, type MemoryEntry, NotificationCountBadge, type NotificationCountBadgeProps, NotificationItem, type NotificationItemProps, NotificationPanel, type NotificationPanelProps, type PermissionToastOptions, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, ProgressiveImage, type ProgressiveImageProps, RadioGroup, RadioGroupItem, type RteAttachment, type RteOutput, type RteVariable, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, Skeleton, SkeletonBar, type SkeletonBarProps, SkeletonCircle, type SkeletonCircleProps, SkeletonGroup, type SkeletonGroupProps, SkeletonRect, type SkeletonRectProps, Slider, type SortConfig, type SortField, Sparkline, type SparklineProps, Spinner, type StackedBar, StackedBars, type StackedBarsProps, StatusBadge, type StatusBadgeItem, type StatusBadgeProps, type SuggestionState, Switch, Table, TableBody, TableCaption, TableCell, type TableColumn, type TableFilter, TableFooter, type TableFormatter, TableHead, TableHeader, TableRow, type TableSort, type TableSortEntry, type TableSortProp, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ToastOptions, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TrendChartPoint, TrendSummary, type TrendSummaryProps, TrendWindow, type UseCopyToClipboardResult, type UseErrorDisplayResult, type UseEtaProgressOptions, type UseFullscreenRefResult, type UseFullscreenResult, type UseLoadingStateResult, type UseLongPressOptions, type UseLongPressResult, type UseRememberedStateOptions, type UseScrollRestoreOptions, type UseScrollRestoreResult, type UseWakeLockResult, applyKanbanFilter, buttonGroupVariants, celebrate, computeEta, create_command_suggestion_extension, defaultHazoUiT, easeToward, errorToast, format_num, generateUUID, get_hazo_ui_config, get_logger, isLucideValue, makeStatusBadge, median, parse_commands_from_text, permissionToast, pick_x_label_indices, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, set_logger, successToast, text_to_tiptap_content, toggleVariants, upsertEntry as upsertMemoryEntry, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useHazoEvent, useHazoUiT, useIsMobile, useLoadingState, useLocalStorage, useLongPress, useMediaQuery, useRememberedState, useScrollRestore, useSessionStorage, useViewport, useWakeLock, use_fullscreen, use_wake_lock };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { d as TrendWindow, T as TrendChartPoint } from './trend_stats-BAatnIt-.js';
|
|
2
|
+
export { A as AnnounceOptions, a as AnnouncePriority, D as DEFAULT_ANNOUNCE_EVENT, L as LiveAnnouncement, b as TrendStats, c as TrendStatsOptions, e as announce, f as cn, g as computeTrendStats, h as hasUrlParam, r as readRememberedState, s as safeHref, w as writeRememberedState } from './trend_stats-BAatnIt-.js';
|
|
2
3
|
import * as React$1 from 'react';
|
|
3
4
|
import React__default, { ReactNode, RefObject, PointerEvent, MouseEvent } from 'react';
|
|
4
5
|
import { ICommand } from '@uiw/react-md-editor';
|
|
@@ -3129,4 +3130,23 @@ interface EditableDataTableProps<TRow extends object = any> {
|
|
|
3129
3130
|
|
|
3130
3131
|
declare function EditableDataTable<TRow extends object = any>({ columns, rows, onChange, getRowKey, createRow, highlightedKey, className, label, }: EditableDataTableProps<TRow>): React__default.ReactElement;
|
|
3131
3132
|
|
|
3132
|
-
|
|
3133
|
+
interface TrendSummaryProps {
|
|
3134
|
+
windows: TrendWindow[];
|
|
3135
|
+
chartData?: TrendChartPoint[];
|
|
3136
|
+
/** Title shown above the bar chart. Default: "Activity (YTD)". */
|
|
3137
|
+
chartTitle?: string;
|
|
3138
|
+
/** Suffix for hover tooltips, e.g. "signups" or "ratings". */
|
|
3139
|
+
chartTooltipSuffix?: string;
|
|
3140
|
+
/** Label under the "All time" card value. Default: "total". */
|
|
3141
|
+
totalLabel?: string;
|
|
3142
|
+
/** Template for previous-period count. Use {count} placeholder. Default: "prev {count}". */
|
|
3143
|
+
prevTemplate?: string;
|
|
3144
|
+
className?: string;
|
|
3145
|
+
}
|
|
3146
|
+
/**
|
|
3147
|
+
* Trend summary widget: rolling-window stat cards with % change deltas and an
|
|
3148
|
+
* optional interactive YTD bar chart, in a responsive 12-column grid.
|
|
3149
|
+
*/
|
|
3150
|
+
declare function TrendSummary({ windows, chartData, chartTitle, chartTooltipSuffix, totalLabel, prevTemplate, className, }: TrendSummaryProps): React$1.JSX.Element;
|
|
3151
|
+
|
|
3152
|
+
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AnimationPreset, AppFooter, type AppFooterProps, AppHeader, type AppHeaderProps, Badge, type BadgeProps, type BadgeTone, type BaseCommandInputProps, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CELEBRATION_GRADIENT, Calendar, CanvasTextToolbar, type CanvasTextToolbarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CelebrationPayload, CelebrationProvider, type CelebrationProviderProps, type CelebrationShareableCard, type ChartDataPoint, type ChartDataSeries, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DateRangeOption, DateRangeSelector, type DateRangeSelectorProps, type DialogVariant, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EditableCellType, type EditableColumn, EditableDataTable, type EditableDataTableProps, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ErrorBannerSeverity, ErrorPage, type ErrorPageProps, type EtaProgressHandle, type FilterConfig, type FilterField, FunnelChart, type FunnelChartProps, type FunnelStep, HazoBrowserTab, type HazoBrowserTabItem, type HazoBrowserTabProps, HazoContextProvider, type HazoContextProviderProps, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, type HazoUiDialogKind, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiEtaProgress, type HazoUiEtaProgressProps, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiI18nProvider, type HazoUiI18nProviderProps, HazoUiIcon, HazoUiIconPicker, type HazoUiIconPickerProps, type HazoUiIconProps, HazoUiImageCropper, HazoUiImageCropperDialog, type HazoUiImageCropperDialogProps, type HazoUiImageCropperHandle, type HazoUiImageCropperProps, HazoUiKanban, HazoUiKanbanFilter, type HazoUiKanbanFilterProps, type HazoUiKanbanProps, HazoUiMemoryDropdown, type HazoUiMemoryDropdownProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiProgressBar, type HazoUiProgressBarProps, HazoUiRte, type HazoUiRteProps, type HazoUiTFunction, HazoUiTable, type HazoUiTablePagination, type HazoUiTableProps, type HazoUiTableServerLoadArgs, type HazoUiTableServerLoadResult, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HazoUiToaster, type HazoUiToasterProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAffix, type InputAffixProps, type InsertedCommand, InverseSparkline, type InverseSparklineProps, type KanbanAnnouncements, type KanbanColumn, type KanbanEditorCtx, type KanbanEditorField, type KanbanEditorFieldType, type KanbanFilterValue, type KanbanItem, type KanbanLane, type KanbanMoveEvent, type KanbanMoveHandle, type KanbanPriority, type KanbanReorderEvent, type KanbanSaveEvent, type KanbanSection, Label, LiveRegion, type LiveRegionProps, LoadingTimeout, type LoadingTimeoutProps, type Logger, Logo, type LogoProps, MarkdownEditor, type MarkdownEditorProps, type MarkdownEmbed, type MemoryEntry, NotificationCountBadge, type NotificationCountBadgeProps, NotificationItem, type NotificationItemProps, NotificationPanel, type NotificationPanelProps, type PermissionToastOptions, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, ProgressiveImage, type ProgressiveImageProps, RadioGroup, RadioGroupItem, type RteAttachment, type RteOutput, type RteVariable, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, Skeleton, SkeletonBar, type SkeletonBarProps, SkeletonCircle, type SkeletonCircleProps, SkeletonGroup, type SkeletonGroupProps, SkeletonRect, type SkeletonRectProps, Slider, type SortConfig, type SortField, Sparkline, type SparklineProps, Spinner, type StackedBar, StackedBars, type StackedBarsProps, StatusBadge, type StatusBadgeItem, type StatusBadgeProps, type SuggestionState, Switch, Table, TableBody, TableCaption, TableCell, type TableColumn, type TableFilter, TableFooter, type TableFormatter, TableHead, TableHeader, TableRow, type TableSort, type TableSortEntry, type TableSortProp, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ToastOptions, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TrendChartPoint, TrendSummary, type TrendSummaryProps, TrendWindow, type UseCopyToClipboardResult, type UseErrorDisplayResult, type UseEtaProgressOptions, type UseFullscreenRefResult, type UseFullscreenResult, type UseLoadingStateResult, type UseLongPressOptions, type UseLongPressResult, type UseRememberedStateOptions, type UseScrollRestoreOptions, type UseScrollRestoreResult, type UseWakeLockResult, applyKanbanFilter, buttonGroupVariants, celebrate, computeEta, create_command_suggestion_extension, defaultHazoUiT, easeToward, errorToast, format_num, generateUUID, get_hazo_ui_config, get_logger, isLucideValue, makeStatusBadge, median, parse_commands_from_text, permissionToast, pick_x_label_indices, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, set_logger, successToast, text_to_tiptap_content, toggleVariants, upsertEntry as upsertMemoryEntry, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useHazoEvent, useHazoUiT, useIsMobile, useLoadingState, useLocalStorage, useLongPress, useMediaQuery, useRememberedState, useScrollRestore, useSessionStorage, useViewport, useWakeLock, use_fullscreen, use_wake_lock };
|
package/dist/index.js
CHANGED
|
@@ -13658,7 +13658,347 @@ function EditableDataTable({
|
|
|
13658
13658
|
)
|
|
13659
13659
|
);
|
|
13660
13660
|
}
|
|
13661
|
+
function TrendDeltaBadge({ pct }) {
|
|
13662
|
+
if (pct === null) {
|
|
13663
|
+
return /* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground", children: "\u2014" });
|
|
13664
|
+
}
|
|
13665
|
+
const up = pct >= 0;
|
|
13666
|
+
const cls = up ? "text-emerald-600" : "text-red-600";
|
|
13667
|
+
const arrow = up ? "\u25B2" : "\u25BC";
|
|
13668
|
+
return /* @__PURE__ */ jsxs("span", { className: `text-xs font-medium ${cls}`, title: "vs previous period", children: [
|
|
13669
|
+
arrow,
|
|
13670
|
+
" ",
|
|
13671
|
+
up ? "+" : "",
|
|
13672
|
+
pct,
|
|
13673
|
+
"%"
|
|
13674
|
+
] });
|
|
13675
|
+
}
|
|
13676
|
+
var CARD_HEIGHT_PX = 168;
|
|
13677
|
+
function TrendStatCard({
|
|
13678
|
+
w,
|
|
13679
|
+
totalLabel,
|
|
13680
|
+
prevTemplate
|
|
13681
|
+
}) {
|
|
13682
|
+
return /* @__PURE__ */ jsxs(
|
|
13683
|
+
"div",
|
|
13684
|
+
{
|
|
13685
|
+
className: "cls_trend_stat_card flex min-w-0 flex-col justify-between rounded-lg border bg-card p-4",
|
|
13686
|
+
style: { height: CARD_HEIGHT_PX },
|
|
13687
|
+
children: [
|
|
13688
|
+
/* @__PURE__ */ jsx("div", { className: "truncate text-xs text-muted-foreground", children: w.label }),
|
|
13689
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline justify-between gap-1", children: [
|
|
13690
|
+
/* @__PURE__ */ jsx("span", { className: "text-3xl font-bold tabular-nums", children: w.count.toLocaleString() }),
|
|
13691
|
+
w.key !== "all" && /* @__PURE__ */ jsx(TrendDeltaBadge, { pct: w.pctChange })
|
|
13692
|
+
] }),
|
|
13693
|
+
w.key !== "all" && w.prevCount !== null && /* @__PURE__ */ jsx("div", { className: "truncate text-xs text-muted-foreground", children: prevTemplate.replace("{count}", w.prevCount.toLocaleString()) }),
|
|
13694
|
+
w.key === "all" && /* @__PURE__ */ jsx("div", { className: "truncate text-xs text-muted-foreground", children: totalLabel })
|
|
13695
|
+
]
|
|
13696
|
+
}
|
|
13697
|
+
);
|
|
13698
|
+
}
|
|
13699
|
+
function niceMax(n) {
|
|
13700
|
+
if (n <= 0) return 1;
|
|
13701
|
+
const exp = Math.floor(Math.log10(n));
|
|
13702
|
+
const base = Math.pow(10, exp);
|
|
13703
|
+
const frac = n / base;
|
|
13704
|
+
let niceFrac;
|
|
13705
|
+
if (frac <= 1) niceFrac = 1;
|
|
13706
|
+
else if (frac <= 2) niceFrac = 2;
|
|
13707
|
+
else if (frac <= 5) niceFrac = 5;
|
|
13708
|
+
else niceFrac = 10;
|
|
13709
|
+
return niceFrac * base;
|
|
13710
|
+
}
|
|
13711
|
+
function TrendMiniChart({
|
|
13712
|
+
data,
|
|
13713
|
+
title,
|
|
13714
|
+
tooltipSuffix
|
|
13715
|
+
}) {
|
|
13716
|
+
const [hoverIndex, setHoverIndex] = useState(null);
|
|
13717
|
+
const total = data.reduce((n2, d) => n2 + d.count, 0);
|
|
13718
|
+
const rawMax = Math.max(1, ...data.map((d) => d.count));
|
|
13719
|
+
const max = niceMax(rawMax);
|
|
13720
|
+
const mid = Math.round(max / 2);
|
|
13721
|
+
const W = 480;
|
|
13722
|
+
const H = 120;
|
|
13723
|
+
const marginLeft = 34;
|
|
13724
|
+
const marginRight = 8;
|
|
13725
|
+
const marginTop = 16;
|
|
13726
|
+
const marginBottom = 20;
|
|
13727
|
+
const plotW = W - marginLeft - marginRight;
|
|
13728
|
+
const plotH = H - marginTop - marginBottom;
|
|
13729
|
+
const gap = 6;
|
|
13730
|
+
const n = Math.max(1, data.length);
|
|
13731
|
+
const colW = plotW / n;
|
|
13732
|
+
const bw = Math.max(1, colW - gap);
|
|
13733
|
+
const yFor = (value) => marginTop + plotH - value / max * plotH;
|
|
13734
|
+
const hovered = hoverIndex !== null ? data[hoverIndex] : null;
|
|
13735
|
+
return /* @__PURE__ */ jsxs(
|
|
13736
|
+
"div",
|
|
13737
|
+
{
|
|
13738
|
+
className: "cls_trend_mini_chart col-span-6 flex min-w-0 flex-col rounded-lg border bg-card p-3",
|
|
13739
|
+
style: { height: CARD_HEIGHT_PX },
|
|
13740
|
+
children: [
|
|
13741
|
+
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-baseline justify-between", children: [
|
|
13742
|
+
/* @__PURE__ */ jsx("div", { className: "truncate text-[11px] text-muted-foreground", children: title }),
|
|
13743
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm font-semibold tabular-nums", children: total.toLocaleString() })
|
|
13744
|
+
] }),
|
|
13745
|
+
/* @__PURE__ */ jsxs("div", { className: "relative mt-2 min-h-0 flex-1", children: [
|
|
13746
|
+
/* @__PURE__ */ jsxs(
|
|
13747
|
+
"svg",
|
|
13748
|
+
{
|
|
13749
|
+
role: "img",
|
|
13750
|
+
"aria-label": data.map((d) => `${d.label} ${d.count}`).join(", "),
|
|
13751
|
+
viewBox: `0 0 ${W} ${H}`,
|
|
13752
|
+
preserveAspectRatio: "none",
|
|
13753
|
+
className: "h-full w-full",
|
|
13754
|
+
children: [
|
|
13755
|
+
[0, mid, max].map((tick) => {
|
|
13756
|
+
const y = yFor(tick);
|
|
13757
|
+
return /* @__PURE__ */ jsxs("g", { children: [
|
|
13758
|
+
/* @__PURE__ */ jsx(
|
|
13759
|
+
"line",
|
|
13760
|
+
{
|
|
13761
|
+
x1: marginLeft,
|
|
13762
|
+
x2: W - marginRight,
|
|
13763
|
+
y1: y,
|
|
13764
|
+
y2: y,
|
|
13765
|
+
stroke: "currentColor",
|
|
13766
|
+
strokeOpacity: 0.1
|
|
13767
|
+
}
|
|
13768
|
+
),
|
|
13769
|
+
/* @__PURE__ */ jsx(
|
|
13770
|
+
"text",
|
|
13771
|
+
{
|
|
13772
|
+
x: marginLeft - 6,
|
|
13773
|
+
y,
|
|
13774
|
+
dy: 3,
|
|
13775
|
+
textAnchor: "end",
|
|
13776
|
+
fontSize: 9,
|
|
13777
|
+
className: "fill-muted-foreground",
|
|
13778
|
+
children: tick.toLocaleString()
|
|
13779
|
+
}
|
|
13780
|
+
)
|
|
13781
|
+
] }, tick);
|
|
13782
|
+
}),
|
|
13783
|
+
/* @__PURE__ */ jsx(
|
|
13784
|
+
"line",
|
|
13785
|
+
{
|
|
13786
|
+
x1: marginLeft,
|
|
13787
|
+
x2: W - marginRight,
|
|
13788
|
+
y1: marginTop + plotH,
|
|
13789
|
+
y2: marginTop + plotH,
|
|
13790
|
+
stroke: "currentColor",
|
|
13791
|
+
strokeOpacity: 0.2
|
|
13792
|
+
}
|
|
13793
|
+
),
|
|
13794
|
+
data.map((d, i) => {
|
|
13795
|
+
const barH = Math.round(d.count / max * plotH);
|
|
13796
|
+
const colX = marginLeft + i * colW;
|
|
13797
|
+
const barX = colX + (colW - bw) / 2;
|
|
13798
|
+
const barY = marginTop + plotH - barH;
|
|
13799
|
+
const centerX = colX + colW / 2;
|
|
13800
|
+
const isDimmed = hoverIndex !== null && hoverIndex !== i;
|
|
13801
|
+
return /* @__PURE__ */ jsxs(
|
|
13802
|
+
"g",
|
|
13803
|
+
{
|
|
13804
|
+
onMouseEnter: () => setHoverIndex(i),
|
|
13805
|
+
onMouseLeave: () => setHoverIndex(null),
|
|
13806
|
+
children: [
|
|
13807
|
+
/* @__PURE__ */ jsx(
|
|
13808
|
+
"rect",
|
|
13809
|
+
{
|
|
13810
|
+
x: colX,
|
|
13811
|
+
y: marginTop,
|
|
13812
|
+
width: colW,
|
|
13813
|
+
height: plotH,
|
|
13814
|
+
fill: "transparent"
|
|
13815
|
+
}
|
|
13816
|
+
),
|
|
13817
|
+
/* @__PURE__ */ jsx(
|
|
13818
|
+
"rect",
|
|
13819
|
+
{
|
|
13820
|
+
x: barX,
|
|
13821
|
+
y: barY,
|
|
13822
|
+
width: bw,
|
|
13823
|
+
height: Math.max(0, barH),
|
|
13824
|
+
rx: 2,
|
|
13825
|
+
className: "fill-primary",
|
|
13826
|
+
fillOpacity: isDimmed ? 0.45 : 1,
|
|
13827
|
+
children: /* @__PURE__ */ jsx("title", { children: `${d.label}: ${d.count} ${tooltipSuffix}` })
|
|
13828
|
+
}
|
|
13829
|
+
),
|
|
13830
|
+
/* @__PURE__ */ jsx(
|
|
13831
|
+
"text",
|
|
13832
|
+
{
|
|
13833
|
+
x: centerX,
|
|
13834
|
+
y: barY - 4,
|
|
13835
|
+
textAnchor: "middle",
|
|
13836
|
+
fontSize: 10,
|
|
13837
|
+
fontWeight: 600,
|
|
13838
|
+
className: "fill-foreground",
|
|
13839
|
+
children: d.count
|
|
13840
|
+
}
|
|
13841
|
+
),
|
|
13842
|
+
/* @__PURE__ */ jsx(
|
|
13843
|
+
"text",
|
|
13844
|
+
{
|
|
13845
|
+
x: centerX,
|
|
13846
|
+
y: marginTop + plotH + 14,
|
|
13847
|
+
textAnchor: "middle",
|
|
13848
|
+
fontSize: 9,
|
|
13849
|
+
className: "fill-muted-foreground",
|
|
13850
|
+
children: d.label
|
|
13851
|
+
}
|
|
13852
|
+
)
|
|
13853
|
+
]
|
|
13854
|
+
},
|
|
13855
|
+
d.label
|
|
13856
|
+
);
|
|
13857
|
+
})
|
|
13858
|
+
]
|
|
13859
|
+
}
|
|
13860
|
+
),
|
|
13861
|
+
hovered && hoverIndex !== null && /* @__PURE__ */ jsxs(
|
|
13862
|
+
"div",
|
|
13863
|
+
{
|
|
13864
|
+
className: "pointer-events-none absolute z-10 -translate-x-1/2 -translate-y-full rounded-md border bg-popover px-2 py-1 text-[10px] font-medium text-popover-foreground shadow-sm",
|
|
13865
|
+
style: {
|
|
13866
|
+
left: `${Math.min(
|
|
13867
|
+
92,
|
|
13868
|
+
Math.max(
|
|
13869
|
+
8,
|
|
13870
|
+
(marginLeft + hoverIndex * (plotW / n) + plotW / n / 2) / W * 100
|
|
13871
|
+
)
|
|
13872
|
+
)}%`,
|
|
13873
|
+
top: `${(marginTop + plotH - hovered.count / max * plotH) / H * 100}%`
|
|
13874
|
+
},
|
|
13875
|
+
children: [
|
|
13876
|
+
hovered.label,
|
|
13877
|
+
": ",
|
|
13878
|
+
hovered.count,
|
|
13879
|
+
" ",
|
|
13880
|
+
tooltipSuffix
|
|
13881
|
+
]
|
|
13882
|
+
}
|
|
13883
|
+
)
|
|
13884
|
+
] })
|
|
13885
|
+
]
|
|
13886
|
+
}
|
|
13887
|
+
);
|
|
13888
|
+
}
|
|
13889
|
+
function TrendSummary({
|
|
13890
|
+
windows,
|
|
13891
|
+
chartData,
|
|
13892
|
+
chartTitle = "Activity (YTD)",
|
|
13893
|
+
chartTooltipSuffix = "",
|
|
13894
|
+
totalLabel = "total",
|
|
13895
|
+
prevTemplate = "prev {count}",
|
|
13896
|
+
className
|
|
13897
|
+
}) {
|
|
13898
|
+
return /* @__PURE__ */ jsxs(
|
|
13899
|
+
"div",
|
|
13900
|
+
{
|
|
13901
|
+
className: cn(
|
|
13902
|
+
"cls_trend_summary mb-4 grid grid-cols-6 items-start gap-2 md:grid-cols-12",
|
|
13903
|
+
className
|
|
13904
|
+
),
|
|
13905
|
+
children: [
|
|
13906
|
+
windows.map((w) => /* @__PURE__ */ jsx(
|
|
13907
|
+
TrendStatCard,
|
|
13908
|
+
{
|
|
13909
|
+
w,
|
|
13910
|
+
totalLabel,
|
|
13911
|
+
prevTemplate
|
|
13912
|
+
},
|
|
13913
|
+
w.key
|
|
13914
|
+
)),
|
|
13915
|
+
chartData && chartData.length > 0 && /* @__PURE__ */ jsx(
|
|
13916
|
+
TrendMiniChart,
|
|
13917
|
+
{
|
|
13918
|
+
data: chartData,
|
|
13919
|
+
title: chartTitle,
|
|
13920
|
+
tooltipSuffix: chartTooltipSuffix
|
|
13921
|
+
}
|
|
13922
|
+
)
|
|
13923
|
+
]
|
|
13924
|
+
}
|
|
13925
|
+
);
|
|
13926
|
+
}
|
|
13927
|
+
|
|
13928
|
+
// src/lib/trend_stats.ts
|
|
13929
|
+
var DAY_MS = 864e5;
|
|
13930
|
+
var MONTHS = [
|
|
13931
|
+
"Jan",
|
|
13932
|
+
"Feb",
|
|
13933
|
+
"Mar",
|
|
13934
|
+
"Apr",
|
|
13935
|
+
"May",
|
|
13936
|
+
"Jun",
|
|
13937
|
+
"Jul",
|
|
13938
|
+
"Aug",
|
|
13939
|
+
"Sep",
|
|
13940
|
+
"Oct",
|
|
13941
|
+
"Nov",
|
|
13942
|
+
"Dec"
|
|
13943
|
+
];
|
|
13944
|
+
function pctOf(count, prev) {
|
|
13945
|
+
if (prev === null || prev === 0) return null;
|
|
13946
|
+
return Math.round((count - prev) / prev * 100);
|
|
13947
|
+
}
|
|
13948
|
+
var DEFAULT_WINDOWS = [
|
|
13949
|
+
{ key: "7d", label: "7 days", days: 7 },
|
|
13950
|
+
{ key: "30d", label: "30 days", days: 30 },
|
|
13951
|
+
{ key: "90d", label: "3 months", days: 90 },
|
|
13952
|
+
{ key: "180d", label: "6 months", days: 180 }
|
|
13953
|
+
];
|
|
13954
|
+
function computeTrendStats(items, now = /* @__PURE__ */ new Date(), options) {
|
|
13955
|
+
const nowMs = now.getTime();
|
|
13956
|
+
const times = [];
|
|
13957
|
+
for (const item of items) {
|
|
13958
|
+
if (!item || !item.created_at) continue;
|
|
13959
|
+
const t = new Date(item.created_at).getTime();
|
|
13960
|
+
if (!Number.isNaN(t)) times.push(t);
|
|
13961
|
+
}
|
|
13962
|
+
const countBetween = (startMs, endMs) => times.reduce((n, t) => t >= startMs && t < endMs ? n + 1 : n, 0);
|
|
13963
|
+
const total = times.length;
|
|
13964
|
+
const rollingDefs = options?.windows ?? DEFAULT_WINDOWS;
|
|
13965
|
+
const windows = [
|
|
13966
|
+
{ key: "all", label: options?.totalLabel ?? "All time", count: total, prevCount: null, pctChange: null }
|
|
13967
|
+
];
|
|
13968
|
+
for (const w of rollingDefs) {
|
|
13969
|
+
const span = w.days * DAY_MS;
|
|
13970
|
+
const count = countBetween(nowMs - span, nowMs);
|
|
13971
|
+
const prevCount = countBetween(nowMs - 2 * span, nowMs - span);
|
|
13972
|
+
windows.push({
|
|
13973
|
+
key: w.key,
|
|
13974
|
+
label: w.label,
|
|
13975
|
+
count,
|
|
13976
|
+
prevCount,
|
|
13977
|
+
pctChange: pctOf(count, prevCount)
|
|
13978
|
+
});
|
|
13979
|
+
}
|
|
13980
|
+
const ytdStart = new Date(now.getFullYear(), 0, 1).getTime();
|
|
13981
|
+
const elapsed = nowMs - ytdStart;
|
|
13982
|
+
const ytdCount = countBetween(ytdStart, nowMs);
|
|
13983
|
+
const prevYtdStart = new Date(now.getFullYear() - 1, 0, 1).getTime();
|
|
13984
|
+
const prevYtdCount = countBetween(prevYtdStart, prevYtdStart + elapsed);
|
|
13985
|
+
windows.push({
|
|
13986
|
+
key: "ytd",
|
|
13987
|
+
label: "YTD",
|
|
13988
|
+
count: ytdCount,
|
|
13989
|
+
prevCount: prevYtdCount,
|
|
13990
|
+
pctChange: pctOf(ytdCount, prevYtdCount)
|
|
13991
|
+
});
|
|
13992
|
+
const ytdMonthly = [];
|
|
13993
|
+
const year = now.getFullYear();
|
|
13994
|
+
for (let m = 0; m <= now.getMonth(); m++) {
|
|
13995
|
+
const monthStart = new Date(year, m, 1).getTime();
|
|
13996
|
+
const monthEnd = new Date(year, m + 1, 1).getTime();
|
|
13997
|
+
ytdMonthly.push({ label: MONTHS[m], count: countBetween(monthStart, monthEnd) });
|
|
13998
|
+
}
|
|
13999
|
+
return { total, windows, ytdMonthly };
|
|
14000
|
+
}
|
|
13661
14001
|
|
|
13662
|
-
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AppFooter, AppHeader, Badge, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CELEBRATION_GRADIENT, Calendar, CanvasTextToolbar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CelebrationProvider, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, CommandNodeExtension, CommandPill, CommandPopover, DEFAULT_ANNOUNCE_EVENT, DateRangeSelector, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableDataTable, EmptyState, ErrorBanner, ErrorPage, FunnelChart, HazoBrowserTab, HazoContextProvider, HazoUiConfirmDialog, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiEtaProgress, HazoUiFlexInput, HazoUiFlexRadio, HazoUiI18nProvider, HazoUiIcon, HazoUiIconPicker, HazoUiImageCropper, HazoUiImageCropperDialog, HazoUiKanban, HazoUiKanbanFilter, HazoUiMemoryDropdown, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, HazoUiProgressBar, HazoUiRte, HazoUiTable, HazoUiTextarea, HazoUiTextbox, HazoUiToaster, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAffix, InverseSparkline, Label3 as Label, LiveRegion, LoadingTimeout, LocalePicker, Logo, MarkdownEditor, NotificationCountBadge, NotificationItem, NotificationPanel, Popover, PopoverContent, PopoverTrigger, ProgressiveImage, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, Skeleton, SkeletonBar, SkeletonCircle, SkeletonGroup, SkeletonRect, Slider, Sparkline, Spinner, StackedBars, StatusBadge, Switch, Table2 as Table, TableBody, TableCaption, TableCell2 as TableCell, TableFooter, TableHead, TableHeader2 as TableHeader, TableRow2 as TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, announce, applyKanbanFilter, buttonGroupVariants, celebrate, cn, computeEta, create_command_suggestion_extension, defaultHazoUiT, easeToward, errorToast, format_num, generateUUID, get_hazo_ui_config, get_logger, hasUrlParam, isLucideValue, makeStatusBadge, median, parse_commands_from_text, permissionToast, pick_x_label_indices, readRememberedState, reset_hazo_ui_config, resolve_animation_classes, safeHref, set_hazo_ui_config, set_logger, successToast, text_to_tiptap_content, toggleVariants, upsertEntry as upsertMemoryEntry, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useHazoEvent, useHazoUiT, useIsMobile, useLoadingState, useLocalStorage, useLongPress, useMediaQuery, useRememberedState, useScrollRestore, useSessionStorage, useViewport, useWakeLock, use_fullscreen, use_wake_lock, writeRememberedState };
|
|
14002
|
+
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AppFooter, AppHeader, Badge, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CELEBRATION_GRADIENT, Calendar, CanvasTextToolbar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CelebrationProvider, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, CommandNodeExtension, CommandPill, CommandPopover, DEFAULT_ANNOUNCE_EVENT, DateRangeSelector, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableDataTable, EmptyState, ErrorBanner, ErrorPage, FunnelChart, HazoBrowserTab, HazoContextProvider, HazoUiConfirmDialog, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiEtaProgress, HazoUiFlexInput, HazoUiFlexRadio, HazoUiI18nProvider, HazoUiIcon, HazoUiIconPicker, HazoUiImageCropper, HazoUiImageCropperDialog, HazoUiKanban, HazoUiKanbanFilter, HazoUiMemoryDropdown, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, HazoUiProgressBar, HazoUiRte, HazoUiTable, HazoUiTextarea, HazoUiTextbox, HazoUiToaster, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAffix, InverseSparkline, Label3 as Label, LiveRegion, LoadingTimeout, LocalePicker, Logo, MarkdownEditor, NotificationCountBadge, NotificationItem, NotificationPanel, Popover, PopoverContent, PopoverTrigger, ProgressiveImage, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, Skeleton, SkeletonBar, SkeletonCircle, SkeletonGroup, SkeletonRect, Slider, Sparkline, Spinner, StackedBars, StatusBadge, Switch, Table2 as Table, TableBody, TableCaption, TableCell2 as TableCell, TableFooter, TableHead, TableHeader2 as TableHeader, TableRow2 as TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TrendSummary, announce, applyKanbanFilter, buttonGroupVariants, celebrate, cn, computeEta, computeTrendStats, create_command_suggestion_extension, defaultHazoUiT, easeToward, errorToast, format_num, generateUUID, get_hazo_ui_config, get_logger, hasUrlParam, isLucideValue, makeStatusBadge, median, parse_commands_from_text, permissionToast, pick_x_label_indices, readRememberedState, reset_hazo_ui_config, resolve_animation_classes, safeHref, set_hazo_ui_config, set_logger, successToast, text_to_tiptap_content, toggleVariants, upsertEntry as upsertMemoryEntry, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useHazoEvent, useHazoUiT, useIsMobile, useLoadingState, useLocalStorage, useLongPress, useMediaQuery, useRememberedState, useScrollRestore, useSessionStorage, useViewport, useWakeLock, use_fullscreen, use_wake_lock, writeRememberedState };
|
|
13663
14003
|
//# sourceMappingURL=index.js.map
|
|
13664
14004
|
//# sourceMappingURL=index.js.map
|