@runic-artifex/vue

Version 0.23.0. Read from the published package.

@runic-artifex/vue

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.

CollectionViewportHandle interface
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

A field bound by useField: a reactive object, so a template binds its members directly, such as v-model="title.value".

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

Re-exported from FieldOptions.

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

Re-exported from FieldState.

FormFieldHandle type alias

A field as useForm reads it: a useField handle.

FormHandle interface

A form bound by useForm: a reactive state 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.

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 LatestOperationState field as a shallow ref, with the controller's 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 OperationState field as a shallow ref, with the controller's run, cancel and reset.

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

Re-exported from pageInstance.

provideRunicInstance function

Makes instance the Runic instance of the calling component and its descendants: useView, useField, useText, useBridgeConnection, useAppearance and the other composables below it connect and read through 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 constant

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

RegionOutletsMode type alias

How RegionOutlets renders the regions of a collection.

RegionOutletsProps interface
RegionPanelAttributes type alias

Attributes that RegionOutlets merges onto 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.

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.

runicInstanceKey constant

The injection key of the Runic instance (createRunicInstance in

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

Re-exported from RunicInstanceOptions.

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

Re-exported from selectedRegion.

SuspenseViewHandle interface
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
TextFieldView interface

The View a text field binds to: a useView handle, or any state and client refs.

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.

useAppearance function

The page's appearance (appearance from @runic-artifex/views) as a ref that renders, computes and watches again when it changes: 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.

useBridgeConnection function

Follows the page's connection to its .NET host (connecting, connected, reconnecting, lost or closed) as a shallow ref through onBridgeConnection, until the current effect scope is disposed.

useCollectionViewport function

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

useCommand function

Tracks a command's pending state and failure as shallow refs, like useView, so the handle can be destructured.

useField function

Binds an element to one View member while the current effect scope is active, through createFieldController: pass a generated descriptor such as EditorFields.title, or any definition with read and write.

useForm function

One dirty, pending and valid state over useField handles, and a submit that writes every field before its command (createFormController in @runic-artifex/views): ```vue const form = useForm({ title, body }, { dirty: () => editor.state.value?.isDirty === true }); <button :disabled="!form.valid || form.submitting"

UseFormOptions interface
useLatestOperation function

Admits only the newest selection, for reads such as "load the selected item": each run(intent) replaces the queued intent and cancels the active read, and the next read starts only after the previous one has finished (including waitForCompletion).

useMenuBar function

Follows the window's declared menu bar (Runic Desktop's DesktopMenuBarPresentation.Page) as a shallow ref, as headless state for the application's own menubar component, through createMenuBarController, until the current effect scope is disposed.

UseMenuBarOptions interface
useOperation function

Tracks Start admission, pending work, cancellation and terminal feedback of a generated start<Command>() operation, each state field a shallow ref, so the handle can be destructured.

useQueryCollection 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.

useRunicInstance function

The Runic instance of the calling component: that of the nearest provideRunicInstance (or runicInstanceKey on the app).

useSuspenseView function

Connects a generated View reference for the current effect scope, like useView, and resolves once it connected, with refs that are never undefined.

useText 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 computed ref that follows a language switch until the effect scope stops.

useTextField function

Binds a text input to one member of a View while the current effect scope is active, through createTextFieldController.

UseTextFieldOptions interface
useTextLocale function

The locale that text is shown in (textLocale: the page's Translations locale, which follows the window's locale), as a ref that renders, computes and watches again when it changes.

useView function
UseViewOptions interface

Connects a generated View reference while the current effect scope (for example a component) is active and exposes its state as shallow refs.

useWindowLocale function

The window's locale that the application set, or null while it sets none, as a ref, until the effect scope stops.

ViewHandle interface
ViewOutlet constant

Renders the registered component for a generated View reference and passes the reference as its page prop.

ViewOutletProps interface
ViewRegistry type alias

A build-known map checks each generated reference kind against its component's page prop.

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

Re-exported from windowLocale.

@runic-artifex/vue/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.

RunicHostedRegion constant

A region where the host application shows a hosted guest's Window (<runic-hosted-region>), in a frame the page never gets a reference to.

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

Re-exported from RunicHostedRegionElement.