@sustaina/shared-ui 1.8.2 → 1.9.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.d.ts 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 { FieldValues, FieldPath, ControllerProps, UseFormGetFieldState } from 'react-hook-form';
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
- type FormErrorMessageProps = React__default.ComponentProps<"p"> & {
12
- errorClassName?: string;
13
- };
14
- declare function FormErrorMessage({ className, errorClassName, ...props }: FormErrorMessageProps): react_jsx_runtime.JSX.Element | null;
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 FormFieldProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = ControllerProps<TFieldValues, TName>;
17
- type FormFieldContextValue<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
18
- name: TName;
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
- declare const FormFieldContext: React$1.Context<FormFieldContextValue<FieldValues, string>>;
21
- declare function FormField<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(props: FormFieldProps<TFieldValues, TName>): react_jsx_runtime.JSX.Element;
22
-
23
- type FormItemProps = React__default.ComponentProps<"div">;
24
- type FormItemContextValue = {
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
- declare const FormItemContext: React__default.Context<FormItemContextValue>;
28
- declare function FormItem({ children, ...props }: FormItemProps): react_jsx_runtime.JSX.Element;
29
-
30
- type FormLabelProps = React__default.ComponentProps<"label"> & {
31
- errorClassName?: string;
32
- required?: boolean;
33
- };
34
- declare function FormLabel({ children, className, errorClassName, required, ...props }: FormLabelProps): react_jsx_runtime.JSX.Element;
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
- type UseFormFieldOptions = {
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
- type TextInputProps = React__default.ComponentProps<"input">;
49
- declare function TextInput({ className, ...props }: TextInputProps): react_jsx_runtime.JSX.Element;
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
- type NumberInputProps = React__default.ComponentProps<"input">;
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
- declare const PreventPageLeave: ({ children }: React__default.PropsWithChildren) => React__default.ReactNode;
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 PreventPageLeaveStore = {
307
- isPreventing: boolean;
308
- setPreventing: (value: boolean) => void;
309
- };
310
- declare const usePreventPageLeaveStore: zustand.UseBoundStore<zustand.StoreApi<PreventPageLeaveStore>>;
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
- type UsePreventPageLeaveOptions = {
313
- isPrevening: boolean;
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 const usePreventPageLeave: ({ isPrevening }: UsePreventPageLeaveOptions) => void;
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;
@@ -359,6 +499,7 @@ type UseGridSettingsStoreActions = {
359
499
  syncColumnsState: <TData = RowData$1>(table: Table$1<TData>, options?: {
360
500
  excludeColumns: KeyOrString<TData>[];
361
501
  labelMap?: Partial<Record<KeyOrString<TData>, string>>;
502
+ visibility?: Record<keyof TData, boolean>;
362
503
  }) => void;
363
504
  };
364
505
  type UseGridSettingsStoreState = {
@@ -368,15 +509,186 @@ type UseGridSettingsStoreState = {
368
509
  };
369
510
  declare const useGridSettingsStore: zustand.UseBoundStore<zustand.StoreApi<UseGridSettingsStoreState & UseGridSettingsStoreActions>>;
370
511
 
371
- declare const buttonVariants: (props?: ({
372
- variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "cancel" | "ghost" | "defaultSelect" | "defaultOutline" | null | undefined;
373
- size?: "default" | "option" | "icon" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-md" | "icon-lg" | null | undefined;
374
- active?: boolean | null | undefined;
512
+ declare const ArrowIcon: React$1.FC<SVGProps<SVGSVGElement>>;
513
+
514
+ declare const SuiCalendarIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
515
+
516
+ declare const SuiCheckIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
517
+
518
+ declare const SuiDotsVerticalIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
519
+
520
+ declare const SuiEmptyDataIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
521
+
522
+ declare const SuiExpandIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
523
+
524
+ declare const SuiFilterIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
525
+
526
+ declare const NotFoundIcon: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
527
+
528
+ declare const SuiSettingIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
529
+
530
+ declare const SuiTriangleDownIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
531
+
532
+ declare const SuiWarningIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
533
+
534
+ type InputPrimitiveProps = React$1.InputHTMLAttributes<HTMLInputElement>;
535
+ declare const InputPrimitive: React$1.ForwardRefExoticComponent<InputPrimitiveProps & React$1.RefAttributes<HTMLInputElement>>;
536
+
537
+ declare const inputVariants: (props?: ({
538
+ controlSize?: "sm" | "lg" | "md" | null | undefined;
539
+ fullWidth?: boolean | null | undefined;
540
+ appearance?: "filled" | "unfilled" | null | undefined;
375
541
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
376
- declare function Button({ className, variant, size, active, asChild, ...props }: React$1.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
377
- asChild?: boolean;
378
- active?: boolean;
379
- }): react_jsx_runtime.JSX.Element;
542
+ type InputProps = Omit<InputPrimitiveProps, "size"> & VariantProps<typeof inputVariants> & {
543
+ prefix?: React$1.ReactNode;
544
+ prefixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
545
+ suffix?: React$1.ReactNode;
546
+ suffixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
547
+ wrapperClassName?: string;
548
+ invalid?: boolean;
549
+ loading?: boolean;
550
+ loadingIcon?: React$1.ReactNode;
551
+ validationMessage?: React$1.ReactNode;
552
+ validationIcon?: React$1.ReactNode;
553
+ validationMessageProps?: React$1.HTMLAttributes<HTMLParagraphElement>;
554
+ };
555
+ declare const Input: React$1.ForwardRefExoticComponent<Omit<InputPrimitiveProps, "size"> & VariantProps<(props?: ({
556
+ controlSize?: "sm" | "lg" | "md" | null | undefined;
557
+ fullWidth?: boolean | null | undefined;
558
+ appearance?: "filled" | "unfilled" | null | undefined;
559
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
560
+ prefix?: React$1.ReactNode;
561
+ prefixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
562
+ suffix?: React$1.ReactNode;
563
+ suffixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
564
+ wrapperClassName?: string;
565
+ invalid?: boolean;
566
+ loading?: boolean;
567
+ loadingIcon?: React$1.ReactNode;
568
+ validationMessage?: React$1.ReactNode;
569
+ validationIcon?: React$1.ReactNode;
570
+ validationMessageProps?: React$1.HTMLAttributes<HTMLParagraphElement>;
571
+ } & React$1.RefAttributes<HTMLInputElement>>;
572
+
573
+ type ListProps = {
574
+ gridSettingPayload: GridPayload;
575
+ isLeftExpanded: boolean;
576
+ handleSettingClick: () => void;
577
+ handleExpandClick: () => void;
578
+ onCreateExample: () => void;
579
+ onViewExample: (exampleId: string) => void;
580
+ onEditExample: (exampleId: string) => void;
581
+ onDeleteExample: (exampleId: string) => void;
582
+ selectedRowId?: string;
583
+ onTableReady?: (table: unknown) => void;
584
+ children?: React$1.ReactNode;
585
+ };
586
+ declare const List: React$1.FC<ListProps>;
587
+
588
+ interface ListContainerProps {
589
+ className?: string;
590
+ isLeftExpanded: boolean;
591
+ children: React$1.ReactNode;
592
+ }
593
+ declare const ListContainer: React$1.FC<ListContainerProps>;
594
+
595
+ interface ListHeaderProps {
596
+ title: string | React$1.ReactNode;
597
+ isExpanded?: boolean;
598
+ onSettingClick?: () => void;
599
+ onExpandClick?: () => void;
600
+ bgColor?: string;
601
+ textClassName?: string;
602
+ titleIcon?: React$1.ReactNode;
603
+ rightActions?: React$1.ReactNode;
604
+ className?: string;
605
+ }
606
+ declare const ListHeader: React$1.FC<ListHeaderProps>;
607
+
608
+ interface ListTableProps {
609
+ gridSettingPayload?: GridPayload;
610
+ onCreateExample?: () => void;
611
+ onViewExample?: (exampleId: string) => void;
612
+ onEditExample?: (exampleId: string) => void;
613
+ onDeleteExample?: (exampleId: string) => void;
614
+ selectedRowId?: string;
615
+ onTableReady?: (table: unknown) => void;
616
+ children?: React$1.ReactNode;
617
+ }
618
+ declare const ListTable: React$1.FC<ListTableProps>;
619
+
620
+ interface LookupSelectOption {
621
+ value: string;
622
+ label: string;
623
+ }
624
+ interface LookupSelectProps {
625
+ value?: string[];
626
+ onChange: (tags: string[]) => void;
627
+ placeholder?: string;
628
+ onClear?: () => void;
629
+ error?: boolean;
630
+ maxTags?: number;
631
+ fetchSuggestions?: (query: string) => Promise<LookupSelectOption[]>;
632
+ suggestionDebounce?: number;
633
+ noOptionsMessage?: string;
634
+ loadingMessage?: string;
635
+ dropdownPortalId?: string;
636
+ }
637
+ declare const LookupSelect: React__default.FC<LookupSelectProps>;
638
+
639
+ type ButtonVariant = "default" | "outline" | "ghost" | "link" | "destructive" | "secondary" | null | undefined;
640
+ type MonthCell = {
641
+ number: number;
642
+ name: string;
643
+ };
644
+ type MonthPickerCallbacks = {
645
+ yearLabel?: (year: number) => string;
646
+ monthLabel?: (month: MonthCell) => string;
647
+ };
648
+ type MonthPickerVariant = {
649
+ calendar?: {
650
+ main?: ButtonVariant;
651
+ selected?: ButtonVariant;
652
+ };
653
+ chevrons?: ButtonVariant;
654
+ };
655
+ type MonthPickerProps$1 = {
656
+ selectedDate?: Date;
657
+ onDateSelect?: (date?: Date) => void;
658
+ onYearForward?: () => void;
659
+ onYearBackward?: () => void;
660
+ callbacks?: MonthPickerCallbacks;
661
+ variant?: MonthPickerVariant;
662
+ minDate?: Date;
663
+ maxDate?: Date;
664
+ disabledDates?: Date[];
665
+ } & React$1.HTMLAttributes<HTMLDivElement>;
666
+ declare function MonthPicker$1({ selectedDate, onDateSelect, minDate, maxDate, disabledDates, callbacks, onYearBackward, onYearForward, variant, className, ...props }: MonthPickerProps$1): react_jsx_runtime.JSX.Element;
667
+ declare namespace MonthPicker$1 {
668
+ var displayName: string;
669
+ }
670
+
671
+ type CalendarProps = React__default.ComponentProps<typeof MonthPicker$1>;
672
+ type MonthPickerProps = {
673
+ value?: Date | string | null;
674
+ onChange?: (month?: Date) => void;
675
+ onValueChange?: (value?: string) => void;
676
+ placeholder?: string;
677
+ allowClear?: boolean;
678
+ displayFormatter?: (month: Date) => string;
679
+ valueFormatter?: (month: Date) => string;
680
+ valueParser?: (value: string) => Date | undefined;
681
+ buttonClassName?: string;
682
+ wrapperClassName?: string;
683
+ invalid?: boolean;
684
+ calendarClassName?: string;
685
+ popoverContentClassName?: string;
686
+ disabled?: boolean;
687
+ closeOnSelect?: boolean;
688
+ clearAriaLabel?: string;
689
+ ariaLabel?: string;
690
+ } & Omit<CalendarProps, "selectedDate" | "onDateSelect" | "className">;
691
+ declare const MonthPicker: React__default.FC<MonthPickerProps>;
380
692
 
381
693
  type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & {
382
694
  [K in Keys]: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>;
@@ -406,81 +718,152 @@ type NavbarBaseProps = {
406
718
  type NavbarProps = RequireAtLeastOne<NavbarBaseProps, "title">;
407
719
  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
720
 
409
- type FieldType = "text" | "number" | "date" | "datetime" | "checkbox" | "dropdown" | "lookup" | "uuid" | "json";
410
- type Option = {
411
- value: string;
412
- label: string;
721
+ declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
722
+ declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
723
+ declare function PopoverArrow(props: React$1.ComponentProps<typeof PopoverPrimitive.Arrow>): react_jsx_runtime.JSX.Element;
724
+ declare function PopoverContent({ className, align, sideOffset, children, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
725
+ declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
726
+
727
+ declare const PreventPageLeave: ({ children }: React__default.PropsWithChildren) => React__default.ReactNode;
728
+
729
+ type PreventPageLeaveStore = {
730
+ isPreventing: boolean;
731
+ setPreventing: (value: boolean) => void;
413
732
  };
414
- interface FieldSchemaBase<T extends FieldType> {
415
- name: string;
416
- type: T;
417
- label?: string;
418
- multiTableSearch?: boolean;
419
- jsonPath?: string[];
420
- }
421
- interface DropdownFieldSchema extends FieldSchemaBase<"dropdown"> {
422
- options: Option[];
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";
733
+ declare const usePreventPageLeaveStore: zustand.UseBoundStore<zustand.StoreApi<PreventPageLeaveStore>>;
734
+
735
+ type UsePreventPageLeaveOptions = {
736
+ isPrevening: boolean;
737
+ };
738
+ declare const usePreventPageLeave: ({ isPrevening }: UsePreventPageLeaveOptions) => void;
739
+
740
+ declare function RadioGroupRoot({ children, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
741
+ declare function RadioGroupItem({ id, value, children, className, containerProps, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item> & {
448
742
  value: string;
449
- value2: string;
450
- multiTableSearch?: boolean;
451
- jsonPath?: string[];
743
+ containerProps?: React.ComponentProps<"div">;
744
+ }): react_jsx_runtime.JSX.Element;
745
+ declare function RadioLabel({ children, htmlFor, className, ...props }: React.ComponentProps<"label">): react_jsx_runtime.JSX.Element;
746
+
747
+ declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
748
+ declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
749
+ declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
750
+ declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
751
+ size?: "sm" | "default";
752
+ }): react_jsx_runtime.JSX.Element;
753
+ declare function SelectContent({ className, children, position, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
754
+ declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
755
+ declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
756
+ declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
757
+ declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
758
+ declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
759
+
760
+ declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
761
+
762
+ declare function Switch({ className, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
763
+
764
+ type TextareaProps = React$1.ComponentProps<"textarea"> & {
765
+ autoResize?: boolean;
452
766
  };
453
- interface Params {
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
- }
767
+ declare function Textarea({ className, autoResize, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
464
768
 
465
- declare const AdvanceSearch: React__default.FC<AdvanceSearchProps>;
769
+ declare function TooltipProvider$1({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
770
+ declare function Tooltip$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
771
+ declare function TooltipTrigger$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
772
+ declare function TooltipArrow(props: React$1.ComponentProps<typeof TooltipPrimitive.Arrow>): react_jsx_runtime.JSX.Element;
773
+ declare function TooltipContent$1({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
466
774
 
467
- type DialogVariant = "default" | "success" | "error" | "warning";
468
- interface DialogAlertProps {
469
- open: boolean;
470
- onOpenChange: (state: boolean) => void;
775
+ type ClearButtonProps = {
776
+ onClick?: () => void;
471
777
  title?: string;
472
- description?: string;
473
- variant?: DialogVariant;
474
- confirmText?: string;
475
- cancelText?: string;
476
- onConfirm?: () => void;
477
- onCancel?: () => void;
478
- showCancel?: boolean;
479
- align?: "start" | "center" | "end";
480
- outlet?: React__default.ReactNode | null;
481
- persistent?: boolean;
778
+ ariaLabel?: string;
779
+ className?: string;
780
+ };
781
+ declare const ClearButton: React__default.FC<ClearButtonProps>;
782
+
783
+ declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
784
+
785
+ declare const spinnerVariants: (props?: ({
786
+ variant?: "primary" | "secondary" | "destructive" | "muted" | null | undefined;
787
+ size?: "default" | "sm" | "lg" | "xl" | "2xl" | null | undefined;
788
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
789
+ interface SpinnerProps extends React$1.HTMLAttributes<HTMLDivElement>, Omit<VariantProps<typeof spinnerVariants>, "size"> {
790
+ className?: string;
791
+ size?: VariantProps<typeof spinnerVariants>["size"] | number;
792
+ }
793
+ declare const Spinner: ({ className, variant, size }: SpinnerProps) => react_jsx_runtime.JSX.Element;
794
+
795
+ declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
796
+ declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
797
+ declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
798
+ declare function TooltipContent({ className, arrowClassName, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content> & {
799
+ arrowClassName?: string;
800
+ }): react_jsx_runtime.JSX.Element;
801
+
802
+ declare const index_Accordion: typeof Accordion;
803
+ declare const index_AccordionContent: typeof AccordionContent;
804
+ declare const index_AccordionItem: typeof AccordionItem;
805
+ declare const index_AccordionTrigger: typeof AccordionTrigger;
806
+ declare const index_Button: typeof Button;
807
+ declare const index_Checkbox: typeof Checkbox;
808
+ declare const index_ClearButton: typeof ClearButton;
809
+ declare const index_Dialog: typeof Dialog;
810
+ declare const index_DialogContent: typeof DialogContent;
811
+ declare const index_DialogDescription: typeof DialogDescription;
812
+ declare const index_DialogFooter: typeof DialogFooter;
813
+ declare const index_DialogTitle: typeof DialogTitle;
814
+ declare const index_DialogTrigger: typeof DialogTrigger;
815
+ declare const index_Form: typeof Form;
816
+ declare const index_FormControl: typeof FormControl;
817
+ declare const index_FormDescription: typeof FormDescription;
818
+ declare const index_FormField: typeof FormField;
819
+ declare const index_FormItem: typeof FormItem;
820
+ declare const index_FormLabel: typeof FormLabel;
821
+ declare const index_FormMessage: typeof FormMessage;
822
+ declare const index_InputPrimitive: typeof InputPrimitive;
823
+ type index_InputPrimitiveProps = InputPrimitiveProps;
824
+ declare const index_Label: typeof Label;
825
+ declare const index_Popover: typeof Popover;
826
+ declare const index_PopoverAnchor: typeof PopoverAnchor;
827
+ declare const index_PopoverArrow: typeof PopoverArrow;
828
+ declare const index_PopoverContent: typeof PopoverContent;
829
+ declare const index_PopoverTrigger: typeof PopoverTrigger;
830
+ declare const index_RadioGroupItem: typeof RadioGroupItem;
831
+ declare const index_RadioGroupRoot: typeof RadioGroupRoot;
832
+ declare const index_RadioLabel: typeof RadioLabel;
833
+ declare const index_Select: typeof Select;
834
+ declare const index_SelectContent: typeof SelectContent;
835
+ declare const index_SelectGroup: typeof SelectGroup;
836
+ declare const index_SelectItem: typeof SelectItem;
837
+ declare const index_SelectLabel: typeof SelectLabel;
838
+ declare const index_SelectScrollDownButton: typeof SelectScrollDownButton;
839
+ declare const index_SelectScrollUpButton: typeof SelectScrollUpButton;
840
+ declare const index_SelectSeparator: typeof SelectSeparator;
841
+ declare const index_SelectTrigger: typeof SelectTrigger;
842
+ declare const index_SelectValue: typeof SelectValue;
843
+ declare const index_Separator: typeof Separator;
844
+ declare const index_Spinner: typeof Spinner;
845
+ type index_SpinnerProps = SpinnerProps;
846
+ declare const index_Switch: typeof Switch;
847
+ declare const index_Table: typeof Table;
848
+ declare const index_TableBody: typeof TableBody;
849
+ declare const index_TableCaption: typeof TableCaption;
850
+ declare const index_TableCell: typeof TableCell;
851
+ declare const index_TableContainer: typeof TableContainer;
852
+ declare const index_TableFooter: typeof TableFooter;
853
+ declare const index_TableHead: typeof TableHead;
854
+ declare const index_TableHeader: typeof TableHeader;
855
+ declare const index_TableRow: typeof TableRow;
856
+ declare const index_Textarea: typeof Textarea;
857
+ declare const index_Tooltip: typeof Tooltip;
858
+ declare const index_TooltipContent: typeof TooltipContent;
859
+ declare const index_TooltipProvider: typeof TooltipProvider;
860
+ declare const index_TooltipTrigger: typeof TooltipTrigger;
861
+ declare const index_buttonVariants: typeof buttonVariants;
862
+ declare const index_spinnerVariants: typeof spinnerVariants;
863
+ declare const index_useFormField: typeof useFormField;
864
+ declare namespace index {
865
+ 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
866
  }
483
- declare function DialogAlert({ open, onOpenChange, title, description, variant, confirmText, cancelText, onConfirm, onCancel, showCancel, align, outlet, persistent }: DialogAlertProps): react_jsx_runtime.JSX.Element;
484
867
 
485
868
  declare function isDefined(value: any): boolean;
486
869
  declare function isEmptyObject(value: any): boolean;
@@ -579,4 +962,4 @@ type UseTruncatedOptions<T> = {
579
962
  type UseTruncatedResult = boolean;
580
963
  declare const useTruncated: <T extends HTMLElement = any>({ elementRef, onChange, resizeDetectDelay }: UseTruncatedOptions<T>) => UseTruncatedResult;
581
964
 
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, FormErrorMessage, type FormErrorMessageProps, FormField, FormFieldContext, type FormFieldContextValue, type FormFieldProps, FormItem, FormItemContext, type FormItemContextValue, type FormItemProps, FormLabel, type FormLabelProps, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HeaderCell, type HeaderCellProps, _default as Navbar, type NavbarProps, NumberInput, type NumberInputProps, type Params, PreventPageLeave, type RowClickType, type RowState, type ScrollInfo, type SorterProps, TextInput, type TextInputProps, type UseFormFieldOptions, type UseFormFieldReturn, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, booleanToSelectValue, buttonVariants, cn, compareAlphanumeric, debounce, isDefined, isEmptyObject, selectValueToBoolean, stripNullishObject, throttle, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useScreenSize, useTruncated };
965
+ 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 };