A specialized form application for selecting an Item from a list of available choices

Hierarchy

Constructors

Properties

selected: any

The currently selected document ID

DEFAULT_OPTIONS: {
    actor: undefined;
    filterFunc: undefined;
    includeNone: boolean;
    items: undefined;
    selected: null;
    window: {
        title: string;
    };
} = ...

Type declaration

  • actor: undefined
  • filterFunc: undefined
  • includeNone: boolean
  • items: undefined
  • selected: null
  • window: {
        title: string;
    }
    • title: string
PARTS: {
    footer: {
        template: string;
    };
    form: {
        scrollable: string[];
        template: string;
    };
} = ...

Type declaration

  • footer: {
        template: string;
    }
    • template: string
  • form: {
        scrollable: string[];
        template: string;
    }
    • scrollable: string[]
    • template: string

Methods

  • Get the list of sections to show in the selector. Categories are supposed to have their permissions correctly applied and display error messages, if they are not accessible.

    Returns Promise<{
        documents: any;
        id: string;
        label: string;
    }[]>

    Async

    Abstract

  • 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;
    }>

    Inherit Doc

    Async

Generated using TypeDoc