@parto-system-design/ui 4.0.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.
Potentially problematic release.
This version of @parto-system-design/ui might be problematic. Click here for more details.
- package/README.md +68 -0
- package/dist/assets/fonts/YekanBakh-VF.woff2 +0 -0
- package/dist/index.cjs +9799 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +5191 -0
- package/dist/index.d.cts +1389 -0
- package/dist/index.d.ts +1389 -0
- package/dist/index.js +9503 -0
- package/dist/index.js.map +1 -0
- package/package.json +110 -0
- package/tailwind.config.ts +552 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,1389 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import { LucideIcon } from 'lucide-react';
|
|
4
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
6
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
|
+
import { VariantProps } from 'class-variance-authority';
|
|
8
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
9
|
+
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
10
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
11
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
12
|
+
import { DayPicker, DateRange } from 'react-day-picker';
|
|
13
|
+
import { DayPicker as DayPicker$1 } from 'react-day-picker/persian';
|
|
14
|
+
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
15
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
16
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
17
|
+
import { Command as Command$1 } from 'cmdk';
|
|
18
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
19
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
20
|
+
import { Drawer as Drawer$1 } from 'vaul';
|
|
21
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
22
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
23
|
+
import * as react_hook_form from 'react-hook-form';
|
|
24
|
+
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
25
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
26
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
27
|
+
import { OTPInput } from 'input-otp';
|
|
28
|
+
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
29
|
+
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
30
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
31
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
32
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
33
|
+
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
34
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
35
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
36
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
37
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
38
|
+
import { ToasterProps } from 'sonner';
|
|
39
|
+
export { toast } from 'sonner';
|
|
40
|
+
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
41
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
42
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
43
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
44
|
+
import { LineSvgProps } from '@nivo/line';
|
|
45
|
+
import { BarSvgProps } from '@nivo/bar';
|
|
46
|
+
import { PieSvgProps } from '@nivo/pie';
|
|
47
|
+
import { HeatMapSvgProps } from '@nivo/heatmap';
|
|
48
|
+
|
|
49
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
50
|
+
/**
|
|
51
|
+
* Format number to Instagram-style short format
|
|
52
|
+
* @example formatNumber(123456, 'short') => '123K'
|
|
53
|
+
* @example formatNumber(123456, 'exact') => '123,456'
|
|
54
|
+
*/
|
|
55
|
+
declare function formatNumber(num: number | undefined, format?: 'exact' | 'short'): string;
|
|
56
|
+
/**
|
|
57
|
+
* Format date to relative time with absolute on hover (Persian)
|
|
58
|
+
* @example formatRelativeTime(new Date()) => '۲ ساعت پیش'
|
|
59
|
+
*/
|
|
60
|
+
declare function formatRelativeTime(date: Date | string | number): string;
|
|
61
|
+
/**
|
|
62
|
+
* Format date to absolute format (Persian)
|
|
63
|
+
* @example formatAbsoluteTime(new Date()) => '۱۵ دی ۱۴۰۳، ۱۵:۳۰'
|
|
64
|
+
*/
|
|
65
|
+
declare function formatAbsoluteTime(date: Date | string | number): string;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Persian/Farsi month names
|
|
69
|
+
*/
|
|
70
|
+
declare const PERSIAN_MONTHS: string[];
|
|
71
|
+
/**
|
|
72
|
+
* Persian/Farsi short month names
|
|
73
|
+
*/
|
|
74
|
+
declare const PERSIAN_MONTHS_SHORT: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Persian/Farsi weekday names
|
|
77
|
+
*/
|
|
78
|
+
declare const PERSIAN_WEEKDAYS: string[];
|
|
79
|
+
/**
|
|
80
|
+
* Persian/Farsi short weekday names
|
|
81
|
+
*/
|
|
82
|
+
declare const PERSIAN_WEEKDAYS_SHORT: string[];
|
|
83
|
+
/**
|
|
84
|
+
* Convert English digits to Persian/Farsi digits
|
|
85
|
+
*/
|
|
86
|
+
declare function toPersianDigits(num: number | string): string;
|
|
87
|
+
/**
|
|
88
|
+
* Convert Persian/Farsi digits to English digits
|
|
89
|
+
*/
|
|
90
|
+
declare function toEnglishDigits(str: string): string;
|
|
91
|
+
/**
|
|
92
|
+
* Format a Date object to Persian/Jalali date string
|
|
93
|
+
*/
|
|
94
|
+
declare function formatJalaliDate(date: Date, format?: string): string;
|
|
95
|
+
/**
|
|
96
|
+
* Get Persian month name from a Date object
|
|
97
|
+
*/
|
|
98
|
+
declare function getPersianMonthName(date: Date): string;
|
|
99
|
+
/**
|
|
100
|
+
* Get Persian short month name from a Date object
|
|
101
|
+
*/
|
|
102
|
+
declare function getPersianMonthNameShort(date: Date): string;
|
|
103
|
+
/**
|
|
104
|
+
* Get Persian weekday name from a Date object
|
|
105
|
+
*/
|
|
106
|
+
declare function getPersianWeekdayName(date: Date, short?: boolean): string;
|
|
107
|
+
/**
|
|
108
|
+
* Get Persian year from a Date object
|
|
109
|
+
*/
|
|
110
|
+
declare function getPersianYear(date: Date): number;
|
|
111
|
+
/**
|
|
112
|
+
* Get Persian month (0-11) from a Date object
|
|
113
|
+
*/
|
|
114
|
+
declare function getPersianMonth(date: Date): number;
|
|
115
|
+
/**
|
|
116
|
+
* Get Persian day from a Date object
|
|
117
|
+
*/
|
|
118
|
+
declare function getPersianDay(date: Date): number;
|
|
119
|
+
/**
|
|
120
|
+
* Create a Date object from Persian/Jalali date
|
|
121
|
+
*/
|
|
122
|
+
declare function jalaliToGregorian(year: number, month: number, day: number): Date;
|
|
123
|
+
/**
|
|
124
|
+
* Format date range in Persian
|
|
125
|
+
*/
|
|
126
|
+
declare function formatPersianDateRange(from: Date, to: Date): string;
|
|
127
|
+
/**
|
|
128
|
+
* Get all months for a dropdown (returns array of {value, label})
|
|
129
|
+
*/
|
|
130
|
+
declare function getPersianMonthsForDropdown(): Array<{
|
|
131
|
+
value: number;
|
|
132
|
+
label: string;
|
|
133
|
+
}>;
|
|
134
|
+
/**
|
|
135
|
+
* Get years range for a dropdown
|
|
136
|
+
*/
|
|
137
|
+
declare function getPersianYearsForDropdown(fromYear: number, toYear: number): Array<{
|
|
138
|
+
value: number;
|
|
139
|
+
label: string;
|
|
140
|
+
}>;
|
|
141
|
+
|
|
142
|
+
type Icon = LucideIcon;
|
|
143
|
+
/**
|
|
144
|
+
* Icon Collection for Parto Design System
|
|
145
|
+
*
|
|
146
|
+
* RTL Support Guidelines:
|
|
147
|
+
* ----------------------
|
|
148
|
+
* Directional icons (arrows, chevrons) should be flipped in RTL contexts when they indicate navigation direction.
|
|
149
|
+
*
|
|
150
|
+
* Usage Examples:
|
|
151
|
+
* - For navigation: <Icons.arrowRight className="rtl:rotate-180" />
|
|
152
|
+
* - For UI direction: <Icons.chevronRight className="rtl:rotate-180" />
|
|
153
|
+
*
|
|
154
|
+
* Icons that should NOT be flipped:
|
|
155
|
+
* - Non-directional icons (check, close, settings, etc.)
|
|
156
|
+
* - Icons representing real-world objects
|
|
157
|
+
*/
|
|
158
|
+
declare const Icons: Record<string, React$1.FC<React$1.SVGProps<SVGSVGElement>> | LucideIcon>;
|
|
159
|
+
|
|
160
|
+
declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
161
|
+
declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
162
|
+
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
163
|
+
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
164
|
+
|
|
165
|
+
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
166
|
+
variant?: "info" | "default" | "success" | "warning" | "destructive" | null | undefined;
|
|
167
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
168
|
+
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
169
|
+
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
170
|
+
|
|
171
|
+
declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
172
|
+
declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
173
|
+
declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
174
|
+
declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
175
|
+
declare function AlertDialogContent({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
176
|
+
declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
177
|
+
declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
178
|
+
declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
179
|
+
declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
180
|
+
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
181
|
+
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
182
|
+
|
|
183
|
+
interface AutocompleteItem {
|
|
184
|
+
value: string;
|
|
185
|
+
label: string;
|
|
186
|
+
[key: string]: any;
|
|
187
|
+
}
|
|
188
|
+
interface AutocompleteProps<T extends AutocompleteItem = AutocompleteItem> extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "onSelect" | "size"> {
|
|
189
|
+
/**
|
|
190
|
+
* مقدار ورودی
|
|
191
|
+
* Input value
|
|
192
|
+
*/
|
|
193
|
+
value?: string;
|
|
194
|
+
/**
|
|
195
|
+
* مقدار پیشفرض
|
|
196
|
+
* Default value
|
|
197
|
+
*/
|
|
198
|
+
defaultValue?: string;
|
|
199
|
+
/**
|
|
200
|
+
* تابع فراخوانی هنگام تغییر مقدار
|
|
201
|
+
* Called when value changes
|
|
202
|
+
*/
|
|
203
|
+
onValueChange?: (value: string) => void;
|
|
204
|
+
/**
|
|
205
|
+
* لیست پیشنهادها
|
|
206
|
+
* List of suggestions
|
|
207
|
+
*/
|
|
208
|
+
suggestions?: T[];
|
|
209
|
+
/**
|
|
210
|
+
* وضعیت بارگذاری
|
|
211
|
+
* Loading state
|
|
212
|
+
*/
|
|
213
|
+
isLoading?: boolean;
|
|
214
|
+
/**
|
|
215
|
+
* تابع جستجو (برای fetch کردن suggestions)
|
|
216
|
+
* Search function (for fetching suggestions)
|
|
217
|
+
*/
|
|
218
|
+
onSearch?: (query: string) => void | Promise<void>;
|
|
219
|
+
/**
|
|
220
|
+
* تابع فراخوانی هنگام انتخاب یک مورد
|
|
221
|
+
* Called when an item is selected
|
|
222
|
+
*/
|
|
223
|
+
onSelect?: (item: T) => void;
|
|
224
|
+
/**
|
|
225
|
+
* تابع سفارشی برای رندر کردن هر suggestion
|
|
226
|
+
* Custom render function for each suggestion
|
|
227
|
+
*/
|
|
228
|
+
renderItem?: (item: T, isActive: boolean) => React$1.ReactNode;
|
|
229
|
+
/**
|
|
230
|
+
* تأخیر debounce (میلیثانیه)
|
|
231
|
+
* Debounce delay in milliseconds
|
|
232
|
+
* @default 300
|
|
233
|
+
*/
|
|
234
|
+
debounceDelay?: number;
|
|
235
|
+
/**
|
|
236
|
+
* حداقل تعداد کاراکتر برای نمایش suggestions
|
|
237
|
+
* Minimum characters to show suggestions
|
|
238
|
+
* @default 1
|
|
239
|
+
*/
|
|
240
|
+
minChars?: number;
|
|
241
|
+
/**
|
|
242
|
+
* حداکثر ارتفاع منوی suggestions
|
|
243
|
+
* Maximum height of suggestions menu
|
|
244
|
+
* @default "400px"
|
|
245
|
+
*/
|
|
246
|
+
maxHeight?: string;
|
|
247
|
+
/**
|
|
248
|
+
* پیام هنگام خالی بودن نتایج
|
|
249
|
+
* Message when no results found
|
|
250
|
+
*/
|
|
251
|
+
emptyMessage?: string;
|
|
252
|
+
/**
|
|
253
|
+
* غیرفعال کردن keyboard navigation
|
|
254
|
+
* Disable keyboard navigation
|
|
255
|
+
*/
|
|
256
|
+
disableKeyboard?: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* باز کردن خودکار منو هنگام focus
|
|
259
|
+
* Auto-open menu on focus
|
|
260
|
+
*/
|
|
261
|
+
autoOpenOnFocus?: boolean;
|
|
262
|
+
/**
|
|
263
|
+
* پاک کردن خودکار input پس از انتخاب
|
|
264
|
+
* Clear input after selection
|
|
265
|
+
*/
|
|
266
|
+
clearOnSelect?: boolean;
|
|
267
|
+
/**
|
|
268
|
+
* جهت نمایش (RTL/LTR)
|
|
269
|
+
* Direction
|
|
270
|
+
*/
|
|
271
|
+
dir?: "rtl" | "ltr";
|
|
272
|
+
}
|
|
273
|
+
declare const Autocomplete: React$1.ForwardRefExoticComponent<AutocompleteProps<AutocompleteItem> & React$1.RefAttributes<HTMLInputElement>>;
|
|
274
|
+
|
|
275
|
+
interface UserItem {
|
|
276
|
+
id: string;
|
|
277
|
+
name: string;
|
|
278
|
+
username: string;
|
|
279
|
+
avatar?: string;
|
|
280
|
+
followers: number;
|
|
281
|
+
[key: string]: any;
|
|
282
|
+
}
|
|
283
|
+
interface UserAutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "onSelect" | "size"> {
|
|
284
|
+
/**
|
|
285
|
+
* مقدار ورودی
|
|
286
|
+
* Input value
|
|
287
|
+
*/
|
|
288
|
+
value?: string;
|
|
289
|
+
/**
|
|
290
|
+
* مقدار پیشفرض
|
|
291
|
+
* Default value
|
|
292
|
+
*/
|
|
293
|
+
defaultValue?: string;
|
|
294
|
+
/**
|
|
295
|
+
* تابع فراخوانی هنگام تغییر مقدار
|
|
296
|
+
* Called when value changes
|
|
297
|
+
*/
|
|
298
|
+
onValueChange?: (value: string) => void;
|
|
299
|
+
/**
|
|
300
|
+
* لیست کاربران
|
|
301
|
+
* List of users
|
|
302
|
+
*/
|
|
303
|
+
users?: UserItem[];
|
|
304
|
+
/**
|
|
305
|
+
* وضعیت بارگذاری
|
|
306
|
+
* Loading state
|
|
307
|
+
*/
|
|
308
|
+
isLoading?: boolean;
|
|
309
|
+
/**
|
|
310
|
+
* تابع جستجو (برای fetch کردن users)
|
|
311
|
+
* Search function (for fetching users)
|
|
312
|
+
*/
|
|
313
|
+
onSearch?: (query: string, page: number) => void | Promise<void>;
|
|
314
|
+
/**
|
|
315
|
+
* تابع فراخوانی هنگام انتخاب یک کاربر
|
|
316
|
+
* Called when a user is selected
|
|
317
|
+
*/
|
|
318
|
+
onSelect?: (user: UserItem) => void;
|
|
319
|
+
/**
|
|
320
|
+
* تأخیر debounce (میلیثانیه)
|
|
321
|
+
* Debounce delay in milliseconds
|
|
322
|
+
* @default 300
|
|
323
|
+
*/
|
|
324
|
+
debounceDelay?: number;
|
|
325
|
+
/**
|
|
326
|
+
* حداقل تعداد کاراکتر برای نمایش نتایج
|
|
327
|
+
* Minimum characters to show results
|
|
328
|
+
* @default 1
|
|
329
|
+
*/
|
|
330
|
+
minChars?: number;
|
|
331
|
+
/**
|
|
332
|
+
* حداکثر ارتفاع منوی نتایج
|
|
333
|
+
* Maximum height of results menu
|
|
334
|
+
* @default "400px"
|
|
335
|
+
*/
|
|
336
|
+
maxHeight?: string;
|
|
337
|
+
/**
|
|
338
|
+
* پیام هنگام خالی بودن نتایج
|
|
339
|
+
* Message when no results found
|
|
340
|
+
*/
|
|
341
|
+
emptyMessage?: string;
|
|
342
|
+
/**
|
|
343
|
+
* غیرفعال کردن keyboard navigation
|
|
344
|
+
* Disable keyboard navigation
|
|
345
|
+
*/
|
|
346
|
+
disableKeyboard?: boolean;
|
|
347
|
+
/**
|
|
348
|
+
* پاک کردن خودکار input پس از انتخاب
|
|
349
|
+
* Clear input after selection
|
|
350
|
+
*/
|
|
351
|
+
clearOnSelect?: boolean;
|
|
352
|
+
/**
|
|
353
|
+
* جهت نمایش (RTL/LTR)
|
|
354
|
+
* Direction
|
|
355
|
+
*/
|
|
356
|
+
dir?: "rtl" | "ltr";
|
|
357
|
+
/**
|
|
358
|
+
* فعالسازی infinite scroll
|
|
359
|
+
* Enable infinite scroll
|
|
360
|
+
* @default true
|
|
361
|
+
*/
|
|
362
|
+
enableInfiniteScroll?: boolean;
|
|
363
|
+
/**
|
|
364
|
+
* تابع بارگذاری صفحه بعدی
|
|
365
|
+
* Load more function
|
|
366
|
+
*/
|
|
367
|
+
onLoadMore?: () => void | Promise<void>;
|
|
368
|
+
/**
|
|
369
|
+
* وضعیت بارگذاری صفحه بعدی
|
|
370
|
+
* Loading more state
|
|
371
|
+
*/
|
|
372
|
+
isLoadingMore?: boolean;
|
|
373
|
+
/**
|
|
374
|
+
* آیا صفحات بیشتری وجود دارد
|
|
375
|
+
* Has more pages
|
|
376
|
+
*/
|
|
377
|
+
hasMore?: boolean;
|
|
378
|
+
/**
|
|
379
|
+
* صفحه فعلی
|
|
380
|
+
* Current page
|
|
381
|
+
*/
|
|
382
|
+
currentPage?: number;
|
|
383
|
+
}
|
|
384
|
+
declare const UserAutocomplete: React$1.ForwardRefExoticComponent<UserAutocompleteProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
385
|
+
|
|
386
|
+
declare function AspectRatio({ className, ...props }: React$1.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
387
|
+
|
|
388
|
+
declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
389
|
+
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
|
|
390
|
+
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
|
|
391
|
+
|
|
392
|
+
declare const badgeVariants: (props?: ({
|
|
393
|
+
variant?: "default" | "success" | "warning" | "destructive" | "secondary" | "outline" | "brand" | null | undefined;
|
|
394
|
+
size?: "small" | "tiny" | "large" | null | undefined;
|
|
395
|
+
dot?: boolean | null | undefined;
|
|
396
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
397
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
398
|
+
dot?: boolean;
|
|
399
|
+
dotPosition?: "start" | "end";
|
|
400
|
+
}
|
|
401
|
+
declare function Badge({ className, variant, size, dot, dotPosition, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
402
|
+
|
|
403
|
+
declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
404
|
+
declare function BreadcrumbList({ className, dir, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
405
|
+
declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
406
|
+
declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
|
|
407
|
+
asChild?: boolean;
|
|
408
|
+
}): react_jsx_runtime.JSX.Element;
|
|
409
|
+
declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
410
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
411
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
412
|
+
|
|
413
|
+
type ButtonVariantProps = VariantProps<typeof buttonVariants>;
|
|
414
|
+
declare const buttonVariants: (props?: ({
|
|
415
|
+
variant?: "link" | "text" | "default" | "warning" | "destructive" | "primary" | "secondary" | "outline" | "dashed" | "danger" | "ghost" | null | undefined;
|
|
416
|
+
block?: boolean | null | undefined;
|
|
417
|
+
size?: "small" | "default" | "tiny" | "medium" | "large" | "xlarge" | "sm" | "lg" | "icon" | null | undefined;
|
|
418
|
+
disabled?: boolean | null | undefined;
|
|
419
|
+
rounded?: boolean | null | undefined;
|
|
420
|
+
defaultVariants?: "size" | "variant" | null | undefined;
|
|
421
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
422
|
+
type LoadingVariantProps = VariantProps<typeof loadingVariants>;
|
|
423
|
+
declare const loadingVariants: (props?: ({
|
|
424
|
+
variant?: "link" | "text" | "default" | "warning" | "destructive" | "primary" | "secondary" | "outline" | "dashed" | "danger" | "ghost" | null | undefined;
|
|
425
|
+
loading?: boolean | "default" | null | undefined;
|
|
426
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
427
|
+
interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'type'>, Omit<ButtonVariantProps, 'disabled'>, Omit<LoadingVariantProps, 'variant'> {
|
|
428
|
+
asChild?: boolean;
|
|
429
|
+
type?: ButtonVariantProps['variant'] | React.ButtonHTMLAttributes<HTMLButtonElement>['type'];
|
|
430
|
+
htmlType?: React.ButtonHTMLAttributes<HTMLButtonElement>['type'];
|
|
431
|
+
icon?: React.ReactNode;
|
|
432
|
+
iconLeft?: React.ReactNode;
|
|
433
|
+
iconRight?: React.ReactNode;
|
|
434
|
+
loading?: boolean;
|
|
435
|
+
block?: boolean;
|
|
436
|
+
rounded?: boolean;
|
|
437
|
+
}
|
|
438
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
439
|
+
|
|
440
|
+
interface SeparatorProps extends React$1.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> {
|
|
441
|
+
children?: React$1.ReactNode;
|
|
442
|
+
}
|
|
443
|
+
declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
444
|
+
|
|
445
|
+
declare const buttonGroupVariants: (props?: ({
|
|
446
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
447
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
448
|
+
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
449
|
+
declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
450
|
+
asChild?: boolean;
|
|
451
|
+
}): react_jsx_runtime.JSX.Element;
|
|
452
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
453
|
+
|
|
454
|
+
type CalendarProps = {
|
|
455
|
+
usePersianCalendar?: boolean;
|
|
456
|
+
className?: string;
|
|
457
|
+
classNames?: any;
|
|
458
|
+
showOutsideDays?: boolean;
|
|
459
|
+
} & (React$1.ComponentProps<typeof DayPicker> | React$1.ComponentProps<typeof DayPicker$1>);
|
|
460
|
+
declare function Calendar({ className, classNames, showOutsideDays, usePersianCalendar, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
461
|
+
declare namespace Calendar {
|
|
462
|
+
var displayName: string;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
466
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
467
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
468
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
469
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
470
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
471
|
+
|
|
472
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
473
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
474
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
475
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
476
|
+
type CarouselProps = {
|
|
477
|
+
opts?: CarouselOptions;
|
|
478
|
+
plugins?: CarouselPlugin;
|
|
479
|
+
orientation?: "horizontal" | "vertical";
|
|
480
|
+
setApi?: (api: CarouselApi) => void;
|
|
481
|
+
};
|
|
482
|
+
declare function Carousel({ orientation, opts, setApi, plugins, className, children, dir, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
|
|
483
|
+
declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
484
|
+
declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
485
|
+
declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
486
|
+
declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
487
|
+
|
|
488
|
+
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
489
|
+
|
|
490
|
+
declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
491
|
+
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
|
|
492
|
+
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime.JSX.Element;
|
|
493
|
+
|
|
494
|
+
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
495
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
496
|
+
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
497
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
498
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
499
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
500
|
+
declare const DialogHeader: {
|
|
501
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
502
|
+
displayName: string;
|
|
503
|
+
};
|
|
504
|
+
declare const DialogFooter: {
|
|
505
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
506
|
+
displayName: string;
|
|
507
|
+
};
|
|
508
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
509
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
510
|
+
|
|
511
|
+
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
512
|
+
declare function CommandDialog({ title, description, children, className, ...props }: React$1.ComponentProps<typeof Dialog> & {
|
|
513
|
+
title?: string;
|
|
514
|
+
description?: string;
|
|
515
|
+
className?: string;
|
|
516
|
+
}): react_jsx_runtime.JSX.Element;
|
|
517
|
+
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
518
|
+
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
519
|
+
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
520
|
+
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
521
|
+
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
522
|
+
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
523
|
+
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
524
|
+
|
|
525
|
+
interface CommentTag {
|
|
526
|
+
title: string;
|
|
527
|
+
probability: number;
|
|
528
|
+
color: string;
|
|
529
|
+
}
|
|
530
|
+
interface CommentCardProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'id'> {
|
|
531
|
+
/**
|
|
532
|
+
* The comment text content
|
|
533
|
+
*/
|
|
534
|
+
text: string;
|
|
535
|
+
/**
|
|
536
|
+
* Array of analysis tags with probability and color
|
|
537
|
+
*/
|
|
538
|
+
tags: CommentTag[];
|
|
539
|
+
/**
|
|
540
|
+
* Sentiment of the comment
|
|
541
|
+
*/
|
|
542
|
+
sentiment: "positive" | "negative" | "neutral";
|
|
543
|
+
/**
|
|
544
|
+
* Optional id for the comment
|
|
545
|
+
*/
|
|
546
|
+
id?: number | string;
|
|
547
|
+
/**
|
|
548
|
+
* Show probability in Persian digits
|
|
549
|
+
*/
|
|
550
|
+
usePersianDigits?: boolean;
|
|
551
|
+
}
|
|
552
|
+
declare const CommentCard: React$1.ForwardRefExoticComponent<CommentCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
553
|
+
|
|
554
|
+
declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
555
|
+
declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
556
|
+
declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
557
|
+
declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
558
|
+
declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
559
|
+
declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
560
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
561
|
+
inset?: boolean;
|
|
562
|
+
}): react_jsx_runtime.JSX.Element;
|
|
563
|
+
declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
564
|
+
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
565
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
566
|
+
inset?: boolean;
|
|
567
|
+
variant?: "default" | "destructive";
|
|
568
|
+
}): react_jsx_runtime.JSX.Element;
|
|
569
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
570
|
+
declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
571
|
+
declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
572
|
+
inset?: boolean;
|
|
573
|
+
}): react_jsx_runtime.JSX.Element;
|
|
574
|
+
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
575
|
+
declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
576
|
+
|
|
577
|
+
interface DatePickerProps {
|
|
578
|
+
/**
|
|
579
|
+
* The selected date range
|
|
580
|
+
*/
|
|
581
|
+
value?: DateRange;
|
|
582
|
+
/**
|
|
583
|
+
* Callback when date range changes
|
|
584
|
+
*/
|
|
585
|
+
onChange?: (date: DateRange | undefined) => void;
|
|
586
|
+
/**
|
|
587
|
+
* Use Persian/Jalali calendar
|
|
588
|
+
*/
|
|
589
|
+
usePersianCalendar?: boolean;
|
|
590
|
+
/**
|
|
591
|
+
* Placeholder text
|
|
592
|
+
*/
|
|
593
|
+
placeholder?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Additional className for the button
|
|
596
|
+
*/
|
|
597
|
+
className?: string;
|
|
598
|
+
/**
|
|
599
|
+
* Disabled state
|
|
600
|
+
*/
|
|
601
|
+
disabled?: boolean;
|
|
602
|
+
/**
|
|
603
|
+
* Number of months to display
|
|
604
|
+
*/
|
|
605
|
+
numberOfMonths?: number;
|
|
606
|
+
/**
|
|
607
|
+
* Show preset date range buttons
|
|
608
|
+
*/
|
|
609
|
+
showPresets?: boolean;
|
|
610
|
+
/**
|
|
611
|
+
* Selection mode: 'single' for single date, 'range' for date range
|
|
612
|
+
*/
|
|
613
|
+
mode?: 'single' | 'range';
|
|
614
|
+
}
|
|
615
|
+
declare function DatePicker({ value, onChange, usePersianCalendar, placeholder, className, disabled, numberOfMonths, showPresets, mode, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
616
|
+
|
|
617
|
+
interface DateRangePickerProps {
|
|
618
|
+
/**
|
|
619
|
+
* The selected date range
|
|
620
|
+
*/
|
|
621
|
+
value?: DateRange;
|
|
622
|
+
/**
|
|
623
|
+
* Callback when the date range changes
|
|
624
|
+
*/
|
|
625
|
+
onChange?: (range: DateRange | undefined) => void;
|
|
626
|
+
/**
|
|
627
|
+
* Label for the date range picker
|
|
628
|
+
*/
|
|
629
|
+
label?: string;
|
|
630
|
+
/**
|
|
631
|
+
* Placeholder text when no date is selected
|
|
632
|
+
*/
|
|
633
|
+
placeholder?: string;
|
|
634
|
+
/**
|
|
635
|
+
* Use Persian/Jalali calendar
|
|
636
|
+
*/
|
|
637
|
+
usePersianCalendar?: boolean;
|
|
638
|
+
/**
|
|
639
|
+
* Number of months to display
|
|
640
|
+
*/
|
|
641
|
+
numberOfMonths?: number;
|
|
642
|
+
/**
|
|
643
|
+
* Minimum date that can be selected
|
|
644
|
+
*/
|
|
645
|
+
minDate?: Date;
|
|
646
|
+
/**
|
|
647
|
+
* Maximum date that can be selected
|
|
648
|
+
*/
|
|
649
|
+
maxDate?: Date;
|
|
650
|
+
/**
|
|
651
|
+
* Additional class name for the trigger button
|
|
652
|
+
*/
|
|
653
|
+
className?: string;
|
|
654
|
+
/**
|
|
655
|
+
* Disable the date range picker
|
|
656
|
+
*/
|
|
657
|
+
disabled?: boolean;
|
|
658
|
+
/**
|
|
659
|
+
* Show dropdown for year/month selection
|
|
660
|
+
*/
|
|
661
|
+
captionLayout?: "label" | "dropdown" | "dropdown-months" | "dropdown-years";
|
|
662
|
+
/**
|
|
663
|
+
* From year for dropdown (when captionLayout includes dropdown)
|
|
664
|
+
*/
|
|
665
|
+
fromYear?: number;
|
|
666
|
+
/**
|
|
667
|
+
* To year for dropdown (when captionLayout includes dropdown)
|
|
668
|
+
*/
|
|
669
|
+
toYear?: number;
|
|
670
|
+
}
|
|
671
|
+
declare function DateRangePicker({ value, onChange, label, placeholder, usePersianCalendar, numberOfMonths, minDate, maxDate, className, disabled, captionLayout, fromYear, toYear, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
672
|
+
/**
|
|
673
|
+
* Simplified version without label (inline usage)
|
|
674
|
+
*/
|
|
675
|
+
declare function DateRangePickerInline({ value, onChange, placeholder, usePersianCalendar, numberOfMonths, minDate, maxDate, className, disabled, captionLayout, fromYear, toYear, }: Omit<DateRangePickerProps, "label">): react_jsx_runtime.JSX.Element;
|
|
676
|
+
|
|
677
|
+
declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
678
|
+
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
679
|
+
declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
680
|
+
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
|
|
681
|
+
declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
682
|
+
declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
|
|
683
|
+
declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
684
|
+
declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
685
|
+
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
|
|
686
|
+
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
|
|
687
|
+
|
|
688
|
+
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
689
|
+
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
690
|
+
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
691
|
+
declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
692
|
+
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
693
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
694
|
+
inset?: boolean;
|
|
695
|
+
variant?: "default" | "destructive";
|
|
696
|
+
}): react_jsx_runtime.JSX.Element;
|
|
697
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
698
|
+
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
699
|
+
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
700
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
701
|
+
inset?: boolean;
|
|
702
|
+
}): react_jsx_runtime.JSX.Element;
|
|
703
|
+
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
704
|
+
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
705
|
+
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
706
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
707
|
+
inset?: boolean;
|
|
708
|
+
}): react_jsx_runtime.JSX.Element;
|
|
709
|
+
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
710
|
+
|
|
711
|
+
declare function Empty({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
712
|
+
declare function EmptyIcon({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
713
|
+
declare function EmptyTitle({ className, ...props }: React$1.ComponentProps<"h3">): react_jsx_runtime.JSX.Element;
|
|
714
|
+
declare function EmptyDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
715
|
+
|
|
716
|
+
declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
717
|
+
|
|
718
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
|
|
719
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
720
|
+
variant?: "legend" | "label";
|
|
721
|
+
}): react_jsx_runtime.JSX.Element;
|
|
722
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
723
|
+
declare const fieldVariants: (props?: ({
|
|
724
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
725
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
726
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
727
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
728
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
|
|
729
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
730
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
731
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
732
|
+
children?: React.ReactNode;
|
|
733
|
+
}): react_jsx_runtime.JSX.Element;
|
|
734
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
735
|
+
errors?: Array<{
|
|
736
|
+
message?: string;
|
|
737
|
+
} | undefined>;
|
|
738
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
739
|
+
|
|
740
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
741
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
742
|
+
declare const useFormField: () => {
|
|
743
|
+
invalid: boolean;
|
|
744
|
+
isDirty: boolean;
|
|
745
|
+
isTouched: boolean;
|
|
746
|
+
isValidating: boolean;
|
|
747
|
+
error?: react_hook_form.FieldError;
|
|
748
|
+
id: string;
|
|
749
|
+
name: string;
|
|
750
|
+
formItemId: string;
|
|
751
|
+
formDescriptionId: string;
|
|
752
|
+
formMessageId: string;
|
|
753
|
+
};
|
|
754
|
+
declare function FormItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
755
|
+
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
756
|
+
declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element;
|
|
757
|
+
declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
758
|
+
declare function FormMessage({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null;
|
|
759
|
+
|
|
760
|
+
declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
761
|
+
declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
762
|
+
declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
763
|
+
|
|
764
|
+
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof InputVariants> {
|
|
765
|
+
}
|
|
766
|
+
declare const InputVariants: (props?: ({
|
|
767
|
+
size?: "small" | "tiny" | "medium" | "large" | "xlarge" | null | undefined;
|
|
768
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
769
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
770
|
+
|
|
771
|
+
interface InputGroupProps extends React$1.ComponentProps<"div"> {
|
|
772
|
+
/**
|
|
773
|
+
* Direction of the input group.
|
|
774
|
+
* Use "ltr" for URL, email, tel, or other LTR-only content.
|
|
775
|
+
* @default undefined (inherits from parent)
|
|
776
|
+
*/
|
|
777
|
+
dir?: "ltr" | "rtl";
|
|
778
|
+
}
|
|
779
|
+
declare function InputGroup({ className, dir, ...props }: InputGroupProps): react_jsx_runtime.JSX.Element;
|
|
780
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
781
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
782
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
783
|
+
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
784
|
+
declare const inputGroupButtonVariants: (props?: ({
|
|
785
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
786
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
787
|
+
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
788
|
+
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
789
|
+
declare function InputGroupInput({ className, type, size, dir: dirProp, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
790
|
+
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
791
|
+
|
|
792
|
+
declare function InputOTP({ className, containerClassName, dir, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
793
|
+
containerClassName?: string;
|
|
794
|
+
}): react_jsx_runtime.JSX.Element;
|
|
795
|
+
declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
796
|
+
declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
797
|
+
index: number;
|
|
798
|
+
}): react_jsx_runtime.JSX.Element;
|
|
799
|
+
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
800
|
+
|
|
801
|
+
type MediaType = "image" | "video" | "carousel";
|
|
802
|
+
type AspectRatioType = "16:9" | "9:16" | "1:1" | "4:5" | "5:4";
|
|
803
|
+
interface MediaItem {
|
|
804
|
+
type: "image" | "video";
|
|
805
|
+
url: string;
|
|
806
|
+
aspectRatio?: AspectRatioType;
|
|
807
|
+
}
|
|
808
|
+
interface PostStats {
|
|
809
|
+
likes?: number;
|
|
810
|
+
comments?: number;
|
|
811
|
+
views?: number;
|
|
812
|
+
shares?: number;
|
|
813
|
+
}
|
|
814
|
+
type NumberFormat = "exact" | "short";
|
|
815
|
+
type TimeFormat = "absolute" | "relative";
|
|
816
|
+
interface InstagramProfileInfo {
|
|
817
|
+
username: string;
|
|
818
|
+
fullName?: string;
|
|
819
|
+
profilePicture?: string;
|
|
820
|
+
avatarUrl?: string;
|
|
821
|
+
}
|
|
822
|
+
interface InstagramPostProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof instagramPostVariants> {
|
|
823
|
+
media?: MediaItem[];
|
|
824
|
+
mediaType?: MediaType;
|
|
825
|
+
postType?: 0 | 1 | 2;
|
|
826
|
+
caption?: string;
|
|
827
|
+
showCaption?: boolean;
|
|
828
|
+
stats?: PostStats;
|
|
829
|
+
numberFormat?: NumberFormat;
|
|
830
|
+
showLikes?: boolean;
|
|
831
|
+
showComments?: boolean;
|
|
832
|
+
showViews?: boolean;
|
|
833
|
+
showShares?: boolean;
|
|
834
|
+
publishTime?: Date | string | number;
|
|
835
|
+
timeFormat?: TimeFormat;
|
|
836
|
+
profile?: InstagramProfileInfo;
|
|
837
|
+
showProfile?: boolean;
|
|
838
|
+
avatarUrl?: string;
|
|
839
|
+
showActions?: boolean;
|
|
840
|
+
onCommentAnalyzer?: () => void;
|
|
841
|
+
onBooster?: () => void;
|
|
842
|
+
onAIAnalysis?: () => void;
|
|
843
|
+
onOpenInstagram?: () => void;
|
|
844
|
+
instagramUrl?: string;
|
|
845
|
+
placeholderText?: string;
|
|
846
|
+
}
|
|
847
|
+
declare const instagramPostVariants: (props?: ({
|
|
848
|
+
variant?: "horizontal" | "vertical" | null | undefined;
|
|
849
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
850
|
+
declare const InstagramPost: React$1.ForwardRefExoticComponent<InstagramPostProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
851
|
+
|
|
852
|
+
declare function Kbd({ className, ...props }: React$1.ComponentProps<"kbd">): react_jsx_runtime.JSX.Element;
|
|
853
|
+
declare function KbdGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
854
|
+
|
|
855
|
+
declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
856
|
+
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
|
|
857
|
+
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
858
|
+
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
859
|
+
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
860
|
+
declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
861
|
+
declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
862
|
+
declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
|
|
863
|
+
inset?: boolean;
|
|
864
|
+
variant?: "default" | "destructive";
|
|
865
|
+
}): react_jsx_runtime.JSX.Element;
|
|
866
|
+
declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
867
|
+
declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
868
|
+
declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
|
|
869
|
+
inset?: boolean;
|
|
870
|
+
}): react_jsx_runtime.JSX.Element;
|
|
871
|
+
declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
872
|
+
declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
873
|
+
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
874
|
+
declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
|
|
875
|
+
inset?: boolean;
|
|
876
|
+
}): react_jsx_runtime.JSX.Element;
|
|
877
|
+
declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
878
|
+
|
|
879
|
+
interface MetricCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
880
|
+
/**
|
|
881
|
+
* Show loading state
|
|
882
|
+
*/
|
|
883
|
+
isLoading?: boolean;
|
|
884
|
+
}
|
|
885
|
+
interface MetricCardHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
886
|
+
/**
|
|
887
|
+
* Optional link URL
|
|
888
|
+
*/
|
|
889
|
+
href?: string;
|
|
890
|
+
}
|
|
891
|
+
interface MetricCardLabelProps extends React$1.HTMLAttributes<HTMLHeadingElement> {
|
|
892
|
+
/**
|
|
893
|
+
* Tooltip text to display on hover
|
|
894
|
+
*/
|
|
895
|
+
tooltip?: string;
|
|
896
|
+
/**
|
|
897
|
+
* Optional icon to display before the label text
|
|
898
|
+
*/
|
|
899
|
+
icon?: React$1.ReactNode;
|
|
900
|
+
}
|
|
901
|
+
interface MetricCardDifferentialProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
902
|
+
/**
|
|
903
|
+
* Variant determines color: positive (green) or negative (red)
|
|
904
|
+
*/
|
|
905
|
+
variant?: "positive" | "negative";
|
|
906
|
+
}
|
|
907
|
+
interface MetricCardSparklineProps {
|
|
908
|
+
/**
|
|
909
|
+
* Array of data points for the sparkline
|
|
910
|
+
*/
|
|
911
|
+
data: Array<{
|
|
912
|
+
value: number;
|
|
913
|
+
timestamp: string;
|
|
914
|
+
}>;
|
|
915
|
+
/**
|
|
916
|
+
* Key to use for the value in data objects
|
|
917
|
+
*/
|
|
918
|
+
dataKey: string;
|
|
919
|
+
/**
|
|
920
|
+
* Use Persian calendar for date formatting
|
|
921
|
+
*/
|
|
922
|
+
usePersianCalendar?: boolean;
|
|
923
|
+
/**
|
|
924
|
+
* Additional className
|
|
925
|
+
*/
|
|
926
|
+
className?: string;
|
|
927
|
+
}
|
|
928
|
+
declare const MetricCard: React$1.ForwardRefExoticComponent<MetricCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
929
|
+
declare const MetricCardHeader: React$1.ForwardRefExoticComponent<MetricCardHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
930
|
+
declare const MetricCardLabel: React$1.ForwardRefExoticComponent<MetricCardLabelProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
931
|
+
declare const MetricCardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
932
|
+
declare const MetricCardValue: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
933
|
+
declare const MetricCardDifferential: React$1.ForwardRefExoticComponent<MetricCardDifferentialProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
934
|
+
declare const MetricCardSparkline: React$1.ForwardRefExoticComponent<MetricCardSparklineProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
935
|
+
|
|
936
|
+
declare function NativeSelect({ className, ...props }: React$1.ComponentProps<"select">): react_jsx_runtime.JSX.Element;
|
|
937
|
+
declare function NativeSelectOption({ ...props }: React$1.ComponentProps<"option">): react_jsx_runtime.JSX.Element;
|
|
938
|
+
declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<"optgroup">): react_jsx_runtime.JSX.Element;
|
|
939
|
+
|
|
940
|
+
declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
|
|
941
|
+
viewport?: boolean;
|
|
942
|
+
}): react_jsx_runtime.JSX.Element;
|
|
943
|
+
declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime.JSX.Element;
|
|
944
|
+
declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
945
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
946
|
+
declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
947
|
+
declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
948
|
+
declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime.JSX.Element;
|
|
949
|
+
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
|
|
950
|
+
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
|
|
951
|
+
|
|
952
|
+
declare function Pagination({ className, dir, children, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
953
|
+
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
954
|
+
declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
955
|
+
type PaginationLinkProps = {
|
|
956
|
+
isActive?: boolean;
|
|
957
|
+
} & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
|
|
958
|
+
declare function PaginationLink({ className, isActive, size, dir, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
959
|
+
declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
960
|
+
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
961
|
+
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
962
|
+
|
|
963
|
+
interface PaginationControlledProps {
|
|
964
|
+
/**
|
|
965
|
+
* شماره صفحه فعلی (شروع از 1)
|
|
966
|
+
*/
|
|
967
|
+
currentPage: number;
|
|
968
|
+
/**
|
|
969
|
+
* تعداد کل صفحات
|
|
970
|
+
*/
|
|
971
|
+
totalPages: number;
|
|
972
|
+
/**
|
|
973
|
+
* تابع callback برای تغییر صفحه
|
|
974
|
+
*/
|
|
975
|
+
onPageChange: (page: number) => void;
|
|
976
|
+
/**
|
|
977
|
+
* تعداد صفحات نمایش داده شده در هر طرف صفحه فعلی
|
|
978
|
+
* @default 1
|
|
979
|
+
*/
|
|
980
|
+
siblingCount?: number;
|
|
981
|
+
/**
|
|
982
|
+
* نمایش دکمههای اول و آخر
|
|
983
|
+
* @default false
|
|
984
|
+
*/
|
|
985
|
+
showFirstLast?: boolean;
|
|
986
|
+
/**
|
|
987
|
+
* نمایش دکمههای قبلی و بعدی
|
|
988
|
+
* @default true
|
|
989
|
+
*/
|
|
990
|
+
showPrevNext?: boolean;
|
|
991
|
+
/**
|
|
992
|
+
* نمایش ellipsis برای صفحات مخفی
|
|
993
|
+
* @default true
|
|
994
|
+
*/
|
|
995
|
+
showEllipsis?: boolean;
|
|
996
|
+
/**
|
|
997
|
+
* کلاسهای اضافی
|
|
998
|
+
*/
|
|
999
|
+
className?: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* جهت متن (rtl/ltr)
|
|
1002
|
+
*/
|
|
1003
|
+
dir?: "rtl" | "ltr";
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* کامپوننت صفحهبندی با props استاندارد
|
|
1007
|
+
*
|
|
1008
|
+
* @example
|
|
1009
|
+
* ```tsx
|
|
1010
|
+
* <PaginationControlled
|
|
1011
|
+
* currentPage={2}
|
|
1012
|
+
* totalPages={10}
|
|
1013
|
+
* onPageChange={(page) => console.log(page)}
|
|
1014
|
+
* />
|
|
1015
|
+
* ```
|
|
1016
|
+
*/
|
|
1017
|
+
declare function PaginationControlled({ currentPage, totalPages, onPageChange, siblingCount, showFirstLast, showPrevNext, showEllipsis, className, dir, }: PaginationControlledProps): react_jsx_runtime.JSX.Element;
|
|
1018
|
+
|
|
1019
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
1020
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1021
|
+
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1022
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1023
|
+
|
|
1024
|
+
interface ProfileCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1025
|
+
/**
|
|
1026
|
+
* نام کامل کاربر
|
|
1027
|
+
*/
|
|
1028
|
+
name: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* نام کاربری (username)
|
|
1031
|
+
*/
|
|
1032
|
+
username: string;
|
|
1033
|
+
/**
|
|
1034
|
+
* آدرس تصویر پروفایل
|
|
1035
|
+
*/
|
|
1036
|
+
avatarSrc?: string;
|
|
1037
|
+
/**
|
|
1038
|
+
* متن جایگزین برای تصویر
|
|
1039
|
+
*/
|
|
1040
|
+
avatarAlt?: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* حروف اولیه برای fallback (اختیاری)
|
|
1043
|
+
*/
|
|
1044
|
+
initials?: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* تعداد فالوورها
|
|
1047
|
+
*/
|
|
1048
|
+
followers?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* آیکون فالوور
|
|
1051
|
+
*/
|
|
1052
|
+
followersIcon?: React$1.ReactNode;
|
|
1053
|
+
/**
|
|
1054
|
+
* تابع کلیک روی کارت
|
|
1055
|
+
*/
|
|
1056
|
+
onCardClick?: () => void;
|
|
1057
|
+
/**
|
|
1058
|
+
* استایل حاشیه آواتار
|
|
1059
|
+
*/
|
|
1060
|
+
avatarBorderVariant?: "gold" | "primary" | "none";
|
|
1061
|
+
/**
|
|
1062
|
+
* اندازه کامپوننت
|
|
1063
|
+
*/
|
|
1064
|
+
size?: "sm" | "md" | "lg";
|
|
1065
|
+
/**
|
|
1066
|
+
* رنگ پسزمینه
|
|
1067
|
+
*/
|
|
1068
|
+
variant?: "default" | "dark" | "transparent";
|
|
1069
|
+
}
|
|
1070
|
+
declare const ProfileCard: React$1.ForwardRefExoticComponent<ProfileCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1071
|
+
|
|
1072
|
+
interface ProfileInfoProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1073
|
+
/**
|
|
1074
|
+
* نام کامل کاربر
|
|
1075
|
+
*/
|
|
1076
|
+
name: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* نام کاربری (username)
|
|
1079
|
+
*/
|
|
1080
|
+
username: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* آدرس تصویر پروفایل
|
|
1083
|
+
*/
|
|
1084
|
+
avatarSrc?: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* متن جایگزین برای تصویر
|
|
1087
|
+
*/
|
|
1088
|
+
avatarAlt?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* حروف اولیه برای fallback (اختیاری)
|
|
1091
|
+
*/
|
|
1092
|
+
initials?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* متن نمایشی برای اطلاعات اضافی (مثل زمان)
|
|
1095
|
+
*/
|
|
1096
|
+
infoText?: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* آیکون برای نمایش در کنار infoText
|
|
1099
|
+
*/
|
|
1100
|
+
infoIcon?: React$1.ReactNode;
|
|
1101
|
+
/**
|
|
1102
|
+
* آیکون دکمه اکشن
|
|
1103
|
+
*/
|
|
1104
|
+
actionIcon?: React$1.ReactNode;
|
|
1105
|
+
/**
|
|
1106
|
+
* تابع کلیک دکمه اکشن
|
|
1107
|
+
*/
|
|
1108
|
+
onActionClick?: () => void;
|
|
1109
|
+
/**
|
|
1110
|
+
* تابع کلیک روی کارت پروفایل
|
|
1111
|
+
*/
|
|
1112
|
+
onProfileClick?: () => void;
|
|
1113
|
+
/**
|
|
1114
|
+
* استایل حاشیه آواتار
|
|
1115
|
+
*/
|
|
1116
|
+
avatarBorderVariant?: "gold" | "primary" | "none";
|
|
1117
|
+
/**
|
|
1118
|
+
* اندازه کامپوننت
|
|
1119
|
+
*/
|
|
1120
|
+
size?: "sm" | "md" | "lg";
|
|
1121
|
+
/**
|
|
1122
|
+
* رنگ پسزمینه
|
|
1123
|
+
*/
|
|
1124
|
+
variant?: "default" | "dark" | "transparent";
|
|
1125
|
+
}
|
|
1126
|
+
declare const ProfileInfo: React$1.ForwardRefExoticComponent<ProfileInfoProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1127
|
+
|
|
1128
|
+
interface EngagementRateProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1129
|
+
/**
|
|
1130
|
+
* نرخ تعامل فعلی (به صورت عدد اعشاری، مثلاً 0.05710 برای 5.710%)
|
|
1131
|
+
* Current engagement rate (as decimal, e.g., 0.05710 for 5.710%)
|
|
1132
|
+
*/
|
|
1133
|
+
currentRate: number;
|
|
1134
|
+
/**
|
|
1135
|
+
* تعداد فالوورها
|
|
1136
|
+
* Number of followers
|
|
1137
|
+
*/
|
|
1138
|
+
followers: number;
|
|
1139
|
+
/**
|
|
1140
|
+
* نمایش به صورت فارسی/عربی یا انگلیسی
|
|
1141
|
+
* Display in Persian/Arabic or English
|
|
1142
|
+
* @default "fa"
|
|
1143
|
+
*/
|
|
1144
|
+
locale?: "fa" | "ar" | "en";
|
|
1145
|
+
/**
|
|
1146
|
+
* نمایش کارت اطلاعات دستهبندی
|
|
1147
|
+
* Show category information card
|
|
1148
|
+
* @default true
|
|
1149
|
+
*/
|
|
1150
|
+
showCategoryCard?: boolean;
|
|
1151
|
+
}
|
|
1152
|
+
declare const EngagementRate: React$1.ForwardRefExoticComponent<EngagementRateProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1153
|
+
|
|
1154
|
+
interface EngagementRateBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1155
|
+
/**
|
|
1156
|
+
* نرخ تعامل فعلی (به صورت عدد اعشاری، مثلاً 0.05710 برای 5.710%)
|
|
1157
|
+
* Current engagement rate (as decimal, e.g., 0.05710 for 5.710%)
|
|
1158
|
+
*/
|
|
1159
|
+
currentRate: number;
|
|
1160
|
+
/**
|
|
1161
|
+
* تعداد فالوورها
|
|
1162
|
+
* Number of followers
|
|
1163
|
+
*/
|
|
1164
|
+
followers: number;
|
|
1165
|
+
/**
|
|
1166
|
+
* نمایش به صورت فارسی/عربی یا انگلیسی
|
|
1167
|
+
* Display in Persian/Arabic or English
|
|
1168
|
+
* @default "fa"
|
|
1169
|
+
*/
|
|
1170
|
+
locale?: "fa" | "ar" | "en";
|
|
1171
|
+
/**
|
|
1172
|
+
* نمایش متن راهنمای "عالی" و "پایین"
|
|
1173
|
+
* Show helper text "Excellent" and "Low"
|
|
1174
|
+
* @default true
|
|
1175
|
+
*/
|
|
1176
|
+
showHelperText?: boolean;
|
|
1177
|
+
}
|
|
1178
|
+
declare const EngagementRateBar: React$1.ForwardRefExoticComponent<EngagementRateBarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1179
|
+
|
|
1180
|
+
declare const progressVariants: (props?: ({
|
|
1181
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
1182
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1183
|
+
declare const progressIndicatorVariants: (props?: ({
|
|
1184
|
+
variant?: "success" | "warning" | "destructive" | "primary" | "secondary" | null | undefined;
|
|
1185
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1186
|
+
interface ProgressProps extends React$1.ComponentProps<typeof ProgressPrimitive.Root>, VariantProps<typeof progressVariants>, VariantProps<typeof progressIndicatorVariants> {
|
|
1187
|
+
label?: string;
|
|
1188
|
+
showValue?: boolean;
|
|
1189
|
+
}
|
|
1190
|
+
declare function Progress({ className, value, size, variant, label, showValue, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
1191
|
+
|
|
1192
|
+
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1193
|
+
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
1194
|
+
|
|
1195
|
+
declare const RadioCards: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1196
|
+
columns?: number | Record<string, number>;
|
|
1197
|
+
dir?: "rtl" | "ltr";
|
|
1198
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1199
|
+
declare const RadioCardItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1200
|
+
declare const RadioCardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1201
|
+
declare const RadioCardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1202
|
+
|
|
1203
|
+
declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
|
|
1204
|
+
declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
|
|
1205
|
+
declare function ResizableHandle({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
1206
|
+
withHandle?: boolean;
|
|
1207
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1208
|
+
|
|
1209
|
+
declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1210
|
+
declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
1211
|
+
|
|
1212
|
+
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
1213
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1214
|
+
declare const SelectValue: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
|
|
1215
|
+
size?: "small" | "tiny" | "medium" | "large" | "xlarge" | null | undefined;
|
|
1216
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1217
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1218
|
+
size?: "small" | "tiny" | "medium" | "large" | "xlarge" | null | undefined;
|
|
1219
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1220
|
+
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1221
|
+
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1222
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1223
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1224
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1225
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1226
|
+
|
|
1227
|
+
declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1228
|
+
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1229
|
+
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
1230
|
+
declare function SheetContent({ className, children, side, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
1231
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
1232
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1233
|
+
declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1234
|
+
declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1235
|
+
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
1236
|
+
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
1237
|
+
|
|
1238
|
+
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1239
|
+
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
1240
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1241
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1242
|
+
|
|
1243
|
+
type SidebarContextProps = {
|
|
1244
|
+
state: "expanded" | "collapsed";
|
|
1245
|
+
open: boolean;
|
|
1246
|
+
setOpen: (open: boolean) => void;
|
|
1247
|
+
openMobile: boolean;
|
|
1248
|
+
setOpenMobile: (open: boolean) => void;
|
|
1249
|
+
isMobile: boolean;
|
|
1250
|
+
toggleSidebar: () => void;
|
|
1251
|
+
};
|
|
1252
|
+
declare function useSidebar(): SidebarContextProps;
|
|
1253
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
1254
|
+
defaultOpen?: boolean;
|
|
1255
|
+
open?: boolean;
|
|
1256
|
+
onOpenChange?: (open: boolean) => void;
|
|
1257
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1258
|
+
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
1259
|
+
side?: "left" | "right";
|
|
1260
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
1261
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
1262
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1263
|
+
declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
1264
|
+
declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
1265
|
+
declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
|
|
1266
|
+
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
|
|
1267
|
+
declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1268
|
+
declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1269
|
+
declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
1270
|
+
declare function SidebarContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1271
|
+
declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1272
|
+
declare function SidebarGroupLabel({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
|
|
1273
|
+
asChild?: boolean;
|
|
1274
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1275
|
+
declare function SidebarGroupAction({ className, asChild, ...props }: React$1.ComponentProps<"button"> & {
|
|
1276
|
+
asChild?: boolean;
|
|
1277
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1278
|
+
declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1279
|
+
declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
1280
|
+
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
1281
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1282
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1283
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1284
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1285
|
+
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
|
|
1286
|
+
asChild?: boolean;
|
|
1287
|
+
isActive?: boolean;
|
|
1288
|
+
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
1289
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
1290
|
+
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React$1.ComponentProps<"button"> & {
|
|
1291
|
+
asChild?: boolean;
|
|
1292
|
+
showOnHover?: boolean;
|
|
1293
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1294
|
+
declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1295
|
+
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<"div"> & {
|
|
1296
|
+
showIcon?: boolean;
|
|
1297
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1298
|
+
declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
1299
|
+
declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
1300
|
+
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React$1.ComponentProps<"a"> & {
|
|
1301
|
+
asChild?: boolean;
|
|
1302
|
+
size?: "sm" | "md";
|
|
1303
|
+
isActive?: boolean;
|
|
1304
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1305
|
+
|
|
1306
|
+
declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1307
|
+
|
|
1308
|
+
declare function Slider({ className, defaultValue, value, min, max, dir, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1309
|
+
|
|
1310
|
+
declare const SONNER_DEFAULT_DURATION = 4000;
|
|
1311
|
+
declare const Toaster: ({ dir, position, closeButton, toastOptions, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
1312
|
+
|
|
1313
|
+
declare function Spinner({ className, ...props }: React$1.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
1314
|
+
|
|
1315
|
+
declare const switchRootVariants: (props?: ({
|
|
1316
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
1317
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1318
|
+
interface SwitchProps extends React$1.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root>, VariantProps<typeof switchRootVariants> {
|
|
1319
|
+
}
|
|
1320
|
+
declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1321
|
+
|
|
1322
|
+
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
1323
|
+
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
1324
|
+
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
1325
|
+
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
|
|
1326
|
+
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
1327
|
+
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
1328
|
+
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
1329
|
+
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
1330
|
+
|
|
1331
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1332
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1333
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1334
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1335
|
+
|
|
1336
|
+
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
1337
|
+
|
|
1338
|
+
declare const toggleVariants: (props?: ({
|
|
1339
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1340
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1341
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1342
|
+
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1343
|
+
|
|
1344
|
+
declare function ToggleGroup({ className, variant, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1345
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1346
|
+
|
|
1347
|
+
interface PartoLineChartProps extends Omit<LineSvgProps<any>, 'theme' | 'width' | 'height'> {
|
|
1348
|
+
className?: string;
|
|
1349
|
+
}
|
|
1350
|
+
declare function PartoLineChart({ className, ...props }: PartoLineChartProps): react_jsx_runtime.JSX.Element;
|
|
1351
|
+
|
|
1352
|
+
interface PartoBarChartProps extends Omit<BarSvgProps<any>, 'theme' | 'width' | 'height'> {
|
|
1353
|
+
className?: string;
|
|
1354
|
+
}
|
|
1355
|
+
declare function PartoBarChart({ className, ...props }: PartoBarChartProps): react_jsx_runtime.JSX.Element;
|
|
1356
|
+
|
|
1357
|
+
interface PartoPieChartProps extends Omit<PieSvgProps<any>, 'theme' | 'width' | 'height'> {
|
|
1358
|
+
className?: string;
|
|
1359
|
+
}
|
|
1360
|
+
declare function PartoPieChart({ className, ...props }: PartoPieChartProps): react_jsx_runtime.JSX.Element;
|
|
1361
|
+
|
|
1362
|
+
interface PartoHeatMapProps extends Omit<HeatMapSvgProps<any, any>, 'theme' | 'width' | 'height'> {
|
|
1363
|
+
className?: string;
|
|
1364
|
+
locale?: 'fa' | 'en';
|
|
1365
|
+
}
|
|
1366
|
+
declare function PartoHeatMap({ className, locale, data, axisTop, axisBottom, axisLeft, axisRight, valueFormat, tooltip, margin, ...props }: PartoHeatMapProps): react_jsx_runtime.JSX.Element;
|
|
1367
|
+
|
|
1368
|
+
interface WordData {
|
|
1369
|
+
text: string;
|
|
1370
|
+
value: number;
|
|
1371
|
+
}
|
|
1372
|
+
interface PartoWordCloudProps {
|
|
1373
|
+
words: WordData[];
|
|
1374
|
+
width?: number;
|
|
1375
|
+
height?: number;
|
|
1376
|
+
className?: string;
|
|
1377
|
+
minFontSize?: number;
|
|
1378
|
+
maxFontSize?: number;
|
|
1379
|
+
padding?: number;
|
|
1380
|
+
spiral?: 'archimedean' | 'rectangular';
|
|
1381
|
+
rotate?: number;
|
|
1382
|
+
random?: () => number;
|
|
1383
|
+
fontWeight?: number;
|
|
1384
|
+
}
|
|
1385
|
+
declare function PartoWordCloud({ words, width, height, className, minFontSize, maxFontSize, padding, spiral, rotate, random, fontWeight, }: PartoWordCloudProps): react_jsx_runtime.JSX.Element;
|
|
1386
|
+
|
|
1387
|
+
declare function useIsMobile(): boolean;
|
|
1388
|
+
|
|
1389
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, type AspectRatioType, Autocomplete, type AutocompleteItem, type AutocompleteProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, type ButtonVariantProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommentCard, type CommentCardProps, type CommentTag, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, type DatePickerProps, DateRangePicker, DateRangePickerInline, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, 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, Empty, EmptyDescription, EmptyIcon, EmptyTitle, EngagementRate, EngagementRateBar, type EngagementRateBarProps, type EngagementRateProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, type Icon, Icons, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, InputVariants, InstagramPost, type InstagramPostProps, type InstagramProfileInfo, Kbd, KbdGroup, Label, type LoadingVariantProps, type MediaItem, type MediaType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricCard, MetricCardContent, MetricCardDifferential, MetricCardHeader, MetricCardLabel, MetricCardSparkline, MetricCardValue, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NumberFormat, PERSIAN_MONTHS, PERSIAN_MONTHS_SHORT, PERSIAN_WEEKDAYS, PERSIAN_WEEKDAYS_SHORT, Pagination, PaginationContent, PaginationControlled, type PaginationControlledProps, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PartoBarChart, type PartoBarChartProps, PartoHeatMap, type PartoHeatMapProps, PartoLineChart, type PartoLineChartProps, PartoPieChart, type PartoPieChartProps, PartoWordCloud, type PartoWordCloudProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PostStats, ProfileCard, type ProfileCardProps, ProfileInfo, type ProfileInfoProps, Progress, type ProgressProps, RadioCardDescription, RadioCardItem, RadioCardTitle, RadioCards, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, SONNER_DEFAULT_DURATION, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TimeFormat, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserAutocomplete, type UserAutocompleteProps, type UserItem, type WordData, badgeVariants, buttonGroupVariants, buttonVariants, cn, formatAbsoluteTime, formatJalaliDate, formatNumber, formatPersianDateRange, formatRelativeTime, getPersianDay, getPersianMonth, getPersianMonthName, getPersianMonthNameShort, getPersianMonthsForDropdown, getPersianWeekdayName, getPersianYear, getPersianYearsForDropdown, instagramPostVariants, jalaliToGregorian, navigationMenuTriggerStyle, toEnglishDigits, toPersianDigits, toggleVariants, useFormField, useIsMobile, useSidebar };
|