@ankhorage/runtime 5.7.8 → 5.7.9
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 +1 -1
- package/dist/RuntimeRenderer.d.ts.map +1 -1
- package/dist/RuntimeRenderer.js +1 -1
- package/dist/RuntimeRenderer.js.map +1 -1
- package/dist/RuntimeRendererPlatform.browser.d.ts +2 -0
- package/dist/RuntimeRendererPlatform.browser.d.ts.map +1 -0
- package/dist/RuntimeRendererPlatform.browser.js +2 -0
- package/dist/RuntimeRendererPlatform.browser.js.map +1 -0
- package/dist/RuntimeRendererPlatform.native.d.ts +2 -0
- package/dist/RuntimeRendererPlatform.native.d.ts.map +1 -0
- package/dist/RuntimeRendererPlatform.native.js +2 -0
- package/dist/RuntimeRendererPlatform.native.js.map +1 -0
- package/package.json +8 -1
- package/paradox/badges/npm.svg +3 -3
- package/paradox/components.md +1 -1
- package/paradox/diagrams/architecture-overview.mmd +5 -0
- package/paradox/diagrams/export-graph.mmd +2 -0
- package/paradox/diagrams/module-relationships.mmd +3 -0
- package/paradox/exports.json +2 -2
- package/paradox/exports.md +2 -2
- package/paradox/index.html +38 -8
- package/paradox/paradox.json +56 -6
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
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimeRenderer.d.ts","sourceRoot":"","sources":["../src/RuntimeRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,4BAA4B,EAC5B,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,EACZ,MAAM,EACP,MA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,CAAC,EAAE,kBAAkB,CAAC;IACjC,iBAAiB,CAAC,EAAE,yBAAyB,CAAC;IAC9C,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,iBAAiB,CAAC,EAAE,yBAAyB,CAAC;IAC9C,sBAAsB,CAAC,EAAE,8BAA8B,CAAC;IACxD,aAAa,CAAC,EAAE,CAAC,WAAW,EAAE,SAAS,oBAAoB,EAAE,KAAK,IAAI,CAAC;CACxE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,qBAsW1D"}
|
package/dist/RuntimeRenderer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { StyleSheet, Text, View } from '
|
|
3
|
+
import { StyleSheet, Text, View } from '#runtime-renderer-platform';
|
|
4
4
|
import { getUnknownComponentDiagnostic, resolveRenderedChildren, resolveRuntimeRegistry, } from './rendering.js';
|
|
5
5
|
import { wrapRuntimeEventProps, } from './runtimeActionRegistry.js';
|
|
6
6
|
import { dispatchRuntimeComponentEventWithReporting } from './runtimeEventExecution.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimeRenderer.js","sourceRoot":"","sources":["../src/RuntimeRenderer.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGtD,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAGL,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,0CAA0C,EAAE,MAAM,4BAA4B,CAAC;AACxF,OAAO,EACL,yCAAyC,EACzC,oCAAoC,EACpC,kCAAkC,GACnC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAC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AAC;QAChD,YAAY,EAAE,eAAe,CAAC,QAA2B;QACzD,gBAAgB;KACjB,CAAC,CAAC;IAEH,IAAI,OAAO,GAAoB,KAAC,SAAS,OAAK,eAAe,YAAG,iBAAiB,GAAa,CAAC;IAC/F,IAAI,eAAe,CAAC,QAAQ,EAAE,CAAC;QAC7B,OAAO,GAAG,eAAe,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,OAAO,CACL,KAAC,mCAAmC,IAAC,KAAK,EAAE,oBAAoB,YAC9D,KAAC,6BAA6B,IAAC,KAAK,EAAE,cAAc,YACjD,OAAO,GACsB,GACI,CACvC,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,QAAQ,EAAE;QACR,WAAW,EAAE,SAAS;QACtB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,CAAC;QACd,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,CAAC;KACX;IACD,UAAU,EAAE;QACV,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,KAAK;QACjB,YAAY,EAAE,CAAC;KAChB;IACD,SAAS,EAAE;QACT,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,KAAK;KAClB;IACD,SAAS,EAAE;QACT,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,EAAE;QACZ,SAAS,EAAE,CAAC;KACb;CACF,CAAC,CAAC","sourcesContent":["import type {\n BindingValue,\n ComponentDataBindingRegistry,\n DataSourceDiagnostic,\n DbAdapter,\n DbRealtimeAdapter,\n MediaAssetRegistry,\n StateAdapter,\n UiNode,\n} from '@ankhorage/contracts';\nimport React from 'react';\nimport { StyleSheet, Text, View } from 'react-native';\n\nimport type { ComponentRegistry } from './registry.js';\nimport {\n getUnknownComponentDiagnostic,\n resolveRenderedChildren,\n resolveRuntimeRegistry,\n} from './rendering.js';\nimport {\n type RuntimeComponentEventDispatchArgs,\n type RuntimeEventCapabilityResolver,\n wrapRuntimeEventProps,\n} from './runtimeActionRegistry.js';\nimport type { RuntimeBindingResultCache, RuntimeCapabilityExecutor } from './runtimeBindings.js';\nimport { dispatchRuntimeComponentEventWithReporting } from './runtimeEventExecution.js';\nimport {\n createRuntimeEventOperationBindingContext,\n createRuntimeEventOperationLifecycle,\n IDLE_RUNTIME_EVENT_OPERATION_STATE,\n} from './runtimeEventOperationLifecycle.js';\nimport type { RuntimeMediaAssetResolver } from './runtimeMedia.js';\nimport {\n RuntimeMediaResolutionCacheProvider,\n useRuntimeMediaResolutionCache,\n} from './runtimeMediaCache.js';\nimport { resolveRuntimeNodeProps } from './runtimeNodeProps.js';\nimport {\n mergeRuntimeRendererConfig,\n RuntimeRendererConfigProvider,\n type RuntimeRendererWrapArgs,\n useRuntimeRendererConfig,\n} from './RuntimeRendererConfig.js';\nimport {\n createRuntimeRepeatBindingContext,\n resolveRuntimeRepeatItemKey,\n resolveRuntimeRepeatItemsAsync,\n resolveRuntimeRepeatItemsSync,\n} from './runtimeRepeat.js';\nimport { createRepeatDiagnosticsKey } from './runtimeRepeatDiagnostics.js';\nimport { shouldRenderRuntimeRepeatEmptyState } from './runtimeRepeatEmptyState.js';\nimport { useRuntimeMediaProps } from './useRuntimeMediaProps.js';\nimport { useRuntimeStateBindings } from './useRuntimeStateBindings.js';\n\nexport interface RuntimeRendererProps {\n node: UiNode;\n isRoot?: boolean;\n registry?: ComponentRegistry;\n disableActions?: boolean;\n wrapNode?: (args: RuntimeRendererWrapArgs) => React.ReactNode;\n dbAdapter?: DbAdapter;\n dbRealtimeAdapter?: DbRealtimeAdapter;\n stateAdapter?: StateAdapter;\n bindingContext?: Record<string, unknown>;\n capabilityValues?: Readonly<Record<string, BindingValue | undefined>>;\n dataBindings?: ComponentDataBindingRegistry;\n mediaAssets?: MediaAssetRegistry;\n resolveMediaAsset?: RuntimeMediaAssetResolver;\n resultSlots?: RuntimeBindingResultCache;\n executeCapability?: RuntimeCapabilityExecutor;\n resolveEventCapability?: RuntimeEventCapabilityResolver;\n onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void;\n}\n\nexport function RuntimeRenderer(props: RuntimeRendererProps) {\n const {\n node,\n isRoot = false,\n registry,\n disableActions = false,\n wrapNode,\n dbAdapter,\n dbRealtimeAdapter,\n stateAdapter,\n bindingContext,\n capabilityValues,\n dataBindings,\n mediaAssets,\n resolveMediaAsset,\n resultSlots,\n executeCapability,\n resolveEventCapability,\n onDiagnostics,\n } = props;\n const inheritedConfig = useRuntimeRendererConfig();\n const [rootEventOperationState, setRootEventOperationState] = React.useState(\n IDLE_RUNTIME_EVENT_OPERATION_STATE,\n );\n const rootEventOperationLifecycle = React.useMemo(\n () => createRuntimeEventOperationLifecycle(setRootEventOperationState),\n [],\n );\n const eventOperationState = isRoot\n ? rootEventOperationState\n : inheritedConfig.eventOperationState;\n const rootBindingContext = React.useMemo(\n () =>\n mergeRuntimeRendererConfig(\n { bindingContext },\n { bindingContext: inheritedConfig.bindingContext },\n ).bindingContext,\n [bindingContext, inheritedConfig.bindingContext],\n );\n const effectiveBindingContext = React.useMemo(\n () =>\n isRoot && eventOperationState !== undefined\n ? createRuntimeEventOperationBindingContext(rootBindingContext, eventOperationState)\n : bindingContext,\n [bindingContext, eventOperationState, isRoot, rootBindingContext],\n );\n const mediaResolutionCache = useRuntimeMediaResolutionCache();\n const inheritedResultSlots = inheritedConfig.resultSlots;\n const [localResultSlots, setLocalResultSlots] = React.useState<RuntimeBindingResultCache>({});\n const writeLocalResultSlot = React.useCallback((key: string, value: BindingValue | undefined) => {\n setLocalResultSlots((currentResults) => ({\n ...currentResults,\n [key]: value,\n }));\n }, []);\n const effectiveResultSlots = React.useMemo(\n () => ({\n ...(inheritedResultSlots ?? {}),\n ...(resultSlots ?? {}),\n ...localResultSlots,\n }),\n [inheritedResultSlots, localResultSlots, resultSlots],\n );\n const explicitConfig = React.useMemo(\n () => ({\n bindingContext: effectiveBindingContext,\n capabilityValues,\n dataBindings,\n dbAdapter,\n dbRealtimeAdapter,\n disableActions,\n executeCapability,\n resolveEventCapability,\n mediaAssets,\n resultSlots: effectiveResultSlots,\n onDiagnostics,\n registry,\n resolveMediaAsset,\n stateAdapter,\n wrapNode,\n writeResultSlot: inheritedConfig.writeResultSlot ?? writeLocalResultSlot,\n eventOperationLifecycle: isRoot\n ? rootEventOperationLifecycle\n : inheritedConfig.eventOperationLifecycle,\n eventOperationState,\n }),\n [\n effectiveBindingContext,\n capabilityValues,\n dataBindings,\n dbAdapter,\n dbRealtimeAdapter,\n disableActions,\n executeCapability,\n resolveEventCapability,\n effectiveResultSlots,\n inheritedConfig.writeResultSlot,\n inheritedConfig.eventOperationLifecycle,\n isRoot,\n mediaAssets,\n onDiagnostics,\n registry,\n resolveMediaAsset,\n stateAdapter,\n wrapNode,\n writeLocalResultSlot,\n eventOperationState,\n rootEventOperationLifecycle,\n ],\n );\n const effectiveConfig = React.useMemo(\n () => mergeRuntimeRendererConfig(explicitConfig, inheritedConfig),\n [explicitConfig, inheritedConfig],\n );\n useRuntimeStateBindings({\n dataBindings: effectiveConfig.dataBindings,\n nodeId: node.id,\n repeatSource: node.repeat?.source,\n stateAdapter: effectiveConfig.stateAdapter,\n });\n const dispatchRuntimeEvent = React.useCallback(\n async (eventArgs: RuntimeComponentEventDispatchArgs) => {\n await dispatchRuntimeComponentEventWithReporting({\n ...eventArgs,\n dataBindings: eventArgs.dataBindings ?? effectiveConfig.dataBindings,\n executeCapability: eventArgs.executeCapability ?? effectiveConfig.executeCapability,\n onDiagnostics: effectiveConfig.onDiagnostics,\n resultSlots: eventArgs.resultSlots ?? effectiveConfig.resultSlots,\n stateAdapter: eventArgs.stateAdapter ?? effectiveConfig.stateAdapter,\n writeResultSlot: eventArgs.writeResultSlot ?? effectiveConfig.writeResultSlot,\n eventOperationLifecycle:\n eventArgs.eventOperationLifecycle ?? effectiveConfig.eventOperationLifecycle,\n });\n },\n [effectiveConfig],\n );\n const effectiveRegistry = React.useMemo(\n () =>\n resolveRuntimeRegistry({\n propRegistry: registry,\n configRegistry: effectiveConfig.registry,\n }),\n [effectiveConfig.registry, registry],\n );\n const Component = effectiveRegistry[node.type];\n\n const repeatSyncResult = (() => {\n const { repeat } = node;\n if (!repeat) {\n return null;\n }\n\n return resolveRuntimeRepeatItemsSync(repeat, {\n capabilityValues: effectiveConfig.capabilityValues,\n context: effectiveConfig.bindingContext,\n dataBindings: effectiveConfig.dataBindings,\n executeCapability: effectiveConfig.executeCapability,\n node,\n resultSlots: effectiveConfig.resultSlots,\n stateAdapter: effectiveConfig.stateAdapter,\n writeResultSlot: effectiveConfig.writeResultSlot,\n });\n })();\n const repeatRequest = React.useMemo(\n () =>\n node.repeat && repeatSyncResult?.status === 'pending'\n ? {\n context: effectiveConfig.bindingContext,\n capabilityValues: effectiveConfig.capabilityValues,\n dataBindings: effectiveConfig.dataBindings,\n executeCapability: effectiveConfig.executeCapability,\n node,\n repeat: node.repeat,\n resultSlots: effectiveConfig.resultSlots,\n stateAdapter: effectiveConfig.stateAdapter,\n writeResultSlot: effectiveConfig.writeResultSlot,\n }\n : null,\n [\n node,\n repeatSyncResult?.status,\n effectiveConfig.bindingContext,\n effectiveConfig.capabilityValues,\n effectiveConfig.dataBindings,\n effectiveConfig.executeCapability,\n effectiveConfig.resultSlots,\n effectiveConfig.stateAdapter,\n effectiveConfig.writeResultSlot,\n ],\n );\n const repeatRequestToken = React.useMemo(() => (repeatRequest ? {} : null), [repeatRequest]);\n const [asyncRepeatResult, setAsyncRepeatResult] = React.useState<{\n readonly requestToken: object;\n readonly items: readonly BindingValue[];\n readonly diagnostics: readonly DataSourceDiagnostic[];\n } | null>(null);\n const repeatRequestIdRef = React.useRef(0);\n const lastRepeatDiagnosticsKeyRef = React.useRef<string | null>(null);\n\n React.useEffect(() => {\n repeatRequestIdRef.current += 1;\n const requestId = repeatRequestIdRef.current;\n if (repeatRequest === null || repeatRequestToken === null) {\n return undefined;\n }\n\n void (async () => {\n const result = await resolveRuntimeRepeatItemsAsync(repeatRequest.repeat, {\n capabilityValues: repeatRequest.capabilityValues,\n context: repeatRequest.context,\n dataBindings: repeatRequest.dataBindings,\n executeCapability: repeatRequest.executeCapability,\n node: repeatRequest.node,\n resultSlots: repeatRequest.resultSlots,\n stateAdapter: repeatRequest.stateAdapter,\n writeResultSlot: repeatRequest.writeResultSlot,\n });\n\n if (repeatRequestIdRef.current !== requestId) {\n return;\n }\n\n setAsyncRepeatResult({ ...result, requestToken: repeatRequestToken });\n })();\n\n return () => {\n repeatRequestIdRef.current += 1;\n };\n }, [repeatRequest, repeatRequestToken]);\n const currentAsyncRepeatResult =\n asyncRepeatResult?.requestToken === repeatRequestToken ? asyncRepeatResult : null;\n const repeatDiagnostics =\n repeatSyncResult?.status === 'ready'\n ? repeatSyncResult.diagnostics\n : currentAsyncRepeatResult?.diagnostics;\n\n React.useEffect(() => {\n if (!node.repeat || repeatDiagnostics === undefined) {\n return;\n }\n\n const diagnosticsKey = createRepeatDiagnosticsKey(node.id, repeatDiagnostics);\n if (lastRepeatDiagnosticsKeyRef.current === diagnosticsKey) {\n return;\n }\n\n lastRepeatDiagnosticsKeyRef.current = diagnosticsKey;\n effectiveConfig.onDiagnostics?.(repeatDiagnostics);\n }, [effectiveConfig, node, repeatDiagnostics]);\n\n const bindingResolvedProps = resolveRuntimeNodeProps({\n bindingContext: effectiveConfig.bindingContext,\n capabilityValues: effectiveConfig.capabilityValues,\n dataBindings: effectiveConfig.dataBindings,\n dbAdapter: effectiveConfig.dbAdapter,\n dbRealtimeAdapter: effectiveConfig.dbRealtimeAdapter,\n node,\n resultSlots: effectiveConfig.resultSlots,\n stateAdapter: effectiveConfig.stateAdapter,\n });\n const mediaResolvedProps = useRuntimeMediaProps({\n cache: mediaResolutionCache,\n mediaAssets: effectiveConfig.mediaAssets,\n props: bindingResolvedProps,\n resolveMediaAsset: effectiveConfig.resolveMediaAsset,\n });\n const resolvedProps = effectiveConfig.resolveNodeProps\n ? effectiveConfig.resolveNodeProps({ node, props: mediaResolvedProps })\n : mediaResolvedProps;\n\n if (!Component) {\n const diagnostic = getUnknownComponentDiagnostic(node.type, effectiveRegistry);\n return (\n <View style={styles.errorBox}>\n <Text style={styles.errorTitle}>{diagnostic.title}</Text>\n <Text style={styles.errorText}>{diagnostic.suggestion}</Text>\n <Text style={styles.errorMeta}>{diagnostic.detail}</Text>\n </View>\n );\n }\n\n const repeatItems =\n repeatSyncResult?.status === 'ready' ? repeatSyncResult.items : currentAsyncRepeatResult?.items;\n const shouldRenderRepeatEmptyState = shouldRenderRuntimeRepeatEmptyState({\n diagnostics: repeatDiagnostics,\n items: repeatItems,\n status:\n repeatSyncResult?.status === 'ready'\n ? 'ready'\n : repeatSyncResult?.status === 'pending'\n ? 'pending'\n : currentAsyncRepeatResult\n ? 'ready'\n : undefined,\n });\n const renderedChildren = node.repeat\n ? repeatItems && repeatItems.length > 0\n ? repeatItems.flatMap((item, itemIndex) =>\n (node.children ?? []).map((child) => {\n const itemAlias = node.repeat?.itemAlias ?? 'item';\n const repeatKey = resolveRuntimeRepeatItemKey({\n item,\n itemAlias,\n index: itemIndex,\n keyPath: node.repeat?.keyPath,\n });\n\n return (\n <RuntimeRenderer\n key={`${child.id}:${String(repeatKey)}`}\n node={child}\n registry={effectiveRegistry}\n bindingContext={createRuntimeRepeatBindingContext({\n baseContext: effectiveConfig.bindingContext,\n item,\n itemAlias,\n })}\n />\n );\n }),\n )\n : shouldRenderRepeatEmptyState\n ? node.repeat.empty?.map((child) => (\n <RuntimeRenderer key={child.id} node={child} registry={effectiveRegistry} />\n ))\n : undefined\n : node.children?.map((child) => (\n <RuntimeRenderer key={child.id} node={child} registry={effectiveRegistry} />\n ));\n\n const propsWithEvents = wrapRuntimeEventProps({\n context: effectiveConfig.bindingContext,\n dataBindings: effectiveConfig.dataBindings,\n props: resolvedProps,\n disableActions: effectiveConfig.disableActions === true,\n dispatchComponentEvent: dispatchRuntimeEvent,\n node,\n resultSlots: effectiveConfig.resultSlots,\n resolveEventCapability: effectiveConfig.resolveEventCapability,\n });\n\n const componentChildren = resolveRenderedChildren({\n propChildren: propsWithEvents.children as React.ReactNode,\n renderedChildren,\n });\n\n let content: React.ReactNode = <Component {...propsWithEvents}>{componentChildren}</Component>;\n if (effectiveConfig.wrapNode) {\n content = effectiveConfig.wrapNode({ node, rendered: content, isRoot });\n }\n\n return (\n <RuntimeMediaResolutionCacheProvider value={mediaResolutionCache}>\n <RuntimeRendererConfigProvider value={explicitConfig}>\n {content}\n </RuntimeRendererConfigProvider>\n </RuntimeMediaResolutionCacheProvider>\n );\n}\n\nconst styles = StyleSheet.create({\n errorBox: {\n borderColor: '#ef4444',\n borderRadius: 8,\n borderWidth: 1,\n margin: 8,\n padding: 8,\n },\n errorTitle: {\n color: '#991b1b',\n fontSize: 13,\n fontWeight: '700',\n marginBottom: 4,\n },\n errorText: {\n color: '#ef4444',\n fontWeight: '600',\n },\n errorMeta: {\n color: '#7f1d1d',\n fontSize: 12,\n marginTop: 4,\n },\n});\n"]}
|
|
1
|
+
{"version":3,"file":"RuntimeRenderer.js","sourceRoot":"","sources":["../src/RuntimeRenderer.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAGpE,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAGL,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,0CAA0C,EAAE,MAAM,4BAA4B,CAAC;AACxF,OAAO,EACL,yCAAyC,EACzC,oCAAoC,EACpC,kCAAkC,GACnC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,mCAAmC,EACnC,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,uBA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IAEH,IAAI,OAAO,GAAoB,KAAC,SAAS,OAAK,eAAe,YAAG,iBAAiB,GAAa,CAAC;IAC/F,IAAI,eAAe,CAAC,QAAQ,EAAE,CAAC;QAC7B,OAAO,GAAG,eAAe,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,OAAO,CACL,KAAC,mCAAmC,IAAC,KAAK,EAAE,oBAAoB,YAC9D,KAAC,6BAA6B,IAAC,KAAK,EAAE,cAAc,YACjD,OAAO,GACsB,GACI,CACvC,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,QAAQ,EAAE;QACR,WAAW,EAAE,SAAS;QACtB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,CAAC;QACd,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,CAAC;KACX;IACD,UAAU,EAAE;QACV,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,KAAK;QACjB,YAAY,EAAE,CAAC;KAChB;IACD,SAAS,EAAE;QACT,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,KAAK;KAClB;IACD,SAAS,EAAE;QACT,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,EAAE;QACZ,SAAS,EAAE,CAAC;KACb;CACF,CAAC,CAAC","sourcesContent":["import type {\n BindingValue,\n ComponentDataBindingRegistry,\n DataSourceDiagnostic,\n DbAdapter,\n DbRealtimeAdapter,\n MediaAssetRegistry,\n StateAdapter,\n UiNode,\n} from '@ankhorage/contracts';\nimport React from 'react';\n\nimport { StyleSheet, Text, View } from '#runtime-renderer-platform';\n\nimport type { ComponentRegistry } from './registry.js';\nimport {\n getUnknownComponentDiagnostic,\n resolveRenderedChildren,\n resolveRuntimeRegistry,\n} from './rendering.js';\nimport {\n type RuntimeComponentEventDispatchArgs,\n type RuntimeEventCapabilityResolver,\n wrapRuntimeEventProps,\n} from './runtimeActionRegistry.js';\nimport type { RuntimeBindingResultCache, RuntimeCapabilityExecutor } from './runtimeBindings.js';\nimport { dispatchRuntimeComponentEventWithReporting } from './runtimeEventExecution.js';\nimport {\n createRuntimeEventOperationBindingContext,\n createRuntimeEventOperationLifecycle,\n IDLE_RUNTIME_EVENT_OPERATION_STATE,\n} from './runtimeEventOperationLifecycle.js';\nimport type { RuntimeMediaAssetResolver } from './runtimeMedia.js';\nimport {\n RuntimeMediaResolutionCacheProvider,\n useRuntimeMediaResolutionCache,\n} from './runtimeMediaCache.js';\nimport { resolveRuntimeNodeProps } from './runtimeNodeProps.js';\nimport {\n mergeRuntimeRendererConfig,\n RuntimeRendererConfigProvider,\n type RuntimeRendererWrapArgs,\n useRuntimeRendererConfig,\n} from './RuntimeRendererConfig.js';\nimport {\n createRuntimeRepeatBindingContext,\n resolveRuntimeRepeatItemKey,\n resolveRuntimeRepeatItemsAsync,\n resolveRuntimeRepeatItemsSync,\n} from './runtimeRepeat.js';\nimport { createRepeatDiagnosticsKey } from './runtimeRepeatDiagnostics.js';\nimport { shouldRenderRuntimeRepeatEmptyState } from './runtimeRepeatEmptyState.js';\nimport { useRuntimeMediaProps } from './useRuntimeMediaProps.js';\nimport { useRuntimeStateBindings } from './useRuntimeStateBindings.js';\n\nexport interface RuntimeRendererProps {\n node: UiNode;\n isRoot?: boolean;\n registry?: ComponentRegistry;\n disableActions?: boolean;\n wrapNode?: (args: RuntimeRendererWrapArgs) => React.ReactNode;\n dbAdapter?: DbAdapter;\n dbRealtimeAdapter?: DbRealtimeAdapter;\n stateAdapter?: StateAdapter;\n bindingContext?: Record<string, unknown>;\n capabilityValues?: Readonly<Record<string, BindingValue | undefined>>;\n dataBindings?: ComponentDataBindingRegistry;\n mediaAssets?: MediaAssetRegistry;\n resolveMediaAsset?: RuntimeMediaAssetResolver;\n resultSlots?: RuntimeBindingResultCache;\n executeCapability?: RuntimeCapabilityExecutor;\n resolveEventCapability?: RuntimeEventCapabilityResolver;\n onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void;\n}\n\nexport function RuntimeRenderer(props: RuntimeRendererProps) {\n const {\n node,\n isRoot = false,\n registry,\n disableActions = false,\n wrapNode,\n dbAdapter,\n dbRealtimeAdapter,\n stateAdapter,\n bindingContext,\n capabilityValues,\n dataBindings,\n mediaAssets,\n resolveMediaAsset,\n resultSlots,\n executeCapability,\n resolveEventCapability,\n onDiagnostics,\n } = props;\n const inheritedConfig = useRuntimeRendererConfig();\n const [rootEventOperationState, setRootEventOperationState] = React.useState(\n IDLE_RUNTIME_EVENT_OPERATION_STATE,\n );\n const rootEventOperationLifecycle = React.useMemo(\n () => createRuntimeEventOperationLifecycle(setRootEventOperationState),\n [],\n );\n const eventOperationState = isRoot\n ? rootEventOperationState\n : inheritedConfig.eventOperationState;\n const rootBindingContext = React.useMemo(\n () =>\n mergeRuntimeRendererConfig(\n { bindingContext },\n { bindingContext: inheritedConfig.bindingContext },\n ).bindingContext,\n [bindingContext, inheritedConfig.bindingContext],\n );\n const effectiveBindingContext = React.useMemo(\n () =>\n isRoot && eventOperationState !== undefined\n ? createRuntimeEventOperationBindingContext(rootBindingContext, eventOperationState)\n : bindingContext,\n [bindingContext, eventOperationState, isRoot, rootBindingContext],\n );\n const mediaResolutionCache = useRuntimeMediaResolutionCache();\n const inheritedResultSlots = inheritedConfig.resultSlots;\n const [localResultSlots, setLocalResultSlots] = React.useState<RuntimeBindingResultCache>({});\n const writeLocalResultSlot = React.useCallback((key: string, value: BindingValue | undefined) => {\n setLocalResultSlots((currentResults) => ({\n ...currentResults,\n [key]: value,\n }));\n }, []);\n const effectiveResultSlots = React.useMemo(\n () => ({\n ...(inheritedResultSlots ?? {}),\n ...(resultSlots ?? {}),\n ...localResultSlots,\n }),\n [inheritedResultSlots, localResultSlots, resultSlots],\n );\n const explicitConfig = React.useMemo(\n () => ({\n bindingContext: effectiveBindingContext,\n capabilityValues,\n dataBindings,\n dbAdapter,\n dbRealtimeAdapter,\n disableActions,\n executeCapability,\n resolveEventCapability,\n mediaAssets,\n resultSlots: effectiveResultSlots,\n onDiagnostics,\n registry,\n resolveMediaAsset,\n stateAdapter,\n wrapNode,\n writeResultSlot: inheritedConfig.writeResultSlot ?? writeLocalResultSlot,\n eventOperationLifecycle: isRoot\n ? rootEventOperationLifecycle\n : inheritedConfig.eventOperationLifecycle,\n eventOperationState,\n }),\n [\n effectiveBindingContext,\n capabilityValues,\n dataBindings,\n dbAdapter,\n dbRealtimeAdapter,\n disableActions,\n executeCapability,\n resolveEventCapability,\n effectiveResultSlots,\n inheritedConfig.writeResultSlot,\n inheritedConfig.eventOperationLifecycle,\n isRoot,\n mediaAssets,\n onDiagnostics,\n registry,\n resolveMediaAsset,\n stateAdapter,\n wrapNode,\n writeLocalResultSlot,\n eventOperationState,\n rootEventOperationLifecycle,\n ],\n );\n const effectiveConfig = React.useMemo(\n () => mergeRuntimeRendererConfig(explicitConfig, inheritedConfig),\n [explicitConfig, inheritedConfig],\n );\n useRuntimeStateBindings({\n dataBindings: effectiveConfig.dataBindings,\n nodeId: node.id,\n repeatSource: node.repeat?.source,\n stateAdapter: effectiveConfig.stateAdapter,\n });\n const dispatchRuntimeEvent = React.useCallback(\n async (eventArgs: RuntimeComponentEventDispatchArgs) => {\n await dispatchRuntimeComponentEventWithReporting({\n ...eventArgs,\n dataBindings: eventArgs.dataBindings ?? effectiveConfig.dataBindings,\n executeCapability: eventArgs.executeCapability ?? effectiveConfig.executeCapability,\n onDiagnostics: effectiveConfig.onDiagnostics,\n resultSlots: eventArgs.resultSlots ?? effectiveConfig.resultSlots,\n stateAdapter: eventArgs.stateAdapter ?? effectiveConfig.stateAdapter,\n writeResultSlot: eventArgs.writeResultSlot ?? effectiveConfig.writeResultSlot,\n eventOperationLifecycle:\n eventArgs.eventOperationLifecycle ?? effectiveConfig.eventOperationLifecycle,\n });\n },\n [effectiveConfig],\n );\n const effectiveRegistry = React.useMemo(\n () =>\n resolveRuntimeRegistry({\n propRegistry: registry,\n configRegistry: effectiveConfig.registry,\n }),\n [effectiveConfig.registry, registry],\n );\n const Component = effectiveRegistry[node.type];\n\n const repeatSyncResult = (() => {\n const { repeat } = node;\n if (!repeat) {\n return null;\n }\n\n return resolveRuntimeRepeatItemsSync(repeat, {\n capabilityValues: effectiveConfig.capabilityValues,\n context: effectiveConfig.bindingContext,\n dataBindings: effectiveConfig.dataBindings,\n executeCapability: effectiveConfig.executeCapability,\n node,\n resultSlots: effectiveConfig.resultSlots,\n stateAdapter: effectiveConfig.stateAdapter,\n writeResultSlot: effectiveConfig.writeResultSlot,\n });\n })();\n const repeatRequest = React.useMemo(\n () =>\n node.repeat && repeatSyncResult?.status === 'pending'\n ? {\n context: effectiveConfig.bindingContext,\n capabilityValues: effectiveConfig.capabilityValues,\n dataBindings: effectiveConfig.dataBindings,\n executeCapability: effectiveConfig.executeCapability,\n node,\n repeat: node.repeat,\n resultSlots: effectiveConfig.resultSlots,\n stateAdapter: effectiveConfig.stateAdapter,\n writeResultSlot: effectiveConfig.writeResultSlot,\n }\n : null,\n [\n node,\n repeatSyncResult?.status,\n effectiveConfig.bindingContext,\n effectiveConfig.capabilityValues,\n effectiveConfig.dataBindings,\n effectiveConfig.executeCapability,\n effectiveConfig.resultSlots,\n effectiveConfig.stateAdapter,\n effectiveConfig.writeResultSlot,\n ],\n );\n const repeatRequestToken = React.useMemo(() => (repeatRequest ? {} : null), [repeatRequest]);\n const [asyncRepeatResult, setAsyncRepeatResult] = React.useState<{\n readonly requestToken: object;\n readonly items: readonly BindingValue[];\n readonly diagnostics: readonly DataSourceDiagnostic[];\n } | null>(null);\n const repeatRequestIdRef = React.useRef(0);\n const lastRepeatDiagnosticsKeyRef = React.useRef<string | null>(null);\n\n React.useEffect(() => {\n repeatRequestIdRef.current += 1;\n const requestId = repeatRequestIdRef.current;\n if (repeatRequest === null || repeatRequestToken === null) {\n return undefined;\n }\n\n void (async () => {\n const result = await resolveRuntimeRepeatItemsAsync(repeatRequest.repeat, {\n capabilityValues: repeatRequest.capabilityValues,\n context: repeatRequest.context,\n dataBindings: repeatRequest.dataBindings,\n executeCapability: repeatRequest.executeCapability,\n node: repeatRequest.node,\n resultSlots: repeatRequest.resultSlots,\n stateAdapter: repeatRequest.stateAdapter,\n writeResultSlot: repeatRequest.writeResultSlot,\n });\n\n if (repeatRequestIdRef.current !== requestId) {\n return;\n }\n\n setAsyncRepeatResult({ ...result, requestToken: repeatRequestToken });\n })();\n\n return () => {\n repeatRequestIdRef.current += 1;\n };\n }, [repeatRequest, repeatRequestToken]);\n const currentAsyncRepeatResult =\n asyncRepeatResult?.requestToken === repeatRequestToken ? asyncRepeatResult : null;\n const repeatDiagnostics =\n repeatSyncResult?.status === 'ready'\n ? repeatSyncResult.diagnostics\n : currentAsyncRepeatResult?.diagnostics;\n\n React.useEffect(() => {\n if (!node.repeat || repeatDiagnostics === undefined) {\n return;\n }\n\n const diagnosticsKey = createRepeatDiagnosticsKey(node.id, repeatDiagnostics);\n if (lastRepeatDiagnosticsKeyRef.current === diagnosticsKey) {\n return;\n }\n\n lastRepeatDiagnosticsKeyRef.current = diagnosticsKey;\n effectiveConfig.onDiagnostics?.(repeatDiagnostics);\n }, [effectiveConfig, node, repeatDiagnostics]);\n\n const bindingResolvedProps = resolveRuntimeNodeProps({\n bindingContext: effectiveConfig.bindingContext,\n capabilityValues: effectiveConfig.capabilityValues,\n dataBindings: effectiveConfig.dataBindings,\n dbAdapter: effectiveConfig.dbAdapter,\n dbRealtimeAdapter: effectiveConfig.dbRealtimeAdapter,\n node,\n resultSlots: effectiveConfig.resultSlots,\n stateAdapter: effectiveConfig.stateAdapter,\n });\n const mediaResolvedProps = useRuntimeMediaProps({\n cache: mediaResolutionCache,\n mediaAssets: effectiveConfig.mediaAssets,\n props: bindingResolvedProps,\n resolveMediaAsset: effectiveConfig.resolveMediaAsset,\n });\n const resolvedProps = effectiveConfig.resolveNodeProps\n ? effectiveConfig.resolveNodeProps({ node, props: mediaResolvedProps })\n : mediaResolvedProps;\n\n if (!Component) {\n const diagnostic = getUnknownComponentDiagnostic(node.type, effectiveRegistry);\n return (\n <View style={styles.errorBox}>\n <Text style={styles.errorTitle}>{diagnostic.title}</Text>\n <Text style={styles.errorText}>{diagnostic.suggestion}</Text>\n <Text style={styles.errorMeta}>{diagnostic.detail}</Text>\n </View>\n );\n }\n\n const repeatItems =\n repeatSyncResult?.status === 'ready' ? repeatSyncResult.items : currentAsyncRepeatResult?.items;\n const shouldRenderRepeatEmptyState = shouldRenderRuntimeRepeatEmptyState({\n diagnostics: repeatDiagnostics,\n items: repeatItems,\n status:\n repeatSyncResult?.status === 'ready'\n ? 'ready'\n : repeatSyncResult?.status === 'pending'\n ? 'pending'\n : currentAsyncRepeatResult\n ? 'ready'\n : undefined,\n });\n const renderedChildren = node.repeat\n ? repeatItems && repeatItems.length > 0\n ? repeatItems.flatMap((item, itemIndex) =>\n (node.children ?? []).map((child) => {\n const itemAlias = node.repeat?.itemAlias ?? 'item';\n const repeatKey = resolveRuntimeRepeatItemKey({\n item,\n itemAlias,\n index: itemIndex,\n keyPath: node.repeat?.keyPath,\n });\n\n return (\n <RuntimeRenderer\n key={`${child.id}:${String(repeatKey)}`}\n node={child}\n registry={effectiveRegistry}\n bindingContext={createRuntimeRepeatBindingContext({\n baseContext: effectiveConfig.bindingContext,\n item,\n itemAlias,\n })}\n />\n );\n }),\n )\n : shouldRenderRepeatEmptyState\n ? node.repeat.empty?.map((child) => (\n <RuntimeRenderer key={child.id} node={child} registry={effectiveRegistry} />\n ))\n : undefined\n : node.children?.map((child) => (\n <RuntimeRenderer key={child.id} node={child} registry={effectiveRegistry} />\n ));\n\n const propsWithEvents = wrapRuntimeEventProps({\n context: effectiveConfig.bindingContext,\n dataBindings: effectiveConfig.dataBindings,\n props: resolvedProps,\n disableActions: effectiveConfig.disableActions === true,\n dispatchComponentEvent: dispatchRuntimeEvent,\n node,\n resultSlots: effectiveConfig.resultSlots,\n resolveEventCapability: effectiveConfig.resolveEventCapability,\n });\n\n const componentChildren = resolveRenderedChildren({\n propChildren: propsWithEvents.children as React.ReactNode,\n renderedChildren,\n });\n\n let content: React.ReactNode = <Component {...propsWithEvents}>{componentChildren}</Component>;\n if (effectiveConfig.wrapNode) {\n content = effectiveConfig.wrapNode({ node, rendered: content, isRoot });\n }\n\n return (\n <RuntimeMediaResolutionCacheProvider value={mediaResolutionCache}>\n <RuntimeRendererConfigProvider value={explicitConfig}>\n {content}\n </RuntimeRendererConfigProvider>\n </RuntimeMediaResolutionCacheProvider>\n );\n}\n\nconst styles = StyleSheet.create({\n errorBox: {\n borderColor: '#ef4444',\n borderRadius: 8,\n borderWidth: 1,\n margin: 8,\n padding: 8,\n },\n errorTitle: {\n color: '#991b1b',\n fontSize: 13,\n fontWeight: '700',\n marginBottom: 4,\n },\n errorText: {\n color: '#ef4444',\n fontWeight: '600',\n },\n errorMeta: {\n color: '#7f1d1d',\n fontSize: 12,\n marginTop: 4,\n },\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuntimeRendererPlatform.browser.d.ts","sourceRoot":"","sources":["../src/RuntimeRendererPlatform.browser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuntimeRendererPlatform.browser.js","sourceRoot":"","sources":["../src/RuntimeRendererPlatform.browser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["export { StyleSheet, Text, View } from 'react-native-web';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuntimeRendererPlatform.native.d.ts","sourceRoot":"","sources":["../src/RuntimeRendererPlatform.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuntimeRendererPlatform.native.js","sourceRoot":"","sources":["../src/RuntimeRendererPlatform.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC","sourcesContent":["export { StyleSheet, Text, View } from 'react-native';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/runtime",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.9",
|
|
4
4
|
"description": "Platform-neutral runtime renderer, contracts, and helpers for Ankhorage generated apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -50,6 +50,13 @@
|
|
|
50
50
|
"import": "./dist/apiCapabilities.js"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
+
"imports": {
|
|
54
|
+
"#runtime-renderer-platform": {
|
|
55
|
+
"react-native": "./dist/RuntimeRendererPlatform.native.js",
|
|
56
|
+
"browser": "./dist/RuntimeRendererPlatform.browser.js",
|
|
57
|
+
"default": "./dist/RuntimeRendererPlatform.native.js"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
53
60
|
"files": [
|
|
54
61
|
"dist",
|
|
55
62
|
"README.md",
|
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.7.
|
|
2
|
-
<title>npm: v5.7.
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="90" height="20" role="img" aria-label="npm: v5.7.9">
|
|
2
|
+
<title>npm: v5.7.9</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.7.
|
|
6
|
+
<text x="64" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">v5.7.9</text>
|
|
7
7
|
</svg>
|
package/paradox/components.md
CHANGED
|
@@ -161,6 +161,7 @@ graph TD
|
|
|
161
161
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeMediaCache_tsx
|
|
162
162
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeNodeProps_ts
|
|
163
163
|
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererConfig_tsx
|
|
164
|
+
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererPlatform_native_ts
|
|
164
165
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeat_ts
|
|
165
166
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatDiagnostics_ts
|
|
166
167
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatEmptyState_ts
|
|
@@ -174,6 +175,10 @@ graph TD
|
|
|
174
175
|
module_src_RuntimeRendererConfig_tsx --> module_src_runtimeEventOperationLifecycle_ts
|
|
175
176
|
module_src_RuntimeRendererConfig_tsx --> module_src_runtimeMedia_ts
|
|
176
177
|
module_src_RuntimeRendererConfig_tsx --> module_src_types_runtimeFlow_ts
|
|
178
|
+
module_src_RuntimeRendererPlatform_browser_ts["src/RuntimeRendererPlatform.browser.ts"]
|
|
179
|
+
package__ankhorage_runtime -.-> module_src_RuntimeRendererPlatform_browser_ts
|
|
180
|
+
module_src_RuntimeRendererPlatform_native_ts["src/RuntimeRendererPlatform.native.ts"]
|
|
181
|
+
package__ankhorage_runtime -.-> module_src_RuntimeRendererPlatform_native_ts
|
|
177
182
|
module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"]
|
|
178
183
|
package__ankhorage_runtime -.-> module_src_runtimeRepeat_ts
|
|
179
184
|
module_src_runtimeRepeat_ts --> module_src_runtimeBindings_ts
|
|
@@ -45,6 +45,8 @@ graph LR
|
|
|
45
45
|
module_src_RuntimeRenderer_test_ts["src/RuntimeRenderer.test.ts"]
|
|
46
46
|
module_src_RuntimeRenderer_tsx["src/RuntimeRenderer.tsx"]
|
|
47
47
|
module_src_RuntimeRendererConfig_tsx["src/RuntimeRendererConfig.tsx"]
|
|
48
|
+
module_src_RuntimeRendererPlatform_browser_ts["src/RuntimeRendererPlatform.browser.ts"]
|
|
49
|
+
module_src_RuntimeRendererPlatform_native_ts["src/RuntimeRendererPlatform.native.ts"]
|
|
48
50
|
module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"]
|
|
49
51
|
module_src_runtimeRepeatDiagnostics_ts["src/runtimeRepeatDiagnostics.ts"]
|
|
50
52
|
module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"]
|
|
@@ -45,6 +45,8 @@ graph LR
|
|
|
45
45
|
module_src_RuntimeRenderer_test_ts["src/RuntimeRenderer.test.ts"]
|
|
46
46
|
module_src_RuntimeRenderer_tsx["src/RuntimeRenderer.tsx"]
|
|
47
47
|
module_src_RuntimeRendererConfig_tsx["src/RuntimeRendererConfig.tsx"]
|
|
48
|
+
module_src_RuntimeRendererPlatform_browser_ts["src/RuntimeRendererPlatform.browser.ts"]
|
|
49
|
+
module_src_RuntimeRendererPlatform_native_ts["src/RuntimeRendererPlatform.native.ts"]
|
|
48
50
|
module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"]
|
|
49
51
|
module_src_runtimeRepeatDiagnostics_ts["src/runtimeRepeatDiagnostics.ts"]
|
|
50
52
|
module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"]
|
|
@@ -138,6 +140,7 @@ graph LR
|
|
|
138
140
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeMediaCache_tsx
|
|
139
141
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeNodeProps_ts
|
|
140
142
|
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererConfig_tsx
|
|
143
|
+
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererPlatform_native_ts
|
|
141
144
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeat_ts
|
|
142
145
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatDiagnostics_ts
|
|
143
146
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatEmptyState_ts
|
package/paradox/exports.json
CHANGED
|
@@ -3538,7 +3538,7 @@
|
|
|
3538
3538
|
"modulePath": "src/RuntimeRenderer.tsx",
|
|
3539
3539
|
"sourceLocation": {
|
|
3540
3540
|
"filePath": "src/RuntimeRenderer.tsx",
|
|
3541
|
-
"line":
|
|
3541
|
+
"line": 76,
|
|
3542
3542
|
"column": 1
|
|
3543
3543
|
},
|
|
3544
3544
|
"exportPaths": [
|
|
@@ -3787,7 +3787,7 @@
|
|
|
3787
3787
|
"modulePath": "src/RuntimeRenderer.tsx",
|
|
3788
3788
|
"sourceLocation": {
|
|
3789
3789
|
"filePath": "src/RuntimeRenderer.tsx",
|
|
3790
|
-
"line":
|
|
3790
|
+
"line": 56,
|
|
3791
3791
|
"column": 1
|
|
3792
3792
|
},
|
|
3793
3793
|
"exportPaths": [
|
package/paradox/exports.md
CHANGED
|
@@ -1083,7 +1083,7 @@ Source: `node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts:6:1`
|
|
|
1083
1083
|
|
|
1084
1084
|
Kind: `function`
|
|
1085
1085
|
Module: `src/RuntimeRenderer.tsx`
|
|
1086
|
-
Source: `src/RuntimeRenderer.tsx:
|
|
1086
|
+
Source: `src/RuntimeRenderer.tsx:76:1`
|
|
1087
1087
|
|
|
1088
1088
|
### Signatures
|
|
1089
1089
|
|
|
@@ -1142,7 +1142,7 @@ Source: `src/RuntimeRendererConfig.tsx:157:1`
|
|
|
1142
1142
|
|
|
1143
1143
|
Kind: `type`
|
|
1144
1144
|
Module: `src/RuntimeRenderer.tsx`
|
|
1145
|
-
Source: `src/RuntimeRenderer.tsx:
|
|
1145
|
+
Source: `src/RuntimeRenderer.tsx:56:1`
|
|
1146
1146
|
|
|
1147
1147
|
### Members
|
|
1148
1148
|
|
package/paradox/index.html
CHANGED
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
<div class="summary">
|
|
375
375
|
<div><strong>104</strong><span class="muted">public exports</span></div>
|
|
376
376
|
<div><strong>6</strong><span class="muted">components</span></div>
|
|
377
|
-
<div><strong>
|
|
377
|
+
<div><strong>71</strong><span class="muted">modules</span></div>
|
|
378
378
|
<div><strong>1</strong><span class="muted">entrypoints</span></div>
|
|
379
379
|
</div>
|
|
380
380
|
<h3>Entrypoints</h3>
|
|
@@ -422,7 +422,7 @@ inject it at the runtime boundary.</p>
|
|
|
422
422
|
</article><article class="item" data-search="documentation.public-function.description warning Exported function RuntimeRenderer has no documentation description. src/RuntimeRenderer.tsx">
|
|
423
423
|
<h3>documentation.public-function.description</h3>
|
|
424
424
|
<p><strong>warning</strong> — Exported function RuntimeRenderer has no documentation description.</p>
|
|
425
|
-
<p class="muted"><code>src/RuntimeRenderer.tsx:
|
|
425
|
+
<p class="muted"><code>src/RuntimeRenderer.tsx:76</code></p>
|
|
426
426
|
</article><article class="item" data-search="documentation.public-function.description warning Exported function composeRuntimeNodePropsResolver has no documentation description. src/RuntimeRendererConfig.tsx">
|
|
427
427
|
<h3>documentation.public-function.description</h3>
|
|
428
428
|
<p><strong>warning</strong> — Exported function composeRuntimeNodePropsResolver has no documentation description.</p>
|
|
@@ -679,16 +679,26 @@ inject it at the runtime boundary.</p>
|
|
|
679
679
|
<p class="muted">Referenced module</p>
|
|
680
680
|
<p><strong>Dependencies:</strong> <code>src/runtimeRepeatEmptyState.ts</code></p>
|
|
681
681
|
<p><strong>Exports:</strong> <span class="empty">None</span></p>
|
|
682
|
-
</article><article class="item" data-search="src/RuntimeRenderer.tsx src/registry.tsx src/rendering.ts src/runtimeActionRegistry.ts src/runtimeBindings.ts src/runtimeEventExecution.ts src/runtimeEventOperationLifecycle.ts src/runtimeMedia.ts src/runtimeMediaCache.tsx src/runtimeNodeProps.ts src/RuntimeRendererConfig.tsx src/runtimeRepeat.ts src/runtimeRepeatDiagnostics.ts src/runtimeRepeatEmptyState.ts src/useRuntimeMediaProps.ts src/useRuntimeStateBindings.ts RuntimeRenderer RuntimeRendererProps">
|
|
682
|
+
</article><article class="item" data-search="src/RuntimeRenderer.tsx src/registry.tsx src/rendering.ts src/runtimeActionRegistry.ts src/runtimeBindings.ts src/runtimeEventExecution.ts src/runtimeEventOperationLifecycle.ts src/runtimeMedia.ts src/runtimeMediaCache.tsx src/runtimeNodeProps.ts src/RuntimeRendererConfig.tsx src/RuntimeRendererPlatform.native.ts src/runtimeRepeat.ts src/runtimeRepeatDiagnostics.ts src/runtimeRepeatEmptyState.ts src/useRuntimeMediaProps.ts src/useRuntimeStateBindings.ts RuntimeRenderer RuntimeRendererProps">
|
|
683
683
|
<h3>src/RuntimeRenderer.tsx</h3>
|
|
684
684
|
<p class="muted">Referenced module</p>
|
|
685
|
-
<p><strong>Dependencies:</strong> <code>src/registry.tsx</code>, <code>src/rendering.ts</code>, <code>src/runtimeActionRegistry.ts</code>, <code>src/runtimeBindings.ts</code>, <code>src/runtimeEventExecution.ts</code>, <code>src/runtimeEventOperationLifecycle.ts</code>, <code>src/runtimeMedia.ts</code>, <code>src/runtimeMediaCache.tsx</code>, <code>src/runtimeNodeProps.ts</code>, <code>src/RuntimeRendererConfig.tsx</code>, <code>src/runtimeRepeat.ts</code>, <code>src/runtimeRepeatDiagnostics.ts</code>, <code>src/runtimeRepeatEmptyState.ts</code>, <code>src/useRuntimeMediaProps.ts</code>, <code>src/useRuntimeStateBindings.ts</code></p>
|
|
685
|
+
<p><strong>Dependencies:</strong> <code>src/registry.tsx</code>, <code>src/rendering.ts</code>, <code>src/runtimeActionRegistry.ts</code>, <code>src/runtimeBindings.ts</code>, <code>src/runtimeEventExecution.ts</code>, <code>src/runtimeEventOperationLifecycle.ts</code>, <code>src/runtimeMedia.ts</code>, <code>src/runtimeMediaCache.tsx</code>, <code>src/runtimeNodeProps.ts</code>, <code>src/RuntimeRendererConfig.tsx</code>, <code>src/RuntimeRendererPlatform.native.ts</code>, <code>src/runtimeRepeat.ts</code>, <code>src/runtimeRepeatDiagnostics.ts</code>, <code>src/runtimeRepeatEmptyState.ts</code>, <code>src/useRuntimeMediaProps.ts</code>, <code>src/useRuntimeStateBindings.ts</code></p>
|
|
686
686
|
<p><strong>Exports:</strong> <code>RuntimeRenderer</code>, <code>RuntimeRendererProps</code></p>
|
|
687
687
|
</article><article class="item" data-search="src/RuntimeRendererConfig.tsx src/registry.tsx src/runtimeActionRegistry.ts src/runtimeBindings.ts src/runtimeEventOperationLifecycle.ts src/runtimeMedia.ts src/types/runtimeFlow.ts composeRuntimeNodePropsResolver composeRuntimeRendererWrapNode mergeRuntimeRendererConfig RuntimeNodePropsResolver RuntimeRendererConfig RuntimeRendererConfigProvider RuntimeRendererWrapArgs RuntimeResolveNodePropsArgs useRuntimeRendererConfig">
|
|
688
688
|
<h3>src/RuntimeRendererConfig.tsx</h3>
|
|
689
689
|
<p class="muted">Referenced module</p>
|
|
690
690
|
<p><strong>Dependencies:</strong> <code>src/registry.tsx</code>, <code>src/runtimeActionRegistry.ts</code>, <code>src/runtimeBindings.ts</code>, <code>src/runtimeEventOperationLifecycle.ts</code>, <code>src/runtimeMedia.ts</code>, <code>src/types/runtimeFlow.ts</code></p>
|
|
691
691
|
<p><strong>Exports:</strong> <code>composeRuntimeNodePropsResolver</code>, <code>composeRuntimeRendererWrapNode</code>, <code>mergeRuntimeRendererConfig</code>, <code>RuntimeNodePropsResolver</code>, <code>RuntimeRendererConfig</code>, <code>RuntimeRendererConfigProvider</code>, <code>RuntimeRendererWrapArgs</code>, <code>RuntimeResolveNodePropsArgs</code>, <code>useRuntimeRendererConfig</code></p>
|
|
692
|
+
</article><article class="item" data-search="src/RuntimeRendererPlatform.browser.ts StyleSheet Text View">
|
|
693
|
+
<h3>src/RuntimeRendererPlatform.browser.ts</h3>
|
|
694
|
+
<p class="muted">Referenced module</p>
|
|
695
|
+
<p><strong>Dependencies:</strong> <span class="empty">None</span></p>
|
|
696
|
+
<p><strong>Exports:</strong> <code>StyleSheet</code>, <code>Text</code>, <code>View</code></p>
|
|
697
|
+
</article><article class="item" data-search="src/RuntimeRendererPlatform.native.ts StyleSheet Text View">
|
|
698
|
+
<h3>src/RuntimeRendererPlatform.native.ts</h3>
|
|
699
|
+
<p class="muted">Referenced module</p>
|
|
700
|
+
<p><strong>Dependencies:</strong> <span class="empty">None</span></p>
|
|
701
|
+
<p><strong>Exports:</strong> <code>StyleSheet</code>, <code>Text</code>, <code>View</code></p>
|
|
692
702
|
</article><article class="item" data-search="src/runtimeRepeat.ts src/runtimeBindings.ts createRuntimeRepeatBindingContext resolveRuntimeRepeatItemKey resolveRuntimeRepeatItemsAsync resolveRuntimeRepeatItemsSync RuntimeRepeatItemsResult RuntimeRepeatItemsSyncResult RuntimeRepeatResolutionContext">
|
|
693
703
|
<h3>src/runtimeRepeat.ts</h3>
|
|
694
704
|
<p class="muted">Referenced module</p>
|
|
@@ -3047,7 +3057,7 @@ inject it at the runtime boundary.</p>
|
|
|
3047
3057
|
<article class="item" id="symbol-runtimerenderer" data-search="RuntimeRenderer function src/RuntimeRenderer.tsx RuntimeRendererProps (props: RuntimeRendererProps) => React.JSX.Element">
|
|
3048
3058
|
<h4>RuntimeRenderer</h4>
|
|
3049
3059
|
|
|
3050
|
-
<p class="muted">function • <code>src/RuntimeRenderer.tsx:
|
|
3060
|
+
<p class="muted">function • <code>src/RuntimeRenderer.tsx:76:1</code></p>
|
|
3051
3061
|
|
|
3052
3062
|
|
|
3053
3063
|
<p><strong>Export paths:</strong> <code>src/index.ts</code></p>
|
|
@@ -3072,7 +3082,7 @@ inject it at the runtime boundary.</p>
|
|
|
3072
3082
|
</article><article class="item" id="symbol-runtimerendererprops" data-search="RuntimeRendererProps type src/RuntimeRenderer.tsx RuntimeCapabilityExecutor RuntimeEventCapabilityResolver RuntimeMediaAssetResolver RuntimeRendererWrapArgs">
|
|
3073
3083
|
<h4>RuntimeRendererProps</h4>
|
|
3074
3084
|
|
|
3075
|
-
<p class="muted">type • <code>src/RuntimeRenderer.tsx:
|
|
3085
|
+
<p class="muted">type • <code>src/RuntimeRenderer.tsx:56:1</code></p>
|
|
3076
3086
|
|
|
3077
3087
|
|
|
3078
3088
|
<p><strong>Export paths:</strong> <code>src/index.ts</code></p>
|
|
@@ -4090,7 +4100,7 @@ must not provide credential resolution.</td>
|
|
|
4090
4100
|
</table>
|
|
4091
4101
|
</article><article class="item" id="component-runtimerenderer" data-search="RuntimeRenderer src/RuntimeRenderer.tsx bindingContext Record<string, unknown> | undefined capabilityValues Readonly<Record<string, BindingValue | undefined>> dataBindings ComponentDataBindingRegistry | undefined dbAdapter DbAdapter | undefined dbRealtimeAdapter DbRealtimeAdapter | undefined disableActions boolean | undefined executeCapability RuntimeCapabilityExecutor | undefined isRoot boolean | undefined mediaAssets MediaAssetRegistry | undefined node UiNode onDiagnostics (diagnostics: readonly DataSourceDiagnostic[]) => void | undefined registry ComponentRegistry | undefined resolveEventCapability RuntimeEventCapabilityResolver | undefined resolveMediaAsset RuntimeMediaAssetResolver | undefined resultSlots RuntimeBindingResultCache | undefined stateAdapter StateAdapter | undefined wrapNode (args: RuntimeRendererWrapArgs) => React.ReactNode | undefined">
|
|
4092
4102
|
<h3>RuntimeRenderer</h3>
|
|
4093
|
-
<p class="muted"><code>src/RuntimeRenderer.tsx:
|
|
4103
|
+
<p class="muted"><code>src/RuntimeRenderer.tsx:76:1</code></p>
|
|
4094
4104
|
|
|
4095
4105
|
|
|
4096
4106
|
<p><strong>Export paths:</strong> <code>src/index.ts</code></p>
|
|
@@ -4409,6 +4419,7 @@ must not provide credential resolution.</td>
|
|
|
4409
4419
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeMediaCache_tsx
|
|
4410
4420
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeNodeProps_ts
|
|
4411
4421
|
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererConfig_tsx
|
|
4422
|
+
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererPlatform_native_ts
|
|
4412
4423
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeat_ts
|
|
4413
4424
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatDiagnostics_ts
|
|
4414
4425
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatEmptyState_ts
|
|
@@ -4422,6 +4433,10 @@ must not provide credential resolution.</td>
|
|
|
4422
4433
|
module_src_RuntimeRendererConfig_tsx --> module_src_runtimeEventOperationLifecycle_ts
|
|
4423
4434
|
module_src_RuntimeRendererConfig_tsx --> module_src_runtimeMedia_ts
|
|
4424
4435
|
module_src_RuntimeRendererConfig_tsx --> module_src_types_runtimeFlow_ts
|
|
4436
|
+
module_src_RuntimeRendererPlatform_browser_ts["src/RuntimeRendererPlatform.browser.ts"]
|
|
4437
|
+
package__ankhorage_runtime -.-> module_src_RuntimeRendererPlatform_browser_ts
|
|
4438
|
+
module_src_RuntimeRendererPlatform_native_ts["src/RuntimeRendererPlatform.native.ts"]
|
|
4439
|
+
package__ankhorage_runtime -.-> module_src_RuntimeRendererPlatform_native_ts
|
|
4425
4440
|
module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"]
|
|
4426
4441
|
package__ankhorage_runtime -.-> module_src_runtimeRepeat_ts
|
|
4427
4442
|
module_src_runtimeRepeat_ts --> module_src_runtimeBindings_ts
|
|
@@ -4663,6 +4678,7 @@ must not provide credential resolution.</td>
|
|
|
4663
4678
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeMediaCache_tsx
|
|
4664
4679
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeNodeProps_ts
|
|
4665
4680
|
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererConfig_tsx
|
|
4681
|
+
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererPlatform_native_ts
|
|
4666
4682
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeat_ts
|
|
4667
4683
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatDiagnostics_ts
|
|
4668
4684
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatEmptyState_ts
|
|
@@ -4676,6 +4692,10 @@ must not provide credential resolution.</td>
|
|
|
4676
4692
|
module_src_RuntimeRendererConfig_tsx --> module_src_runtimeEventOperationLifecycle_ts
|
|
4677
4693
|
module_src_RuntimeRendererConfig_tsx --> module_src_runtimeMedia_ts
|
|
4678
4694
|
module_src_RuntimeRendererConfig_tsx --> module_src_types_runtimeFlow_ts
|
|
4695
|
+
module_src_RuntimeRendererPlatform_browser_ts["src/RuntimeRendererPlatform.browser.ts"]
|
|
4696
|
+
package__ankhorage_runtime -.-> module_src_RuntimeRendererPlatform_browser_ts
|
|
4697
|
+
module_src_RuntimeRendererPlatform_native_ts["src/RuntimeRendererPlatform.native.ts"]
|
|
4698
|
+
package__ankhorage_runtime -.-> module_src_RuntimeRendererPlatform_native_ts
|
|
4679
4699
|
module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"]
|
|
4680
4700
|
package__ankhorage_runtime -.-> module_src_runtimeRepeat_ts
|
|
4681
4701
|
module_src_runtimeRepeat_ts --> module_src_runtimeBindings_ts
|
|
@@ -4803,6 +4823,8 @@ must not provide credential resolution.</td>
|
|
|
4803
4823
|
module_src_RuntimeRenderer_test_ts["src/RuntimeRenderer.test.ts"]
|
|
4804
4824
|
module_src_RuntimeRenderer_tsx["src/RuntimeRenderer.tsx"]
|
|
4805
4825
|
module_src_RuntimeRendererConfig_tsx["src/RuntimeRendererConfig.tsx"]
|
|
4826
|
+
module_src_RuntimeRendererPlatform_browser_ts["src/RuntimeRendererPlatform.browser.ts"]
|
|
4827
|
+
module_src_RuntimeRendererPlatform_native_ts["src/RuntimeRendererPlatform.native.ts"]
|
|
4806
4828
|
module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"]
|
|
4807
4829
|
module_src_runtimeRepeatDiagnostics_ts["src/runtimeRepeatDiagnostics.ts"]
|
|
4808
4830
|
module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"]
|
|
@@ -4896,6 +4918,7 @@ must not provide credential resolution.</td>
|
|
|
4896
4918
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeMediaCache_tsx
|
|
4897
4919
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeNodeProps_ts
|
|
4898
4920
|
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererConfig_tsx
|
|
4921
|
+
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererPlatform_native_ts
|
|
4899
4922
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeat_ts
|
|
4900
4923
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatDiagnostics_ts
|
|
4901
4924
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatEmptyState_ts
|
|
@@ -4986,6 +5009,8 @@ must not provide credential resolution.</td>
|
|
|
4986
5009
|
module_src_RuntimeRenderer_test_ts["src/RuntimeRenderer.test.ts"]
|
|
4987
5010
|
module_src_RuntimeRenderer_tsx["src/RuntimeRenderer.tsx"]
|
|
4988
5011
|
module_src_RuntimeRendererConfig_tsx["src/RuntimeRendererConfig.tsx"]
|
|
5012
|
+
module_src_RuntimeRendererPlatform_browser_ts["src/RuntimeRendererPlatform.browser.ts"]
|
|
5013
|
+
module_src_RuntimeRendererPlatform_native_ts["src/RuntimeRendererPlatform.native.ts"]
|
|
4989
5014
|
module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"]
|
|
4990
5015
|
module_src_runtimeRepeatDiagnostics_ts["src/runtimeRepeatDiagnostics.ts"]
|
|
4991
5016
|
module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"]
|
|
@@ -5079,6 +5104,7 @@ must not provide credential resolution.</td>
|
|
|
5079
5104
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeMediaCache_tsx
|
|
5080
5105
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeNodeProps_ts
|
|
5081
5106
|
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererConfig_tsx
|
|
5107
|
+
module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererPlatform_native_ts
|
|
5082
5108
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeat_ts
|
|
5083
5109
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatDiagnostics_ts
|
|
5084
5110
|
module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatEmptyState_ts
|
|
@@ -5171,6 +5197,8 @@ must not provide credential resolution.</td>
|
|
|
5171
5197
|
module_src_RuntimeRenderer_test_ts["src/RuntimeRenderer.test.ts"]
|
|
5172
5198
|
module_src_RuntimeRenderer_tsx["src/RuntimeRenderer.tsx"]
|
|
5173
5199
|
module_src_RuntimeRendererConfig_tsx["src/RuntimeRendererConfig.tsx"]
|
|
5200
|
+
module_src_RuntimeRendererPlatform_browser_ts["src/RuntimeRendererPlatform.browser.ts"]
|
|
5201
|
+
module_src_RuntimeRendererPlatform_native_ts["src/RuntimeRendererPlatform.native.ts"]
|
|
5174
5202
|
module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"]
|
|
5175
5203
|
module_src_runtimeRepeatDiagnostics_ts["src/runtimeRepeatDiagnostics.ts"]
|
|
5176
5204
|
module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"]
|
|
@@ -5550,6 +5578,8 @@ must not provide credential resolution.</td>
|
|
|
5550
5578
|
module_src_RuntimeRenderer_test_ts["src/RuntimeRenderer.test.ts"]
|
|
5551
5579
|
module_src_RuntimeRenderer_tsx["src/RuntimeRenderer.tsx"]
|
|
5552
5580
|
module_src_RuntimeRendererConfig_tsx["src/RuntimeRendererConfig.tsx"]
|
|
5581
|
+
module_src_RuntimeRendererPlatform_browser_ts["src/RuntimeRendererPlatform.browser.ts"]
|
|
5582
|
+
module_src_RuntimeRendererPlatform_native_ts["src/RuntimeRendererPlatform.native.ts"]
|
|
5553
5583
|
module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"]
|
|
5554
5584
|
module_src_runtimeRepeatDiagnostics_ts["src/runtimeRepeatDiagnostics.ts"]
|
|
5555
5585
|
module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"]
|
|
@@ -7168,7 +7198,7 @@ must not provide credential resolution.</td>
|
|
|
7168
7198
|
<h2>src/RuntimeRenderer.tsx</h2>
|
|
7169
7199
|
<article class="item" data-search="RuntimeRenderer src/RuntimeRenderer.tsx ">
|
|
7170
7200
|
<h3>RuntimeRenderer</h3>
|
|
7171
|
-
<p class="muted"><code>src/RuntimeRenderer.tsx:
|
|
7201
|
+
<p class="muted"><code>src/RuntimeRenderer.tsx:76:1</code></p>
|
|
7172
7202
|
<p class="empty">No description available.</p>
|
|
7173
7203
|
</article>
|
|
7174
7204
|
</section>
|
package/paradox/paradox.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
{
|
|
19
19
|
"id": "npm",
|
|
20
20
|
"label": "npm",
|
|
21
|
-
"value": "v5.7.
|
|
21
|
+
"value": "v5.7.9",
|
|
22
22
|
"color": "cb3837"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"severity": "warning",
|
|
117
117
|
"message": "Exported function RuntimeRenderer has no documentation description.",
|
|
118
118
|
"sourcePath": "src/RuntimeRenderer.tsx",
|
|
119
|
-
"line":
|
|
119
|
+
"line": 76
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"ruleId": "documentation.public-function.description",
|
|
@@ -802,6 +802,7 @@
|
|
|
802
802
|
"src/runtimeMediaCache.tsx",
|
|
803
803
|
"src/runtimeNodeProps.ts",
|
|
804
804
|
"src/RuntimeRendererConfig.tsx",
|
|
805
|
+
"src/RuntimeRendererPlatform.native.ts",
|
|
805
806
|
"src/runtimeRepeat.ts",
|
|
806
807
|
"src/runtimeRepeatDiagnostics.ts",
|
|
807
808
|
"src/runtimeRepeatEmptyState.ts",
|
|
@@ -836,6 +837,26 @@
|
|
|
836
837
|
"useRuntimeRendererConfig"
|
|
837
838
|
]
|
|
838
839
|
},
|
|
840
|
+
{
|
|
841
|
+
"path": "src/RuntimeRendererPlatform.browser.ts",
|
|
842
|
+
"isEntrypoint": false,
|
|
843
|
+
"dependencies": [],
|
|
844
|
+
"exports": [
|
|
845
|
+
"StyleSheet",
|
|
846
|
+
"Text",
|
|
847
|
+
"View"
|
|
848
|
+
]
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"path": "src/RuntimeRendererPlatform.native.ts",
|
|
852
|
+
"isEntrypoint": false,
|
|
853
|
+
"dependencies": [],
|
|
854
|
+
"exports": [
|
|
855
|
+
"StyleSheet",
|
|
856
|
+
"Text",
|
|
857
|
+
"View"
|
|
858
|
+
]
|
|
859
|
+
},
|
|
839
860
|
{
|
|
840
861
|
"path": "src/runtimeRepeat.ts",
|
|
841
862
|
"isEntrypoint": false,
|
|
@@ -4601,7 +4622,7 @@
|
|
|
4601
4622
|
"modulePath": "src/RuntimeRenderer.tsx",
|
|
4602
4623
|
"sourceLocation": {
|
|
4603
4624
|
"filePath": "src/RuntimeRenderer.tsx",
|
|
4604
|
-
"line":
|
|
4625
|
+
"line": 76,
|
|
4605
4626
|
"column": 1
|
|
4606
4627
|
},
|
|
4607
4628
|
"exportPaths": [
|
|
@@ -4850,7 +4871,7 @@
|
|
|
4850
4871
|
"modulePath": "src/RuntimeRenderer.tsx",
|
|
4851
4872
|
"sourceLocation": {
|
|
4852
4873
|
"filePath": "src/RuntimeRenderer.tsx",
|
|
4853
|
-
"line":
|
|
4874
|
+
"line": 56,
|
|
4854
4875
|
"column": 1
|
|
4855
4876
|
},
|
|
4856
4877
|
"exportPaths": [
|
|
@@ -5700,7 +5721,7 @@
|
|
|
5700
5721
|
"modulePath": "src/RuntimeRenderer.tsx",
|
|
5701
5722
|
"sourceLocation": {
|
|
5702
5723
|
"filePath": "src/RuntimeRenderer.tsx",
|
|
5703
|
-
"line":
|
|
5724
|
+
"line": 76,
|
|
5704
5725
|
"column": 1
|
|
5705
5726
|
},
|
|
5706
5727
|
"exportPaths": [
|
|
@@ -7597,7 +7618,7 @@
|
|
|
7597
7618
|
"security": [],
|
|
7598
7619
|
"sourceLocation": {
|
|
7599
7620
|
"filePath": "src/RuntimeRenderer.tsx",
|
|
7600
|
-
"line":
|
|
7621
|
+
"line": 76,
|
|
7601
7622
|
"column": 1
|
|
7602
7623
|
}
|
|
7603
7624
|
},
|
|
@@ -9045,6 +9066,11 @@
|
|
|
9045
9066
|
"toPath": "src/runtimeRepeatEmptyState.ts",
|
|
9046
9067
|
"sourcePath": "src/RuntimeRenderer.test.ts"
|
|
9047
9068
|
},
|
|
9069
|
+
{
|
|
9070
|
+
"fromPath": "src/RuntimeRenderer.tsx",
|
|
9071
|
+
"toPath": "src/RuntimeRendererPlatform.native.ts",
|
|
9072
|
+
"sourcePath": "src/RuntimeRenderer.tsx"
|
|
9073
|
+
},
|
|
9048
9074
|
{
|
|
9049
9075
|
"fromPath": "src/RuntimeRenderer.tsx",
|
|
9050
9076
|
"toPath": "src/registry.tsx",
|
|
@@ -12295,6 +12321,18 @@
|
|
|
12295
12321
|
"callExpression": "listJavaScriptArtifactPaths",
|
|
12296
12322
|
"sourcePath": "tests/runtimeBrowserArtifact.test.ts"
|
|
12297
12323
|
},
|
|
12324
|
+
{
|
|
12325
|
+
"fromSymbol": "visit",
|
|
12326
|
+
"toSymbol": "readFileSync",
|
|
12327
|
+
"callExpression": "readFileSync",
|
|
12328
|
+
"sourcePath": "tests/runtimeBrowserArtifact.test.ts"
|
|
12329
|
+
},
|
|
12330
|
+
{
|
|
12331
|
+
"fromSymbol": "listEntrypointModulePaths",
|
|
12332
|
+
"toSymbol": "visit",
|
|
12333
|
+
"callExpression": "visit",
|
|
12334
|
+
"sourcePath": "tests/runtimeBrowserArtifact.test.ts"
|
|
12335
|
+
},
|
|
12298
12336
|
{
|
|
12299
12337
|
"fromSymbol": "tests/runtimeBrowserArtifact.test.ts",
|
|
12300
12338
|
"toSymbol": "describe",
|
|
@@ -12325,6 +12363,18 @@
|
|
|
12325
12363
|
"callExpression": "expect",
|
|
12326
12364
|
"sourcePath": "tests/runtimeBrowserArtifact.test.ts"
|
|
12327
12365
|
},
|
|
12366
|
+
{
|
|
12367
|
+
"fromSymbol": "tests/runtimeBrowserArtifact.test.ts",
|
|
12368
|
+
"toSymbol": "readFileSync",
|
|
12369
|
+
"callExpression": "readFileSync",
|
|
12370
|
+
"sourcePath": "tests/runtimeBrowserArtifact.test.ts"
|
|
12371
|
+
},
|
|
12372
|
+
{
|
|
12373
|
+
"fromSymbol": "tests/runtimeBrowserArtifact.test.ts",
|
|
12374
|
+
"toSymbol": "listEntrypointModulePaths",
|
|
12375
|
+
"callExpression": "listEntrypointModulePaths",
|
|
12376
|
+
"sourcePath": "tests/runtimeBrowserArtifact.test.ts"
|
|
12377
|
+
},
|
|
12328
12378
|
{
|
|
12329
12379
|
"fromSymbol": "packRuntimeArtifactAsync",
|
|
12330
12380
|
"toSymbol": "tmpdir",
|