iya-sts
    Preparing search index...

    The front door's renderers. A static utility class.

    Index
    • Escapes text for HTML, as Html.esc() and WebSurface.esc() do.

      Parameters

      • value: unknown

        anything

      Returns string

      the escaped text

    • The card around a page: the band, then the body with the chooser. A problem page (no view) draws its own card and is left as it is.

      Parameters

      • body: string

        the chooser and the page's body

      • ctx: any

        the surface's context, with the page's view

      Returns string

      the framed markup

    • The band with the logo, or nothing where the service has no image. Drawn by the surface's frame, above the language chooser, as the server-drawn card had it.

      Parameters

      • view: any

        the front view, or nothing (a problem page)

      • t: any

        the page's translator

      Returns string

      the band's markup, or ''

    • One link's row. The label and note are translated HTML, which escapes its own parameters.

      Parameters

      • link: any

        { id, href, external }

      • view: any

        the front view

      • t: any

        the page's translator

      Returns string

      the row, or '' for a link this page has no words for

    • A link's note: one message, or for the console, the portal and reports the sentences the mode selects.

      Parameters

      • id: string

        the link's id

      • view: any

        the front view

      • t: any

        the page's translator

      Returns string

      the note, as HTML

    • The front page's body, under the chooser: the name, what this service is, the version with its build in the tooltip, the warning, and the links.

      Parameters

      • view: any

        GET /home-api/front's view

      • ctx: any

        the surface's context; its t is the page's translator

      Returns string

      the body

    • What a sign-in on a same-origin surface checks: a fact of the mode, not of the surface, so one sentence for each such row.

      Parameters

      • view: any

        the front view

      • t: any

        the page's translator

      Returns string

      the sentence, as HTML

    • The document's title.

      Parameters

      • view: any

        the front view

      Returns string

      the title, as text