Sha256: e23ad3f7ab1457ec5c66bdc82f164e256bcee94441dfb3ab8ef0712905a598d3

Contents?: true

Size: 928 Bytes

Versions: 176

Compression:

Stored size: 928 Bytes

Contents

import { Controller } from '@hotwired/stimulus';
import { TemplateResult } from 'lit-html';
declare type HTMLFormField = HTMLInputElement | HTMLButtonElement | HTMLSelectElement | HTMLTextAreaElement;
export default class AriadneFormWith extends Controller {
    connect(): void;
    disconnect(): void;
    onBlur: (event: Event) => void;
    onSubmit: (event: Event) => void;
    validateForm(): boolean;
    validateField(field: HTMLFormField): boolean;
    shouldValidateField(field: HTMLFormField): boolean;
    refreshErrorForInvalidField(field: HTMLFormField, isValid: boolean): void;
    removeExistingErrorMessage(field: HTMLFormField): void;
    showErrorForInvalidField(field: HTMLFormField): void;
    buildFieldErrorHtml(field: HTMLFormField): string;
    get formFields(): HTMLFormField[];
    get firstInvalidField(): HTMLFormField | undefined;
    getRenderString: (data: TemplateResult) => string;
}
export {};

Version data entries

176 entries across 172 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.34 app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.34-x86_64-linux app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.34-x86_64-darwin app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.34-x64-mingw32 app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.34-x64-mingw-ucrt app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.34-arm64-darwin app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.34-aarch64-linux app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.33 app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.33-x86_64-linux app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.33-x86_64-darwin app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.33-x64-mingw32 app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.33-x64-mingw-ucrt app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.33-arm64-darwin app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.33-aarch64-linux app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.32 app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.32-x86_64-linux app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.32-x86_64-darwin app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.32-x64-mingw32 app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.32-x64-mingw-ucrt app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.32-arm64-darwin app/assets/javascripts/ariadne-form-with.d.ts