@runic-artifex/angular

Version 0.23.0. Read from the published package.

@runic-artifex/angular

appearance re-export
export { appearance } from '@runic-artifex/views'

Re-exported from appearance.

Appearance re-export
export { Appearance } from '@runic-artifex/views'

Re-exported from Appearance.

AppearanceColorScheme re-export
export { AppearanceColorScheme } from '@runic-artifex/views'

Re-exported from AppearanceColorScheme.

AppearanceContrast re-export
export { AppearanceContrast } from '@runic-artifex/views'

Re-exported from AppearanceContrast.

AppearanceSystemColors re-export
export { AppearanceSystemColors } from '@runic-artifex/views'

Re-exported from AppearanceSystemColors.

BlobRef re-export
export { BlobRef } from '@runic-artifex/views'

Re-exported from BlobRef.

BridgeConnectionHandle interface
BridgeConnectionOptions re-export
export { BridgeConnectionOptions } from '@runic-artifex/views'

Re-exported from BridgeConnectionOptions.

BridgeConnectionState re-export
export { BridgeConnectionState } from '@runic-artifex/views'

Re-exported from BridgeConnectionState.

BridgeField re-export
export { BridgeField } from '@runic-artifex/views'

Re-exported from BridgeField.

BridgeFieldConstraints re-export
export { BridgeFieldConstraints } from '@runic-artifex/views'

Re-exported from BridgeFieldConstraints.

BridgeFieldKind re-export
export { BridgeFieldKind } from '@runic-artifex/views'

Re-exported from BridgeFieldKind.

CommandHandle interface
commitAllFields re-export
export { commitAllFields } from '@runic-artifex/views'

Re-exported from commitAllFields.

configureFieldErrorText re-export
export { configureFieldErrorText } from '@runic-artifex/views'

Re-exported from configureFieldErrorText.

configureTranslatedText re-export
export { configureTranslatedText } from '@runic-artifex/views'

Re-exported from configureTranslatedText.

createRunicInstance re-export
export { createRunicInstance } from '@runic-artifex/views'

Re-exported from createRunicInstance.

DocumentLocaleOptions re-export
export { DocumentLocaleOptions } from '@runic-artifex/views'

Re-exported from DocumentLocaleOptions.

FieldBaseline re-export
export { FieldBaseline } from '@runic-artifex/views'

Re-exported from FieldBaseline.

FieldDefinition re-export
export { FieldDefinition } from '@runic-artifex/views'

Re-exported from FieldDefinition.

FieldError re-export
export { FieldError } from '@runic-artifex/views'

Re-exported from FieldError.

FieldErrorArguments re-export
export { FieldErrorArguments } from '@runic-artifex/views'

Re-exported from FieldErrorArguments.

FieldErrorKind re-export
export { FieldErrorKind } from '@runic-artifex/views'

Re-exported from FieldErrorKind.

FieldErrorReason re-export
export { FieldErrorReason } from '@runic-artifex/views'

Re-exported from FieldErrorReason.

fieldErrorText re-export
export { fieldErrorText } from '@runic-artifex/views'

Re-exported from fieldErrorText.

FieldErrorText re-export
export { FieldErrorText } from '@runic-artifex/views'

Re-exported from FieldErrorText.

FieldHandle interface

One View member bound to an input, as signals.

FieldState re-export
export { FieldState } from '@runic-artifex/views'

Re-exported from FieldState.

FieldView interface

The View a field binds to: an injectView handle, or any pair of state and client signals.

FormFieldHandle interface

A field as injectForm reads it: an injectField handle.

FormHandle interface

A form bound by injectForm: its state as signals, and its actions.

FormState re-export
export { FormState } from '@runic-artifex/views'

Re-exported from FormState.

FormSubmitOptions re-export
export { FormSubmitOptions } from '@runic-artifex/views'

Re-exported from FormSubmitOptions.

FormSubmitResult re-export
export { FormSubmitResult } from '@runic-artifex/views'

Re-exported from FormSubmitResult.

HostAppearance re-export
export { HostAppearance } from '@runic-artifex/views'

Re-exported from HostAppearance.

injectAppearance function

The appearance of the injection context's Runic instance (appearance from @runic-artifex/views) as a signal for the lifetime of the injection context: the colour scheme, contrast and reduced motion of the page's engine combined with the desktop's values that a Runic host pushes (appearance/1), which also carry the text scale, the accent colour and the forced-colours palette.

InjectAppearanceOptions interface

Options of injectAppearance.

injectBridgeConnection function

Follows the connection of the injection context's Runic instance to its .NET host (connecting, connected, reconnecting, lost or closed) as a signal through onBridgeConnection, for the lifetime of the injection context.

InjectBridgeConnectionOptions interface
injectCollectionViewport function

Follows a fixed-row-height scroll container and returns the rows to request from .NET as a signal.

InjectCollectionViewportOptions interface
injectCommand function

Tracks a command's pending state and failure as signals for the lifetime of the injection context.

InjectCommandOptions interface
injectField function

