iya-sts
    Preparing search index...

    The portal's frame. A static utility class; it holds no state.

    Index
    ACCOUNTS_ID: "sts-account-switch" = 'sts-account-switch'

    The account menu's list of the browser's other accounts (#561), drawn again in place when another tab changes them.

    NAV_GROUP: "sts-portal-nav" = 'sts-portal-nav'

    The name every section of the column shares, which makes them one exclusive group: opening one closes the other (#1229).

    OPEN_SECTIONS: ".side details.navsec[open]" = '.side details.navsec[open]'

    Selects the column's open sections, for the runtime's toggle.

    REFRESH_KEPT: string[] = REFRESH_KEPT

    The module's REFRESH_KEPT.

    SIGNOUT_PATH: string = ...

    Where the Sign out form posts; the runtime answers it.

    • Draws the account menu's items: a button per other signed-in account, or a line saying there is none, Sign in with another account, and what a switch keeps.

      Parameters

      • list: any

        the browser's account list

      • subject: string

        this tab's subject

      • t: any

        the translator

      Returns string

      the items' HTML

    • Draws the account menu, where the browser's account list is on.

      Parameters

      • list: any

        GET /authn-api/accounts's answer, or nothing

      • subject: string

        this tab's subject

      • t: any

        the translator

      Returns string

      the menu's HTML, or '' with the list off

    • Draws a page for nobody: no column, no header.

      Parameters

      • inner: string

        the page's cards

      • version: any

        { version, buildInfo }

      Returns string

      the page's HTML

    • Draws the language chooser.

      Parameters

      • t: any

        the translator

      • locale: any

        me.locale: negotiated and offered

      • returnTo: string

        the path to come back to, prefix included

      Returns string

      the chooser's HTML, or '' when nothing is offered

    • Draws a signed-in page.

      Parameters

      • me: any

        GET /account-api/me's answer

      • page: any

        active (the page's path), query, message, error, cards (the body), prefix (the realm's), t and openSection (the one section drawn open)

      Returns string

      the page's HTML

    • The heading of a page, from the column's table.

      Parameters

      • active: string

        the page's path

      • t: any

        the translator

      Returns string

      the heading, as text

    • The parameters of a page's query that a redraw of it keeps.

      Parameters

      • query: any

        the page's query

      Returns string[][]

      [name, value] pairs

    • The navigation column.

      Parameters

      • active: string

        the page's path

      • t: any

        the translator

      • OptionalopenSection: string

        optional; the key of the one section drawn open

      Returns string

      the column's HTML

    • Returns the column's entry a page belongs under: its own path where the column lists it, else the deepest listed path it is under.

      Parameters

      • active: string

        the page's path

      Returns string

      the column's path

    • Wraps a page's body with the version line.

      Parameters

      • inner: string

        the body

      • wide: boolean

        whether the page has the navigation column

      • version: any

        { version, buildInfo }

      Returns string

      the page's HTML

    • Draws the person's photo beside their name.

      Parameters

      • user: any

        GET /account-api/me's user

      Returns string

      the image's HTML, or ''

    • The Refresh button: a GET form reloading the page it is on.

      Parameters

      • active: string

        the page's path

      • query: any

        the page's query

      • t: any

        the translator

      Returns string

      the form's HTML

    • The section that holds a page, by its data-section key.

      Parameters

      • active: string

        the page's path

      Returns string

      that section's key, or '' when the page is in none