shadcn-zod-formkit 1.33.0 → 1.34.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
@@ -207,8 +207,8 @@ declare abstract class BaseInput {
207
207
  constructor(input: FieldProps, form: UseFormReturn, isSubmitting?: boolean | undefined);
208
208
  abstract render(): JSX.Element;
209
209
  }
210
- declare const entityToInputOption: (entitiy: any, name?: string, description?: string, groupedLabel?: string) => InputOption;
211
- declare const entitiesToInputOption: (data: any[], optionValue?: string, groupedLabel?: string) => InputOption[];
210
+ declare const entityToInputOption: (entitiy: any, name?: string, description?: string, groupedLabel?: string, optionLabel?: string) => InputOption;
211
+ declare const entitiesToInputOption: (data: any[], optionValue?: string, groupedLabel?: string, optionLabel?: string) => InputOption[];
212
212
  declare const entityToGroupedOption: (entitiy: any, name?: string) => GroupedOption;
213
213
  declare const entitiesToGroupedOption: (data: any[], optionValue?: string) => GroupedOption[];
214
214
  declare const handleOnChage: (event: any[] | any, input: FieldProps, field?: ControllerRenderProps<FieldValues, string>) => void;
package/dist/index.d.ts CHANGED
@@ -207,8 +207,8 @@ declare abstract class BaseInput {
207
207
  constructor(input: FieldProps, form: UseFormReturn, isSubmitting?: boolean | undefined);
208
208
  abstract render(): JSX.Element;
209
209
  }
210
- declare const entityToInputOption: (entitiy: any, name?: string, description?: string, groupedLabel?: string) => InputOption;
211
- declare const entitiesToInputOption: (data: any[], optionValue?: string, groupedLabel?: string) => InputOption[];
210
+ declare const entityToInputOption: (entitiy: any, name?: string, description?: string, groupedLabel?: string, optionLabel?: string) => InputOption;
211
+ declare const entitiesToInputOption: (data: any[], optionValue?: string, groupedLabel?: string, optionLabel?: string) => InputOption[];
212
212
  declare const entityToGroupedOption: (entitiy: any, name?: string) => GroupedOption;
213
213
  declare const entitiesToGroupedOption: (data: any[], optionValue?: string) => GroupedOption[];
214
214
  declare const handleOnChage: (event: any[] | any, input: FieldProps, field?: ControllerRenderProps<FieldValues, string>) => void;