@mcurros2/microm 1.1.465-0 → 1.1.466-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 +7 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2617,14 +2617,16 @@ interface UseCompoundLookupReturnType extends UseLookupReturnType {
|
|
|
2617
2617
|
keyPrefix: string;
|
|
2618
2618
|
}
|
|
2619
2619
|
export function useCompoundLookup({ entityForm, entity, lookupDefName, bindingColumns, parentKeys, required, inputRef, enableAdd, enableEdit, enableDelete, enableView, transform, autoTrim, editLastLevelOnly, }: UseCompoundLookupOptions): UseCompoundLookupReturnType;
|
|
2620
|
-
export type
|
|
2621
|
-
column: EntityColumn<Value>;
|
|
2622
|
-
bindingColumns?: never;
|
|
2623
|
-
} | {
|
|
2620
|
+
export type CompoundLookupProps = LookupCommonProps & {
|
|
2624
2621
|
column?: never;
|
|
2625
2622
|
bindingColumns: EntityColumn<Value>[];
|
|
2626
2623
|
editLastLevelOnly?: boolean;
|
|
2627
|
-
|
|
2624
|
+
prefixMaxWidth?: MantineNumberSize;
|
|
2625
|
+
};
|
|
2626
|
+
export type LookupProps = LookupCommonProps & ({
|
|
2627
|
+
column: EntityColumn<Value>;
|
|
2628
|
+
bindingColumns?: never;
|
|
2629
|
+
} | CompoundLookupProps);
|
|
2628
2630
|
export function Lookup(props: LookupProps): JSX.Element;
|
|
2629
2631
|
export interface LookupFormProps {
|
|
2630
2632
|
dataGridProps: DataGridProps;
|