iya-sts
    Preparing search index...

    The renderers of GNAP's interaction pages. A static utility class.

    Index
    • The approval page.

      Parameters

      • view: any

        GnapInteract.approvalView()'s view

      • ctx: any

        the context

      Returns string

      the body

    • The user code page (RFC 9635 sections 4.1.2 and 4.1.3).

      Parameters

      • view: any

        the view

      • ctx: any

        the context

      Returns string

      the body

    • What is said once the decision is made and the finish followed.

      Parameters

      • view: any

        GnapInteract.doneView()'s view

      • ctx: any

        the context

      Returns string

      the body

    • Escapes text for HTML, as Html.esc() does.

      Parameters

      • value: unknown

        anything

      Returns string

      the escaped text

    • A refusal: a link, a code or an answer this service cannot take, in the page's language (#2006): the heading and the detail from their catalog messages, their English where the catalogs lack them.

      Parameters

      • view: any

        { heading, detail, headingMessage, detailMessage }

      • ctx: any

        the surface's context: t

      Returns string

      the body

    • A refusal's heading, as text, in the page's language (#2006).

      Parameters

      • view: any

        { heading, headingMessage }

      • t: any

        the translator

      Returns string

      the heading

    • A sentence this page writes itself, in the page's language, and in the English given where the catalogs lack it (#2006). The key comes first, as in WebSurface.refusal(), so tests/i18n_catalogs.js finds it.

      Parameters

      • key: string

        the refusals key, a literal

      • params: any

        its parameters

      • english: string

        the English

      • t: any

        the translator

      Returns string

      the sentence, as text

    • Draws a page's body from its view, by the view's kind.

      Parameters

      • view: any

        the view

      • ctx: any

        the surface's context: t

      Returns string

      the body

    • One access right, as the request named it.

      Parameters

      • right: any

        the right's facts

      • t: any

        the translator

      Returns string

      the markup

    • What is said when the request names somebody else, and waits for them.

      Parameters

      • view: any

        the view

      • ctx: any

        the context

      Returns string

      the body

    • The document's title for a view.

      Parameters

      • view: any

        the view

      • ctx: any

        the context

      Returns string

      the title, as text