@ankhorage/runtime 5.6.4 → 5.7.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 +6 -0
- package/README.md +3 -3
- package/dist/ClipboardWriterContext.d.ts +3 -0
- package/dist/ClipboardWriterContext.d.ts.map +1 -0
- package/dist/ClipboardWriterContext.js +3 -0
- package/dist/ClipboardWriterContext.js.map +1 -0
- package/dist/ClipboardWriterProvider.d.ts +8 -0
- package/dist/ClipboardWriterProvider.d.ts.map +1 -0
- package/dist/ClipboardWriterProvider.js +8 -0
- package/dist/ClipboardWriterProvider.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/types/clipboard.d.ts +7 -0
- package/dist/types/clipboard.d.ts.map +1 -0
- package/dist/types/clipboard.js +2 -0
- package/dist/types/clipboard.js.map +1 -0
- package/dist/useClipboardWriter.d.ts +4 -0
- package/dist/useClipboardWriter.d.ts.map +1 -0
- package/dist/useClipboardWriter.js +7 -0
- package/dist/useClipboardWriter.js.map +1 -0
- package/dist/writeClipboardTextAsync.d.ts +4 -0
- package/dist/writeClipboardTextAsync.d.ts.map +1 -0
- package/dist/writeClipboardTextAsync.js +12 -0
- package/dist/writeClipboardTextAsync.js.map +1 -0
- package/package.json +4 -4
- package/paradox/badges/npm.svg +3 -3
- package/paradox/components.md +13 -0
- package/paradox/diagrams/architecture-overview.mmd +23 -0
- package/paradox/diagrams/export-graph.mmd +22 -0
- package/paradox/diagrams/module-relationships.mmd +16 -0
- package/paradox/diagrams/sequences/use-clipboard-writer.mmd +5 -0
- package/paradox/diagrams/sequences/write-clipboard-text-async.mmd +5 -0
- package/paradox/exports.json +168 -0
- package/paradox/exports.md +60 -0
- package/paradox/index.html +394 -6
- package/paradox/paradox.json +507 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# Ankhorage Runtime
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
8
|
Renders Ankhorage application manifests and resolves their runtime bindings, capabilities, events, media, screens, and state.
|
|
9
9
|
|
|
@@ -32,8 +32,8 @@ Open `paradox/index.html` locally in your browser to browse the complete documen
|
|
|
32
32
|
|
|
33
33
|
## Contributors
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
<a href="https://github.com/artiphishle"><img src="https://avatars.githubusercontent.com/u/137318798?s=64" width="40" height="40" alt="artiphishle" /></a>
|
|
36
|
+
<a href="https://github.com/faeb187"><img src="https://avatars.githubusercontent.com/u/389333?s=64" width="40" height="40" alt="faeb187" /></a>
|
|
37
37
|
|
|
38
38
|
## Donation
|
|
39
39
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClipboardWriterContext.d.ts","sourceRoot":"","sources":["../src/ClipboardWriterContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,eAAO,MAAM,sBAAsB,sDAAwD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClipboardWriterContext.js","sourceRoot":"","sources":["../src/ClipboardWriterContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItC,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAA8B,SAAS,CAAC,CAAC","sourcesContent":["import { createContext } from 'react';\n\nimport type { ClipboardWriter } from './types/clipboard.js';\n\nexport const ClipboardWriterContext = createContext<ClipboardWriter | undefined>(undefined);\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ClipboardWriter } from './types/clipboard.js';
|
|
3
|
+
/*** Supplies the host-owned clipboard writer without selecting a browser or native implementation. */
|
|
4
|
+
export declare function ClipboardWriterProvider(props: {
|
|
5
|
+
readonly children: React.ReactNode;
|
|
6
|
+
readonly writer: ClipboardWriter;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=ClipboardWriterProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClipboardWriterProvider.d.ts","sourceRoot":"","sources":["../src/ClipboardWriterProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,sGAAsG;AACtG,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC;CAClC,qBAEA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ClipboardWriterContext } from './ClipboardWriterContext.js';
|
|
4
|
+
/*** Supplies the host-owned clipboard writer without selecting a browser or native implementation. */
|
|
5
|
+
export function ClipboardWriterProvider(props) {
|
|
6
|
+
return _jsx(ClipboardWriterContext, { value: props.writer, children: props.children });
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=ClipboardWriterProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClipboardWriterProvider.js","sourceRoot":"","sources":["../src/ClipboardWriterProvider.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAGrE,sGAAsG;AACtG,MAAM,UAAU,uBAAuB,CAAC,KAGvC;IACC,OAAO,KAAC,sBAAsB,IAAC,KAAK,EAAE,KAAK,CAAC,MAAM,YAAG,KAAK,CAAC,QAAQ,GAA0B,CAAC;AAChG,CAAC","sourcesContent":["import React from 'react';\n\nimport { ClipboardWriterContext } from './ClipboardWriterContext.js';\nimport type { ClipboardWriter } from './types/clipboard.js';\n\n/*** Supplies the host-owned clipboard writer without selecting a browser or native implementation. */\nexport function ClipboardWriterProvider(props: {\n readonly children: React.ReactNode;\n readonly writer: ClipboardWriter;\n}) {\n return <ClipboardWriterContext value={props.writer}>{props.children}</ClipboardWriterContext>;\n}\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type { RuntimeContextCapabilityId, RuntimeContextCapabilityResolution, } from './capabilities/resolveRuntimeContextCapability.js';
|
|
2
2
|
export { isRuntimeContextCapabilityOutputPath, resolveRuntimeContextCapability, } from './capabilities/resolveRuntimeContextCapability.js';
|
|
3
|
+
export { ClipboardWriterProvider } from './ClipboardWriterProvider.js';
|
|
3
4
|
export { ManifestContext, ManifestProvider, useManifest, useManifestContext, useOptionalManifestContext, } from './ManifestContext.js';
|
|
4
5
|
export type { ComponentRegistry } from './registry.js';
|
|
5
6
|
export { createComponentRegistry } from './registry.js';
|
|
@@ -28,5 +29,8 @@ export type { RuntimeScreenOperationLoaderExecutionResult, RuntimeScreenOperatio
|
|
|
28
29
|
export { createPendingRuntimeScreenOperationLoaderState, createRuntimeScreenLoaderRequestKey, createRuntimeScreenOperationLoaderRequestLifecycle, executeRuntimeScreenOperationLoaders, resolveScreenOperationLoaders, useRuntimeScreenOperationLoaders, } from './runtimeScreenLoaders.js';
|
|
29
30
|
export type { RuntimeMemoryStateAdapterOptions } from './runtimeStateAdapter.js';
|
|
30
31
|
export { createRuntimeMemoryStateAdapter } from './runtimeStateAdapter.js';
|
|
32
|
+
export type { ClipboardWriter, ClipboardWriteResult } from './types/clipboard.js';
|
|
31
33
|
export type { RuntimeFlowPort, RuntimeFlowStartRequest } from './types/runtimeFlow.js';
|
|
34
|
+
export { useClipboardWriter } from './useClipboardWriter.js';
|
|
35
|
+
export { writeClipboardTextAsync } from './writeClipboardTextAsync.js';
|
|
32
36
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,0BAA0B,EAC1B,kCAAkC,GACnC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EACL,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,YAAY,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,4BAA4B,EAC5B,iCAAiC,EACjC,8BAA8B,EAC9B,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,mCAAmC,EACnC,2BAA2B,EAC3B,6BAA6B,EAC7B,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EAAE,mCAAmC,EAAE,MAAM,6BAA6B,CAAC;AACvF,OAAO,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AACjF,YAAY,EACV,sBAAsB,EACtB,iCAAiC,EACjC,kCAAkC,EAClC,oBAAoB,EACpB,8BAA8B,EAC9B,+BAA+B,GAChC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AACnF,YAAY,EACV,4BAA4B,EAC5B,+BAA+B,EAC/B,8BAA8B,EAC9B,yBAAyB,EACzB,0BAA0B,EAC1B,8BAA8B,EAC9B,gCAAgC,EAChC,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,2BAA2B,EAC3B,+BA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wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,6BAA6B,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AACnF,YAAY,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,YAAY,EACV,2CAA2C,EAC3C,iCAAiC,GAClC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,8CAA8C,EAC9C,mCAAmC,EACnC,kDAAkD,EAClD,oCAAoC,EACpC,6BAA6B,EAC7B,gCAAgC,GACjC,MAAM,2BAA2B,CAAC;AACnC,YAAY,EAAE,gCAAgC,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAC3E,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAClF,YAAY,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { isRuntimeContextCapabilityOutputPath, resolveRuntimeContextCapability, } from './capabilities/resolveRuntimeContextCapability.js';
|
|
2
|
+
export { ClipboardWriterProvider } from './ClipboardWriterProvider.js';
|
|
2
3
|
export { ManifestContext, ManifestProvider, useManifest, useManifestContext, useOptionalManifestContext, } from './ManifestContext.js';
|
|
3
4
|
export { createComponentRegistry } from './registry.js';
|
|
4
5
|
export { createComponentEventFromHandlerArgs, createRuntimeActionRegistry, dispatchRuntimeComponentEvent, resolveRuntimeActionValue, wrapRuntimeEventProps, } from './runtimeActionRegistry.js';
|
|
@@ -14,4 +15,6 @@ export { shouldRenderRuntimeRepeatEmptyState } from './runtimeRepeatEmptyState.j
|
|
|
14
15
|
export { RuntimeScreen } from './RuntimeScreen.js';
|
|
15
16
|
export { createPendingRuntimeScreenOperationLoaderState, createRuntimeScreenLoaderRequestKey, createRuntimeScreenOperationLoaderRequestLifecycle, executeRuntimeScreenOperationLoaders, resolveScreenOperationLoaders, useRuntimeScreenOperationLoaders, } from './runtimeScreenLoaders.js';
|
|
16
17
|
export { createRuntimeMemoryStateAdapter } from './runtimeStateAdapter.js';
|
|
18
|
+
export { useClipboardWriter } from './useClipboardWriter.js';
|
|
19
|
+
export { writeClipboardTextAsync } from './writeClipboardTextAsync.js';
|
|
17
20
|
//# sourceMappingURL=index.js.map
|
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,mDAAmD,CAAC;AAC3D,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AASxD,OAAO,EACL,mCAAmC,EACnC,2BAA2B,EAC3B,6BAA6B,EAC7B,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AASjF,OAAO,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AAWnF,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,sBAAsB,CAAC;AAE9B,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EACL,0CAA0C,GAE3C,MAAM,4BAA4B,CAAC;AAOpC,OAAO,EACL,yCAAyC,EACzC,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,GACzC,MAAM,qCAAqC,CAAC;AAgB7C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,EAC9B,0BAA0B,EAG1B,6BAA6B,EAG7B,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AAEnF,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAKnD,OAAO,EACL,8CAA8C,EAC9C,mCAAmC,EACnC,kDAAkD,EAClD,oCAAoC,EACpC,6BAA6B,EAC7B,gCAAgC,GACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["export type {\n RuntimeContextCapabilityId,\n RuntimeContextCapabilityResolution,\n} from './capabilities/resolveRuntimeContextCapability.js';\nexport {\n isRuntimeContextCapabilityOutputPath,\n resolveRuntimeContextCapability,\n} from './capabilities/resolveRuntimeContextCapability.js';\nexport {\n ManifestContext,\n ManifestProvider,\n useManifest,\n useManifestContext,\n useOptionalManifestContext,\n} from './ManifestContext.js';\nexport type { ComponentRegistry } from './registry.js';\nexport { createComponentRegistry } from './registry.js';\nexport type {\n RuntimeActionRegistry,\n RuntimeActionResolutionArgs,\n RuntimeActionResolutionScope,\n RuntimeComponentEventDispatchArgs,\n RuntimeEventCapabilityResolver,\n RuntimeEventPropWrapArgs,\n} from './runtimeActionRegistry.js';\nexport {\n createComponentEventFromHandlerArgs,\n createRuntimeActionRegistry,\n dispatchRuntimeComponentEvent,\n resolveRuntimeActionValue,\n wrapRuntimeEventProps,\n} from './runtimeActionRegistry.js';\nexport type { RuntimeApiCapabilityExecutorOptions } from './runtimeApiCapabilities.js';\nexport { createRuntimeApiCapabilityExecutor } from './runtimeApiCapabilities.js';\nexport type {\n RuntimeAuthoringBounds,\n RuntimeAuthoringComponentIdentity,\n RuntimeAuthoringGestureDisposition,\n RuntimeAuthoringMode,\n RuntimeAuthoringOverlayAdapter,\n RuntimeAuthoringOverlayNodeArgs,\n} from './runtimeAuthoringOverlay.js';\nexport { createRuntimeAuthoringOverlayConfig } from './runtimeAuthoringOverlay.js';\nexport type {\n RuntimeBindingResolutionArgs,\n RuntimeBindingResolutionContext,\n RuntimeBindingResolutionResult,\n RuntimeBindingResultCache,\n RuntimeBindingResultWriter,\n RuntimeCapabilityExecutionArgs,\n RuntimeCapabilityExecutionResult,\n RuntimeCapabilityExecutor,\n} from './runtimeBindings.js';\nexport {\n applyRuntimeBindingDataPath,\n executeRuntimeBindingInvocation,\n resolveBindingInputMap,\n resolveBindingInputMapSync,\n resolveRuntimeBindingExpression,\n resolveRuntimeBindingExpressionSync,\n resolveRuntimeBindings,\n resolveRuntimeBindingsAsync,\n resolveRuntimeBindingValue,\n resolveRuntimeBindingValueSync,\n} from './runtimeBindings.js';\nexport type { RuntimeCapabilityExecutorComposition } from './runtimeCapabilityExecutor.js';\nexport { composeRuntimeCapabilityExecutor } from './runtimeCapabilityExecutor.js';\nexport {\n dispatchRuntimeComponentEventWithReporting,\n type RuntimeEventDiagnosticsReporter,\n} from './runtimeEventExecution.js';\nexport type {\n RuntimeEventOperationInvocation,\n RuntimeEventOperationLifecycle,\n RuntimeEventOperationState,\n RuntimeEventOperationStatus,\n} from './runtimeEventOperationLifecycle.js';\nexport {\n createRuntimeEventOperationBindingContext,\n createRuntimeEventOperationLifecycle,\n IDLE_RUNTIME_EVENT_OPERATION_STATE,\n resolveRuntimeEventOperationErrorMessage,\n} from './runtimeEventOperationLifecycle.js';\nexport type {\n RuntimeActionDescriptor,\n RuntimeAdapterDescriptor,\n RuntimeBindingDescriptor,\n RuntimeDiagnostic,\n RuntimeManifest,\n RuntimeManifestConfig,\n RuntimeManifestInput,\n} from './runtimeManifest.js';\nexport type {\n RuntimeMediaAssetResolver,\n RuntimeMediaAssetResolverArgs,\n RuntimeResolvedMediaValue,\n} from './runtimeMedia.js';\nexport type { RuntimeRendererProps } from './RuntimeRenderer.js';\nexport { RuntimeRenderer } from './RuntimeRenderer.js';\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.js';\nexport { shouldRenderRuntimeRepeatEmptyState } from './runtimeRepeatEmptyState.js';\nexport type { RuntimeScreenProps } from './RuntimeScreen.js';\nexport { RuntimeScreen } from './RuntimeScreen.js';\nexport type {\n RuntimeScreenOperationLoaderExecutionResult,\n RuntimeScreenOperationLoaderState,\n} from './runtimeScreenLoaders.js';\nexport {\n createPendingRuntimeScreenOperationLoaderState,\n createRuntimeScreenLoaderRequestKey,\n createRuntimeScreenOperationLoaderRequestLifecycle,\n executeRuntimeScreenOperationLoaders,\n resolveScreenOperationLoaders,\n useRuntimeScreenOperationLoaders,\n} from './runtimeScreenLoaders.js';\nexport type { RuntimeMemoryStateAdapterOptions } from './runtimeStateAdapter.js';\nexport { createRuntimeMemoryStateAdapter } from './runtimeStateAdapter.js';\nexport type { RuntimeFlowPort, RuntimeFlowStartRequest } from './types/runtimeFlow.js';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EA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uBAAuB,EAAE,MAAM,8BAA8B,CAAC","sourcesContent":["export type {\n RuntimeContextCapabilityId,\n RuntimeContextCapabilityResolution,\n} from './capabilities/resolveRuntimeContextCapability.js';\nexport {\n isRuntimeContextCapabilityOutputPath,\n resolveRuntimeContextCapability,\n} from './capabilities/resolveRuntimeContextCapability.js';\nexport { ClipboardWriterProvider } from './ClipboardWriterProvider.js';\nexport {\n ManifestContext,\n ManifestProvider,\n useManifest,\n useManifestContext,\n useOptionalManifestContext,\n} from './ManifestContext.js';\nexport type { ComponentRegistry } from './registry.js';\nexport { createComponentRegistry } from './registry.js';\nexport type {\n RuntimeActionRegistry,\n RuntimeActionResolutionArgs,\n RuntimeActionResolutionScope,\n RuntimeComponentEventDispatchArgs,\n RuntimeEventCapabilityResolver,\n RuntimeEventPropWrapArgs,\n} from './runtimeActionRegistry.js';\nexport {\n createComponentEventFromHandlerArgs,\n createRuntimeActionRegistry,\n dispatchRuntimeComponentEvent,\n resolveRuntimeActionValue,\n wrapRuntimeEventProps,\n} from './runtimeActionRegistry.js';\nexport type { RuntimeApiCapabilityExecutorOptions } from './runtimeApiCapabilities.js';\nexport { createRuntimeApiCapabilityExecutor } from './runtimeApiCapabilities.js';\nexport type {\n RuntimeAuthoringBounds,\n RuntimeAuthoringComponentIdentity,\n RuntimeAuthoringGestureDisposition,\n RuntimeAuthoringMode,\n RuntimeAuthoringOverlayAdapter,\n RuntimeAuthoringOverlayNodeArgs,\n} from './runtimeAuthoringOverlay.js';\nexport { createRuntimeAuthoringOverlayConfig } from './runtimeAuthoringOverlay.js';\nexport type {\n RuntimeBindingResolutionArgs,\n RuntimeBindingResolutionContext,\n RuntimeBindingResolutionResult,\n RuntimeBindingResultCache,\n RuntimeBindingResultWriter,\n RuntimeCapabilityExecutionArgs,\n RuntimeCapabilityExecutionResult,\n RuntimeCapabilityExecutor,\n} from './runtimeBindings.js';\nexport {\n applyRuntimeBindingDataPath,\n executeRuntimeBindingInvocation,\n resolveBindingInputMap,\n resolveBindingInputMapSync,\n resolveRuntimeBindingExpression,\n resolveRuntimeBindingExpressionSync,\n resolveRuntimeBindings,\n resolveRuntimeBindingsAsync,\n resolveRuntimeBindingValue,\n resolveRuntimeBindingValueSync,\n} from './runtimeBindings.js';\nexport type { RuntimeCapabilityExecutorComposition } from './runtimeCapabilityExecutor.js';\nexport { composeRuntimeCapabilityExecutor } from './runtimeCapabilityExecutor.js';\nexport {\n dispatchRuntimeComponentEventWithReporting,\n type RuntimeEventDiagnosticsReporter,\n} from './runtimeEventExecution.js';\nexport type {\n RuntimeEventOperationInvocation,\n RuntimeEventOperationLifecycle,\n RuntimeEventOperationState,\n RuntimeEventOperationStatus,\n} from './runtimeEventOperationLifecycle.js';\nexport {\n createRuntimeEventOperationBindingContext,\n createRuntimeEventOperationLifecycle,\n IDLE_RUNTIME_EVENT_OPERATION_STATE,\n resolveRuntimeEventOperationErrorMessage,\n} from './runtimeEventOperationLifecycle.js';\nexport type {\n RuntimeActionDescriptor,\n RuntimeAdapterDescriptor,\n RuntimeBindingDescriptor,\n RuntimeDiagnostic,\n RuntimeManifest,\n RuntimeManifestConfig,\n RuntimeManifestInput,\n} from './runtimeManifest.js';\nexport type {\n RuntimeMediaAssetResolver,\n RuntimeMediaAssetResolverArgs,\n RuntimeResolvedMediaValue,\n} from './runtimeMedia.js';\nexport type { RuntimeRendererProps } from './RuntimeRenderer.js';\nexport { RuntimeRenderer } from './RuntimeRenderer.js';\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.js';\nexport { shouldRenderRuntimeRepeatEmptyState } from './runtimeRepeatEmptyState.js';\nexport type { RuntimeScreenProps } from './RuntimeScreen.js';\nexport { RuntimeScreen } from './RuntimeScreen.js';\nexport type {\n RuntimeScreenOperationLoaderExecutionResult,\n RuntimeScreenOperationLoaderState,\n} from './runtimeScreenLoaders.js';\nexport {\n createPendingRuntimeScreenOperationLoaderState,\n createRuntimeScreenLoaderRequestKey,\n createRuntimeScreenOperationLoaderRequestLifecycle,\n executeRuntimeScreenOperationLoaders,\n resolveScreenOperationLoaders,\n useRuntimeScreenOperationLoaders,\n} from './runtimeScreenLoaders.js';\nexport type { RuntimeMemoryStateAdapterOptions } from './runtimeStateAdapter.js';\nexport { createRuntimeMemoryStateAdapter } from './runtimeStateAdapter.js';\nexport type { ClipboardWriter, ClipboardWriteResult } from './types/clipboard.js';\nexport type { RuntimeFlowPort, RuntimeFlowStartRequest } from './types/runtimeFlow.js';\nexport { useClipboardWriter } from './useClipboardWriter.js';\nexport { writeClipboardTextAsync } from './writeClipboardTextAsync.js';\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** The explicit outcomes a trusted host reports after a clipboard write request. */
|
|
2
|
+
export type ClipboardWriteResult = 'denied' | 'unavailable' | 'written';
|
|
3
|
+
/** A host-owned boundary for writing plain text without exposing platform APIs to consumers. */
|
|
4
|
+
export interface ClipboardWriter {
|
|
5
|
+
writeTextAsync: (text: string) => Promise<ClipboardWriteResult>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=clipboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../src/types/clipboard.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,aAAa,GAAG,SAAS,CAAC;AAExE,gGAAgG;AAChG,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clipboard.js","sourceRoot":"","sources":["../../src/types/clipboard.ts"],"names":[],"mappings":"","sourcesContent":["/** The explicit outcomes a trusted host reports after a clipboard write request. */\nexport type ClipboardWriteResult = 'denied' | 'unavailable' | 'written';\n\n/** A host-owned boundary for writing plain text without exposing platform APIs to consumers. */\nexport interface ClipboardWriter {\n writeTextAsync: (text: string) => Promise<ClipboardWriteResult>;\n}\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ClipboardWriter } from './types/clipboard.js';
|
|
2
|
+
/*** Reads an optional host clipboard writer so components can report unavailable access without a local fallback. */
|
|
3
|
+
export declare function useClipboardWriter(): ClipboardWriter | undefined;
|
|
4
|
+
//# sourceMappingURL=useClipboardWriter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useClipboardWriter.d.ts","sourceRoot":"","sources":["../src/useClipboardWriter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,qHAAqH;AACrH,wBAAgB,kBAAkB,IAAI,eAAe,GAAG,SAAS,CAEhE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { use } from 'react';
|
|
2
|
+
import { ClipboardWriterContext } from './ClipboardWriterContext.js';
|
|
3
|
+
/*** Reads an optional host clipboard writer so components can report unavailable access without a local fallback. */
|
|
4
|
+
export function useClipboardWriter() {
|
|
5
|
+
return use(ClipboardWriterContext);
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=useClipboardWriter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useClipboardWriter.js","sourceRoot":"","sources":["../src/useClipboardWriter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAGrE,qHAAqH;AACrH,MAAM,UAAU,kBAAkB;IAChC,OAAO,GAAG,CAAC,sBAAsB,CAAC,CAAC;AACrC,CAAC","sourcesContent":["import { use } from 'react';\n\nimport { ClipboardWriterContext } from './ClipboardWriterContext.js';\nimport type { ClipboardWriter } from './types/clipboard.js';\n\n/*** Reads an optional host clipboard writer so components can report unavailable access without a local fallback. */\nexport function useClipboardWriter(): ClipboardWriter | undefined {\n return use(ClipboardWriterContext);\n}\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ClipboardWriter, ClipboardWriteResult } from './types/clipboard.js';
|
|
2
|
+
/*** Requests a host clipboard write while converting missing and rejected host access into explicit outcomes. */
|
|
3
|
+
export declare function writeClipboardTextAsync(writer: ClipboardWriter | undefined, text: string): Promise<ClipboardWriteResult>;
|
|
4
|
+
//# sourceMappingURL=writeClipboardTextAsync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"writeClipboardTextAsync.d.ts","sourceRoot":"","sources":["../src/writeClipboardTextAsync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAElF,iHAAiH;AACjH,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,eAAe,GAAG,SAAS,EACnC,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,oBAAoB,CAAC,CAQ/B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*** Requests a host clipboard write while converting missing and rejected host access into explicit outcomes. */
|
|
2
|
+
export async function writeClipboardTextAsync(writer, text) {
|
|
3
|
+
if (writer === undefined)
|
|
4
|
+
return 'unavailable';
|
|
5
|
+
try {
|
|
6
|
+
return await writer.writeTextAsync(text);
|
|
7
|
+
}
|
|
8
|
+
catch {
|
|
9
|
+
return 'denied';
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=writeClipboardTextAsync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"writeClipboardTextAsync.js","sourceRoot":"","sources":["../src/writeClipboardTextAsync.ts"],"names":[],"mappings":"AAEA,iHAAiH;AACjH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,MAAmC,EACnC,IAAY;IAEZ,IAAI,MAAM,KAAK,SAAS;QAAE,OAAO,aAAa,CAAC;IAE/C,IAAI,CAAC;QACH,OAAO,MAAM,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,QAAQ,CAAC;IAClB,CAAC;AACH,CAAC","sourcesContent":["import type { ClipboardWriter, ClipboardWriteResult } from './types/clipboard.js';\n\n/*** Requests a host clipboard write while converting missing and rejected host access into explicit outcomes. */\nexport async function writeClipboardTextAsync(\n writer: ClipboardWriter | undefined,\n text: string,\n): Promise<ClipboardWriteResult> {\n if (writer === undefined) return 'unavailable';\n\n try {\n return await writer.writeTextAsync(text);\n } catch {\n return 'denied';\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/runtime",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"description": "Platform-neutral runtime renderer, contracts, and helpers for Ankhorage generated apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -348,9 +348,9 @@
|
|
|
348
348
|
}
|
|
349
349
|
},
|
|
350
350
|
"devDependencies": {
|
|
351
|
-
"@ankhorage/devtools": "^2.
|
|
352
|
-
"@ankhorage/paradox": "^0.6.
|
|
353
|
-
"@types/bun": "^1.4.
|
|
351
|
+
"@ankhorage/devtools": "^2.12.3",
|
|
352
|
+
"@ankhorage/paradox": "^0.6.1",
|
|
353
|
+
"@types/bun": "^1.4.5",
|
|
354
354
|
"@types/node": "^26.6.4",
|
|
355
355
|
"@types/react": "^19.3.0",
|
|
356
356
|
"@types/react-dom": "^19.3.0",
|
package/paradox/badges/npm.svg
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="90" height="20" role="img" aria-label="npm: v5.
|
|
2
|
-
<title>npm: v5.
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="90" height="20" role="img" aria-label="npm: v5.7.0">
|
|
2
|
+
<title>npm: v5.7.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.
|
|
6
|
+
<text x="64" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">v5.7.0</text>
|
|
7
7
|
</svg>
|
package/paradox/components.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Components
|
|
2
2
|
|
|
3
|
+
## ClipboardWriterProvider
|
|
4
|
+
|
|
5
|
+
Source: `src/ClipboardWriterProvider.tsx:7:1`
|
|
6
|
+
|
|
7
|
+
Supplies the host-owned clipboard writer without selecting a browser or native implementation.
|
|
8
|
+
|
|
9
|
+
Export paths: `src/index.ts`
|
|
10
|
+
|
|
11
|
+
| Prop | Type | Required | Default | Description |
|
|
12
|
+
| --- | --- | --- | --- | --- |
|
|
13
|
+
| children | `React.ReactNode \| undefined` | no | — | |
|
|
14
|
+
| writer | `ClipboardWriter` | yes | — | |
|
|
15
|
+
|
|
3
16
|
## ManifestContext
|
|
4
17
|
|
|
5
18
|
Source: `src/ManifestContext.tsx:13:14`
|
|
@@ -19,6 +19,17 @@ graph TD
|
|
|
19
19
|
module_src_capabilities_resolveRuntimeContextCapability_ts["src/capabilities/resolveRuntimeContextCapability.ts"]
|
|
20
20
|
package__ankhorage_runtime -.-> module_src_capabilities_resolveRuntimeContextCapability_ts
|
|
21
21
|
module_src_capabilities_resolveRuntimeContextCapability_ts --> module_src_capabilities_index_ts
|
|
22
|
+
module_src_ClipboardWriterContext_tsx["src/ClipboardWriterContext.tsx"]
|
|
23
|
+
package__ankhorage_runtime -.-> module_src_ClipboardWriterContext_tsx
|
|
24
|
+
module_src_ClipboardWriterContext_tsx --> module_src_types_clipboard_ts
|
|
25
|
+
module_src_ClipboardWriterProvider_test_tsx["src/ClipboardWriterProvider.test.tsx"]
|
|
26
|
+
package__ankhorage_runtime -.-> module_src_ClipboardWriterProvider_test_tsx
|
|
27
|
+
module_src_ClipboardWriterProvider_test_tsx --> module_src_ClipboardWriterProvider_tsx
|
|
28
|
+
module_src_ClipboardWriterProvider_test_tsx --> module_src_useClipboardWriter_ts
|
|
29
|
+
module_src_ClipboardWriterProvider_tsx["src/ClipboardWriterProvider.tsx"]
|
|
30
|
+
package__ankhorage_runtime -.-> module_src_ClipboardWriterProvider_tsx
|
|
31
|
+
module_src_ClipboardWriterProvider_tsx --> module_src_ClipboardWriterContext_tsx
|
|
32
|
+
module_src_ClipboardWriterProvider_tsx --> module_src_types_clipboard_ts
|
|
22
33
|
module_src_componentRegistry_ts["src/componentRegistry.ts"]
|
|
23
34
|
package__ankhorage_runtime -.-> module_src_componentRegistry_ts
|
|
24
35
|
module_src_executeRuntimeFlowCapabilityAsync_ts["src/executeRuntimeFlowCapabilityAsync.ts"]
|
|
@@ -204,13 +215,25 @@ graph TD
|
|
|
204
215
|
package__ankhorage_runtime -.-> module_src_runtimeStructuredResultProjection_test_tsx
|
|
205
216
|
module_src_runtimeStructuredResultProjection_test_tsx --> module_src_registry_tsx
|
|
206
217
|
module_src_runtimeStructuredResultProjection_test_tsx --> module_src_runtimeBindings_ts
|
|
218
|
+
module_src_types_clipboard_ts["src/types/clipboard.ts"]
|
|
219
|
+
package__ankhorage_runtime -.-> module_src_types_clipboard_ts
|
|
207
220
|
module_src_types_runtimeFlow_ts["src/types/runtimeFlow.ts"]
|
|
208
221
|
package__ankhorage_runtime -.-> module_src_types_runtimeFlow_ts
|
|
222
|
+
module_src_useClipboardWriter_ts["src/useClipboardWriter.ts"]
|
|
223
|
+
package__ankhorage_runtime -.-> module_src_useClipboardWriter_ts
|
|
224
|
+
module_src_useClipboardWriter_ts --> module_src_ClipboardWriterContext_tsx
|
|
225
|
+
module_src_useClipboardWriter_ts --> module_src_types_clipboard_ts
|
|
209
226
|
module_src_useRuntimeMediaProps_ts["src/useRuntimeMediaProps.ts"]
|
|
210
227
|
package__ankhorage_runtime -.-> module_src_useRuntimeMediaProps_ts
|
|
211
228
|
module_src_useRuntimeMediaProps_ts --> module_src_runtimeMedia_ts
|
|
212
229
|
module_src_useRuntimeStateBindings_ts["src/useRuntimeStateBindings.ts"]
|
|
213
230
|
package__ankhorage_runtime -.-> module_src_useRuntimeStateBindings_ts
|
|
231
|
+
module_src_writeClipboardTextAsync_test_ts["src/writeClipboardTextAsync.test.ts"]
|
|
232
|
+
package__ankhorage_runtime -.-> module_src_writeClipboardTextAsync_test_ts
|
|
233
|
+
module_src_writeClipboardTextAsync_test_ts --> module_src_writeClipboardTextAsync_ts
|
|
234
|
+
module_src_writeClipboardTextAsync_ts["src/writeClipboardTextAsync.ts"]
|
|
235
|
+
package__ankhorage_runtime -.-> module_src_writeClipboardTextAsync_ts
|
|
236
|
+
module_src_writeClipboardTextAsync_ts --> module_src_types_clipboard_ts
|
|
214
237
|
module_tests_reactNativeWebCompatibility_fixture_tsx["tests/reactNativeWebCompatibility.fixture.tsx"]
|
|
215
238
|
package__ankhorage_runtime -.-> module_tests_reactNativeWebCompatibility_fixture_tsx
|
|
216
239
|
module_tests_reactNativeWebCompatibility_fixture_tsx --> module_src_RuntimeRenderer_tsx
|
|
@@ -6,6 +6,9 @@ graph LR
|
|
|
6
6
|
module_src_capabilities_index_ts["src/capabilities/index.ts"]
|
|
7
7
|
module_src_capabilities_resolveRuntimeContextCapability_test_ts["src/capabilities/resolveRuntimeContextCapability.test.ts"]
|
|
8
8
|
module_src_capabilities_resolveRuntimeContextCapability_ts["src/capabilities/resolveRuntimeContextCapability.ts"]
|
|
9
|
+
module_src_ClipboardWriterContext_tsx["src/ClipboardWriterContext.tsx"]
|
|
10
|
+
module_src_ClipboardWriterProvider_test_tsx["src/ClipboardWriterProvider.test.tsx"]
|
|
11
|
+
module_src_ClipboardWriterProvider_tsx["src/ClipboardWriterProvider.tsx"]
|
|
9
12
|
module_src_componentRegistry_ts["src/componentRegistry.ts"]
|
|
10
13
|
module_src_executeRuntimeFlowCapabilityAsync_ts["src/executeRuntimeFlowCapabilityAsync.ts"]
|
|
11
14
|
module_src_index_ts["src/index.ts"]
|
|
@@ -53,9 +56,13 @@ graph LR
|
|
|
53
56
|
module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"]
|
|
54
57
|
module_src_runtimeStateReactivity_test_tsx["src/runtimeStateReactivity.test.tsx"]
|
|
55
58
|
module_src_runtimeStructuredResultProjection_test_tsx["src/runtimeStructuredResultProjection.test.tsx"]
|
|
59
|
+
module_src_types_clipboard_ts["src/types/clipboard.ts"]
|
|
56
60
|
module_src_types_runtimeFlow_ts["src/types/runtimeFlow.ts"]
|
|
61
|
+
module_src_useClipboardWriter_ts["src/useClipboardWriter.ts"]
|
|
57
62
|
module_src_useRuntimeMediaProps_ts["src/useRuntimeMediaProps.ts"]
|
|
58
63
|
module_src_useRuntimeStateBindings_ts["src/useRuntimeStateBindings.ts"]
|
|
64
|
+
module_src_writeClipboardTextAsync_test_ts["src/writeClipboardTextAsync.test.ts"]
|
|
65
|
+
module_src_writeClipboardTextAsync_ts["src/writeClipboardTextAsync.ts"]
|
|
59
66
|
module_tests_reactNativeWebCompatibility_fixture_tsx["tests/reactNativeWebCompatibility.fixture.tsx"]
|
|
60
67
|
module_tests_reactNativeWebCompatibility_test_ts["tests/reactNativeWebCompatibility.test.ts"]
|
|
61
68
|
module_tests_runtime_test_ts["tests/runtime.test.ts"]
|
|
@@ -63,6 +70,14 @@ graph LR
|
|
|
63
70
|
module_tests_runtimeServerApiArtifact_test_ts["tests/runtimeServerApiArtifact.test.ts"]
|
|
64
71
|
export_applyRuntimeBindingDataPath["applyRuntimeBindingDataPath"]
|
|
65
72
|
module_src_runtimeBindings_ts --> export_applyRuntimeBindingDataPath
|
|
73
|
+
export_ClipboardWriter["ClipboardWriter"]
|
|
74
|
+
module_src_types_clipboard_ts --> export_ClipboardWriter
|
|
75
|
+
export_ClipboardWriter -.-> export_ClipboardWriteResult
|
|
76
|
+
export_ClipboardWriteResult["ClipboardWriteResult"]
|
|
77
|
+
module_src_types_clipboard_ts --> export_ClipboardWriteResult
|
|
78
|
+
export_ClipboardWriterProvider["ClipboardWriterProvider"]
|
|
79
|
+
module_src_ClipboardWriterProvider_tsx --> export_ClipboardWriterProvider
|
|
80
|
+
export_ClipboardWriterProvider -.-> export_ClipboardWriter
|
|
66
81
|
export_ComponentRegistry["ComponentRegistry"]
|
|
67
82
|
module_src_componentRegistry_ts --> export_ComponentRegistry
|
|
68
83
|
export_composeRuntimeCapabilityExecutor["composeRuntimeCapabilityExecutor"]
|
|
@@ -330,6 +345,9 @@ graph LR
|
|
|
330
345
|
module_src_RuntimeScreen_tsx --> export_RuntimeScreenProps
|
|
331
346
|
export_shouldRenderRuntimeRepeatEmptyState["shouldRenderRuntimeRepeatEmptyState"]
|
|
332
347
|
module_src_runtimeRepeatEmptyState_ts --> export_shouldRenderRuntimeRepeatEmptyState
|
|
348
|
+
export_useClipboardWriter["useClipboardWriter"]
|
|
349
|
+
module_src_useClipboardWriter_ts --> export_useClipboardWriter
|
|
350
|
+
export_useClipboardWriter -.-> export_ClipboardWriter
|
|
333
351
|
export_useManifest["useManifest"]
|
|
334
352
|
module_src_ManifestContext_tsx --> export_useManifest
|
|
335
353
|
export_useManifestContext["useManifestContext"]
|
|
@@ -347,3 +365,7 @@ graph LR
|
|
|
347
365
|
export_wrapRuntimeEventProps["wrapRuntimeEventProps"]
|
|
348
366
|
module_src_runtimeActionRegistry_ts --> export_wrapRuntimeEventProps
|
|
349
367
|
export_wrapRuntimeEventProps -.-> export_RuntimeEventPropWrapArgs
|
|
368
|
+
export_writeClipboardTextAsync["writeClipboardTextAsync"]
|
|
369
|
+
module_src_writeClipboardTextAsync_ts --> export_writeClipboardTextAsync
|
|
370
|
+
export_writeClipboardTextAsync -.-> export_ClipboardWriter
|
|
371
|
+
export_writeClipboardTextAsync -.-> export_ClipboardWriteResult
|
|
@@ -6,6 +6,9 @@ graph LR
|
|
|
6
6
|
module_src_capabilities_index_ts["src/capabilities/index.ts"]
|
|
7
7
|
module_src_capabilities_resolveRuntimeContextCapability_test_ts["src/capabilities/resolveRuntimeContextCapability.test.ts"]
|
|
8
8
|
module_src_capabilities_resolveRuntimeContextCapability_ts["src/capabilities/resolveRuntimeContextCapability.ts"]
|
|
9
|
+
module_src_ClipboardWriterContext_tsx["src/ClipboardWriterContext.tsx"]
|
|
10
|
+
module_src_ClipboardWriterProvider_test_tsx["src/ClipboardWriterProvider.test.tsx"]
|
|
11
|
+
module_src_ClipboardWriterProvider_tsx["src/ClipboardWriterProvider.tsx"]
|
|
9
12
|
module_src_componentRegistry_ts["src/componentRegistry.ts"]
|
|
10
13
|
module_src_executeRuntimeFlowCapabilityAsync_ts["src/executeRuntimeFlowCapabilityAsync.ts"]
|
|
11
14
|
module_src_index_ts["src/index.ts"]
|
|
@@ -53,9 +56,13 @@ graph LR
|
|
|
53
56
|
module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"]
|
|
54
57
|
module_src_runtimeStateReactivity_test_tsx["src/runtimeStateReactivity.test.tsx"]
|
|
55
58
|
module_src_runtimeStructuredResultProjection_test_tsx["src/runtimeStructuredResultProjection.test.tsx"]
|
|
59
|
+
module_src_types_clipboard_ts["src/types/clipboard.ts"]
|
|
56
60
|
module_src_types_runtimeFlow_ts["src/types/runtimeFlow.ts"]
|
|
61
|
+
module_src_useClipboardWriter_ts["src/useClipboardWriter.ts"]
|
|
57
62
|
module_src_useRuntimeMediaProps_ts["src/useRuntimeMediaProps.ts"]
|
|
58
63
|
module_src_useRuntimeStateBindings_ts["src/useRuntimeStateBindings.ts"]
|
|
64
|
+
module_src_writeClipboardTextAsync_test_ts["src/writeClipboardTextAsync.test.ts"]
|
|
65
|
+
module_src_writeClipboardTextAsync_ts["src/writeClipboardTextAsync.ts"]
|
|
59
66
|
module_tests_reactNativeWebCompatibility_fixture_tsx["tests/reactNativeWebCompatibility.fixture.tsx"]
|
|
60
67
|
module_tests_reactNativeWebCompatibility_test_ts["tests/reactNativeWebCompatibility.test.ts"]
|
|
61
68
|
module_tests_runtime_test_ts["tests/runtime.test.ts"]
|
|
@@ -64,6 +71,11 @@ graph LR
|
|
|
64
71
|
module_src_apiCapabilities_test_ts --> module_src_apiCapabilities_ts
|
|
65
72
|
module_src_capabilities_resolveRuntimeContextCapability_test_ts --> module_src_capabilities_resolveRuntimeContextCapability_ts
|
|
66
73
|
module_src_capabilities_resolveRuntimeContextCapability_ts --> module_src_capabilities_index_ts
|
|
74
|
+
module_src_ClipboardWriterContext_tsx --> module_src_types_clipboard_ts
|
|
75
|
+
module_src_ClipboardWriterProvider_test_tsx --> module_src_ClipboardWriterProvider_tsx
|
|
76
|
+
module_src_ClipboardWriterProvider_test_tsx --> module_src_useClipboardWriter_ts
|
|
77
|
+
module_src_ClipboardWriterProvider_tsx --> module_src_ClipboardWriterContext_tsx
|
|
78
|
+
module_src_ClipboardWriterProvider_tsx --> module_src_types_clipboard_ts
|
|
67
79
|
module_src_executeRuntimeFlowCapabilityAsync_ts --> module_src_runtimeBindings_ts
|
|
68
80
|
module_src_executeRuntimeFlowCapabilityAsync_ts --> module_src_types_runtimeFlow_ts
|
|
69
81
|
module_src_ManifestContext_tsx --> module_src_runtimeStateAdapter_ts
|
|
@@ -156,7 +168,11 @@ graph LR
|
|
|
156
168
|
module_src_runtimeStateReactivity_test_tsx --> module_src_runtimeStateAdapter_ts
|
|
157
169
|
module_src_runtimeStructuredResultProjection_test_tsx --> module_src_registry_tsx
|
|
158
170
|
module_src_runtimeStructuredResultProjection_test_tsx --> module_src_runtimeBindings_ts
|
|
171
|
+
module_src_useClipboardWriter_ts --> module_src_ClipboardWriterContext_tsx
|
|
172
|
+
module_src_useClipboardWriter_ts --> module_src_types_clipboard_ts
|
|
159
173
|
module_src_useRuntimeMediaProps_ts --> module_src_runtimeMedia_ts
|
|
174
|
+
module_src_writeClipboardTextAsync_test_ts --> module_src_writeClipboardTextAsync_ts
|
|
175
|
+
module_src_writeClipboardTextAsync_ts --> module_src_types_clipboard_ts
|
|
160
176
|
module_tests_reactNativeWebCompatibility_fixture_tsx --> module_src_RuntimeRenderer_tsx
|
|
161
177
|
module_tests_runtime_test_ts --> module_src_capabilities_index_ts
|
|
162
178
|
module_tests_runtime_test_ts --> module_src_runtimeManifest_ts
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
sequenceDiagram
|
|
2
|
+
participant participant_writeClipboardTextAsync as writeClipboardTextAsync
|
|
3
|
+
participant participant_writeTextAsync as writeTextAsync
|
|
4
|
+
participant_writeClipboardTextAsync->>participant_writeTextAsync: writer.writeTextAsync()
|
|
5
|
+
participant_writeTextAsync-->>participant_writeClipboardTextAsync: return
|