@ankhorage/runtime 5.3.9 → 5.4.0

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @ankhorage/runtime
2
2
 
3
+ ## 5.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 83b83c2: Expose a platform-neutral authoring overlay adapter for component identity, selection, bounds, gesture arbitration, and edit-mode action suppression.
8
+
9
+ ## 5.3.10
10
+
11
+ ### Patch Changes
12
+
13
+ - bcacda0: Update dependencies: `@ankhorage/data-sources`.
14
+
3
15
  ## 5.3.9
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # @ankhorage/runtime
5
5
 
6
- ![license: MIT](./paradox/badges/license.svg) ![npm: v5.3.9](./paradox/badges/npm.svg) ![runtime: bun](./paradox/badges/runtime.svg) ![typescript: strict](./paradox/badges/typescript.svg) ![eslint: checked](./paradox/badges/eslint.svg) ![prettier: checked](./paradox/badges/prettier.svg) ![build: checked](./paradox/badges/build.svg) ![tests: checked](./paradox/badges/tests.svg) ![paradox: warnings](./paradox/badges/docs.svg)
6
+ ![license: MIT](./paradox/badges/license.svg) ![npm: v5.4.0](./paradox/badges/npm.svg) ![runtime: bun](./paradox/badges/runtime.svg) ![typescript: strict](./paradox/badges/typescript.svg) ![eslint: checked](./paradox/badges/eslint.svg) ![prettier: checked](./paradox/badges/prettier.svg) ![build: checked](./paradox/badges/build.svg) ![tests: checked](./paradox/badges/tests.svg) ![paradox: warnings](./paradox/badges/docs.svg)
7
7
 
8
8
  Platform-neutral runtime renderer, contracts, and helpers for Ankhorage generated apps.
9
9
 
