An abstract class for a document selector application.

Hierarchy (view full)

Constructors

Properties

selected: any

The currently selected document ID

DEFAULT_OPTIONS: {
    classes: string[];
    form: {
        closeOnSubmit: boolean;
        handler: Object;
        submitOnChange: boolean;
        submitOnClose: boolean;
    };
    includeNone: string;
    position: {
        width: number;
    };
    search: {
        compositioning: boolean;
        delay: number;
        effectiveSearch: string;
        event: null;
        value: string;
    };
    sheetConfig: boolean;
    tag: string;
    window: {
        minimizable: boolean;
        resizable: boolean;
        title: string;
    };
} = ...
PARTS: {
    footer: {
        template: string;
    };
    form: {
        scrollable: string[];
        template: string;
    };
} = ...

Methods

  • Internal

    The event handler for changes to form input elements

    Parameters

    • formConfig: ApplicationFormConfiguration

      The configuration of the form being changed

    • event: Event

      The triggering event

    Returns void

  • Protected

    Attach event listeners to the rendered application form.

    Parameters

    • context: ApplicationRenderContext

      Prepared context data

    • options: RenderOptions

      Provided render options

    Returns void

  • Internal

    Returns Promise<{
        buttons: {
            label: string;
            type: string;
        }[];
        document: any;
        none: {
            document: {
                id: string;
                img: string;
                name: string;
            };
            include: any;
        };
        searchTerm: any;
        sections: DocumentSelectorSection[];
        selected: any;
        showSectionHeaders: boolean;
    }>