iya-sts
    Preparing search index...

    Class export=

    Draws CAEP from the answer of GET /admin-api/caep and RISC from that of GET /admin-api/risc, with the sessions and accounts each one's monitoring pages list.

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

    Index
    • Draws one receiver application's row of the CAEP table: who, streams, audience, the types it takes, a count per type and its deliveries.

      Parameters

      • row: any

        the application as the reporter describes it

      • shorts: any

        the event types' short names, in column order

      • prefix: any

        what each short name is prefixed with to key counts

      • t: any

        the page's translator (#539)

      Returns string

      the row as HTML

    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      • settingsGroups: any

      Returns string

      the body as HTML

    • Draws one event sent about a CAEP session as a table row.

      Parameters

      • one: any

        the event: when, name, jti, stream and warnings

      • t: any

        the page's translator (#539)

      Returns string

      the row as HTML

    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      Returns string

      the body as HTML

    • Draws the CAEP page's session chooser: a search by person over the sessions still live, each result linking to /admin/caep with it chosen.

      Revoked sessions are left out, since an event about one is refused.

      Parameters

      • here: any

        the page this is drawn on, as path and query

      • sessions: any

        the CAEP session register's rows

      • selectedId: any

        the session already chosen, marked in the pane

      • t: any

        the page's translator (#539)

      Returns string

      the chooser as HTML

    • Draws how many events of each CAEP type were sent about one session, with each type's whole name.

      Parameters

      • row: any

        the session, whose counts are keyed by type URI

      • types: any

        the CAEP event types

      • t: any

        the page's translator (#539)

      Returns string

      the table as HTML

    • Draws the facts about one CAEP session that are not events — who, state, assurance, compliance, risk and the rest — as a table.

      Parameters

      • row: any

        the session as the reporter describes it

      • t: any

        the page's translator (#539)

      Returns string

      the table as HTML

    • Draws one row of the CAEP sessions table, its first cell linking to the session's page and its last a Reset form posting to /admin/caep.

      Parameters

      • row: any

        the session as the reporter describes it

      • shorts: any

        the event types' short names, in column order

      • prefix: any

        what each short name is prefixed with to key counts

      • listView: any

        the list's query, carried into the drill-down link

      • back: any

        the same query as a field, so Reset returns to this page

      • t: any

        the page's translator (#539)

      Returns string

      the row as HTML

    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      Returns string

      the body as HTML

    • Lists the short name of every CAEP event type, in catalogue order.

      Parameters

      • json: any

        the CAEP report, whose eventTypes are read

      Returns any

      the short names

    • Draws a session's CAEP state as a table cell, revoked marked invalid.

      Parameters

      • state: any

        the session's state

      Returns string

      the cell as HTML

    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      Returns string

      the body as HTML

    • Draws the RISC page's account chooser: a search over every tracked account, purged ones and former identifiers included, each result linking to /admin/risc with it chosen.

      Parameters

      • here: any

        the page this is drawn on, as path and query

      • accounts: any

        the RISC account register's rows

      • selectedId: any

        the account already chosen, marked in the pane

      • t: any

        the page's translator (#539)

      Returns string

      the chooser as HTML

    • Draws how many events of each RISC type were sent about one account, marking the type its specification deprecates.

      Parameters

      • row: any

        the account, whose counts are keyed by type URI

      • types: any

        the RISC event types

      • t: any

        the page's translator (#539)

      Returns string

      the table as HTML

    • Draws the facts about one RISC account that are not events — its three states, contact details, former identifiers and the rest — as a table.

      Parameters

      • row: any

        the account as the reporter describes it

      • t: any

        the page's translator (#539)

      Returns string

      the table as HTML

    • Draws one row of the RISC accounts table, its first cell linking to the account's page and its last a Reset form posting to /admin/risc.

      Parameters

      • row: any

        the account as the reporter describes it

      • shorts: any

        the event types' short names, in column order

      • prefix: any

        what each short name is prefixed with to key counts

      • listView: any

        the list's query, carried into the drill-down link

      • back: any

        the same query as a field, so Reset returns to this page

      • t: any

        the page's translator (#539)

      Returns string

      the row as HTML

    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      Returns string

      the body as HTML

    • Draws one receiver application's row of the RISC table: who, streams, audience, the types it takes, a count per type and its deliveries.

      Parameters

      • row: any

        the application as the reporter describes it

      • shorts: any

        the event types' short names, in column order

      • prefix: any

        what each short name is prefixed with to key counts

      • t: any

        the page's translator (#539)

      Returns string

      the row as HTML

    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      • settingsGroups: any

      Returns string

      the body as HTML

    • Makes a RISC event type's column heading by dropping a leading account- and keeping the rest whole.

      Parameters

      • short: any

        the type's short name

      Returns string

      the heading text

    • Draws one event sent about a RISC account as a table row.

      Parameters

      • one: any

        the event: when, name, jti, stream and warnings

      • t: any

        the page's translator (#539)

      Returns string

      the row as HTML

    • Draws an account's RISC lifecycle as a table cell, purged and disabled marked invalid.

      Parameters

      • state: any

        the lifecycle state

      Returns string

      the cell as HTML

    • Draws an account's RISC opt-out state as a table cell with a title saying what the state means.

      Parameters

      • state: any

        the opt-out state

      • t: any

        the page's translator (#539)

      Returns string

      the cell as HTML

    • Lists the short name of every RISC event type, in catalogue order.

      Parameters

      • json: any

        the RISC report, whose eventTypes are read

      Returns any

      the short names