@chekinapp/ui 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +11184 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +781 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.cts +2418 -0
- package/dist/index.d.ts +2418 -0
- package/dist/index.js +10920 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +4 -0
- package/dist/styles.css.map +1 -0
- package/dist/styles.d.cts +2 -0
- package/dist/styles.d.ts +2 -0
- package/package.json +92 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2418 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import { ReactNode, ElementType, InputHTMLAttributes, ComponentProps, PropsWithChildren, MouseEvent, SVGProps, FC, ImgHTMLAttributes, ComponentType, AnchorHTMLAttributes, ForwardedRef, ButtonHTMLAttributes, HTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, ComponentPropsWithoutRef, ReactElement, TextareaHTMLAttributes } from 'react';
|
|
3
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
6
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
|
+
import { VariantProps } from 'class-variance-authority';
|
|
8
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
9
|
+
import { DayPicker } from 'react-day-picker';
|
|
10
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
11
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
12
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
13
|
+
import * as RadixMenu from '@radix-ui/react-dropdown-menu';
|
|
14
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
15
|
+
import { TooltipContentProps as TooltipContentProps$1 } from '@radix-ui/react-tooltip';
|
|
16
|
+
import { LucideIcon } from 'lucide-react';
|
|
17
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
18
|
+
import * as RadixPopover from '@radix-ui/react-popover';
|
|
19
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
20
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
21
|
+
import * as RadixSelect from '@radix-ui/react-select';
|
|
22
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
23
|
+
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
24
|
+
import { ToastT } from 'sonner';
|
|
25
|
+
export { Toaster, toast } from 'sonner';
|
|
26
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
27
|
+
import { ClassValue } from 'clsx';
|
|
28
|
+
|
|
29
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
31
|
+
type AccordionTriggerProps = React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger> & {
|
|
32
|
+
openIcon?: React$1.ReactNode;
|
|
33
|
+
closedIcon?: React$1.ReactNode;
|
|
34
|
+
};
|
|
35
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
36
|
+
openIcon?: React$1.ReactNode;
|
|
37
|
+
closedIcon?: React$1.ReactNode;
|
|
38
|
+
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
39
|
+
interface AccordionContentProps extends React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content> {
|
|
40
|
+
contentClassName?: string;
|
|
41
|
+
}
|
|
42
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<AccordionContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
|
|
44
|
+
declare enum AlertType {
|
|
45
|
+
INFO = "INFO",
|
|
46
|
+
WARNING = "WARNING",
|
|
47
|
+
SUCCESS = "SUCCESS",
|
|
48
|
+
ERROR = "ERROR",
|
|
49
|
+
LIGHT = "LIGHT"
|
|
50
|
+
}
|
|
51
|
+
declare enum AlertSize {
|
|
52
|
+
S = "S",
|
|
53
|
+
M = "M",
|
|
54
|
+
L = "L"
|
|
55
|
+
}
|
|
56
|
+
interface AlertBoxProps {
|
|
57
|
+
text: string | React$1.ReactNode;
|
|
58
|
+
type?: AlertType;
|
|
59
|
+
size?: AlertSize;
|
|
60
|
+
withIcon?: boolean;
|
|
61
|
+
className?: string;
|
|
62
|
+
customIcon?: React$1.ReactNode;
|
|
63
|
+
}
|
|
64
|
+
declare function AlertBox({ text, className, withIcon, size, type, customIcon, }: AlertBoxProps): react_jsx_runtime.JSX.Element;
|
|
65
|
+
declare namespace AlertBox {
|
|
66
|
+
var displayName: string;
|
|
67
|
+
}
|
|
68
|
+
declare const AlertTypes: typeof AlertType;
|
|
69
|
+
declare const AlertSizes: typeof AlertSize;
|
|
70
|
+
|
|
71
|
+
interface AudioPlayerProps {
|
|
72
|
+
src: string;
|
|
73
|
+
compact?: boolean;
|
|
74
|
+
className?: string;
|
|
75
|
+
}
|
|
76
|
+
declare function AudioPlayer({ src, compact, className }: AudioPlayerProps): react_jsx_runtime.JSX.Element;
|
|
77
|
+
declare namespace AudioPlayer {
|
|
78
|
+
var displayName: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
interface AvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> {
|
|
82
|
+
src?: string;
|
|
83
|
+
alt?: string;
|
|
84
|
+
fallback?: string;
|
|
85
|
+
size?: 'sm' | 'md' | 'lg';
|
|
86
|
+
fallbackClassName?: string;
|
|
87
|
+
}
|
|
88
|
+
declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
89
|
+
|
|
90
|
+
declare const badgeVariants: (props?: ({
|
|
91
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
92
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
93
|
+
interface BadgeProps extends React$1.ComponentProps<'span'>, VariantProps<typeof badgeVariants> {
|
|
94
|
+
asChild?: boolean;
|
|
95
|
+
}
|
|
96
|
+
declare function Badge({ className, variant, asChild, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
97
|
+
declare namespace Badge {
|
|
98
|
+
var displayName: string;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
interface BetaBadgeProps extends React$1.ComponentProps<'div'> {
|
|
102
|
+
text?: string;
|
|
103
|
+
readOnly?: boolean;
|
|
104
|
+
}
|
|
105
|
+
declare function BetaBadge({ className, children, text, readOnly, ...props }: BetaBadgeProps): react_jsx_runtime.JSX.Element;
|
|
106
|
+
declare namespace BetaBadge {
|
|
107
|
+
var displayName: string;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
declare const bookmarkTabsListVariants: (props?: ({
|
|
111
|
+
variant?: "default" | "material" | null | undefined;
|
|
112
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
113
|
+
declare const bookmarkTabsTriggerVariants: (props?: ({
|
|
114
|
+
variant?: "default" | "material" | null | undefined;
|
|
115
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
116
|
+
interface BookmarkTabsListProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, VariantProps<typeof bookmarkTabsListVariants> {
|
|
117
|
+
}
|
|
118
|
+
declare const BookmarkTabsList: React$1.ForwardRefExoticComponent<BookmarkTabsListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
119
|
+
interface BookmarkTabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof bookmarkTabsTriggerVariants> {
|
|
120
|
+
}
|
|
121
|
+
declare const BookmarkTabsTrigger: React$1.ForwardRefExoticComponent<BookmarkTabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
122
|
+
|
|
123
|
+
interface BoxOptionSelectorSwitchProps {
|
|
124
|
+
value: string;
|
|
125
|
+
}
|
|
126
|
+
interface BoxOptionSelectorProps {
|
|
127
|
+
id: string;
|
|
128
|
+
title: string;
|
|
129
|
+
description: string;
|
|
130
|
+
value: string;
|
|
131
|
+
switch?: BoxOptionSelectorSwitchProps;
|
|
132
|
+
onChange: (value: string) => void;
|
|
133
|
+
disabled?: boolean;
|
|
134
|
+
selectedValue: string;
|
|
135
|
+
optionalLabel?: string;
|
|
136
|
+
switchComponent?: React$1.ComponentType<{
|
|
137
|
+
id: string;
|
|
138
|
+
value: boolean;
|
|
139
|
+
disabled?: boolean;
|
|
140
|
+
size?: 'sm' | 'md' | 'lg';
|
|
141
|
+
onChange: (checked: boolean) => void;
|
|
142
|
+
}>;
|
|
143
|
+
}
|
|
144
|
+
declare const BoxOptionSelector: React$1.ForwardRefExoticComponent<BoxOptionSelectorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
145
|
+
|
|
146
|
+
type BreadcrumbType = {
|
|
147
|
+
to?: string;
|
|
148
|
+
hidden?: boolean;
|
|
149
|
+
current?: boolean;
|
|
150
|
+
icon?: ReactNode;
|
|
151
|
+
asLink?: ElementType;
|
|
152
|
+
};
|
|
153
|
+
type BreadcrumbProps = BreadcrumbType & {
|
|
154
|
+
className?: string;
|
|
155
|
+
children: ReactNode;
|
|
156
|
+
};
|
|
157
|
+
declare function Breadcrumb({ hidden, to, current, icon, className, children, asLink: LinkComponent, }: BreadcrumbProps): react_jsx_runtime.JSX.Element | null;
|
|
158
|
+
|
|
159
|
+
type BreadcrumbsProps = {
|
|
160
|
+
className?: string;
|
|
161
|
+
children: ReactNode;
|
|
162
|
+
};
|
|
163
|
+
declare function Breadcrumbs({ className, children }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
|
|
164
|
+
|
|
165
|
+
declare const buttonVariants: (props?: ({
|
|
166
|
+
variant?: "link" | "default" | "secondary" | "destructive" | "primary" | "ghost" | "tertiary" | null | undefined;
|
|
167
|
+
size?: "s" | "default" | "sm" | "lg" | "icon" | "m" | "xs" | null | undefined;
|
|
168
|
+
shape?: "rounded" | "pill" | null | undefined;
|
|
169
|
+
readOnly?: boolean | null | undefined;
|
|
170
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
171
|
+
|
|
172
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
173
|
+
asChild?: boolean;
|
|
174
|
+
leftIcon?: React$1.ReactNode;
|
|
175
|
+
rightIcon?: React$1.ReactNode;
|
|
176
|
+
loading?: boolean;
|
|
177
|
+
loadingText?: string;
|
|
178
|
+
}
|
|
179
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
180
|
+
|
|
181
|
+
declare const buttonGroupVariants: (props?: ({
|
|
182
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
183
|
+
seamless?: boolean | null | undefined;
|
|
184
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
185
|
+
|
|
186
|
+
interface ButtonGroupProps extends React$1.ComponentProps<'div'>, VariantProps<typeof buttonGroupVariants> {
|
|
187
|
+
}
|
|
188
|
+
declare function ButtonGroup({ className, orientation, seamless, ...props }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
189
|
+
declare namespace ButtonGroup {
|
|
190
|
+
var displayName: string;
|
|
191
|
+
}
|
|
192
|
+
interface ButtonGroupTextProps extends React$1.ComponentProps<'div'> {
|
|
193
|
+
asChild?: boolean;
|
|
194
|
+
}
|
|
195
|
+
declare function ButtonGroupText({ className, asChild, ...props }: ButtonGroupTextProps): react_jsx_runtime.JSX.Element;
|
|
196
|
+
declare namespace ButtonGroupText {
|
|
197
|
+
var displayName: string;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
interface ButtonsGroupLabelProps extends React$1.PropsWithChildren {
|
|
201
|
+
label: string;
|
|
202
|
+
className?: string;
|
|
203
|
+
}
|
|
204
|
+
declare function ButtonsGroupLabel({ children, label, className }: ButtonsGroupLabelProps): react_jsx_runtime.JSX.Element;
|
|
205
|
+
declare namespace ButtonsGroupLabel {
|
|
206
|
+
var displayName: string;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
210
|
+
declare function Calendar({ className, classNames, showOutsideDays, components: userComponents, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
211
|
+
declare namespace Calendar {
|
|
212
|
+
var displayName: string;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
declare const calendarClassNames: {
|
|
216
|
+
months: string;
|
|
217
|
+
month: string;
|
|
218
|
+
month_caption: string;
|
|
219
|
+
caption_label: string;
|
|
220
|
+
nav: string;
|
|
221
|
+
button_previous: string;
|
|
222
|
+
button_next: string;
|
|
223
|
+
weekday: string;
|
|
224
|
+
day_button: string;
|
|
225
|
+
day: string;
|
|
226
|
+
range_start: string;
|
|
227
|
+
range_end: string;
|
|
228
|
+
range_middle: string;
|
|
229
|
+
today: string;
|
|
230
|
+
outside: string;
|
|
231
|
+
hidden: string;
|
|
232
|
+
week_number: string;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
236
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
237
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
238
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
239
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
240
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
241
|
+
|
|
242
|
+
type ChannelOption = {
|
|
243
|
+
icon: ReactNode;
|
|
244
|
+
label: string;
|
|
245
|
+
value: string;
|
|
246
|
+
};
|
|
247
|
+
type ChannelSelectorProps = {
|
|
248
|
+
options: ChannelOption[];
|
|
249
|
+
selectedValues: string[];
|
|
250
|
+
readOnlyValues?: string[];
|
|
251
|
+
onChange: (values: string[]) => void;
|
|
252
|
+
};
|
|
253
|
+
declare function ChannelSelector({ options, selectedValues, readOnlyValues, onChange, }: ChannelSelectorProps): react_jsx_runtime.JSX.Element;
|
|
254
|
+
|
|
255
|
+
interface BaseCheckboxProps extends React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
|
|
256
|
+
loading?: boolean;
|
|
257
|
+
readOnly?: boolean;
|
|
258
|
+
}
|
|
259
|
+
declare const BaseCheckbox: React$1.ForwardRefExoticComponent<BaseCheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
260
|
+
|
|
261
|
+
interface CheckboxProps {
|
|
262
|
+
id?: string;
|
|
263
|
+
label?: string;
|
|
264
|
+
value?: boolean;
|
|
265
|
+
onChange?: (checked: boolean) => void;
|
|
266
|
+
onWrapperClick?: (checked: boolean) => void;
|
|
267
|
+
disabled?: boolean;
|
|
268
|
+
readOnly?: boolean;
|
|
269
|
+
loading?: boolean;
|
|
270
|
+
className?: string;
|
|
271
|
+
labelClassName?: string;
|
|
272
|
+
checkboxClassName?: string;
|
|
273
|
+
}
|
|
274
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
275
|
+
|
|
276
|
+
interface CheckboxOption {
|
|
277
|
+
label: string;
|
|
278
|
+
value: string;
|
|
279
|
+
checked?: boolean;
|
|
280
|
+
disabled?: boolean;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
interface CheckboxGroupProps {
|
|
284
|
+
options: CheckboxOption[];
|
|
285
|
+
value?: string[];
|
|
286
|
+
onChange?: (selectedValues: string[]) => void;
|
|
287
|
+
disabled?: boolean;
|
|
288
|
+
className?: string;
|
|
289
|
+
showSelectAll?: boolean;
|
|
290
|
+
selectAllLabel?: string;
|
|
291
|
+
scrollable?: boolean;
|
|
292
|
+
scrollHeight?: string | number;
|
|
293
|
+
error?: string;
|
|
294
|
+
}
|
|
295
|
+
declare const CheckboxGroup: React$1.ForwardRefExoticComponent<CheckboxGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
296
|
+
|
|
297
|
+
type CommingSoonBadgeProps = {
|
|
298
|
+
tooltip?: boolean;
|
|
299
|
+
};
|
|
300
|
+
declare function CommingSoonBadge({ tooltip }: CommingSoonBadgeProps): react_jsx_runtime.JSX.Element;
|
|
301
|
+
|
|
302
|
+
type CopyIconProps = {
|
|
303
|
+
textToCopy: string;
|
|
304
|
+
className?: string;
|
|
305
|
+
tooltipText?: string;
|
|
306
|
+
size?: 'sm' | 'md';
|
|
307
|
+
variant?: 'default' | 'secondary' | 'ghost';
|
|
308
|
+
onClick?: () => string | Promise<string>;
|
|
309
|
+
};
|
|
310
|
+
declare function CopyIcon({ textToCopy, className, tooltipText, size, variant, onClick, }: CopyIconProps): react_jsx_runtime.JSX.Element;
|
|
311
|
+
|
|
312
|
+
type CopyLinkButtonProps = {
|
|
313
|
+
link: string | undefined;
|
|
314
|
+
labelText: string;
|
|
315
|
+
copiedExclamationText?: string;
|
|
316
|
+
className?: string;
|
|
317
|
+
disabled?: boolean;
|
|
318
|
+
leftAddon?: ReactNode;
|
|
319
|
+
onCopiedLink?: () => void;
|
|
320
|
+
variant?: ButtonProps['variant'];
|
|
321
|
+
size?: ButtonProps['size'];
|
|
322
|
+
};
|
|
323
|
+
declare function CopyLinkButton({ className, link, disabled, labelText, copiedExclamationText, onCopiedLink, leftAddon, variant, size, }: CopyLinkButtonProps): react_jsx_runtime.JSX.Element;
|
|
324
|
+
|
|
325
|
+
interface DataTableProps<TData, TValue> {
|
|
326
|
+
columns: ColumnDef<TData, TValue>[];
|
|
327
|
+
data: TData[];
|
|
328
|
+
}
|
|
329
|
+
declare function DataTable<TData, TValue>({ columns, data }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
330
|
+
|
|
331
|
+
declare function Dialog({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
332
|
+
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
333
|
+
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
334
|
+
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
335
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
336
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
337
|
+
showCloseButton?: boolean;
|
|
338
|
+
container?: HTMLElement;
|
|
339
|
+
lockScroll?: boolean;
|
|
340
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
341
|
+
declare const DialogHeader: {
|
|
342
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
343
|
+
displayName: string;
|
|
344
|
+
};
|
|
345
|
+
declare const DialogFooter: {
|
|
346
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
347
|
+
displayName: string;
|
|
348
|
+
};
|
|
349
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
350
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
351
|
+
declare const DialogVisuallyHidden: {
|
|
352
|
+
({ children }: {
|
|
353
|
+
children: React$1.ReactNode;
|
|
354
|
+
}): react_jsx_runtime.JSX.Element;
|
|
355
|
+
displayName: string;
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
interface ConfirmationDialogProps {
|
|
359
|
+
open: boolean;
|
|
360
|
+
onOpenChange: (open: boolean) => void;
|
|
361
|
+
title: string;
|
|
362
|
+
description: string;
|
|
363
|
+
confirmText: string;
|
|
364
|
+
cancelText: string;
|
|
365
|
+
onConfirm: () => void;
|
|
366
|
+
onCancel?: () => void;
|
|
367
|
+
isLoading?: boolean;
|
|
368
|
+
variant?: ButtonProps['variant'];
|
|
369
|
+
}
|
|
370
|
+
declare function ConfirmationDialog({ open, onOpenChange, title, description, confirmText, cancelText, onConfirm, onCancel, isLoading, variant, }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
|
|
371
|
+
|
|
372
|
+
interface DefaultSelectTriggerProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
373
|
+
disabled?: boolean;
|
|
374
|
+
empty?: boolean;
|
|
375
|
+
readOnly?: boolean;
|
|
376
|
+
width?: string;
|
|
377
|
+
loading?: boolean;
|
|
378
|
+
invalid?: boolean;
|
|
379
|
+
}
|
|
380
|
+
declare const DefaultSelectTrigger: React$1.ForwardRefExoticComponent<DefaultSelectTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
381
|
+
|
|
382
|
+
type DownloadEntryFormsButtonProps = {
|
|
383
|
+
disabled: boolean;
|
|
384
|
+
onClick: () => void;
|
|
385
|
+
label?: string;
|
|
386
|
+
isLoading?: boolean;
|
|
387
|
+
className?: string;
|
|
388
|
+
};
|
|
389
|
+
declare function DownloadEntryFormsButton({ disabled, isLoading, className, onClick, label, }: DownloadEntryFormsButtonProps): react_jsx_runtime.JSX.Element;
|
|
390
|
+
|
|
391
|
+
declare const DropdownMenu: React$1.FC<RadixMenu.DropdownMenuProps>;
|
|
392
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<RadixMenu.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
393
|
+
declare const DropdownMenuPortal: React$1.FC<RadixMenu.DropdownMenuPortalProps>;
|
|
394
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<RadixMenu.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
395
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<RadixMenu.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
396
|
+
container?: HTMLElement;
|
|
397
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
398
|
+
type DropdownMenuContentSide = React$1.ComponentPropsWithoutRef<typeof RadixMenu.Content>['side'];
|
|
399
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<RadixMenu.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
400
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<RadixMenu.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
401
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<RadixMenu.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
402
|
+
|
|
403
|
+
type DropdownButtonProps = {
|
|
404
|
+
trigger: ReactNode | ((isOpen: boolean) => ReactNode);
|
|
405
|
+
children?: ReactNode;
|
|
406
|
+
side?: DropdownMenuContentSide;
|
|
407
|
+
modal?: boolean;
|
|
408
|
+
className?: string;
|
|
409
|
+
};
|
|
410
|
+
declare function DropdownButton({ trigger, children, side, modal, className, }: DropdownButtonProps): react_jsx_runtime.JSX.Element;
|
|
411
|
+
|
|
412
|
+
declare function Empty({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
413
|
+
|
|
414
|
+
declare function EmptyHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
415
|
+
|
|
416
|
+
declare function EmptyTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
417
|
+
|
|
418
|
+
declare function EmptyDescription({ className, ...props }: React$1.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
|
|
419
|
+
|
|
420
|
+
declare function EmptyContent({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
421
|
+
|
|
422
|
+
declare const emptyMediaVariants: (props?: ({
|
|
423
|
+
variant?: "default" | "icon" | null | undefined;
|
|
424
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
425
|
+
declare function EmptyMedia({ className, variant, ...props }: React$1.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
426
|
+
|
|
427
|
+
type EmptySectionPlaceholderProps = {
|
|
428
|
+
title?: string;
|
|
429
|
+
subtitle?: string;
|
|
430
|
+
icon?: ReactNode;
|
|
431
|
+
className?: string;
|
|
432
|
+
};
|
|
433
|
+
declare function EmptySectionPlaceholder({ title, subtitle, icon, className, }: EmptySectionPlaceholderProps): react_jsx_runtime.JSX.Element;
|
|
434
|
+
|
|
435
|
+
interface ExternalLinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
436
|
+
showIcon?: boolean;
|
|
437
|
+
}
|
|
438
|
+
declare const ExternalLink: React$1.ForwardRefExoticComponent<ExternalLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
439
|
+
|
|
440
|
+
interface FeatureCardProps {
|
|
441
|
+
icon?: ReactNode;
|
|
442
|
+
title: ReactNode;
|
|
443
|
+
description: string;
|
|
444
|
+
checked: boolean;
|
|
445
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
446
|
+
tutorialVideoLink?: string;
|
|
447
|
+
disabled?: boolean;
|
|
448
|
+
comingSoon?: boolean;
|
|
449
|
+
}
|
|
450
|
+
declare function FeatureCard({ icon, title, description, checked, onCheckedChange, tutorialVideoLink, disabled, comingSoon, }: FeatureCardProps): react_jsx_runtime.JSX.Element;
|
|
451
|
+
|
|
452
|
+
interface FileInputButtonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
453
|
+
label?: string;
|
|
454
|
+
icon?: ReactNode;
|
|
455
|
+
variant?: ButtonProps['variant'];
|
|
456
|
+
size?: ButtonProps['size'];
|
|
457
|
+
buttonClassName?: string;
|
|
458
|
+
}
|
|
459
|
+
declare const FileInputButton: React$1.ForwardRefExoticComponent<FileInputButtonProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
460
|
+
|
|
461
|
+
type FormBoxContentProps = ComponentProps<'div'>;
|
|
462
|
+
declare function Content({ children, className, ...props }: FormBoxContentProps): react_jsx_runtime.JSX.Element;
|
|
463
|
+
|
|
464
|
+
type FormBoxHeaderProps = ComponentProps<'h2'>;
|
|
465
|
+
declare function Header({ children, className, ...props }: FormBoxHeaderProps): react_jsx_runtime.JSX.Element;
|
|
466
|
+
|
|
467
|
+
type FormBoxRootProps = ComponentProps<'div'> & {
|
|
468
|
+
nested?: boolean;
|
|
469
|
+
};
|
|
470
|
+
declare function Root({ children, nested, className, ...props }: FormBoxRootProps): react_jsx_runtime.JSX.Element;
|
|
471
|
+
|
|
472
|
+
type FormBoxSubHeaderProps = ComponentProps<'h4'>;
|
|
473
|
+
declare function SubHeader({ children, className, ...props }: FormBoxSubHeaderProps): react_jsx_runtime.JSX.Element;
|
|
474
|
+
|
|
475
|
+
declare const FormBox: {
|
|
476
|
+
Root: typeof Root;
|
|
477
|
+
Header: typeof Header;
|
|
478
|
+
SubHeader: typeof SubHeader;
|
|
479
|
+
Content: typeof Content;
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
type FreeTextFieldProps = Omit<ComponentProps<'input'>, 'size'> & {
|
|
483
|
+
label?: string;
|
|
484
|
+
error?: string;
|
|
485
|
+
supportingText?: string;
|
|
486
|
+
optional?: boolean;
|
|
487
|
+
optionalLabel?: string;
|
|
488
|
+
tooltip?: ReactNode;
|
|
489
|
+
icon?: ReactNode;
|
|
490
|
+
fieldStyle?: 'current' | 'new';
|
|
491
|
+
autocompleted?: boolean;
|
|
492
|
+
};
|
|
493
|
+
declare const FreeTextField: React$1.ForwardRefExoticComponent<Omit<FreeTextFieldProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
494
|
+
|
|
495
|
+
declare const framedIconVariants: (props?: ({
|
|
496
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
497
|
+
shape?: "circle" | "rounded" | null | undefined;
|
|
498
|
+
tone?: "error" | "neutral" | "info" | "success" | "warn" | null | undefined;
|
|
499
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
500
|
+
interface FramedIconProps extends Omit<React$1.HTMLAttributes<HTMLSpanElement>, 'children'>, VariantProps<typeof framedIconVariants> {
|
|
501
|
+
children: React$1.ReactNode;
|
|
502
|
+
}
|
|
503
|
+
declare const FramedIcon: React$1.ForwardRefExoticComponent<FramedIconProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
504
|
+
|
|
505
|
+
type GridItemsProps = {
|
|
506
|
+
title?: string;
|
|
507
|
+
children?: ReactNode;
|
|
508
|
+
placeholder?: ReactNode;
|
|
509
|
+
className?: string;
|
|
510
|
+
};
|
|
511
|
+
declare const GridItems: React$1.ForwardRefExoticComponent<GridItemsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
512
|
+
|
|
513
|
+
declare const statusStyles: {
|
|
514
|
+
readonly INACTIVE: {
|
|
515
|
+
readonly background: "bg-chekin-surface-input-empty";
|
|
516
|
+
readonly color: "text-chekin-gray-2";
|
|
517
|
+
};
|
|
518
|
+
readonly ACTIVE: {
|
|
519
|
+
readonly background: "bg-chekin-surface-autocomplete";
|
|
520
|
+
readonly color: "text-chekin-blue";
|
|
521
|
+
};
|
|
522
|
+
readonly SUCCESS: {
|
|
523
|
+
readonly background: "bg-emerald-50";
|
|
524
|
+
readonly color: "text-emerald-600";
|
|
525
|
+
};
|
|
526
|
+
readonly DANGER: {
|
|
527
|
+
readonly background: "bg-red-50";
|
|
528
|
+
readonly color: "text-chekin-red";
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
interface HaloIconProps extends PropsWithChildren {
|
|
532
|
+
status?: keyof typeof statusStyles;
|
|
533
|
+
size?: 'M' | 'L' | 'XL';
|
|
534
|
+
className?: string;
|
|
535
|
+
variant?: 'default' | 'secondary';
|
|
536
|
+
}
|
|
537
|
+
declare const HaloIcon: React$1.ForwardRefExoticComponent<HaloIconProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
538
|
+
|
|
539
|
+
declare const HALO_ICON_STATUS: {
|
|
540
|
+
readonly inactive: "INACTIVE";
|
|
541
|
+
readonly active: "ACTIVE";
|
|
542
|
+
readonly success: "SUCCESS";
|
|
543
|
+
readonly danger: "DANGER";
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
547
|
+
declare const TooltipRoot: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
548
|
+
interface TooltipRootProps extends React$1.ComponentProps<typeof TooltipPrimitive.Root> {
|
|
549
|
+
disabled?: boolean;
|
|
550
|
+
}
|
|
551
|
+
declare function TooltipRootWrapper({ disabled, ...props }: TooltipRootProps): react_jsx_runtime.JSX.Element;
|
|
552
|
+
declare function TooltipTrigger(props: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
553
|
+
interface TooltipContentProps extends React$1.ComponentProps<typeof TooltipPrimitive.Content> {
|
|
554
|
+
variant?: 'light' | 'dark';
|
|
555
|
+
container?: HTMLElement | null;
|
|
556
|
+
}
|
|
557
|
+
declare function TooltipContent({ className, sideOffset, children, variant, container, ...props }: TooltipContentProps): react_jsx_runtime.JSX.Element;
|
|
558
|
+
interface TooltipProps extends Omit<TooltipRootProps, 'children'>, Pick<TooltipContentProps, 'side' | 'sideOffset' | 'variant' | 'container'> {
|
|
559
|
+
content?: React$1.ReactNode;
|
|
560
|
+
children: React$1.ReactNode;
|
|
561
|
+
asChild?: boolean;
|
|
562
|
+
contentClassName?: string;
|
|
563
|
+
delayDuration?: number;
|
|
564
|
+
}
|
|
565
|
+
declare function Tooltip({ content, children, side, sideOffset, variant, container, contentClassName, asChild, delayDuration, disabled, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
566
|
+
|
|
567
|
+
interface HelpTooltipProps {
|
|
568
|
+
content?: ReactNode;
|
|
569
|
+
side?: TooltipContentProps$1['side'];
|
|
570
|
+
variant?: 'light' | 'dark';
|
|
571
|
+
onClick?: (e: MouseEvent) => void;
|
|
572
|
+
className?: string;
|
|
573
|
+
contentClassName?: string;
|
|
574
|
+
size?: 16 | 20;
|
|
575
|
+
label?: string;
|
|
576
|
+
}
|
|
577
|
+
declare function HelpTooltip({ content, side, variant, onClick, className, contentClassName, size, label, }: HelpTooltipProps): react_jsx_runtime.JSX.Element;
|
|
578
|
+
|
|
579
|
+
type IconNames = 'shield-star' | 'circled-home' | 'house-i' | 'calendar-days-in' | 'shield-star-in' | 'chart-no-axes-combined-in' | 'chart-no-axes-combined' | 'chart-no-axes-combined-out' | 'shield-star-out' | 'airbnb' | 'whatsapp' | 'sms' | 'meta' | 'instagram' | 'x' | 'facebook' | 'linkedin' | 'host';
|
|
580
|
+
|
|
581
|
+
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
582
|
+
name: IconNames;
|
|
583
|
+
size?: number | string;
|
|
584
|
+
color?: string;
|
|
585
|
+
className?: string;
|
|
586
|
+
fallback?: ReactNode;
|
|
587
|
+
}
|
|
588
|
+
declare const Icon$1: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<IconProps & React$1.RefAttributes<SVGSVGElement>>>;
|
|
589
|
+
declare class IconRegistry {
|
|
590
|
+
private static cache;
|
|
591
|
+
static load(name: string): Promise<FC<SVGProps<SVGSVGElement>>>;
|
|
592
|
+
static preload(names: string[]): Promise<void[]>;
|
|
593
|
+
}
|
|
594
|
+
declare const RegistryIcon: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<IconProps & React$1.RefAttributes<SVGSVGElement>>>;
|
|
595
|
+
|
|
596
|
+
declare const iconButtonVariants: (props?: ({
|
|
597
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
598
|
+
shape?: "circle" | "rounded" | null | undefined;
|
|
599
|
+
variant?: "secondary" | "primary" | "ghost" | "danger" | null | undefined;
|
|
600
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
601
|
+
interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'children'>, VariantProps<typeof iconButtonVariants> {
|
|
602
|
+
label: string;
|
|
603
|
+
children: React$1.ReactNode;
|
|
604
|
+
}
|
|
605
|
+
declare const IconButton: React$1.ForwardRefExoticComponent<IconButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
606
|
+
|
|
607
|
+
type InfoBoxProps = {
|
|
608
|
+
className?: string;
|
|
609
|
+
children: ReactNode;
|
|
610
|
+
};
|
|
611
|
+
declare function InfoBox({ className, children }: InfoBoxProps): react_jsx_runtime.JSX.Element;
|
|
612
|
+
|
|
613
|
+
interface ImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
614
|
+
fallbackSrc?: string;
|
|
615
|
+
}
|
|
616
|
+
declare function Image({ src, alt, className, fallbackSrc, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
|
|
617
|
+
|
|
618
|
+
type InputProps = React$1.ComponentProps<'input'>;
|
|
619
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
620
|
+
|
|
621
|
+
type InputOTPProps = {
|
|
622
|
+
maxLength: number;
|
|
623
|
+
value?: string;
|
|
624
|
+
onChange?: (value: string) => void;
|
|
625
|
+
disabled?: boolean;
|
|
626
|
+
error?: boolean;
|
|
627
|
+
children: React$1.ReactNode;
|
|
628
|
+
className?: string;
|
|
629
|
+
autoFocus?: boolean;
|
|
630
|
+
};
|
|
631
|
+
declare function InputOTP({ maxLength, value, onChange, disabled, error, children, className, autoFocus, }: InputOTPProps): react_jsx_runtime.JSX.Element;
|
|
632
|
+
declare const InputOTPGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
633
|
+
declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & {
|
|
634
|
+
index: number;
|
|
635
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
636
|
+
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
637
|
+
|
|
638
|
+
type LucideIconEntry = {
|
|
639
|
+
type: 'lucide';
|
|
640
|
+
name: string;
|
|
641
|
+
icon: LucideIcon;
|
|
642
|
+
};
|
|
643
|
+
type CustomIconEntry = {
|
|
644
|
+
type: 'custom';
|
|
645
|
+
name: string;
|
|
646
|
+
icon: ComponentType<{
|
|
647
|
+
size?: number;
|
|
648
|
+
color?: string;
|
|
649
|
+
}>;
|
|
650
|
+
};
|
|
651
|
+
type IconEntry = LucideIconEntry | CustomIconEntry;
|
|
652
|
+
type IconsDropdownProps = {
|
|
653
|
+
icons: IconEntry[];
|
|
654
|
+
onChange: (iconName: string) => void;
|
|
655
|
+
columns?: number;
|
|
656
|
+
selectedIcon?: string;
|
|
657
|
+
children: ReactNode;
|
|
658
|
+
position?: 'left' | 'right';
|
|
659
|
+
defaultOpen?: boolean;
|
|
660
|
+
onOpenChange?: (open: boolean) => void;
|
|
661
|
+
};
|
|
662
|
+
declare function IconsDropdown({ icons, onChange, columns, selectedIcon, children, position, defaultOpen, onOpenChange: onOpenChangeProp, }: IconsDropdownProps): react_jsx_runtime.JSX.Element;
|
|
663
|
+
|
|
664
|
+
declare const uiKitTranslations: {
|
|
665
|
+
readonly en: {
|
|
666
|
+
verified: string;
|
|
667
|
+
iv_status: {
|
|
668
|
+
verified: string;
|
|
669
|
+
pending: string;
|
|
670
|
+
attention: string;
|
|
671
|
+
};
|
|
672
|
+
zoom_in: string;
|
|
673
|
+
zoom_out: string;
|
|
674
|
+
rotate: string;
|
|
675
|
+
close: string;
|
|
676
|
+
esc_to_close: string;
|
|
677
|
+
play: string;
|
|
678
|
+
pause: string;
|
|
679
|
+
mute: string;
|
|
680
|
+
unmute: string;
|
|
681
|
+
enter_full_screen: string;
|
|
682
|
+
exit_full_screen: string;
|
|
683
|
+
video_not_supported: string;
|
|
684
|
+
skip_forward: string;
|
|
685
|
+
skip_backward: string;
|
|
686
|
+
loading: string;
|
|
687
|
+
loading_video: string;
|
|
688
|
+
loading_data_description: string;
|
|
689
|
+
no_results: string;
|
|
690
|
+
nothing_found: string;
|
|
691
|
+
save_changes: string;
|
|
692
|
+
saved_exclamation: string;
|
|
693
|
+
saving: string;
|
|
694
|
+
validating: string;
|
|
695
|
+
error: string;
|
|
696
|
+
optional: string;
|
|
697
|
+
search_property: string;
|
|
698
|
+
reset_search: string;
|
|
699
|
+
no_items_to_show: string;
|
|
700
|
+
showing_range_of_total_items: string;
|
|
701
|
+
rows_per_page: string;
|
|
702
|
+
page_of_pages: string;
|
|
703
|
+
go_to_first_page: string;
|
|
704
|
+
go_to_previous_page: string;
|
|
705
|
+
go_to_next_page: string;
|
|
706
|
+
go_to_last_page: string;
|
|
707
|
+
sort_in_asc: string;
|
|
708
|
+
sort_in_desc: string;
|
|
709
|
+
sort_a_z: string;
|
|
710
|
+
sort_z_a: string;
|
|
711
|
+
clear_sorting: string;
|
|
712
|
+
reach_us_at_email: string;
|
|
713
|
+
please_wait: string;
|
|
714
|
+
feature_coming_soon: string;
|
|
715
|
+
feature_coming_soon_description: string;
|
|
716
|
+
download_all: string;
|
|
717
|
+
entry_forms: string;
|
|
718
|
+
tutorial: string;
|
|
719
|
+
liveness_video: string;
|
|
720
|
+
beta: string;
|
|
721
|
+
reviews: string;
|
|
722
|
+
learn_more: string;
|
|
723
|
+
};
|
|
724
|
+
readonly es: {
|
|
725
|
+
verified: string;
|
|
726
|
+
iv_status: {
|
|
727
|
+
verified: string;
|
|
728
|
+
pending: string;
|
|
729
|
+
attention: string;
|
|
730
|
+
};
|
|
731
|
+
zoom_in: string;
|
|
732
|
+
zoom_out: string;
|
|
733
|
+
rotate: string;
|
|
734
|
+
close: string;
|
|
735
|
+
esc_to_close: string;
|
|
736
|
+
play: string;
|
|
737
|
+
pause: string;
|
|
738
|
+
mute: string;
|
|
739
|
+
unmute: string;
|
|
740
|
+
enter_full_screen: string;
|
|
741
|
+
exit_full_screen: string;
|
|
742
|
+
video_not_supported: string;
|
|
743
|
+
skip_forward: string;
|
|
744
|
+
skip_backward: string;
|
|
745
|
+
loading: string;
|
|
746
|
+
loading_video: string;
|
|
747
|
+
loading_data_description: string;
|
|
748
|
+
no_results: string;
|
|
749
|
+
nothing_found: string;
|
|
750
|
+
save_changes: string;
|
|
751
|
+
saved_exclamation: string;
|
|
752
|
+
saving: string;
|
|
753
|
+
validating: string;
|
|
754
|
+
error: string;
|
|
755
|
+
optional: string;
|
|
756
|
+
search_property: string;
|
|
757
|
+
reset_search: string;
|
|
758
|
+
no_items_to_show: string;
|
|
759
|
+
showing_range_of_total_items: string;
|
|
760
|
+
rows_per_page: string;
|
|
761
|
+
page_of_pages: string;
|
|
762
|
+
go_to_first_page: string;
|
|
763
|
+
go_to_previous_page: string;
|
|
764
|
+
go_to_next_page: string;
|
|
765
|
+
go_to_last_page: string;
|
|
766
|
+
sort_in_asc: string;
|
|
767
|
+
sort_in_desc: string;
|
|
768
|
+
clear_sorting: string;
|
|
769
|
+
sort_a_z: string;
|
|
770
|
+
sort_z_a: string;
|
|
771
|
+
reach_us_at_email: string;
|
|
772
|
+
please_wait: string;
|
|
773
|
+
feature_coming_soon: string;
|
|
774
|
+
feature_coming_soon_description: string;
|
|
775
|
+
beta: string;
|
|
776
|
+
download_all: string;
|
|
777
|
+
entry_forms: string;
|
|
778
|
+
tutorial: string;
|
|
779
|
+
liveness_video: string;
|
|
780
|
+
reviews: string;
|
|
781
|
+
learn_more: string;
|
|
782
|
+
};
|
|
783
|
+
readonly fr: {
|
|
784
|
+
verified: string;
|
|
785
|
+
iv_status: {
|
|
786
|
+
verified: string;
|
|
787
|
+
pending: string;
|
|
788
|
+
attention: string;
|
|
789
|
+
};
|
|
790
|
+
zoom_in: string;
|
|
791
|
+
zoom_out: string;
|
|
792
|
+
rotate: string;
|
|
793
|
+
close: string;
|
|
794
|
+
esc_to_close: string;
|
|
795
|
+
play: string;
|
|
796
|
+
pause: string;
|
|
797
|
+
mute: string;
|
|
798
|
+
unmute: string;
|
|
799
|
+
enter_full_screen: string;
|
|
800
|
+
exit_full_screen: string;
|
|
801
|
+
video_not_supported: string;
|
|
802
|
+
skip_forward: string;
|
|
803
|
+
skip_backward: string;
|
|
804
|
+
loading: string;
|
|
805
|
+
loading_video: string;
|
|
806
|
+
loading_data_description: string;
|
|
807
|
+
no_results: string;
|
|
808
|
+
nothing_found: string;
|
|
809
|
+
save_changes: string;
|
|
810
|
+
saved_exclamation: string;
|
|
811
|
+
saving: string;
|
|
812
|
+
validating: string;
|
|
813
|
+
error: string;
|
|
814
|
+
optional: string;
|
|
815
|
+
search_property: string;
|
|
816
|
+
reset_search: string;
|
|
817
|
+
no_items_to_show: string;
|
|
818
|
+
showing_range_of_total_items: string;
|
|
819
|
+
rows_per_page: string;
|
|
820
|
+
page_of_pages: string;
|
|
821
|
+
go_to_first_page: string;
|
|
822
|
+
go_to_previous_page: string;
|
|
823
|
+
go_to_next_page: string;
|
|
824
|
+
go_to_last_page: string;
|
|
825
|
+
sort_in_asc: string;
|
|
826
|
+
sort_in_desc: string;
|
|
827
|
+
clear_sorting: string;
|
|
828
|
+
sort_a_z: string;
|
|
829
|
+
sort_z_a: string;
|
|
830
|
+
reach_us_at_email: string;
|
|
831
|
+
please_wait: string;
|
|
832
|
+
feature_coming_soon: string;
|
|
833
|
+
feature_coming_soon_description: string;
|
|
834
|
+
beta: string;
|
|
835
|
+
download_all: string;
|
|
836
|
+
entry_forms: string;
|
|
837
|
+
tutorial: string;
|
|
838
|
+
liveness_video: string;
|
|
839
|
+
reviews: string;
|
|
840
|
+
learn_more: string;
|
|
841
|
+
};
|
|
842
|
+
readonly de: {
|
|
843
|
+
verified: string;
|
|
844
|
+
iv_status: {
|
|
845
|
+
verified: string;
|
|
846
|
+
pending: string;
|
|
847
|
+
attention: string;
|
|
848
|
+
};
|
|
849
|
+
zoom_in: string;
|
|
850
|
+
zoom_out: string;
|
|
851
|
+
rotate: string;
|
|
852
|
+
close: string;
|
|
853
|
+
esc_to_close: string;
|
|
854
|
+
play: string;
|
|
855
|
+
pause: string;
|
|
856
|
+
mute: string;
|
|
857
|
+
unmute: string;
|
|
858
|
+
enter_full_screen: string;
|
|
859
|
+
exit_full_screen: string;
|
|
860
|
+
video_not_supported: string;
|
|
861
|
+
skip_forward: string;
|
|
862
|
+
skip_backward: string;
|
|
863
|
+
loading: string;
|
|
864
|
+
loading_video: string;
|
|
865
|
+
loading_data_description: string;
|
|
866
|
+
no_results: string;
|
|
867
|
+
nothing_found: string;
|
|
868
|
+
save_changes: string;
|
|
869
|
+
saved_exclamation: string;
|
|
870
|
+
saving: string;
|
|
871
|
+
validating: string;
|
|
872
|
+
error: string;
|
|
873
|
+
optional: string;
|
|
874
|
+
search_property: string;
|
|
875
|
+
reset_search: string;
|
|
876
|
+
no_items_to_show: string;
|
|
877
|
+
showing_range_of_total_items: string;
|
|
878
|
+
rows_per_page: string;
|
|
879
|
+
page_of_pages: string;
|
|
880
|
+
go_to_first_page: string;
|
|
881
|
+
go_to_previous_page: string;
|
|
882
|
+
go_to_next_page: string;
|
|
883
|
+
go_to_last_page: string;
|
|
884
|
+
sort_in_asc: string;
|
|
885
|
+
sort_in_desc: string;
|
|
886
|
+
clear_sorting: string;
|
|
887
|
+
sort_a_z: string;
|
|
888
|
+
sort_z_a: string;
|
|
889
|
+
reach_us_at_email: string;
|
|
890
|
+
please_wait: string;
|
|
891
|
+
feature_coming_soon: string;
|
|
892
|
+
feature_coming_soon_description: string;
|
|
893
|
+
beta: string;
|
|
894
|
+
download_all: string;
|
|
895
|
+
entry_forms: string;
|
|
896
|
+
tutorial: string;
|
|
897
|
+
liveness_video: string;
|
|
898
|
+
reviews: string;
|
|
899
|
+
learn_more: string;
|
|
900
|
+
};
|
|
901
|
+
readonly it: {
|
|
902
|
+
verified: string;
|
|
903
|
+
iv_status: {
|
|
904
|
+
verified: string;
|
|
905
|
+
pending: string;
|
|
906
|
+
attention: string;
|
|
907
|
+
};
|
|
908
|
+
zoom_in: string;
|
|
909
|
+
zoom_out: string;
|
|
910
|
+
rotate: string;
|
|
911
|
+
close: string;
|
|
912
|
+
esc_to_close: string;
|
|
913
|
+
play: string;
|
|
914
|
+
pause: string;
|
|
915
|
+
mute: string;
|
|
916
|
+
unmute: string;
|
|
917
|
+
enter_full_screen: string;
|
|
918
|
+
exit_full_screen: string;
|
|
919
|
+
video_not_supported: string;
|
|
920
|
+
skip_forward: string;
|
|
921
|
+
skip_backward: string;
|
|
922
|
+
loading: string;
|
|
923
|
+
loading_video: string;
|
|
924
|
+
loading_data_description: string;
|
|
925
|
+
no_results: string;
|
|
926
|
+
nothing_found: string;
|
|
927
|
+
save_changes: string;
|
|
928
|
+
saved_exclamation: string;
|
|
929
|
+
saving: string;
|
|
930
|
+
validating: string;
|
|
931
|
+
error: string;
|
|
932
|
+
optional: string;
|
|
933
|
+
search_property: string;
|
|
934
|
+
reset_search: string;
|
|
935
|
+
no_items_to_show: string;
|
|
936
|
+
showing_range_of_total_items: string;
|
|
937
|
+
rows_per_page: string;
|
|
938
|
+
page_of_pages: string;
|
|
939
|
+
go_to_first_page: string;
|
|
940
|
+
go_to_previous_page: string;
|
|
941
|
+
go_to_next_page: string;
|
|
942
|
+
go_to_last_page: string;
|
|
943
|
+
sort_in_asc: string;
|
|
944
|
+
sort_in_desc: string;
|
|
945
|
+
clear_sorting: string;
|
|
946
|
+
sort_a_z: string;
|
|
947
|
+
sort_z_a: string;
|
|
948
|
+
reach_us_at_email: string;
|
|
949
|
+
please_wait: string;
|
|
950
|
+
feature_coming_soon: string;
|
|
951
|
+
feature_coming_soon_description: string;
|
|
952
|
+
beta: string;
|
|
953
|
+
download_all: string;
|
|
954
|
+
entry_forms: string;
|
|
955
|
+
tutorial: string;
|
|
956
|
+
liveness_video: string;
|
|
957
|
+
reviews: string;
|
|
958
|
+
learn_more: string;
|
|
959
|
+
};
|
|
960
|
+
readonly pt: {
|
|
961
|
+
verified: string;
|
|
962
|
+
iv_status: {
|
|
963
|
+
verified: string;
|
|
964
|
+
pending: string;
|
|
965
|
+
attention: string;
|
|
966
|
+
};
|
|
967
|
+
zoom_in: string;
|
|
968
|
+
zoom_out: string;
|
|
969
|
+
rotate: string;
|
|
970
|
+
close: string;
|
|
971
|
+
esc_to_close: string;
|
|
972
|
+
play: string;
|
|
973
|
+
pause: string;
|
|
974
|
+
mute: string;
|
|
975
|
+
unmute: string;
|
|
976
|
+
enter_full_screen: string;
|
|
977
|
+
exit_full_screen: string;
|
|
978
|
+
video_not_supported: string;
|
|
979
|
+
skip_forward: string;
|
|
980
|
+
skip_backward: string;
|
|
981
|
+
loading: string;
|
|
982
|
+
loading_video: string;
|
|
983
|
+
loading_data_description: string;
|
|
984
|
+
no_results: string;
|
|
985
|
+
nothing_found: string;
|
|
986
|
+
save_changes: string;
|
|
987
|
+
saved_exclamation: string;
|
|
988
|
+
saving: string;
|
|
989
|
+
validating: string;
|
|
990
|
+
error: string;
|
|
991
|
+
optional: string;
|
|
992
|
+
search_property: string;
|
|
993
|
+
reset_search: string;
|
|
994
|
+
no_items_to_show: string;
|
|
995
|
+
showing_range_of_total_items: string;
|
|
996
|
+
rows_per_page: string;
|
|
997
|
+
page_of_pages: string;
|
|
998
|
+
go_to_first_page: string;
|
|
999
|
+
go_to_previous_page: string;
|
|
1000
|
+
go_to_next_page: string;
|
|
1001
|
+
go_to_last_page: string;
|
|
1002
|
+
sort_in_asc: string;
|
|
1003
|
+
sort_in_desc: string;
|
|
1004
|
+
clear_sorting: string;
|
|
1005
|
+
sort_a_z: string;
|
|
1006
|
+
sort_z_a: string;
|
|
1007
|
+
reach_us_at_email: string;
|
|
1008
|
+
please_wait: string;
|
|
1009
|
+
feature_coming_soon: string;
|
|
1010
|
+
feature_coming_soon_description: string;
|
|
1011
|
+
beta: string;
|
|
1012
|
+
download_all: string;
|
|
1013
|
+
entry_forms: string;
|
|
1014
|
+
tutorial: string;
|
|
1015
|
+
liveness_video: string;
|
|
1016
|
+
reviews: string;
|
|
1017
|
+
learn_more: string;
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
declare const uiKitI18nResources: {
|
|
1021
|
+
readonly en: {
|
|
1022
|
+
readonly translation: {
|
|
1023
|
+
verified: string;
|
|
1024
|
+
iv_status: {
|
|
1025
|
+
verified: string;
|
|
1026
|
+
pending: string;
|
|
1027
|
+
attention: string;
|
|
1028
|
+
};
|
|
1029
|
+
zoom_in: string;
|
|
1030
|
+
zoom_out: string;
|
|
1031
|
+
rotate: string;
|
|
1032
|
+
close: string;
|
|
1033
|
+
esc_to_close: string;
|
|
1034
|
+
play: string;
|
|
1035
|
+
pause: string;
|
|
1036
|
+
mute: string;
|
|
1037
|
+
unmute: string;
|
|
1038
|
+
enter_full_screen: string;
|
|
1039
|
+
exit_full_screen: string;
|
|
1040
|
+
video_not_supported: string;
|
|
1041
|
+
skip_forward: string;
|
|
1042
|
+
skip_backward: string;
|
|
1043
|
+
loading: string;
|
|
1044
|
+
loading_video: string;
|
|
1045
|
+
loading_data_description: string;
|
|
1046
|
+
no_results: string;
|
|
1047
|
+
nothing_found: string;
|
|
1048
|
+
save_changes: string;
|
|
1049
|
+
saved_exclamation: string;
|
|
1050
|
+
saving: string;
|
|
1051
|
+
validating: string;
|
|
1052
|
+
error: string;
|
|
1053
|
+
optional: string;
|
|
1054
|
+
search_property: string;
|
|
1055
|
+
reset_search: string;
|
|
1056
|
+
no_items_to_show: string;
|
|
1057
|
+
showing_range_of_total_items: string;
|
|
1058
|
+
rows_per_page: string;
|
|
1059
|
+
page_of_pages: string;
|
|
1060
|
+
go_to_first_page: string;
|
|
1061
|
+
go_to_previous_page: string;
|
|
1062
|
+
go_to_next_page: string;
|
|
1063
|
+
go_to_last_page: string;
|
|
1064
|
+
sort_in_asc: string;
|
|
1065
|
+
sort_in_desc: string;
|
|
1066
|
+
sort_a_z: string;
|
|
1067
|
+
sort_z_a: string;
|
|
1068
|
+
clear_sorting: string;
|
|
1069
|
+
reach_us_at_email: string;
|
|
1070
|
+
please_wait: string;
|
|
1071
|
+
feature_coming_soon: string;
|
|
1072
|
+
feature_coming_soon_description: string;
|
|
1073
|
+
download_all: string;
|
|
1074
|
+
entry_forms: string;
|
|
1075
|
+
tutorial: string;
|
|
1076
|
+
liveness_video: string;
|
|
1077
|
+
beta: string;
|
|
1078
|
+
reviews: string;
|
|
1079
|
+
learn_more: string;
|
|
1080
|
+
};
|
|
1081
|
+
};
|
|
1082
|
+
readonly es: {
|
|
1083
|
+
readonly translation: {
|
|
1084
|
+
verified: string;
|
|
1085
|
+
iv_status: {
|
|
1086
|
+
verified: string;
|
|
1087
|
+
pending: string;
|
|
1088
|
+
attention: string;
|
|
1089
|
+
};
|
|
1090
|
+
zoom_in: string;
|
|
1091
|
+
zoom_out: string;
|
|
1092
|
+
rotate: string;
|
|
1093
|
+
close: string;
|
|
1094
|
+
esc_to_close: string;
|
|
1095
|
+
play: string;
|
|
1096
|
+
pause: string;
|
|
1097
|
+
mute: string;
|
|
1098
|
+
unmute: string;
|
|
1099
|
+
enter_full_screen: string;
|
|
1100
|
+
exit_full_screen: string;
|
|
1101
|
+
video_not_supported: string;
|
|
1102
|
+
skip_forward: string;
|
|
1103
|
+
skip_backward: string;
|
|
1104
|
+
loading: string;
|
|
1105
|
+
loading_video: string;
|
|
1106
|
+
loading_data_description: string;
|
|
1107
|
+
no_results: string;
|
|
1108
|
+
nothing_found: string;
|
|
1109
|
+
save_changes: string;
|
|
1110
|
+
saved_exclamation: string;
|
|
1111
|
+
saving: string;
|
|
1112
|
+
validating: string;
|
|
1113
|
+
error: string;
|
|
1114
|
+
optional: string;
|
|
1115
|
+
search_property: string;
|
|
1116
|
+
reset_search: string;
|
|
1117
|
+
no_items_to_show: string;
|
|
1118
|
+
showing_range_of_total_items: string;
|
|
1119
|
+
rows_per_page: string;
|
|
1120
|
+
page_of_pages: string;
|
|
1121
|
+
go_to_first_page: string;
|
|
1122
|
+
go_to_previous_page: string;
|
|
1123
|
+
go_to_next_page: string;
|
|
1124
|
+
go_to_last_page: string;
|
|
1125
|
+
sort_in_asc: string;
|
|
1126
|
+
sort_in_desc: string;
|
|
1127
|
+
clear_sorting: string;
|
|
1128
|
+
sort_a_z: string;
|
|
1129
|
+
sort_z_a: string;
|
|
1130
|
+
reach_us_at_email: string;
|
|
1131
|
+
please_wait: string;
|
|
1132
|
+
feature_coming_soon: string;
|
|
1133
|
+
feature_coming_soon_description: string;
|
|
1134
|
+
beta: string;
|
|
1135
|
+
download_all: string;
|
|
1136
|
+
entry_forms: string;
|
|
1137
|
+
tutorial: string;
|
|
1138
|
+
liveness_video: string;
|
|
1139
|
+
reviews: string;
|
|
1140
|
+
learn_more: string;
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
readonly fr: {
|
|
1144
|
+
readonly translation: {
|
|
1145
|
+
verified: string;
|
|
1146
|
+
iv_status: {
|
|
1147
|
+
verified: string;
|
|
1148
|
+
pending: string;
|
|
1149
|
+
attention: string;
|
|
1150
|
+
};
|
|
1151
|
+
zoom_in: string;
|
|
1152
|
+
zoom_out: string;
|
|
1153
|
+
rotate: string;
|
|
1154
|
+
close: string;
|
|
1155
|
+
esc_to_close: string;
|
|
1156
|
+
play: string;
|
|
1157
|
+
pause: string;
|
|
1158
|
+
mute: string;
|
|
1159
|
+
unmute: string;
|
|
1160
|
+
enter_full_screen: string;
|
|
1161
|
+
exit_full_screen: string;
|
|
1162
|
+
video_not_supported: string;
|
|
1163
|
+
skip_forward: string;
|
|
1164
|
+
skip_backward: string;
|
|
1165
|
+
loading: string;
|
|
1166
|
+
loading_video: string;
|
|
1167
|
+
loading_data_description: string;
|
|
1168
|
+
no_results: string;
|
|
1169
|
+
nothing_found: string;
|
|
1170
|
+
save_changes: string;
|
|
1171
|
+
saved_exclamation: string;
|
|
1172
|
+
saving: string;
|
|
1173
|
+
validating: string;
|
|
1174
|
+
error: string;
|
|
1175
|
+
optional: string;
|
|
1176
|
+
search_property: string;
|
|
1177
|
+
reset_search: string;
|
|
1178
|
+
no_items_to_show: string;
|
|
1179
|
+
showing_range_of_total_items: string;
|
|
1180
|
+
rows_per_page: string;
|
|
1181
|
+
page_of_pages: string;
|
|
1182
|
+
go_to_first_page: string;
|
|
1183
|
+
go_to_previous_page: string;
|
|
1184
|
+
go_to_next_page: string;
|
|
1185
|
+
go_to_last_page: string;
|
|
1186
|
+
sort_in_asc: string;
|
|
1187
|
+
sort_in_desc: string;
|
|
1188
|
+
clear_sorting: string;
|
|
1189
|
+
sort_a_z: string;
|
|
1190
|
+
sort_z_a: string;
|
|
1191
|
+
reach_us_at_email: string;
|
|
1192
|
+
please_wait: string;
|
|
1193
|
+
feature_coming_soon: string;
|
|
1194
|
+
feature_coming_soon_description: string;
|
|
1195
|
+
beta: string;
|
|
1196
|
+
download_all: string;
|
|
1197
|
+
entry_forms: string;
|
|
1198
|
+
tutorial: string;
|
|
1199
|
+
liveness_video: string;
|
|
1200
|
+
reviews: string;
|
|
1201
|
+
learn_more: string;
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
readonly de: {
|
|
1205
|
+
readonly translation: {
|
|
1206
|
+
verified: string;
|
|
1207
|
+
iv_status: {
|
|
1208
|
+
verified: string;
|
|
1209
|
+
pending: string;
|
|
1210
|
+
attention: string;
|
|
1211
|
+
};
|
|
1212
|
+
zoom_in: string;
|
|
1213
|
+
zoom_out: string;
|
|
1214
|
+
rotate: string;
|
|
1215
|
+
close: string;
|
|
1216
|
+
esc_to_close: string;
|
|
1217
|
+
play: string;
|
|
1218
|
+
pause: string;
|
|
1219
|
+
mute: string;
|
|
1220
|
+
unmute: string;
|
|
1221
|
+
enter_full_screen: string;
|
|
1222
|
+
exit_full_screen: string;
|
|
1223
|
+
video_not_supported: string;
|
|
1224
|
+
skip_forward: string;
|
|
1225
|
+
skip_backward: string;
|
|
1226
|
+
loading: string;
|
|
1227
|
+
loading_video: string;
|
|
1228
|
+
loading_data_description: string;
|
|
1229
|
+
no_results: string;
|
|
1230
|
+
nothing_found: string;
|
|
1231
|
+
save_changes: string;
|
|
1232
|
+
saved_exclamation: string;
|
|
1233
|
+
saving: string;
|
|
1234
|
+
validating: string;
|
|
1235
|
+
error: string;
|
|
1236
|
+
optional: string;
|
|
1237
|
+
search_property: string;
|
|
1238
|
+
reset_search: string;
|
|
1239
|
+
no_items_to_show: string;
|
|
1240
|
+
showing_range_of_total_items: string;
|
|
1241
|
+
rows_per_page: string;
|
|
1242
|
+
page_of_pages: string;
|
|
1243
|
+
go_to_first_page: string;
|
|
1244
|
+
go_to_previous_page: string;
|
|
1245
|
+
go_to_next_page: string;
|
|
1246
|
+
go_to_last_page: string;
|
|
1247
|
+
sort_in_asc: string;
|
|
1248
|
+
sort_in_desc: string;
|
|
1249
|
+
clear_sorting: string;
|
|
1250
|
+
sort_a_z: string;
|
|
1251
|
+
sort_z_a: string;
|
|
1252
|
+
reach_us_at_email: string;
|
|
1253
|
+
please_wait: string;
|
|
1254
|
+
feature_coming_soon: string;
|
|
1255
|
+
feature_coming_soon_description: string;
|
|
1256
|
+
beta: string;
|
|
1257
|
+
download_all: string;
|
|
1258
|
+
entry_forms: string;
|
|
1259
|
+
tutorial: string;
|
|
1260
|
+
liveness_video: string;
|
|
1261
|
+
reviews: string;
|
|
1262
|
+
learn_more: string;
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1265
|
+
readonly it: {
|
|
1266
|
+
readonly translation: {
|
|
1267
|
+
verified: string;
|
|
1268
|
+
iv_status: {
|
|
1269
|
+
verified: string;
|
|
1270
|
+
pending: string;
|
|
1271
|
+
attention: string;
|
|
1272
|
+
};
|
|
1273
|
+
zoom_in: string;
|
|
1274
|
+
zoom_out: string;
|
|
1275
|
+
rotate: string;
|
|
1276
|
+
close: string;
|
|
1277
|
+
esc_to_close: string;
|
|
1278
|
+
play: string;
|
|
1279
|
+
pause: string;
|
|
1280
|
+
mute: string;
|
|
1281
|
+
unmute: string;
|
|
1282
|
+
enter_full_screen: string;
|
|
1283
|
+
exit_full_screen: string;
|
|
1284
|
+
video_not_supported: string;
|
|
1285
|
+
skip_forward: string;
|
|
1286
|
+
skip_backward: string;
|
|
1287
|
+
loading: string;
|
|
1288
|
+
loading_video: string;
|
|
1289
|
+
loading_data_description: string;
|
|
1290
|
+
no_results: string;
|
|
1291
|
+
nothing_found: string;
|
|
1292
|
+
save_changes: string;
|
|
1293
|
+
saved_exclamation: string;
|
|
1294
|
+
saving: string;
|
|
1295
|
+
validating: string;
|
|
1296
|
+
error: string;
|
|
1297
|
+
optional: string;
|
|
1298
|
+
search_property: string;
|
|
1299
|
+
reset_search: string;
|
|
1300
|
+
no_items_to_show: string;
|
|
1301
|
+
showing_range_of_total_items: string;
|
|
1302
|
+
rows_per_page: string;
|
|
1303
|
+
page_of_pages: string;
|
|
1304
|
+
go_to_first_page: string;
|
|
1305
|
+
go_to_previous_page: string;
|
|
1306
|
+
go_to_next_page: string;
|
|
1307
|
+
go_to_last_page: string;
|
|
1308
|
+
sort_in_asc: string;
|
|
1309
|
+
sort_in_desc: string;
|
|
1310
|
+
clear_sorting: string;
|
|
1311
|
+
sort_a_z: string;
|
|
1312
|
+
sort_z_a: string;
|
|
1313
|
+
reach_us_at_email: string;
|
|
1314
|
+
please_wait: string;
|
|
1315
|
+
feature_coming_soon: string;
|
|
1316
|
+
feature_coming_soon_description: string;
|
|
1317
|
+
beta: string;
|
|
1318
|
+
download_all: string;
|
|
1319
|
+
entry_forms: string;
|
|
1320
|
+
tutorial: string;
|
|
1321
|
+
liveness_video: string;
|
|
1322
|
+
reviews: string;
|
|
1323
|
+
learn_more: string;
|
|
1324
|
+
};
|
|
1325
|
+
};
|
|
1326
|
+
readonly pt: {
|
|
1327
|
+
readonly translation: {
|
|
1328
|
+
verified: string;
|
|
1329
|
+
iv_status: {
|
|
1330
|
+
verified: string;
|
|
1331
|
+
pending: string;
|
|
1332
|
+
attention: string;
|
|
1333
|
+
};
|
|
1334
|
+
zoom_in: string;
|
|
1335
|
+
zoom_out: string;
|
|
1336
|
+
rotate: string;
|
|
1337
|
+
close: string;
|
|
1338
|
+
esc_to_close: string;
|
|
1339
|
+
play: string;
|
|
1340
|
+
pause: string;
|
|
1341
|
+
mute: string;
|
|
1342
|
+
unmute: string;
|
|
1343
|
+
enter_full_screen: string;
|
|
1344
|
+
exit_full_screen: string;
|
|
1345
|
+
video_not_supported: string;
|
|
1346
|
+
skip_forward: string;
|
|
1347
|
+
skip_backward: string;
|
|
1348
|
+
loading: string;
|
|
1349
|
+
loading_video: string;
|
|
1350
|
+
loading_data_description: string;
|
|
1351
|
+
no_results: string;
|
|
1352
|
+
nothing_found: string;
|
|
1353
|
+
save_changes: string;
|
|
1354
|
+
saved_exclamation: string;
|
|
1355
|
+
saving: string;
|
|
1356
|
+
validating: string;
|
|
1357
|
+
error: string;
|
|
1358
|
+
optional: string;
|
|
1359
|
+
search_property: string;
|
|
1360
|
+
reset_search: string;
|
|
1361
|
+
no_items_to_show: string;
|
|
1362
|
+
showing_range_of_total_items: string;
|
|
1363
|
+
rows_per_page: string;
|
|
1364
|
+
page_of_pages: string;
|
|
1365
|
+
go_to_first_page: string;
|
|
1366
|
+
go_to_previous_page: string;
|
|
1367
|
+
go_to_next_page: string;
|
|
1368
|
+
go_to_last_page: string;
|
|
1369
|
+
sort_in_asc: string;
|
|
1370
|
+
sort_in_desc: string;
|
|
1371
|
+
clear_sorting: string;
|
|
1372
|
+
sort_a_z: string;
|
|
1373
|
+
sort_z_a: string;
|
|
1374
|
+
reach_us_at_email: string;
|
|
1375
|
+
please_wait: string;
|
|
1376
|
+
feature_coming_soon: string;
|
|
1377
|
+
feature_coming_soon_description: string;
|
|
1378
|
+
beta: string;
|
|
1379
|
+
download_all: string;
|
|
1380
|
+
entry_forms: string;
|
|
1381
|
+
tutorial: string;
|
|
1382
|
+
liveness_video: string;
|
|
1383
|
+
reviews: string;
|
|
1384
|
+
learn_more: string;
|
|
1385
|
+
};
|
|
1386
|
+
};
|
|
1387
|
+
};
|
|
1388
|
+
type UiKitLocale = keyof typeof uiKitTranslations;
|
|
1389
|
+
|
|
1390
|
+
declare const IV_BADGE_STATUS: {
|
|
1391
|
+
readonly completed: "completed";
|
|
1392
|
+
readonly pending: "pending";
|
|
1393
|
+
readonly failed: "failed";
|
|
1394
|
+
};
|
|
1395
|
+
type GuestVerificationStatus = (typeof IV_BADGE_STATUS)[keyof typeof IV_BADGE_STATUS];
|
|
1396
|
+
interface IVStatusBadgeProps {
|
|
1397
|
+
status: GuestVerificationStatus;
|
|
1398
|
+
size?: 'sm' | 'md';
|
|
1399
|
+
className?: string;
|
|
1400
|
+
}
|
|
1401
|
+
declare function IVStatusBadge({ status, size, className }: IVStatusBadgeProps): react_jsx_runtime.JSX.Element | null;
|
|
1402
|
+
|
|
1403
|
+
declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1404
|
+
type LabelProps = React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants>;
|
|
1405
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1406
|
+
|
|
1407
|
+
type LargeModalProps = {
|
|
1408
|
+
open?: boolean;
|
|
1409
|
+
onOpenChange?: (open: boolean) => void;
|
|
1410
|
+
header?: string | ReactNode;
|
|
1411
|
+
subHeader?: string | ReactNode;
|
|
1412
|
+
children?: ReactNode;
|
|
1413
|
+
footer?: ReactNode;
|
|
1414
|
+
screenReaderText?: string;
|
|
1415
|
+
withCloseButton?: boolean;
|
|
1416
|
+
closeOnDocumentClick?: boolean;
|
|
1417
|
+
closeOnEscape?: boolean;
|
|
1418
|
+
container?: HTMLElement;
|
|
1419
|
+
className?: string;
|
|
1420
|
+
allowContentOverflow?: boolean;
|
|
1421
|
+
};
|
|
1422
|
+
declare function LargeModal({ open, onOpenChange, children, header, subHeader, screenReaderText, className, footer, container, withCloseButton, closeOnDocumentClick, closeOnEscape, allowContentOverflow, }: LargeModalProps): react_jsx_runtime.JSX.Element;
|
|
1423
|
+
|
|
1424
|
+
type LearnMoreButtonProps = Omit<ButtonProps, 'children'> & {
|
|
1425
|
+
label?: string;
|
|
1426
|
+
};
|
|
1427
|
+
declare function LearnMoreButton({ label, ...props }: LearnMoreButtonProps): react_jsx_runtime.JSX.Element;
|
|
1428
|
+
|
|
1429
|
+
interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1430
|
+
disabled?: boolean;
|
|
1431
|
+
}
|
|
1432
|
+
declare const Link: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<LinkProps & React$1.RefAttributes<HTMLAnchorElement>>>;
|
|
1433
|
+
|
|
1434
|
+
interface ImageFullScreenViewProps {
|
|
1435
|
+
src: string;
|
|
1436
|
+
alt: string;
|
|
1437
|
+
onClose: () => void;
|
|
1438
|
+
}
|
|
1439
|
+
declare function ImageFullScreenView({ src, alt, onClose }: ImageFullScreenViewProps): react_jsx_runtime.JSX.Element;
|
|
1440
|
+
|
|
1441
|
+
type LoadingBarProps = {
|
|
1442
|
+
className?: string;
|
|
1443
|
+
};
|
|
1444
|
+
declare function LoadingBar({ className }: LoadingBarProps): react_jsx_runtime.JSX.Element;
|
|
1445
|
+
|
|
1446
|
+
interface LoaderProps {
|
|
1447
|
+
size?: 'sm' | 'md' | 'lg';
|
|
1448
|
+
text?: string;
|
|
1449
|
+
className?: string;
|
|
1450
|
+
showText?: boolean;
|
|
1451
|
+
variant?: 'primary' | 'secondary' | 'ghost';
|
|
1452
|
+
}
|
|
1453
|
+
declare function Loader({ size, text, className, showText, variant, }: LoaderProps): react_jsx_runtime.JSX.Element;
|
|
1454
|
+
|
|
1455
|
+
type ValueOf<T> = T[keyof T];
|
|
1456
|
+
|
|
1457
|
+
declare const METRIC_CARD_VARIANTS: {
|
|
1458
|
+
readonly blue: "blue";
|
|
1459
|
+
readonly green: "green";
|
|
1460
|
+
readonly orange: "orange";
|
|
1461
|
+
readonly purple: "purple";
|
|
1462
|
+
readonly yellow: "yellow";
|
|
1463
|
+
};
|
|
1464
|
+
type METRIC_CARD_VARIANTS = ValueOf<typeof METRIC_CARD_VARIANTS>;
|
|
1465
|
+
|
|
1466
|
+
type MetricCardProps = {
|
|
1467
|
+
title: string;
|
|
1468
|
+
value: string | number;
|
|
1469
|
+
icon: ReactNode;
|
|
1470
|
+
variant: METRIC_CARD_VARIANTS;
|
|
1471
|
+
tooltip?: string;
|
|
1472
|
+
percentage?: number;
|
|
1473
|
+
loading?: boolean;
|
|
1474
|
+
className?: string;
|
|
1475
|
+
};
|
|
1476
|
+
declare function MetricCard({ title, value, icon, variant, tooltip, percentage, loading, className, }: MetricCardProps): react_jsx_runtime.JSX.Element;
|
|
1477
|
+
|
|
1478
|
+
type Text = {
|
|
1479
|
+
title?: string | ReactNode;
|
|
1480
|
+
text?: string | ReactNode;
|
|
1481
|
+
};
|
|
1482
|
+
type Icon = {
|
|
1483
|
+
iconSrc?: string;
|
|
1484
|
+
iconAlt?: string;
|
|
1485
|
+
iconProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
1486
|
+
};
|
|
1487
|
+
type Buttons = {
|
|
1488
|
+
buttons?: ReactNode;
|
|
1489
|
+
};
|
|
1490
|
+
type Close = {
|
|
1491
|
+
withCloseButton?: boolean;
|
|
1492
|
+
closeOnDocumentClick?: boolean;
|
|
1493
|
+
closeOnEscape?: boolean;
|
|
1494
|
+
};
|
|
1495
|
+
type ModalProps = {
|
|
1496
|
+
open?: boolean;
|
|
1497
|
+
modal?: boolean;
|
|
1498
|
+
onOpenChange?: (open: boolean) => void;
|
|
1499
|
+
onClose?: () => void;
|
|
1500
|
+
children?: ReactNode;
|
|
1501
|
+
className?: string;
|
|
1502
|
+
lockScroll?: boolean;
|
|
1503
|
+
scrollableOverlay?: boolean;
|
|
1504
|
+
container?: HTMLElement;
|
|
1505
|
+
} & Close & Text & Icon & Buttons;
|
|
1506
|
+
declare function Modal({ open, onOpenChange, onClose, children, withCloseButton, closeOnDocumentClick, closeOnEscape, scrollableOverlay, className, title, text, iconSrc, iconAlt, iconProps, buttons, lockScroll, container, modal, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
1507
|
+
declare namespace Modal {
|
|
1508
|
+
var displayName: string;
|
|
1509
|
+
}
|
|
1510
|
+
declare const ModalButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1511
|
+
|
|
1512
|
+
interface ModalLoaderProps {
|
|
1513
|
+
visible?: boolean;
|
|
1514
|
+
className?: string;
|
|
1515
|
+
}
|
|
1516
|
+
declare const ModalLoader: React$1.MemoExoticComponent<({ visible, className }: ModalLoaderProps) => react_jsx_runtime.JSX.Element>;
|
|
1517
|
+
|
|
1518
|
+
interface OverlayLoaderProps {
|
|
1519
|
+
isLoading: boolean;
|
|
1520
|
+
children: ReactNode;
|
|
1521
|
+
loaderSize?: LoaderProps['size'];
|
|
1522
|
+
loaderText?: string;
|
|
1523
|
+
showText?: boolean;
|
|
1524
|
+
loaderVariant?: LoaderProps['variant'];
|
|
1525
|
+
className?: string;
|
|
1526
|
+
overlayClassName?: string;
|
|
1527
|
+
}
|
|
1528
|
+
declare function OverlayLoader({ isLoading, children, loaderSize, loaderText, showText, loaderVariant, className, overlayClassName, }: OverlayLoaderProps): react_jsx_runtime.JSX.Element;
|
|
1529
|
+
|
|
1530
|
+
type PageLoaderProps = LoaderProps & {
|
|
1531
|
+
className?: string;
|
|
1532
|
+
description?: string;
|
|
1533
|
+
};
|
|
1534
|
+
declare function PageLoader({ className, description, ...props }: PageLoaderProps): react_jsx_runtime.JSX.Element;
|
|
1535
|
+
|
|
1536
|
+
type PaginationVariant = 'default' | 'simple';
|
|
1537
|
+
type PaginationProps = {
|
|
1538
|
+
variant?: PaginationVariant;
|
|
1539
|
+
onPageChange: (page: number) => void;
|
|
1540
|
+
onPageSizeChange: (size: number) => void;
|
|
1541
|
+
pages: number;
|
|
1542
|
+
showPageSizeSelector?: boolean;
|
|
1543
|
+
page: number;
|
|
1544
|
+
pageSize?: number;
|
|
1545
|
+
totalItems?: number;
|
|
1546
|
+
className?: string;
|
|
1547
|
+
};
|
|
1548
|
+
declare function Pagination({ page, pages, showPageSizeSelector, variant, onPageChange, pageSize, onPageSizeChange, totalItems, className, }: PaginationProps): react_jsx_runtime.JSX.Element | null;
|
|
1549
|
+
|
|
1550
|
+
declare const Popover: React$1.FC<RadixPopover.PopoverProps>;
|
|
1551
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<RadixPopover.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1552
|
+
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<RadixPopover.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1553
|
+
declare const PopoverPortal: React$1.FC<RadixPopover.PopoverPortalProps>;
|
|
1554
|
+
declare const PopoverClose: React$1.ForwardRefExoticComponent<RadixPopover.PopoverCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1555
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<RadixPopover.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1556
|
+
|
|
1557
|
+
interface RadioOption<V = string, D = unknown> {
|
|
1558
|
+
label: string;
|
|
1559
|
+
value: V;
|
|
1560
|
+
selected?: boolean;
|
|
1561
|
+
disabled?: boolean;
|
|
1562
|
+
data?: D;
|
|
1563
|
+
}
|
|
1564
|
+
interface RadioProps<V = string, D = unknown> {
|
|
1565
|
+
options: RadioOption<V, D>[];
|
|
1566
|
+
value?: RadioOption<V, D> | RadioOption<V, D>['value'];
|
|
1567
|
+
className?: string;
|
|
1568
|
+
disabled?: boolean;
|
|
1569
|
+
error?: string;
|
|
1570
|
+
onChange: (option: RadioOption<V, D>) => void;
|
|
1571
|
+
renderOption?: (props: {
|
|
1572
|
+
option: RadioOption<V, D>;
|
|
1573
|
+
isSelected: boolean;
|
|
1574
|
+
}) => React.ReactNode;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
declare const Radio: React$1.ForwardRefExoticComponent<RadioProps<string, unknown> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1578
|
+
|
|
1579
|
+
declare function RadioWithBorder({ ...props }: RadioProps): react_jsx_runtime.JSX.Element;
|
|
1580
|
+
|
|
1581
|
+
interface UseRadioOptionsProps {
|
|
1582
|
+
options: RadioOption[];
|
|
1583
|
+
defaultValue?: RadioOption | RadioOption['value'];
|
|
1584
|
+
onChange?: (selectedOption: RadioOption) => void;
|
|
1585
|
+
}
|
|
1586
|
+
declare function useRadioOptions({ options, defaultValue, onChange }: UseRadioOptionsProps): {
|
|
1587
|
+
selectedValue: string | RadioOption<string, unknown>;
|
|
1588
|
+
handleValueChange: (value: RadioOption["value"]) => void;
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1591
|
+
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1592
|
+
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1593
|
+
|
|
1594
|
+
type RatingProgressProps = {
|
|
1595
|
+
label: string;
|
|
1596
|
+
score: number;
|
|
1597
|
+
maxScore?: number;
|
|
1598
|
+
className?: string;
|
|
1599
|
+
};
|
|
1600
|
+
declare function RatingProgress({ label, score, maxScore, className, }: RatingProgressProps): react_jsx_runtime.JSX.Element;
|
|
1601
|
+
|
|
1602
|
+
type Option = {
|
|
1603
|
+
label: string;
|
|
1604
|
+
value: number;
|
|
1605
|
+
};
|
|
1606
|
+
type RatingRadioGroupProps = {
|
|
1607
|
+
value?: number;
|
|
1608
|
+
onChange?: (value: number) => void;
|
|
1609
|
+
label?: ReactNode;
|
|
1610
|
+
disabled?: boolean;
|
|
1611
|
+
name?: string;
|
|
1612
|
+
className?: string;
|
|
1613
|
+
options: Option[];
|
|
1614
|
+
};
|
|
1615
|
+
declare function RatingRadioGroup({ value, onChange, label, name, className, options, }: RatingRadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
1616
|
+
|
|
1617
|
+
type RatingStarsProps = {
|
|
1618
|
+
rating: number;
|
|
1619
|
+
maxRating?: number;
|
|
1620
|
+
size?: number;
|
|
1621
|
+
showText?: boolean;
|
|
1622
|
+
reviewCount?: number;
|
|
1623
|
+
reviewsLabel?: string;
|
|
1624
|
+
description?: string;
|
|
1625
|
+
className?: string;
|
|
1626
|
+
starClassName?: string;
|
|
1627
|
+
filledColor?: string;
|
|
1628
|
+
emptyColor?: string;
|
|
1629
|
+
};
|
|
1630
|
+
declare function RatingStars({ rating, maxRating, size, showText, reviewCount, reviewsLabel, description, className, starClassName, filledColor, emptyColor, }: RatingStarsProps): react_jsx_runtime.JSX.Element;
|
|
1631
|
+
|
|
1632
|
+
type RotateIconProps = {
|
|
1633
|
+
active: boolean;
|
|
1634
|
+
className?: string;
|
|
1635
|
+
};
|
|
1636
|
+
declare function RotateIcon({ active, className }: RotateIconProps): react_jsx_runtime.JSX.Element;
|
|
1637
|
+
|
|
1638
|
+
type ScrollAreaProps = React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>;
|
|
1639
|
+
type ScrollBarProps = React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1640
|
+
declare function ScrollArea({ className, children, ...props }: ScrollAreaProps): react_jsx_runtime.JSX.Element;
|
|
1641
|
+
declare function ScrollBar({ className, orientation, ...props }: ScrollBarProps): react_jsx_runtime.JSX.Element;
|
|
1642
|
+
|
|
1643
|
+
type SearchButtonProps = {
|
|
1644
|
+
onClick?: () => void;
|
|
1645
|
+
className?: string;
|
|
1646
|
+
icon?: ReactNode;
|
|
1647
|
+
ariaLabel?: string;
|
|
1648
|
+
};
|
|
1649
|
+
declare function SearchButton({ onClick, className, icon, ariaLabel }: SearchButtonProps): react_jsx_runtime.JSX.Element;
|
|
1650
|
+
|
|
1651
|
+
type SearchInputProps = ComponentProps<'input'> & {
|
|
1652
|
+
className?: string;
|
|
1653
|
+
onReset?: () => void;
|
|
1654
|
+
wrapperClassName?: string;
|
|
1655
|
+
};
|
|
1656
|
+
declare function SearchInput({ onReset, placeholder, wrapperClassName, className, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
1657
|
+
|
|
1658
|
+
declare const sectionTagVariants: (props?: ({
|
|
1659
|
+
color?: "blue" | "green" | null | undefined;
|
|
1660
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1661
|
+
|
|
1662
|
+
interface SectionTagProps extends VariantProps<typeof sectionTagVariants> {
|
|
1663
|
+
label: string;
|
|
1664
|
+
className?: string;
|
|
1665
|
+
}
|
|
1666
|
+
declare function SectionTag({ label, color, className }: SectionTagProps): react_jsx_runtime.JSX.Element;
|
|
1667
|
+
|
|
1668
|
+
declare enum SectionTagColors {
|
|
1669
|
+
GREEN = "green",
|
|
1670
|
+
BLUE = "blue"
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
declare enum SubSectionSize {
|
|
1674
|
+
L = 0,
|
|
1675
|
+
M = 1
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
type ReactEntity = ReactNode;
|
|
1679
|
+
type SectionProps = {
|
|
1680
|
+
children: ReactEntity;
|
|
1681
|
+
title?: ReactEntity;
|
|
1682
|
+
titleTooltip?: ReactEntity | string;
|
|
1683
|
+
subtitle?: ReactEntity;
|
|
1684
|
+
subtitleTooltip?: ReactEntity;
|
|
1685
|
+
className?: string;
|
|
1686
|
+
loading?: boolean;
|
|
1687
|
+
showLoader?: boolean;
|
|
1688
|
+
disabled?: boolean;
|
|
1689
|
+
hidden?: boolean;
|
|
1690
|
+
linkContent?: ReactEntity;
|
|
1691
|
+
size?: SubSectionSize;
|
|
1692
|
+
};
|
|
1693
|
+
declare const Section: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1694
|
+
declare const SubSection: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1695
|
+
declare const DividingSubsection: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1696
|
+
|
|
1697
|
+
declare const SelectRoot: React$1.FC<RadixSelect.SelectProps>;
|
|
1698
|
+
declare const SelectValue$1: React$1.ForwardRefExoticComponent<RadixSelect.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1699
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<RadixSelect.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1700
|
+
declare const SelectPortal: React$1.FC<RadixSelect.SelectPortalProps>;
|
|
1701
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<RadixSelect.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1702
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<RadixSelect.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1703
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<RadixSelect.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1704
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<RadixSelect.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1705
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<RadixSelect.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1706
|
+
interface SelectProps extends React$1.ComponentPropsWithoutRef<typeof RadixSelect.Root> {
|
|
1707
|
+
placeholder?: string;
|
|
1708
|
+
label?: string;
|
|
1709
|
+
supportingText?: string;
|
|
1710
|
+
errorText?: string;
|
|
1711
|
+
containerClassName?: string;
|
|
1712
|
+
triggerClassName?: string;
|
|
1713
|
+
children: React$1.ReactNode;
|
|
1714
|
+
}
|
|
1715
|
+
/**
|
|
1716
|
+
* Convenience wrapper that renders a full labelled Select with trigger + content.
|
|
1717
|
+
* For advanced compositions, use the exported primitives directly.
|
|
1718
|
+
*/
|
|
1719
|
+
declare const Select: ({ placeholder, label, supportingText, errorText, containerClassName, triggerClassName, children, ...props }: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
1720
|
+
|
|
1721
|
+
type SelectOption<D = unknown, V extends string | number | boolean = string, L extends string | number | ReactNode = string> = {
|
|
1722
|
+
label: L;
|
|
1723
|
+
value: V;
|
|
1724
|
+
data?: D;
|
|
1725
|
+
description?: string | ReactNode;
|
|
1726
|
+
isDisabled?: boolean;
|
|
1727
|
+
readOnly?: boolean;
|
|
1728
|
+
};
|
|
1729
|
+
type SelectorOption<T extends string | number> = {
|
|
1730
|
+
label: ReactNode;
|
|
1731
|
+
value: T;
|
|
1732
|
+
disabled?: boolean;
|
|
1733
|
+
};
|
|
1734
|
+
|
|
1735
|
+
type SelectorsProps<T extends string | number, M extends boolean | undefined = undefined> = {
|
|
1736
|
+
options: SelectorOption<T>[];
|
|
1737
|
+
onClick?: (event: MouseEvent<HTMLInputElement>, value: SelectorOption<T>) => void | {
|
|
1738
|
+
shouldPrevent: boolean;
|
|
1739
|
+
};
|
|
1740
|
+
className?: string;
|
|
1741
|
+
onAnySelectorActive?: (isActive: boolean) => void;
|
|
1742
|
+
variant?: 'TAB' | 'DEFAULT';
|
|
1743
|
+
minSelected?: number;
|
|
1744
|
+
loading?: boolean;
|
|
1745
|
+
disabled?: boolean;
|
|
1746
|
+
disabledItems?: SelectorOption<T>['value'][];
|
|
1747
|
+
readonlyItems?: SelectorOption<T>['value'][];
|
|
1748
|
+
readOnly?: boolean;
|
|
1749
|
+
label?: string;
|
|
1750
|
+
multiple?: M;
|
|
1751
|
+
size?: string;
|
|
1752
|
+
} & (M extends true ? {
|
|
1753
|
+
value?: T[];
|
|
1754
|
+
onChange?: (value: T[], event: MouseEvent<HTMLInputElement>) => void;
|
|
1755
|
+
} : {
|
|
1756
|
+
value?: T;
|
|
1757
|
+
onChange?: (value: T, event: MouseEvent<HTMLInputElement>) => void;
|
|
1758
|
+
});
|
|
1759
|
+
declare function SelectorsInternal<T extends string | number, M extends boolean | undefined = undefined>({ className, loading, disabled, value, options, variant, onAnySelectorActive, onClick, onChange, readOnly, minSelected, disabledItems, readonlyItems, label, multiple, size, }: SelectorsProps<T, M>, ref: ForwardedRef<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1760
|
+
type SelectForwardType = <T extends string | number, M extends boolean | undefined = true>(props: SelectorsProps<T, M> & {
|
|
1761
|
+
ref?: ForwardedRef<HTMLDivElement>;
|
|
1762
|
+
}) => ReturnType<typeof SelectorsInternal>;
|
|
1763
|
+
/**
|
|
1764
|
+
* @deprecated
|
|
1765
|
+
*/
|
|
1766
|
+
declare const Selectors: SelectForwardType;
|
|
1767
|
+
|
|
1768
|
+
type SelectorInputType = 'radio' | 'checkbox';
|
|
1769
|
+
type SelectorButtonProps = PropsWithChildren & {
|
|
1770
|
+
onChange: (event: MouseEvent<HTMLInputElement>) => void;
|
|
1771
|
+
onClick?: (event: MouseEvent<HTMLInputElement>) => void | {
|
|
1772
|
+
shouldPrevent: boolean;
|
|
1773
|
+
};
|
|
1774
|
+
active?: boolean;
|
|
1775
|
+
className?: string;
|
|
1776
|
+
type?: SelectorInputType;
|
|
1777
|
+
disabled?: boolean;
|
|
1778
|
+
loading?: boolean;
|
|
1779
|
+
value?: string | number;
|
|
1780
|
+
readOnly?: boolean;
|
|
1781
|
+
};
|
|
1782
|
+
declare function SelectorButton({ active, onClick, onChange, className, type, loading, disabled, value, readOnly, children, ...props }: SelectorButtonProps): react_jsx_runtime.JSX.Element;
|
|
1783
|
+
declare namespace SelectorButton {
|
|
1784
|
+
var displayName: string;
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
type SeparatorProps = React$1.ComponentProps<typeof SeparatorPrimitive.Root>;
|
|
1788
|
+
declare function Separator({ className, orientation, decorative, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
1789
|
+
|
|
1790
|
+
declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1791
|
+
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1792
|
+
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
1793
|
+
declare function SheetContent({ className, children, side, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
1794
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
1795
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1796
|
+
declare function SheetHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1797
|
+
declare function SheetFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1798
|
+
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
1799
|
+
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
1800
|
+
|
|
1801
|
+
interface SidebarIconProps extends PropsWithChildren {
|
|
1802
|
+
isActive?: boolean;
|
|
1803
|
+
highlighted?: boolean;
|
|
1804
|
+
size?: 'M' | 'L';
|
|
1805
|
+
className?: string;
|
|
1806
|
+
}
|
|
1807
|
+
declare const SidebarIcon: FC<SidebarIconProps>;
|
|
1808
|
+
|
|
1809
|
+
declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1810
|
+
defaultOpen?: boolean;
|
|
1811
|
+
stateName?: string;
|
|
1812
|
+
open?: boolean;
|
|
1813
|
+
onOpenChange?: (open: boolean) => void;
|
|
1814
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1815
|
+
declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1816
|
+
side?: "left" | "right";
|
|
1817
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
1818
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
1819
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1820
|
+
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement> & {
|
|
1821
|
+
icon?: ReactNode;
|
|
1822
|
+
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1823
|
+
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1824
|
+
declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1825
|
+
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1826
|
+
declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1827
|
+
declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1828
|
+
declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1829
|
+
declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1830
|
+
declare const SidebarGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1831
|
+
declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1832
|
+
asChild?: boolean;
|
|
1833
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1834
|
+
declare const SidebarGroupAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1835
|
+
asChild?: boolean;
|
|
1836
|
+
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1837
|
+
declare const SidebarGroupContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1838
|
+
declare const SidebarMenu: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1839
|
+
declare const SidebarMenuItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
1840
|
+
declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1841
|
+
asChild?: boolean;
|
|
1842
|
+
isActive?: boolean;
|
|
1843
|
+
highlighted?: boolean;
|
|
1844
|
+
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
1845
|
+
} & VariantProps<(props?: ({
|
|
1846
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1847
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1848
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1849
|
+
declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1850
|
+
asChild?: boolean;
|
|
1851
|
+
showOnHover?: boolean;
|
|
1852
|
+
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1853
|
+
declare const SidebarMenuBadge: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1854
|
+
declare const SidebarMenuSkeleton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1855
|
+
showIcon?: boolean;
|
|
1856
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1857
|
+
declare const SidebarMenuSub: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1858
|
+
declare const SidebarMenuSubItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
1859
|
+
declare const SidebarMenuSubButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLAnchorElement> & React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1860
|
+
asChild?: boolean;
|
|
1861
|
+
isActive?: boolean;
|
|
1862
|
+
} & VariantProps<(props?: ({
|
|
1863
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1864
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1865
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1866
|
+
|
|
1867
|
+
type SidebarMenuButtonContextProps = {
|
|
1868
|
+
isActive: boolean;
|
|
1869
|
+
highlighted: boolean;
|
|
1870
|
+
};
|
|
1871
|
+
|
|
1872
|
+
declare function useSidebarMenuButton(): SidebarMenuButtonContextProps | null;
|
|
1873
|
+
|
|
1874
|
+
declare const getSidebarState: (stateName: string) => boolean;
|
|
1875
|
+
|
|
1876
|
+
type SidebarContextProps = {
|
|
1877
|
+
state: 'expanded' | 'collapsed';
|
|
1878
|
+
open: boolean;
|
|
1879
|
+
setOpen: (open: boolean | ((open: boolean) => boolean)) => void;
|
|
1880
|
+
openMobile: boolean;
|
|
1881
|
+
setOpenMobile: (open: boolean | ((open: boolean) => boolean)) => void;
|
|
1882
|
+
isMobile: boolean;
|
|
1883
|
+
toggleSidebar: () => void;
|
|
1884
|
+
};
|
|
1885
|
+
|
|
1886
|
+
declare function useSidebar(): SidebarContextProps;
|
|
1887
|
+
declare function useSidebarSafe(): SidebarContextProps | null;
|
|
1888
|
+
|
|
1889
|
+
type SkeletonProps = ComponentProps<'div'>;
|
|
1890
|
+
declare function Skeleton({ className, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
1891
|
+
|
|
1892
|
+
type SmallGridSingleItemProps = {
|
|
1893
|
+
title?: string;
|
|
1894
|
+
subtitle?: string;
|
|
1895
|
+
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
1896
|
+
onDelete?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
1897
|
+
onEdit?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
1898
|
+
disabled?: boolean;
|
|
1899
|
+
readOnly?: boolean;
|
|
1900
|
+
error?: string;
|
|
1901
|
+
className?: string;
|
|
1902
|
+
};
|
|
1903
|
+
declare const SmallGridSingleItem: React$1.MemoExoticComponent<({ title, subtitle, onDelete, onEdit, onClick, disabled, readOnly, error, className, }: SmallGridSingleItemProps) => react_jsx_runtime.JSX.Element>;
|
|
1904
|
+
|
|
1905
|
+
type SortingByVariant = 'by_text' | 'by_other';
|
|
1906
|
+
|
|
1907
|
+
type SortingActionValue = 'asc' | 'desc' | null;
|
|
1908
|
+
type SortingActionProps = {
|
|
1909
|
+
value?: SortingActionValue;
|
|
1910
|
+
onSortChange?: (value: SortingActionValue) => void;
|
|
1911
|
+
className?: string;
|
|
1912
|
+
open?: boolean;
|
|
1913
|
+
variant?: SortingByVariant;
|
|
1914
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
1915
|
+
};
|
|
1916
|
+
declare function SortingAction({ value, onSortChange, className, open, variant, onOpenChange, }: SortingActionProps): react_jsx_runtime.JSX.Element;
|
|
1917
|
+
|
|
1918
|
+
type StatusBadgeVariant = 'neutral' | 'progress-blue' | 'progress-blue-light' | 'progress-grey' | 'success-blue' | 'success-green' | 'error';
|
|
1919
|
+
interface StatusBadgeProps {
|
|
1920
|
+
children?: ReactNode;
|
|
1921
|
+
variant?: StatusBadgeVariant;
|
|
1922
|
+
showIcon?: boolean;
|
|
1923
|
+
textOnly?: boolean;
|
|
1924
|
+
iconOnly?: boolean;
|
|
1925
|
+
className?: string;
|
|
1926
|
+
disabled?: boolean;
|
|
1927
|
+
}
|
|
1928
|
+
declare const StatusBadge: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<StatusBadgeProps & React$1.RefAttributes<HTMLDivElement>>>;
|
|
1929
|
+
|
|
1930
|
+
type ButtonStatuses = 'pending' | 'error' | 'success' | 'idle' | 'validating' | 'loading';
|
|
1931
|
+
interface StatusButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1932
|
+
hidden?: boolean;
|
|
1933
|
+
status: ButtonStatuses;
|
|
1934
|
+
floating?: boolean;
|
|
1935
|
+
idleText?: string;
|
|
1936
|
+
loadingText?: string;
|
|
1937
|
+
floatingToHeader?: boolean;
|
|
1938
|
+
successText?: string;
|
|
1939
|
+
icon?: ReactNode;
|
|
1940
|
+
variant?: 'default' | 'destructive' | 'secondary' | 'ghost' | 'link';
|
|
1941
|
+
}
|
|
1942
|
+
declare function StatusButton({ hidden, status, className, floating, idleText, loadingText, floatingToHeader, successText, icon, variant, ...props }: StatusButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
1943
|
+
|
|
1944
|
+
type StatusBoxProps = {
|
|
1945
|
+
title: string;
|
|
1946
|
+
text: string;
|
|
1947
|
+
status?: 'success' | 'failed';
|
|
1948
|
+
};
|
|
1949
|
+
declare function StatusBox({ status, title, text }: StatusBoxProps): react_jsx_runtime.JSX.Element;
|
|
1950
|
+
|
|
1951
|
+
type StepperProps = {
|
|
1952
|
+
totalSteps: number;
|
|
1953
|
+
activeStep: number;
|
|
1954
|
+
className?: string;
|
|
1955
|
+
cumulative?: boolean;
|
|
1956
|
+
};
|
|
1957
|
+
declare function Stepper({ totalSteps, activeStep, className, cumulative, }: StepperProps): react_jsx_runtime.JSX.Element | null;
|
|
1958
|
+
|
|
1959
|
+
declare const switchVariants: (props?: ({
|
|
1960
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1961
|
+
readOnly?: boolean | null | undefined;
|
|
1962
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1963
|
+
declare const switchThumbVariants: (props?: ({
|
|
1964
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1965
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1966
|
+
interface SwitchProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>, 'onChange' | 'value'>, VariantProps<typeof switchVariants> {
|
|
1967
|
+
onChange?: React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>['onCheckedChange'];
|
|
1968
|
+
value?: boolean;
|
|
1969
|
+
loading?: boolean;
|
|
1970
|
+
readOnly?: boolean;
|
|
1971
|
+
label?: React$1.ReactNode;
|
|
1972
|
+
error?: string;
|
|
1973
|
+
}
|
|
1974
|
+
declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1975
|
+
|
|
1976
|
+
interface SwitchBlocksOption {
|
|
1977
|
+
id: string;
|
|
1978
|
+
title: string;
|
|
1979
|
+
description: string;
|
|
1980
|
+
value: string;
|
|
1981
|
+
switch?: {
|
|
1982
|
+
value: string;
|
|
1983
|
+
};
|
|
1984
|
+
}
|
|
1985
|
+
interface SwitchBlocksProps {
|
|
1986
|
+
options: SwitchBlocksOption[];
|
|
1987
|
+
value: string;
|
|
1988
|
+
onChange: (value: string) => void;
|
|
1989
|
+
disabled?: boolean;
|
|
1990
|
+
className?: string;
|
|
1991
|
+
}
|
|
1992
|
+
declare const SwitchBlocks: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<SwitchBlocksProps & React$1.RefAttributes<HTMLDivElement>>>;
|
|
1993
|
+
|
|
1994
|
+
interface SwitchOption {
|
|
1995
|
+
label: string;
|
|
1996
|
+
value: string;
|
|
1997
|
+
disabled?: boolean;
|
|
1998
|
+
description?: string;
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
interface SwitchGroupProps {
|
|
2002
|
+
options: SwitchOption[];
|
|
2003
|
+
value?: string[];
|
|
2004
|
+
onChange?: (selectedValues: string[]) => void;
|
|
2005
|
+
disabled?: boolean;
|
|
2006
|
+
className?: string;
|
|
2007
|
+
showSelectAll?: boolean;
|
|
2008
|
+
selectAllLabel?: string;
|
|
2009
|
+
error?: string;
|
|
2010
|
+
}
|
|
2011
|
+
declare const SwitchGroup: React$1.ForwardRefExoticComponent<SwitchGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2012
|
+
|
|
2013
|
+
interface TabbedSectionProps extends PropsWithChildren {
|
|
2014
|
+
className?: string;
|
|
2015
|
+
triggers: ReactNode;
|
|
2016
|
+
value?: string;
|
|
2017
|
+
defaultTab?: string;
|
|
2018
|
+
onTabChange?: (value: string) => void;
|
|
2019
|
+
variant?: 'default' | 'material';
|
|
2020
|
+
}
|
|
2021
|
+
declare function TabbedSection({ triggers, value, defaultTab, onTabChange, children, className, variant, }: TabbedSectionProps): react_jsx_runtime.JSX.Element;
|
|
2022
|
+
|
|
2023
|
+
declare const Table: React$1.ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
2024
|
+
declare const TableHeader: React$1.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
2025
|
+
declare const TableBody: React$1.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & {
|
|
2026
|
+
isLoading?: boolean;
|
|
2027
|
+
} & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
2028
|
+
declare const TableFooter: React$1.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
2029
|
+
declare const TableRow: React$1.ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & {
|
|
2030
|
+
clickable?: boolean;
|
|
2031
|
+
} & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
2032
|
+
declare const TableHead: React$1.ForwardRefExoticComponent<ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
2033
|
+
declare const TableCell: React$1.ForwardRefExoticComponent<TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
2034
|
+
declare const TableCaption: React$1.ForwardRefExoticComponent<HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
2035
|
+
|
|
2036
|
+
type TablePlaceholderProps = {
|
|
2037
|
+
text?: string;
|
|
2038
|
+
title?: string;
|
|
2039
|
+
iconSlot?: ReactNode;
|
|
2040
|
+
visible?: boolean;
|
|
2041
|
+
insideTable?: boolean;
|
|
2042
|
+
className?: string;
|
|
2043
|
+
children?: ReactNode | JSX.Element;
|
|
2044
|
+
};
|
|
2045
|
+
declare function TablePlaceholder({ children, text, title, className, visible, iconSlot, insideTable, }: TablePlaceholderProps): react_jsx_runtime.JSX.Element | null;
|
|
2046
|
+
|
|
2047
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2048
|
+
declare const tabsListVariants: (props?: ({
|
|
2049
|
+
variant?: "default" | "underlined" | null | undefined;
|
|
2050
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2051
|
+
type TabsListProps = ComponentPropsWithoutRef<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>;
|
|
2052
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
2053
|
+
variant?: "default" | "underlined" | null | undefined;
|
|
2054
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2055
|
+
declare const tabsTriggerVariants: (props?: ({
|
|
2056
|
+
variant?: "default" | "underlined" | null | undefined;
|
|
2057
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2058
|
+
type TabsTriggerProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> & VariantProps<typeof tabsTriggerVariants>;
|
|
2059
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
2060
|
+
variant?: "default" | "underlined" | null | undefined;
|
|
2061
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2062
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2063
|
+
|
|
2064
|
+
declare const TASK_VARIANTS: {
|
|
2065
|
+
readonly error: "error";
|
|
2066
|
+
readonly warning: "warning";
|
|
2067
|
+
};
|
|
2068
|
+
type TASK_VARIANTS = ValueOf<typeof TASK_VARIANTS>;
|
|
2069
|
+
|
|
2070
|
+
type TaskCardProps = {
|
|
2071
|
+
title: string;
|
|
2072
|
+
description: string;
|
|
2073
|
+
count?: number;
|
|
2074
|
+
eventType?: TASK_VARIANTS;
|
|
2075
|
+
onClick?: () => void;
|
|
2076
|
+
className?: string;
|
|
2077
|
+
};
|
|
2078
|
+
declare function TaskCard({ title, description, count, eventType, onClick, className, }: TaskCardProps): react_jsx_runtime.JSX.Element;
|
|
2079
|
+
|
|
2080
|
+
type UseUpdateToastProps = {
|
|
2081
|
+
id: string;
|
|
2082
|
+
};
|
|
2083
|
+
type ToastOptions = Omit<ToastT, 'id'>;
|
|
2084
|
+
declare function useUpdateToast({ id }: UseUpdateToastProps): {
|
|
2085
|
+
toastIdRef: React$1.MutableRefObject<string>;
|
|
2086
|
+
closeToast: () => void;
|
|
2087
|
+
createToast: (component: ReactElement, options?: ToastOptions) => void;
|
|
2088
|
+
updateToast: (component: ReactElement, options?: ToastOptions) => void;
|
|
2089
|
+
};
|
|
2090
|
+
|
|
2091
|
+
declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
2092
|
+
variant?: "default" | "tab" | null | undefined;
|
|
2093
|
+
size?: "default" | "tab" | "sm" | "lg" | null | undefined;
|
|
2094
|
+
theme?: "default" | "sky-blue" | null | undefined;
|
|
2095
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React$1.RefAttributes<HTMLDivElement>>;
|
|
2096
|
+
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
2097
|
+
variant?: "default" | "tab" | null | undefined;
|
|
2098
|
+
size?: "default" | "tab" | "sm" | "lg" | null | undefined;
|
|
2099
|
+
theme?: "default" | "sky-blue" | null | undefined;
|
|
2100
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2101
|
+
|
|
2102
|
+
type TogglesProps<T extends string | number, M extends boolean | undefined = undefined> = {
|
|
2103
|
+
options: SelectorOption<T>[];
|
|
2104
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>, value: SelectorOption<T>) => void | {
|
|
2105
|
+
shouldPrevent: boolean;
|
|
2106
|
+
};
|
|
2107
|
+
className?: string;
|
|
2108
|
+
groupClassName?: string;
|
|
2109
|
+
onAnySelectorActive?: (isActive: boolean) => void;
|
|
2110
|
+
variant?: 'default' | 'tab';
|
|
2111
|
+
size?: 'default' | 'sm' | 'lg' | 'tab';
|
|
2112
|
+
theme?: 'default' | 'sky-blue';
|
|
2113
|
+
minSelected?: number;
|
|
2114
|
+
loading?: boolean;
|
|
2115
|
+
disabled?: boolean;
|
|
2116
|
+
disabledItems?: SelectorOption<T>['value'][];
|
|
2117
|
+
readOnly?: boolean;
|
|
2118
|
+
label?: string;
|
|
2119
|
+
multiple?: M;
|
|
2120
|
+
} & (M extends true ? {
|
|
2121
|
+
value?: T[];
|
|
2122
|
+
onChange?: (value: T[], event: MouseEvent<HTMLButtonElement>) => void;
|
|
2123
|
+
} : {
|
|
2124
|
+
value?: T;
|
|
2125
|
+
onChange?: (value: T, event: MouseEvent<HTMLButtonElement>) => void;
|
|
2126
|
+
});
|
|
2127
|
+
declare function TogglesInternal<T extends string | number, M extends boolean | undefined = undefined>({ className, groupClassName, loading, disabled, value, options, variant, size, theme, onAnySelectorActive, onClick, onChange, readOnly, minSelected, disabledItems, label, multiple, }: TogglesProps<T, M>, ref: ForwardedRef<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
2128
|
+
type TogglesForwardType = <T extends string | number, M extends boolean | undefined = true>(props: TogglesProps<T, M> & {
|
|
2129
|
+
ref?: ForwardedRef<HTMLDivElement>;
|
|
2130
|
+
}) => ReturnType<typeof TogglesInternal>;
|
|
2131
|
+
declare const Toggles: TogglesForwardType;
|
|
2132
|
+
|
|
2133
|
+
declare const toggleVariants: (props?: ({
|
|
2134
|
+
variant?: "default" | "tab" | null | undefined;
|
|
2135
|
+
size?: "default" | "tab" | "sm" | "lg" | null | undefined;
|
|
2136
|
+
theme?: "default" | "sky-blue" | null | undefined;
|
|
2137
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2138
|
+
|
|
2139
|
+
type ErrorMessageProps = {
|
|
2140
|
+
children: ReactNode;
|
|
2141
|
+
className?: string;
|
|
2142
|
+
disabled?: boolean;
|
|
2143
|
+
};
|
|
2144
|
+
declare function ErrorMessage({ className, children, disabled }: ErrorMessageProps): react_jsx_runtime.JSX.Element;
|
|
2145
|
+
|
|
2146
|
+
declare const inputVariants: (props?: ({
|
|
2147
|
+
variant?: "floating" | "standard" | null | undefined;
|
|
2148
|
+
error?: boolean | null | undefined;
|
|
2149
|
+
readOnly?: boolean | null | undefined;
|
|
2150
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2151
|
+
type TextFieldVariantProps = VariantProps<typeof inputVariants>;
|
|
2152
|
+
interface TextFieldProps extends Omit<React$1.ComponentProps<'input'>, 'readOnly'>, Pick<TextFieldVariantProps, 'variant'> {
|
|
2153
|
+
label?: string;
|
|
2154
|
+
error?: string;
|
|
2155
|
+
optional?: boolean;
|
|
2156
|
+
optionalLabel?: string;
|
|
2157
|
+
supportingText?: string;
|
|
2158
|
+
tooltip?: React$1.ReactNode;
|
|
2159
|
+
endIcon?: React$1.ReactNode;
|
|
2160
|
+
readOnly?: boolean;
|
|
2161
|
+
wrapperClassName?: string;
|
|
2162
|
+
}
|
|
2163
|
+
declare const TextField: React$1.ForwardRefExoticComponent<Omit<TextFieldProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
2164
|
+
|
|
2165
|
+
type TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
2166
|
+
label?: string;
|
|
2167
|
+
invalid?: boolean;
|
|
2168
|
+
maxLength?: number;
|
|
2169
|
+
textareaClassName?: string;
|
|
2170
|
+
};
|
|
2171
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
2172
|
+
label?: string;
|
|
2173
|
+
invalid?: boolean;
|
|
2174
|
+
maxLength?: number;
|
|
2175
|
+
textareaClassName?: string;
|
|
2176
|
+
} & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
2177
|
+
|
|
2178
|
+
declare enum LABEL_PLACEMENT {
|
|
2179
|
+
right = 0,
|
|
2180
|
+
left = 1
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
type ThreeDotsLoaderProps = {
|
|
2184
|
+
height?: number;
|
|
2185
|
+
width?: number;
|
|
2186
|
+
color?: string;
|
|
2187
|
+
label?: string | ReactNode;
|
|
2188
|
+
className?: string;
|
|
2189
|
+
labelPlacement?: LABEL_PLACEMENT;
|
|
2190
|
+
};
|
|
2191
|
+
declare function ThreeDotsLoader({ height, width, color, label, className, labelPlacement, }: ThreeDotsLoaderProps): react_jsx_runtime.JSX.Element;
|
|
2192
|
+
|
|
2193
|
+
interface UploadedFilesListProps {
|
|
2194
|
+
files: File[];
|
|
2195
|
+
onRemoveFile: (fileName: string) => void;
|
|
2196
|
+
className?: string;
|
|
2197
|
+
}
|
|
2198
|
+
declare function UploadedFilesList({ files, onRemoveFile, className, }: UploadedFilesListProps): react_jsx_runtime.JSX.Element | null;
|
|
2199
|
+
|
|
2200
|
+
interface VideoPlayerProps {
|
|
2201
|
+
src: string;
|
|
2202
|
+
poster?: string;
|
|
2203
|
+
title?: string;
|
|
2204
|
+
onClose?: () => void;
|
|
2205
|
+
isFullScreen?: boolean;
|
|
2206
|
+
autoPlay?: boolean;
|
|
2207
|
+
}
|
|
2208
|
+
declare function VideoPlayer({ src, poster, title, onClose, isFullScreen, autoPlay, }: VideoPlayerProps): react_jsx_runtime.JSX.Element;
|
|
2209
|
+
|
|
2210
|
+
type WideButtonProps = Omit<ButtonProps, 'size'>;
|
|
2211
|
+
declare function WideButton({ className, disabled, ...props }: WideButtonProps): react_jsx_runtime.JSX.Element;
|
|
2212
|
+
|
|
2213
|
+
type DatePickerProps = {
|
|
2214
|
+
variant?: 'default' | 'airbnb';
|
|
2215
|
+
label: string;
|
|
2216
|
+
topLabel?: string;
|
|
2217
|
+
value?: Date | null;
|
|
2218
|
+
defaultValue?: Date | null;
|
|
2219
|
+
onChange: (value: Date | null) => void;
|
|
2220
|
+
placeholder?: string;
|
|
2221
|
+
disabled?: boolean;
|
|
2222
|
+
error?: string;
|
|
2223
|
+
className?: string;
|
|
2224
|
+
name?: string;
|
|
2225
|
+
minDate?: Date;
|
|
2226
|
+
maxDate?: Date;
|
|
2227
|
+
locale?: string;
|
|
2228
|
+
mobileTitle?: string;
|
|
2229
|
+
doneLabel?: string;
|
|
2230
|
+
formatValue?: (date: Date) => string;
|
|
2231
|
+
};
|
|
2232
|
+
declare function DatePicker({ variant, label, topLabel, value, defaultValue, onChange, placeholder, disabled, error, className, name, minDate, maxDate, locale, mobileTitle, doneLabel, formatValue, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
2233
|
+
|
|
2234
|
+
declare function Drawer({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
2235
|
+
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
2236
|
+
declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
2237
|
+
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
2238
|
+
declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2239
|
+
declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2240
|
+
container?: HTMLElement;
|
|
2241
|
+
onClose?: () => void;
|
|
2242
|
+
showHandle?: boolean;
|
|
2243
|
+
closeOnOverlayClick?: boolean;
|
|
2244
|
+
lockScroll?: boolean;
|
|
2245
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
2246
|
+
declare const DrawerHeader: {
|
|
2247
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
2248
|
+
displayName: string;
|
|
2249
|
+
};
|
|
2250
|
+
declare const DrawerFooter: {
|
|
2251
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
2252
|
+
displayName: string;
|
|
2253
|
+
};
|
|
2254
|
+
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
2255
|
+
declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
2256
|
+
|
|
2257
|
+
type FieldTriggerProps = {
|
|
2258
|
+
as?: 'button' | 'div';
|
|
2259
|
+
variant?: 'airbnb' | 'default';
|
|
2260
|
+
id: string;
|
|
2261
|
+
label: string;
|
|
2262
|
+
topLabel?: string;
|
|
2263
|
+
labelId: string;
|
|
2264
|
+
valueId?: string;
|
|
2265
|
+
helperTextId?: string;
|
|
2266
|
+
errorId?: string;
|
|
2267
|
+
labelText?: string;
|
|
2268
|
+
valueText?: string;
|
|
2269
|
+
placeholder?: string;
|
|
2270
|
+
disabled?: boolean;
|
|
2271
|
+
error?: string;
|
|
2272
|
+
describedBy?: string;
|
|
2273
|
+
className?: string;
|
|
2274
|
+
contentClassName?: string;
|
|
2275
|
+
trailingAdornment?: React$1.ReactNode;
|
|
2276
|
+
forceFloatingLabel?: boolean;
|
|
2277
|
+
hideErrorMessage?: boolean;
|
|
2278
|
+
children?: React$1.ReactNode;
|
|
2279
|
+
onClick?: () => void;
|
|
2280
|
+
onKeyDown?: React$1.KeyboardEventHandler<HTMLButtonElement | HTMLDivElement>;
|
|
2281
|
+
} & Omit<React$1.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, 'children' | 'className' | 'disabled' | 'id' | 'onClick' | 'onKeyDown'>;
|
|
2282
|
+
declare const FieldTrigger: React$1.ForwardRefExoticComponent<{
|
|
2283
|
+
as?: "button" | "div";
|
|
2284
|
+
variant?: "airbnb" | "default";
|
|
2285
|
+
id: string;
|
|
2286
|
+
label: string;
|
|
2287
|
+
topLabel?: string;
|
|
2288
|
+
labelId: string;
|
|
2289
|
+
valueId?: string;
|
|
2290
|
+
helperTextId?: string;
|
|
2291
|
+
errorId?: string;
|
|
2292
|
+
labelText?: string;
|
|
2293
|
+
valueText?: string;
|
|
2294
|
+
placeholder?: string;
|
|
2295
|
+
disabled?: boolean;
|
|
2296
|
+
error?: string;
|
|
2297
|
+
describedBy?: string;
|
|
2298
|
+
className?: string;
|
|
2299
|
+
contentClassName?: string;
|
|
2300
|
+
trailingAdornment?: React$1.ReactNode;
|
|
2301
|
+
forceFloatingLabel?: boolean;
|
|
2302
|
+
hideErrorMessage?: boolean;
|
|
2303
|
+
children?: React$1.ReactNode;
|
|
2304
|
+
onClick?: () => void;
|
|
2305
|
+
onKeyDown?: React$1.KeyboardEventHandler<HTMLButtonElement | HTMLDivElement>;
|
|
2306
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "className" | "id" | "children" | "onKeyDown" | "onClick" | "disabled"> & React$1.RefAttributes<HTMLDivElement | HTMLButtonElement>>;
|
|
2307
|
+
|
|
2308
|
+
type AirbnbInputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
2309
|
+
variant?: 'airbnb' | 'default';
|
|
2310
|
+
label?: string;
|
|
2311
|
+
topLabel?: string;
|
|
2312
|
+
helperText?: string;
|
|
2313
|
+
error?: string;
|
|
2314
|
+
wrapperClassName?: string;
|
|
2315
|
+
fieldClassName?: string;
|
|
2316
|
+
contentClassName?: string;
|
|
2317
|
+
inputClassName?: string;
|
|
2318
|
+
trailingAdornment?: React$1.ReactNode;
|
|
2319
|
+
renderErrorMessage?: boolean;
|
|
2320
|
+
};
|
|
2321
|
+
declare const AirbnbInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
2322
|
+
variant?: "airbnb" | "default";
|
|
2323
|
+
label?: string;
|
|
2324
|
+
topLabel?: string;
|
|
2325
|
+
helperText?: string;
|
|
2326
|
+
error?: string;
|
|
2327
|
+
wrapperClassName?: string;
|
|
2328
|
+
fieldClassName?: string;
|
|
2329
|
+
contentClassName?: string;
|
|
2330
|
+
inputClassName?: string;
|
|
2331
|
+
trailingAdornment?: React$1.ReactNode;
|
|
2332
|
+
renderErrorMessage?: boolean;
|
|
2333
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
2334
|
+
|
|
2335
|
+
type SelectValue = string | number;
|
|
2336
|
+
type SelectRenderTriggerProps<T = undefined, V extends SelectValue = string, L extends string | number | React$1.ReactNode = string> = {
|
|
2337
|
+
id: string;
|
|
2338
|
+
open: boolean;
|
|
2339
|
+
variant: 'default' | 'airbnb';
|
|
2340
|
+
label: string;
|
|
2341
|
+
topLabel?: string;
|
|
2342
|
+
helperText: string;
|
|
2343
|
+
value?: SelectOption<T, V, L> | null;
|
|
2344
|
+
valueLabel?: string;
|
|
2345
|
+
disabled?: boolean;
|
|
2346
|
+
error?: string;
|
|
2347
|
+
listboxId: string;
|
|
2348
|
+
describedBy?: string;
|
|
2349
|
+
triggerRef: React$1.RefObject<HTMLButtonElement>;
|
|
2350
|
+
onClick: () => void;
|
|
2351
|
+
onKeyDown: React$1.KeyboardEventHandler<HTMLButtonElement>;
|
|
2352
|
+
};
|
|
2353
|
+
type AirbnbSelectProps<T = undefined, V extends SelectValue = string, L extends string | number | React$1.ReactNode = string> = {
|
|
2354
|
+
options: SelectOption<T, V, L>[];
|
|
2355
|
+
value?: SelectOption<T, V, L> | null;
|
|
2356
|
+
onChange: (option: SelectOption<T, V, L>) => void;
|
|
2357
|
+
variant?: 'default' | 'airbnb';
|
|
2358
|
+
label: string;
|
|
2359
|
+
topLabel?: string;
|
|
2360
|
+
placeholder?: string;
|
|
2361
|
+
getValueLabel?: (option: SelectOption<T, V, L>) => string;
|
|
2362
|
+
renderTrigger?: (props: SelectRenderTriggerProps<T, V, L>) => React$1.ReactNode;
|
|
2363
|
+
disabled?: boolean;
|
|
2364
|
+
error?: string;
|
|
2365
|
+
hideErrorMessage?: boolean;
|
|
2366
|
+
className?: string;
|
|
2367
|
+
menuClassName?: string;
|
|
2368
|
+
dropdownClassName?: string;
|
|
2369
|
+
doneLabel?: string;
|
|
2370
|
+
mobileTitle?: string;
|
|
2371
|
+
name?: string;
|
|
2372
|
+
noOptionsMessage?: () => string | undefined;
|
|
2373
|
+
};
|
|
2374
|
+
|
|
2375
|
+
declare function AirbnbSelect<T = undefined, V extends SelectValue = string, L extends string | number | ReactNode = string>({ options, value, onChange, variant, label, topLabel, placeholder, getValueLabel, renderTrigger, disabled, error, hideErrorMessage, className, menuClassName, dropdownClassName, doneLabel, mobileTitle, name, noOptionsMessage, }: AirbnbSelectProps<T, V, L>): react_jsx_runtime.JSX.Element;
|
|
2376
|
+
|
|
2377
|
+
type AirbnbSearchInputProps = ComponentProps<'input'> & {
|
|
2378
|
+
onReset?: () => void;
|
|
2379
|
+
wrapperClassName?: string;
|
|
2380
|
+
};
|
|
2381
|
+
declare const AirbnbSearchInput: React$1.ForwardRefExoticComponent<Omit<AirbnbSearchInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
2382
|
+
|
|
2383
|
+
type SearchableSelectValue = string | number;
|
|
2384
|
+
type SearchableSelectProps<T = undefined, V extends SearchableSelectValue = string, L extends ReactNode = string> = {
|
|
2385
|
+
options: SelectOption<T, V, L>[];
|
|
2386
|
+
value?: SelectOption<T, V, L> | null;
|
|
2387
|
+
onChange: (option: SelectOption<T, V, L>) => void;
|
|
2388
|
+
onOpenChange?: (open: boolean) => void;
|
|
2389
|
+
searchValue?: string;
|
|
2390
|
+
onSearchChange?: (value: string) => void;
|
|
2391
|
+
filterOption?: ((option: SelectOption<T, V, L>, searchValue: string) => boolean) | null;
|
|
2392
|
+
loading?: boolean;
|
|
2393
|
+
hasNextPage?: boolean;
|
|
2394
|
+
onLoadMore?: () => void;
|
|
2395
|
+
variant?: 'default' | 'airbnb';
|
|
2396
|
+
label: string;
|
|
2397
|
+
topLabel?: string;
|
|
2398
|
+
placeholder?: string;
|
|
2399
|
+
searchPlaceholder?: string;
|
|
2400
|
+
mobileTitle?: string;
|
|
2401
|
+
getValueLabel?: (option: SelectOption<T, V, L>) => string;
|
|
2402
|
+
disabled?: boolean;
|
|
2403
|
+
error?: string;
|
|
2404
|
+
hideErrorMessage?: boolean;
|
|
2405
|
+
name?: string;
|
|
2406
|
+
className?: string;
|
|
2407
|
+
dropdownClassName?: string;
|
|
2408
|
+
menuClassName?: string;
|
|
2409
|
+
noOptionsMessage?: () => string | undefined;
|
|
2410
|
+
loadingMessage?: () => string | undefined;
|
|
2411
|
+
};
|
|
2412
|
+
|
|
2413
|
+
type SearchableSelectComponent = <T = undefined, V extends SearchableSelectValue = string, L extends ReactNode = string>(props: SearchableSelectProps<T, V, L> & React$1.RefAttributes<HTMLButtonElement>) => React$1.ReactElement | null;
|
|
2414
|
+
declare const SearchableSelect: SearchableSelectComponent;
|
|
2415
|
+
|
|
2416
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
2417
|
+
|
|
2418
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, AccordionTrigger, type AccordionTriggerProps, AirbnbInput, type AirbnbInputProps, AirbnbSearchInput, AirbnbSelect, type AirbnbSelectProps, AlertBox, type AlertBoxProps, AlertSize, AlertSizes, AlertType, AlertTypes, AudioPlayer, type AudioPlayerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BaseCheckbox, type BaseCheckboxProps, BetaBadge, type BetaBadgeProps, BookmarkTabsList, type BookmarkTabsListProps, BookmarkTabsTrigger, type BookmarkTabsTriggerProps, BoxOptionSelector, type BoxOptionSelectorProps, type BoxOptionSelectorSwitchProps, Breadcrumb, type BreadcrumbProps, type BreadcrumbType, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, type ButtonStatuses, ButtonsGroupLabel, type ButtonsGroupLabelProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChannelOption, ChannelSelector, type ChannelSelectorProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, CommingSoonBadge, type CommingSoonBadgeProps, ConfirmationDialog, type ConfirmationDialogProps, CopyIcon, type CopyIconProps, CopyLinkButton, type CopyLinkButtonProps, type CustomIconEntry, DataTable, type DataTableProps, DatePicker, type DatePickerProps, DefaultSelectTrigger, type DefaultSelectTriggerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogVisuallyHidden, DividingSubsection, DownloadEntryFormsButton, type DownloadEntryFormsButtonProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownButton, type DropdownButtonProps, DropdownMenu, DropdownMenuContent, type DropdownMenuContentSide, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptySectionPlaceholder, type EmptySectionPlaceholderProps, EmptyTitle, ErrorMessage, type ErrorMessageProps, ExternalLink, type ExternalLinkProps, FeatureCard, type FeatureCardProps, FieldTrigger, type FieldTriggerProps, FileInputButton, type FileInputButtonProps, FormBox, Content as FormBoxContent, type FormBoxContentProps, Header as FormBoxHeader, type FormBoxHeaderProps, Root as FormBoxRoot, type FormBoxRootProps, SubHeader as FormBoxSubHeader, type FormBoxSubHeaderProps, FramedIcon, type FramedIconProps, FreeTextField, type FreeTextFieldProps, GridItems, type GridItemsProps, type GuestVerificationStatus, HALO_ICON_STATUS, HaloIcon, type HaloIconProps, HelpTooltip, type HelpTooltipProps, IVStatusBadge, type IVStatusBadgeProps, IV_BADGE_STATUS, Icon$1 as Icon, IconButton, type IconButtonProps, type IconEntry, type IconNames, type IconProps, IconRegistry, IconsDropdown, type IconsDropdownProps, Image, ImageFullScreenView, type ImageFullScreenViewProps, type ImageProps, InfoBox, type InfoBoxProps, Input, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputProps, LABEL_PLACEMENT, Label, type LabelProps, LargeModal, type LargeModalProps, LearnMoreButton, type LearnMoreButtonProps, Link, type LinkProps, Loader, type LoaderProps, LoadingBar, type LoadingBarProps, type LucideIconEntry, METRIC_CARD_VARIANTS, MetricCard, type MetricCardProps, Modal, ModalButton, ModalLoader, type ModalLoaderProps, type ModalProps, OverlayLoader, type OverlayLoaderProps, PageLoader, type PageLoaderProps, Pagination, type PaginationProps, type PaginationVariant, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, Radio, RadioGroup, RadioGroupItem, type RadioOption, type RadioProps, RadioWithBorder, RatingProgress, type RatingProgressProps, RatingRadioGroup, type RatingRadioGroupProps, RatingStars, type RatingStarsProps, RegistryIcon, RotateIcon, type RotateIconProps, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, SearchButton, type SearchButtonProps, SearchInput, type SearchInputProps, SearchableSelect, type SearchableSelectProps, type SearchableSelectValue, Section, type SectionProps, SectionTag, SectionTagColors, type SectionTagProps, Select, SelectContent, type SelectForwardType, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectPortal, type SelectProps, SelectRoot, SelectSeparator, SelectTrigger, SelectValue$1 as SelectValue, SelectorButton, type SelectorButtonProps, type SelectorOption, Selectors, type SelectorsProps, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarIcon, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SkeletonProps, SmallGridSingleItem, type SmallGridSingleItemProps, SortingAction, type SortingActionProps, type SortingActionValue, type SortingByVariant, StatusBadge, type StatusBadgeProps, type StatusBadgeVariant, StatusBox, type StatusBoxProps, StatusButton, type StatusButtonProps, Stepper, type StepperProps, SubSection, SubSectionSize, Switch, SwitchBlocks, type SwitchBlocksOption, type SwitchBlocksProps, SwitchGroup, type SwitchGroupProps, type SwitchOption, type SwitchProps, TASK_VARIANTS, TabbedSection, type TabbedSectionProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TablePlaceholder, type TablePlaceholderProps, TableRow, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsTriggerProps, TaskCard, type TaskCardProps, TextField, type TextFieldProps, Textarea, type TextareaProps, ThreeDotsLoader, type ThreeDotsLoaderProps, ToggleGroup, ToggleGroupItem, Toggles, type TogglesForwardType, type TogglesProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, TooltipRoot, type TooltipRootProps, TooltipRootWrapper, TooltipTrigger, type UiKitLocale, UploadedFilesList, type UploadedFilesListProps, VideoPlayer, type VideoPlayerProps, WideButton, type WideButtonProps, badgeVariants, bookmarkTabsListVariants, bookmarkTabsTriggerVariants, buttonGroupVariants, buttonVariants, calendarClassNames, cn, emptyMediaVariants, getSidebarState, inputVariants, labelVariants, sectionTagVariants, switchThumbVariants, switchVariants, tabsListVariants, tabsTriggerVariants, toggleVariants, uiKitI18nResources, uiKitTranslations, useRadioOptions, useSidebar, useSidebarMenuButton, useSidebarSafe, useUpdateToast };
|