Sha256: 19aeb7d201f874f511d0812391aafb219080ef958026b6c5468899bf0f44dc2a

Contents?: true

Size: 991 Bytes

Versions: 176

Compression:

Stored size: 991 Bytes

Contents

import { Controller } from '@hotwired/stimulus';
import type { TemplateResult } from 'lit-html';
declare type HTMLFormField = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
export default class AriadneFormWith extends Controller {
    static targets: string[];
    readonly formFieldTargets: [HTMLFormField];
    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.d.ts
ariadne_view_components-0.0.34-x86_64-linux app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.34-x86_64-darwin app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.34-x64-mingw32 app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.34-x64-mingw-ucrt app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.34-arm64-darwin app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.34-aarch64-linux app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.33 app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.33-x86_64-linux app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.33-x86_64-darwin app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.33-x64-mingw32 app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.33-x64-mingw-ucrt app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.33-arm64-darwin app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.33-aarch64-linux app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.32 app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.32-x86_64-linux app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.32-x86_64-darwin app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.32-x64-mingw32 app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.32-x64-mingw-ucrt app/assets/javascripts/ariadne-form.d.ts
ariadne_view_components-0.0.32-arm64-darwin app/assets/javascripts/ariadne-form.d.ts