@runic-artifex/vue
appearancere-exportexport { appearance } from '@runic-artifex/views'Re-exported from
appearance.Appearancere-exportexport { Appearance } from '@runic-artifex/views'Re-exported from
Appearance.AppearanceColorSchemere-exportexport { AppearanceColorScheme } from '@runic-artifex/views'Re-exported from
AppearanceColorScheme.AppearanceContrastre-exportexport { AppearanceContrast } from '@runic-artifex/views'Re-exported from
AppearanceContrast.AppearanceSystemColorsre-exportexport { AppearanceSystemColors } from '@runic-artifex/views'Re-exported from
AppearanceSystemColors.BlobRefre-exportexport { BlobRef } from '@runic-artifex/views'Re-exported from
BlobRef.BridgeConnectionHandleinterfaceBridgeConnectionOptionsre-exportexport { BridgeConnectionOptions } from '@runic-artifex/views'Re-exported from
BridgeConnectionOptions.BridgeConnectionStatere-exportexport { BridgeConnectionState } from '@runic-artifex/views'Re-exported from
BridgeConnectionState.BridgeFieldre-exportexport { BridgeField } from '@runic-artifex/views'Re-exported from
BridgeField.BridgeFieldConstraintsre-exportexport { BridgeFieldConstraints } from '@runic-artifex/views'Re-exported from
BridgeFieldConstraints.BridgeFieldKindre-exportexport { BridgeFieldKind } from '@runic-artifex/views'Re-exported from
BridgeFieldKind.CollectionViewportHandleinterfaceCommandHandleinterfacecommitAllFieldsre-exportexport { commitAllFields } from '@runic-artifex/views'Re-exported from
commitAllFields.configureFieldErrorTextre-exportexport { configureFieldErrorText } from '@runic-artifex/views'Re-exported from
configureFieldErrorText.configureTranslatedTextre-exportexport { configureTranslatedText } from '@runic-artifex/views'Re-exported from
configureTranslatedText.createRunicInstancere-exportexport { createRunicInstance } from '@runic-artifex/views'Re-exported from
createRunicInstance.DocumentLocaleOptionsre-exportexport { DocumentLocaleOptions } from '@runic-artifex/views'Re-exported from
DocumentLocaleOptions.FieldBaselinere-exportexport { FieldBaseline } from '@runic-artifex/views'Re-exported from
FieldBaseline.FieldDefinitionre-exportexport { FieldDefinition } from '@runic-artifex/views'Re-exported from
FieldDefinition.FieldErrorre-exportexport { FieldError } from '@runic-artifex/views'Re-exported from
FieldError.FieldErrorArgumentsre-exportexport { FieldErrorArguments } from '@runic-artifex/views'Re-exported from
FieldErrorArguments.FieldErrorKindre-exportexport { FieldErrorKind } from '@runic-artifex/views'Re-exported from
FieldErrorKind.FieldErrorReasonre-exportexport { FieldErrorReason } from '@runic-artifex/views'Re-exported from
FieldErrorReason.fieldErrorTextre-exportexport { fieldErrorText } from '@runic-artifex/views'Re-exported from
fieldErrorText.FieldErrorTextre-exportexport { FieldErrorText } from '@runic-artifex/views'Re-exported from
FieldErrorText.FieldHandleinterfaceA field bound by
useField: areactiveobject, so a template binds its members directly, such asv-model="title.value".FieldOptionsre-exportexport { FieldOptions } from '@runic-artifex/views'Re-exported from
FieldOptions.FieldStatere-exportexport { FieldState } from '@runic-artifex/views'Re-exported from
FieldState.FormFieldHandletype aliasA field as
useFormreads it: auseFieldhandle.FormHandleinterfaceA form bound by
useForm: areactivestate and its actions.FormStatere-exportexport { FormState } from '@runic-artifex/views'Re-exported from
FormState.FormSubmitOptionsre-exportexport { FormSubmitOptions } from '@runic-artifex/views'Re-exported from
FormSubmitOptions.FormSubmitResultre-exportexport { FormSubmitResult } from '@runic-artifex/views'Re-exported from
FormSubmitResult.HostAppearancere-exportexport { HostAppearance } from '@runic-artifex/views'Re-exported from
HostAppearance.export { installBackNavigation } from '@runic-artifex/views'Re-exported from
installBackNavigation.export { installNavigationPath } from '@runic-artifex/views'Re-exported from
installNavigationPath.LatestOperationHandletype aliasEach
LatestOperationStatefield as a shallow ref, with the controller'srunandclear.MenuBarEntryre-exportexport { MenuBarEntry } from '@runic-artifex/views'Re-exported from
MenuBarEntry.MenuBarHandleinterfaceMenuBarInvokeResultre-exportexport { MenuBarInvokeResult } from '@runic-artifex/views'Re-exported from
MenuBarInvokeResult.MenuBarItemre-exportexport { MenuBarItem } from '@runic-artifex/views'Re-exported from
MenuBarItem.MenuBarMenure-exportexport { MenuBarMenu } from '@runic-artifex/views'Re-exported from
MenuBarMenu.MenuBarRequestre-exportexport { MenuBarRequest } from '@runic-artifex/views'Re-exported from
MenuBarRequest.MenuBarSeparatorre-exportexport { MenuBarSeparator } from '@runic-artifex/views'Re-exported from
MenuBarSeparator.MenuBarStatere-exportexport { MenuBarState } from '@runic-artifex/views'Re-exported from
MenuBarState.export { navigateBack } from '@runic-artifex/views'Re-exported from
navigateBack.export { NavigationPathChange } from '@runic-artifex/views'Re-exported from
NavigationPathChange.export { NavigationPathOptions } from '@runic-artifex/views'Re-exported from
NavigationPathOptions.export { NavigationReply } from '@runic-artifex/views'Re-exported from
NavigationReply.onAppearancere-exportexport { onAppearance } from '@runic-artifex/views'Re-exported from
onAppearance.onBridgeConnectionre-exportexport { onBridgeConnection } from '@runic-artifex/views'Re-exported from
onBridgeConnection.export { onNavigationPath } from '@runic-artifex/views'Re-exported from
onNavigationPath.export { openNavigationPath } from '@runic-artifex/views'Re-exported from
openNavigationPath.OperationHandletype aliasEach
OperationStatefield as a shallow ref, with the controller'srun,cancelandreset.pageInstancere-exportexport { pageInstance } from '@runic-artifex/views'Re-exported from
pageInstance.provideRunicInstancefunctionMakes
instancethe Runic instance of the calling component and its descendants:useView,useField,useText,useBridgeConnection,useAppearanceand the other composables below it connect and read through it instead of the page instance.QueryCollectionHandleinterfaceRegionCollectionre-exportexport { RegionCollection } from '@runic-artifex/views'Re-exported from
RegionCollection.regionEntriesre-exportexport { regionEntries } from '@runic-artifex/views'Re-exported from
regionEntries.RegionEntryre-exportexport { RegionEntry } from '@runic-artifex/views'Re-exported from
RegionEntry.RegionOutcomere-exportexport { RegionOutcome } from '@runic-artifex/views'Re-exported from
RegionOutcome.RegionOutletsconstantRenders a
ViewOutletfor the regions of a region collection, each in a<div data-region-key>keyed by the region's key.RegionOutletsModetype aliasHow
RegionOutletsrenders the regions of a collection.RegionOutletsPropsinterfaceRegionPanelAttributestype aliasAttributes that
RegionOutletsmerges onto a region's wrapper, such asid,roleandaria-labelledby.RegionSlotre-exportexport { RegionSlot } from '@runic-artifex/views'Re-exported from
RegionSlot.resolveTextre-exportexport { resolveText } from '@runic-artifex/views'Re-exported from
resolveText.RunicBlobre-exportexport { RunicBlob } from '@runic-artifex/views'Re-exported from
RunicBlob.RunicInstancere-exportexport { RunicInstance } from '@runic-artifex/views'Re-exported from
RunicInstance.runicInstanceKeyconstantThe injection key of the Runic instance (
createRunicInstanceinRunicInstanceOptionsre-exportexport { RunicInstanceOptions } from '@runic-artifex/views'Re-exported from
RunicInstanceOptions.selectedRegionre-exportexport { selectedRegion } from '@runic-artifex/views'Re-exported from
selectedRegion.SuspenseViewHandleinterfacesyncDocumentLocalere-exportexport { syncDocumentLocale } from '@runic-artifex/views'Re-exported from
syncDocumentLocale.textDirectionre-exportexport { textDirection } from '@runic-artifex/views'Re-exported from
textDirection.TextFieldHandleinterfaceTextFieldViewinterfaceThe View a text field binds to: a
useViewhandle, or any state and client refs.TextReferencere-exportexport { TextReference } from '@runic-artifex/views'Re-exported from
TextReference.TextTranslationsre-exportexport { TextTranslations } from '@runic-artifex/views'Re-exported from
TextTranslations.uploadre-exportexport { upload } from '@runic-artifex/views'Re-exported from
upload.UploadOptionsre-exportexport { UploadOptions } from '@runic-artifex/views'Re-exported from
UploadOptions.UploadProgressre-exportexport { UploadProgress } from '@runic-artifex/views'Re-exported from
UploadProgress.useAppearancefunctionThe page's appearance (
appearancefrom@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.useBridgeConnectionfunctionFollows the page's connection to its .NET host (
connecting,connected,reconnecting,lostorclosed) as a shallow ref throughonBridgeConnection, until the current effect scope is disposed.useCollectionViewportfunctionFollows a fixed-row-height scroll container and returns the rows to request from .NET.
useCommandfunctionTracks a command's pending state and failure as shallow refs, like
useView, so the handle can be destructured.useFieldfunctionBinds an element to one View member while the current effect scope is active, through
createFieldController: pass a generated descriptor such asEditorFields.title, or any definition withreadandwrite.useFormfunctionOne dirty, pending and valid state over
useFieldhandles, and asubmitthat writes every field before its command (createFormControllerin@runic-artifex/views): ```vue const form = useForm({ title, body }, { dirty: () => editor.state.value?.isDirty === true }); <button :disabled="!form.valid || form.submitting"UseFormOptionsinterfaceuseLatestOperationfunctionAdmits 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 (includingwaitForCompletion).useMenuBarfunctionFollows 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, throughcreateMenuBarController, until the current effect scope is disposed.UseMenuBarOptionsinterfaceuseOperationfunctionTracks 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.useQueryCollectionfunctionFollows 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.useRunicInstancefunctionThe Runic instance of the calling component: that of the nearest
provideRunicInstance(orrunicInstanceKeyon the app).useSuspenseViewfunctionConnects a generated View reference for the current effect scope, like
useView, and resolves once it connected, with refs that are neverundefined.useTextfunctionA 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.useTextFieldfunctionBinds a text input to one member of a View while the current effect scope is active, through
createTextFieldController.UseTextFieldOptionsinterfaceuseTextLocalefunctionThe 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.useViewfunctionUseViewOptionsinterfaceConnects a generated View reference while the current effect scope (for example a component) is active and exposes its state as shallow refs.
useWindowLocalefunctionThe window's locale that the application set, or
nullwhile it sets none, as a ref, until the effect scope stops.ViewHandleinterfaceViewOutletconstantRenders the registered component for a generated View reference and passes the reference as its
pageprop.ViewOutletPropsinterfaceViewRegistrytype aliasA build-known map checks each generated reference kind against its component's
pageprop.windowLocalere-exportexport { windowLocale } from '@runic-artifex/views'Re-exported from
windowLocale.
@runic-artifex/vue/experimental
HostedRegionSizingre-exportexport { HostedRegionSizing } from '@runic-artifex/views'Re-exported from
HostedRegionSizing.HostedRegionStatere-exportexport { HostedRegionState } from '@runic-artifex/views'Re-exported from
HostedRegionState.RunicHostedRegionconstantA region where the host application shows a hosted guest's Window (
<runic-hosted-region>), in a frame the page never gets a reference to.RunicHostedRegionElementre-exportexport { RunicHostedRegionElement } from '@runic-artifex/views'Re-exported from
RunicHostedRegionElement.