@sustaina/shared-ui 1.8.2 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +9 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +507 -125
- package/dist/index.d.ts +507 -125
- package/dist/index.js +8693 -5329
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8420 -5118
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,63 +1,117 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { CSSProperties, ReactNode } from 'react';
|
|
4
|
-
import
|
|
5
|
-
import { Header, RowData as RowData$1, Column as Column$1, Table as Table$1, ColumnDef, ColumnFiltersState, OnChangeFn, FilterFnOption, SortingState, ColumnOrderState, VisibilityState, ColumnPinningState, GroupingState, GroupingOptions, ColumnResizeMode, RowSelectionState, Row, ExpandedState, Cell, HeaderGroup, HeaderContext } from '@tanstack/react-table';
|
|
6
|
-
import * as zustand from 'zustand';
|
|
3
|
+
import React__default, { CSSProperties, ReactNode, SVGProps } from 'react';
|
|
4
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
7
5
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
8
6
|
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
8
|
+
import { Header, RowData as RowData$1, Column as Column$1, Table as Table$1, ColumnDef, ColumnFiltersState, OnChangeFn, FilterFnOption, SortingState, ColumnOrderState, VisibilityState, ColumnPinningState, GroupingState, GroupingOptions, ColumnResizeMode, RowSelectionState, Row, ExpandedState, Cell, HeaderGroup, HeaderContext } from '@tanstack/react-table';
|
|
9
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
10
|
+
import * as react_hook_form from 'react-hook-form';
|
|
11
|
+
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
12
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
13
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
14
|
+
import * as zustand from 'zustand';
|
|
15
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
16
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
17
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
18
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
19
|
+
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
20
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
9
21
|
import { ClassValue } from 'clsx';
|
|
10
22
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
declare function
|
|
23
|
+
declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
24
|
+
declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
25
|
+
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
26
|
+
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
15
27
|
|
|
16
|
-
type
|
|
17
|
-
type
|
|
18
|
-
|
|
28
|
+
type FieldType = "text" | "number" | "date" | "datetime" | "datemonth" | "checkbox" | "dropdown" | "lookup" | "uuid" | "json";
|
|
29
|
+
type Option = {
|
|
30
|
+
value: string;
|
|
31
|
+
label: string;
|
|
19
32
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
33
|
+
interface FieldSchemaBase<T extends FieldType> {
|
|
34
|
+
name: string;
|
|
35
|
+
type: T;
|
|
36
|
+
label?: string;
|
|
37
|
+
multiTableSearch?: boolean;
|
|
38
|
+
jsonPath?: string[];
|
|
39
|
+
}
|
|
40
|
+
interface DropdownFieldSchema extends FieldSchemaBase<"dropdown"> {
|
|
41
|
+
options: Option[];
|
|
42
|
+
}
|
|
43
|
+
type TextFieldSchema = FieldSchemaBase<"text">;
|
|
44
|
+
type NumberFieldSchema = FieldSchemaBase<"number">;
|
|
45
|
+
type DateFieldSchema = FieldSchemaBase<"date">;
|
|
46
|
+
type DateTimeFieldSchema = FieldSchemaBase<"datetime">;
|
|
47
|
+
type DateMonthFieldSchema = FieldSchemaBase<"datemonth">;
|
|
48
|
+
type CheckboxFieldSchema = FieldSchemaBase<"checkbox">;
|
|
49
|
+
interface LookupFieldSchema extends FieldSchemaBase<"lookup"> {
|
|
50
|
+
maxTags?: number;
|
|
51
|
+
fetchSuggestions?: (query: string) => Promise<Option[]>;
|
|
52
|
+
suggestionDebounce?: number;
|
|
53
|
+
placeholder?: string;
|
|
54
|
+
noOptionsMessage?: string;
|
|
55
|
+
loadingMessage?: string;
|
|
56
|
+
}
|
|
57
|
+
type UUIDFieldSchema = FieldSchemaBase<"uuid">;
|
|
58
|
+
type JSONFieldSchema = FieldSchemaBase<"json">;
|
|
59
|
+
type FieldSchema = DropdownFieldSchema | TextFieldSchema | NumberFieldSchema | DateFieldSchema | DateTimeFieldSchema | DateMonthFieldSchema | CheckboxFieldSchema | LookupFieldSchema | UUIDFieldSchema | JSONFieldSchema;
|
|
60
|
+
type OperatorValue = "contains" | "equals" | "beginsWith" | "endsWith" | "notEquals" | "notBeginsWith" | "notEndsWith" | "notContains" | "gt" | "gte" | "lt" | "lte" | "on" | "after" | "before" | "between" | "is" | "isNot" | "containsAny" | "containsOnly" | "containsAll";
|
|
61
|
+
type RowState = {
|
|
25
62
|
id: string;
|
|
63
|
+
fieldName: string;
|
|
64
|
+
fieldType: FieldType;
|
|
65
|
+
operator: Exclude<OperatorValue, "between">;
|
|
66
|
+
value: string;
|
|
67
|
+
value2?: undefined;
|
|
68
|
+
multiTableSearch?: boolean;
|
|
69
|
+
jsonPath?: string[];
|
|
70
|
+
} | {
|
|
71
|
+
id: string;
|
|
72
|
+
fieldName: string;
|
|
73
|
+
fieldType: FieldType;
|
|
74
|
+
operator: "between";
|
|
75
|
+
value: string;
|
|
76
|
+
value2: string;
|
|
77
|
+
multiTableSearch?: boolean;
|
|
78
|
+
jsonPath?: string[];
|
|
26
79
|
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
80
|
+
interface Params {
|
|
81
|
+
AND: Record<string, unknown>[];
|
|
82
|
+
}
|
|
83
|
+
interface AdvanceSearchProps {
|
|
84
|
+
fields: FieldSchema[];
|
|
85
|
+
portalId: string;
|
|
86
|
+
limitRows?: number;
|
|
87
|
+
iconColor?: string;
|
|
88
|
+
onSearch?: (param: Params) => void;
|
|
89
|
+
onClear?: () => void;
|
|
90
|
+
}
|
|
35
91
|
|
|
36
|
-
|
|
37
|
-
skipValidationIfNoContext?: boolean;
|
|
38
|
-
};
|
|
39
|
-
type UseFormFieldReturn = ReturnType<UseFormGetFieldState<any>> & {
|
|
40
|
-
prefixId: string | undefined;
|
|
41
|
-
name: string | undefined;
|
|
42
|
-
formItemId: string | undefined;
|
|
43
|
-
formLabelId: string | undefined;
|
|
44
|
-
formErrorMessageId: string | undefined;
|
|
45
|
-
};
|
|
46
|
-
declare function useFormField(options?: UseFormFieldOptions): UseFormFieldReturn;
|
|
92
|
+
declare const AdvanceSearch: React__default.FC<AdvanceSearchProps>;
|
|
47
93
|
|
|
48
|
-
|
|
49
|
-
|
|
94
|
+
declare const buttonVariants: (props?: ({
|
|
95
|
+
variant?: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | "cancel" | "defaultSelect" | "defaultOutline" | "warning" | null | undefined;
|
|
96
|
+
size?: "default" | "option" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-md" | "icon-lg" | null | undefined;
|
|
97
|
+
active?: boolean | null | undefined;
|
|
98
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
99
|
+
declare function Button({ className, variant, size, active, asChild, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
100
|
+
asChild?: boolean;
|
|
101
|
+
active?: boolean;
|
|
102
|
+
}): react_jsx_runtime.JSX.Element;
|
|
50
103
|
|
|
51
|
-
|
|
52
|
-
declare function NumberInput({ className, ...props }: NumberInputProps): react_jsx_runtime.JSX.Element;
|
|
104
|
+
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
53
105
|
|
|
54
106
|
declare function TableContainer({ className, children, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
55
107
|
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
56
108
|
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
57
109
|
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
110
|
+
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
|
|
58
111
|
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
59
112
|
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
60
113
|
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
114
|
+
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
61
115
|
|
|
62
116
|
type ColumnResizerProps = {
|
|
63
117
|
header: Header<any, any>;
|
|
@@ -301,18 +355,104 @@ type HeaderCellProps<TData = any, TValue = any> = {
|
|
|
301
355
|
};
|
|
302
356
|
declare const HeaderCell: ({ rootClassName, labelClassName, context, label, sorterProps, align }: HeaderCellProps) => react_jsx_runtime.JSX.Element;
|
|
303
357
|
|
|
304
|
-
|
|
358
|
+
type ButtonVariant$1 = "default" | "outline" | "ghost" | "link" | "destructive" | "secondary" | null | undefined;
|
|
359
|
+
type DatePickerProps$1 = {
|
|
360
|
+
selectedDate?: Date;
|
|
361
|
+
onDateSelect?: (date: Date) => void;
|
|
362
|
+
onMonthForward?: () => void;
|
|
363
|
+
onMonthBackward?: () => void;
|
|
364
|
+
callbacks?: {
|
|
365
|
+
yearLabel?: (year: number) => string;
|
|
366
|
+
monthLabel?: (year: number, monthIndex: number) => string;
|
|
367
|
+
dayLabel?: (date: Date) => string | number;
|
|
368
|
+
weekdayLabel?: (index0Mon: number) => string;
|
|
369
|
+
};
|
|
370
|
+
variant?: {
|
|
371
|
+
day?: {
|
|
372
|
+
main?: ButtonVariant$1;
|
|
373
|
+
selected?: ButtonVariant$1;
|
|
374
|
+
outside?: ButtonVariant$1;
|
|
375
|
+
today?: ButtonVariant$1;
|
|
376
|
+
};
|
|
377
|
+
chevrons?: ButtonVariant$1;
|
|
378
|
+
};
|
|
379
|
+
minDate?: Date;
|
|
380
|
+
maxDate?: Date;
|
|
381
|
+
disabledDates?: Date[];
|
|
382
|
+
} & React$1.HTMLAttributes<HTMLDivElement>;
|
|
383
|
+
/** ---------- Component ---------- */
|
|
384
|
+
declare function DatePicker$1({ selectedDate, onDateSelect, callbacks, onMonthBackward, onMonthForward, variant, minDate, maxDate, disabledDates, className, ...props }: DatePickerProps$1): react_jsx_runtime.JSX.Element;
|
|
385
|
+
|
|
386
|
+
type CalendarProps$1 = React__default.ComponentProps<typeof DatePicker$1>;
|
|
387
|
+
type DatePickerProps = {
|
|
388
|
+
value?: Date | string | null;
|
|
389
|
+
onChange?: (date?: Date) => void;
|
|
390
|
+
onValueChange?: (value?: string) => void;
|
|
391
|
+
placeholder?: string;
|
|
392
|
+
allowClear?: boolean;
|
|
393
|
+
displayFormatter?: (date: Date) => string;
|
|
394
|
+
valueFormatter?: (date: Date) => string;
|
|
395
|
+
valueParser?: (value: string) => Date | undefined;
|
|
396
|
+
buttonClassName?: string;
|
|
397
|
+
wrapperClassName?: string;
|
|
398
|
+
invalid?: boolean;
|
|
399
|
+
calendarClassName?: string;
|
|
400
|
+
popoverContentClassName?: string;
|
|
401
|
+
disabled?: boolean;
|
|
402
|
+
closeOnSelect?: boolean;
|
|
403
|
+
clearAriaLabel?: string;
|
|
404
|
+
ariaLabel?: string;
|
|
405
|
+
} & Omit<CalendarProps$1, "selectedDate" | "onDateSelect" | "className">;
|
|
406
|
+
declare const DatePicker: React__default.FC<DatePickerProps>;
|
|
407
|
+
|
|
408
|
+
declare function Dialog(props: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
409
|
+
declare function DialogTrigger(props: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
410
|
+
interface DialogContentProps extends React$1.ComponentProps<typeof DialogPrimitive.Content> {
|
|
411
|
+
header?: React$1.ReactNode;
|
|
412
|
+
showOverlay?: boolean;
|
|
413
|
+
}
|
|
414
|
+
declare function DialogContent({ className, children, header, showOverlay, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element;
|
|
415
|
+
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
416
|
+
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
417
|
+
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
305
418
|
|
|
306
|
-
type
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
419
|
+
type DialogVariant = "default" | "success" | "error" | "warning";
|
|
420
|
+
interface DialogAlertProps {
|
|
421
|
+
open: boolean;
|
|
422
|
+
onOpenChange: (state: boolean) => void;
|
|
423
|
+
title?: string;
|
|
424
|
+
description?: string;
|
|
425
|
+
variant?: DialogVariant;
|
|
426
|
+
confirmText?: string;
|
|
427
|
+
cancelText?: string;
|
|
428
|
+
onConfirm?: () => void;
|
|
429
|
+
onCancel?: () => void;
|
|
430
|
+
showCancel?: boolean;
|
|
431
|
+
align?: "start" | "center" | "end";
|
|
432
|
+
outlet?: React__default.ReactNode | null;
|
|
433
|
+
persistent?: boolean;
|
|
434
|
+
}
|
|
435
|
+
declare function DialogAlert({ open, onOpenChange, title, description, variant, confirmText, cancelText, onConfirm, onCancel, showCancel, align, outlet, persistent }: DialogAlertProps): react_jsx_runtime.JSX.Element;
|
|
311
436
|
|
|
312
|
-
|
|
313
|
-
|
|
437
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
438
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
439
|
+
declare const useFormField: () => {
|
|
440
|
+
invalid: boolean;
|
|
441
|
+
isDirty: boolean;
|
|
442
|
+
isTouched: boolean;
|
|
443
|
+
isValidating: boolean;
|
|
444
|
+
error?: react_hook_form.FieldError;
|
|
445
|
+
id: string;
|
|
446
|
+
name: string;
|
|
447
|
+
formItemId: string;
|
|
448
|
+
formDescriptionId: string;
|
|
449
|
+
formMessageId: string;
|
|
314
450
|
};
|
|
315
|
-
declare
|
|
451
|
+
declare function FormItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
452
|
+
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
453
|
+
declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element;
|
|
454
|
+
declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
455
|
+
declare function FormMessage({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null;
|
|
316
456
|
|
|
317
457
|
type Column = {
|
|
318
458
|
id: string;
|
|
@@ -368,15 +508,186 @@ type UseGridSettingsStoreState = {
|
|
|
368
508
|
};
|
|
369
509
|
declare const useGridSettingsStore: zustand.UseBoundStore<zustand.StoreApi<UseGridSettingsStoreState & UseGridSettingsStoreActions>>;
|
|
370
510
|
|
|
371
|
-
declare const
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
511
|
+
declare const ArrowIcon: React$1.FC<SVGProps<SVGSVGElement>>;
|
|
512
|
+
|
|
513
|
+
declare const SuiCalendarIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
514
|
+
|
|
515
|
+
declare const SuiCheckIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
516
|
+
|
|
517
|
+
declare const SuiDotsVerticalIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
518
|
+
|
|
519
|
+
declare const SuiEmptyDataIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
520
|
+
|
|
521
|
+
declare const SuiExpandIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
522
|
+
|
|
523
|
+
declare const SuiFilterIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
524
|
+
|
|
525
|
+
declare const NotFoundIcon: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
526
|
+
|
|
527
|
+
declare const SuiSettingIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
528
|
+
|
|
529
|
+
declare const SuiTriangleDownIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
530
|
+
|
|
531
|
+
declare const SuiWarningIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
532
|
+
|
|
533
|
+
type InputPrimitiveProps = React$1.InputHTMLAttributes<HTMLInputElement>;
|
|
534
|
+
declare const InputPrimitive: React$1.ForwardRefExoticComponent<InputPrimitiveProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
535
|
+
|
|
536
|
+
declare const inputVariants: (props?: ({
|
|
537
|
+
controlSize?: "sm" | "lg" | "md" | null | undefined;
|
|
538
|
+
fullWidth?: boolean | null | undefined;
|
|
539
|
+
appearance?: "filled" | "unfilled" | null | undefined;
|
|
375
540
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
541
|
+
type InputProps = Omit<InputPrimitiveProps, "size"> & VariantProps<typeof inputVariants> & {
|
|
542
|
+
prefix?: React$1.ReactNode;
|
|
543
|
+
prefixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
|
|
544
|
+
suffix?: React$1.ReactNode;
|
|
545
|
+
suffixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
|
|
546
|
+
wrapperClassName?: string;
|
|
547
|
+
invalid?: boolean;
|
|
548
|
+
loading?: boolean;
|
|
549
|
+
loadingIcon?: React$1.ReactNode;
|
|
550
|
+
validationMessage?: React$1.ReactNode;
|
|
551
|
+
validationIcon?: React$1.ReactNode;
|
|
552
|
+
validationMessageProps?: React$1.HTMLAttributes<HTMLParagraphElement>;
|
|
553
|
+
};
|
|
554
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<InputPrimitiveProps, "size"> & VariantProps<(props?: ({
|
|
555
|
+
controlSize?: "sm" | "lg" | "md" | null | undefined;
|
|
556
|
+
fullWidth?: boolean | null | undefined;
|
|
557
|
+
appearance?: "filled" | "unfilled" | null | undefined;
|
|
558
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
559
|
+
prefix?: React$1.ReactNode;
|
|
560
|
+
prefixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
|
|
561
|
+
suffix?: React$1.ReactNode;
|
|
562
|
+
suffixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
|
|
563
|
+
wrapperClassName?: string;
|
|
564
|
+
invalid?: boolean;
|
|
565
|
+
loading?: boolean;
|
|
566
|
+
loadingIcon?: React$1.ReactNode;
|
|
567
|
+
validationMessage?: React$1.ReactNode;
|
|
568
|
+
validationIcon?: React$1.ReactNode;
|
|
569
|
+
validationMessageProps?: React$1.HTMLAttributes<HTMLParagraphElement>;
|
|
570
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
571
|
+
|
|
572
|
+
type ListProps = {
|
|
573
|
+
gridSettingPayload: GridPayload;
|
|
574
|
+
isLeftExpanded: boolean;
|
|
575
|
+
handleSettingClick: () => void;
|
|
576
|
+
handleExpandClick: () => void;
|
|
577
|
+
onCreateExample: () => void;
|
|
578
|
+
onViewExample: (exampleId: string) => void;
|
|
579
|
+
onEditExample: (exampleId: string) => void;
|
|
580
|
+
onDeleteExample: (exampleId: string) => void;
|
|
581
|
+
selectedRowId?: string;
|
|
582
|
+
onTableReady?: (table: unknown) => void;
|
|
583
|
+
children?: React$1.ReactNode;
|
|
584
|
+
};
|
|
585
|
+
declare const List: React$1.FC<ListProps>;
|
|
586
|
+
|
|
587
|
+
interface ListContainerProps {
|
|
588
|
+
className?: string;
|
|
589
|
+
isLeftExpanded: boolean;
|
|
590
|
+
children: React$1.ReactNode;
|
|
591
|
+
}
|
|
592
|
+
declare const ListContainer: React$1.FC<ListContainerProps>;
|
|
593
|
+
|
|
594
|
+
interface ListHeaderProps {
|
|
595
|
+
title: string | React$1.ReactNode;
|
|
596
|
+
isExpanded?: boolean;
|
|
597
|
+
onSettingClick?: () => void;
|
|
598
|
+
onExpandClick?: () => void;
|
|
599
|
+
bgColor?: string;
|
|
600
|
+
textClassName?: string;
|
|
601
|
+
titleIcon?: React$1.ReactNode;
|
|
602
|
+
rightActions?: React$1.ReactNode;
|
|
603
|
+
className?: string;
|
|
604
|
+
}
|
|
605
|
+
declare const ListHeader: React$1.FC<ListHeaderProps>;
|
|
606
|
+
|
|
607
|
+
interface ListTableProps {
|
|
608
|
+
gridSettingPayload?: GridPayload;
|
|
609
|
+
onCreateExample?: () => void;
|
|
610
|
+
onViewExample?: (exampleId: string) => void;
|
|
611
|
+
onEditExample?: (exampleId: string) => void;
|
|
612
|
+
onDeleteExample?: (exampleId: string) => void;
|
|
613
|
+
selectedRowId?: string;
|
|
614
|
+
onTableReady?: (table: unknown) => void;
|
|
615
|
+
children?: React$1.ReactNode;
|
|
616
|
+
}
|
|
617
|
+
declare const ListTable: React$1.FC<ListTableProps>;
|
|
618
|
+
|
|
619
|
+
interface LookupSelectOption {
|
|
620
|
+
value: string;
|
|
621
|
+
label: string;
|
|
622
|
+
}
|
|
623
|
+
interface LookupSelectProps {
|
|
624
|
+
value?: string[];
|
|
625
|
+
onChange: (tags: string[]) => void;
|
|
626
|
+
placeholder?: string;
|
|
627
|
+
onClear?: () => void;
|
|
628
|
+
error?: boolean;
|
|
629
|
+
maxTags?: number;
|
|
630
|
+
fetchSuggestions?: (query: string) => Promise<LookupSelectOption[]>;
|
|
631
|
+
suggestionDebounce?: number;
|
|
632
|
+
noOptionsMessage?: string;
|
|
633
|
+
loadingMessage?: string;
|
|
634
|
+
dropdownPortalId?: string;
|
|
635
|
+
}
|
|
636
|
+
declare const LookupSelect: React__default.FC<LookupSelectProps>;
|
|
637
|
+
|
|
638
|
+
type ButtonVariant = "default" | "outline" | "ghost" | "link" | "destructive" | "secondary" | null | undefined;
|
|
639
|
+
type MonthCell = {
|
|
640
|
+
number: number;
|
|
641
|
+
name: string;
|
|
642
|
+
};
|
|
643
|
+
type MonthPickerCallbacks = {
|
|
644
|
+
yearLabel?: (year: number) => string;
|
|
645
|
+
monthLabel?: (month: MonthCell) => string;
|
|
646
|
+
};
|
|
647
|
+
type MonthPickerVariant = {
|
|
648
|
+
calendar?: {
|
|
649
|
+
main?: ButtonVariant;
|
|
650
|
+
selected?: ButtonVariant;
|
|
651
|
+
};
|
|
652
|
+
chevrons?: ButtonVariant;
|
|
653
|
+
};
|
|
654
|
+
type MonthPickerProps$1 = {
|
|
655
|
+
selectedDate?: Date;
|
|
656
|
+
onDateSelect?: (date?: Date) => void;
|
|
657
|
+
onYearForward?: () => void;
|
|
658
|
+
onYearBackward?: () => void;
|
|
659
|
+
callbacks?: MonthPickerCallbacks;
|
|
660
|
+
variant?: MonthPickerVariant;
|
|
661
|
+
minDate?: Date;
|
|
662
|
+
maxDate?: Date;
|
|
663
|
+
disabledDates?: Date[];
|
|
664
|
+
} & React$1.HTMLAttributes<HTMLDivElement>;
|
|
665
|
+
declare function MonthPicker$1({ selectedDate, onDateSelect, minDate, maxDate, disabledDates, callbacks, onYearBackward, onYearForward, variant, className, ...props }: MonthPickerProps$1): react_jsx_runtime.JSX.Element;
|
|
666
|
+
declare namespace MonthPicker$1 {
|
|
667
|
+
var displayName: string;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
type CalendarProps = React__default.ComponentProps<typeof MonthPicker$1>;
|
|
671
|
+
type MonthPickerProps = {
|
|
672
|
+
value?: Date | string | null;
|
|
673
|
+
onChange?: (month?: Date) => void;
|
|
674
|
+
onValueChange?: (value?: string) => void;
|
|
675
|
+
placeholder?: string;
|
|
676
|
+
allowClear?: boolean;
|
|
677
|
+
displayFormatter?: (month: Date) => string;
|
|
678
|
+
valueFormatter?: (month: Date) => string;
|
|
679
|
+
valueParser?: (value: string) => Date | undefined;
|
|
680
|
+
buttonClassName?: string;
|
|
681
|
+
wrapperClassName?: string;
|
|
682
|
+
invalid?: boolean;
|
|
683
|
+
calendarClassName?: string;
|
|
684
|
+
popoverContentClassName?: string;
|
|
685
|
+
disabled?: boolean;
|
|
686
|
+
closeOnSelect?: boolean;
|
|
687
|
+
clearAriaLabel?: string;
|
|
688
|
+
ariaLabel?: string;
|
|
689
|
+
} & Omit<CalendarProps, "selectedDate" | "onDateSelect" | "className">;
|
|
690
|
+
declare const MonthPicker: React__default.FC<MonthPickerProps>;
|
|
380
691
|
|
|
381
692
|
type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & {
|
|
382
693
|
[K in Keys]: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>;
|
|
@@ -406,81 +717,152 @@ type NavbarBaseProps = {
|
|
|
406
717
|
type NavbarProps = RequireAtLeastOne<NavbarBaseProps, "title">;
|
|
407
718
|
declare const _default: React__default.MemoExoticComponent<({ className, title, subTitle, headImageURL, headImageURLClassName, tooltipContentClassName, tooltipTitle, tooltipIcon, tooltipdescription, tooltipDescriptionWrapperClassName, mainButtonText, mainButtonClassName, mainButtonDisable, subButtonText, subButtonClassName, subButtonDisable, onMainButtonClick, onSubButtonClick, separatorDisable, searchButton }: NavbarProps) => react_jsx_runtime.JSX.Element>;
|
|
408
719
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
720
|
+
declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
721
|
+
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
722
|
+
declare function PopoverArrow(props: React$1.ComponentProps<typeof PopoverPrimitive.Arrow>): react_jsx_runtime.JSX.Element;
|
|
723
|
+
declare function PopoverContent({ className, align, sideOffset, children, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
724
|
+
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
|
|
725
|
+
|
|
726
|
+
declare const PreventPageLeave: ({ children }: React__default.PropsWithChildren) => React__default.ReactNode;
|
|
727
|
+
|
|
728
|
+
type PreventPageLeaveStore = {
|
|
729
|
+
isPreventing: boolean;
|
|
730
|
+
setPreventing: (value: boolean) => void;
|
|
413
731
|
};
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
}
|
|
424
|
-
type TextFieldSchema = FieldSchemaBase<"text">;
|
|
425
|
-
type NumberFieldSchema = FieldSchemaBase<"number">;
|
|
426
|
-
type DateFieldSchema = FieldSchemaBase<"date">;
|
|
427
|
-
type DateTimeFieldSchema = FieldSchemaBase<"datetime">;
|
|
428
|
-
type CheckboxFieldSchema = FieldSchemaBase<"checkbox">;
|
|
429
|
-
type LookupFieldSchema = FieldSchemaBase<"lookup">;
|
|
430
|
-
type UUIDFieldSchema = FieldSchemaBase<"uuid">;
|
|
431
|
-
type JSONFieldSchema = FieldSchemaBase<"json">;
|
|
432
|
-
type FieldSchema = DropdownFieldSchema | TextFieldSchema | NumberFieldSchema | DateFieldSchema | DateTimeFieldSchema | CheckboxFieldSchema | LookupFieldSchema | UUIDFieldSchema | JSONFieldSchema;
|
|
433
|
-
type OperatorValue = "contains" | "equals" | "beginsWith" | "endsWith" | "notEquals" | "notBeginsWith" | "notEndsWith" | "notContains" | "gt" | "gte" | "lt" | "lte" | "on" | "after" | "before" | "between" | "is" | "isNot" | "containsAny" | "containsOnly" | "containsAll";
|
|
434
|
-
type RowState = {
|
|
435
|
-
id: string;
|
|
436
|
-
fieldName: string;
|
|
437
|
-
fieldType: FieldType;
|
|
438
|
-
operator: Exclude<OperatorValue, "between">;
|
|
439
|
-
value: string;
|
|
440
|
-
value2?: undefined;
|
|
441
|
-
multiTableSearch?: boolean;
|
|
442
|
-
jsonPath?: string[];
|
|
443
|
-
} | {
|
|
444
|
-
id: string;
|
|
445
|
-
fieldName: string;
|
|
446
|
-
fieldType: FieldType;
|
|
447
|
-
operator: "between";
|
|
732
|
+
declare const usePreventPageLeaveStore: zustand.UseBoundStore<zustand.StoreApi<PreventPageLeaveStore>>;
|
|
733
|
+
|
|
734
|
+
type UsePreventPageLeaveOptions = {
|
|
735
|
+
isPrevening: boolean;
|
|
736
|
+
};
|
|
737
|
+
declare const usePreventPageLeave: ({ isPrevening }: UsePreventPageLeaveOptions) => void;
|
|
738
|
+
|
|
739
|
+
declare function RadioGroupRoot({ children, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
740
|
+
declare function RadioGroupItem({ id, value, children, className, containerProps, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item> & {
|
|
448
741
|
value: string;
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
742
|
+
containerProps?: React.ComponentProps<"div">;
|
|
743
|
+
}): react_jsx_runtime.JSX.Element;
|
|
744
|
+
declare function RadioLabel({ children, htmlFor, className, ...props }: React.ComponentProps<"label">): react_jsx_runtime.JSX.Element;
|
|
745
|
+
|
|
746
|
+
declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
747
|
+
declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
748
|
+
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
|
|
749
|
+
declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
750
|
+
size?: "sm" | "default";
|
|
751
|
+
}): react_jsx_runtime.JSX.Element;
|
|
752
|
+
declare function SelectContent({ className, children, position, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
753
|
+
declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
|
|
754
|
+
declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
755
|
+
declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
756
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
757
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
758
|
+
|
|
759
|
+
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
760
|
+
|
|
761
|
+
declare function Switch({ className, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
762
|
+
|
|
763
|
+
type TextareaProps = React$1.ComponentProps<"textarea"> & {
|
|
764
|
+
autoResize?: boolean;
|
|
452
765
|
};
|
|
453
|
-
|
|
454
|
-
AND: Record<string, unknown>[];
|
|
455
|
-
}
|
|
456
|
-
interface AdvanceSearchProps {
|
|
457
|
-
fields: FieldSchema[];
|
|
458
|
-
portalId: string;
|
|
459
|
-
limitRows?: number;
|
|
460
|
-
iconColor?: string;
|
|
461
|
-
onSearch?: (param: Params, rows: RowState[]) => void;
|
|
462
|
-
onClear?: () => void;
|
|
463
|
-
}
|
|
766
|
+
declare function Textarea({ className, autoResize, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
464
767
|
|
|
465
|
-
declare
|
|
768
|
+
declare function TooltipProvider$1({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
769
|
+
declare function Tooltip$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
770
|
+
declare function TooltipTrigger$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
771
|
+
declare function TooltipArrow(props: React$1.ComponentProps<typeof TooltipPrimitive.Arrow>): react_jsx_runtime.JSX.Element;
|
|
772
|
+
declare function TooltipContent$1({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
466
773
|
|
|
467
|
-
type
|
|
468
|
-
|
|
469
|
-
open: boolean;
|
|
470
|
-
onOpenChange: (state: boolean) => void;
|
|
774
|
+
type ClearButtonProps = {
|
|
775
|
+
onClick?: () => void;
|
|
471
776
|
title?: string;
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
777
|
+
ariaLabel?: string;
|
|
778
|
+
className?: string;
|
|
779
|
+
};
|
|
780
|
+
declare const ClearButton: React__default.FC<ClearButtonProps>;
|
|
781
|
+
|
|
782
|
+
declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
783
|
+
|
|
784
|
+
declare const spinnerVariants: (props?: ({
|
|
785
|
+
variant?: "primary" | "secondary" | "destructive" | "muted" | null | undefined;
|
|
786
|
+
size?: "default" | "sm" | "lg" | "xl" | "2xl" | null | undefined;
|
|
787
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
788
|
+
interface SpinnerProps extends React$1.HTMLAttributes<HTMLDivElement>, Omit<VariantProps<typeof spinnerVariants>, "size"> {
|
|
789
|
+
className?: string;
|
|
790
|
+
size?: VariantProps<typeof spinnerVariants>["size"] | number;
|
|
791
|
+
}
|
|
792
|
+
declare const Spinner: ({ className, variant, size }: SpinnerProps) => react_jsx_runtime.JSX.Element;
|
|
793
|
+
|
|
794
|
+
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
795
|
+
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
796
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
797
|
+
declare function TooltipContent({ className, arrowClassName, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content> & {
|
|
798
|
+
arrowClassName?: string;
|
|
799
|
+
}): react_jsx_runtime.JSX.Element;
|
|
800
|
+
|
|
801
|
+
declare const index_Accordion: typeof Accordion;
|
|
802
|
+
declare const index_AccordionContent: typeof AccordionContent;
|
|
803
|
+
declare const index_AccordionItem: typeof AccordionItem;
|
|
804
|
+
declare const index_AccordionTrigger: typeof AccordionTrigger;
|
|
805
|
+
declare const index_Button: typeof Button;
|
|
806
|
+
declare const index_Checkbox: typeof Checkbox;
|
|
807
|
+
declare const index_ClearButton: typeof ClearButton;
|
|
808
|
+
declare const index_Dialog: typeof Dialog;
|
|
809
|
+
declare const index_DialogContent: typeof DialogContent;
|
|
810
|
+
declare const index_DialogDescription: typeof DialogDescription;
|
|
811
|
+
declare const index_DialogFooter: typeof DialogFooter;
|
|
812
|
+
declare const index_DialogTitle: typeof DialogTitle;
|
|
813
|
+
declare const index_DialogTrigger: typeof DialogTrigger;
|
|
814
|
+
declare const index_Form: typeof Form;
|
|
815
|
+
declare const index_FormControl: typeof FormControl;
|
|
816
|
+
declare const index_FormDescription: typeof FormDescription;
|
|
817
|
+
declare const index_FormField: typeof FormField;
|
|
818
|
+
declare const index_FormItem: typeof FormItem;
|
|
819
|
+
declare const index_FormLabel: typeof FormLabel;
|
|
820
|
+
declare const index_FormMessage: typeof FormMessage;
|
|
821
|
+
declare const index_InputPrimitive: typeof InputPrimitive;
|
|
822
|
+
type index_InputPrimitiveProps = InputPrimitiveProps;
|
|
823
|
+
declare const index_Label: typeof Label;
|
|
824
|
+
declare const index_Popover: typeof Popover;
|
|
825
|
+
declare const index_PopoverAnchor: typeof PopoverAnchor;
|
|
826
|
+
declare const index_PopoverArrow: typeof PopoverArrow;
|
|
827
|
+
declare const index_PopoverContent: typeof PopoverContent;
|
|
828
|
+
declare const index_PopoverTrigger: typeof PopoverTrigger;
|
|
829
|
+
declare const index_RadioGroupItem: typeof RadioGroupItem;
|
|
830
|
+
declare const index_RadioGroupRoot: typeof RadioGroupRoot;
|
|
831
|
+
declare const index_RadioLabel: typeof RadioLabel;
|
|
832
|
+
declare const index_Select: typeof Select;
|
|
833
|
+
declare const index_SelectContent: typeof SelectContent;
|
|
834
|
+
declare const index_SelectGroup: typeof SelectGroup;
|
|
835
|
+
declare const index_SelectItem: typeof SelectItem;
|
|
836
|
+
declare const index_SelectLabel: typeof SelectLabel;
|
|
837
|
+
declare const index_SelectScrollDownButton: typeof SelectScrollDownButton;
|
|
838
|
+
declare const index_SelectScrollUpButton: typeof SelectScrollUpButton;
|
|
839
|
+
declare const index_SelectSeparator: typeof SelectSeparator;
|
|
840
|
+
declare const index_SelectTrigger: typeof SelectTrigger;
|
|
841
|
+
declare const index_SelectValue: typeof SelectValue;
|
|
842
|
+
declare const index_Separator: typeof Separator;
|
|
843
|
+
declare const index_Spinner: typeof Spinner;
|
|
844
|
+
type index_SpinnerProps = SpinnerProps;
|
|
845
|
+
declare const index_Switch: typeof Switch;
|
|
846
|
+
declare const index_Table: typeof Table;
|
|
847
|
+
declare const index_TableBody: typeof TableBody;
|
|
848
|
+
declare const index_TableCaption: typeof TableCaption;
|
|
849
|
+
declare const index_TableCell: typeof TableCell;
|
|
850
|
+
declare const index_TableContainer: typeof TableContainer;
|
|
851
|
+
declare const index_TableFooter: typeof TableFooter;
|
|
852
|
+
declare const index_TableHead: typeof TableHead;
|
|
853
|
+
declare const index_TableHeader: typeof TableHeader;
|
|
854
|
+
declare const index_TableRow: typeof TableRow;
|
|
855
|
+
declare const index_Textarea: typeof Textarea;
|
|
856
|
+
declare const index_Tooltip: typeof Tooltip;
|
|
857
|
+
declare const index_TooltipContent: typeof TooltipContent;
|
|
858
|
+
declare const index_TooltipProvider: typeof TooltipProvider;
|
|
859
|
+
declare const index_TooltipTrigger: typeof TooltipTrigger;
|
|
860
|
+
declare const index_buttonVariants: typeof buttonVariants;
|
|
861
|
+
declare const index_spinnerVariants: typeof spinnerVariants;
|
|
862
|
+
declare const index_useFormField: typeof useFormField;
|
|
863
|
+
declare namespace index {
|
|
864
|
+
export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, index_AccordionTrigger as AccordionTrigger, index_Button as Button, index_Checkbox as Checkbox, index_ClearButton as ClearButton, DatePicker$1 as DatePicker, index_Dialog as Dialog, index_DialogContent as DialogContent, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, index_Form as Form, index_FormControl as FormControl, index_FormDescription as FormDescription, index_FormField as FormField, index_FormItem as FormItem, index_FormLabel as FormLabel, index_FormMessage as FormMessage, index_InputPrimitive as InputPrimitive, type index_InputPrimitiveProps as InputPrimitiveProps, index_Label as Label, MonthPicker$1 as MonthPicker, type MonthPickerProps$1 as MonthPickerProps, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverArrow as PopoverArrow, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_RadioGroupItem as RadioGroupItem, index_RadioGroupRoot as RadioGroupRoot, index_RadioLabel as RadioLabel, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, index_Spinner as Spinner, type index_SpinnerProps as SpinnerProps, index_Switch as Switch, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableContainer as TableContainer, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow, index_Textarea as Textarea, index_Tooltip as Tooltip, index_TooltipContent as TooltipContent, index_TooltipProvider as TooltipProvider, index_TooltipTrigger as TooltipTrigger, index_buttonVariants as buttonVariants, index_spinnerVariants as spinnerVariants, index_useFormField as useFormField };
|
|
482
865
|
}
|
|
483
|
-
declare function DialogAlert({ open, onOpenChange, title, description, variant, confirmText, cancelText, onConfirm, onCancel, showCancel, align, outlet, persistent }: DialogAlertProps): react_jsx_runtime.JSX.Element;
|
|
484
866
|
|
|
485
867
|
declare function isDefined(value: any): boolean;
|
|
486
868
|
declare function isEmptyObject(value: any): boolean;
|
|
@@ -579,4 +961,4 @@ type UseTruncatedOptions<T> = {
|
|
|
579
961
|
type UseTruncatedResult = boolean;
|
|
580
962
|
declare const useTruncated: <T extends HTMLElement = any>({ elementRef, onChange, resizeDetectDelay }: UseTruncatedOptions<T>) => UseTruncatedResult;
|
|
581
963
|
|
|
582
|
-
export { AdvanceSearch, type Breakpoints, Button, type Column, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DatatableColumnResizing, type DebounceOptions, type DebouncedFunction, DialogAlert, type DialogAlertProps, type DialogVariant, type FieldSchema,
|
|
964
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvanceSearch, ArrowIcon, type Breakpoints, Button, Checkbox, type Column, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, Dialog, DialogAlert, type DialogAlertProps, DialogContent, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type FieldSchema, type FieldType, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HeaderCell, type HeaderCellProps, Input, type InputProps, List, ListContainer, type ListContainerProps, ListHeader, type ListHeaderProps, type ListProps, ListTable, type ListTableProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type Params, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, type SorterProps, SuiCalendarIcon, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, Textarea, Tooltip$1 as Tooltip, TooltipArrow, TooltipContent$1 as TooltipContent, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, index as UI, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, booleanToSelectValue, buttonVariants, cn, compareAlphanumeric, debounce, inputVariants, isDefined, isEmptyObject, selectValueToBoolean, stripNullishObject, throttle, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useScreenSize, useTruncated };
|