Sha256: 3816af17df0e3ab7da00907fc966e6629197545bb808989ce88aa23e31d98b54

Contents?: true

Size: 983 Bytes

Versions: 180

Compression:

Stored size: 983 Bytes

Contents

import { Controller } from '@hotwired/stimulus';
import type { TemplateResult } from 'lit-html';
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

180 entries across 96 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.51-x86_64-darwin app/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.51-x86_64-darwin app/assets/javascripts/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.51-arm64-darwin app/assets/javascripts/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.51-arm64-darwin app/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.51-aarch64-linux app/assets/javascripts/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.51-aarch64-linux app/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.51 app/assets/javascripts/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.51 app/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.51-x86_64-linux app/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.51-x86_64-linux app/assets/javascripts/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.50 app/assets/javascripts/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.50 app/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.50-arm64-darwin app/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.50-arm64-darwin app/assets/javascripts/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.50-x64-mingw-ucrt app/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.50-x64-mingw-ucrt app/assets/javascripts/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.50-x86_64-darwin app/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.50-x86_64-darwin app/assets/javascripts/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.50-x86_64-linux app/assets/javascripts/components/ariadne/ariadne-form.d.ts
ariadne_view_components-0.0.50-x86_64-linux app/components/ariadne/ariadne-form.d.ts