@focuson/form_components
Version:
Components that can be used by @focuson/forms
33 lines (32 loc) • 2.58 kB
TypeScript
import { LensProps, MassTransformReason, SetJsonReason } from "@focuson/state";
import { HasPageSelectionLens, PageSelectionContext } from "@focuson/pages";
import { HasTagHolder } from "@focuson/template";
import { HasSimpleMessages } from "@focuson/utils";
import { HasRestCommandL } from "@focuson/rest";
import { FocusOnContext } from "@focuson/focuson";
export declare function Tags<S extends HasTagHolder, C>({ state }: LensProps<S, any, C>): import("react/jsx-runtime").JSX.Element;
export declare function Pages<S, C extends HasPageSelectionLens<S>>({ state }: LensProps<S, any, C>): import("react/jsx-runtime").JSX.Element;
export declare function Rest<S, C extends HasRestCommandL<S>>({ state }: LensProps<S, any, C>): import("react/jsx-runtime").JSX.Element;
export declare function Messages<S extends HasSimpleMessages, C>({ state }: LensProps<S, any, C>): import("react/jsx-runtime").JSX.Element;
export declare function CommonIds<S, C extends FocusOnContext<S>>({ state }: DebugProps<S, C>): import("react/jsx-runtime").JSX.Element;
export declare function Optionals<S, C extends FocusOnContext<S>>({ state }: DebugProps<S, C>): import("react/jsx-runtime").JSX.Element;
export declare function ClearTrace<S, C>({ state }: LensProps<S, any, C>): import("react/jsx-runtime").JSX.Element;
interface TracingProps<R> {
reason: R;
}
export declare function MassTransformTracing({ reason }: TracingProps<MassTransformReason>): import("react/jsx-runtime").JSX.Element;
export declare function SetJsonTracing({ reason }: TracingProps<SetJsonReason>): import("react/jsx-runtime").JSX.Element;
export declare function OneTracing(reason: any): import("react/jsx-runtime").JSX.Element;
export declare function Tracing<S, C>({ state }: LensProps<S, any, C>): import("react/jsx-runtime").JSX.Element;
interface DebugProps<S, Context> extends LensProps<S, any, Context> {
}
export declare function ToggleOneDebug<S, C extends PageSelectionContext<S>>({ state, name }: LensProps<S, any, C> & {
name: string;
}): import("react/jsx-runtime").JSX.Element;
export declare function ToggleDebugs<S, C extends PageSelectionContext<S>>({ state }: LensProps<S, any, C>): import("react/jsx-runtime").JSX.Element;
export interface DisplayGuardsProps {
guards: [string, any][];
}
export declare function DisplayGuards({ guards }: DisplayGuardsProps): import("react/jsx-runtime").JSX.Element;
export declare function DebugState<S extends HasTagHolder & HasSimpleMessages, C extends FocusOnContext<S>>(props: DebugProps<S, C>): import("react/jsx-runtime").JSX.Element;
export {};