iya-sts
    Preparing search index...

    Class export=

    Draws Risk from the answer of GET /admin-api/risk — the datasets a score reads and their versions, the assessments and standings, an address lookup, the operator's lists and the refused passwords — and Risk scoring from that of GET /admin-api/risk/metrics.

    A static utility class; it holds no state and takes no dependencies.

    Index
    CSS: string = RISK_CSS

    The page's rules, for the console's stylesheet (2026-11-10).

    LOOKUP_ACTION: string = LOOKUP_ACTION
    • Parameters

      • ctx: any
      • view: any

      Returns string

    • Draws the authenticator lookup form and its answer.

      Parameters

      • view: any

        the page's view

      • t: any

        the page's translator (#539)

      Returns string

      the form, and the answer when there is one

    • Parameters

      • t: any
      • id: string
      • head: string
      • counts: any
      • total: number
      • Optionalcolour: (k: string) => string
      • Optionallimit: number
      • Optionalorder: string[]

      Returns string

    • Says a duration in the largest unit that divides it.

      Parameters

      • ms: number

        the duration in milliseconds

      • t: any

        the page's translator (#539)

      Returns string

      the duration as text

    • Parameters

      • action: string
      • d: any
      • version: string
      • label: string

      Returns string

    • Parameters

      • m: any
      • Optionalctx: any

      Returns string

    • Draws the table of which file format each dataset is read from.

      Parameters

      • view: any

        the page's view

      • t: any

        the page's translator (#539)

      Returns string

      a collapsible table

    • Draws the one drop-down of the valid dataset and format pairs, grouped by dataset.

      Parameters

      • view: any

        the page's view: datasets (each with its formats) and formats

      • id: string

        the element's id

      • t: any

        the page's translator (#539)

      Returns string

      the labelled select

    • Draws the page's body from its view.

      Parameters

      • view: any

        the answer of the page's management API operation

      • ctx: any

        the render context: the page's query and whether the reader may write (WebKit.context())

      Returns string

      the body as HTML

    • Parameters

      • d: any
      • v: any
      • t: any

      Returns string