package/dist/index.d.ts CHANGED
@@ -7,6 +7,8 @@ export type { RuntimeActionRegistry, RuntimeActionResolutionArgs, RuntimeActionR
7
7
  export { createComponentEventFromHandlerArgs, createRuntimeActionRegistry, dispatchRuntimeComponentEvent, resolveRuntimeActionValue, wrapRuntimeEventProps, } from './runtimeActionRegistry';
8
8
  export type { RuntimeApiCapabilityExecutorOptions } from './runtimeApiCapabilities';
9
9
  export { createRuntimeApiCapabilityExecutor } from './runtimeApiCapabilities';
10
+ export type { RuntimeAuthoringBounds, RuntimeAuthoringComponentIdentity, RuntimeAuthoringGestureDisposition, RuntimeAuthoringMode, RuntimeAuthoringOverlayAdapter, RuntimeAuthoringOverlayNodeArgs, } from './runtimeAuthoringOverlay';
11
+ export { createRuntimeAuthoringOverlayConfig } from './runtimeAuthoringOverlay';
10
12
  export type { RuntimeBindingResolutionArgs, RuntimeBindingResolutionContext, RuntimeBindingResolutionResult, RuntimeBindingResultCache, RuntimeBindingResultWriter, RuntimeCapabilityExecutionArgs, RuntimeCapabilityExecutionResult, RuntimeCapabilityExecutor, } from './runtimeBindings';
11
13
  export { applyRuntimeBindingDataPath, executeRuntimeBindingInvocation, resolveBindingInputMap, resolveBindingInputMapSync, resolveRuntimeBindingExpression, resolveRuntimeBindingExpressionSync, resolveRuntimeBindings, resolveRuntimeBindingsAsync, resolveRuntimeBindingValue, resolveRuntimeBindingValueSync, } from './runtimeBindings';
12
14
  export type { RuntimeCapabilityExecutorComposition } from './runtimeCapabilityExecutor';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,0BAA0B,EAC1B,kCAAkC,GACnC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AACrD,YAAY,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,4BA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ACvB,wBAAwB,EACxB,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,yBAAyB,EACzB,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,EAC9B,0BAA0B,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,6BAA6B,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mCAAmC,EAAE,MAAM,2BAA2B,CAAC;AAChF,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EACV,2CAA2C,EAC3C,iCAAiC,GAClC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,8CAA8C,EAC9C,mCAAmC,EACnC,kDAAkD,EAClD,oCAAoC,EACpC,6BAA6B,EAC7B,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC"}
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@ export { ManifestContext, ManifestProvider, useManifest, useManifestContext, use
3
3
  export { createComponentRegistry } from './registry';
4
4
  export { createComponentEventFromHandlerArgs, createRuntimeActionRegistry, dispatchRuntimeComponentEvent, resolveRuntimeActionValue, wrapRuntimeEventProps, } from './runtimeActionRegistry';
5
5
  export { createRuntimeApiCapabilityExecutor } from './runtimeApiCapabilities';
6
+ export { createRuntimeAuthoringOverlayConfig } from './runtimeAuthoringOverlay';
6
7
  export { applyRuntimeBindingDataPath, executeRuntimeBindingInvocation, resolveBindingInputMap, resolveBindingInputMapSync, resolveRuntimeBindingExpression, resolveRuntimeBindingExpressionSync, resolveRuntimeBindings, resolveRuntimeBindingsAsync, resolveRuntimeBindingValue, resolveRuntimeBindingValueSync, } from './runtimeBindings';
7
8
  export { composeRuntimeCapabilityExecutor } from './runtimeCapabilityExecutor';
8
9
  export { dispatchRuntimeComponentEventWithReporting, } from './runtimeEventExecution';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AASrD,OAAO,EACL,mCAAmC,EACnC,2BAA2B,EAC3B,6BAA6B,EAC7B,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AAW9E,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,EAC/B,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,mCAAmC,EACnC,sBAAsB,EACtB,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gCAAgC,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EACL,0CAA0C,GAE3C,MAAM,yBAAyB,CAAC;AAOjC,OAAO,EACL,yCAAyC,EACzC,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,GACzC,MAAM,kCAAkC,CAAC;AAgB1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,EAC9B,0BAA0B,EAG1B,6BAA6B,EAG7B,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mCAAmC,EAAE,MAAM,2BAA2B,CAAC;AAEhF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,OAAO,EACL,8CAA8C,EAC9C,mCAAmC,EACnC,kDAAkD,EAClD,oCAAoC,EACpC,6BAA6B,EAC7B,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["export type {\n RuntimeContextCapabilityId,\n RuntimeContextCapabilityResolution,\n} from './capabilities/resolveRuntimeContextCapability';\nexport {\n isRuntimeContextCapabilityOutputPath,\n resolveRuntimeContextCapability,\n} from './capabilities/resolveRuntimeContextCapability';\nexport {\n ManifestContext,\n ManifestProvider,\n useManifest,\n useManifestContext,\n useOptionalManifestContext,\n} from './ManifestContext';\nexport type { ComponentRegistry } from './registry';\nexport { createComponentRegistry } from './registry';\nexport type {\n RuntimeActionRegistry,\n RuntimeActionResolutionArgs,\n RuntimeActionResolutionScope,\n RuntimeComponentEventDispatchArgs,\n RuntimeEventCapabilityResolver,\n RuntimeEventPropWrapArgs,\n} from './runtimeActionRegistry';\nexport {\n createComponentEventFromHandlerArgs,\n createRuntimeActionRegistry,\n dispatchRuntimeComponentEvent,\n resolveRuntimeActionValue,\n wrapRuntimeEventProps,\n} from './runtimeActionRegistry';\nexport type { RuntimeApiCapabilityExecutorOptions } from './runtimeApiCapabilities';\nexport { createRuntimeApiCapabilityExecutor } from './runtimeApiCapabilities';\nexport type {\n RuntimeBindingResolutionArgs,\n RuntimeBindingResolutionContext,\n RuntimeBindingResolutionResult,\n RuntimeBindingResultCache,\n RuntimeBindingResultWriter,\n RuntimeCapabilityExecutionArgs,\n RuntimeCapabilityExecutionResult,\n RuntimeCapabilityExecutor,\n} from './runtimeBindings';\nexport {\n applyRuntimeBindingDataPath,\n executeRuntimeBindingInvocation,\n resolveBindingInputMap,\n resolveBindingInputMapSync,\n resolveRuntimeBindingExpression,\n resolveRuntimeBindingExpressionSync,\n resolveRuntimeBindings,\n resolveRuntimeBindingsAsync,\n resolveRuntimeBindingValue,\n resolveRuntimeBindingValueSync,\n} from './runtimeBindings';\nexport type { RuntimeCapabilityExecutorComposition } from './runtimeCapabilityExecutor';\nexport { composeRuntimeCapabilityExecutor } from './runtimeCapabilityExecutor';\nexport {\n dispatchRuntimeComponentEventWithReporting,\n type RuntimeEventDiagnosticsReporter,\n} from './runtimeEventExecution';\nexport type {\n RuntimeEventOperationInvocation,\n RuntimeEventOperationLifecycle,\n RuntimeEventOperationState,\n RuntimeEventOperationStatus,\n} from './runtimeEventOperationLifecycle';\nexport {\n createRuntimeEventOperationBindingContext,\n createRuntimeEventOperationLifecycle,\n IDLE_RUNTIME_EVENT_OPERATION_STATE,\n resolveRuntimeEventOperationErrorMessage,\n} from './runtimeEventOperationLifecycle';\nexport type {\n RuntimeActionDescriptor,\n RuntimeAdapterDescriptor,\n RuntimeBindingDescriptor,\n RuntimeDiagnostic,\n RuntimeManifest,\n RuntimeManifestConfig,\n RuntimeManifestInput,\n} from './runtimeManifest';\nexport type {\n RuntimeMediaAssetResolver,\n RuntimeMediaAssetResolverArgs,\n RuntimeResolvedMediaValue,\n} from './runtimeMedia';\nexport type { RuntimeRendererProps } from './RuntimeRenderer';\nexport { RuntimeRenderer } from './RuntimeRenderer';\nexport {\n composeRuntimeNodePropsResolver,\n composeRuntimeRendererWrapNode,\n mergeRuntimeRendererConfig,\n type RuntimeNodePropsResolver,\n type RuntimeRendererConfig,\n RuntimeRendererConfigProvider,\n type RuntimeRendererWrapArgs,\n type RuntimeResolveNodePropsArgs,\n useRuntimeRendererConfig,\n} from './RuntimeRendererConfig';\nexport { shouldRenderRuntimeRepeatEmptyState } from './runtimeRepeatEmptyState';\nexport type { RuntimeScreenProps } from './RuntimeScreen';\nexport { RuntimeScreen } from './RuntimeScreen';\nexport type {\n RuntimeScreenOperationLoaderExecutionResult,\n RuntimeScreenOperationLoaderState,\n} from './runtimeScreenLoaders';\nexport {\n createPendingRuntimeScreenOperationLoaderState,\n createRuntimeScreenLoaderRequestKey,\n createRuntimeScreenOperationLoaderRequestLifecycle,\n executeRuntimeScreenOperationLoaders,\n resolveScreenOperationLoaders,\n useRuntimeScreenOperationLoaders,\n} from './runtimeScreenLoaders';\nexport type { RuntimeMemoryStateAdapterOptions } from './runtimeStateAdapter';\nexport { createRuntimeMemoryStateAdapter } from './runtimeStateAdapter';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AASrD,OAAO,EACL,mCAAmC,EACnC,2BAA2B,EAC3B,6BAA6B,EAC7B,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AAS9E,OAAO,EAAE,mCAAmC,EAAE,MAAM,2BAA2B,CAAC;AAWhF,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,EAC/B,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,mCAAmC,EACnC,sBAAsB,EACtB,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gCAAgC,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EACL,0CAA0C,GAE3C,MAAM,yBAAyB,CAAC;AAOjC,OAAO,EACL,yCAAyC,EACzC,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,GACzC,MAAM,kCAAkC,CAAC;AAgB1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,EAC9B,0BAA0B,EAG1B,6BAA6B,EAG7B,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mCAAmC,EAAE,MAAM,2BAA2B,CAAC;AAEhF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,OAAO,EACL,8CAA8C,EAC9C,mCAAmC,EACnC,kDAAkD,EAClD,oCAAoC,EACpC,6BAA6B,EAC7B,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["export type {\n RuntimeContextCapabilityId,\n RuntimeContextCapabilityResolution,\n} from './capabilities/resolveRuntimeContextCapability';\nexport {\n isRuntimeContextCapabilityOutputPath,\n resolveRuntimeContextCapability,\n} from './capabilities/resolveRuntimeContextCapability';\nexport {\n ManifestContext,\n ManifestProvider,\n useManifest,\n useManifestContext,\n useOptionalManifestContext,\n} from './ManifestContext';\nexport type { ComponentRegistry } from './registry';\nexport { createComponentRegistry } from './registry';\nexport type {\n RuntimeActionRegistry,\n RuntimeActionResolutionArgs,\n RuntimeActionResolutionScope,\n RuntimeComponentEventDispatchArgs,\n RuntimeEventCapabilityResolver,\n RuntimeEventPropWrapArgs,\n} from './runtimeActionRegistry';\nexport {\n createComponentEventFromHandlerArgs,\n createRuntimeActionRegistry,\n dispatchRuntimeComponentEvent,\n resolveRuntimeActionValue,\n wrapRuntimeEventProps,\n} from './runtimeActionRegistry';\nexport type { RuntimeApiCapabilityExecutorOptions } from './runtimeApiCapabilities';\nexport { createRuntimeApiCapabilityExecutor } from './runtimeApiCapabilities';\nexport type {\n RuntimeAuthoringBounds,\n RuntimeAuthoringComponentIdentity,\n RuntimeAuthoringGestureDisposition,\n RuntimeAuthoringMode,\n RuntimeAuthoringOverlayAdapter,\n RuntimeAuthoringOverlayNodeArgs,\n} from './runtimeAuthoringOverlay';\nexport { createRuntimeAuthoringOverlayConfig } from './runtimeAuthoringOverlay';\nexport type {\n RuntimeBindingResolutionArgs,\n RuntimeBindingResolutionContext,\n RuntimeBindingResolutionResult,\n RuntimeBindingResultCache,\n RuntimeBindingResultWriter,\n RuntimeCapabilityExecutionArgs,\n RuntimeCapabilityExecutionResult,\n RuntimeCapabilityExecutor,\n} from './runtimeBindings';\nexport {\n applyRuntimeBindingDataPath,\n executeRuntimeBindingInvocation,\n resolveBindingInputMap,\n resolveBindingInputMapSync,\n resolveRuntimeBindingExpression,\n resolveRuntimeBindingExpressionSync,\n resolveRuntimeBindings,\n resolveRuntimeBindingsAsync,\n resolveRuntimeBindingValue,\n resolveRuntimeBindingValueSync,\n} from './runtimeBindings';\nexport type { RuntimeCapabilityExecutorComposition } from './runtimeCapabilityExecutor';\nexport { composeRuntimeCapabilityExecutor } from './runtimeCapabilityExecutor';\nexport {\n dispatchRuntimeComponentEventWithReporting,\n type RuntimeEventDiagnosticsReporter,\n} from './runtimeEventExecution';\nexport type {\n RuntimeEventOperationInvocation,\n RuntimeEventOperationLifecycle,\n RuntimeEventOperationState,\n RuntimeEventOperationStatus,\n} from './runtimeEventOperationLifecycle';\nexport {\n createRuntimeEventOperationBindingContext,\n createRuntimeEventOperationLifecycle,\n IDLE_RUNTIME_EVENT_OPERATION_STATE,\n resolveRuntimeEventOperationErrorMessage,\n} from './runtimeEventOperationLifecycle';\nexport type {\n RuntimeActionDescriptor,\n RuntimeAdapterDescriptor,\n RuntimeBindingDescriptor,\n RuntimeDiagnostic,\n RuntimeManifest,\n RuntimeManifestConfig,\n RuntimeManifestInput,\n} from './runtimeManifest';\nexport type {\n RuntimeMediaAssetResolver,\n RuntimeMediaAssetResolverArgs,\n RuntimeResolvedMediaValue,\n} from './runtimeMedia';\nexport type { RuntimeRendererProps } from './RuntimeRenderer';\nexport { RuntimeRenderer } from './RuntimeRenderer';\nexport {\n composeRuntimeNodePropsResolver,\n composeRuntimeRendererWrapNode,\n mergeRuntimeRendererConfig,\n type RuntimeNodePropsResolver,\n type RuntimeRendererConfig,\n RuntimeRendererConfigProvider,\n type RuntimeRendererWrapArgs,\n type RuntimeResolveNodePropsArgs,\n useRuntimeRendererConfig,\n} from './RuntimeRendererConfig';\nexport { shouldRenderRuntimeRepeatEmptyState } from './runtimeRepeatEmptyState';\nexport type { RuntimeScreenProps } from './RuntimeScreen';\nexport { RuntimeScreen } from './RuntimeScreen';\nexport type {\n RuntimeScreenOperationLoaderExecutionResult,\n RuntimeScreenOperationLoaderState,\n} from './runtimeScreenLoaders';\nexport {\n createPendingRuntimeScreenOperationLoaderState,\n createRuntimeScreenLoaderRequestKey,\n createRuntimeScreenOperationLoaderRequestLifecycle,\n executeRuntimeScreenOperationLoaders,\n resolveScreenOperationLoaders,\n useRuntimeScreenOperationLoaders,\n} from './runtimeScreenLoaders';\nexport type { RuntimeMemoryStateAdapterOptions } from './runtimeStateAdapter';\nexport { createRuntimeMemoryStateAdapter } from './runtimeStateAdapter';\n"]}
@@ -0,0 +1,38 @@
1
+ import type { UiNode } from '@ankhorage/contracts';
2
+ import type React from 'react';
3
+ import type { RuntimeRendererConfig, RuntimeRendererWrapArgs } from './RuntimeRendererConfig';
4
+ export type RuntimeAuthoringMode = 'edit' | 'preview';
5
+ export interface RuntimeAuthoringBounds {
6
+ readonly x: number;
7
+ readonly y: number;
8
+ readonly width: number;
9
+ readonly height: number;
10
+ }
11
+ export type RuntimeAuthoringGestureDisposition = 'pass-through' | 'select' | 'drag';
12
+ export interface RuntimeAuthoringComponentIdentity {
13
+ readonly componentId: string;
14
+ readonly node: UiNode;
15
+ }
16
+ export interface RuntimeAuthoringOverlayNodeArgs extends RuntimeRendererWrapArgs {
17
+ readonly component: RuntimeAuthoringComponentIdentity;
18
+ readonly reportBounds: (bounds: RuntimeAuthoringBounds) => void;
19
+ readonly select: (input: unknown) => boolean;
20
+ readonly arbitrateGesture: (input: unknown) => RuntimeAuthoringGestureDisposition;
21
+ }
22
+ export interface RuntimeAuthoringOverlayAdapter {
23
+ readonly mode: RuntimeAuthoringMode;
24
+ readonly getComponentId: (node: UiNode) => string | undefined;
25
+ readonly wrapNode: (args: RuntimeAuthoringOverlayNodeArgs) => React.ReactNode;
26
+ readonly hitTest?: (args: RuntimeAuthoringComponentIdentity & {
27
+ readonly input: unknown;
28
+ }) => boolean;
29
+ readonly onBounds?: (args: RuntimeAuthoringComponentIdentity & {
30
+ readonly bounds: RuntimeAuthoringBounds;
31
+ }) => void;
32
+ readonly arbitrateGesture?: (args: RuntimeAuthoringComponentIdentity & {
33
+ readonly input: unknown;
34
+ }) => RuntimeAuthoringGestureDisposition;
35
+ }
36
+ /*** Creates the renderer configuration that connects a host authoring overlay without importing its UI toolkit. */
37
+ export declare function createRuntimeAuthoringOverlayConfig(adapter: RuntimeAuthoringOverlayAdapter): Pick<RuntimeRendererConfig, 'disableActions' | 'wrapNode'>;
38
+ //# sourceMappingURL=runtimeAuthoringOverlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtimeAuthoringOverlay.d.ts","sourceRoot":"","sources":["../src/runtimeAuthoringOverlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAE9F,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,SAAS,CAAC;AAEtD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;I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C;AAED,mHAAmH;AACnH,wBAAgB,mCAAmC,CACjD,OAAO,EAAE,8BAA8B,GACtC,IAAI,CAAC,qBAAqB,EAAE,gBAAgB,GAAG,UAAU,CAAC,CAK5D"}
@@ -0,0 +1,23 @@
1
+ /*** Creates the renderer configuration that connects a host authoring overlay without importing its UI toolkit. */
2
+ export function createRuntimeAuthoringOverlayConfig(adapter) {
3
+ return {
4
+ ...(adapter.mode === 'edit' ? { disableActions: true } : {}),
5
+ wrapNode: (args) => wrapRuntimeAuthoringOverlayNode(adapter, args),
6
+ };
7
+ }
8
+ /*** Delivers stable component identity and host callbacks to a concrete overlay wrapper when the node has an identity. */
9
+ function wrapRuntimeAuthoringOverlayNode(adapter, args) {
10
+ const componentId = adapter.getComponentId(args.node);
11
+ if (!componentId) {
12
+ return args.rendered;
13
+ }
14
+ const component = { componentId, node: args.node };
15
+ return adapter.wrapNode({
16
+ ...args,
17
+ component,
18
+ reportBounds: (bounds) => adapter.onBounds?.({ ...component, bounds }),
19
+ select: (input) => adapter.hitTest?.({ ...component, input }) ?? false,
20
+ arbitrateGesture: (input) => adapter.arbitrateGesture?.({ ...component, input }) ?? 'pass-through',
21
+ });
22
+ }
23
+ //# sourceMappingURL=runtimeAuthoringOverlay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtimeAuthoringOverlay.js","sourceRoot":"","sources":["../src/runtimeAuthoringOverlay.ts"],"names":[],"mappings":"AA2CA,mHAAmH;AACnH,MAAM,UAAU,mCAAmC,CACjD,OAAuC;IAEvC,OAAO;QACL,GAAG,CAAC,OAAO,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5D,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,+BAA+B,CAAC,OAAO,EAAE,IAAI,CAAC;KACnE,CAAC;AACJ,CAAC;AAED,0HAA0H;AAC1H,SAAS,+BAA+B,CACtC,OAAuC,EACvC,IAA6B;IAE7B,MAAM,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtD,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,MAAM,SAAS,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACnD,OAAO,OAAO,CAAC,QAAQ,CAAC;QACtB,GAAG,IAAI;QACP,SAAS;QACT,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,EAAE,GAAG,SAAS,EAAE,MAAM,EAAE,CAAC;QACtE,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,EAAE,GAAG,SAAS,EAAE,KAAK,EAAE,CAAC,IAAI,KAAK;QACtE,gBAAgB,EAAE,CAAC,KAAK,EAAE,EAAE,CAC1B,OAAO,CAAC,gBAAgB,EAAE,CAAC,EAAE,GAAG,SAAS,EAAE,KAAK,EAAE,CAAC,IAAI,cAAc;KACxE,CAAC,CAAC;AACL,CAAC","sourcesContent":["import type { UiNode } from '@ankhorage/contracts';\nimport type React from 'react';\n\nimport type { RuntimeRendererConfig, RuntimeRendererWrapArgs } from './RuntimeRendererConfig';\n\nexport type RuntimeAuthoringMode = 'edit' | 'preview';\n\nexport interface RuntimeAuthoringBounds {\n readonly x: number;\n readonly y: number;\n readonly width: number;\n readonly height: number;\n}\n\nexport type RuntimeAuthoringGestureDisposition = 'pass-through' | 'select' | 'drag';\n\nexport interface RuntimeAuthoringComponentIdentity {\n readonly componentId: string;\n readonly node: UiNode;\n}\n\nexport interface RuntimeAuthoringOverlayNodeArgs extends RuntimeRendererWrapArgs {\n readonly component: RuntimeAuthoringComponentIdentity;\n readonly reportBounds: (bounds: RuntimeAuthoringBounds) => void;\n readonly select: (input: unknown) => boolean;\n readonly arbitrateGesture: (input: unknown) => RuntimeAuthoringGestureDisposition;\n}\n\nexport interface RuntimeAuthoringOverlayAdapter {\n readonly mode: RuntimeAuthoringMode;\n readonly getComponentId: (node: UiNode) => string | undefined;\n readonly wrapNode: (args: RuntimeAuthoringOverlayNodeArgs) => React.ReactNode;\n readonly hitTest?: (\n args: RuntimeAuthoringComponentIdentity & { readonly input: unknown },\n ) => boolean;\n readonly onBounds?: (\n args: RuntimeAuthoringComponentIdentity & { readonly bounds: RuntimeAuthoringBounds },\n ) => void;\n readonly arbitrateGesture?: (\n args: RuntimeAuthoringComponentIdentity & { readonly input: unknown },\n ) => RuntimeAuthoringGestureDisposition;\n}\n\n/*** Creates the renderer configuration that connects a host authoring overlay without importing its UI toolkit. */\nexport function createRuntimeAuthoringOverlayConfig(\n adapter: RuntimeAuthoringOverlayAdapter,\n): Pick<RuntimeRendererConfig, 'disableActions' | 'wrapNode'> {\n return {\n ...(adapter.mode === 'edit' ? { disableActions: true } : {}),\n wrapNode: (args) => wrapRuntimeAuthoringOverlayNode(adapter, args),\n };\n}\n\n/*** Delivers stable component identity and host callbacks to a concrete overlay wrapper when the node has an identity. */\nfunction wrapRuntimeAuthoringOverlayNode(\n adapter: RuntimeAuthoringOverlayAdapter,\n args: RuntimeRendererWrapArgs,\n): React.ReactNode {\n const componentId = adapter.getComponentId(args.node);\n if (!componentId) {\n return args.rendered;\n }\n\n const component = { componentId, node: args.node };\n return adapter.wrapNode({\n ...args,\n component,\n reportBounds: (bounds) => adapter.onBounds?.({ ...component, bounds }),\n select: (input) => adapter.hitTest?.({ ...component, input }) ?? false,\n arbitrateGesture: (input) =>\n adapter.arbitrateGesture?.({ ...component, input }) ?? 'pass-through',\n });\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/runtime",
3
- "version": "5.3.9",
3
+ "version": "5.4.0",
4
4
  "description": "Platform-neutral runtime renderer, contracts, and helpers for Ankhorage generated apps.",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -344,7 +344,7 @@
344
344
  "dependencies": {
345
345
  "@ankhorage/capability": "^0.2.2",
346
346
  "@ankhorage/contracts": "^26.10.0",
347
- "@ankhorage/data-sources": "^2.1.12",
347
+ "@ankhorage/data-sources": "^2.1.13",
348
348
  "@ankhorage/utility": "^1.10.0"
349
349
  },
350
350
  "peerDependencies": {
@@ -1,7 +1,7 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="90" height="20" role="img" aria-label="npm: v5.3.9">
2
- <title>npm: v5.3.9</title>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="90" height="20" role="img" aria-label="npm: v5.4.0">
2
+ <title>npm: v5.4.0</title>
3
3
  <rect width="38" height="20" fill="#374151"/>
4
4
  <rect x="38" width="52" height="20" fill="#cb3837"/>
5
5
  <text x="19" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">npm</text>
6
- <text x="64" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">v5.3.9</text>
6
+ <text x="64" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">v5.4.0</text>
7
7
  </svg>
@@ -46,6 +46,13 @@ graph TD
46
46
  module_src_runtimeApiCapabilities_ts["src/runtimeApiCapabilities.ts"]
47
47
  package__ankhorage_runtime -.-> module_src_runtimeApiCapabilities_ts
48
48
  module_src_runtimeApiCapabilities_ts --> module_src_runtimeBindings_ts
49
+ module_src_runtimeAuthoringOverlay_test_ts["src/runtimeAuthoringOverlay.test.ts"]
50
+ package__ankhorage_runtime -.-> module_src_runtimeAuthoringOverlay_test_ts
51
+ module_src_runtimeAuthoringOverlay_test_ts --> module_src_runtimeAuthoringOverlay_ts
52
+ module_src_runtimeAuthoringOverlay_test_ts --> module_src_RuntimeRendererConfig_tsx
53
+ module_src_runtimeAuthoringOverlay_ts["src/runtimeAuthoringOverlay.ts"]
54
+ package__ankhorage_runtime -.-> module_src_runtimeAuthoringOverlay_ts
55
+ module_src_runtimeAuthoringOverlay_ts --> module_src_RuntimeRendererConfig_tsx
49
56
  module_src_runtimeBindings_contracts26_test_ts["src/runtimeBindings.contracts26.test.ts"]
50
57
  package__ankhorage_runtime -.-> module_src_runtimeBindings_contracts26_test_ts
51
58
  module_src_runtimeBindings_contracts26_test_ts --> module_src_runtimeActionRegistry_ts
@@ -15,6 +15,8 @@ graph LR
15
15
  module_src_runtimeActionRegistry_test_ts["src/runtimeActionRegistry.test.ts"]
16
16
  module_src_runtimeActionRegistry_ts["src/runtimeActionRegistry.ts"]
17
17
  module_src_runtimeApiCapabilities_ts["src/runtimeApiCapabilities.ts"]
18
+ module_src_runtimeAuthoringOverlay_test_ts["src/runtimeAuthoringOverlay.test.ts"]
19
+ module_src_runtimeAuthoringOverlay_ts["src/runtimeAuthoringOverlay.ts"]
18
20
  module_src_runtimeBindings_contracts26_test_ts["src/runtimeBindings.contracts26.test.ts"]
19
21
  module_src_runtimeBindings_ts["src/runtimeBindings.ts"]
20
22
  module_src_runtimeCapabilityExecutor_test_ts["src/runtimeCapabilityExecutor.test.ts"]
@@ -77,6 +79,10 @@ graph LR
77
79
  module_src_runtimeApiCapabilities_ts --> export_createRuntimeApiCapabilityExecutor
78
80
  export_createRuntimeApiCapabilityExecutor -.-> export_RuntimeApiCapabilityExecutorOptions
79
81
  export_createRuntimeApiCapabilityExecutor -.-> export_RuntimeCapabilityExecutor
82
+ export_createRuntimeAuthoringOverlayConfig["createRuntimeAuthoringOverlayConfig"]
83
+ module_src_runtimeAuthoringOverlay_ts --> export_createRuntimeAuthoringOverlayConfig
84
+ export_createRuntimeAuthoringOverlayConfig -.-> export_RuntimeAuthoringOverlayAdapter
85
+ export_createRuntimeAuthoringOverlayConfig -.-> export_RuntimeRendererConfig
80
86
  export_createRuntimeEventOperationBindingContext["createRuntimeEventOperationBindingContext"]
81
87
  module_src_runtimeEventOperationLifecycle_ts --> export_createRuntimeEventOperationBindingContext
82
88
  export_createRuntimeEventOperationBindingContext -.-> export_RuntimeEventOperationState
@@ -169,6 +175,26 @@ graph LR
169
175
  module_src_runtimeManifest_ts --> export_RuntimeAdapterDescriptor
170
176
  export_RuntimeApiCapabilityExecutorOptions["RuntimeApiCapabilityExecutorOptions"]
171
177
  module_src_runtimeApiCapabilities_ts --> export_RuntimeApiCapabilityExecutorOptions
178
+ export_RuntimeAuthoringBounds["RuntimeAuthoringBounds"]
179
+ module_src_runtimeAuthoringOverlay_ts --> export_RuntimeAuthoringBounds
180
+ export_RuntimeAuthoringComponentIdentity["RuntimeAuthoringComponentIdentity"]
181
+ module_src_runtimeAuthoringOverlay_ts --> export_RuntimeAuthoringComponentIdentity
182
+ export_RuntimeAuthoringGestureDisposition["RuntimeAuthoringGestureDisposition"]
183
+ module_src_runtimeAuthoringOverlay_ts --> export_RuntimeAuthoringGestureDisposition
184
+ export_RuntimeAuthoringMode["RuntimeAuthoringMode"]
185
+ module_src_runtimeAuthoringOverlay_ts --> export_RuntimeAuthoringMode
186
+ export_RuntimeAuthoringOverlayAdapter["RuntimeAuthoringOverlayAdapter"]
187
+ module_src_runtimeAuthoringOverlay_ts --> export_RuntimeAuthoringOverlayAdapter
188
+ export_RuntimeAuthoringOverlayAdapter -.-> export_RuntimeAuthoringBounds
189
+ export_RuntimeAuthoringOverlayAdapter -.-> export_RuntimeAuthoringComponentIdentity
190
+ export_RuntimeAuthoringOverlayAdapter -.-> export_RuntimeAuthoringGestureDisposition
191
+ export_RuntimeAuthoringOverlayAdapter -.-> export_RuntimeAuthoringMode
192
+ export_RuntimeAuthoringOverlayAdapter -.-> export_RuntimeAuthoringOverlayNodeArgs
193
+ export_RuntimeAuthoringOverlayNodeArgs["RuntimeAuthoringOverlayNodeArgs"]
194
+ module_src_runtimeAuthoringOverlay_ts --> export_RuntimeAuthoringOverlayNodeArgs
195
+ export_RuntimeAuthoringOverlayNodeArgs -.-> export_RuntimeAuthoringBounds
196
+ export_RuntimeAuthoringOverlayNodeArgs -.-> export_RuntimeAuthoringComponentIdentity
197
+ export_RuntimeAuthoringOverlayNodeArgs -.-> export_RuntimeAuthoringGestureDisposition
172
198
  export_RuntimeBindingDescriptor["RuntimeBindingDescriptor"]
173
199
  module_src_runtimeManifest_ts --> export_RuntimeBindingDescriptor
174
200
  export_RuntimeBindingResolutionArgs["RuntimeBindingResolutionArgs"]
@@ -15,6 +15,8 @@ graph LR
15
15
  module_src_runtimeActionRegistry_test_ts["src/runtimeActionRegistry.test.ts"]
16
16
  module_src_runtimeActionRegistry_ts["src/runtimeActionRegistry.ts"]
17
17
  module_src_runtimeApiCapabilities_ts["src/runtimeApiCapabilities.ts"]
18
+ module_src_runtimeAuthoringOverlay_test_ts["src/runtimeAuthoringOverlay.test.ts"]
19
+ module_src_runtimeAuthoringOverlay_ts["src/runtimeAuthoringOverlay.ts"]
18
20
  module_src_runtimeBindings_contracts26_test_ts["src/runtimeBindings.contracts26.test.ts"]
19
21
  module_src_runtimeBindings_ts["src/runtimeBindings.ts"]
20
22
  module_src_runtimeCapabilityExecutor_test_ts["src/runtimeCapabilityExecutor.test.ts"]
@@ -61,6 +63,9 @@ graph LR
61
63
  module_src_runtimeActionRegistry_ts --> module_src_runtimeBindings_ts
62
64
  module_src_runtimeActionRegistry_ts --> module_src_runtimeEventOperationLifecycle_ts
63
65
  module_src_runtimeApiCapabilities_ts --> module_src_runtimeBindings_ts
66
+ module_src_runtimeAuthoringOverlay_test_ts --> module_src_runtimeAuthoringOverlay_ts
67
+ module_src_runtimeAuthoringOverlay_test_ts --> module_src_RuntimeRendererConfig_tsx
68
+ module_src_runtimeAuthoringOverlay_ts --> module_src_RuntimeRendererConfig_tsx
64
69
  module_src_runtimeBindings_contracts26_test_ts --> module_src_runtimeActionRegistry_ts
65
70
  module_src_runtimeBindings_contracts26_test_ts --> module_src_runtimeBindings_ts
66
71
  module_src_runtimeBindings_contracts26_test_ts --> module_src_runtimeRepeat_ts
@@ -378,6 +378,45 @@
378
378
  "members": [],
379
379
  "structuredRows": []
380
380
  },
381
+ {
382
+ "name": "createRuntimeAuthoringOverlayConfig",
383
+ "title": null,
384
+ "description": "Creates the renderer configuration that connects a host authoring overlay without importing its UI toolkit.",
385
+ "isReadme": false,
386
+ "see": [],
387
+ "security": [],
388
+ "kind": "function",
389
+ "modulePath": "src/runtimeAuthoringOverlay.ts",
390
+ "sourceLocation": {
391
+ "filePath": "src/runtimeAuthoringOverlay.ts",
392
+ "line": 45,
393
+ "column": 1
394
+ },
395
+ "exportPaths": [
396
+ "src/index.ts"
397
+ ],
398
+ "relatedSymbols": [
399
+ "RuntimeAuthoringOverlayAdapter",
400
+ "RuntimeRendererConfig"
401
+ ],
402
+ "signatures": [
403
+ {
404
+ "label": "(adapter: RuntimeAuthoringOverlayAdapter) => Pick<RuntimeRendererConfig, \"disableActions\" | \"wrapNode\">",
405
+ "parameters": [
406
+ {
407
+ "name": "adapter",
408
+ "type": "RuntimeAuthoringOverlayAdapter",
409
+ "required": true,
410
+ "description": null
411
+ }
412
+ ],
413
+ "returnType": "Pick<RuntimeRendererConfig, \"disableActions\" | \"wrapNode\">",
414
+ "returnDescription": null
415
+ }
416
+ ],
417
+ "members": [],
418
+ "structuredRows": []
419
+ },
381
420
  {
382
421
  "name": "createRuntimeEventOperationBindingContext",
383
422
  "title": null,
@@ -1699,6 +1738,285 @@
1699
1738
  ],
1700
1739
  "structuredRows": []
1701
1740
  },
1741
+ {
1742
+ "name": "RuntimeAuthoringBounds",
1743
+ "title": null,
1744
+ "description": null,
1745
+ "isReadme": false,
1746
+ "see": [],
1747
+ "security": [],
1748
+ "kind": "type",
1749
+ "modulePath": "src/runtimeAuthoringOverlay.ts",
1750
+ "sourceLocation": {
1751
+ "filePath": "src/runtimeAuthoringOverlay.ts",
1752
+ "line": 8,
1753
+ "column": 1
1754
+ },
1755
+ "exportPaths": [
1756
+ "src/index.ts"
1757
+ ],
1758
+ "relatedSymbols": [],
1759
+ "signatures": [],
1760
+ "members": [
1761
+ {
1762
+ "name": "height",
1763
+ "kind": "property",
1764
+ "type": "number",
1765
+ "required": true,
1766
+ "description": null
1767
+ },
1768
+ {
1769
+ "name": "width",
1770
+ "kind": "property",
1771
+ "type": "number",
1772
+ "required": true,
1773
+ "description": null
1774
+ },
1775
+ {
1776
+ "name": "x",
1777
+ "kind": "property",
1778
+ "type": "number",
1779
+ "required": true,
1780
+ "description": null
1781
+ },
1782
+ {
1783
+ "name": "y",
1784
+ "kind": "property",
1785
+ "type": "number",
1786
+ "required": true,
1787
+ "description": null
1788
+ }
1789
+ ],
1790
+ "structuredRows": []
1791
+ },
1792
+ {
1793
+ "name": "RuntimeAuthoringComponentIdentity",
1794
+ "title": null,
1795
+ "description": null,
1796
+ "isReadme": false,
1797
+ "see": [],
1798
+ "security": [],
1799
+ "kind": "type",
1800
+ "modulePath": "src/runtimeAuthoringOverlay.ts",
1801
+ "sourceLocation": {
1802
+ "filePath": "src/runtimeAuthoringOverlay.ts",
1803
+ "line": 17,
1804
+ "column": 1
1805
+ },
1806
+ "exportPaths": [
1807
+ "src/index.ts"
1808
+ ],
1809
+ "relatedSymbols": [],
1810
+ "signatures": [],
1811
+ "members": [
1812
+ {
1813
+ "name": "componentId",
1814
+ "kind": "property",
1815
+ "type": "string",
1816
+ "required": true,
1817
+ "description": null
1818
+ },
1819
+ {
1820
+ "name": "node",
1821
+ "kind": "property",
1822
+ "type": "UiNode",
1823
+ "required": true,
1824
+ "description": null
1825
+ }
1826
+ ],
1827
+ "structuredRows": []
1828
+ },
1829
+ {
1830
+ "name": "RuntimeAuthoringGestureDisposition",
1831
+ "title": null,
1832
+ "description": null,
1833
+ "isReadme": false,
1834
+ "see": [],
1835
+ "security": [],
1836
+ "kind": "unknown",
1837
+ "modulePath": "src/runtimeAuthoringOverlay.ts",
1838
+ "sourceLocation": {
1839
+ "filePath": "src/runtimeAuthoringOverlay.ts",
1840
+ "line": 15,
1841
+ "column": 1
1842
+ },
1843
+ "exportPaths": [
1844
+ "src/index.ts"
1845
+ ],
1846
+ "relatedSymbols": [],
1847
+ "signatures": [],
1848
+ "members": [],
1849
+ "structuredRows": []
1850
+ },
1851
+ {
1852
+ "name": "RuntimeAuthoringMode",
1853
+ "title": null,
1854
+ "description": null,
1855
+ "isReadme": false,
1856
+ "see": [],
1857
+ "security": [],
1858
+ "kind": "unknown",
1859
+ "modulePath": "src/runtimeAuthoringOverlay.ts",
1860
+ "sourceLocation": {
1861
+ "filePath": "src/runtimeAuthoringOverlay.ts",
1862
+ "line": 6,
1863
+ "column": 1
1864
+ },
1865
+ "exportPaths": [
1866
+ "src/index.ts"
1867
+ ],
1868
+ "relatedSymbols": [],
1869
+ "signatures": [],
1870
+ "members": [],
1871
+ "structuredRows": []
1872
+ },
1873
+ {
1874
+ "name": "RuntimeAuthoringOverlayAdapter",
1875
+ "title": null,
1876
+ "description": null,
1877
+ "isReadme": false,
1878
+ "see": [],
1879
+ "security": [],
1880
+ "kind": "type",
1881
+ "modulePath": "src/runtimeAuthoringOverlay.ts",
1882
+ "sourceLocation": {
1883
+ "filePath": "src/runtimeAuthoringOverlay.ts",
1884
+ "line": 29,
1885
+ "column": 1
1886
+ },
1887
+ "exportPaths": [
1888
+ "src/index.ts"
1889
+ ],
1890
+ "relatedSymbols": [
1891
+ "RuntimeAuthoringBounds",
1892
+ "RuntimeAuthoringComponentIdentity",
1893
+ "RuntimeAuthoringGestureDisposition",
1894
+ "RuntimeAuthoringMode",
1895
+ "RuntimeAuthoringOverlayNodeArgs"
1896
+ ],
1897
+ "signatures": [],
1898
+ "members": [
1899
+ {
1900
+ "name": "arbitrateGesture",
1901
+ "kind": "property",
1902
+ "type": "((args: RuntimeAuthoringComponentIdentity & { readonly input: unknown; }) => RuntimeAuthoringGestureDisposition) | undefined",
1903
+ "required": false,
1904
+ "description": null
1905
+ },
1906
+ {
1907
+ "name": "getComponentId",
1908
+ "kind": "property",
1909
+ "type": "(node: UiNode) => string | undefined",
1910
+ "required": true,
1911
+ "description": null
1912
+ },
1913
+ {
1914
+ "name": "hitTest",
1915
+ "kind": "property",
1916
+ "type": "((args: RuntimeAuthoringComponentIdentity & { readonly input: unknown; }) => boolean) | undefined",
1917
+ "required": false,
1918
+ "description": null
1919
+ },
1920
+ {
1921
+ "name": "mode",
1922
+ "kind": "property",
1923
+ "type": "RuntimeAuthoringMode",
1924
+ "required": true,
1925
+ "description": null
1926
+ },
1927
+ {
1928
+ "name": "onBounds",
1929
+ "kind": "property",
1930
+ "type": "((args: RuntimeAuthoringComponentIdentity & { readonly bounds: RuntimeAuthoringBounds; }) => void) | undefined",
1931
+ "required": false,
1932
+ "description": null
1933
+ },
1934
+ {
1935
+ "name": "wrapNode",
1936
+ "kind": "property",
1937
+ "type": "(args: RuntimeAuthoringOverlayNodeArgs) => React.ReactNode",
1938
+ "required": true,
1939
+ "description": null
1940
+ }
1941
+ ],
1942
+ "structuredRows": []
1943
+ },
1944
+ {
1945
+ "name": "RuntimeAuthoringOverlayNodeArgs",
1946
+ "title": null,
1947
+ "description": null,
1948
+ "isReadme": false,
1949
+ "see": [],
1950
+ "security": [],
1951
+ "kind": "type",
1952
+ "modulePath": "src/runtimeAuthoringOverlay.ts",
1953
+ "sourceLocation": {
1954
+ "filePath": "src/runtimeAuthoringOverlay.ts",
1955
+ "line": 22,
1956
+ "column": 1
1957
+ },
1958
+ "exportPaths": [
1959
+ "src/index.ts"
1960
+ ],
1961
+ "relatedSymbols": [
1962
+ "RuntimeAuthoringBounds",
1963
+ "RuntimeAuthoringComponentIdentity",
1964
+ "RuntimeAuthoringGestureDisposition"
1965
+ ],
1966
+ "signatures": [],
1967
+ "members": [
1968
+ {
1969
+ "name": "arbitrateGesture",
1970
+ "kind": "property",
1971
+ "type": "(input: unknown) => RuntimeAuthoringGestureDisposition",
1972
+ "required": true,
1973
+ "description": null
1974
+ },
1975
+ {
1976
+ "name": "component",
1977
+ "kind": "property",
1978
+ "type": "RuntimeAuthoringComponentIdentity",
1979
+ "required": true,
1980
+ "description": null
1981
+ },
1982
+ {
1983
+ "name": "isRoot",
1984
+ "kind": "property",
1985
+ "type": "boolean",
1986
+ "required": true,
1987
+ "description": null
1988
+ },
1989
+ {
1990
+ "name": "node",
1991
+ "kind": "property",
1992
+ "type": "UiNode",
1993
+ "required": true,
1994
+ "description": null
1995
+ },
1996
+ {
1997
+ "name": "rendered",
1998
+ "kind": "property",
1999
+ "type": "React.ReactNode",
2000
+ "required": true,
2001
+ "description": null
2002
+ },
2003
+ {
2004
+ "name": "reportBounds",
2005
+ "kind": "property",
2006
+ "type": "(bounds: RuntimeAuthoringBounds) => void",
2007
+ "required": true,
2008
+ "description": null
2009
+ },
2010
+ {
2011
+ "name": "select",
2012
+ "kind": "property",
2013
+ "type": "(input: unknown) => boolean",
2014
+ "required": true,
2015
+ "description": null
2016
+ }
2017
+ ],
2018
+ "structuredRows": []
2019
+ },
1702
2020
  {
1703
2021
  "name": "RuntimeBindingDescriptor",
1704
2022
  "title": null,