Binds one member of a View to an input for the lifetime of the injection context, through createFieldController: pass a generated descriptor such as EditorFields.title.

InjectFieldOptions interface
injectForm function

One dirty, pending and valid state over injectField handles, and a submit that writes every field before its command (createFormController in @runic-artifex/views).

InjectFormOptions interface
injectLatestOperation function

Admits only the newest selection, for reads such as "load the selected item", as signals for the lifetime of the injection context.

InjectLatestOperationOptions interface
injectMenuBar function

Follows the window's declared menu bar (Runic Desktop's DesktopMenuBarPresentation.Page) as a signal, as headless state for the application's own menubar (for example the CDK Menu's cdkMenuBar), through createMenuBarController, for the lifetime of the injection context.

InjectMenuBarOptions interface
injectOperation function

Tracks Start admission, pending work, cancellation and terminal feedback of a generated start<Command>() operation as signals for the lifetime of the injection context.

InjectOperationOptions interface
injectQueryCollection function

Follows a scroll container for a query collection (client.queries.{name}): it loads the rows the container shows from .NET, with placeholders until they arrive, and lays them out with variable heights.

InjectQueryCollectionOptions interface
injectRunicInstance function

The Runic instance of the injection context: the nearest provideRunicInstance, or the default instance (defaultInstance(): the page instance, or in a component bundle its element's).

InjectRunicInstanceOptions interface

Options of injectRunicInstance.

injectText function

A text reference that a ViewModel produced, such as a status line or a validation message's text, in the window's language (resolveText), as a signal that follows a language switch for the lifetime of the injection context.

injectTextField function

Binds a text input to one member of a View for the lifetime of the injection context, through createTextFieldController.

InjectTextFieldOptions interface
injectTextLocale function

The locale that text is shown in, as textLocaleSignal returns it for the Runic instance of the injection context (or of injector): the same one signal per instance.

InjectTextOptions interface
injectView function

Connects a generated View reference for the lifetime of the injection context (normally a component) and exposes its state as signals.

InjectViewOptions interface
injectViewResource function

Connects a generated View reference as an Angular resource() for the lifetime of the injection context, the asynchronous counterpart of injectView (D053.11): a template branches on hasValue(), isLoading() and error() as for any resource, and value() is never undefined once hasValue() is true.

InjectViewResourceOptions type alias
injectWindowLocale function

The window's locale that the application set, or null while it sets none, as a signal for the lifetime of the injection context, for example to bind lang.

installBackNavigation re-export
export { installBackNavigation } from '@runic-artifex/views'

Re-exported from installBackNavigation.

installNavigationPath re-export
export { installNavigationPath } from '@runic-artifex/views'

Re-exported from installNavigationPath.

LatestOperationHandle type alias

Each field of the latest-operation feedback as a signal, with run and clear.

MenuBarEntry re-export
export { MenuBarEntry } from '@runic-artifex/views'

Re-exported from MenuBarEntry.

MenuBarHandle interface
MenuBarInvokeResult re-export
export { MenuBarInvokeResult } from '@runic-artifex/views'

Re-exported from MenuBarInvokeResult.

MenuBarItem re-export
export { MenuBarItem } from '@runic-artifex/views'

Re-exported from MenuBarItem.

MenuBarMenu re-export
export { MenuBarMenu } from '@runic-artifex/views'

Re-exported from MenuBarMenu.

MenuBarRequest re-export
export { MenuBarRequest } from '@runic-artifex/views'

Re-exported from MenuBarRequest.

MenuBarSeparator re-export
export { MenuBarSeparator } from '@runic-artifex/views'

Re-exported from MenuBarSeparator.

MenuBarState re-export
export { MenuBarState } from '@runic-artifex/views'

Re-exported from MenuBarState.

navigateBack re-export
export { navigateBack } from '@runic-artifex/views'

Re-exported from navigateBack.

NavigationPathChange re-export
export { NavigationPathChange } from '@runic-artifex/views'

Re-exported from NavigationPathChange.

NavigationPathOptions re-export
export { NavigationPathOptions } from '@runic-artifex/views'

Re-exported from NavigationPathOptions.

NavigationReply re-export
export { NavigationReply } from '@runic-artifex/views'

Re-exported from NavigationReply.

onAppearance re-export
export { onAppearance } from '@runic-artifex/views'

Re-exported from onAppearance.

onBridgeConnection re-export
export { onBridgeConnection } from '@runic-artifex/views'

Re-exported from onBridgeConnection.

onNavigationPath re-export
export { onNavigationPath } from '@runic-artifex/views'

Re-exported from onNavigationPath.

openNavigationPath re-export
export { openNavigationPath } from '@runic-artifex/views'

Re-exported from openNavigationPath.

OperationHandle type alias

Each field of the operation's feedback as a signal, with run, cancel and reset.

pageInstance re-export
export { pageInstance } from '@runic-artifex/views'

Re-exported from pageInstance.

provideRunicInstance function

Provides instance as the RUNIC_INSTANCE of an injector: injectView, injectField, injectText, injectBridgeConnection, injectAppearance and the other helpers below it use it instead of the page instance.

QueryCollectionHandle interface
RegionCollection re-export
export { RegionCollection } from '@runic-artifex/views'

Re-exported from RegionCollection.

regionEntries re-export
export { regionEntries } from '@runic-artifex/views'

Re-exported from regionEntries.

RegionEntry re-export
export { RegionEntry } from '@runic-artifex/views'

Re-exported from RegionEntry.

RegionOutcome re-export
export { RegionOutcome } from '@runic-artifex/views'

Re-exported from RegionOutcome.

RegionOutlets class

Renders a ViewOutlet for the regions of a region collection, each in a <div data-region-key> tracked by the region's key.

RegionOutletsMode type alias

How RegionOutlets renders the regions of a collection.

RegionPanelAttributes type alias

Attributes that RegionOutlets sets on a region's wrapper, such as id, role and aria-labelledby.

RegionSlot re-export
export { RegionSlot } from '@runic-artifex/views'

Re-exported from RegionSlot.

resolveText re-export
export { resolveText } from '@runic-artifex/views'

Re-exported from resolveText.

RUNIC_INSTANCE constant

The Runic instance (createRunicInstance in @runic-artifex/views) that the inject* helpers, ViewOutlet and the runicText pipe connect and read through.

RunicBlob re-export
export { RunicBlob } from '@runic-artifex/views'

Re-exported from RunicBlob.

RunicInstance re-export
export { RunicInstance } from '@runic-artifex/views'

Re-exported from RunicInstance.

RunicInstanceOptions re-export
export { RunicInstanceOptions } from '@runic-artifex/views'

Re-exported from RunicInstanceOptions.

RunicTextPipe class

Shows a text reference in the window's language in a template, and marks the view for check when the language changes: {{ error.text | runicText: error.message }}, {{ state.status | runicText }}.

RunicViewOutlet constant

The name of ViewOutlet before 0.7.0-preview.7, where React, Vue and Svelte already used ViewOutlet.

selectedRegion re-export
export { selectedRegion } from '@runic-artifex/views'

Re-exported from selectedRegion.

syncDocumentLocale re-export
export { syncDocumentLocale } from '@runic-artifex/views'

Re-exported from syncDocumentLocale.

textDirection re-export
export { textDirection } from '@runic-artifex/views'

Re-exported from textDirection.

TextFieldHandle interface

A text input bound to one View member.

TextFieldView interface

The View a text field binds to: an injectView handle, or any pair of state and client signals.

textLocaleSignal function

The locale that text is shown in (textLocale: the instance's Translations locale, which follows the window's locale), as a signal.

TextReference re-export
export { TextReference } from '@runic-artifex/views'

Re-exported from TextReference.

TextTranslations re-export
export { TextTranslations } from '@runic-artifex/views'

Re-exported from TextTranslations.

upload re-export
export { upload } from '@runic-artifex/views'

Re-exported from upload.

UploadOptions re-export
export { UploadOptions } from '@runic-artifex/views'

Re-exported from UploadOptions.

UploadProgress re-export
export { UploadProgress } from '@runic-artifex/views'

Re-exported from UploadProgress.

ViewHandle interface
ViewOutlet class

Headless host for a selected logical .NET View.

ViewOutletMissingContext interface

The context of a missing template: the reference without a component, as $implicit (let-page) and content.

ViewRegistry type alias

A build-known map checks each generated reference against its component input.

ViewResource interface

A View connection as an Angular Resource: value() is the View's state, status() is loading until the client connected (reloading after reload()), then resolved, or error with error() the connection failure; idle while the source is null or undefined.

windowLocale re-export
export { windowLocale } from '@runic-artifex/views'

Re-exported from windowLocale.

@runic-artifex/angular/experimental

HostedRegionSizing re-export
export { HostedRegionSizing } from '@runic-artifex/views'

Re-exported from HostedRegionSizing.

HostedRegionState re-export
export { HostedRegionState } from '@runic-artifex/views'

Re-exported from HostedRegionState.

HostedRegionStateChange interface

The stateChange output of RunicHostedRegion.

runicComponentMount function

The mount function of an Angular guest's component: the default export of the component build's entry module.

RunicComponentMountOptions interface

Options of runicComponentMount.

RunicHostedRegion class

A region where the host application shows a hosted guest's Window: the component's element is <runic-hosted-region> itself, and the page never gets a reference to its frame.

RunicHostedRegionElement re-export
export { RunicHostedRegionElement } from '@runic-artifex/views'

Re-exported from RunicHostedRegionElement.

@runic-artifex/angular/forms

RunicFieldDirective class

Wires an <input>, <textarea> or <select> to an injectField handle: <input [runicField]="title">.

runicFieldModel function

A WritableSignal over an injectField handle, for a Signal Forms form(): it reads the field's value, and set and update write through the field (input), so the form's [formField] edits the View.

validateRunicField function

Adds the field's validation messages (errors()) to a Signal Forms schema path as errors of kind runic, each with its message.