shadcn-zod-formkit 1.25.0 → 1.26.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.mts CHANGED
@@ -8,29 +8,33 @@ import { LucideProps } from 'lucide-react';
8
8
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
9
9
  import * as class_variance_authority_types from 'class-variance-authority/types';
10
10
  import { VariantProps } from 'class-variance-authority';
11
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
11
12
  import { DayPicker, DayButton } from 'react-day-picker';
12
13
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
14
+ import { Command as Command$1 } from 'cmdk';
13
15
  import * as DialogPrimitive from '@radix-ui/react-dialog';
14
16
  import * as LabelPrimitive from '@radix-ui/react-label';
15
17
  import { Slot } from '@radix-ui/react-slot';
16
18
  import { OTPInput as OTPInput$1 } from 'input-otp';
17
19
  import * as PopoverPrimitive from '@radix-ui/react-popover';
20
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
18
21
  import * as ResizablePrimitive from 'react-resizable-panels';
19
22
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
20
23
  import * as SelectPrimitive from '@radix-ui/react-select';
21
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
24
+ import * as SliderPrimitive from '@radix-ui/react-slider';
22
25
  import { ToasterProps } from 'sonner';
23
26
  import * as SwitchPrimitive from '@radix-ui/react-switch';
27
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
24
28
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
25
29
  import { ClassValue } from 'clsx';
26
30
 
