- Name
parts- Kind
- property
- Type
readonly ["root", "input", "submit", "message"]- Requirement
- required
DocsAPI referenceHeadlessasync-validated-input
async-validated-input headless API
The core connector and vanilla mount are always visible. Use the framework choice to inspect native composition, props, outputs, context and hooks for the selected adapter.
@grassroot/ui-headless-core/async-validated-input
Core connector and vanilla API
export declare const asyncValidatedInputAnatomy: { readonly scope: "async-validated-input"; readonly parts: readonly ["root", "input", "submit", "message"];};partsreadonly ["root", "input", "submit", "message"]scope"async-validated-input"- Name
scope- Kind
- property
- Type
"async-validated-input"- Requirement
- required
AsyncValidatedInputApi
interfaceinterface AsyncValidatedInputApi { rootProps(): PartProps; inputProps(): PartProps; submitProps(): PartProps; messageProps(): PartProps; syncNativeState(): void; validateSucceeded(): void; validateFailed(): void; reset(): void; readonly value: string; readonly pending: boolean; readonly status: AsyncValidatedInputContext["status"]; readonly snapshot: AsyncValidatedInputSnapshot;}inputProps() => PartPropsmessageProps() => PartPropspendingbooleanreset() => voidrootProps() => PartPropssnapshotAsyncValidatedInputSnapshotstatusAsyncValidatedInputContext["status"]submitProps() => PartPropssyncNativeState() => voidvalidateFailed() => voidvalidateSucceeded() => voidvaluestring- Name
inputProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
messageProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
pending- Kind
- property
- Type
boolean- Requirement
- required
- Name
reset- Kind
- method
- Type
() => void- Requirement
- required
- Name
rootProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
snapshot- Kind
- property
- Type
AsyncValidatedInputSnapshot- Requirement
- required
- Name
status- Kind
- property
- Type
AsyncValidatedInputContext["status"]- Requirement
- required
- Name
submitProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
syncNativeState- Kind
- method
- Type
() => void- Requirement
- required
- Name
validateFailed- Kind
- method
- Type
() => void- Requirement
- required
- Name
validateSucceeded- Kind
- method
- Type
() => void- Requirement
- required
- Name
value- Kind
- property
- Type
string- Requirement
- required
type AsyncValidatedInputCommand = (CommandObject & { readonly type: "VALIDATE_REQUEST"; readonly value: string; readonly reason: AsyncValidatedInputReason;}) | (CommandObject & { readonly type: "VALUE_CHANGE_REQUEST"; readonly value: string; readonly reason: AsyncValidatedInputReason;});AsyncValidatedInputConnectOptions
interfaceinterface AsyncValidatedInputConnectOptions { readonly ariaLabel?: string; readonly message?: string; readonly messages?: Partial<AsyncValidatedInputMessages>; readonly onValueChange?: (detail: AsyncValidatedInputValueChangeDetail) => void; readonly onValidate?: (detail: AsyncValidatedInputValidateDetail) => void;}ariaLabelstringmessagestringmessagesPartial<AsyncValidatedInputMessages>onValidate(detail: AsyncValidatedInputValidateDetail) => voidonValueChange(detail: AsyncValidatedInputValueChangeDetail) => void- Name
ariaLabel- Kind
- property
- Type
string- Requirement
- optional
- Name
message- Kind
- property
- Type
string- Requirement
- optional
- Name
messages- Kind
- property
- Type
Partial<AsyncValidatedInputMessages>- Requirement
- optional
- Name
onValidate- Kind
- property
- Type
(detail: AsyncValidatedInputValidateDetail) => void- Requirement
- optional
- Name
onValueChange- Kind
- property
- Type
(detail: AsyncValidatedInputValueChangeDetail) => void- Requirement
- optional
type AsyncValidatedInputContext = { readonly value: string; readonly pending: boolean; readonly status: AsyncValidatedInputStatus; readonly mode: BindingMode;};modeBindingModependingbooleanstatusAsyncValidatedInputStatusvaluestring- Name
mode- Kind
- property
- Type
BindingMode- Requirement
- required
- Name
pending- Kind
- property
- Type
boolean- Requirement
- required
- Name
status- Kind
- property
- Type
AsyncValidatedInputStatus- Requirement
- required
- Name
value- Kind
- property
- Type
string- Requirement
- required
type AsyncValidatedInputEvent = { readonly type: "SET_VALUE"; readonly value: string; readonly reason: AsyncValidatedInputReason;} | { readonly type: "VALIDATE"; readonly reason: AsyncValidatedInputReason;} | { readonly type: "VALIDATE_SUCCEEDED";} | { readonly type: "VALIDATE_FAILED";} | { readonly type: "RESET";};type AsyncValidatedInputInput = { readonly value?: string; readonly defaultValue?: string; readonly pending?: boolean; readonly status?: AsyncValidatedInputStatus;};defaultValuestringpendingbooleanstatusAsyncValidatedInputStatusvaluestring- Name
defaultValue- Kind
- property
- Type
string- Requirement
- optional
- Name
pending- Kind
- property
- Type
boolean- Requirement
- optional
- Name
status- Kind
- property
- Type
AsyncValidatedInputStatus- Requirement
- optional
- Name
value- Kind
- property
- Type
string- Requirement
- optional
export declare const asyncValidatedInputMachine: Machine<AsyncValidatedInputInput, "ready", AsyncValidatedInputContext, AsyncValidatedInputEvent, AsyncValidatedInputCommand>;export declare const asyncValidatedInputMessages: AsyncValidatedInputMessages;AsyncValidatedInputMessages
interfaceinterface AsyncValidatedInputMessages { readonly inputLabel: () => string;}inputLabel() => string- Name
inputLabel- Kind
- property
- Type
() => string- Requirement
- required
AsyncValidatedInputMount
interfaceinterface AsyncValidatedInputMount { readonly service: AsyncValidatedInputService; readonly connector: AsyncValidatedInputApi; readonly root: HTMLElement; readonly input: HTMLInputElement; readonly submit: HTMLButtonElement; readonly message: HTMLSpanElement; destroy(): void;}connectorAsyncValidatedInputApidestroy() => voidinputHTMLInputElementmessageHTMLSpanElementrootHTMLElementserviceAsyncValidatedInputServicesubmitHTMLButtonElement- Name
connector- Kind
- property
- Type
AsyncValidatedInputApi- Requirement
- required
- Name
destroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
input- Kind
- property
- Type
HTMLInputElement- Requirement
- required
- Name
message- Kind
- property
- Type
HTMLSpanElement- Requirement
- required
- Name
root- Kind
- property
- Type
HTMLElement- Requirement
- required
- Name
service- Kind
- property
- Type
AsyncValidatedInputService- Requirement
- required
- Name
submit- Kind
- property
- Type
HTMLButtonElement- Requirement
- required
type AsyncValidatedInputPart = (typeof asyncValidatedInputAnatomy.parts)[number];type AsyncValidatedInputReason = "pointer" | "keyboard" | "programmatic";export declare const asyncValidatedInputSelectors: { value: (snapshot: AsyncValidatedInputSnapshot) => string; pending: (snapshot: AsyncValidatedInputSnapshot) => boolean;};pending(snapshot: AsyncValidatedInputSnapshot) => booleanvalue(snapshot: AsyncValidatedInputSnapshot) => string- Name
pending- Kind
- property
- Type
(snapshot: AsyncValidatedInputSnapshot) => boolean- Requirement
- required
- Name
value- Kind
- property
- Type
(snapshot: AsyncValidatedInputSnapshot) => string- Requirement
- required
type AsyncValidatedInputService = Service<AsyncValidatedInputInput, "ready", AsyncValidatedInputContext, AsyncValidatedInputEvent, AsyncValidatedInputCommand>;type AsyncValidatedInputSnapshot = Snapshot<"ready", AsyncValidatedInputContext>;type AsyncValidatedInputStatus = "idle" | "validating" | "valid" | "error";AsyncValidatedInputValidateDetail
interfaceinterface AsyncValidatedInputValidateDetail { readonly value: string; readonly reason: "pointer" | "keyboard" | "programmatic";}reason"pointer" | "keyboard" | "programmatic"valuestring- Name
reason- Kind
- property
- Type
"pointer" | "keyboard" | "programmatic"- Requirement
- required
- Name
value- Kind
- property
- Type
string- Requirement
- required
AsyncValidatedInputValueChangeDetail
interfaceinterface AsyncValidatedInputValueChangeDetail { readonly value: string; readonly reason: "pointer" | "keyboard" | "programmatic";}reason"pointer" | "keyboard" | "programmatic"valuestring- Name
reason- Kind
- property
- Type
"pointer" | "keyboard" | "programmatic"- Requirement
- required
- Name
value- Kind
- property
- Type
string- Requirement
- required
connectAsyncValidatedInput
functiondeclare function connectAsyncValidatedInput(service: AsyncValidatedInputService, scope: PartScope, options?: AsyncValidatedInputConnectOptions): AsyncValidatedInputApi;serviceAsyncValidatedInputServicescopePartScopeoptionsAsyncValidatedInputConnectOptionsreturnAsyncValidatedInputApi- Name
service- Kind
- parameter
- Type
AsyncValidatedInputService- Requirement
- required
- Name
scope- Kind
- parameter
- Type
PartScope- Requirement
- required
- Name
options- Kind
- parameter
- Type
AsyncValidatedInputConnectOptions- Requirement
- optional
- Name
return- Kind
- return value
- Type
AsyncValidatedInputApi- Requirement
- n/a
mountAsyncValidatedInput
functiondeclare function mountAsyncValidatedInput(container: HTMLElement, options?: MountAsyncValidatedInputOptions): AsyncValidatedInputMount;containerHTMLElementoptionsMountAsyncValidatedInputOptionsreturnAsyncValidatedInputMount- Name
container- Kind
- parameter
- Type
HTMLElement- Requirement
- required
- Name
options- Kind
- parameter
- Type
MountAsyncValidatedInputOptions- Requirement
- optional
- Name
return- Kind
- return value
- Type
AsyncValidatedInputMount- Requirement
- n/a
MountAsyncValidatedInputOptions
interfaceinterface MountAsyncValidatedInputOptions extends AsyncValidatedInputInput, AsyncValidatedInputConnectOptions {}runAsyncValidatedInputCommand
functiondeclare function runAsyncValidatedInputCommand(command: AsyncValidatedInputCommand, options?: Pick<AsyncValidatedInputConnectOptions, "onValueChange" | "onValidate">): void;commandAsyncValidatedInputCommandoptionsPick<AsyncValidatedInputConnectOptions, "onValueChange" | "onValidate">returnvoid- Name
command- Kind
- parameter
- Type
AsyncValidatedInputCommand- Requirement
- required
- Name
options- Kind
- parameter
- Type
Pick<AsyncValidatedInputConnectOptions, "onValueChange" | "onValidate">- Requirement
- optional
- Name
return- Kind
- return value
- Type
void- Requirement
- n/a
Framework adapters
Each panel keeps its adapter's public vocabulary. React compound exports, Vue composables, standalone Angular declarations, Svelte components, and Solid hooks stay native to their framework.
React imports
import { AsyncValidatedInputMessage, AsyncValidatedInputRoot, AsyncValidatedInputRootProvider, AsyncValidatedInputSubmit, Message, Root, RootProvider, Submit } from "@grassroot/ui-headless-react/async-validated-input";Vue imports
<script setup lang="ts">import { AsyncValidatedInputMessage, AsyncValidatedInputRoot, AsyncValidatedInputRootProvider, AsyncValidatedInputSubmit, Message, Root, RootProvider, Submit } from "@grassroot/ui-headless-vue/async-validated-input";</script>Angular imports
import { GrAsyncValidatedInputMessage, GrAsyncValidatedInputRoot, GrAsyncValidatedInputRootProvider, GrAsyncValidatedInputSubmit, Message, Root, RootProvider, Submit } from "@grassroot/ui-headless-angular/async-validated-input";Svelte imports
<script lang="ts"> import { AsyncValidatedInputMessage, AsyncValidatedInputRoot, AsyncValidatedInputRootProvider, AsyncValidatedInputSubmit, Message, Root, RootProvider, Submit } from "@grassroot/ui-headless-svelte/async-validated-input";</script>Solid imports
import { AsyncValidatedInputMessage, AsyncValidatedInputRoot, AsyncValidatedInputRootProvider, AsyncValidatedInputSubmit, Message, Root, RootProvider, Submit } from "@grassroot/ui-headless-solid/async-validated-input";@grassroot/ui-headless-react/async-validated-input
React adapter
AsyncValidatedInputInput
valueexport declare const AsyncValidatedInputInput: import("react").ForwardRefExoticComponent<AsyncValidatedInputInputProps & import("react").RefAttributes<HTMLInputElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
AsyncValidatedInputInputProps
interfaceinterface AsyncValidatedInputInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "onInput"> {}export declare const AsyncValidatedInputMessage: import("react").ForwardRefExoticComponent<AsyncValidatedInputMessageProps & import("react").RefAttributes<HTMLSpanElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
AsyncValidatedInputMessageProps
interfaceinterface AsyncValidatedInputMessageProps extends HTMLAttributes<HTMLSpanElement> {}AsyncValidatedInputRoot
valueexport declare const AsyncValidatedInputRoot: import("react").ForwardRefExoticComponent<AsyncValidatedInputRootProps & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
AsyncValidatedInputRootProps
interfaceinterface AsyncValidatedInputRootProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "id">, AsyncValidatedInputInput$1, UseAsyncValidatedInputOptions { readonly children?: ReactNode;}childrenReactNode- Name
children- Kind
- property
- Type
ReactNode- Requirement
- optional
export declare const AsyncValidatedInputRootProvider: import("react").ForwardRefExoticComponent<AsyncValidatedInputRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
AsyncValidatedInputRootProviderProps
interfaceinterface AsyncValidatedInputRootProviderProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "id" | "value"> { readonly value: UseAsyncValidatedInputResult; readonly children?: ReactNode;}childrenReactNodevalueUseAsyncValidatedInputResult- Name
children- Kind
- property
- Type
ReactNode- Requirement
- optional
- Name
value- Kind
- property
- Type
UseAsyncValidatedInputResult- Requirement
- required
export declare const AsyncValidatedInputSubmit: import("react").ForwardRefExoticComponent<AsyncValidatedInputSubmitProps & import("react").RefAttributes<HTMLButtonElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
AsyncValidatedInputSubmitProps
interfaceinterface AsyncValidatedInputSubmitProps extends ButtonHTMLAttributes<HTMLButtonElement> {}Input
valueexport declare const Input: import("react").ForwardRefExoticComponent<AsyncValidatedInputInputProps & import("react").RefAttributes<HTMLInputElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Message
valueexport declare const Message: import("react").ForwardRefExoticComponent<AsyncValidatedInputMessageProps & import("react").RefAttributes<HTMLSpanElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Root
valueexport declare const Root: import("react").ForwardRefExoticComponent<AsyncValidatedInputRootProps & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
RootProvider
valueexport declare const RootProvider: import("react").ForwardRefExoticComponent<AsyncValidatedInputRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Submit
valueexport declare const Submit: import("react").ForwardRefExoticComponent<AsyncValidatedInputSubmitProps & import("react").RefAttributes<HTMLButtonElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
useAsyncValidatedInput
functiondeclare function useAsyncValidatedInput(input: AsyncValidatedInputInput, options?: UseAsyncValidatedInputOptions): UseAsyncValidatedInputResult;inputAsyncValidatedInputInputoptionsUseAsyncValidatedInputOptionsreturnUseAsyncValidatedInputResult- Name
input- Kind
- parameter
- Type
AsyncValidatedInputInput- Requirement
- required
- Name
options- Kind
- parameter
- Type
UseAsyncValidatedInputOptions- Requirement
- optional
- Name
return- Kind
- return value
- Type
UseAsyncValidatedInputResult- Requirement
- n/a
UseAsyncValidatedInputOptions
interfaceinterface UseAsyncValidatedInputOptions extends AsyncValidatedInputConnectOptions { readonly id?: string;}idstring- Name
id- Kind
- property
- Type
string- Requirement
- optional
UseAsyncValidatedInputResult
interfaceinterface UseAsyncValidatedInputResult { readonly service: AsyncValidatedInputService; readonly connector: AsyncValidatedInputApi; readonly scope: PartScope; readonly snapshot: AsyncValidatedInputSnapshot;}connectorAsyncValidatedInputApiscopePartScopeserviceAsyncValidatedInputServicesnapshotAsyncValidatedInputSnapshot- Name
connector- Kind
- property
- Type
AsyncValidatedInputApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
AsyncValidatedInputService- Requirement
- required
- Name
snapshot- Kind
- property
- Type
AsyncValidatedInputSnapshot- Requirement
- required
@grassroot/ui-headless-vue/async-validated-input
Vue adapter
AsyncValidatedInputInput
valueexport declare const AsyncValidatedInputInput: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;export declare const AsyncValidatedInputMessage: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;type AsyncValidatedInputOptions = AsyncValidatedInputConnectOptions & { readonly id?: string;};idstring- Name
id- Kind
- property
- Type
string- Requirement
- optional
AsyncValidatedInputRoot
valueexport declare const AsyncValidatedInputRoot: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; value: { type: PropType<string | undefined>; default: undefined; }; defaultValue: { type: PropType<string | undefined>; default: undefined; }; pending: { type: PropType<boolean | undefined>; default: undefined; }; status: { type: PropType<AsyncValidatedInputStatus | undefined>; default: undefined; }; ariaLabel: StringConstructor; message: StringConstructor; id: StringConstructor;}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { valueChange: (_detail: AsyncValidatedInputValueChangeDetail) => true; validate: (_detail: AsyncValidatedInputValidateDetail) => true;}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; value: { type: PropType<string | undefined>; default: undefined; }; defaultValue: { type: PropType<string | undefined>; default: undefined; }; pending: { type: PropType<boolean | undefined>; default: undefined; }; status: { type: PropType<AsyncValidatedInputStatus | undefined>; default: undefined; }; ariaLabel: StringConstructor; message: StringConstructor; id: StringConstructor;}>> & Readonly<{ onValidate?: ((_detail: AsyncValidatedInputValidateDetail) => any) | undefined; onValueChange?: ((_detail: AsyncValidatedInputValueChangeDetail) => any) | undefined;}>, { asChild: boolean; value: string | undefined; defaultValue: string | undefined; pending: boolean | undefined; status: AsyncValidatedInputStatus | undefined;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;export declare const AsyncValidatedInputRootProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ value: { type: PropType<UseAsyncValidatedInputResult>; required: true; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ value: { type: PropType<UseAsyncValidatedInputResult>; required: true; };}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;export declare const AsyncValidatedInputSubmit: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;Input
valueexport declare const Input: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;Message
valueexport declare const Message: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;Root
valueexport declare const Root: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; value: { type: PropType<string | undefined>; default: undefined; }; defaultValue: { type: PropType<string | undefined>; default: undefined; }; pending: { type: PropType<boolean | undefined>; default: undefined; }; status: { type: PropType<AsyncValidatedInputStatus | undefined>; default: undefined; }; ariaLabel: StringConstructor; message: StringConstructor; id: StringConstructor;}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { valueChange: (_detail: AsyncValidatedInputValueChangeDetail) => true; validate: (_detail: AsyncValidatedInputValidateDetail) => true;}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; value: { type: PropType<string | undefined>; default: undefined; }; defaultValue: { type: PropType<string | undefined>; default: undefined; }; pending: { type: PropType<boolean | undefined>; default: undefined; }; status: { type: PropType<AsyncValidatedInputStatus | undefined>; default: undefined; }; ariaLabel: StringConstructor; message: StringConstructor; id: StringConstructor;}>> & Readonly<{ onValidate?: ((_detail: AsyncValidatedInputValidateDetail) => any) | undefined; onValueChange?: ((_detail: AsyncValidatedInputValueChangeDetail) => any) | undefined;}>, { asChild: boolean; value: string | undefined; defaultValue: string | undefined; pending: boolean | undefined; status: AsyncValidatedInputStatus | undefined;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;RootProvider
valueexport declare const RootProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ value: { type: PropType<UseAsyncValidatedInputResult>; required: true; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ value: { type: PropType<UseAsyncValidatedInputResult>; required: true; };}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;Submit
valueexport declare const Submit: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;useAsyncValidatedInput
functiondeclare function useAsyncValidatedInput(input: () => AsyncValidatedInputInput, options?: () => AsyncValidatedInputOptions): UseAsyncValidatedInputResult;input() => AsyncValidatedInputInputoptions() => AsyncValidatedInputOptionsreturnUseAsyncValidatedInputResult- Name
input- Kind
- parameter
- Type
() => AsyncValidatedInputInput- Requirement
- required
- Name
options- Kind
- parameter
- Type
() => AsyncValidatedInputOptions- Requirement
- optional
- Name
return- Kind
- return value
- Type
UseAsyncValidatedInputResult- Requirement
- n/a
UseAsyncValidatedInputResult
interfaceinterface UseAsyncValidatedInputResult { readonly service: AsyncValidatedInputService; readonly connector: AsyncValidatedInputApi; readonly scope: PartScope; readonly snapshot: ShallowRef<AsyncValidatedInputSnapshot>;}connectorAsyncValidatedInputApiscopePartScopeserviceAsyncValidatedInputServicesnapshotShallowRef<AsyncValidatedInputSnapshot>- Name
connector- Kind
- property
- Type
AsyncValidatedInputApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
AsyncValidatedInputService- Requirement
- required
- Name
snapshot- Kind
- property
- Type
ShallowRef<AsyncValidatedInputSnapshot>- Requirement
- required
@grassroot/ui-headless-angular/async-validated-input
Angular adapter
AsyncValidatedInputStore
interfaceexport interface AsyncValidatedInputStore { readonly service: AsyncValidatedInputService; readonly connector: AsyncValidatedInputApi; readonly scope: PartScope; readonly version: WritableSignal<number>; start(): void; stop(): void; sync(input: Record<string, unknown>): void; syncOptions(options: Record<string, unknown>): void;}connectorAsyncValidatedInputApiscopePartScopeserviceAsyncValidatedInputServicestart() => voidstop() => voidsync(input: Record<string, unknown>) => voidsyncOptions(options: Record<string, unknown>) => voidversionWritableSignal<number>- Name
connector- Kind
- property
- Type
AsyncValidatedInputApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
AsyncValidatedInputService- Requirement
- required
- Name
start- Kind
- method
- Type
() => void- Requirement
- required
- Name
stop- Kind
- method
- Type
() => void- Requirement
- required
- Name
sync- Kind
- method
- Type
(input: Record<string, unknown>) => void- Requirement
- required
- Name
syncOptions- Kind
- method
- Type
(options: Record<string, unknown>) => void- Requirement
- required
- Name
version- Kind
- property
- Type
WritableSignal<number>- Requirement
- required
createAsyncValidatedInputStore
functionexport declare function createAsyncValidatedInputStore(initial: AsyncValidatedInputInput, options?: AsyncValidatedInputConnectOptions): AsyncValidatedInputStore;initialAsyncValidatedInputInputoptionsAsyncValidatedInputConnectOptionsreturnAsyncValidatedInputStore- Name
initial- Kind
- parameter
- Type
AsyncValidatedInputInput- Requirement
- required
- Name
options- Kind
- parameter
- Type
AsyncValidatedInputConnectOptions- Requirement
- optional
- Name
return- Kind
- return value
- Type
AsyncValidatedInputStore- Requirement
- n/a
export declare class GrAsyncValidatedInputInput implements OnDestroy { private readonly store; private readonly element; private readonly listeners; private readonly consumer; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputInput, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputInput, "[grAsyncValidatedInputInput]", never, {}, {}, never, never, true, never>;}consumeranyelementanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputInput, "[grAsyncValidatedInputInput]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAsyncValidatedInputInput, never>storeany- Name
consumer- Kind
- property
- Type
any- Requirement
- required
- Name
element- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputInput, "[grAsyncValidatedInputInput]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputInput, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrAsyncValidatedInputMessage implements OnDestroy { private readonly store; private readonly element; private readonly listeners; private readonly consumer; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputMessage, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputMessage, "[grAsyncValidatedInputMessage]", never, {}, {}, never, never, true, never>;}consumeranyelementanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputMessage, "[grAsyncValidatedInputMessage]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAsyncValidatedInputMessage, never>storeany- Name
consumer- Kind
- property
- Type
any- Requirement
- required
- Name
element- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputMessage, "[grAsyncValidatedInputMessage]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputMessage, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrAsyncValidatedInputRoot implements OnDestroy { readonly value: import("@angular/core").InputSignal<string | undefined>; readonly defaultValue: import("@angular/core").InputSignal<string | undefined>; readonly pending: import("@angular/core").InputSignal<boolean | undefined>; readonly status: import("@angular/core").InputSignal<AsyncValidatedInputStatus | undefined>; readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>; readonly message: import("@angular/core").InputSignal<string | undefined>; readonly valueChange: import("@angular/core").OutputEmitterRef<AsyncValidatedInputValueChangeDetail>; readonly validate: import("@angular/core").OutputEmitterRef<AsyncValidatedInputValidateDetail>; readonly store: AsyncValidatedInputStore; private readonly host; private readonly listeners; private readonly consumer; private last; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRoot, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GrAsyncValidatedInputRoot, "gr-async-validated-input-root", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "validate": "validate"; }, never, ["*"], true, never>;}ariaLabelimport("@angular/core").InputSignal<string | undefined>consumeranydefaultValueimport("@angular/core").InputSignal<string | undefined>hostanylastanylistenersanymessageimport("@angular/core").InputSignal<string | undefined>ngOnDestroy() => voidɵcmpi0.ɵɵComponentDeclaration<GrAsyncValidatedInputRoot, "gr-async-validated-input-root", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "validate": "validate"; }, never, ["*"], true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRoot, never>pendingimport("@angular/core").InputSignal<boolean | undefined>statusimport("@angular/core").InputSignal<AsyncValidatedInputStatus | undefined>storeAsyncValidatedInputStorevalidateimport("@angular/core").OutputEmitterRef<AsyncValidatedInputValidateDetail>- Name
ariaLabel- Kind
- property
- Type
import("@angular/core").InputSignal<string | undefined>- Requirement
- required
- Name
consumer- Kind
- property
- Type
any- Requirement
- required
- Name
defaultValue- Kind
- property
- Type
import("@angular/core").InputSignal<string | undefined>- Requirement
- required
- Name
host- Kind
- property
- Type
any- Requirement
- required
- Name
last- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
message- Kind
- property
- Type
import("@angular/core").InputSignal<string | undefined>- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵcmp- Kind
- property
- Type
i0.ɵɵComponentDeclaration<GrAsyncValidatedInputRoot, "gr-async-validated-input-root", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "validate": "validate"; }, never, ["*"], true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRoot, never>- Requirement
- required
- Name
pending- Kind
- property
- Type
import("@angular/core").InputSignal<boolean | undefined>- Requirement
- required
- Name
status- Kind
- property
- Type
import("@angular/core").InputSignal<AsyncValidatedInputStatus | undefined>- Requirement
- required
- Name
store- Kind
- property
- Type
AsyncValidatedInputStore- Requirement
- required
- Name
validate- Kind
- property
- Type
import("@angular/core").OutputEmitterRef<AsyncValidatedInputValidateDetail>- Requirement
- required
- Name
value- Kind
- property
- Type
import("@angular/core").InputSignal<string | undefined>- Requirement
- required
- Name
valueChange- Kind
- property
- Type
import("@angular/core").OutputEmitterRef<AsyncValidatedInputValueChangeDetail>- Requirement
- required
export declare class GrAsyncValidatedInputRootProvider implements OnDestroy { private readonly store; private readonly host; private readonly listeners; private readonly consumer; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRootProvider, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GrAsyncValidatedInputRootProvider, "gr-async-validated-input-root-provider", never, {}, {}, never, ["*"], true, never>;}consumeranyhostanylistenersanyngOnDestroy() => voidɵcmpi0.ɵɵComponentDeclaration<GrAsyncValidatedInputRootProvider, "gr-async-validated-input-root-provider", never, {}, {}, never, ["*"], true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRootProvider, never>storeany- Name
consumer- Kind
- property
- Type
any- Requirement
- required
- Name
host- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵcmp- Kind
- property
- Type
i0.ɵɵComponentDeclaration<GrAsyncValidatedInputRootProvider, "gr-async-validated-input-root-provider", never, {}, {}, never, ["*"], true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRootProvider, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrAsyncValidatedInputSubmit implements OnDestroy { private readonly store; private readonly element; private readonly listeners; private readonly consumer; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputSubmit, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputSubmit, "[grAsyncValidatedInputSubmit]", never, {}, {}, never, never, true, never>;}consumeranyelementanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputSubmit, "[grAsyncValidatedInputSubmit]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAsyncValidatedInputSubmit, never>storeany- Name
consumer- Kind
- property
- Type
any- Requirement
- required
- Name
element- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputSubmit, "[grAsyncValidatedInputSubmit]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputSubmit, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
Input
classexport declare class GrAsyncValidatedInputInput implements OnDestroy { private readonly store; private readonly element; private readonly listeners; private readonly consumer; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputInput, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputInput, "[grAsyncValidatedInputInput]", never, {}, {}, never, never, true, never>;}consumeranyelementanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputInput, "[grAsyncValidatedInputInput]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAsyncValidatedInputInput, never>storeany- Name
consumer- Kind
- property
- Type
any- Requirement
- required
- Name
element- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputInput, "[grAsyncValidatedInputInput]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputInput, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
Message
classexport declare class GrAsyncValidatedInputMessage implements OnDestroy { private readonly store; private readonly element; private readonly listeners; private readonly consumer; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputMessage, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputMessage, "[grAsyncValidatedInputMessage]", never, {}, {}, never, never, true, never>;}consumeranyelementanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputMessage, "[grAsyncValidatedInputMessage]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAsyncValidatedInputMessage, never>storeany- Name
consumer- Kind
- property
- Type
any- Requirement
- required
- Name
element- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputMessage, "[grAsyncValidatedInputMessage]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputMessage, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
Root
classexport declare class GrAsyncValidatedInputRoot implements OnDestroy { readonly value: import("@angular/core").InputSignal<string | undefined>; readonly defaultValue: import("@angular/core").InputSignal<string | undefined>; readonly pending: import("@angular/core").InputSignal<boolean | undefined>; readonly status: import("@angular/core").InputSignal<AsyncValidatedInputStatus | undefined>; readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>; readonly message: import("@angular/core").InputSignal<string | undefined>; readonly valueChange: import("@angular/core").OutputEmitterRef<AsyncValidatedInputValueChangeDetail>; readonly validate: import("@angular/core").OutputEmitterRef<AsyncValidatedInputValidateDetail>; readonly store: AsyncValidatedInputStore; private readonly host; private readonly listeners; private readonly consumer; private last; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRoot, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GrAsyncValidatedInputRoot, "gr-async-validated-input-root", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "validate": "validate"; }, never, ["*"], true, never>;}ariaLabelimport("@angular/core").InputSignal<string | undefined>consumeranydefaultValueimport("@angular/core").InputSignal<string | undefined>hostanylastanylistenersanymessageimport("@angular/core").InputSignal<string | undefined>ngOnDestroy() => voidɵcmpi0.ɵɵComponentDeclaration<GrAsyncValidatedInputRoot, "gr-async-validated-input-root", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "validate": "validate"; }, never, ["*"], true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRoot, never>pendingimport("@angular/core").InputSignal<boolean | undefined>statusimport("@angular/core").InputSignal<AsyncValidatedInputStatus | undefined>storeAsyncValidatedInputStorevalidateimport("@angular/core").OutputEmitterRef<AsyncValidatedInputValidateDetail>- Name
ariaLabel- Kind
- property
- Type
import("@angular/core").InputSignal<string | undefined>- Requirement
- required
- Name
consumer- Kind
- property
- Type
any- Requirement
- required
- Name
defaultValue- Kind
- property
- Type
import("@angular/core").InputSignal<string | undefined>- Requirement
- required
- Name
host- Kind
- property
- Type
any- Requirement
- required
- Name
last- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
message- Kind
- property
- Type
import("@angular/core").InputSignal<string | undefined>- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵcmp- Kind
- property
- Type
i0.ɵɵComponentDeclaration<GrAsyncValidatedInputRoot, "gr-async-validated-input-root", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "validate": "validate"; }, never, ["*"], true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRoot, never>- Requirement
- required
- Name
pending- Kind
- property
- Type
import("@angular/core").InputSignal<boolean | undefined>- Requirement
- required
- Name
status- Kind
- property
- Type
import("@angular/core").InputSignal<AsyncValidatedInputStatus | undefined>- Requirement
- required
- Name
store- Kind
- property
- Type
AsyncValidatedInputStore- Requirement
- required
- Name
validate- Kind
- property
- Type
import("@angular/core").OutputEmitterRef<AsyncValidatedInputValidateDetail>- Requirement
- required
- Name
value- Kind
- property
- Type
import("@angular/core").InputSignal<string | undefined>- Requirement
- required
- Name
valueChange- Kind
- property
- Type
import("@angular/core").OutputEmitterRef<AsyncValidatedInputValueChangeDetail>- Requirement
- required
RootProvider
classexport declare class GrAsyncValidatedInputRootProvider implements OnDestroy { private readonly store; private readonly host; private readonly listeners; private readonly consumer; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRootProvider, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GrAsyncValidatedInputRootProvider, "gr-async-validated-input-root-provider", never, {}, {}, never, ["*"], true, never>;}consumeranyhostanylistenersanyngOnDestroy() => voidɵcmpi0.ɵɵComponentDeclaration<GrAsyncValidatedInputRootProvider, "gr-async-validated-input-root-provider", never, {}, {}, never, ["*"], true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRootProvider, never>storeany- Name
consumer- Kind
- property
- Type
any- Requirement
- required
- Name
host- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵcmp- Kind
- property
- Type
i0.ɵɵComponentDeclaration<GrAsyncValidatedInputRootProvider, "gr-async-validated-input-root-provider", never, {}, {}, never, ["*"], true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputRootProvider, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
Submit
classexport declare class GrAsyncValidatedInputSubmit implements OnDestroy { private readonly store; private readonly element; private readonly listeners; private readonly consumer; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputSubmit, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputSubmit, "[grAsyncValidatedInputSubmit]", never, {}, {}, never, never, true, never>;}consumeranyelementanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputSubmit, "[grAsyncValidatedInputSubmit]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAsyncValidatedInputSubmit, never>storeany- Name
consumer- Kind
- property
- Type
any- Requirement
- required
- Name
element- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrAsyncValidatedInputSubmit, "[grAsyncValidatedInputSubmit]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAsyncValidatedInputSubmit, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
@grassroot/ui-headless-svelte/async-validated-input
Svelte adapter
AsyncValidatedInputInput
valueexport declare const AsyncValidatedInputInput: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
export declare const AsyncValidatedInputMessage: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
AsyncValidatedInputRoot
valueexport declare const AsyncValidatedInputRoot: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
export declare const AsyncValidatedInputRootProvider: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
export declare const AsyncValidatedInputSubmit: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
createAsyncValidatedInput
functionexport declare function createAsyncValidatedInput(input: () => AsyncValidatedInputInput, options?: UseAsyncValidatedInputOptions): UseAsyncValidatedInputResult;input() => AsyncValidatedInputInputoptionsUseAsyncValidatedInputOptionsreturnUseAsyncValidatedInputResult- Name
input- Kind
- parameter
- Type
() => AsyncValidatedInputInput- Requirement
- required
- Name
options- Kind
- parameter
- Type
UseAsyncValidatedInputOptions- Requirement
- optional
- Name
return- Kind
- return value
- Type
UseAsyncValidatedInputResult- Requirement
- n/a
Input
valueexport declare const Input: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
Message
valueexport declare const Message: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
Root
valueexport declare const Root: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
RootProvider
valueexport declare const RootProvider: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
Submit
valueexport declare const Submit: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
UseAsyncValidatedInputOptions
interfaceexport interface UseAsyncValidatedInputOptions extends AsyncValidatedInputConnectOptions { readonly id?: string;}idstring- Name
id- Kind
- property
- Type
string- Requirement
- optional
UseAsyncValidatedInputResult
interfaceexport interface UseAsyncValidatedInputResult { readonly service: AsyncValidatedInputService; readonly connector: AsyncValidatedInputApi; readonly scope: PartScope; readonly version: () => number;}connectorAsyncValidatedInputApiscopePartScopeserviceAsyncValidatedInputServiceversion() => number- Name
connector- Kind
- property
- Type
AsyncValidatedInputApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
AsyncValidatedInputService- Requirement
- required
- Name
version- Kind
- property
- Type
() => number- Requirement
- required
@grassroot/ui-headless-solid/async-validated-input
Solid adapter
AsyncValidatedInputInput
functionexport declare function AsyncValidatedInputInput(props: JSX.InputHTMLAttributes<HTMLInputElement>): JSX.Element;propsJSX.InputHTMLAttributes<HTMLInputElement>returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.InputHTMLAttributes<HTMLInputElement>- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
AsyncValidatedInputMessage
functionexport declare function AsyncValidatedInputMessage(props: JSX.HTMLAttributes<HTMLSpanElement>): JSX.Element;propsJSX.HTMLAttributes<HTMLSpanElement>returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLSpanElement>- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
AsyncValidatedInputRoot
functionexport declare function AsyncValidatedInputRoot(props: AsyncValidatedInputRootProps): JSX.Element;propsAsyncValidatedInputRootPropsreturnJSX.Element- Name
props- Kind
- parameter
- Type
AsyncValidatedInputRootProps- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
AsyncValidatedInputRootProps
interfaceexport interface AsyncValidatedInputRootProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, "id" | "value" | "onInput" | "onChange">, AsyncValidatedInputInput, AsyncValidatedInputConnectOptions { readonly id?: string; readonly children?: JSX.Element;}childrenJSX.Elementidstring- Name
children- Kind
- property
- Type
JSX.Element- Requirement
- optional
- Name
id- Kind
- property
- Type
string- Requirement
- optional
AsyncValidatedInputRootProvider
functionexport declare function AsyncValidatedInputRootProvider(props: AsyncValidatedInputRootProviderProps): JSX.Element;propsAsyncValidatedInputRootProviderPropsreturnJSX.Element- Name
props- Kind
- parameter
- Type
AsyncValidatedInputRootProviderProps- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
AsyncValidatedInputRootProviderProps
interfaceexport interface AsyncValidatedInputRootProviderProps extends JSX.HTMLAttributes<HTMLDivElement> { readonly value: UseAsyncValidatedInputResult; readonly children?: JSX.Element;}childrenJSX.ElementvalueUseAsyncValidatedInputResult- Name
children- Kind
- property
- Type
JSX.Element- Requirement
- optional
- Name
value- Kind
- property
- Type
UseAsyncValidatedInputResult- Requirement
- required
AsyncValidatedInputSubmit
functionexport declare function AsyncValidatedInputSubmit(props: JSX.ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;propsJSX.ButtonHTMLAttributes<HTMLButtonElement>returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.ButtonHTMLAttributes<HTMLButtonElement>- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
Input
functionexport declare function AsyncValidatedInputInput(props: JSX.InputHTMLAttributes<HTMLInputElement>): JSX.Element;propsJSX.InputHTMLAttributes<HTMLInputElement>returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.InputHTMLAttributes<HTMLInputElement>- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
Message
functionexport declare function AsyncValidatedInputMessage(props: JSX.HTMLAttributes<HTMLSpanElement>): JSX.Element;propsJSX.HTMLAttributes<HTMLSpanElement>returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLSpanElement>- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
Root
functionexport declare function AsyncValidatedInputRoot(props: AsyncValidatedInputRootProps): JSX.Element;propsAsyncValidatedInputRootPropsreturnJSX.Element- Name
props- Kind
- parameter
- Type
AsyncValidatedInputRootProps- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
RootProvider
functionexport declare function AsyncValidatedInputRootProvider(props: AsyncValidatedInputRootProviderProps): JSX.Element;propsAsyncValidatedInputRootProviderPropsreturnJSX.Element- Name
props- Kind
- parameter
- Type
AsyncValidatedInputRootProviderProps- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
Submit
functionexport declare function AsyncValidatedInputSubmit(props: JSX.ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;propsJSX.ButtonHTMLAttributes<HTMLButtonElement>returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.ButtonHTMLAttributes<HTMLButtonElement>- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
useAsyncValidatedInput
functionexport declare function useAsyncValidatedInput(input: Accessor<AsyncValidatedInputInput>, options?: UseAsyncValidatedInputOptions): UseAsyncValidatedInputResult;inputAccessor<AsyncValidatedInputInput>optionsUseAsyncValidatedInputOptionsreturnUseAsyncValidatedInputResult- Name
input- Kind
- parameter
- Type
Accessor<AsyncValidatedInputInput>- Requirement
- required
- Name
options- Kind
- parameter
- Type
UseAsyncValidatedInputOptions- Requirement
- optional
- Name
return- Kind
- return value
- Type
UseAsyncValidatedInputResult- Requirement
- n/a
UseAsyncValidatedInputOptions
interfaceexport interface UseAsyncValidatedInputOptions extends AsyncValidatedInputConnectOptions { readonly id?: string;}idstring- Name
id- Kind
- property
- Type
string- Requirement
- optional
UseAsyncValidatedInputResult
interfaceexport interface UseAsyncValidatedInputResult { readonly service: AsyncValidatedInputService; readonly connector: AsyncValidatedInputApi; readonly scope: PartScope; readonly snapshot: () => number;}connectorAsyncValidatedInputApiscopePartScopeserviceAsyncValidatedInputServicesnapshot() => number- Name
connector- Kind
- property
- Type
AsyncValidatedInputApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
AsyncValidatedInputService- Requirement
- required
- Name
snapshot- Kind
- property
- Type
() => number- Requirement
- required