@mcurros2/microm 1.1.266-0 → 1.1.267-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.d.ts CHANGED
@@ -2694,16 +2694,21 @@ export interface UseLookupSelectOptions {
2694
2694
  }
2695
2695
  export const useLookupSelect: (props: UseLookupSelectOptions) => {
2696
2696
  onEditClick: () => void;
2697
- inputProps: {
2698
- value: any;
2699
- onChange: any;
2700
- checked?: any;
2701
- error?: any;
2702
- onFocus?: any;
2703
- onBlur?: any;
2704
- };
2705
2697
  status: _OperationStatus1<_DataResult1[]>;
2706
2698
  };
2699
+ export interface UseLookupSelectInputPropsOptions {
2700
+ entityForm: UseEntityFormReturnType;
2701
+ column: EntityColumn<Value>;
2702
+ selectData: SelectItem[];
2703
+ }
2704
+ export function useLookupSelectInputProps(props: UseLookupSelectInputPropsOptions): {
2705
+ value: string | null;
2706
+ onChange: (nextValue: string | null) => void;
2707
+ checked?: any;
2708
+ error?: any;
2709
+ onFocus?: any;
2710
+ onBlur?: any;
2711
+ };
2707
2712
  export interface CustomSelectProps extends Omit<SelectProps, 'data'> {
2708
2713
  }
2709
2714
  export interface LookupSelectOptions {
@@ -2756,6 +2761,19 @@ export interface RingProgressFieldProps extends Omit<CardProps, 'children'> {
2756
2761
  }
2757
2762
  export const RingProgressFieldDefaultProps: Partial<RingProgressFieldProps>;
2758
2763
  export function RingProgressField(props: RingProgressFieldProps): JSX.Element;
2764
+ export interface UseLookupMultiSelectInputPropsOptions {
2765
+ entityForm: UseEntityFormReturnType;
2766
+ column: EntityColumn<Value>;
2767
+ selectData: SelectItem[];
2768
+ }
2769
+ export function useLookupMultiSelectInputProps(props: UseLookupMultiSelectInputPropsOptions): {
2770
+ value: string[];
2771
+ onChange: (nextValues: string[]) => void;
2772
+ checked?: any;
2773
+ error?: any;
2774
+ onFocus?: any;
2775
+ onBlur?: any;
2776
+ };
2759
2777
  export interface LookupMultiSelectProps extends Omit<MultiSelectProps, 'data'> {
2760
2778
  parentKeys?: ValuesObject;
2761
2779
  column: EntityColumn<Value>;