27
- interface Props$5 {
31
+ interface Props$i {
28
32
  title: string;
29
33
  description: string | ReactNode;
30
34
  className?: string;
31
35
  variant?: "info" | "warning" | "error" | "success";
32
36
  }
33
- declare const CustomAlert: ({ title, description, className, variant, }: Props$5) => react_jsx_runtime.JSX.Element;
37
+ declare const CustomAlert: ({ title, description, className, variant, }: Props$i) => react_jsx_runtime.JSX.Element;
34
38
 
35
39
  declare const validationMessages: {
36
40
  required: string;
@@ -84,9 +88,10 @@ type FieldConfig<T, RT = Record<string, any>> = FieldProps<T, RT> | FieldConfig<
84
88
  interface FieldProps<T = Record<string, any>, RT = Record<string, any>> {
85
89
  name: keyof T;
86
90
  label: string;
91
+ form?: UseFormReturn<any>;
87
92
  isRemovebleOption?: boolean;
88
93
  withDuplicatTag?: boolean;
89
- onChange?: (...event: any[]) => void;
94
+ onChange?: (event: any[], formValues?: Record<string, any>) => void;
90
95
  tabLabelField?: string;
91
96
  childrenPosition?: 'up' | 'down';
92
97
  children?: ReactNode | ((item: any, index: number) => ReactNode);
@@ -203,13 +208,14 @@ declare const entitiesToInputOption: (data: any[], optionValue?: string, grouped
203
208
  declare const entityToGroupedOption: (entitiy: any, name?: string) => GroupedOption;
204
209
  declare const entitiesToGroupedOption: (data: any[], optionValue?: string) => GroupedOption[];
205
210
  declare const handleOnChage: (event: any[] | any, input: FieldProps, field?: ControllerRenderProps<FieldValues, string>) => void;
211
+ declare const isValidField: (input: FieldProps, form: UseFormReturn, defaultValue?: any) => boolean;
206
212
 
207
213
  type alertPositionType = 'up' | 'down';
208
214
  interface FormResp<T> {
209
215
  form?: UseFormReturn<any>;
210
216
  data: T;
211
217
  }
212
- interface Props$4<T extends Record<string, any>> {
218
+ interface Props$h<T extends Record<string, any>> {
213
219
  showIcon?: boolean;
214
220
  showFormHeader?: boolean;
215
221
  formTitle: string;
@@ -233,16 +239,32 @@ interface Props$4<T extends Record<string, any>> {
233
239
  childrenHeader?: ReactNode;
234
240
  listBtnConfig?: BtnConfig[];
235
241
  }
236
- declare const DynamicForm: <T extends Record<string, any>>({ formTitle, formSubTitle, fields, readOnly, record, onSubmit, onClick, extraValidations, children, childrenHeader, showIcon, showFormHeader, withErrorsAlert, errorAlertPosition, withCard, submitBtnClass, listBtnConfig, submitBtnLabel, submitBtnLabelSubmiting, withFormWrapper, btnGroupDirection, withSubmitBtn }: Props$4<T>) => react_jsx_runtime.JSX.Element;
242
+ declare const DynamicForm: <T extends Record<string, any>>({ formTitle, formSubTitle, fields, readOnly, record, onSubmit, onClick, extraValidations, children, childrenHeader, showIcon, showFormHeader, withErrorsAlert, errorAlertPosition, withCard, submitBtnClass, listBtnConfig, submitBtnLabel, submitBtnLabelSubmiting, withFormWrapper, btnGroupDirection, withSubmitBtn }: Props$h<T>) => react_jsx_runtime.JSX.Element;
237
243
 
238
244
  declare const DynamicFormExample: () => react_jsx_runtime.JSX.Element;
239
245
  declare const mockFields: Array<FieldProps | FieldProps[]>;
240
246
 
241
- interface Props$3<T extends FieldValues = Record<string, any>> {
247
+ interface Props$g<T extends Record<string, any> = Record<string, any>> {
248
+ fields: FieldConfig<T>[];
249
+ form: UseFormReturn<any>;
250
+ readOnly?: boolean;
251
+ isPending?: boolean;
252
+ className?: string;
253
+ gap?: string;
254
+ }
255
+ /**
256
+ * 📋 FormFieldsGrid
257
+ * Componente reutilizable para renderizar campos en una cuadrícula flexible.
258
+ * - Si un elemento del arreglo es un solo FieldProps → muestra en una línea.
259
+ * - Si es un arreglo de FieldProps → los muestra en una misma fila.
260
+ */
261
+ declare const FormFieldsGrid: <T extends Record<string, any> = Record<string, any>>({ fields, form, isPending, readOnly, className, gap, }: Props$g<T>) => JSX.Element;
262
+
263
+ interface Props$f<T extends FieldValues = Record<string, any>> {
242
264
  formState: FormState<any>;
243
265
  fields: FieldConfig<T>[];
244
266
  }
245
- declare const FormErrorsAlert: <T extends FieldValues = Record<string, any>>({ formState, fields, }: Props$3<T>) => react_jsx_runtime.JSX.Element;
267
+ declare const FormErrorsAlert: <T extends FieldValues = Record<string, any>>({ formState, fields, }: Props$f<T>) => react_jsx_runtime.JSX.Element;
246
268
  declare const getFieldLabel: <T extends FieldValues>(fieldErrorKey: string, fields: ReadonlyArray<FieldProps<T>>) => string;
247
269
 
248
270
  declare class InputFactory {
@@ -251,10 +273,37 @@ declare class InputFactory {
251
273
  declare function getDefaultValues<T extends Record<string, any>>(entity?: Partial<T>, fields?: FieldConfig<T>[]): Record<string, any>;
252
274
  declare const getDynamicSchema: <T extends Record<string, any>>(fields: FieldConfig<T>[], extraValidations?: ((schema: ZodObject<any>) => ZodObject<any>)[]) => ZodObject<Record<keyof T, ZodTypeAny>>;
253
275
 
276
+ declare class AccordionGroupedSwitchInput extends BaseInput {
277
+ render(): JSX.Element;
278
+ }
279
+ interface Props$e {
280
+ form: UseFormReturn;
281
+ input: FieldProps;
282
+ groups?: GroupedOption[];
283
+ isSubmitting?: boolean;
284
+ onChange?: (optionsUpdated: InputOption[]) => void;
285
+ }
286
+ declare const AccordionGroupedSwitches: ({ form, input, groups, onChange, isSubmitting }: Props$e) => react_jsx_runtime.JSX.Element;
287
+
288
+ declare class ButtonGroupInput extends BaseInput {
289
+ render(): JSX.Element;
290
+ }
291
+ interface Props$d {
292
+ input: FieldProps;
293
+ form: UseFormReturn;
294
+ isSubmitting?: boolean;
295
+ className?: string;
296
+ }
297
+ declare const FieldButtonGroup: ({ input, form, isSubmitting, className }: Props$d) => react_jsx_runtime.JSX.Element;
298
+
254
299
  declare class CheckListInput extends BaseInput {
255
300
  render(): JSX.Element;
256
301
  }
257
302
 
303
+ declare class CheckboxInput extends BaseInput {
304
+ render(): JSX.Element;
305
+ }
306
+
258
307
  declare class ColorInput extends BaseInput {
259
308
  render(): JSX.Element;
260
309
  }
@@ -269,24 +318,79 @@ interface ColorCompProps {
269
318
  hideInput?: HideInputOption[];
270
319
  }
271
320
 
321
+ declare class ComboboxInput extends BaseInput {
322
+ render(): react_jsx_runtime.JSX.Element;
323
+ }
324
+
325
+ declare class CurrencyInput extends BaseInput {
326
+ render(): JSX.Element;
327
+ }
328
+ /**
329
+ * Campo numérico con formato monetario.
330
+ * Acepta solo números y el punto mientras se edita.
331
+ */
332
+ interface Props$c {
333
+ form: UseFormReturn;
334
+ input: FieldProps;
335
+ isSubmitting?: boolean;
336
+ }
337
+ declare const FieldCurrency: ({ form, input, isSubmitting }: Props$c) => JSX.Element;
338
+
272
339
  declare class DateInput extends BaseInput {
273
340
  render(): JSX.Element;
274
341
  }
275
342
 
343
+ declare class DateTimeInput extends BaseInput {
344
+ render(): JSX.Element;
345
+ }
346
+ interface Props$b {
347
+ form: UseFormReturn;
348
+ input: FieldProps;
349
+ isSubmitting?: boolean;
350
+ }
351
+ declare const FieldDateTimeInput: ({ form, input, isSubmitting }: Props$b) => react_jsx_runtime.JSX.Element;
352
+
276
353
  declare class FileInput extends BaseInput {
277
354
  render(): JSX.Element;
278
355
  }
279
356
 
357
+ declare class FileMultiUploadInput extends BaseInput {
358
+ render(): JSX.Element;
359
+ }
360
+ interface Props$a {
361
+ form: UseFormReturn;
362
+ input: FieldProps;
363
+ isSubmitting?: boolean;
364
+ }
365
+ declare const FieldFileMultiUpload: ({ input, form, isSubmitting }: Props$a) => react_jsx_runtime.JSX.Element;
366
+
280
367
  declare class GroupedSwitchInput extends BaseInput {
281
368
  render(): JSX.Element;
282
369
  }
283
- interface Props$2 {
370
+ interface Props$9 {
284
371
  input: FieldProps;
285
372
  options?: InputOption[];
286
373
  isSubmitting?: boolean;
287
374
  onChange?: (optionsUpdated: InputOption[]) => void;
288
375
  }
289
- declare const GroupedSwitches: ({ options, onChange, input, isSubmitting }: Props$2) => react_jsx_runtime.JSX.Element;
376
+ declare const GroupedSwitches: ({ options, onChange, input, isSubmitting }: Props$9) => react_jsx_runtime.JSX.Element;
377
+
378
+ declare class KeyValueListInput extends BaseInput {
379
+ render(): JSX.Element;
380
+ }
381
+ interface Props$8 {
382
+ form: UseFormReturn;
383
+ input: FieldProps;
384
+ isSubmitting?: boolean;
385
+ }
386
+ /**
387
+ * 🧠 Lista editable de pares clave-valor
388
+ */
389
+ declare const FieldKeyValueList: ({ form, input, isSubmitting }: Props$8) => react_jsx_runtime.JSX.Element;
390
+
391
+ declare class MultiSelectInput extends BaseInput {
392
+ render(): react_jsx_runtime.JSX.Element;
393
+ }
290
394
 
291
395
  declare class NumberInput extends BaseInput {
292
396
  render(): JSX.Element;
@@ -296,28 +400,133 @@ declare class OTPInput extends BaseInput {
296
400
  render(): JSX.Element;
297
401
  }
298
402
 
403
+ declare class RadioGroupInput extends BaseInput {
404
+ render(): JSX.Element;
405
+ }
406
+
407
+ declare class RepeaterInput extends BaseInput {
408
+ render(): JSX.Element;
409
+ }
410
+ interface Props$7 {
411
+ form: UseFormReturn;
412
+ input: FieldProps;
413
+ isSubmitting?: boolean;
414
+ }
415
+ declare const FieldRepeater: ({ form, input, isSubmitting }: Props$7) => react_jsx_runtime.JSX.Element;
416
+
417
+ /**
418
+ * 🧱 Clase que extiende BaseInput
419
+ * Se usa igual que tus otros inputs (TextInput, SelectInput, etc.)
420
+ */
421
+ declare class RepeaterTabsInput extends BaseInput {
422
+ render(): JSX.Element;
423
+ }
424
+
299
425
  declare class SelectInput extends BaseInput {
300
426
  render(): react_jsx_runtime.JSX.Element;
301
427
  }
302
428
 
429
+ declare class SimpleCheckListInput extends BaseInput {
430
+ render(): JSX.Element;
431
+ }
432
+ interface Props$6 {
433
+ input: FieldProps;
434
+ value: InputOption[];
435
+ isSubmitting?: boolean;
436
+ onChange: (value: InputOption[]) => void;
437
+ }
438
+ declare const FieldSimpleCheckList: ({ input, value, onChange, isSubmitting }: Props$6) => react_jsx_runtime.JSX.Element;
439
+
440
+ declare class SliderInput extends BaseInput {
441
+ render(): JSX.Element;
442
+ }
443
+ interface Props$5 {
444
+ form: UseFormReturn;
445
+ input: FieldProps;
446
+ isSubmitting?: boolean;
447
+ }
448
+ declare const FieldSlider: ({ input, form, isSubmitting }: Props$5) => react_jsx_runtime.JSX.Element;
449
+
450
+ declare class SortableListInput<T> extends BaseInput {
451
+ render(): JSX.Element;
452
+ }
453
+
454
+ declare class StringValueListInput extends BaseInput {
455
+ render(): JSX.Element;
456
+ }
457
+ interface Props$4 {
458
+ form: UseFormReturn;
459
+ input: FieldProps;
460
+ isSubmitting?: boolean;
461
+ }
462
+ /**
463
+ * 🧠 Lista editable de strings
464
+ */
465
+ declare const FieldStringValueList: ({ form, input, isSubmitting }: Props$4) => react_jsx_runtime.JSX.Element;
466
+
303
467
  declare class SwitchInput extends BaseInput {
304
468
  render(): JSX.Element;
305
469
  }
306
470
 
471
+ declare class TagInput extends BaseInput {
472
+ render(): JSX.Element;
473
+ }
474
+
307
475
  declare class TextAreaInput extends BaseInput {
308
476
  render(): JSX.Element;
309
477
  }
310
478
 
479
+ declare class TextInputGroup extends BaseInput {
480
+ render(): JSX.Element;
481
+ }
482
+ interface Props$3 {
483
+ form: UseFormReturn;
484
+ input: FieldProps;
485
+ isSubmitting?: boolean;
486
+ }
487
+ declare const FieldTextGroup: ({ form, input, isSubmitting }: Props$3) => react_jsx_runtime.JSX.Element;
488
+
311
489
  declare class TextInput extends BaseInput {
312
490
  render(): JSX.Element;
313
491
  }
314
492
 
493
+ declare class TimeInput extends BaseInput {
494
+ render(): JSX.Element;
495
+ }
496
+ interface Props$2 {
497
+ form: UseFormReturn;
498
+ input: FieldProps;
499
+ isSubmitting?: boolean;
500
+ }
501
+ declare const FieldTimeInput: ({ form, input, isSubmitting }: Props$2) => react_jsx_runtime.JSX.Element;
502
+
315
503
  interface Props$1 {
316
504
  handleAddInput: (type: InputTypes, config?: InputSetup) => void;
317
505
  inputsTypes: InputTypes[];
318
506
  }
319
507
  declare const InputList: ({ handleAddInput, inputsTypes, }: Props$1) => react_jsx_runtime.JSX.Element;
320
508
 
509
+ interface GenericFilterProps<T> {
510
+ filters?: Array<FieldProps | FieldProps[]>;
511
+ pagination?: boolean;
512
+ autoSubmit?: boolean;
513
+ defaultValues?: Record<string, any>;
514
+ initPage?: number;
515
+ initLimit?: number;
516
+ onChange?: (values: Record<string, any>) => void;
517
+ rangeLimit?: number[];
518
+ withSearch?: boolean;
519
+ withInitDate?: boolean;
520
+ withEndDate?: boolean;
521
+ withActive?: boolean;
522
+ withLimit?: boolean;
523
+ wrapInCard?: boolean;
524
+ }
525
+ /**
526
+ * ✅ Componente genérico y dinámico de filtro
527
+ */
528
+ declare const GenericFilter: <T>({ filters, pagination, autoSubmit, defaultValues, initPage, initLimit, rangeLimit, onChange, withSearch, withInitDate, withEndDate, withActive, withLimit, wrapInCard, }: GenericFilterProps<T>) => react_jsx_runtime.JSX.Element;
529
+
321
530
  declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
322
531
  declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
323
532
  declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
@@ -337,6 +546,17 @@ declare function Badge({ className, variant, asChild, ...props }: React$1.Compon
337
546
  asChild?: boolean;
338
547
  }): react_jsx_runtime.JSX.Element;
339
548
 
549
+ declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
550
+
551
+ declare const buttonGroupVariants: (props?: ({
552
+ orientation?: "horizontal" | "vertical" | null | undefined;
553
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
554
+ declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
555
+ declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
556
+ asChild?: boolean;
557
+ }): react_jsx_runtime.JSX.Element;
558
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
559
+
340
560
  declare const buttonVariants: (props?: ({
341
561
  variant?: "default" | "destructive" | "link" | "outline" | "secondary" | "ghost" | null | undefined;
342
562
  size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
@@ -383,6 +603,45 @@ declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"d
383
603
  declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
384
604
  declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
385
605
 
606
+ declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
607
+ declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog> & {
608
+ title?: string;
609
+ description?: string;
610
+ className?: string;
611
+ showCloseButton?: boolean;
612
+ }): react_jsx_runtime.JSX.Element;
613
+ declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
614
+ declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
615
+ declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
616
+ declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
617
+ declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
618
+ declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
619
+ declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
620
+
621
+ declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
622
+
623
+ declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
624
+ declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
625
+ variant?: "legend" | "label";
626
+ }): react_jsx_runtime.JSX.Element;
627
+ declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
628
+ declare const fieldVariants: (props?: ({
629
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
630
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
631
+ declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
632
+ declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
633
+ declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
634
+ declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
635
+ declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
636
+ declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
637
+ children?: React.ReactNode;
638
+ }): react_jsx_runtime.JSX.Element;
639
+ declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
640
+ errors?: Array<{
641
+ message?: string;
642
+ } | undefined>;
643
+ }): react_jsx_runtime.JSX.Element | null;
644
+
386
645
  declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
387
646
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
388
647
  declare const useFormField: () => {
@@ -403,6 +662,19 @@ declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>):
403
662
  declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
404
663
  declare function FormMessage({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null;
405
664
 
665
+ declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
666
+ declare const inputGroupAddonVariants: (props?: ({
667
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
668
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
669
+ declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
670
+ declare const inputGroupButtonVariants: (props?: ({
671
+ size?: "sm" | "icon-sm" | "xs" | "icon-xs" | null | undefined;
672
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
673
+ declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
674
+ declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
675
+ declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
676
+ declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
677
+
406
678
  declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput$1> & {
407
679
  containerClassName?: string;
408
680
  }): react_jsx_runtime.JSX.Element;
@@ -414,13 +686,14 @@ declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">):
414
686
 
415
687
  declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
416
688
 
417
- declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
418
-
419
689
  declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
420
690
  declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
421
691
  declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
422
692
  declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
423
693
 
694
+ declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
695
+ declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
696
+
424
697
  declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
425
698
  declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
426
699
  declare function ResizableHandle({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
@@ -443,12 +716,17 @@ declare function SelectSeparator({ className, ...props }: React$1.ComponentProps
443
716
  declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
444
717
  declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
445
718
 
446
- declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
719
+ declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
447
720
 
448
721
  declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
449
722
 
450
723
  declare function Switch({ className, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
451
724
 
725
+ declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
726
+ declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
727
+ declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
728
+ declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
729
+
452
730
  declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
453
731
 
454
732
  declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
@@ -458,4 +736,4 @@ declare function TooltipContent({ className, sideOffset, children, ...props }: R
458
736
 
459
737
  declare function cn(...inputs: ClassValue[]): string;
460
738
 
461
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, BaseInput, type BtnConfig, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckListInput, Checkbox, ColorCnInput, type ColorCompProps, ColorInput, CustomAlert, DateInput, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DynamicForm, DynamicFormExample, type FieldConfig, type FieldProps, FileInput, Form, FormControl, FormDescription, FormErrorsAlert, FormField, FormItem, FormLabel, FormMessage, type FormResp, type GroupedOption, GroupedSwitchInput, GroupedSwitches, Input, InputFactory, InputList, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputOption, type InputSetup, InputTypes, Label, NumberInput, OTPInput, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type Props, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectInput, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Switch, SwitchInput, TextAreaInput, TextInput, TextInputType, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, entitiesToGroupedOption, entitiesToInputOption, entityToGroupedOption, entityToInputOption, flattenFields, getDefaultValues, getDynamicSchema, getFieldLabel, handleOnChage, inputFieldComp, mockFields, useFormField, validationMessages };
739
+ export { Accordion, AccordionContent, AccordionGroupedSwitchInput, AccordionGroupedSwitches, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, BaseInput, type BtnConfig, Button, ButtonGroup, ButtonGroupInput, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckListInput, Checkbox, CheckboxInput, ColorCnInput, type ColorCompProps, ColorInput, ComboboxInput, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CurrencyInput, CustomAlert, DateInput, DateTimeInput, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DynamicForm, DynamicFormExample, Field, FieldButtonGroup, type FieldConfig, FieldContent, FieldCurrency, FieldDateTimeInput, FieldDescription, FieldError, FieldFileMultiUpload, FieldGroup, FieldKeyValueList, FieldLabel, FieldLegend, type FieldProps, FieldRepeater, FieldSeparator, FieldSet, FieldSimpleCheckList, FieldSlider, FieldStringValueList, FieldTextGroup, FieldTimeInput, FieldTitle, FileInput, FileMultiUploadInput, Form, FormControl, FormDescription, FormErrorsAlert, FormField, FormFieldsGrid, FormItem, FormLabel, FormMessage, type FormResp, GenericFilter, type GroupedOption, GroupedSwitchInput, GroupedSwitches, Input, InputFactory, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputList, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputOption, type InputSetup, InputTypes, KeyValueListInput, Label, MultiSelectInput, NumberInput, OTPInput, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type Props, RadioGroup, RadioGroupInput, RadioGroupItem, RepeaterInput, RepeaterTabsInput, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectInput, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SimpleCheckListInput, Slider, SliderInput, SortableListInput, StringValueListInput, Switch, SwitchInput, Tabs, TabsContent, TabsList, TabsTrigger, TagInput, TextAreaInput, TextInput, TextInputGroup, TextInputType, Textarea, TimeInput, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonGroupVariants, buttonVariants, cn, entitiesToGroupedOption, entitiesToInputOption, entityToGroupedOption, entityToInputOption, flattenFields, getDefaultValues, getDynamicSchema, getFieldLabel, handleOnChage, inputFieldComp, isValidField, mockFields, useFormField, validationMessages };