ikon-react-components-lib 1.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.
- package/README.md +1225 -0
- package/dist/ikon-react-components-lib.cjs.js +248 -0
- package/dist/ikon-react-components-lib.css +1 -0
- package/dist/ikon-react-components-lib.es.js +153148 -0
- package/dist/index.d.ts +1450 -0
- package/dist/login.css +81 -0
- package/dist/login.html +127 -0
- package/dist/login.js +140 -0
- package/dist/vite.svg +1 -0
- package/package.json +118 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1450 @@
|
|
|
1
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
3
|
+
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
4
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
5
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
6
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
7
|
+
import { ClassValue } from 'clsx';
|
|
8
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
9
|
+
import { Column } from '@tanstack/react-table';
|
|
10
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
11
|
+
import { Command as Command_2 } from 'cmdk';
|
|
12
|
+
import { Control } from 'react-hook-form';
|
|
13
|
+
import { ControllerProps } from 'react-hook-form';
|
|
14
|
+
import { DayButton } from 'react-day-picker';
|
|
15
|
+
import { DayPicker } from 'react-day-picker';
|
|
16
|
+
import { default as default_2 } from 'react';
|
|
17
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
18
|
+
import { Drawer as Drawer_2 } from 'vaul';
|
|
19
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
20
|
+
import { FieldError } from 'react-hook-form';
|
|
21
|
+
import { FieldPath } from 'react-hook-form';
|
|
22
|
+
import { FieldValues } from 'react-hook-form';
|
|
23
|
+
import { FormProviderProps } from 'react-hook-form';
|
|
24
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
25
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
26
|
+
import { InputHTMLAttributes } from 'react';
|
|
27
|
+
import { JSX } from 'react/jsx-runtime';
|
|
28
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
29
|
+
import { LucideIcon } from 'lucide-react';
|
|
30
|
+
import { LucideProps } from 'lucide-react';
|
|
31
|
+
import { Matcher } from 'react-day-picker';
|
|
32
|
+
import { MemoExoticComponent } from 'react';
|
|
33
|
+
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
34
|
+
import { OTPInput } from 'input-otp';
|
|
35
|
+
import { PaginationState } from '@tanstack/react-table';
|
|
36
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
37
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
38
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
39
|
+
import * as React_2 from 'react';
|
|
40
|
+
import { ReactNode } from 'react';
|
|
41
|
+
import { RefAttributes } from 'react';
|
|
42
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
43
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
44
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
45
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
46
|
+
import * as Slot from '@radix-ui/react-slot';
|
|
47
|
+
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
48
|
+
import { Table as Table_2 } from '@tanstack/react-table';
|
|
49
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
50
|
+
import { TextareaHTMLAttributes } from 'react';
|
|
51
|
+
import { ToasterProps } from 'sonner';
|
|
52
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
53
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
54
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
55
|
+
import { VariantProps } from 'class-variance-authority';
|
|
56
|
+
|
|
57
|
+
declare interface AccessTokenOptionsProps {
|
|
58
|
+
isSetToken?: boolean;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export declare function Accordion({ ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Root>): JSX.Element;
|
|
62
|
+
|
|
63
|
+
export declare function AccordionContent({ className, children, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Content>): JSX.Element;
|
|
64
|
+
|
|
65
|
+
export declare function AccordionItem({ className, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Item>): JSX.Element;
|
|
66
|
+
|
|
67
|
+
export declare function AccordionTrigger({ className, children, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Trigger>): JSX.Element;
|
|
68
|
+
|
|
69
|
+
export declare interface Account {
|
|
70
|
+
accountId: string;
|
|
71
|
+
accountName: string;
|
|
72
|
+
accountConfiguration: any | null;
|
|
73
|
+
accountDeleted: boolean;
|
|
74
|
+
active: boolean;
|
|
75
|
+
createdBy: string;
|
|
76
|
+
createdOn: string;
|
|
77
|
+
updatedBy: string;
|
|
78
|
+
updatedOn: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export declare function ActionMenu({ actionMenus, extraActionParams, }: {
|
|
82
|
+
actionMenus: ActionMenuProps[];
|
|
83
|
+
extraActionParams?: ExtraActionParams;
|
|
84
|
+
}): JSX.Element;
|
|
85
|
+
|
|
86
|
+
export declare interface ActionMenuProps {
|
|
87
|
+
items?: ActionMenuProps[];
|
|
88
|
+
type?: "sub" | "group" | "separator" | "label" | null;
|
|
89
|
+
label: ((...args: any) => string) | string;
|
|
90
|
+
icon?: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
91
|
+
disabled?: boolean;
|
|
92
|
+
visibility?: ((...args: any) => boolean) | boolean;
|
|
93
|
+
onClick?: (...args: any) => void;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export declare type ActivityLogProps = {
|
|
97
|
+
id: string;
|
|
98
|
+
activity: string;
|
|
99
|
+
updatedBy: string;
|
|
100
|
+
updatedOn: string;
|
|
101
|
+
source: string;
|
|
102
|
+
parentId: string;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
export declare function ActivitySheet({ activityLogs }: {
|
|
106
|
+
activityLogs?: ActivityLogProps[];
|
|
107
|
+
}): JSX.Element;
|
|
108
|
+
|
|
109
|
+
export declare function Alert({ className, variant, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof alertVariants>): JSX.Element;
|
|
110
|
+
|
|
111
|
+
export declare function AlertDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
112
|
+
|
|
113
|
+
export declare function AlertDialog({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Root>): JSX.Element;
|
|
114
|
+
|
|
115
|
+
export declare function AlertDialogAction({ className, variant, size, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Action> & Pick<React_2.ComponentProps<typeof Button>, "variant" | "size">): JSX.Element;
|
|
116
|
+
|
|
117
|
+
export declare function AlertDialogCancel({ className, variant, size, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Cancel> & Pick<React_2.ComponentProps<typeof Button>, "variant" | "size">): JSX.Element;
|
|
118
|
+
|
|
119
|
+
export declare function AlertDialogContent({ className, size, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Content> & {
|
|
120
|
+
size?: "default" | "sm";
|
|
121
|
+
}): JSX.Element;
|
|
122
|
+
|
|
123
|
+
export declare function AlertDialogDescription({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Description>): JSX.Element;
|
|
124
|
+
|
|
125
|
+
export declare function AlertDialogFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
126
|
+
|
|
127
|
+
export declare function AlertDialogHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
128
|
+
|
|
129
|
+
export declare function AlertDialogMedia({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
130
|
+
|
|
131
|
+
export declare function AlertDialogOverlay({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Overlay>): JSX.Element;
|
|
132
|
+
|
|
133
|
+
export declare function AlertDialogPortal({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Portal>): JSX.Element;
|
|
134
|
+
|
|
135
|
+
export declare function AlertDialogTitle({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Title>): JSX.Element;
|
|
136
|
+
|
|
137
|
+
export declare function AlertDialogTrigger({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Trigger>): JSX.Element;
|
|
138
|
+
|
|
139
|
+
export declare function AlertTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
140
|
+
|
|
141
|
+
declare const alertVariants: (props?: ({
|
|
142
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
143
|
+
} & ClassProp) | undefined) => string;
|
|
144
|
+
|
|
145
|
+
export declare function AppBreadcrumb(): JSX.Element | null;
|
|
146
|
+
|
|
147
|
+
export declare function AppSidebar({ ...props }: React_2.ComponentProps<typeof Sidebar>): JSX.Element | null;
|
|
148
|
+
|
|
149
|
+
export declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): JSX.Element;
|
|
150
|
+
|
|
151
|
+
export declare interface AspectRatioWiseImagesProps {
|
|
152
|
+
landscape: string | null;
|
|
153
|
+
portrait: string | null;
|
|
154
|
+
icon: string | null;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export declare const AssistantComponent: ({ provider, model, agentId, agentName, temperature, maxTokens, className, baseUrl, additionalReferenceInfo, appId, currentUserDetails, }: AssistantComponentProps) => JSX.Element;
|
|
158
|
+
|
|
159
|
+
declare interface AssistantComponentProps {
|
|
160
|
+
provider?: string;
|
|
161
|
+
model?: string;
|
|
162
|
+
agentId?: string;
|
|
163
|
+
agentName?: string;
|
|
164
|
+
temperature?: number;
|
|
165
|
+
maxTokens?: number;
|
|
166
|
+
className?: string;
|
|
167
|
+
baseUrl?: string;
|
|
168
|
+
additionalReferenceInfo?: object;
|
|
169
|
+
appId: string;
|
|
170
|
+
currentUserDetails: UserData;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export declare function Avatar({ className, size, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Root> & {
|
|
174
|
+
size?: "default" | "sm" | "lg";
|
|
175
|
+
}): JSX.Element;
|
|
176
|
+
|
|
177
|
+
export declare function AvatarBadge({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
178
|
+
|
|
179
|
+
export declare function AvatarFallback({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Fallback>): JSX.Element;
|
|
180
|
+
|
|
181
|
+
export declare function AvatarGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
182
|
+
|
|
183
|
+
export declare function AvatarGroupCount({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
184
|
+
|
|
185
|
+
export declare function AvatarImage({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Image>): JSX.Element;
|
|
186
|
+
|
|
187
|
+
export declare function Badge({ className, variant, asChild, ...props }: React_2.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
188
|
+
asChild?: boolean;
|
|
189
|
+
}): JSX.Element;
|
|
190
|
+
|
|
191
|
+
export declare const badgeVariants: (props?: ({
|
|
192
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
193
|
+
} & ClassProp) | undefined) => string;
|
|
194
|
+
|
|
195
|
+
export declare function BigCalendar({ events, extraParamsEvent, extraTools }: BigCalendarProps): JSX.Element;
|
|
196
|
+
|
|
197
|
+
export declare interface BigCalendarEventProps extends Event {
|
|
198
|
+
title?: string;
|
|
199
|
+
isEditable?: boolean;
|
|
200
|
+
isViewable?: boolean;
|
|
201
|
+
start: Date;
|
|
202
|
+
end: Date;
|
|
203
|
+
onEventClick?: (event: any) => void;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export declare interface BigCalendarProps {
|
|
207
|
+
events: BigCalendarEventProps[];
|
|
208
|
+
extraParamsEvent?: ExtraParamsEvent;
|
|
209
|
+
extraTools?: ReactNode[];
|
|
210
|
+
onDateClick?: (date: Date) => void;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export declare interface BigCalenderToolbarProps {
|
|
214
|
+
onNavigate: (view: any) => void;
|
|
215
|
+
onView: (view: any) => void;
|
|
216
|
+
label: string;
|
|
217
|
+
extraTools?: ReactNode[];
|
|
218
|
+
view: "month" | "week" | "work_week" | "day" | "agenda";
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export declare function Breadcrumb({ ...props }: React_2.ComponentProps<"nav">): JSX.Element;
|
|
222
|
+
|
|
223
|
+
declare interface BreadcrumbContextType {
|
|
224
|
+
breadcrumbItems: BreadcrumbItemProps[];
|
|
225
|
+
addBreadcrumb: (item: BreadcrumbItemProps) => void;
|
|
226
|
+
backBreadcrumb: (item: BreadcrumbItemProps) => void;
|
|
227
|
+
addBreadcrumbItems: (items: BreadcrumbItemProps[], isReplace?: boolean) => void;
|
|
228
|
+
clearBreadcrumb: () => void;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export declare function BreadcrumbEllipsis({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
232
|
+
|
|
233
|
+
export declare function BreadcrumbItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
234
|
+
|
|
235
|
+
export declare interface BreadcrumbItemProps {
|
|
236
|
+
title: string;
|
|
237
|
+
href?: string;
|
|
238
|
+
level: number;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export declare function BreadcrumbLink({ asChild, className, ...props }: React_2.ComponentProps<"a"> & {
|
|
242
|
+
asChild?: boolean;
|
|
243
|
+
}): JSX.Element;
|
|
244
|
+
|
|
245
|
+
export declare function BreadcrumbList({ className, ...props }: React_2.ComponentProps<"ol">): JSX.Element;
|
|
246
|
+
|
|
247
|
+
export declare function BreadcrumbPage({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
248
|
+
|
|
249
|
+
export declare function BreadcrumbProvider({ children }: {
|
|
250
|
+
children: ReactNode;
|
|
251
|
+
}): JSX.Element;
|
|
252
|
+
|
|
253
|
+
export declare function BreadcrumbSeparator({ children, className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
254
|
+
|
|
255
|
+
export declare function Button({ className, variant, size, asChild, ...props }: React_2.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
256
|
+
asChild?: boolean;
|
|
257
|
+
}): JSX.Element;
|
|
258
|
+
|
|
259
|
+
export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
260
|
+
children: default_2.ReactNode;
|
|
261
|
+
asChild?: boolean;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export declare const buttonVariants: (props?: ({
|
|
265
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "dashed" | null | undefined;
|
|
266
|
+
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
267
|
+
} & ClassProp) | undefined) => string;
|
|
268
|
+
|
|
269
|
+
export declare interface ButtonWithTooltipProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
270
|
+
children: default_2.ReactNode;
|
|
271
|
+
asChild?: boolean;
|
|
272
|
+
tooltipContent: string | default_2.ReactNode;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React_2.ComponentProps<typeof DayPicker> & {
|
|
276
|
+
buttonVariant?: React_2.ComponentProps<typeof Button>["variant"];
|
|
277
|
+
}): JSX.Element;
|
|
278
|
+
|
|
279
|
+
export declare function CalendarDayButton({ className, day, modifiers, ...props }: React_2.ComponentProps<typeof DayButton>): JSX.Element;
|
|
280
|
+
|
|
281
|
+
export declare function Card({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
282
|
+
|
|
283
|
+
export declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
284
|
+
|
|
285
|
+
export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
286
|
+
|
|
287
|
+
export declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
288
|
+
|
|
289
|
+
export declare function CardFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
290
|
+
|
|
291
|
+
export declare function CardHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
292
|
+
|
|
293
|
+
export declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
294
|
+
|
|
295
|
+
export declare function Checkbox({ className, ...props }: React_2.ComponentProps<typeof CheckboxPrimitive.Root>): JSX.Element;
|
|
296
|
+
|
|
297
|
+
export declare function clearAllCookieSession(): Promise<void>;
|
|
298
|
+
|
|
299
|
+
export declare function clearCookieSession(sessionName: string): void;
|
|
300
|
+
|
|
301
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
302
|
+
|
|
303
|
+
export declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): JSX.Element;
|
|
304
|
+
|
|
305
|
+
export declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): JSX.Element;
|
|
306
|
+
|
|
307
|
+
export declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): JSX.Element;
|
|
308
|
+
|
|
309
|
+
export declare function ComboboxInput({ placeholder, items, disabled, onSelect, defaultValue }: ComboBoxInputProps): JSX.Element;
|
|
310
|
+
|
|
311
|
+
export declare interface ComboBoxInputProps {
|
|
312
|
+
placeholder?: string;
|
|
313
|
+
items: ComboboxItemProps[];
|
|
314
|
+
onSelect?: (value: string | string[]) => void;
|
|
315
|
+
disabled?: ((...args: any) => boolean) | boolean;
|
|
316
|
+
defaultValue?: string;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export declare interface ComboboxItemProps {
|
|
320
|
+
value: string;
|
|
321
|
+
label?: string | undefined;
|
|
322
|
+
extra?: any;
|
|
323
|
+
disabled?: ((...args: any) => boolean) | boolean;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export declare function Command({ className, ...props }: React_2.ComponentProps<typeof Command_2>): JSX.Element;
|
|
327
|
+
|
|
328
|
+
export declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React_2.ComponentProps<typeof Dialog> & {
|
|
329
|
+
title?: string;
|
|
330
|
+
description?: string;
|
|
331
|
+
className?: string;
|
|
332
|
+
showCloseButton?: boolean;
|
|
333
|
+
}): JSX.Element;
|
|
334
|
+
|
|
335
|
+
export declare function CommandEmpty({ ...props }: React_2.ComponentProps<typeof Command_2.Empty>): JSX.Element;
|
|
336
|
+
|
|
337
|
+
export declare function CommandGroup({ className, ...props }: React_2.ComponentProps<typeof Command_2.Group>): JSX.Element;
|
|
338
|
+
|
|
339
|
+
export declare function CommandInput({ className, ...props }: React_2.ComponentProps<typeof Command_2.Input>): JSX.Element;
|
|
340
|
+
|
|
341
|
+
export declare function CommandItem({ className, ...props }: React_2.ComponentProps<typeof Command_2.Item>): JSX.Element;
|
|
342
|
+
|
|
343
|
+
export declare function CommandList({ className, ...props }: React_2.ComponentProps<typeof Command_2.List>): JSX.Element;
|
|
344
|
+
|
|
345
|
+
export declare function CommandSeparator({ className, ...props }: React_2.ComponentProps<typeof Command_2.Separator>): JSX.Element;
|
|
346
|
+
|
|
347
|
+
export declare function CommandShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
348
|
+
|
|
349
|
+
export declare const convertFileToObject: (file: File) => Promise<{
|
|
350
|
+
message: string;
|
|
351
|
+
fileName: string;
|
|
352
|
+
size: number;
|
|
353
|
+
type: string;
|
|
354
|
+
lastModified: number;
|
|
355
|
+
base64: string;
|
|
356
|
+
}>;
|
|
357
|
+
|
|
358
|
+
export declare interface CookieSessionOptionsProps {
|
|
359
|
+
maxAge?: number;
|
|
360
|
+
expires?: Date;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export declare const CropperForm: MemoExoticComponent<typeof CropperFormComponent>;
|
|
364
|
+
|
|
365
|
+
declare function CropperFormComponent({ onNewFileUpload }: Props_5): JSX.Element;
|
|
366
|
+
|
|
367
|
+
export declare function CropperFormWithModal({ open, onOpenChange, onCropperChange }: Readonly<{
|
|
368
|
+
open: boolean;
|
|
369
|
+
onOpenChange: (open: boolean) => void;
|
|
370
|
+
onCropperChange: (originalImage: OriginalImageProps, aspectRatioWiseImages: AspectRatioWiseImagesProps) => void;
|
|
371
|
+
}>): JSX.Element;
|
|
372
|
+
|
|
373
|
+
export declare interface CropperImgProps {
|
|
374
|
+
src: string | undefined;
|
|
375
|
+
onCroppedImage: (imageUrl: string) => void;
|
|
376
|
+
aspectRatio: number;
|
|
377
|
+
rotationAngle: number;
|
|
378
|
+
zoomLevel: number;
|
|
379
|
+
moveDirection: {
|
|
380
|
+
x: number;
|
|
381
|
+
y: number;
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
declare interface CropperUploadImagesInfoProps {
|
|
386
|
+
originalImageInfo?: FileinfoProps | null;
|
|
387
|
+
imageName?: string;
|
|
388
|
+
imageDescription?: string;
|
|
389
|
+
landscapeImageInfo?: FileinfoProps | null;
|
|
390
|
+
portraitImageInfo?: FileinfoProps | null;
|
|
391
|
+
iconImageInfo?: FileinfoProps | null;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export declare const CustomAlertDialog: React_2.FC<CustomAlertDialogProps>;
|
|
395
|
+
|
|
396
|
+
declare interface CustomAlertDialogProps {
|
|
397
|
+
title: string;
|
|
398
|
+
description?: string;
|
|
399
|
+
fontSize?: string;
|
|
400
|
+
cancelText?: string;
|
|
401
|
+
confirmText?: string;
|
|
402
|
+
thirdOptionText?: string;
|
|
403
|
+
onCancel?: () => void;
|
|
404
|
+
onConfirm?: () => void;
|
|
405
|
+
onThird?: () => void;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export declare function CustomComboboxInput({ formControl, name, label, options, placeholder, emptyMessage, onValueChange, className, addNewPlaceholder, formDescription, disabled, }: CustomComboboxInputProps): JSX.Element;
|
|
409
|
+
|
|
410
|
+
declare type CustomComboboxInputProps = {
|
|
411
|
+
formControl: any;
|
|
412
|
+
name: string;
|
|
413
|
+
label?: string | React_2.ReactNode;
|
|
414
|
+
options: Option_2[];
|
|
415
|
+
placeholder?: string;
|
|
416
|
+
emptyMessage?: string;
|
|
417
|
+
onValueChange?: (value: string) => void;
|
|
418
|
+
className?: string;
|
|
419
|
+
addNewPlaceholder?: string;
|
|
420
|
+
formDescription?: string;
|
|
421
|
+
disabled?: boolean;
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
export declare function CustomTabs({ children, tabArray, pathName, tabListClass, tabListInnerClass, tabListButtonClass, tabContentClass, headerEndComponent, onTabChange, isSeperatePage, }: TabProps): JSX.Element;
|
|
425
|
+
|
|
426
|
+
export declare const DataTable: any;
|
|
427
|
+
|
|
428
|
+
export declare function DataTableColumnFilter<TData>({ table, }: DataTableViewOptionsProps<TData>): JSX.Element;
|
|
429
|
+
|
|
430
|
+
export declare function DataTableFacetedFilter<TData, TValue>({ column, }: DataTableFacetedFilterProps<TData, TValue>): JSX.Element;
|
|
431
|
+
|
|
432
|
+
export declare interface DataTableFacetedFilterProps<TData, TValue> {
|
|
433
|
+
column: Column<TData, TValue>;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export declare function DataTableFilterMenu<TData>({ table }: DataTableFilterProps<TData>): JSX.Element;
|
|
437
|
+
|
|
438
|
+
export declare interface DataTableFilterProps<TData> {
|
|
439
|
+
table: Table_2<TData>;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export declare function DataTablePagination<TData>({ table, extraParams, }: DataTablePaginationProps<TData>): JSX.Element;
|
|
443
|
+
|
|
444
|
+
export declare interface DataTablePaginationProps<TData> {
|
|
445
|
+
table: Table_2<TData>;
|
|
446
|
+
extraParams?: DTExtraParamsProps;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export declare interface DataTableProps<TData, TValue> {
|
|
450
|
+
data: TData[];
|
|
451
|
+
columns: DTColumnsProps<TData, TValue>[];
|
|
452
|
+
extraParams?: DTExtraParamsProps;
|
|
453
|
+
onTableReady?: (table: any) => void;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export declare function DataTableToolbar<TData>({ table, extraParams, }: DTToolBarProps<TData>): JSX.Element;
|
|
457
|
+
|
|
458
|
+
export declare interface DataTableViewOptionsProps<TData> {
|
|
459
|
+
table: Table_2<TData>;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export declare function Dialog({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
|
|
463
|
+
|
|
464
|
+
export declare function DialogClose({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Close>): JSX.Element;
|
|
465
|
+
|
|
466
|
+
export declare function DialogContent({ className, children, showCloseButton, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
467
|
+
showCloseButton?: boolean;
|
|
468
|
+
}): JSX.Element;
|
|
469
|
+
|
|
470
|
+
declare interface DialogContextProps {
|
|
471
|
+
openDialog: (options: DialogOptions) => void;
|
|
472
|
+
closeDialog: () => void;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
export declare function DialogDescription({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Description>): JSX.Element;
|
|
476
|
+
|
|
477
|
+
export declare function DialogFooter({ className, showCloseButton, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
478
|
+
showCloseButton?: boolean;
|
|
479
|
+
}): JSX.Element;
|
|
480
|
+
|
|
481
|
+
export declare function DialogHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
482
|
+
|
|
483
|
+
declare interface DialogOptions {
|
|
484
|
+
title: string;
|
|
485
|
+
description: string;
|
|
486
|
+
onConfirm?: () => void;
|
|
487
|
+
onCancel?: () => void;
|
|
488
|
+
onThird?: () => void;
|
|
489
|
+
confirmText?: string;
|
|
490
|
+
cancelText?: string;
|
|
491
|
+
thirdOptionText?: string;
|
|
492
|
+
fontSize?: string;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export declare function DialogOverlay({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Overlay>): JSX.Element;
|
|
496
|
+
|
|
497
|
+
export declare function DialogPortal({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Portal>): JSX.Element;
|
|
498
|
+
|
|
499
|
+
export declare const DialogProvider: React.FC<{
|
|
500
|
+
children: ReactNode;
|
|
501
|
+
}>;
|
|
502
|
+
|
|
503
|
+
export declare function DialogTitle({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Title>): JSX.Element;
|
|
504
|
+
|
|
505
|
+
export declare function DialogTrigger({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>): JSX.Element;
|
|
506
|
+
|
|
507
|
+
export declare interface DragDropHeaderProp {
|
|
508
|
+
id: string;
|
|
509
|
+
title: string;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export declare function Drawer({ ...props }: React_2.ComponentProps<typeof Drawer_2.Root>): JSX.Element;
|
|
513
|
+
|
|
514
|
+
export declare function DrawerClose({ ...props }: React_2.ComponentProps<typeof Drawer_2.Close>): JSX.Element;
|
|
515
|
+
|
|
516
|
+
export declare function DrawerContent({ className, children, ...props }: React_2.ComponentProps<typeof Drawer_2.Content>): JSX.Element;
|
|
517
|
+
|
|
518
|
+
export declare function DrawerDescription({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Description>): JSX.Element;
|
|
519
|
+
|
|
520
|
+
export declare function DrawerFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
521
|
+
|
|
522
|
+
export declare function DrawerHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
523
|
+
|
|
524
|
+
export declare function DrawerOverlay({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Overlay>): JSX.Element;
|
|
525
|
+
|
|
526
|
+
export declare function DrawerPortal({ ...props }: React_2.ComponentProps<typeof Drawer_2.Portal>): JSX.Element;
|
|
527
|
+
|
|
528
|
+
export declare function DrawerTitle({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Title>): JSX.Element;
|
|
529
|
+
|
|
530
|
+
export declare function DrawerTrigger({ ...props }: React_2.ComponentProps<typeof Drawer_2.Trigger>): JSX.Element;
|
|
531
|
+
|
|
532
|
+
export declare function DropdownMenu({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Root>): JSX.Element;
|
|
533
|
+
|
|
534
|
+
export declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): JSX.Element;
|
|
535
|
+
|
|
536
|
+
export declare function DropdownMenuContent({ className, sideOffset, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Content>): JSX.Element;
|
|
537
|
+
|
|
538
|
+
export declare function DropdownMenuGroup({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Group>): JSX.Element;
|
|
539
|
+
|
|
540
|
+
export declare function DropdownMenuItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
541
|
+
inset?: boolean;
|
|
542
|
+
variant?: "default" | "destructive";
|
|
543
|
+
}): JSX.Element;
|
|
544
|
+
|
|
545
|
+
export declare function DropdownMenuLabel({ className, inset, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
546
|
+
inset?: boolean;
|
|
547
|
+
}): JSX.Element;
|
|
548
|
+
|
|
549
|
+
export declare function DropdownMenuPortal({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Portal>): JSX.Element;
|
|
550
|
+
|
|
551
|
+
export declare function DropdownMenuRadioGroup({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): JSX.Element;
|
|
552
|
+
|
|
553
|
+
export declare function DropdownMenuRadioItem({ className, children, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): JSX.Element;
|
|
554
|
+
|
|
555
|
+
export declare function DropdownMenuSeparator({ className, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Separator>): JSX.Element;
|
|
556
|
+
|
|
557
|
+
export declare function DropdownMenuShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
558
|
+
|
|
559
|
+
export declare function DropdownMenuSub({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Sub>): JSX.Element;
|
|
560
|
+
|
|
561
|
+
export declare function DropdownMenuSubContent({ className, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): JSX.Element;
|
|
562
|
+
|
|
563
|
+
export declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
564
|
+
inset?: boolean;
|
|
565
|
+
}): JSX.Element;
|
|
566
|
+
|
|
567
|
+
export declare function DropdownMenuTrigger({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): JSX.Element;
|
|
568
|
+
|
|
569
|
+
export declare interface DTActionMenuProps {
|
|
570
|
+
items: ActionMenuProps[];
|
|
571
|
+
extraArguments?: any[];
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export declare type DTColumnsProps<TData, TValue = unknown> = ColumnDef<TData, TValue> & {
|
|
575
|
+
title?: string;
|
|
576
|
+
headerClassName?: string;
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
export declare interface DTExtraParamsProps {
|
|
580
|
+
defaultGroups?: string[];
|
|
581
|
+
grouping?: boolean;
|
|
582
|
+
header?: boolean;
|
|
583
|
+
footer?: boolean;
|
|
584
|
+
defaultTools?: ("columnFilter" | "search" | "filter")[] | boolean;
|
|
585
|
+
extraTools?: any;
|
|
586
|
+
sorting?: boolean;
|
|
587
|
+
paginationBar?: boolean;
|
|
588
|
+
rowsPerPage?: boolean;
|
|
589
|
+
pagination?: boolean;
|
|
590
|
+
numberOfRows?: boolean;
|
|
591
|
+
checkBoxColumn?: boolean;
|
|
592
|
+
checkBoxColumnCallback?: (selectedRows: any[]) => void;
|
|
593
|
+
actionMenu?: DTActionMenuProps;
|
|
594
|
+
groupActionMenu?: DTActionMenuProps;
|
|
595
|
+
pageSize?: number;
|
|
596
|
+
pageIndex?: number;
|
|
597
|
+
pageSizeArray?: number[];
|
|
598
|
+
rowSelection?: boolean;
|
|
599
|
+
onPaginationChange?: (state: PaginationState) => void;
|
|
600
|
+
defaultRowSelection?: (row: any) => boolean;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
export declare interface DTToolBarProps<TData> {
|
|
604
|
+
table: Table_2<TData>;
|
|
605
|
+
extraParams?: DTExtraParamsProps;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export declare const EChart: ForwardRefExoticComponent<Props & RefAttributes<HTMLElement>>;
|
|
609
|
+
|
|
610
|
+
export declare interface ExtraActionParams {
|
|
611
|
+
arguments?: any[];
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export declare interface ExtraParamsEvent {
|
|
615
|
+
defaultView?: string;
|
|
616
|
+
isEditableAll?: boolean;
|
|
617
|
+
isViewable?: boolean;
|
|
618
|
+
onEditEventClick?: (event: BigCalendarEventProps) => void;
|
|
619
|
+
onViewEventClick?: (event: BigCalendarEventProps) => void;
|
|
620
|
+
height?: string;
|
|
621
|
+
margin?: string;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
declare interface FileinfoProps {
|
|
625
|
+
resourceId: string;
|
|
626
|
+
resourceName?: string;
|
|
627
|
+
resourceSize?: number;
|
|
628
|
+
resourceType?: string;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
export declare function FileInput({ tooltipContent, fileNamePlaceholder, fileName, onFileNameChange, ...props }: any): JSX.Element;
|
|
632
|
+
|
|
633
|
+
declare interface FileObjType {
|
|
634
|
+
message: string;
|
|
635
|
+
fileName: string;
|
|
636
|
+
size: number;
|
|
637
|
+
type: string;
|
|
638
|
+
lastModified: number;
|
|
639
|
+
base64: string;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export declare function FileUploader({ label, isDrag, onFileSelect, }: FileUploaderProps): JSX.Element;
|
|
643
|
+
|
|
644
|
+
export declare interface FileUploaderProps {
|
|
645
|
+
label?: string;
|
|
646
|
+
isDrag?: boolean;
|
|
647
|
+
onFileSelect: (fileObj: FileObjType) => Promise<FileObjType> | void;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
declare interface FontContextType {
|
|
651
|
+
font: FontName;
|
|
652
|
+
setFont: (font: FontName) => void;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
declare type FontName = 'Poppins' | 'Oswald' | 'Outfit';
|
|
656
|
+
|
|
657
|
+
export declare function FontProvider({ children }: {
|
|
658
|
+
children: default_2.ReactNode;
|
|
659
|
+
}): JSX.Element;
|
|
660
|
+
|
|
661
|
+
export declare function Footer(): JSX.Element;
|
|
662
|
+
|
|
663
|
+
export declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React_2.JSX.Element;
|
|
664
|
+
|
|
665
|
+
export declare function FormComboboxInput({ formControl, name, label, placeholder, formDescription, items, disabled, onSelect, }: FormComboboxInputProps): JSX.Element;
|
|
666
|
+
|
|
667
|
+
export declare interface FormComboboxInputProps extends FormFieldProps {
|
|
668
|
+
name: string;
|
|
669
|
+
placeholder?: string;
|
|
670
|
+
items: FormComboboxItemProps[];
|
|
671
|
+
onSelect?: (value: string | string[]) => void;
|
|
672
|
+
defaultValue?: [];
|
|
673
|
+
disabled?: ((...args: any) => boolean) | boolean;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
declare interface FormComboboxInputProps_2 {
|
|
677
|
+
formControl: Control<any>;
|
|
678
|
+
name: string;
|
|
679
|
+
label?: string;
|
|
680
|
+
placeholder?: string;
|
|
681
|
+
formDescription?: string;
|
|
682
|
+
items: {
|
|
683
|
+
value: string;
|
|
684
|
+
label: string;
|
|
685
|
+
disabled?: boolean | ((item: any) => boolean);
|
|
686
|
+
}[];
|
|
687
|
+
disabled?: boolean | ((...args: any[]) => boolean);
|
|
688
|
+
onSelect?: (value: any) => void;
|
|
689
|
+
value?: string;
|
|
690
|
+
onChange?: (value: any) => void;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
declare interface FormComboboxInputProps_3 extends FormComboboxInputProps {
|
|
694
|
+
defaultOptions?: number;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
export declare function FormComboboxInputWithValue(props: FormComboboxInputProps_2): JSX.Element;
|
|
698
|
+
|
|
699
|
+
export declare interface FormComboboxItemProps {
|
|
700
|
+
value: string;
|
|
701
|
+
label?: string | undefined;
|
|
702
|
+
extra?: any;
|
|
703
|
+
disabled?: ((...args: any) => boolean) | boolean;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
export declare function FormControl({ ...props }: React_2.ComponentProps<typeof Slot.Root>): JSX.Element;
|
|
707
|
+
|
|
708
|
+
export declare function FormDateInput({ formControl, name, label, placeholder, dateFormat, calendarDateDisabled, formDescription, disabled, }: FormDateInputProps): JSX.Element;
|
|
709
|
+
|
|
710
|
+
export declare interface FormDateInputProps extends FormFieldProps {
|
|
711
|
+
name: string;
|
|
712
|
+
placeholder?: string;
|
|
713
|
+
dateFormat?: string;
|
|
714
|
+
calendarDateDisabled?: Matcher;
|
|
715
|
+
disabled?: boolean;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
export declare function FormDescription({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element;
|
|
719
|
+
|
|
720
|
+
export declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => JSX.Element;
|
|
721
|
+
|
|
722
|
+
export declare interface FormFieldProps {
|
|
723
|
+
formControl: any;
|
|
724
|
+
label?: string;
|
|
725
|
+
formItemClass?: string;
|
|
726
|
+
formDescription?: string;
|
|
727
|
+
extraFormComponent?: (value: string) => ReactNode;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
export declare function FormFileInput(): JSX.Element;
|
|
731
|
+
|
|
732
|
+
export declare function FormInput({ formControl, label, formDescription, extraFormComponent, name, ...inputProps }: FormInputProps): JSX.Element;
|
|
733
|
+
|
|
734
|
+
export declare interface FormInputProps extends FormFieldProps, InputHTMLAttributes<HTMLInputElement> {
|
|
735
|
+
name: string;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
export declare function FormItem({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
739
|
+
|
|
740
|
+
export declare function FormLabel({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
|
|
741
|
+
|
|
742
|
+
export declare function FormMessage({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element | null;
|
|
743
|
+
|
|
744
|
+
export declare function FormMultiComboboxInput({ formControl, name, label, placeholder, formDescription, items, disabled, onSelect, defaultValue, defaultOptions, }: FormComboboxInputProps_3): JSX.Element;
|
|
745
|
+
|
|
746
|
+
export declare function FormOtpInput({ formControl, label, formDescription, extraFormComponent, name, ...inputProps }: FormInputProps): JSX.Element;
|
|
747
|
+
|
|
748
|
+
export declare function FormPhoneInput(): JSX.Element;
|
|
749
|
+
|
|
750
|
+
export declare function FormTextarea({ formControl, name, label, formItemClass, formDescription, ...textAreaProps }: FormTextareaProps): JSX.Element;
|
|
751
|
+
|
|
752
|
+
export declare interface FormTextareaProps extends FormFieldProps, TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
753
|
+
name: string;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
export declare interface FrameworkEntry {
|
|
757
|
+
id: string;
|
|
758
|
+
index: string;
|
|
759
|
+
title: string;
|
|
760
|
+
description: string;
|
|
761
|
+
parentId: string | null;
|
|
762
|
+
treatAsParent: boolean;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
export declare function FrameworkItemDropdown({ processedData, value, onChange, placeholder, searchPlaceholder, className, }: FrameworkItemDropdownProps): JSX.Element;
|
|
766
|
+
|
|
767
|
+
declare interface FrameworkItemDropdownProps {
|
|
768
|
+
processedData: ProcessedFrameworkData;
|
|
769
|
+
value: string[];
|
|
770
|
+
onChange: (newSelection: string[]) => void;
|
|
771
|
+
placeholder?: string;
|
|
772
|
+
searchPlaceholder?: string;
|
|
773
|
+
className?: string;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
export declare function getCookieSession(sessionName: string): string | undefined;
|
|
777
|
+
|
|
778
|
+
export declare const getDataTableColumnTitle: (column: any) => any;
|
|
779
|
+
|
|
780
|
+
export declare function getImageFromObject(obj: FileObjType): string;
|
|
781
|
+
|
|
782
|
+
export declare function getValidAccessToken(options?: AccessTokenOptionsProps): Promise<string | null>;
|
|
783
|
+
|
|
784
|
+
export declare const GlowingEffect: ({ blur, inactiveZone, proximity, spread, variant, glow, className, movementDuration, borderWidth, disabled, }: GlowingEffectProps) => JSX.Element;
|
|
785
|
+
|
|
786
|
+
declare interface GlowingEffectProps {
|
|
787
|
+
blur?: number;
|
|
788
|
+
inactiveZone?: number;
|
|
789
|
+
proximity?: number;
|
|
790
|
+
spread?: number;
|
|
791
|
+
variant?: "default" | "white";
|
|
792
|
+
glow?: boolean;
|
|
793
|
+
className?: string;
|
|
794
|
+
disabled?: boolean;
|
|
795
|
+
movementDuration?: number;
|
|
796
|
+
borderWidth?: number;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export declare function GradeTableLoader({ rowCount, showToolbar, }: GradeTableLoaderProps): JSX.Element;
|
|
800
|
+
|
|
801
|
+
export declare interface GradeTableLoaderProps {
|
|
802
|
+
rowCount?: number;
|
|
803
|
+
showToolbar?: boolean;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
export declare function Header(): JSX.Element;
|
|
807
|
+
|
|
808
|
+
export declare function HoverCard({ ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Root>): JSX.Element;
|
|
809
|
+
|
|
810
|
+
export declare function HoverCardContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Content>): JSX.Element;
|
|
811
|
+
|
|
812
|
+
export declare function HoverCardTrigger({ ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Trigger>): JSX.Element;
|
|
813
|
+
|
|
814
|
+
export declare function Icon({ name, ...props }: IconProps): JSX.Element | null;
|
|
815
|
+
|
|
816
|
+
export declare function IconButton({ children, variant, size, asChild, ...props }: ButtonProps): JSX.Element;
|
|
817
|
+
|
|
818
|
+
export declare function IconButtonWithTooltip({ children, tooltipContent, asChild, variant, size, ...props }: ButtonWithTooltipProps): JSX.Element;
|
|
819
|
+
|
|
820
|
+
declare interface IconProps {
|
|
821
|
+
name: string;
|
|
822
|
+
size?: number | string;
|
|
823
|
+
color?: string;
|
|
824
|
+
className?: string;
|
|
825
|
+
strokeWidth?: number;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
export declare function IconTextButton({ children, variant, asChild, size, ...props }: ButtonProps): JSX.Element;
|
|
829
|
+
|
|
830
|
+
export declare function IconTextButtonWithTooltip({ children, variant, size, asChild, tooltipContent, ...props }: ButtonWithTooltipProps): JSX.Element;
|
|
831
|
+
|
|
832
|
+
export declare interface IkonConfigProps {
|
|
833
|
+
IKON_BASE_API_URL: string;
|
|
834
|
+
IKON_PLATFORM_UI_URL: string;
|
|
835
|
+
LOGIN_PAGE_URL: string;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
export declare const ImageCropper: default_2.NamedExoticComponent<CropperImgProps>;
|
|
839
|
+
|
|
840
|
+
export declare interface ImageCropperContextProps {
|
|
841
|
+
originalImage: OriginalImageProps;
|
|
842
|
+
setOriginalImage: (originalImage: OriginalImageProps) => void;
|
|
843
|
+
aspectRatioWiseImages: AspectRatioWiseImagesProps;
|
|
844
|
+
setAspectRatioWiseImages: (aspectRatioWiseImages: AspectRatioWiseImagesProps) => void;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
export declare interface ImageCropperProps {
|
|
848
|
+
children: ReactNode;
|
|
849
|
+
uploadedImages: CropperUploadImagesInfoProps | null;
|
|
850
|
+
onCropperChange: (originalImage: OriginalImageProps, aspectRatioWiseImages: AspectRatioWiseImagesProps) => void;
|
|
851
|
+
modalOpen?: boolean;
|
|
852
|
+
onModalOpenChange?: (open: boolean) => void;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export declare function ImageCropperProvider({ children, uploadedImages, onCropperChange, modalOpen, onModalOpenChange }: ImageCropperProps): JSX.Element;
|
|
856
|
+
|
|
857
|
+
export declare interface ImageFormProps {
|
|
858
|
+
open: boolean;
|
|
859
|
+
setOpen: default_2.Dispatch<default_2.SetStateAction<boolean>>;
|
|
860
|
+
onImageSubmit: (data: string | null) => void;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export declare function Input({ className, type, ...props }: React_2.ComponentProps<"input">): JSX.Element;
|
|
864
|
+
|
|
865
|
+
export declare function InputOTP({ className, containerClassName, ...props }: React_2.ComponentProps<typeof OTPInput> & {
|
|
866
|
+
containerClassName?: string;
|
|
867
|
+
}): JSX.Element;
|
|
868
|
+
|
|
869
|
+
export declare function InputOTPGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
870
|
+
|
|
871
|
+
export declare function InputOTPSeparator({ ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
872
|
+
|
|
873
|
+
export declare function InputOTPSlot({ index, className, ...props }: React_2.ComponentProps<"div"> & {
|
|
874
|
+
index: number;
|
|
875
|
+
}): JSX.Element;
|
|
876
|
+
|
|
877
|
+
export declare interface ISVGProps extends React_2.SVGProps<SVGSVGElement> {
|
|
878
|
+
size?: number;
|
|
879
|
+
className?: string;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
|
|
883
|
+
|
|
884
|
+
export declare const LoadingSpinner: ({ size, className, visible, ...props }: LoadingSpinnerProps) => JSX.Element | null;
|
|
885
|
+
|
|
886
|
+
export declare interface LoadingSpinnerProps extends ISVGProps {
|
|
887
|
+
visible?: boolean;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
export declare function MainLayout({ children }: {
|
|
891
|
+
children: ReactNode;
|
|
892
|
+
}): JSX.Element;
|
|
893
|
+
|
|
894
|
+
export declare const MainSidebar: () => JSX.Element;
|
|
895
|
+
|
|
896
|
+
export declare function MultiCombobox({ placeholder, items, onValueChange, defaultValue, defaultOptions }: MultiComboboxProps): JSX.Element;
|
|
897
|
+
|
|
898
|
+
declare interface MultiComboboxProps {
|
|
899
|
+
placeholder: string;
|
|
900
|
+
items: {
|
|
901
|
+
value: string;
|
|
902
|
+
label?: string;
|
|
903
|
+
disabled?: boolean | ((item: any) => boolean);
|
|
904
|
+
}[];
|
|
905
|
+
onValueChange: (selectedItems: string[]) => void;
|
|
906
|
+
defaultValue?: string[];
|
|
907
|
+
defaultOptions?: number;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
export declare function NavigationMenu({ className, children, viewport, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
|
|
911
|
+
viewport?: boolean;
|
|
912
|
+
}): JSX.Element;
|
|
913
|
+
|
|
914
|
+
export declare function NavigationMenuContent({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Content>): JSX.Element;
|
|
915
|
+
|
|
916
|
+
export declare function NavigationMenuIndicator({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): JSX.Element;
|
|
917
|
+
|
|
918
|
+
export declare function NavigationMenuItem({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Item>): JSX.Element;
|
|
919
|
+
|
|
920
|
+
export declare function NavigationMenuLink({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Link>): JSX.Element;
|
|
921
|
+
|
|
922
|
+
export declare function NavigationMenuList({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.List>): JSX.Element;
|
|
923
|
+
|
|
924
|
+
export declare function NavigationMenuTrigger({ className, children, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): JSX.Element;
|
|
925
|
+
|
|
926
|
+
export declare const navigationMenuTriggerStyle: (props?: ClassProp | undefined) => string;
|
|
927
|
+
|
|
928
|
+
export declare function NavigationMenuViewport({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): JSX.Element;
|
|
929
|
+
|
|
930
|
+
export declare function NavMain(): JSX.Element;
|
|
931
|
+
|
|
932
|
+
export declare const NewCropperImg: default_2.FC<NewCropperImgProps>;
|
|
933
|
+
|
|
934
|
+
export declare interface NewCropperImgProps {
|
|
935
|
+
imageSrc: string | undefined;
|
|
936
|
+
onCroppedImage: (imageUrl: string) => void;
|
|
937
|
+
aspectRatio: number;
|
|
938
|
+
rotationAngle: number;
|
|
939
|
+
zoomLevel: number;
|
|
940
|
+
moveDirection: {
|
|
941
|
+
x: number;
|
|
942
|
+
y: number;
|
|
943
|
+
};
|
|
944
|
+
currentState: string;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
export declare const NewImageForm: default_2.NamedExoticComponent<ImageFormProps>;
|
|
948
|
+
|
|
949
|
+
export declare function NoDataComponent({ text }: {
|
|
950
|
+
text?: string;
|
|
951
|
+
}): JSX.Element;
|
|
952
|
+
|
|
953
|
+
declare type Option_2 = {
|
|
954
|
+
value: string;
|
|
955
|
+
label: string;
|
|
956
|
+
disabled?: boolean;
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
export declare interface OriginalImageProps {
|
|
960
|
+
image: string | File | null;
|
|
961
|
+
name?: string;
|
|
962
|
+
description?: string;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
export declare function PageWrapper({ title, subtitle, tools, children }: Props_2): JSX.Element;
|
|
966
|
+
|
|
967
|
+
export declare interface ParentEntry extends FrameworkEntry {
|
|
968
|
+
childrenArray: string[];
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
export declare const PasswordStrengthMeter: ({ value }: {
|
|
972
|
+
value: string;
|
|
973
|
+
}) => JSX.Element;
|
|
974
|
+
|
|
975
|
+
export declare function PhoneInput({ className, ...props }: any): JSX.Element;
|
|
976
|
+
|
|
977
|
+
export declare function Popover({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Root>): JSX.Element;
|
|
978
|
+
|
|
979
|
+
export declare function PopoverAnchor({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Anchor>): JSX.Element;
|
|
980
|
+
|
|
981
|
+
export declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Content>): JSX.Element;
|
|
982
|
+
|
|
983
|
+
export declare function PopoverDescription({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element;
|
|
984
|
+
|
|
985
|
+
export declare function PopoverHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
986
|
+
|
|
987
|
+
export declare function PopoverTitle({ className, ...props }: React_2.ComponentProps<"h2">): JSX.Element;
|
|
988
|
+
|
|
989
|
+
export declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Trigger>): JSX.Element;
|
|
990
|
+
|
|
991
|
+
export declare interface ProcessedFrameworkData {
|
|
992
|
+
flatTree: TreeNode[];
|
|
993
|
+
itemMap: Record<string, {
|
|
994
|
+
parentId: string | null;
|
|
995
|
+
childrenIds: string[];
|
|
996
|
+
}>;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
export declare function Progress({ className, value, ...props }: React_2.ComponentProps<typeof ProgressPrimitive.Root>): JSX.Element;
|
|
1000
|
+
|
|
1001
|
+
declare interface Props {
|
|
1002
|
+
parentDivProps?: any;
|
|
1003
|
+
option?: Record<string | number, any>;
|
|
1004
|
+
style?: Record<string, string>;
|
|
1005
|
+
settings?: Record<string, any>;
|
|
1006
|
+
loading?: boolean;
|
|
1007
|
+
theme?: string | object | null;
|
|
1008
|
+
isConfigurable?: boolean;
|
|
1009
|
+
resizeKey?: null | boolean | number | string;
|
|
1010
|
+
onClick?: (...args: any) => void;
|
|
1011
|
+
onConfigure?: (...args: any) => void;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
declare interface Props_2 {
|
|
1015
|
+
title?: string | ReactNode;
|
|
1016
|
+
subtitle?: string | ReactNode;
|
|
1017
|
+
tools?: ReactNode;
|
|
1018
|
+
children: ReactNode;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
declare interface Props_3 {
|
|
1022
|
+
title: string;
|
|
1023
|
+
iconName?: string;
|
|
1024
|
+
iconSize?: number;
|
|
1025
|
+
iconClass?: string;
|
|
1026
|
+
primaryText: number | string | ReactNode;
|
|
1027
|
+
secondaryText?: string | ReactNode;
|
|
1028
|
+
mainClassName?: string;
|
|
1029
|
+
loading?: boolean;
|
|
1030
|
+
loadingMessage?: string;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
declare interface Props_4 {
|
|
1034
|
+
title: string;
|
|
1035
|
+
value: number;
|
|
1036
|
+
valueText?: string;
|
|
1037
|
+
isPercent?: boolean;
|
|
1038
|
+
className?: string;
|
|
1039
|
+
titleClassName?: string;
|
|
1040
|
+
valueClassName?: string;
|
|
1041
|
+
progressClassName?: string;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
declare interface Props_5 {
|
|
1045
|
+
onNewFileUpload?: (...args: any) => void;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
export declare function ProviderWrapper({ children }: {
|
|
1049
|
+
children: default_2.ReactNode;
|
|
1050
|
+
}): JSX.Element;
|
|
1051
|
+
|
|
1052
|
+
export declare function RadioGroup({ className, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Root>): JSX.Element;
|
|
1053
|
+
|
|
1054
|
+
export declare function RadioGroupItem({ className, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Item>): JSX.Element;
|
|
1055
|
+
|
|
1056
|
+
declare interface RadiusContextType {
|
|
1057
|
+
radius: RadiusValue;
|
|
1058
|
+
setRadius: (radius: RadiusValue) => void;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
export declare function RadiusProvider({ children }: {
|
|
1062
|
+
children: default_2.ReactNode;
|
|
1063
|
+
}): JSX.Element;
|
|
1064
|
+
|
|
1065
|
+
declare type RadiusValue = 0 | 0.25 | 0.5 | 0.75 | 1;
|
|
1066
|
+
|
|
1067
|
+
export declare function refreshAccessToken(refreshToken: string, isSetToken?: boolean): Promise<string | null>;
|
|
1068
|
+
|
|
1069
|
+
declare interface RefreshContextType {
|
|
1070
|
+
refresh: () => void;
|
|
1071
|
+
refreshCounter: number;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
export declare function RenderAppBreadcrumb({ breadcrumb, }: {
|
|
1075
|
+
breadcrumb: BreadcrumbItemProps;
|
|
1076
|
+
}): JSX.Element;
|
|
1077
|
+
|
|
1078
|
+
export declare function ScrollArea({ className, children, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.Root>): JSX.Element;
|
|
1079
|
+
|
|
1080
|
+
export declare function ScrollBar({ className, orientation, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): JSX.Element;
|
|
1081
|
+
|
|
1082
|
+
export declare function SearchInput({ className, ...props }: any): JSX.Element;
|
|
1083
|
+
|
|
1084
|
+
export declare function Select({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Root>): JSX.Element;
|
|
1085
|
+
|
|
1086
|
+
export declare function SelectContent({ className, children, position, align, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Content>): JSX.Element;
|
|
1087
|
+
|
|
1088
|
+
export declare function SelectGroup({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Group>): JSX.Element;
|
|
1089
|
+
|
|
1090
|
+
export declare function SelectItem({ className, children, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Item>): JSX.Element;
|
|
1091
|
+
|
|
1092
|
+
export declare function SelectLabel({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Label>): JSX.Element;
|
|
1093
|
+
|
|
1094
|
+
export declare function SelectScrollDownButton({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): JSX.Element;
|
|
1095
|
+
|
|
1096
|
+
export declare function SelectScrollUpButton({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): JSX.Element;
|
|
1097
|
+
|
|
1098
|
+
export declare function SelectSeparator({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Separator>): JSX.Element;
|
|
1099
|
+
|
|
1100
|
+
export declare function SelectTrigger({ className, size, children, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
1101
|
+
size?: "sm" | "default";
|
|
1102
|
+
}): JSX.Element;
|
|
1103
|
+
|
|
1104
|
+
export declare function SelectValue({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Value>): JSX.Element;
|
|
1105
|
+
|
|
1106
|
+
export declare function Separator({ className, orientation, decorative, ...props }: React_2.ComponentProps<typeof SeparatorPrimitive.Root>): JSX.Element;
|
|
1107
|
+
|
|
1108
|
+
export declare function setCookieSession(sessionName: string, data: string, options?: CookieSessionOptionsProps): void;
|
|
1109
|
+
|
|
1110
|
+
export declare const setIkonConfig: (userConfig: IkonConfigProps) => void;
|
|
1111
|
+
|
|
1112
|
+
export declare function Sheet({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
|
|
1113
|
+
|
|
1114
|
+
export declare function SheetClose({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Close>): JSX.Element;
|
|
1115
|
+
|
|
1116
|
+
export declare function SheetComponent({ buttonText, buttonIcon, buttonStyle, sheetContent, sheetDescription, sheetTitle, closeButton }: {
|
|
1117
|
+
buttonText?: React_2.ReactNode;
|
|
1118
|
+
buttonIcon?: React_2.ReactNode;
|
|
1119
|
+
buttonStyle?: string;
|
|
1120
|
+
sheetTitle?: React_2.ReactNode;
|
|
1121
|
+
sheetDescription?: React_2.ReactNode;
|
|
1122
|
+
sheetContent?: React_2.ReactNode;
|
|
1123
|
+
closeButton?: boolean;
|
|
1124
|
+
}): JSX.Element;
|
|
1125
|
+
|
|
1126
|
+
export declare function SheetContent({ className, children, side, showCloseButton, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
1127
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
1128
|
+
showCloseButton?: boolean;
|
|
1129
|
+
}): JSX.Element;
|
|
1130
|
+
|
|
1131
|
+
export declare function SheetDescription({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Description>): JSX.Element;
|
|
1132
|
+
|
|
1133
|
+
export declare function SheetFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1134
|
+
|
|
1135
|
+
export declare function SheetHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1136
|
+
|
|
1137
|
+
export declare function SheetTitle({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Title>): JSX.Element;
|
|
1138
|
+
|
|
1139
|
+
export declare function SheetTrigger({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>): JSX.Element;
|
|
1140
|
+
|
|
1141
|
+
export declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
1142
|
+
side?: "left" | "right";
|
|
1143
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
1144
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
1145
|
+
}): JSX.Element;
|
|
1146
|
+
|
|
1147
|
+
export declare function SidebarContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1148
|
+
|
|
1149
|
+
declare type SidebarContextProps = {
|
|
1150
|
+
state: "expanded" | "collapsed";
|
|
1151
|
+
open: boolean;
|
|
1152
|
+
setOpen: (open: boolean) => void;
|
|
1153
|
+
openMobile: boolean;
|
|
1154
|
+
setOpenMobile: (open: boolean) => void;
|
|
1155
|
+
isMobile: boolean;
|
|
1156
|
+
toggleSidebar: () => void;
|
|
1157
|
+
};
|
|
1158
|
+
|
|
1159
|
+
export declare function SidebarFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1160
|
+
|
|
1161
|
+
export declare function SidebarGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1162
|
+
|
|
1163
|
+
export declare function SidebarGroupAction({ className, asChild, ...props }: React_2.ComponentProps<"button"> & {
|
|
1164
|
+
asChild?: boolean;
|
|
1165
|
+
}): JSX.Element;
|
|
1166
|
+
|
|
1167
|
+
export declare function SidebarGroupContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1168
|
+
|
|
1169
|
+
export declare function SidebarGroupLabel({ className, asChild, ...props }: React_2.ComponentProps<"div"> & {
|
|
1170
|
+
asChild?: boolean;
|
|
1171
|
+
}): JSX.Element;
|
|
1172
|
+
|
|
1173
|
+
export declare function SidebarHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1174
|
+
|
|
1175
|
+
export declare function SidebarInput({ className, ...props }: React_2.ComponentProps<typeof Input>): JSX.Element;
|
|
1176
|
+
|
|
1177
|
+
export declare function SidebarInset({ className, ...props }: React_2.ComponentProps<"main">): JSX.Element;
|
|
1178
|
+
|
|
1179
|
+
export declare function SidebarMenu({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
1180
|
+
|
|
1181
|
+
export declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React_2.ComponentProps<"button"> & {
|
|
1182
|
+
asChild?: boolean;
|
|
1183
|
+
showOnHover?: boolean;
|
|
1184
|
+
}): JSX.Element;
|
|
1185
|
+
|
|
1186
|
+
export declare function SidebarMenuBadge({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1187
|
+
|
|
1188
|
+
export declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React_2.ComponentProps<"button"> & {
|
|
1189
|
+
asChild?: boolean;
|
|
1190
|
+
isActive?: boolean;
|
|
1191
|
+
tooltip?: string | React_2.ComponentProps<typeof TooltipContent>;
|
|
1192
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): JSX.Element;
|
|
1193
|
+
|
|
1194
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1195
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1196
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1197
|
+
} & ClassProp) | undefined) => string;
|
|
1198
|
+
|
|
1199
|
+
export declare function SidebarMenuItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
1200
|
+
|
|
1201
|
+
export declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React_2.ComponentProps<"div"> & {
|
|
1202
|
+
showIcon?: boolean;
|
|
1203
|
+
}): JSX.Element;
|
|
1204
|
+
|
|
1205
|
+
export declare function SidebarMenuSub({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
1206
|
+
|
|
1207
|
+
export declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React_2.ComponentProps<"a"> & {
|
|
1208
|
+
asChild?: boolean;
|
|
1209
|
+
size?: "sm" | "md";
|
|
1210
|
+
isActive?: boolean;
|
|
1211
|
+
}): JSX.Element;
|
|
1212
|
+
|
|
1213
|
+
export declare function SidebarMenuSubItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
1214
|
+
|
|
1215
|
+
export declare interface SidebarNavContextType {
|
|
1216
|
+
navItems: SidebarNavItem[];
|
|
1217
|
+
header: ReactNode | null;
|
|
1218
|
+
footer: ReactNode | null;
|
|
1219
|
+
setNavItems: (items: SidebarNavItem[]) => void;
|
|
1220
|
+
addNavItem: (item: SidebarNavItem) => void;
|
|
1221
|
+
removeNavItem: (title: string) => void;
|
|
1222
|
+
updateNavItem: (title: string, updates: Partial<SidebarNavItem>) => void;
|
|
1223
|
+
clearNavItems: () => void;
|
|
1224
|
+
setSidebarHeader: (header: ReactNode) => void;
|
|
1225
|
+
setSidebarFooter: (footer: ReactNode) => void;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
export declare interface SidebarNavItem {
|
|
1229
|
+
title: string;
|
|
1230
|
+
url: string;
|
|
1231
|
+
icon?: LucideIcon;
|
|
1232
|
+
isActive?: boolean;
|
|
1233
|
+
default?: boolean;
|
|
1234
|
+
items?: SidebarNavSubItem[];
|
|
1235
|
+
header?: ReactNode;
|
|
1236
|
+
footer?: ReactNode;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
export declare function SidebarNavProvider({ children }: {
|
|
1240
|
+
children: ReactNode;
|
|
1241
|
+
}): JSX.Element;
|
|
1242
|
+
|
|
1243
|
+
export declare interface SidebarNavSubItem {
|
|
1244
|
+
title: string;
|
|
1245
|
+
url: string;
|
|
1246
|
+
isActive?: boolean;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
1250
|
+
defaultOpen?: boolean;
|
|
1251
|
+
open?: boolean;
|
|
1252
|
+
onOpenChange?: (open: boolean) => void;
|
|
1253
|
+
}): JSX.Element;
|
|
1254
|
+
|
|
1255
|
+
export declare function SidebarRail({ className, ...props }: React_2.ComponentProps<"button">): JSX.Element;
|
|
1256
|
+
|
|
1257
|
+
export declare function SidebarSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): JSX.Element;
|
|
1258
|
+
|
|
1259
|
+
export declare function SidebarTrigger({ className, onClick, ...props }: React_2.ComponentProps<typeof Button>): JSX.Element;
|
|
1260
|
+
|
|
1261
|
+
export declare function SimpleWidget({ title, iconName, iconSize, iconClass, primaryText, secondaryText, mainClassName, loading, loadingMessage }: Props_3): JSX.Element;
|
|
1262
|
+
|
|
1263
|
+
export declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
1264
|
+
|
|
1265
|
+
export declare function SkeletonWidget({ count }: {
|
|
1266
|
+
count: number;
|
|
1267
|
+
}): JSX.Element;
|
|
1268
|
+
|
|
1269
|
+
export declare function Slider({ className, defaultValue, value, min, max, ...props }: React_2.ComponentProps<typeof SliderPrimitive.Root>): JSX.Element;
|
|
1270
|
+
|
|
1271
|
+
export declare interface Software {
|
|
1272
|
+
softwareId: string;
|
|
1273
|
+
softwareName: string;
|
|
1274
|
+
url: string;
|
|
1275
|
+
icon: string;
|
|
1276
|
+
visible: boolean;
|
|
1277
|
+
defaultSoftware: boolean;
|
|
1278
|
+
order: number;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
export declare function Switch({ className, size, ...props }: React_2.ComponentProps<typeof SwitchPrimitive.Root> & {
|
|
1282
|
+
size?: "sm" | "default";
|
|
1283
|
+
}): JSX.Element;
|
|
1284
|
+
|
|
1285
|
+
export declare interface TabArray {
|
|
1286
|
+
tabName: string;
|
|
1287
|
+
tabId: string;
|
|
1288
|
+
default: boolean;
|
|
1289
|
+
tabContent?: React.ReactNode;
|
|
1290
|
+
url?: string;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
export declare function Table({ className, ...props }: React_2.ComponentProps<"table">): JSX.Element;
|
|
1294
|
+
|
|
1295
|
+
export declare function TableBody({ className, ...props }: React_2.ComponentProps<"tbody">): JSX.Element;
|
|
1296
|
+
|
|
1297
|
+
export declare function TableCaption({ className, ...props }: React_2.ComponentProps<"caption">): JSX.Element;
|
|
1298
|
+
|
|
1299
|
+
export declare function TableCell({ className, ...props }: React_2.ComponentProps<"td">): JSX.Element;
|
|
1300
|
+
|
|
1301
|
+
export declare function TableFooter({ className, ...props }: React_2.ComponentProps<"tfoot">): JSX.Element;
|
|
1302
|
+
|
|
1303
|
+
export declare function TableHead({ className, ...props }: React_2.ComponentProps<"th">): JSX.Element;
|
|
1304
|
+
|
|
1305
|
+
export declare function TableHeader({ className, ...props }: React_2.ComponentProps<"thead">): JSX.Element;
|
|
1306
|
+
|
|
1307
|
+
export declare function TableRow({ className, ...props }: React_2.ComponentProps<"tr">): JSX.Element;
|
|
1308
|
+
|
|
1309
|
+
export declare interface TabProps {
|
|
1310
|
+
children?: React.ReactNode;
|
|
1311
|
+
tabArray: TabArray[];
|
|
1312
|
+
tabListClass?: string;
|
|
1313
|
+
tabListInnerClass?: string;
|
|
1314
|
+
tabListButtonClass?: string;
|
|
1315
|
+
tabContentClass?: string;
|
|
1316
|
+
pathName?: string;
|
|
1317
|
+
headerEndComponent?: React.ReactNode;
|
|
1318
|
+
onTabChange?: (tabId: string) => void;
|
|
1319
|
+
isSeperatePage?: boolean;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
export declare function Tabs({ className, orientation, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Root>): JSX.Element;
|
|
1323
|
+
|
|
1324
|
+
export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Content>): JSX.Element;
|
|
1325
|
+
|
|
1326
|
+
export declare function TabsList({ className, variant, ...props }: React_2.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>): JSX.Element;
|
|
1327
|
+
|
|
1328
|
+
export declare const tabsListVariants: (props?: ({
|
|
1329
|
+
variant?: "line" | "default" | null | undefined;
|
|
1330
|
+
} & ClassProp) | undefined) => string;
|
|
1331
|
+
|
|
1332
|
+
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Trigger>): JSX.Element;
|
|
1333
|
+
|
|
1334
|
+
export declare function Textarea({ className, ...props }: React_2.ComponentProps<"textarea">): JSX.Element;
|
|
1335
|
+
|
|
1336
|
+
export declare function TextButton({ children, variant, asChild, size, ...props }: ButtonProps): JSX.Element;
|
|
1337
|
+
|
|
1338
|
+
export declare function TextButtonWithTooltip({ children, variant, asChild, size, tooltipContent, ...props }: ButtonWithTooltipProps): JSX.Element;
|
|
1339
|
+
|
|
1340
|
+
export declare const ThemeProvider: React_2.FC<{
|
|
1341
|
+
children: React_2.ReactNode;
|
|
1342
|
+
}>;
|
|
1343
|
+
|
|
1344
|
+
export declare function ThemeToggleBtn(): JSX.Element | null;
|
|
1345
|
+
|
|
1346
|
+
export declare function TitleProgress({ title, value, valueText, isPercent, className, titleClassName, valueClassName, progressClassName }: Props_4): JSX.Element;
|
|
1347
|
+
|
|
1348
|
+
export declare const Toaster: ({ ...props }: ToasterProps) => JSX.Element;
|
|
1349
|
+
|
|
1350
|
+
export declare function Toggle({ className, variant, size, ...props }: React_2.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): JSX.Element;
|
|
1351
|
+
|
|
1352
|
+
export declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React_2.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants> & {
|
|
1353
|
+
spacing?: number;
|
|
1354
|
+
}): JSX.Element;
|
|
1355
|
+
|
|
1356
|
+
export declare function ToggleGroupItem({ className, children, variant, size, ...props }: React_2.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): JSX.Element;
|
|
1357
|
+
|
|
1358
|
+
export declare const toggleVariants: (props?: ({
|
|
1359
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1360
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1361
|
+
} & ClassProp) | undefined) => string;
|
|
1362
|
+
|
|
1363
|
+
export declare interface TokenResponse {
|
|
1364
|
+
accessToken: string;
|
|
1365
|
+
refreshToken: string;
|
|
1366
|
+
expiresIn: number;
|
|
1367
|
+
refreshExpiresIn: number;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element;
|
|
1371
|
+
|
|
1372
|
+
export declare function TooltipComponent({ tooltipContent, children }: {
|
|
1373
|
+
tooltipContent: string | React_2.ReactNode;
|
|
1374
|
+
children: React_2.ReactNode;
|
|
1375
|
+
}): JSX.Element;
|
|
1376
|
+
|
|
1377
|
+
export declare function TooltipContent({ className, sideOffset, children, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Content>): JSX.Element;
|
|
1378
|
+
|
|
1379
|
+
export declare function TooltipProvider({ delayDuration, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Provider>): JSX.Element;
|
|
1380
|
+
|
|
1381
|
+
export declare function TooltipTrigger({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Trigger>): JSX.Element;
|
|
1382
|
+
|
|
1383
|
+
export declare interface TreeNode extends FrameworkEntry {
|
|
1384
|
+
level: number;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
export declare function UploadTab(): JSX.Element;
|
|
1388
|
+
|
|
1389
|
+
export declare function useBreadcrumb(): BreadcrumbContextType;
|
|
1390
|
+
|
|
1391
|
+
export declare const useDialog: () => DialogContextProps;
|
|
1392
|
+
|
|
1393
|
+
export declare const useFont: () => FontContextType;
|
|
1394
|
+
|
|
1395
|
+
export declare const useFormField: () => {
|
|
1396
|
+
invalid: boolean;
|
|
1397
|
+
isDirty: boolean;
|
|
1398
|
+
isTouched: boolean;
|
|
1399
|
+
isValidating: boolean;
|
|
1400
|
+
error?: FieldError;
|
|
1401
|
+
id: string;
|
|
1402
|
+
name: string;
|
|
1403
|
+
formItemId: string;
|
|
1404
|
+
formDescriptionId: string;
|
|
1405
|
+
formMessageId: string;
|
|
1406
|
+
};
|
|
1407
|
+
|
|
1408
|
+
export declare const useImageCropper: () => ImageCropperContextProps;
|
|
1409
|
+
|
|
1410
|
+
export declare function useIsMobile(): boolean;
|
|
1411
|
+
|
|
1412
|
+
export declare const useRadius: () => RadiusContextType;
|
|
1413
|
+
|
|
1414
|
+
declare interface UserData {
|
|
1415
|
+
userId: string;
|
|
1416
|
+
userName: string;
|
|
1417
|
+
userLogin: string;
|
|
1418
|
+
password: string;
|
|
1419
|
+
userPhone?: string;
|
|
1420
|
+
userEmail: string;
|
|
1421
|
+
userThumbnail?: string | null;
|
|
1422
|
+
userType?: string;
|
|
1423
|
+
active?: boolean;
|
|
1424
|
+
accountId?: string;
|
|
1425
|
+
userDeleted?: boolean;
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
export declare function useRefresh(): RefreshContextType;
|
|
1429
|
+
|
|
1430
|
+
export declare function useSidebar(): SidebarContextProps;
|
|
1431
|
+
|
|
1432
|
+
export declare function useSidebarNav(): SidebarNavContextType;
|
|
1433
|
+
|
|
1434
|
+
export declare interface WidgetProps {
|
|
1435
|
+
id: string;
|
|
1436
|
+
widgetText: string;
|
|
1437
|
+
widgetNumber: string;
|
|
1438
|
+
iconName?: string;
|
|
1439
|
+
onButtonClickfunc?: (...params: (string | (Record<string, string>))[]) => void;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
export declare function Widgets({ widgetData }: WidgetsFunctionProps): JSX.Element;
|
|
1443
|
+
|
|
1444
|
+
export declare interface WidgetsFunctionProps {
|
|
1445
|
+
widgetData: WidgetProps[];
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
export declare function WorkInProgress(): JSX.Element;
|
|
1449
|
+
|
|
1450
|
+
export { }
|