@mcurros2/microm 1.1.296-0 → 1.1.297-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 +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +79 -40
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2552,14 +2552,19 @@ interface UseCompoundLookupOptions {
|
|
|
2552
2552
|
enableView?: boolean;
|
|
2553
2553
|
transform?: "uppercase" | "lowercase" | "capitalize" | "titlecase";
|
|
2554
2554
|
autoTrim?: boolean;
|
|
2555
|
+
editLastLevelOnly?: boolean;
|
|
2555
2556
|
}
|
|
2556
|
-
|
|
2557
|
+
interface UseCompoundLookupReturnType extends UseLookupReturnType {
|
|
2558
|
+
keyPrefix: string;
|
|
2559
|
+
}
|
|
2560
|
+
export function useCompoundLookup({ entityForm, entity, lookupDefName, bindingColumns, parentKeys, required, inputRef, enableAdd, enableEdit, enableDelete, enableView, transform, autoTrim, editLastLevelOnly, }: UseCompoundLookupOptions): UseCompoundLookupReturnType;
|
|
2557
2561
|
export type LookupProps = LookupCommonProps & ({
|
|
2558
2562
|
column: EntityColumn<Value>;
|
|
2559
2563
|
bindingColumns?: never;
|
|
2560
2564
|
} | {
|
|
2561
2565
|
column?: never;
|
|
2562
2566
|
bindingColumns: EntityColumn<Value>[];
|
|
2567
|
+
editLastLevelOnly?: boolean;
|
|
2563
2568
|
});
|
|
2564
2569
|
export function Lookup(props: LookupProps): JSX.Element;
|
|
2565
2570
|
export interface LookupFormProps {
|