@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
13 lines (12 loc) • 604 B
TypeScript
import { Ref, SetupContext } from "vue";
export declare function useDynamicViewUtils(): {
mergeArray: (target: any, source: any) => any[] | undefined;
resolveCallbacks: (viewSchema: Record<string, any>, callBackRef: Ref<any>, specifiedType?: string) => {
componentCallbackProps: Record<string, any>;
editorCallbackProps?: Record<string, any> | undefined;
};
resolveEvents: (viewSchema: Record<string, any>, setupContext: SetupContext, specifiedType?: string) => {
componentEventProps: Record<string, any>;
editorEventProps?: Record<string, any>;
};
};