gesso-framework 0.7.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/dist/{FunctionComponent-Czkex8fp.d.ts → FunctionComponent-BDVrANP0.d.ts} +14 -2
- package/dist/WorkerPorts-m_hLRoPj.js.map +1 -1
- package/dist/agent/index.d.ts +3 -1
- package/dist/agent/index.js +4 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/{computed-_cYcdczA.js → computed-DyW9SPpq.js} +12 -2
- package/dist/computed-DyW9SPpq.js.map +1 -0
- package/dist/{index-BENndtaH.d.ts → index-C08h2Jze.d.ts} +451 -29
- package/dist/index.d.ts +4 -4
- package/dist/index.js +207 -22
- package/dist/index.js.map +1 -1
- package/dist/jsx/jsx-runtime.d.ts +1 -1
- package/dist/{persisted-8meJmsOh.js → persisted-qEBOHDnj.js} +2 -2
- package/dist/{persisted-8meJmsOh.js.map → persisted-qEBOHDnj.js.map} +1 -1
- package/dist/remote/index.d.ts +2 -2
- package/dist/{render-cydQ10Nd.js → render-DlhL5y0d.js} +810 -190
- package/dist/render-DlhL5y0d.js.map +1 -0
- package/dist/{tools-BFBwuinE.d.ts → tools-Bl8LZ7LR.d.ts} +2 -2
- package/dist/worker/index.d.ts +3 -3
- package/dist/worker/index.js +2 -2
- package/package.json +2 -2
- package/dist/computed-_cYcdczA.js.map +0 -1
- package/dist/render-cydQ10Nd.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as isChannelHostMessage, B as CommandsOf, C as into, D as ChannelHostMessage, E as ChannelClientMessage, F as diffProjection, H as channel, I as ChannelSpec, L as ChannelToken, M as PatchPath, N as applyPatch, O as ChannelPort, P as applyPatches, R as Command, S as input, T as output, U as defineChannel, V as ViewOf, W as viewKeys, _ as EmitValue, a as ComponentType, b as OutputTarget, c as Inputs, d as BoundsCell, f as bounds, g as EmitArgs, h as ChannelReplica, i as ComponentProps, j as Patch, k as isChannelClientMessage, l as isClassComponent, m as internalState, o as FunctionComponent, p as InternalState, r as ComponentContext, s as InputValue, t as ClassComponent, u as Component, v as InputCell, w as isOutputTarget, x as ReadableCell, y as OutputCell, z as CommandMap } from "./FunctionComponent-
|
|
2
|
-
import { $ as isPortHandshake, B as ServedChannel, C as ServiceRegistry, G as provide, H as serveChannels, J as PortHandshake, K as APPLICATION_WORKER, Q as isPortErrorMessage, S as isComponentElement, U as ChannelSource, V as serve, W as ProvidedChannel, X as WorkerHandle, Y as PortHost, Z as isHubMessage, _ as RenderFrameOptions, at as JsonSchema, b as ComponentElement, et as portHandle, g as PictureCanvas, it as CommandSchema, nt as workerHandle, ot as channelSchema, q as MessageEndpoint, rt as ChannelSchema, st as describeChannel, tt as servePorts, v as RenderedFrame, w as ChannelRegistry, x as FrameworkChild, y as renderFrame } from "./tools-
|
|
3
|
-
import { $ as OpfsStorageOptions, $n as BoundStream, $r as
|
|
4
|
-
export { APPLICATION_WORKER, type ActionCause, type ActionEntry, type AnimateOptions, AnimationService, type AppLogicEndpoint, type AudioAction, type AudioElementLike, type AudioMetadata, type AudioRequest, type AudioSample, AudioService, AudioSink, type AudioSinkOptions, type AudioSinkOutput, type AudioState, type AudioStatus, type BoundStream, BoundsCell, Channel, type ChannelClientMessage, type ChannelErrorEntry, type ChannelHostMessage, type ChannelPort, type ChannelRegistration, ChannelRegistry, type ChannelRegistryHandle, ChannelReplica, type ChannelSchema, type ChannelSource, type ChannelSpec, type ChannelToken, type ClassComponent, type ColorScheme, type ColorSchemePreference, type Command, type CommandEntry, type CommandMap, type CommandSchema, type CommandsOf, Component, type ComponentContext, type ComponentElement, ComponentHost, ComponentHostResolver, type ComponentProps, type ComponentType, ComputedCell, type ComputedOptions, type ConsoleEntry, type ControlledOptions, type ControlledValue, type CreateAppOptions, Define, type DeriveOptions, type DevtoolsEvent, type DevtoolsRequest, Each, type EachKey, type EachProps, type EditingMirrorTarget, EditingProxy, type EditingProxySink, EditingService, type EditingState, type EmitArgs, type EmitValue, type Equality, FanCell, type FanKey, FanOut, type FanOutOptions, FindService, FocusService, type FontFaceDeclaration, type FontFaceLike, type FontFamilyDeclaration, type FontFamilyStatus, type FontHost, FontService, type FrameEntry, type FrameMetrics, type FramePhaseTimings, FrameService, type FrameworkChild, type FunctionComponent, GessoApp, GessoAppBuilder, type GessoAppOptions, GessoRuntime, type GessoRuntimeOptions, IndexedDbStorage, type IndexedDbStorageOptions, Inject, Input, InputCell, type InputValue, type Inputs, type InspectionHost, InspectionService, InternalState, type JsonSchema, MARK_PREFIX, type MediaOptions, MediaService, type MediaSessionLike, MemoryStorage, type MessageEndpoint, type MutateOptions, type Mutation, type NodePathTarget, type OpfsDirectory, type OpfsFileHandle, OpfsStorage, type OpfsStorageOptions, type OpfsWritable, type OutletProps, Output, type OutputCell, type OutputTarget, type OverlayEntry, OverlayLayer, type OverlayPlacement, type OverlayRect, OverlayService, type Patch, type PatchEntry, type PatchPath, type PersistedOptions, PersistedState, type PictureCanvas, type PortHandshake, type PortHost, Presence, type PresenceProps, ProvidedChannel, type ReadSource, type ReadableCell, type RenderFrameOptions, RenderWorkerApp, type RenderWorkerError, type RenderedFrame, type RendererChoice, Resource, type ResourceOptions, type ResourceState, type ResourceStatus, type RouteAnswer, type RouteContext, type RouteDefinition, type RouteGuard, type RouteMatch, type RouteOptions, type RouteParams, RouteState, type RouteTarget, type RouterHistorySink, RouterOutlet, type RouterRoutes, RouterService, type RuntimeErrorSource, type RuntimeInput, type RuntimeToShellMessage, ScrollService, type SelectOptions, SemanticsMirror, type SemanticsMirrorSink, type ServedChannel, ServiceRegistry, type ShellFile, type ShellFileRequest, type ShellFileResult, type ShellFileType, type ShellHistory, type ShellHistoryMode, type ShellHistoryOptions, type ShellLocalStore, type ShellRecentFile, type ShellRequest, ShellService, ShellStorage, type ShellStorageOp, type ShellStorageOptions, type ShellStorageResult, type ShellToRuntimeMessage, Show, type ShowProps, type SpringOptions, type StorageAdapter, type StorageOutcome, type StorageRead, TextService, ThemeTokenCell, UI_FRAME_PHASES, UI_ROLES, UI_SEMANTIC_STATES, type UiDuration, type UiEasingChoice, type UiEnvironmentReport, type UiFramePhase, type UiNodeReport, type UiOwnerInput, type UiOwnerReport, type UiPropOrigin, type UiPropReport, type UiRole, type UiSemanticState, type UiSemanticsMap, type UiSemanticsPatch, type UiSemanticsRecord, type UiSemanticsReport, type UiStreamReport, type UiTreeNode, type UiTreeSnapshot, type UndoShortcutOptions, UndoStack, type UndoStackOptions, type UndoTransaction, type UndoableOptions, type ViewOf, type WebMcpChoice, WorkerApp, type WorkerAppOptions, type WorkerHandle, applyPatch, applyPatches, audioClock, bind, bounds, buildPath, channel, channelSchema, classifyStorageError, computed, controlled, createApp, createChannelRegistry, createComponent, createShellHistory, createSyncApp, debounced, defineChannel, derive, describeChannel, describeStream, diffProjection, each, fanOut, findUnplainPath, formatAge, formatNodePath, formatNodeReport, formatSourceLocation, formatStream, formatUrl, input, internalState, into, isChannelClientMessage, isChannelHostMessage, isClassComponent, isComponentElement, isHubMessage, isOutputTarget, isPortErrorMessage, isPortHandshake, markInstant, markNow, measureSpan, mutate, observeColorScheme, observeMediaQuery, observeReducedMotion, output, parseUrl, performShellStorage, performanceMarksEnabled, persisted, pick, pickKeys, portHandle, printPropValue, provide, registerUndoShortcuts, rememberedDirectory, renderFrame, renderRoot, requirePlainData, resource, route, select, serve, serveChannels, servePorts, setPerformanceMarks, shellStorageDenied, show, storageErrorMessage, storageReadFailure, storageReadValue, structurallyEqual, themeTokenCell, throttled, to, treeText, undoable, viewKeys, workerHandle, writeClipboard };
|
|
1
|
+
import { A as isChannelHostMessage, B as CommandsOf, C as into, D as ChannelHostMessage, E as ChannelClientMessage, F as diffProjection, H as channel, I as ChannelSpec, L as ChannelToken, M as PatchPath, N as applyPatch, O as ChannelPort, P as applyPatches, R as Command, S as input, T as output, U as defineChannel, V as ViewOf, W as viewKeys, _ as EmitValue, a as ComponentType, b as OutputTarget, c as Inputs, d as BoundsCell, f as bounds, g as EmitArgs, h as ChannelReplica, i as ComponentProps, j as Patch, k as isChannelClientMessage, l as isClassComponent, m as internalState, o as FunctionComponent, p as InternalState, r as ComponentContext, s as InputValue, t as ClassComponent, u as Component, v as InputCell, w as isOutputTarget, x as ReadableCell, y as OutputCell, z as CommandMap } from "./FunctionComponent-BDVrANP0.js";
|
|
2
|
+
import { $ as isPortHandshake, B as ServedChannel, C as ServiceRegistry, G as provide, H as serveChannels, J as PortHandshake, K as APPLICATION_WORKER, Q as isPortErrorMessage, S as isComponentElement, U as ChannelSource, V as serve, W as ProvidedChannel, X as WorkerHandle, Y as PortHost, Z as isHubMessage, _ as RenderFrameOptions, at as JsonSchema, b as ComponentElement, et as portHandle, g as PictureCanvas, it as CommandSchema, nt as workerHandle, ot as channelSchema, q as MessageEndpoint, rt as ChannelSchema, st as describeChannel, tt as servePorts, v as RenderedFrame, w as ChannelRegistry, x as FrameworkChild, y as renderFrame } from "./tools-Bl8LZ7LR.js";
|
|
3
|
+
import { $ as OpfsStorageOptions, $n as BoundStream, $r as ThemeTokenCell, $t as RendererChoice, A as observeReducedMotion, Ai as DeriveOptions, An as AudioMetadata, Ar as OverlayRect, At as ShellHistory, B as InspectionHost, Bn as UiEasingChoice, Br as findUnplainPath, Bt as DevtoolsRequest, C as writeClipboard, Ci as FanOut, Cn as route, Cr as StartingInputsByName, Ct as GessoAppBuilder, D as TextService, Di as ComputedOptions, Dn as formatUrl, Dr as OverlayScopeProps, Dt as AppLogicEndpoint, E as EditingService, Ei as ComputedCell, En as buildPath, Er as OverlayScope, Et as createApp, F as AudioSink, Fn as AudioStatus, Fr as pick, Ft as ActionEntry, G as persisted, Gn as ShellRecentFile, Gr as Input, Gt as treeText, H as FrameService, Hn as ShellFileRequest, Hr as Channel, Ht as PatchEntry, I as AudioSinkOptions, In as AnimateOptions, Ir as pickKeys, It as ChannelErrorEntry, J as IndexedDbStorage, Jn as ShellStorageOp, Jr as SharedValuesKey, Jt as ShellToRuntimeMessage, K as ShellStorage, Kn as ShellRequest, Kr as Output, Kt as RuntimeErrorSource, L as AudioSinkOutput, Ln as AnimationService, Lr as ChannelRegistration, Lt as CommandEntry, M as PresenceProps, Mi as derive, Mn as AudioSample, Mr as OverlayService, Mt as ShellHistoryOptions, N as RouterOutlet, Nn as AudioService, Nr as createComponent, Nt as createShellHistory, O as FindService, Oi as ReadSource, On as parseUrl, Or as OverlayEntry, Ot as WorkerApp, P as AudioElementLike, Pn as AudioState, Pr as structurallyEqual, Pt as ActionCause, Q as OpfsStorage, Qn as observeColorScheme, Qr as controlled, Qt as GessoRuntimeOptions, R as MediaSessionLike, Rn as SpringOptions, Rr as ChannelRegistryHandle, Rt as ConsoleEntry, S as EditingProxySink, Si as FanKey, Sn as RouteTarget, Sr as StartingInputsProps, St as createSyncApp, T as ScrollService, Ti as fanOut, Tn as RouteParams, Tr as StartingInputsRecord, Tt as CreateAppOptions, U as PersistedOptions, Un as ShellFileResult, Ur as Define, Ut as UiTreeNode, V as InspectionService, Vn as ShellFile, Vr as requirePlainData, Vt as FrameEntry, W as PersistedState, Wn as ShellFileType, Wr as Inject, Wt as UiTreeSnapshot, X as OpfsDirectory, Xn as ColorScheme, Xr as ControlledOptions, Xt as FramePhaseTimings, Y as IndexedDbStorageOptions, Yn as ShellStorageResult, Yr as sharedValue, Yt as FrameMetrics, Z as OpfsFileHandle, Zn as ColorSchemePreference, Zr as ControlledValue, Zt as GessoRuntime, _ as renderRoot, _i as ResourceStatus, _n as OutletProps, _r as ComponentHostResolver, _t as ShellLocalStore, a as UiRole, ai as Each, an as FontFamilyDeclaration, ar as UiOwnerReport, at as classifyStorageError, b as SemanticsMirrorSink, bi as select, bn as RouteGuard, br as liveInput, bt as GessoApp, c as UiSemanticsPatch, ci as each, cn as FontService, cr as UiSemanticsReport, ct as storageReadValue, d as markNow, di as MutateOptions, dn as RouteAnswer, dr as formatAge, dt as UndoableOptions, ei as themeTokenCell, en as RuntimeInput, er as NodePathTarget, et as OpfsWritable, f as measureSpan, fi as Mutation, fn as RouteMatch, fr as formatNodePath, ft as undoable, g as RenderWorkerError, gi as ResourceState, gn as RouteState, gr as printPropValue, gt as rememberedDirectory, h as RenderWorkerApp, hi as ResourceOptions, hn as RouterService, hr as formatStream, ht as UndoTransaction, i as UI_SEMANTIC_STATES, ii as show, in as FontFaceLike, ir as UiOwnerInput, it as StorageRead, j as Presence, ji as Equality, jn as AudioRequest, jr as OverlayScopeKey, jt as ShellHistoryMode, k as observeMediaQuery, ki as computed, kn as AudioAction, kr as OverlayPlacement, kt as WorkerAppOptions, l as UiSemanticsRecord, li as debounced, ln as MediaOptions, lr as UiStreamReport, lt as UndoShortcutOptions, m as setPerformanceMarks, mi as Resource, mn as RouterRoutes, mr as formatSourceLocation, mt as UndoStackOptions, n as MARK_PREFIX, ni as Show, nn as UiFramePhase, nr as UiInteractionReport, nt as StorageAdapter, o as UiSemanticState, oi as EachKey, on as FontFamilyStatus, or as UiPropOrigin, ot as storageErrorMessage, p as performanceMarksEnabled, pi as mutate, pn as RouterHistorySink, pr as formatNodeReport, pt as UndoStack, q as ShellStorageOptions, qn as ShellService, qr as SharedValues, qt as RuntimeToShellMessage, r as UI_ROLES, ri as ShowProps, rn as FontFaceDeclaration, rr as UiNodeReport, rt as StorageOutcome, s as UiSemanticsMap, si as EachProps, sn as FontHost, sr as UiPropReport, st as storageReadFailure, t as EditingState, ti as bind, tn as UI_FRAME_PHASES, tr as UiEnvironmentReport, tt as MemoryStorage, u as markInstant, ui as throttled, un as MediaService, ur as describeStream, ut as registerUndoShortcuts, v as EditingMirrorTarget, vi as resource, vn as RouteContext, vr as ComponentHost, vt as performShellStorage, w as FocusService, wi as FanOutOptions, wn as to, wr as StartingInputsKey, wt as WebMcpChoice, x as EditingProxy, xi as FanCell, xn as RouteOptions, xr as StartingInputs, xt as GessoAppOptions, y as SemanticsMirror, yi as SelectOptions, yn as RouteDefinition, yr as OverlayLayer, yt as shellStorageDenied, z as audioClock, zn as UiDuration, zr as createChannelRegistry, zt as DevtoolsEvent } from "./index-C08h2Jze.js";
|
|
4
|
+
export { APPLICATION_WORKER, type ActionCause, type ActionEntry, type AnimateOptions, AnimationService, type AppLogicEndpoint, type AudioAction, type AudioElementLike, type AudioMetadata, type AudioRequest, type AudioSample, AudioService, AudioSink, type AudioSinkOptions, type AudioSinkOutput, type AudioState, type AudioStatus, type BoundStream, BoundsCell, Channel, type ChannelClientMessage, type ChannelErrorEntry, type ChannelHostMessage, type ChannelPort, type ChannelRegistration, ChannelRegistry, type ChannelRegistryHandle, ChannelReplica, type ChannelSchema, type ChannelSource, type ChannelSpec, type ChannelToken, type ClassComponent, type ColorScheme, type ColorSchemePreference, type Command, type CommandEntry, type CommandMap, type CommandSchema, type CommandsOf, Component, type ComponentContext, type ComponentElement, ComponentHost, ComponentHostResolver, type ComponentProps, type ComponentType, ComputedCell, type ComputedOptions, type ConsoleEntry, type ControlledOptions, type ControlledValue, type CreateAppOptions, Define, type DeriveOptions, type DevtoolsEvent, type DevtoolsRequest, Each, type EachKey, type EachProps, type EditingMirrorTarget, EditingProxy, type EditingProxySink, EditingService, type EditingState, type EmitArgs, type EmitValue, type Equality, FanCell, type FanKey, FanOut, type FanOutOptions, FindService, FocusService, type FontFaceDeclaration, type FontFaceLike, type FontFamilyDeclaration, type FontFamilyStatus, type FontHost, FontService, type FrameEntry, type FrameMetrics, type FramePhaseTimings, FrameService, type FrameworkChild, type FunctionComponent, GessoApp, GessoAppBuilder, type GessoAppOptions, GessoRuntime, type GessoRuntimeOptions, IndexedDbStorage, type IndexedDbStorageOptions, Inject, Input, InputCell, type InputValue, type Inputs, type InspectionHost, InspectionService, InternalState, type JsonSchema, MARK_PREFIX, type MediaOptions, MediaService, type MediaSessionLike, MemoryStorage, type MessageEndpoint, type MutateOptions, type Mutation, type NodePathTarget, type OpfsDirectory, type OpfsFileHandle, OpfsStorage, type OpfsStorageOptions, type OpfsWritable, type OutletProps, Output, type OutputCell, type OutputTarget, type OverlayEntry, OverlayLayer, type OverlayPlacement, type OverlayRect, OverlayScope, OverlayScopeKey, type OverlayScopeProps, OverlayService, type Patch, type PatchEntry, type PatchPath, type PersistedOptions, PersistedState, type PictureCanvas, type PortHandshake, type PortHost, Presence, type PresenceProps, ProvidedChannel, type ReadSource, type ReadableCell, type RenderFrameOptions, RenderWorkerApp, type RenderWorkerError, type RenderedFrame, type RendererChoice, Resource, type ResourceOptions, type ResourceState, type ResourceStatus, type RouteAnswer, type RouteContext, type RouteDefinition, type RouteGuard, type RouteMatch, type RouteOptions, type RouteParams, RouteState, type RouteTarget, type RouterHistorySink, RouterOutlet, type RouterRoutes, RouterService, type RuntimeErrorSource, type RuntimeInput, type RuntimeToShellMessage, ScrollService, type SelectOptions, SemanticsMirror, type SemanticsMirrorSink, type ServedChannel, ServiceRegistry, SharedValues, SharedValuesKey, type ShellFile, type ShellFileRequest, type ShellFileResult, type ShellFileType, type ShellHistory, type ShellHistoryMode, type ShellHistoryOptions, type ShellLocalStore, type ShellRecentFile, type ShellRequest, ShellService, ShellStorage, type ShellStorageOp, type ShellStorageOptions, type ShellStorageResult, type ShellToRuntimeMessage, Show, type ShowProps, type SpringOptions, StartingInputs, type StartingInputsByName, StartingInputsKey, type StartingInputsProps, type StartingInputsRecord, type StorageAdapter, type StorageOutcome, type StorageRead, TextService, ThemeTokenCell, UI_FRAME_PHASES, UI_ROLES, UI_SEMANTIC_STATES, type UiDuration, type UiEasingChoice, type UiEnvironmentReport, type UiFramePhase, type UiInteractionReport, type UiNodeReport, type UiOwnerInput, type UiOwnerReport, type UiPropOrigin, type UiPropReport, type UiRole, type UiSemanticState, type UiSemanticsMap, type UiSemanticsPatch, type UiSemanticsRecord, type UiSemanticsReport, type UiStreamReport, type UiTreeNode, type UiTreeSnapshot, type UndoShortcutOptions, UndoStack, type UndoStackOptions, type UndoTransaction, type UndoableOptions, type ViewOf, type WebMcpChoice, WorkerApp, type WorkerAppOptions, type WorkerHandle, applyPatch, applyPatches, audioClock, bind, bounds, buildPath, channel, channelSchema, classifyStorageError, computed, controlled, createApp, createChannelRegistry, createComponent, createShellHistory, createSyncApp, debounced, defineChannel, derive, describeChannel, describeStream, diffProjection, each, fanOut, findUnplainPath, formatAge, formatNodePath, formatNodeReport, formatSourceLocation, formatStream, formatUrl, input, internalState, into, isChannelClientMessage, isChannelHostMessage, isClassComponent, isComponentElement, isHubMessage, isOutputTarget, isPortErrorMessage, isPortHandshake, liveInput, markInstant, markNow, measureSpan, mutate, observeColorScheme, observeMediaQuery, observeReducedMotion, output, parseUrl, performShellStorage, performanceMarksEnabled, persisted, pick, pickKeys, portHandle, printPropValue, provide, registerUndoShortcuts, rememberedDirectory, renderFrame, renderRoot, requirePlainData, resource, route, select, serve, serveChannels, servePorts, setPerformanceMarks, sharedValue, shellStorageDenied, show, storageErrorMessage, storageReadFailure, storageReadValue, structurallyEqual, themeTokenCell, throttled, to, treeText, undoable, viewKeys, workerHandle, writeClipboard };
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a as InternalState,
|
|
1
|
+
import { A as ComponentHostResolver, B as ChannelRegistry, C as ShellService, D as isDiscreteInputMessage, E as epochNow, F as FocusService, G as Input, H as Channel, I as boundFocus, J as BoundsCell, K as Output, L as OverlayScopeKey, M as StartingInputsKey, N as OverlayLayer, O as isInputMessage, P as __decorate, R as OverlayService, S as FrameService, T as epochFromEvent, U as Define, V as ChannelReplica, W as Inject, X as ServiceRegistry, Y as bounds, Z as Component, _ as parsePattern, a as UI_FRAME_PHASES, b as AudioService, c as TextService, d as ScrollService, f as EditingService, g as formatUrl, h as buildPath, i as GessoRuntime, j as ComponentHost, k as modifiersFrom, l as FontService, m as RouterService, n as renderFrame, o as InspectionService, p as FindService, q as liveInput, r as isClaimedError, s as AnimationService, t as renderModule, u as MediaService, v as parseUrl, w as shellFilesUnsupported, x as treeText, y as RouteState, z as isClassComponent } from "./render-DlhL5y0d.js";
|
|
2
|
+
import { a as InternalState, d as isOutputTarget, f as output, i as equalityOf, l as input, m as trackRead, n as computed, o as internalState, r as derive, s as InputCell, t as ComputedCell, u as into } from "./computed-DyW9SPpq.js";
|
|
3
3
|
import { C as defineChannel, S as channel, T as structurallyEqual, _ as applyPatch, a as portHandle, b as isChannelClientMessage, c as captureConsole, d as formatAge, f as formatNodePath, g as printPropValue, h as formatStream, i as isPortHandshake, l as isConsoleEntryMessage, m as formatSourceLocation, n as isHubMessage, o as servePorts, p as formatNodeReport, r as isPortErrorMessage, s as workerHandle, t as APPLICATION_WORKER, u as describeStream, v as applyPatches, w as viewKeys, x as isChannelHostMessage, y as diffProjection } from "./WorkerPorts-m_hLRoPj.js";
|
|
4
|
-
import { _ as Resource, a as undoable, c as classifyStorageError, d as storageReadValue, f as pick, g as mutate, h as throttled, i as OpfsStorage, l as storageErrorMessage, m as debounced, n as persisted, o as UndoStack, p as pickKeys, r as IndexedDbStorage, s as MemoryStorage, t as PersistedState, u as storageReadFailure, v as resource, y as select } from "./persisted-
|
|
4
|
+
import { _ as Resource, a as undoable, c as classifyStorageError, d as storageReadValue, f as pick, g as mutate, h as throttled, i as OpfsStorage, l as storageErrorMessage, m as debounced, n as persisted, o as UndoStack, p as pickKeys, r as IndexedDbStorage, s as MemoryStorage, t as PersistedState, u as storageReadFailure, v as resource, y as select } from "./persisted-qEBOHDnj.js";
|
|
5
5
|
import { i as each, n as show, r as Each, t as Show } from "./show-D0MevHaV.js";
|
|
6
6
|
import { t as createComponent } from "./createComponent-DJads88q.js";
|
|
7
7
|
import { d as requirePlainData, f as channelSchema, p as describeChannel, t as AGENT_PORT, u as findUnplainPath } from "./remote-B4bjdTzg.js";
|
|
8
8
|
import { i as provide, n as serveChannels, r as ProvidedChannel, t as serve } from "./serveChannels-DReCmRxO.js";
|
|
9
9
|
import { n as serveApplicationAgent } from "./app-De3z58x7.js";
|
|
10
|
-
import { BehaviorSubject, Observable, distinctUntilChanged, map } from "rxjs";
|
|
11
|
-
import { Box, CanvasPlatformSurface, MARK_PREFIX, UI_ROLES, UI_SEMANTIC_STATES, UiAnimationFrameClock, UiHostFrameClock, UiNodeType, UiPlatformAdapter, capturePointer, isImeKey, markInstant, markNow, measureSpan, motion, observeViewportInsets, percent, performanceMarksEnabled, pointerDeviceOf, prepareInputSurface, setPerformanceMarks, themeTokens, touchActionFor, wheelDeltaYOf } from "gesso-core";
|
|
10
|
+
import { BehaviorSubject, Observable, distinctUntilChanged, map, skip } from "rxjs";
|
|
11
|
+
import { Box, CanvasPlatformSurface, MARK_PREFIX, Stack, UI_ROLES, UI_SEMANTIC_STATES, UiAnimationFrameClock, UiHostFrameClock, UiNodeType, UiPlatformAdapter, capturePointer, createEnvironmentKey, isImeKey, markInstant, markNow, measureSpan, motion, observeViewportInsets, percent, performanceMarksEnabled, pointerDeviceOf, prepareInputSurface, provided, setPerformanceMarks, themeTokens, touchActionFor, wheelDeltaYOf } from "gesso-core";
|
|
12
12
|
//#region src/fanOut.ts
|
|
13
13
|
/**
|
|
14
14
|
* How many live keys with nothing ever released counts as a mistake.
|
|
@@ -335,17 +335,32 @@ function themeTokenCell(extension, label) {
|
|
|
335
335
|
* `defaultValue` and the control owns it, still reporting changes;
|
|
336
336
|
* pass both and it throws, because two owners is a bug. `bind(cell)` is
|
|
337
337
|
* the spread for the first form when the owner is a local cell.
|
|
338
|
+
*
|
|
339
|
+
* A `value` with no `onChange` beside it has nobody to own it, so it is
|
|
340
|
+
* where the control starts, and the control owns it from there; a new
|
|
341
|
+
* value from the parent starts it again. A screen written as a picture
|
|
342
|
+
* of a moment, `<Switch checked={true} />`, is then one a person can
|
|
343
|
+
* use: the design tool's Play mode runs mocks written exactly so, and a
|
|
344
|
+
* value that only the parent may change is what `readOnly` and
|
|
345
|
+
* `disabled` say, not a missing handler.
|
|
338
346
|
*/
|
|
339
347
|
function controlled(options) {
|
|
340
|
-
const { component, name, source, initial, fallback, onChange } = options;
|
|
348
|
+
const { component, name, source, initial, fallback, onChange, heardBy = [] } = options;
|
|
341
349
|
const isControlled = source.value !== void 0;
|
|
342
350
|
if (isControlled && initial.value !== void 0) throw new Error(`${component} was given both '${name}' and 'default${capitalize(name)}'. Pass '${name}' for the app to own the value, or 'default${capitalize(name)}' for the control to.`);
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
351
|
+
const heard = [onChange, ...heardBy].some((output) => output.getValue() !== void 0);
|
|
352
|
+
if (isControlled && heard) {
|
|
353
|
+
liveInput(name, () => source.getValue() === void 0 ? fallback : source.getValue());
|
|
354
|
+
return {
|
|
355
|
+
value: source.pipe(map((value) => value === void 0 ? fallback : value)),
|
|
356
|
+
current: () => source.value === void 0 ? fallback : source.value,
|
|
357
|
+
change: (next) => onChange.emit(next)
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
const start = isControlled ? source.value : initial.value;
|
|
361
|
+
const own = internalState(start === void 0 ? fallback : start);
|
|
362
|
+
liveInput(name, () => own.getValue());
|
|
363
|
+
if (isControlled) source.pipe(skip(1)).subscribe((value) => own.value = value === void 0 ? fallback : value);
|
|
349
364
|
return {
|
|
350
365
|
value: own,
|
|
351
366
|
current: () => own.value,
|
|
@@ -359,6 +374,73 @@ function capitalize(name) {
|
|
|
359
374
|
return name.charAt(0).toUpperCase() + name.slice(1);
|
|
360
375
|
}
|
|
361
376
|
//#endregion
|
|
377
|
+
//#region src/sharedValue.ts
|
|
378
|
+
/**
|
|
379
|
+
* Named values the components under one node share, with no
|
|
380
|
+
* application behind them: what one screen of a prototype was given
|
|
381
|
+
* (an email typed on Forgot password), shown by the next (Check email),
|
|
382
|
+
* or a wizard's steps passing on what was filled in.
|
|
383
|
+
*
|
|
384
|
+
* A node provides a store to what it holds,
|
|
385
|
+
* `provide={[provided(SharedValuesKey, values)]}`, and a component asks
|
|
386
|
+
* for a value by name with `sharedValue(ctx, name, start)`. Under a
|
|
387
|
+
* store, every component asking for the same name has the same cell;
|
|
388
|
+
* with none above, each has its own, at its own start. So a design tool
|
|
389
|
+
* can draw a screen on its board as written, each frame alone, and play
|
|
390
|
+
* it with the screens before it.
|
|
391
|
+
*
|
|
392
|
+
* It is not where an application's state goes. That survives a reload
|
|
393
|
+
* and is on a channel, written by a command; these are cells, written
|
|
394
|
+
* by whatever holds one, and gone with the store.
|
|
395
|
+
*/
|
|
396
|
+
var SharedValues = class {
|
|
397
|
+
cells = /* @__PURE__ */ new Map();
|
|
398
|
+
/** Every value by name, as it is now, in the order each was first asked for. */
|
|
399
|
+
values = internalState(/* @__PURE__ */ new Map());
|
|
400
|
+
/** The value named `name`: made at `start` by the first to ask, and the same cell for each after. */
|
|
401
|
+
cell(name, start) {
|
|
402
|
+
let found = this.cells.get(name);
|
|
403
|
+
if (found === void 0) {
|
|
404
|
+
const cell = internalState(start);
|
|
405
|
+
cell.label = `shared.${name}`;
|
|
406
|
+
found = {
|
|
407
|
+
cell,
|
|
408
|
+
start
|
|
409
|
+
};
|
|
410
|
+
this.cells.set(name, found);
|
|
411
|
+
cell.subscribe(() => this.publish());
|
|
412
|
+
}
|
|
413
|
+
return found.cell;
|
|
414
|
+
}
|
|
415
|
+
/** Writes a value by name, as a component holding it would; a name nobody has asked for is ignored. */
|
|
416
|
+
set(name, value) {
|
|
417
|
+
const found = this.cells.get(name);
|
|
418
|
+
if (found !== void 0) found.cell.value = value;
|
|
419
|
+
}
|
|
420
|
+
/** Every value back at the start it was made with. */
|
|
421
|
+
reset() {
|
|
422
|
+
for (const { cell, start } of this.cells.values()) cell.value = start;
|
|
423
|
+
}
|
|
424
|
+
publish() {
|
|
425
|
+
this.values.value = new Map([...this.cells].map(([name, { cell }]) => [name, cell.getValue()]));
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
/** Where a node provides a `SharedValues` to what it holds. */
|
|
429
|
+
const SharedValuesKey = createEnvironmentKey({
|
|
430
|
+
name: "gesso.sharedValues",
|
|
431
|
+
defaultValue: null
|
|
432
|
+
});
|
|
433
|
+
/**
|
|
434
|
+
* A value by name: the cell the nearest `SharedValues` above holds for
|
|
435
|
+
* it, shared with every component asking for it there; with none
|
|
436
|
+
* above, a cell of this component's own, at `start`. Bind it as any
|
|
437
|
+
* cell: `<TextInput {...bind(email)} />`.
|
|
438
|
+
*/
|
|
439
|
+
function sharedValue(ctx, name, start) {
|
|
440
|
+
const store = ctx.environment(SharedValuesKey);
|
|
441
|
+
return store === null ? internalState(start) : store.cell(name, start);
|
|
442
|
+
}
|
|
443
|
+
//#endregion
|
|
362
444
|
//#region src/channel/createChannelRegistry.ts
|
|
363
445
|
function isWorkerHandle(worker) {
|
|
364
446
|
return typeof worker === "object";
|
|
@@ -409,6 +491,92 @@ function createChannelRegistry(registrations, onError) {
|
|
|
409
491
|
};
|
|
410
492
|
}
|
|
411
493
|
//#endregion
|
|
494
|
+
//#region src/overlay/OverlayScope.ts
|
|
495
|
+
/**
|
|
496
|
+
* A part of the tree that holds its own overlays: a dialog, menu or
|
|
497
|
+
* tooltip opened inside it is drawn inside it, over its content and
|
|
498
|
+
* nowhere else.
|
|
499
|
+
*
|
|
500
|
+
* What a design tool's player needs from the screen it plays: a dialog
|
|
501
|
+
* on that screen dims the screen, centres in it and is clipped by it,
|
|
502
|
+
* is scaled with it when the screen is drawn smaller than its own size,
|
|
503
|
+
* and leaves the tool around it pressable. A menu is placed and flipped
|
|
504
|
+
* within it, since an anchored entry stays inside the box its layer
|
|
505
|
+
* covers. Outside a scope, entries open in the runtime's own layer
|
|
506
|
+
* above the whole application, as they always have.
|
|
507
|
+
*
|
|
508
|
+
* It fills what holds it, and is the containing block of what it
|
|
509
|
+
* holds. `useOverlay` finds the nearest scope above the component that
|
|
510
|
+
* opens the entry; with none, it uses the runtime's `OverlayService`.
|
|
511
|
+
*
|
|
512
|
+
* A dialog's trap inside it holds the keyboard inside it only: the
|
|
513
|
+
* tool around it, and every other scope, keep their focus, and none is
|
|
514
|
+
* taken from them when it opens or handed to them when it closes.
|
|
515
|
+
*/
|
|
516
|
+
function OverlayScope(inputs, _ctx) {
|
|
517
|
+
const overlays = new OverlayService();
|
|
518
|
+
return Stack({
|
|
519
|
+
position: "relative",
|
|
520
|
+
width: percent(100),
|
|
521
|
+
height: percent(100),
|
|
522
|
+
x: "stretch",
|
|
523
|
+
y: "stretch",
|
|
524
|
+
provide: [provided(OverlayScopeKey, overlays)],
|
|
525
|
+
ref: (node) => {
|
|
526
|
+
if (node !== null) boundFocus(node);
|
|
527
|
+
}
|
|
528
|
+
}, inputs.children.pipe(map((children) => children ?? [])), createComponent(OverlayLayer, { service: overlays }));
|
|
529
|
+
}
|
|
530
|
+
//#endregion
|
|
531
|
+
//#region src/StartingInputs.ts
|
|
532
|
+
/**
|
|
533
|
+
* Draws what it holds with the components in it started from given
|
|
534
|
+
* inputs, named by component, over what their parents pass: every
|
|
535
|
+
* `ScrollArea` in it scrolled to 600, every `Tour` at its second step.
|
|
536
|
+
*
|
|
537
|
+
* What a design tool draws a moment of a screen with, beside the
|
|
538
|
+
* screen as written, without a copy of the screen to drift from it: a
|
|
539
|
+
* list scrolled far enough for its back-to-top button, a dialog open,
|
|
540
|
+
* a tour on its second step. A component reads them as it would its
|
|
541
|
+
* parent's props, so one that takes a value without a handler beside
|
|
542
|
+
* it starts there and is then the person's to change, in a design
|
|
543
|
+
* tool's player as anywhere. A preview of inputs (`InspectionService.
|
|
544
|
+
* previewInputs`) goes over them, and ending it comes back to them.
|
|
545
|
+
*
|
|
546
|
+
* They are read as each component is made, so they start a component
|
|
547
|
+
* rather than steer one: a new `of` reaches components made after it,
|
|
548
|
+
* and once the parent passes something new for an input, it is the
|
|
549
|
+
* parent's again, as a dialog saved open closes when its owner closes
|
|
550
|
+
* it.
|
|
551
|
+
* Nested, the outer one wins for an input both give a component, and
|
|
552
|
+
* the inner one's other inputs and names still reach in: what draws a
|
|
553
|
+
* screen at a moment decides over what the screen starts itself with,
|
|
554
|
+
* so a moment saved from a moment is the later one. A list per instance
|
|
555
|
+
* is taken whole. It fills what holds it.
|
|
556
|
+
*/
|
|
557
|
+
function StartingInputs(inputs, ctx) {
|
|
558
|
+
const outer = ctx.environment(StartingInputsKey);
|
|
559
|
+
return Stack({
|
|
560
|
+
width: percent(100),
|
|
561
|
+
height: percent(100),
|
|
562
|
+
x: "stretch",
|
|
563
|
+
y: "stretch",
|
|
564
|
+
provide: inputs.of.pipe(map((of) => [provided(StartingInputsKey, merged(of ?? {}, outer))]))
|
|
565
|
+
}, inputs.children.pipe(map((children) => children ?? [])));
|
|
566
|
+
}
|
|
567
|
+
/** `inner` with `outer` over it, input by input for a component both give one record. */
|
|
568
|
+
function merged(inner, outer) {
|
|
569
|
+
const out = { ...inner };
|
|
570
|
+
for (const [name, given] of Object.entries(outer)) {
|
|
571
|
+
const under = out[name];
|
|
572
|
+
out[name] = under !== void 0 && !Array.isArray(under) && !Array.isArray(given) ? {
|
|
573
|
+
...under,
|
|
574
|
+
...given
|
|
575
|
+
} : given;
|
|
576
|
+
}
|
|
577
|
+
return out;
|
|
578
|
+
}
|
|
579
|
+
//#endregion
|
|
412
580
|
//#region src/ComponentElement.ts
|
|
413
581
|
function isComponentElement(value) {
|
|
414
582
|
return typeof value === "object" && value !== null && value.kind === "component";
|
|
@@ -3588,6 +3756,10 @@ var WorkerApp = class {
|
|
|
3588
3756
|
setLeaveWarning(window, message.on);
|
|
3589
3757
|
return;
|
|
3590
3758
|
}
|
|
3759
|
+
if (message.type === "preferColorScheme") {
|
|
3760
|
+
this.setColorScheme(message.preference);
|
|
3761
|
+
return;
|
|
3762
|
+
}
|
|
3591
3763
|
if (message.type === "fullscreen") {
|
|
3592
3764
|
if (this.canvas !== void 0) setElementFullscreen(this.canvas, message.enter);
|
|
3593
3765
|
return;
|
|
@@ -4342,6 +4514,7 @@ var GessoApp = class {
|
|
|
4342
4514
|
},
|
|
4343
4515
|
dpr: devicePixelRatio()
|
|
4344
4516
|
});
|
|
4517
|
+
this.runtime.services.get(FrameService).setFlush(() => this.flushFrame());
|
|
4345
4518
|
const input = this.runtime.input;
|
|
4346
4519
|
this.adapter = new UiPlatformAdapter({
|
|
4347
4520
|
pointerController: input.pointer,
|
|
@@ -4349,6 +4522,14 @@ var GessoApp = class {
|
|
|
4349
4522
|
keyboardController: input.keyboard
|
|
4350
4523
|
});
|
|
4351
4524
|
}
|
|
4525
|
+
/** Runs a pending frame now: see `FrameService.flush`. */
|
|
4526
|
+
flushFrame() {
|
|
4527
|
+
if (this.framePending && this.clock !== void 0 && this.frameCallback !== void 0) {
|
|
4528
|
+
this.framePending = false;
|
|
4529
|
+
this.clock.cancelFrame();
|
|
4530
|
+
this.frameCallback(performance.now());
|
|
4531
|
+
}
|
|
4532
|
+
}
|
|
4352
4533
|
/**
|
|
4353
4534
|
* The running app, as the agent's screen tools need it: its semantics
|
|
4354
4535
|
* tree and focus, the mirror's actions, keys, and a way to run a
|
|
@@ -4364,13 +4545,7 @@ var GessoApp = class {
|
|
|
4364
4545
|
runtime.input.keyboard.keyDown(key, modifiers);
|
|
4365
4546
|
runtime.input.keyboard.keyUp(key, modifiers);
|
|
4366
4547
|
},
|
|
4367
|
-
flush: () =>
|
|
4368
|
-
if (this.framePending && this.clock !== void 0 && this.frameCallback !== void 0) {
|
|
4369
|
-
this.framePending = false;
|
|
4370
|
-
this.clock.cancelFrame();
|
|
4371
|
-
this.frameCallback(performance.now());
|
|
4372
|
-
}
|
|
4373
|
-
},
|
|
4548
|
+
flush: () => this.flushFrame(),
|
|
4374
4549
|
theme: (at) => runtime.themeAt(at),
|
|
4375
4550
|
render: (request) => renderModule(request, {
|
|
4376
4551
|
load: (path) => import(
|
|
@@ -4642,6 +4817,10 @@ var GessoApp = class {
|
|
|
4642
4817
|
else history.forward();
|
|
4643
4818
|
return;
|
|
4644
4819
|
}
|
|
4820
|
+
if (request.type === "colorScheme") {
|
|
4821
|
+
this.setColorScheme(request.preference);
|
|
4822
|
+
return;
|
|
4823
|
+
}
|
|
4645
4824
|
if (request.type === "openRoute") {
|
|
4646
4825
|
const view = isCanvasElement(this.canvas) ? this.canvas.ownerDocument.defaultView : null;
|
|
4647
4826
|
openRouteWith(this.onOpenRoute, request.url, view === null ? null : history, (address) => view?.open(address, "_blank", "noopener"), (url) => {
|
|
@@ -5828,7 +6007,7 @@ var RenderWorkerApp = class {
|
|
|
5828
6007
|
runtime.input.keyboard.keyDown(key, modifiers);
|
|
5829
6008
|
runtime.input.keyboard.keyUp(key, modifiers);
|
|
5830
6009
|
},
|
|
5831
|
-
flush: () => this.clock?.
|
|
6010
|
+
flush: () => this.clock?.flush(),
|
|
5832
6011
|
theme: (at) => runtime.themeAt(at),
|
|
5833
6012
|
designThemes: () => this.renderThemes(),
|
|
5834
6013
|
render: (request) => renderModule(request, {
|
|
@@ -5881,6 +6060,7 @@ var RenderWorkerApp = class {
|
|
|
5881
6060
|
}
|
|
5882
6061
|
const runtime = this.runtime;
|
|
5883
6062
|
if (runtime === void 0) return;
|
|
6063
|
+
if (message.type !== "wheel" && isInputMessage(message)) runtime.releaseWheel();
|
|
5884
6064
|
switch (message.type) {
|
|
5885
6065
|
case "pointerDown":
|
|
5886
6066
|
runtime.input.pointer.pointerDown(message.x, message.y, message.buttons, message.modifiers, message.pointer);
|
|
@@ -5895,7 +6075,7 @@ var RenderWorkerApp = class {
|
|
|
5895
6075
|
runtime.input.pointer.pointerCancel(message.pointer);
|
|
5896
6076
|
break;
|
|
5897
6077
|
case "wheel":
|
|
5898
|
-
runtime.
|
|
6078
|
+
runtime.wheel(message.x, message.y, message.deltaX, message.deltaY, message.modifiers, message.deltaMode, message.wheelDeltaY, message.at === void 0 ? void 0 : message.at - performance.timeOrigin);
|
|
5899
6079
|
break;
|
|
5900
6080
|
case "keyDown":
|
|
5901
6081
|
runtime.input.keyboard.keyDown(message.key, message.modifiers, message.textFollows, message.code);
|
|
@@ -6050,6 +6230,7 @@ var RenderWorkerApp = class {
|
|
|
6050
6230
|
height,
|
|
6051
6231
|
dpr
|
|
6052
6232
|
});
|
|
6233
|
+
this.runtime.services.get(FrameService).setFlush(() => this.clock?.flush());
|
|
6053
6234
|
this.runtime.deferPatchesFrom(this.channels.registry.all());
|
|
6054
6235
|
this.runtime.onInspect((report) => {
|
|
6055
6236
|
this.host.postMessage({
|
|
@@ -6124,6 +6305,10 @@ var RenderWorkerApp = class {
|
|
|
6124
6305
|
type: "leaveWarning",
|
|
6125
6306
|
on: request.on
|
|
6126
6307
|
});
|
|
6308
|
+
else if (request.type === "colorScheme") this.host.postMessage({
|
|
6309
|
+
type: "preferColorScheme",
|
|
6310
|
+
preference: request.preference
|
|
6311
|
+
});
|
|
6127
6312
|
else if (request.type === "popup") this.host.postMessage({
|
|
6128
6313
|
type: "popup",
|
|
6129
6314
|
id: request.id,
|
|
@@ -6200,6 +6385,6 @@ function locationOf(event) {
|
|
|
6200
6385
|
return `${event.filename}:${line}:${column}`;
|
|
6201
6386
|
}
|
|
6202
6387
|
//#endregion
|
|
6203
|
-
export { APPLICATION_WORKER, AnimationService, AudioService, AudioSink, BoundsCell, Channel, ChannelRegistry, ChannelReplica, Component, ComponentHost, ComponentHostResolver, ComputedCell, Define, Each, EditingProxy, EditingService, FanCell, FanOut, FindService, FocusService, FontService, FrameService, GessoApp, GessoAppBuilder, GessoRuntime, IndexedDbStorage, Inject, Input, InputCell, InspectionService, InternalState, MARK_PREFIX, MediaService, MemoryStorage, OpfsStorage, Output, OverlayLayer, OverlayService, PersistedState, Presence, ProvidedChannel, RenderWorkerApp, Resource, RouteState, RouterOutlet, RouterService, ScrollService, SemanticsMirror, ServiceRegistry, ShellService, ShellStorage, Show, TextService, ThemeTokenCell, UI_FRAME_PHASES, UI_ROLES, UI_SEMANTIC_STATES, UndoStack, WorkerApp, applyPatch, applyPatches, audioClock, bind, bounds, buildPath, channel, channelSchema, classifyStorageError, computed, controlled, createApp, createChannelRegistry, createComponent, createShellHistory, createSyncApp, debounced, defineChannel, derive, describeChannel, describeStream, diffProjection, each, fanOut, findUnplainPath, formatAge, formatNodePath, formatNodeReport, formatSourceLocation, formatStream, formatUrl, input, internalState, into, isChannelClientMessage, isChannelHostMessage, isClassComponent, isComponentElement, isHubMessage, isOutputTarget, isPortErrorMessage, isPortHandshake, markInstant, markNow, measureSpan, mutate, observeColorScheme, observeMediaQuery, observeReducedMotion, output, parseUrl, performShellStorage, performanceMarksEnabled, persisted, pick, pickKeys, portHandle, printPropValue, provide, registerUndoShortcuts, rememberedDirectory, renderFrame, renderRoot, requirePlainData, resource, route, select, serve, serveChannels, servePorts, setPerformanceMarks, shellStorageDenied, show, storageErrorMessage, storageReadFailure, storageReadValue, structurallyEqual, themeTokenCell, throttled, to, treeText, undoable, viewKeys, workerHandle, writeClipboard };
|
|
6388
|
+
export { APPLICATION_WORKER, AnimationService, AudioService, AudioSink, BoundsCell, Channel, ChannelRegistry, ChannelReplica, Component, ComponentHost, ComponentHostResolver, ComputedCell, Define, Each, EditingProxy, EditingService, FanCell, FanOut, FindService, FocusService, FontService, FrameService, GessoApp, GessoAppBuilder, GessoRuntime, IndexedDbStorage, Inject, Input, InputCell, InspectionService, InternalState, MARK_PREFIX, MediaService, MemoryStorage, OpfsStorage, Output, OverlayLayer, OverlayScope, OverlayScopeKey, OverlayService, PersistedState, Presence, ProvidedChannel, RenderWorkerApp, Resource, RouteState, RouterOutlet, RouterService, ScrollService, SemanticsMirror, ServiceRegistry, SharedValues, SharedValuesKey, ShellService, ShellStorage, Show, StartingInputs, StartingInputsKey, TextService, ThemeTokenCell, UI_FRAME_PHASES, UI_ROLES, UI_SEMANTIC_STATES, UndoStack, WorkerApp, applyPatch, applyPatches, audioClock, bind, bounds, buildPath, channel, channelSchema, classifyStorageError, computed, controlled, createApp, createChannelRegistry, createComponent, createShellHistory, createSyncApp, debounced, defineChannel, derive, describeChannel, describeStream, diffProjection, each, fanOut, findUnplainPath, formatAge, formatNodePath, formatNodeReport, formatSourceLocation, formatStream, formatUrl, input, internalState, into, isChannelClientMessage, isChannelHostMessage, isClassComponent, isComponentElement, isHubMessage, isOutputTarget, isPortErrorMessage, isPortHandshake, liveInput, markInstant, markNow, measureSpan, mutate, observeColorScheme, observeMediaQuery, observeReducedMotion, output, parseUrl, performShellStorage, performanceMarksEnabled, persisted, pick, pickKeys, portHandle, printPropValue, provide, registerUndoShortcuts, rememberedDirectory, renderFrame, renderRoot, requirePlainData, resource, route, select, serve, serveChannels, servePorts, setPerformanceMarks, sharedValue, shellStorageDenied, show, storageErrorMessage, storageReadFailure, storageReadValue, structurallyEqual, themeTokenCell, throttled, to, treeText, undoable, viewKeys, workerHandle, writeClipboard };
|
|
6204
6389
|
|
|
6205
6390
|
//# sourceMappingURL=index.js.map
|