Makes the runtime.
the browser's objects
the surface: its base, pages and namespaces
ProtectedaccountProtectedaccountsProtecteddrawnProtecteddrawnProtectedelsewhereProtectedenvProtectedflashProtectedformProtectedi18nProtectedlastProtectedoptionsProtectedownProtectedprefixProtectedtProtectedviewStatic ReadonlyNO_The account control for the page being drawn: '' with the list off and on a path that never carries it.
the control in its slot, or ''
Draws what an act answered.
the surface's path the form was on
{ status, json }
nothing
The context a renderer is handed.
the location's query
the context
Draws a view in place of the page in hand — what an act answered — keeping the page's row and query.
the view
nothing
Draws a page that says something went wrong: in English, as every refusal here is.
what went wrong
the detail
nothing
Draws the page in hand from its view, with what an act left to say.
nothing
The operation table, once: which operation each form goes to.
whether it is in hand
The page row for a path, an id in it or not.
the surface's path
the row, or null
A form's fields as an object: a repeated name is an array, the pressed button's name and value are included, and the CSRF field a form drawn by the server carried is left out (an API call is not a form post).
the form element
the button pressed, if any
the fields
Goes to one of the surface's paths, adding it to the history.
the path and query under the realm
nothing
The path and query being shown, without the realm prefix.
the path and query
Reads the browser's account list as the surface starts; with it on, the control's words are loaded with the page's and other tabs' changes are listened for.
nothing
Leaves every link to the browser: each of these paths is answered by the server, never drawn in place.
the click
nothing
Handles a submitted form: the language chooser, a GET form's navigation, or an act.
the submit event
nothing
The parameters this page was reached with.
them
Calls an operation that takes no token, sending an object as JSON, and reads its JSON.
GET or POST
the path under the realm
Optionalbody: any
for a POST, an object
Optionalheaders: any{ status, json, res }, json null where the body was not
JSON
Puts a page in the document, with the chooser, and wires it.
the document's title, as text
the page's body
the context it was drawn with
nothing
Draws the page in hand again in the language just chosen, from the view in hand: there is no operation to fetch it again from.
nothing
Reads the list again and draws the control again in place; a change this page's own act made is announced to the other tabs.
whether a change is this page's to announce (never when a message asked)
nothing
Draws the page the location names from the shell's state.
nothing
Saves a file an answer carried as base64.
its file name
its media type
its bytes
nothing
Hands a blob to the browser as a download.
the file's name
its contents
nothing
Saves text as a file.
the file's name
its media type
its contents
nothing
Starts the surface: wires the document and draws the first page.
nothing
Refuses a form: a surface that sends something says how, by overriding this.
the form
the button pressed, if any
nothing
The surface's path of a full path under this realm, or null for one that is not the surface's.
the path
the path without the prefix, or null
Makes the address's fragment the :target of the page just drawn.
nothing
This realm's address for one of its paths: on this origin, or on the listener that answers the path where the shell named one.
/oauth2/token, /web/locales/catalogs.json
the absolute URL
StaticattributeOne attribute of the shell's <html> element.
the browser's objects
the attribute, data-sts-build
its value, or '' where it is absent
StaticbasesReads the shell's data-sts-* attributes into bases by path segment.
the browser's objects; its document is read
the attribute for each first path segment
the bases, without a trailing slash, '' where absent
StaticbrandThe brand header's markup, as common/branding.ts's headerMarkup()
draws it on the server (its preview): the logo, a link where one is
set, and the name, each escaped; empty where there is neither.
brandOf()'s facts
the markup
StaticbrandThe realm's brand facts the shell put on <html> (#717): the name, the
logo's address, its alternative text and its link.
the document's <html> element, or nothing
the facts, each '' where absent
StaticembeddedThe state the shell carried, or null where it carried none or it does not read.
the browser's objects
{ view, preferredLanguage?, ... }, or null
StaticescEscapes text for HTML, as Html.esc() does.
anything
the escaped text
StaticmatchThe row a path is, and the id in it where the row names one.
the page table
the surface's path
{ row, id }, or null for a path that is not a page
StaticprefixSplits a path at a surface's base: the realm prefix before it.
a path, /realm/acme/portal/keys or /portal
the surface's first path, /portal
the prefix, '' in the default realm and where the path is not under the base
StaticqueryParses a query string into an object, the last value of a repeated name winning as express's own parser does for a single value.
?a=1&b=2 or ''
the query
StaticrealmPrefixes every root-relative href, action, formaction and src.
the page
the realm's path prefix, or '' for the default realm
the page with its links in the realm
StaticstepMoves a sign-in step's id from a link's query to its fragment (#1454).
/authn/spnego stays: RFC 4559's exchange has no script to read one.
the link
the link to use
StaticstepTakes a step's id off an API address, for a header (#1454).
the operation's address
the address, and the headers that carry what left it
The runtime of a surface whose every page is drawn from its shell's state.