@goplusvn/core 0.1.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.
Files changed (223) hide show
  1. package/dist/audit/index.d.mts +115 -0
  2. package/dist/audit/index.d.ts +115 -0
  3. package/dist/audit/index.js +204 -0
  4. package/dist/audit/index.js.map +1 -0
  5. package/dist/audit/index.mjs +200 -0
  6. package/dist/audit/index.mjs.map +1 -0
  7. package/dist/auth/index.d.mts +86 -0
  8. package/dist/auth/index.d.ts +86 -0
  9. package/dist/auth/index.js +210 -0
  10. package/dist/auth/index.js.map +1 -0
  11. package/dist/auth/index.mjs +198 -0
  12. package/dist/auth/index.mjs.map +1 -0
  13. package/dist/button-1dWvP9Ib.d.mts +30 -0
  14. package/dist/button-1dWvP9Ib.d.ts +30 -0
  15. package/dist/calendar-2QzdEo1z.d.mts +20 -0
  16. package/dist/calendar-2QzdEo1z.d.ts +20 -0
  17. package/dist/code-generation/index.d.mts +30 -0
  18. package/dist/code-generation/index.d.ts +30 -0
  19. package/dist/code-generation/index.js +31 -0
  20. package/dist/code-generation/index.js.map +1 -0
  21. package/dist/code-generation/index.mjs +28 -0
  22. package/dist/code-generation/index.mjs.map +1 -0
  23. package/dist/configs/index.d.mts +175 -0
  24. package/dist/configs/index.d.ts +175 -0
  25. package/dist/configs/index.js +254 -0
  26. package/dist/configs/index.js.map +1 -0
  27. package/dist/configs/index.mjs +233 -0
  28. package/dist/configs/index.mjs.map +1 -0
  29. package/dist/crud/index.d.mts +646 -0
  30. package/dist/crud/index.d.ts +646 -0
  31. package/dist/crud/index.js +11772 -0
  32. package/dist/crud/index.js.map +1 -0
  33. package/dist/crud/index.mjs +11665 -0
  34. package/dist/crud/index.mjs.map +1 -0
  35. package/dist/crud/server.d.mts +20 -0
  36. package/dist/crud/server.d.ts +20 -0
  37. package/dist/crud/server.js +123 -0
  38. package/dist/crud/server.js.map +1 -0
  39. package/dist/crud/server.mjs +120 -0
  40. package/dist/crud/server.mjs.map +1 -0
  41. package/dist/data-table-skeleton-12NA8Mjx.d.mts +39 -0
  42. package/dist/data-table-skeleton-12NA8Mjx.d.ts +39 -0
  43. package/dist/dialog-bKfjZMTd.d.mts +22 -0
  44. package/dist/dialog-bKfjZMTd.d.ts +22 -0
  45. package/dist/dynamic-icon-DrGIiu2N.d.mts +10 -0
  46. package/dist/dynamic-icon-DrGIiu2N.d.ts +10 -0
  47. package/dist/home/index.d.mts +269 -0
  48. package/dist/home/index.d.ts +269 -0
  49. package/dist/home/index.js +1678 -0
  50. package/dist/home/index.js.map +1 -0
  51. package/dist/home/index.mjs +1635 -0
  52. package/dist/home/index.mjs.map +1 -0
  53. package/dist/hooks/index.d.mts +7 -0
  54. package/dist/hooks/index.d.ts +7 -0
  55. package/dist/hooks/index.js +8316 -0
  56. package/dist/hooks/index.js.map +1 -0
  57. package/dist/hooks/index.mjs +8255 -0
  58. package/dist/hooks/index.mjs.map +1 -0
  59. package/dist/index-50hpiPrV.d.ts +116 -0
  60. package/dist/index-B9zQVEVi.d.mts +116 -0
  61. package/dist/index.d.mts +5 -0
  62. package/dist/index.d.ts +5 -0
  63. package/dist/index.js +123 -0
  64. package/dist/index.js.map +1 -0
  65. package/dist/index.mjs +118 -0
  66. package/dist/index.mjs.map +1 -0
  67. package/dist/infrastructure/index.d.mts +423 -0
  68. package/dist/infrastructure/index.d.ts +423 -0
  69. package/dist/infrastructure/index.js +633 -0
  70. package/dist/infrastructure/index.js.map +1 -0
  71. package/dist/infrastructure/index.mjs +619 -0
  72. package/dist/infrastructure/index.mjs.map +1 -0
  73. package/dist/label-DWTEkNPo.d.ts +226 -0
  74. package/dist/label-LPpdcoBx.d.mts +226 -0
  75. package/dist/layout/index.d.mts +48 -0
  76. package/dist/layout/index.d.ts +48 -0
  77. package/dist/layout/index.js +117 -0
  78. package/dist/layout/index.js.map +1 -0
  79. package/dist/layout/index.mjs +90 -0
  80. package/dist/layout/index.mjs.map +1 -0
  81. package/dist/navigation/index.d.mts +16 -0
  82. package/dist/navigation/index.d.ts +16 -0
  83. package/dist/navigation/index.js +53 -0
  84. package/dist/navigation/index.js.map +1 -0
  85. package/dist/navigation/index.mjs +50 -0
  86. package/dist/navigation/index.mjs.map +1 -0
  87. package/dist/notification/index.d.mts +105 -0
  88. package/dist/notification/index.d.ts +105 -0
  89. package/dist/notification/index.js +278 -0
  90. package/dist/notification/index.js.map +1 -0
  91. package/dist/notification/index.mjs +274 -0
  92. package/dist/notification/index.mjs.map +1 -0
  93. package/dist/organization/index.d.mts +99 -0
  94. package/dist/organization/index.d.ts +99 -0
  95. package/dist/organization/index.js +360 -0
  96. package/dist/organization/index.js.map +1 -0
  97. package/dist/organization/index.mjs +352 -0
  98. package/dist/organization/index.mjs.map +1 -0
  99. package/dist/plugin/index.d.mts +83 -0
  100. package/dist/plugin/index.d.ts +83 -0
  101. package/dist/plugin/index.js +86 -0
  102. package/dist/plugin/index.js.map +1 -0
  103. package/dist/plugin/index.mjs +84 -0
  104. package/dist/plugin/index.mjs.map +1 -0
  105. package/dist/providers/index.d.mts +25 -0
  106. package/dist/providers/index.d.ts +25 -0
  107. package/dist/providers/index.js +84 -0
  108. package/dist/providers/index.js.map +1 -0
  109. package/dist/providers/index.mjs +77 -0
  110. package/dist/providers/index.mjs.map +1 -0
  111. package/dist/rbac/index.d.mts +226 -0
  112. package/dist/rbac/index.d.ts +226 -0
  113. package/dist/rbac/index.js +4784 -0
  114. package/dist/rbac/index.js.map +1 -0
  115. package/dist/rbac/index.mjs +4722 -0
  116. package/dist/rbac/index.mjs.map +1 -0
  117. package/dist/rbac/permissions.d.mts +26 -0
  118. package/dist/rbac/permissions.d.ts +26 -0
  119. package/dist/rbac/permissions.js +94 -0
  120. package/dist/rbac/permissions.js.map +1 -0
  121. package/dist/rbac/permissions.mjs +90 -0
  122. package/dist/rbac/permissions.mjs.map +1 -0
  123. package/dist/rbac/server.d.mts +1 -0
  124. package/dist/rbac/server.d.ts +1 -0
  125. package/dist/rbac/server.js +128 -0
  126. package/dist/rbac/server.js.map +1 -0
  127. package/dist/rbac/server.mjs +124 -0
  128. package/dist/rbac/server.mjs.map +1 -0
  129. package/dist/schemas/index.d.mts +1257 -0
  130. package/dist/schemas/index.d.ts +1257 -0
  131. package/dist/schemas/index.js +572 -0
  132. package/dist/schemas/index.js.map +1 -0
  133. package/dist/schemas/index.mjs +523 -0
  134. package/dist/schemas/index.mjs.map +1 -0
  135. package/dist/server-QuYCTa89.d.mts +83 -0
  136. package/dist/server-QuYCTa89.d.ts +83 -0
  137. package/dist/sonner-C74GlRDQ.d.mts +71 -0
  138. package/dist/sonner-C74GlRDQ.d.ts +71 -0
  139. package/dist/status-BOXZgIqX.d.mts +12 -0
  140. package/dist/status-BOXZgIqX.d.ts +12 -0
  141. package/dist/system/index.d.mts +77 -0
  142. package/dist/system/index.d.ts +77 -0
  143. package/dist/system/index.js +102 -0
  144. package/dist/system/index.js.map +1 -0
  145. package/dist/system/index.mjs +100 -0
  146. package/dist/system/index.mjs.map +1 -0
  147. package/dist/tabs-C6FfBwPY.d.mts +18 -0
  148. package/dist/tabs-C6FfBwPY.d.ts +18 -0
  149. package/dist/tenant-provider-B8eC_Wpb.d.mts +27 -0
  150. package/dist/tenant-provider-B8eC_Wpb.d.ts +27 -0
  151. package/dist/types/index.d.mts +469 -0
  152. package/dist/types/index.d.ts +469 -0
  153. package/dist/types/index.js +25 -0
  154. package/dist/types/index.js.map +1 -0
  155. package/dist/types/index.mjs +21 -0
  156. package/dist/types/index.mjs.map +1 -0
  157. package/dist/ui/auth.d.mts +39 -0
  158. package/dist/ui/auth.d.ts +39 -0
  159. package/dist/ui/auth.js +4941 -0
  160. package/dist/ui/auth.js.map +1 -0
  161. package/dist/ui/auth.mjs +4896 -0
  162. package/dist/ui/auth.mjs.map +1 -0
  163. package/dist/ui/crud.d.mts +2 -0
  164. package/dist/ui/crud.d.ts +2 -0
  165. package/dist/ui/crud.js +4 -0
  166. package/dist/ui/crud.js.map +1 -0
  167. package/dist/ui/crud.mjs +3 -0
  168. package/dist/ui/crud.mjs.map +1 -0
  169. package/dist/ui/data-display.d.mts +596 -0
  170. package/dist/ui/data-display.d.ts +596 -0
  171. package/dist/ui/data-display.js +5307 -0
  172. package/dist/ui/data-display.js.map +1 -0
  173. package/dist/ui/data-display.mjs +5212 -0
  174. package/dist/ui/data-display.mjs.map +1 -0
  175. package/dist/ui/feedback.d.mts +55 -0
  176. package/dist/ui/feedback.d.ts +55 -0
  177. package/dist/ui/feedback.js +2608 -0
  178. package/dist/ui/feedback.js.map +1 -0
  179. package/dist/ui/feedback.mjs +2526 -0
  180. package/dist/ui/feedback.mjs.map +1 -0
  181. package/dist/ui/forms.d.mts +309 -0
  182. package/dist/ui/forms.d.ts +309 -0
  183. package/dist/ui/forms.js +4656 -0
  184. package/dist/ui/forms.js.map +1 -0
  185. package/dist/ui/forms.mjs +4571 -0
  186. package/dist/ui/forms.mjs.map +1 -0
  187. package/dist/ui/index.d.mts +331 -0
  188. package/dist/ui/index.d.ts +331 -0
  189. package/dist/ui/index.js +16953 -0
  190. package/dist/ui/index.js.map +1 -0
  191. package/dist/ui/index.mjs +16598 -0
  192. package/dist/ui/index.mjs.map +1 -0
  193. package/dist/ui/primitives/client.d.mts +61 -0
  194. package/dist/ui/primitives/client.d.ts +61 -0
  195. package/dist/ui/primitives/client.js +3408 -0
  196. package/dist/ui/primitives/client.js.map +1 -0
  197. package/dist/ui/primitives/client.mjs +3256 -0
  198. package/dist/ui/primitives/client.mjs.map +1 -0
  199. package/dist/ui/primitives.d.mts +113 -0
  200. package/dist/ui/primitives.d.ts +113 -0
  201. package/dist/ui/primitives.js +3356 -0
  202. package/dist/ui/primitives.js.map +1 -0
  203. package/dist/ui/primitives.mjs +3227 -0
  204. package/dist/ui/primitives.mjs.map +1 -0
  205. package/dist/user/index.d.mts +228 -0
  206. package/dist/user/index.d.ts +228 -0
  207. package/dist/user/index.js +4306 -0
  208. package/dist/user/index.js.map +1 -0
  209. package/dist/user/index.mjs +4260 -0
  210. package/dist/user/index.mjs.map +1 -0
  211. package/dist/utils/index.d.mts +205 -0
  212. package/dist/utils/index.d.ts +205 -0
  213. package/dist/utils/index.js +574 -0
  214. package/dist/utils/index.js.map +1 -0
  215. package/dist/utils/index.mjs +514 -0
  216. package/dist/utils/index.mjs.map +1 -0
  217. package/dist/workflow/index.d.mts +40 -0
  218. package/dist/workflow/index.d.ts +40 -0
  219. package/dist/workflow/index.js +3710 -0
  220. package/dist/workflow/index.js.map +1 -0
  221. package/dist/workflow/index.mjs +3677 -0
  222. package/dist/workflow/index.mjs.map +1 -0
  223. package/package.json +311 -0
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ //# sourceMappingURL=crud.js.map
4
+ //# sourceMappingURL=crud.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"crud.js"}
@@ -0,0 +1,3 @@
1
+
2
+ //# sourceMappingURL=crud.mjs.map
3
+ //# sourceMappingURL=crud.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"crud.mjs"}
@@ -0,0 +1,596 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { Column, Table, ColumnDef } from '@tanstack/react-table';
3
+ export { ColumnDef, Row } from '@tanstack/react-table';
4
+ import React__default, { ComponentProps, MouseEvent, ReactNode, ComponentType, JSX, SVGProps } from 'react';
5
+ import * as class_variance_authority_types from 'class-variance-authority/types';
6
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
7
+ import { VariantProps } from 'class-variance-authority';
8
+ import { LucideIcon } from 'lucide-react';
9
+ import * as RechartsPrimitive from 'recharts';
10
+ import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
11
+ import { B as Button } from '../button-1dWvP9Ib.mjs';
12
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
13
+ import { UniqueIdentifier } from '@dnd-kit/core';
14
+ import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
15
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
16
+ import { BundledLanguage } from 'shiki/bundle/web';
17
+ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
18
+ export { T as Table, a as TableBody, b as TableCaption, c as TableCell, d as TableFooter, e as TableHead, f as TableHeader, g as TableRow, h as Tabs, i as TabsContent, j as TabsList, k as TabsTrigger } from '../tabs-C6FfBwPY.mjs';
19
+ import { DynamicIconNameType } from '../types/index.mjs';
20
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
21
+ export { D as DataTableFullSkeleton, a as DataTableSkeleton, b as DataTableSkeletonProps } from '../data-table-skeleton-12NA8Mjx.mjs';
22
+ import '@radix-ui/react-tabs';
23
+ import 'zod';
24
+
25
+ interface DataTableColumnHeaderProps<TData, TValue> extends ComponentProps<"div"> {
26
+ column: Column<TData, TValue>;
27
+ title: string;
28
+ className?: string;
29
+ }
30
+ declare function DataTableColumnHeader<TData, TValue>({ column, title, className, }: DataTableColumnHeaderProps<TData, TValue>): react_jsx_runtime.JSX.Element;
31
+
32
+ interface FormattedNumberInputProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "type"> {
33
+ value?: number | null;
34
+ onValueChange?: (value: number | null) => void;
35
+ min?: number;
36
+ max?: number;
37
+ step?: number;
38
+ placeholder?: string;
39
+ suffix?: string;
40
+ allowNegative?: boolean;
41
+ locale?: string;
42
+ className?: string;
43
+ }
44
+ declare const FormattedNumberInput: React__default.FC<FormattedNumberInputProps>;
45
+
46
+ interface DataTablePaginationProps<TData> {
47
+ table: Table<TData>;
48
+ totalItems?: number;
49
+ currentPage?: number;
50
+ pageSize?: number;
51
+ }
52
+ declare function DataTablePagination<TData>({ table, totalItems, currentPage, pageSize, }: DataTablePaginationProps<TData>): react_jsx_runtime.JSX.Element;
53
+
54
+ interface DataTableViewOptionsProps<TData> {
55
+ table: Table<TData>;
56
+ }
57
+ declare function DataTableViewOptions<TData>({ table, }: DataTableViewOptionsProps<TData>): react_jsx_runtime.JSX.Element;
58
+
59
+ declare function Avatar({ className, ...props }: ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime.JSX.Element;
60
+ declare function AvatarImage({ className, ...props }: ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
61
+ declare function AvatarFallback({ className, ...props }: ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
62
+ declare const avatarStackVariants: (props?: ({
63
+ size?: "default" | "sm" | "lg" | null | undefined;
64
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
65
+ interface AvatarStackProps extends ComponentProps<"div">, VariantProps<typeof avatarStackVariants> {
66
+ avatars: {
67
+ src?: string;
68
+ alt: string;
69
+ href?: string;
70
+ }[];
71
+ avatarClassName?: string;
72
+ limit?: number;
73
+ onMoreButtonClick?: (event: MouseEvent<HTMLButtonElement>) => void;
74
+ }
75
+ declare function AvatarStack({ avatars, limit, size, onMoreButtonClick, className, avatarClassName, ...props }: AvatarStackProps): react_jsx_runtime.JSX.Element;
76
+
77
+ interface KpiCardProps {
78
+ title: string;
79
+ value: number | string;
80
+ icon: LucideIcon;
81
+ color?: string;
82
+ percentageChange?: number;
83
+ note?: string;
84
+ }
85
+ declare function KpiCard({ title, value, icon: Icon, color, percentageChange, note, }: KpiCardProps): react_jsx_runtime.JSX.Element;
86
+
87
+ type StatColorTheme = "dark" | "green" | "blue" | "purple" | "orange" | "emerald" | "rose" | "primary" | "destructive" | "muted";
88
+ interface CompactStatItem {
89
+ id: string;
90
+ label: string;
91
+ value: string | number;
92
+ icon: React__default.ElementType;
93
+ colorTheme?: StatColorTheme;
94
+ isHighlighted?: boolean;
95
+ }
96
+ interface CompactStatBarProps {
97
+ items: CompactStatItem[];
98
+ className?: string;
99
+ }
100
+ declare const CompactStatBar: React__default.NamedExoticComponent<CompactStatBarProps>;
101
+
102
+ type ShowMoreTextProps = ComponentProps<"p"> & {
103
+ text: string;
104
+ maxLength?: number;
105
+ asChild?: boolean;
106
+ };
107
+ declare function ShowMoreText({ className, text, maxLength, asChild, ...props }: ShowMoreTextProps): react_jsx_runtime.JSX.Element;
108
+
109
+ declare const THEMES: {
110
+ readonly light: "";
111
+ readonly dark: ".dark";
112
+ };
113
+ type ChartConfig = {
114
+ [k in string]: {
115
+ label?: ReactNode;
116
+ icon?: ComponentType;
117
+ } & ({
118
+ color?: string;
119
+ theme?: never;
120
+ } | {
121
+ color?: never;
122
+ theme: Record<keyof typeof THEMES, string>;
123
+ });
124
+ };
125
+ type ChartContainerProps = ComponentProps<"div"> & {
126
+ config: ChartConfig;
127
+ children: ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
128
+ };
129
+ declare function ChartContainer({ id, className, children, config, ...props }: ChartContainerProps): react_jsx_runtime.JSX.Element;
130
+ declare function ChartStyle({ id, config, }: {
131
+ id: string;
132
+ config: ChartConfig;
133
+ }): react_jsx_runtime.JSX.Element | null;
134
+ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
135
+ type ChartTooltipContentProps = ComponentProps<typeof RechartsPrimitive.Tooltip> & ComponentProps<"div"> & {
136
+ hideLabel?: boolean;
137
+ hideIndicator?: boolean;
138
+ indicator?: "line" | "dot" | "dashed";
139
+ nameKey?: string;
140
+ labelKey?: string;
141
+ };
142
+ declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: ChartTooltipContentProps): react_jsx_runtime.JSX.Element | null;
143
+ declare const ChartLegend: typeof RechartsPrimitive.Legend;
144
+ type ChartLegendContentProps = ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
145
+ hideIcon?: boolean;
146
+ nameKey?: string;
147
+ };
148
+ declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: ChartLegendContentProps): react_jsx_runtime.JSX.Element | null;
149
+
150
+ type CarouselApi = UseEmblaCarouselType[1];
151
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
152
+ type CarouselOptions = UseCarouselParameters[0];
153
+ type CarouselPlugin = UseCarouselParameters[1];
154
+ type CarouselProps = {
155
+ opts?: CarouselOptions;
156
+ plugins?: CarouselPlugin;
157
+ orientation?: "horizontal" | "vertical";
158
+ setApi?: (api: CarouselApi) => void;
159
+ };
160
+ declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
161
+ declare function CarouselContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
162
+ declare function CarouselItem({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
163
+ declare function CarouselPrevious({ className, variant, size, ...props }: ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
164
+ declare function CarouselNext({ className, variant, size, ...props }: ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
165
+
166
+ declare function Accordion({ ...props }: ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
167
+ declare function AccordionItem({ className, ...props }: ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
168
+ declare function AccordionTrigger({ className, children, ...props }: ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
169
+ declare function AccordionContent({ className, children, ...props }: ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
170
+
171
+ type KanbanItemId = UniqueIdentifier;
172
+ type KanbanColumnId = UniqueIdentifier;
173
+ interface KanbanItemData {
174
+ id: KanbanItemId;
175
+ columnId: KanbanColumnId;
176
+ content: React.ReactNode;
177
+ [key: string]: any;
178
+ }
179
+ interface KanbanColumnData {
180
+ id: KanbanColumnId;
181
+ title: string;
182
+ }
183
+ type KanbanData = {
184
+ columns: KanbanColumnData[];
185
+ items: KanbanItemData[];
186
+ };
187
+
188
+ interface KanbanBoardProps {
189
+ initialData: KanbanData;
190
+ onDragEnd?: (data: KanbanData) => void;
191
+ className?: string;
192
+ }
193
+ declare function KanbanBoard({ initialData, onDragEnd, className, }: KanbanBoardProps): react_jsx_runtime.JSX.Element;
194
+
195
+ interface KanbanColumnProps {
196
+ column: KanbanColumnData;
197
+ items: KanbanItemData[];
198
+ isOverlay?: boolean;
199
+ }
200
+ declare function KanbanColumn({ column, items, isOverlay }: KanbanColumnProps): react_jsx_runtime.JSX.Element;
201
+
202
+ interface KanbanItemProps {
203
+ item: KanbanItemData;
204
+ isOverlay?: boolean;
205
+ }
206
+ declare function KanbanItem({ item, isOverlay }: KanbanItemProps): react_jsx_runtime.JSX.Element;
207
+
208
+ declare function AspectRatio({ ...props }: ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime.JSX.Element;
209
+
210
+ declare function BentoGrid({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
211
+ declare function BentoItem({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
212
+ declare function BentoHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
213
+ declare function BentoContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
214
+ interface BentoTitleProps extends ComponentProps<"div"> {
215
+ asChild?: boolean;
216
+ }
217
+ declare function BentoTitle({ className, asChild, ...props }: BentoTitleProps): react_jsx_runtime.JSX.Element;
218
+ declare function BentoDescription({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
219
+
220
+ declare function CodeBlock({ children, lang, }: {
221
+ children: string;
222
+ lang: string;
223
+ }): react_jsx_runtime.JSX.Element;
224
+
225
+ declare function Collapsible({ ...props }: ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element;
226
+ declare function CollapsibleTrigger({ className, ...props }: ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
227
+ declare function CollapsibleContent({ className, ...props }: ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime.JSX.Element;
228
+
229
+ declare function highlight(code: string, lang: BundledLanguage): Promise<JSX.Element>;
230
+
231
+ declare function HoverCard({ ...props }: ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime.JSX.Element;
232
+ declare function HoverCardTrigger({ className, ...props }: ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
233
+ declare function HoverCardContent({ className, align, sideOffset, ...props }: ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
234
+
235
+ interface Iphone15ProProps extends SVGProps<SVGSVGElement> {
236
+ width?: number;
237
+ height?: number;
238
+ imageSrc?: string;
239
+ videoSrc?: string;
240
+ id?: string;
241
+ }
242
+ declare function Iphone15Pro({ width, height, imageSrc, videoSrc, id, ...props }: Iphone15ProProps): react_jsx_runtime.JSX.Element;
243
+
244
+ interface MediaType {
245
+ src: string;
246
+ alt: string;
247
+ type?: "IMAGE" | "VIDEO";
248
+ }
249
+ interface MediaGridProps extends ComponentProps<"ul"> {
250
+ data: Array<MediaType>;
251
+ limit?: number;
252
+ onMoreButtonClick?: (event: MouseEvent<HTMLButtonElement>) => void;
253
+ onMediaClick?: (event: MouseEvent<HTMLButtonElement>) => void;
254
+ }
255
+ declare function MediaGrid({ data, limit, onMoreButtonClick, onMediaClick, className, ...props }: MediaGridProps): react_jsx_runtime.JSX.Element | null;
256
+
257
+ type SafariMode = "default" | "simple";
258
+ interface SafariProps extends SVGProps<SVGSVGElement> {
259
+ url?: string;
260
+ imageSrc?: string;
261
+ videoSrc?: string;
262
+ width?: number;
263
+ height?: number;
264
+ mode?: SafariMode;
265
+ id?: string;
266
+ }
267
+ declare function Safari({ imageSrc, videoSrc, url, width, height, mode, id, ...props }: SafariProps): react_jsx_runtime.JSX.Element;
268
+
269
+ declare const timelineVariants: (props?: ({
270
+ align?: "right" | "left" | "center" | null | undefined;
271
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
272
+ type TimelineProps = ComponentProps<"ul"> & VariantProps<typeof timelineVariants>;
273
+ declare function Timeline({ children, className, align, ...props }: TimelineProps): react_jsx_runtime.JSX.Element;
274
+ declare const timelineItemVariants: (props?: ({
275
+ status?: "default" | "done" | null | undefined;
276
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
277
+ type TimelineItemProps = ComponentProps<"li"> & VariantProps<typeof timelineItemVariants>;
278
+ declare function TimelineItem({ className, status, ...props }: TimelineItemProps): react_jsx_runtime.JSX.Element;
279
+ type TimelineDotStatus = "current" | "done" | "error";
280
+ interface TimelineDotPropsBase extends ComponentProps<"div"> {
281
+ iconClassName?: string;
282
+ }
283
+ interface TimelineDotPropsWithStatus extends TimelineDotPropsBase {
284
+ status?: TimelineDotStatus;
285
+ customIconName?: never;
286
+ customStatusName?: never;
287
+ }
288
+ interface TimelineDotPropsWithCustom extends TimelineDotPropsBase {
289
+ status?: never;
290
+ customIconName: DynamicIconNameType;
291
+ customStatusName: string;
292
+ }
293
+ type TimelineDotProps = TimelineDotPropsWithStatus | TimelineDotPropsWithCustom;
294
+ declare function TimelineDot({ className, iconClassName, status, customIconName, customStatusName, ...props }: TimelineDotProps): react_jsx_runtime.JSX.Element;
295
+ declare const timelineContentVariants: (props?: ({
296
+ side?: "end" | "start" | null | undefined;
297
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
298
+ type TimelineContentProps = ComponentProps<"div"> & VariantProps<typeof timelineContentVariants>;
299
+ declare function TimelineContent({ className, side, ...props }: TimelineContentProps): react_jsx_runtime.JSX.Element;
300
+ declare const timelineHeadingVariants: (props?: ({
301
+ side?: "end" | "start" | null | undefined;
302
+ variant?: "secondary" | "primary" | null | undefined;
303
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
304
+ type TimelineHeadingProps = ComponentProps<"h3"> & VariantProps<typeof timelineHeadingVariants> & {
305
+ asChild?: boolean;
306
+ };
307
+ declare function TimelineHeading({ className, side, variant, asChild, ...props }: TimelineHeadingProps): react_jsx_runtime.JSX.Element;
308
+ type TimelineLineProps = ComponentProps<typeof SeparatorPrimitive.Root> & {
309
+ done?: boolean;
310
+ };
311
+ declare function TimelineLine({ className, done, ...props }: TimelineLineProps): react_jsx_runtime.JSX.Element;
312
+
313
+ interface SortingState {
314
+ field: string;
315
+ direction: "asc" | "desc";
316
+ }
317
+ interface ActiveFilter$1 {
318
+ name: string;
319
+ value: unknown;
320
+ operator: string;
321
+ }
322
+ interface PaginationState {
323
+ page: number;
324
+ pageSize: number;
325
+ }
326
+ interface DataTableContextValue {
327
+ pagination: PaginationState;
328
+ setPagination: (pagination: PaginationState) => void;
329
+ setPage: (page: number) => void;
330
+ setPageSize: (pageSize: number) => void;
331
+ sorting: SortingState | null;
332
+ setSorting: (sorting: SortingState | null) => void;
333
+ search: string;
334
+ setSearch: (search: string) => void;
335
+ filters: ActiveFilter$1[];
336
+ setFilters: (filters: ActiveFilter$1[]) => void;
337
+ addFilter: (filter: ActiveFilter$1) => void;
338
+ removeFilter: (filterName: string) => void;
339
+ updateFilter: (filterName: string, value: unknown) => void;
340
+ clearFilters: () => void;
341
+ selectedRows: Set<string>;
342
+ setSelectedRows: (rows: Set<string>) => void;
343
+ toggleRowSelection: (rowId: string) => void;
344
+ selectAllRows: (rowIds: string[]) => void;
345
+ clearSelection: () => void;
346
+ isAllSelected: boolean;
347
+ isPartiallySelected: boolean;
348
+ }
349
+ interface DataTableProviderProps {
350
+ children: ReactNode;
351
+ defaultPagination?: PaginationState;
352
+ defaultSorting?: SortingState | null;
353
+ defaultSearch?: string;
354
+ defaultFilters?: ActiveFilter$1[];
355
+ }
356
+ declare function DataTableProvider({ children, defaultPagination, defaultSorting, defaultSearch, defaultFilters, }: DataTableProviderProps): react_jsx_runtime.JSX.Element;
357
+ declare function useDataTable(): DataTableContextValue;
358
+ /**
359
+ * Optional hook that returns undefined if not in provider
360
+ * Useful for components that can work both with and without context
361
+ */
362
+ declare function useDataTableOptional(): DataTableContextValue | undefined;
363
+
364
+ interface DataTablePaginationConfig {
365
+ page: number;
366
+ pageSize: number;
367
+ total: number;
368
+ }
369
+ interface DataTableProps<TData> {
370
+ /**
371
+ * Data to display in the table
372
+ */
373
+ data: TData[];
374
+ /**
375
+ * Column definitions for the table
376
+ */
377
+ columns: ColumnDef<TData>[];
378
+ /**
379
+ * Pagination configuration (controlled)
380
+ */
381
+ pagination?: DataTablePaginationConfig;
382
+ /**
383
+ * Callback when pagination changes
384
+ */
385
+ onPaginationChange?: (pagination: PaginationState) => void;
386
+ /**
387
+ * Current sorting state (controlled)
388
+ */
389
+ sorting?: SortingState | null;
390
+ /**
391
+ * Callback when sorting changes
392
+ */
393
+ onSortingChange?: (sorting: SortingState | null) => void;
394
+ /**
395
+ * Enable row selection with checkboxes
396
+ * @default false
397
+ */
398
+ enableRowSelection?: boolean;
399
+ /**
400
+ * Currently selected row IDs
401
+ */
402
+ selectedRows?: Set<string>;
403
+ /**
404
+ * Callback when selection changes
405
+ */
406
+ onSelectionChange?: (selectedRows: Set<string>) => void;
407
+ /**
408
+ * Function to get unique ID from row data
409
+ * @default (row) => row.id
410
+ */
411
+ getRowId?: (row: TData) => string;
412
+ /**
413
+ * Show row numbers (STT column)
414
+ * @default false
415
+ */
416
+ enableRowNumber?: boolean;
417
+ /**
418
+ * Whether data is loading
419
+ * @default false
420
+ */
421
+ loading?: boolean;
422
+ /**
423
+ * Custom empty state component
424
+ */
425
+ emptyState?: ReactNode;
426
+ /**
427
+ * Empty state configuration
428
+ */
429
+ emptyStateConfig?: {
430
+ hasSearch?: boolean;
431
+ hasFilters?: boolean;
432
+ onClearSearch?: () => void;
433
+ onClearFilters?: () => void;
434
+ onCreate?: () => void;
435
+ createLabel?: string;
436
+ };
437
+ /**
438
+ * Callback when table instance is ready
439
+ */
440
+ onTableReady?: (table: Table<TData>) => void;
441
+ /**
442
+ * Custom row click handler
443
+ */
444
+ onRowClick?: (row: TData) => void;
445
+ /**
446
+ * Custom class name for the table container
447
+ */
448
+ className?: string;
449
+ /**
450
+ * Height configuration
451
+ * @default "auto"
452
+ */
453
+ height?: "auto" | "full" | string;
454
+ }
455
+ declare function DataTable<TData extends Record<string, unknown>>({ data, columns: userColumns, pagination, onPaginationChange, sorting, onSortingChange, enableRowSelection, selectedRows, onSelectionChange, getRowId, enableRowNumber, loading, emptyState, emptyStateConfig, onTableReady, onRowClick, className, height, }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
456
+
457
+ interface DataTableEmptyStateProps {
458
+ /**
459
+ * Icon to display
460
+ */
461
+ icon?: ReactNode;
462
+ /**
463
+ * Title text
464
+ */
465
+ title?: string;
466
+ /**
467
+ * Description text
468
+ */
469
+ description?: string;
470
+ /**
471
+ * Whether search is active
472
+ */
473
+ hasSearch?: boolean;
474
+ /**
475
+ * Whether filters are active
476
+ */
477
+ hasFilters?: boolean;
478
+ /**
479
+ * Clear search callback
480
+ */
481
+ onClearSearch?: () => void;
482
+ /**
483
+ * Clear filters callback
484
+ */
485
+ onClearFilters?: () => void;
486
+ /**
487
+ * Primary action button
488
+ */
489
+ primaryAction?: {
490
+ label: string;
491
+ onClick: () => void;
492
+ icon?: ReactNode;
493
+ };
494
+ /**
495
+ * Custom content to render
496
+ */
497
+ children?: ReactNode;
498
+ }
499
+ /**
500
+ * Empty state component for DataTable
501
+ * Shows different content based on whether search/filters are active
502
+ */
503
+ declare function DataTableEmptyState({ icon, title, description, hasSearch, hasFilters, onClearSearch, onClearFilters, primaryAction, children, }: DataTableEmptyStateProps): react_jsx_runtime.JSX.Element;
504
+
505
+ interface ActiveFilter {
506
+ name: string;
507
+ value: unknown;
508
+ operator: string;
509
+ }
510
+ interface FilterConfig {
511
+ name: string;
512
+ label: string;
513
+ type: "text" | "select" | "checkbox" | "radio" | "datetime" | "custom";
514
+ field: string;
515
+ options?: Array<{
516
+ label: string;
517
+ value: string | number | boolean;
518
+ }>;
519
+ renderFilter?: (props: {
520
+ value: unknown;
521
+ onChange: (value: unknown) => void;
522
+ }) => ReactNode;
523
+ }
524
+ interface DataTableToolbarProps<TData> {
525
+ /**
526
+ * Table instance for column visibility options
527
+ */
528
+ table?: Table<TData>;
529
+ /**
530
+ * Enable search input
531
+ * @default true
532
+ */
533
+ searchEnabled?: boolean;
534
+ /**
535
+ * Current search value
536
+ */
537
+ searchValue?: string;
538
+ /**
539
+ * Search change callback
540
+ */
541
+ onSearchChange?: (value: string) => void;
542
+ /**
543
+ * Search placeholder text
544
+ * @default "Search..."
545
+ */
546
+ searchPlaceholder?: string;
547
+ /**
548
+ * Filter configurations
549
+ */
550
+ filters?: FilterConfig[];
551
+ /**
552
+ * Active filters
553
+ */
554
+ activeFilters?: ActiveFilter[];
555
+ /**
556
+ * Filter change callback
557
+ */
558
+ onFiltersChange?: (filters: ActiveFilter[]) => void;
559
+ /**
560
+ * Current view mode
561
+ */
562
+ viewMode?: "table" | "card";
563
+ /**
564
+ * View mode change callback
565
+ */
566
+ onViewModeChange?: (mode: "table" | "card") => void;
567
+ /**
568
+ * Custom content for left side (before search)
569
+ */
570
+ leftSlot?: ReactNode;
571
+ /**
572
+ * Custom content for right side (after view options)
573
+ */
574
+ rightSlot?: ReactNode;
575
+ /**
576
+ * Custom filter builder component
577
+ */
578
+ filterBuilder?: ReactNode;
579
+ /**
580
+ * Enable column visibility toggle
581
+ * @default true
582
+ */
583
+ enableColumnToggle?: boolean;
584
+ /**
585
+ * Enable view mode toggle (table/card)
586
+ * @default false
587
+ */
588
+ enableViewModeToggle?: boolean;
589
+ /**
590
+ * Reset all callback
591
+ */
592
+ onReset?: () => void;
593
+ }
594
+ declare function DataTableToolbar<TData>({ table, searchEnabled, searchValue, onSearchChange, searchPlaceholder, filters, activeFilters, onFiltersChange, viewMode, onViewModeChange, leftSlot, rightSlot, filterBuilder, enableColumnToggle, enableViewModeToggle, onReset, }: DataTableToolbarProps<TData>): react_jsx_runtime.JSX.Element;
595
+
596
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActiveFilter$1 as ActiveFilter, AspectRatio, Avatar, AvatarFallback, AvatarImage, AvatarStack, BentoContent, BentoDescription, BentoGrid, BentoHeader, BentoItem, BentoTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, CompactStatBar, type CompactStatBarProps, type CompactStatItem, DataTable, DataTableColumnHeader, type DataTableContextValue, DataTableEmptyState, type DataTableEmptyStateProps, DataTablePagination, type DataTablePaginationConfig, type DataTableProps, DataTableProvider, type DataTableProviderProps, DataTableToolbar, type DataTableToolbarProps, DataTableViewOptions, type FilterConfig, FormattedNumberInput, type FormattedNumberInputProps, HoverCard, HoverCardContent, HoverCardTrigger, Iphone15Pro, type Iphone15ProProps, KanbanBoard, KanbanColumn, type KanbanColumnData, type KanbanColumnId, type KanbanData, KanbanItem, type KanbanItemData, type KanbanItemId, KpiCard, type KpiCardProps, MediaGrid, type MediaGridProps, type MediaType, type PaginationState, Safari, type SafariProps, ShowMoreText, type SortingState, type StatColorTheme, Timeline, TimelineContent, TimelineDot, TimelineHeading, TimelineItem, TimelineLine, avatarStackVariants, highlight, timelineContentVariants, timelineHeadingVariants, timelineItemVariants, timelineVariants, useDataTable, useDataTableOptional };