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.11-x86_64-linux app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.11-x86_64-darwin app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.11-x64-mingw32 app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.11-x64-mingw-ucrt app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.11-arm64-darwin app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.11-aarch64-linux app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.10 app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.10-x86_64-linux app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.10-x86_64-darwin app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.10-x64-mingw32 app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.10-x64-mingw-ucrt app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.10-arm64-darwin app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.10-aarch64-linux app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.9 app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.8 app/assets/javascripts/ariadne-form-with.d.ts
ariadne_view_components-0.0.7 app/assets/javascripts/ariadne-form-with.d.ts