tokensafe-ui 0.1.11 → 0.1.12
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/dist/{chunk-3USOJUJ3.js → chunk-H3UPVNVN.js} +1 -1
- package/dist/{chunk-XHSKG7RJ.js → chunk-IV6VZQHA.js} +2 -2
- package/dist/{chunk-ACF344MJ.js → chunk-N5DE4X4Z.js} +70 -0
- package/dist/{chunk-6PNFULAR.js → chunk-NZZXPY5Y.js} +3 -3
- package/dist/{chunk-PCA3V3MA.js → chunk-QVRCZPAK.js} +1 -1
- package/dist/cli.js +4 -4
- package/dist/index.cjs +72 -0
- package/dist/index.d.cts +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.js +5 -1
- package/dist/mcp.js +4 -4
- package/dist/observer.js +2 -2
- package/dist/oumv.d.cts +1 -1
- package/dist/oumv.d.ts +1 -1
- package/dist/oumv.js +4 -4
- package/dist/react-0Td-KGdx.d.cts +278 -0
- package/dist/react-0Td-KGdx.d.ts +278 -0
- package/dist/react.cjs +108 -17
- package/dist/react.d.cts +3 -279
- package/dist/react.d.ts +3 -279
- package/dist/react.js +9 -4
- package/dist/testing.js +1 -1
- package/dist/vite.js +1 -1
- package/dist/vue.js +4 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildDependencyGraph,
|
|
3
3
|
observeDiff
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-H3UPVNVN.js";
|
|
5
5
|
import {
|
|
6
6
|
applyPatch
|
|
7
7
|
} from "./chunk-N7XIVYCL.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
activeInstances,
|
|
10
10
|
testAction,
|
|
11
11
|
testEffect
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N5DE4X4Z.js";
|
|
13
13
|
|
|
14
14
|
// ../mcp/dist/index.js
|
|
15
15
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
@@ -2110,6 +2110,74 @@ function defineAsyncCrudComponent(options) {
|
|
|
2110
2110
|
render
|
|
2111
2111
|
});
|
|
2112
2112
|
}
|
|
2113
|
+
function ReactBridge({
|
|
2114
|
+
component: Component,
|
|
2115
|
+
props = {},
|
|
2116
|
+
className = "",
|
|
2117
|
+
class: cls = "",
|
|
2118
|
+
wrapperProps = {}
|
|
2119
|
+
}) {
|
|
2120
|
+
let rootInstance = null;
|
|
2121
|
+
const combinedClass = `${cls} ${className}`.trim();
|
|
2122
|
+
const handleRef = (el) => {
|
|
2123
|
+
if (!el) {
|
|
2124
|
+
if (rootInstance) {
|
|
2125
|
+
try {
|
|
2126
|
+
rootInstance.unmount();
|
|
2127
|
+
} catch {
|
|
2128
|
+
}
|
|
2129
|
+
rootInstance = null;
|
|
2130
|
+
}
|
|
2131
|
+
return;
|
|
2132
|
+
}
|
|
2133
|
+
try {
|
|
2134
|
+
const React = globalThis.React || typeof window !== "undefined" && window.React;
|
|
2135
|
+
const ReactDOMClient = globalThis.ReactDOM || typeof window !== "undefined" && window.ReactDOM;
|
|
2136
|
+
if (ReactDOMClient && typeof ReactDOMClient.createRoot === "function") {
|
|
2137
|
+
if (!rootInstance) {
|
|
2138
|
+
rootInstance = ReactDOMClient.createRoot(el);
|
|
2139
|
+
}
|
|
2140
|
+
rootInstance.render(React ? React.createElement(Component, props) : Component(props));
|
|
2141
|
+
} else {
|
|
2142
|
+
const dynamicImport = new Function("m", "return import(m)");
|
|
2143
|
+
dynamicImport("react-dom/client").then(({ createRoot: createRoot2 }) => {
|
|
2144
|
+
dynamicImport("react").then((ReactModule) => {
|
|
2145
|
+
if (!rootInstance) {
|
|
2146
|
+
rootInstance = createRoot2(el);
|
|
2147
|
+
}
|
|
2148
|
+
rootInstance.render(ReactModule.createElement(Component, props));
|
|
2149
|
+
}).catch(() => {
|
|
2150
|
+
if (!rootInstance) {
|
|
2151
|
+
rootInstance = createRoot2(el);
|
|
2152
|
+
}
|
|
2153
|
+
rootInstance.render(Component(props));
|
|
2154
|
+
});
|
|
2155
|
+
}).catch((err) => {
|
|
2156
|
+
console.warn("[TokenSafe ReactBridge Warning]: react-dom/client could not be loaded:", err);
|
|
2157
|
+
});
|
|
2158
|
+
}
|
|
2159
|
+
} catch (err) {
|
|
2160
|
+
console.error("[TokenSafe ReactBridge Error]:", err);
|
|
2161
|
+
}
|
|
2162
|
+
};
|
|
2163
|
+
return h("div", {
|
|
2164
|
+
ref: handleRef,
|
|
2165
|
+
class: combinedClass || "tokensafe-react-bridge",
|
|
2166
|
+
...wrapperProps
|
|
2167
|
+
});
|
|
2168
|
+
}
|
|
2169
|
+
function createUseSignal(useSyncExternalStore) {
|
|
2170
|
+
return function useSignal(sig) {
|
|
2171
|
+
if (!sig || typeof sig.subscribe !== "function") {
|
|
2172
|
+
return sig?.value;
|
|
2173
|
+
}
|
|
2174
|
+
return useSyncExternalStore(
|
|
2175
|
+
(notify) => sig.subscribe(notify),
|
|
2176
|
+
() => sig.value,
|
|
2177
|
+
() => sig.peek()
|
|
2178
|
+
);
|
|
2179
|
+
};
|
|
2180
|
+
}
|
|
2113
2181
|
var VERSION = "0.2.0";
|
|
2114
2182
|
|
|
2115
2183
|
export {
|
|
@@ -2147,5 +2215,7 @@ export {
|
|
|
2147
2215
|
testAction,
|
|
2148
2216
|
testEffect,
|
|
2149
2217
|
defineAsyncCrudComponent,
|
|
2218
|
+
ReactBridge,
|
|
2219
|
+
createUseSignal,
|
|
2150
2220
|
VERSION
|
|
2151
2221
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
atomicApplySourceEdit,
|
|
3
3
|
validateWorkspacePath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IV6VZQHA.js";
|
|
5
5
|
import {
|
|
6
6
|
buildDependencyGraph,
|
|
7
7
|
observe
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-H3UPVNVN.js";
|
|
9
9
|
import {
|
|
10
10
|
testAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-N5DE4X4Z.js";
|
|
12
12
|
|
|
13
13
|
// ../oumv/dist/chunk-ONAJHNWR.js
|
|
14
14
|
import fs from "fs";
|
package/dist/cli.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
startMcpServer
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QVRCZPAK.js";
|
|
4
|
+
import "./chunk-IV6VZQHA.js";
|
|
5
|
+
import "./chunk-H3UPVNVN.js";
|
|
6
6
|
import "./chunk-N7XIVYCL.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-N5DE4X4Z.js";
|
|
8
8
|
|
|
9
9
|
// src/cli.ts
|
|
10
10
|
function parseCliArgs(argv) {
|
package/dist/index.cjs
CHANGED
|
@@ -25,6 +25,7 @@ __export(index_exports, {
|
|
|
25
25
|
For: () => For,
|
|
26
26
|
Fragment: () => Fragment,
|
|
27
27
|
GLOBAL_KEYS: () => GLOBAL_KEYS,
|
|
28
|
+
ReactBridge: () => ReactBridge,
|
|
28
29
|
ReactiveScopeImpl: () => ReactiveScopeImpl,
|
|
29
30
|
Show: () => Show,
|
|
30
31
|
SignalImpl: () => SignalImpl,
|
|
@@ -36,6 +37,7 @@ __export(index_exports, {
|
|
|
36
37
|
computed: () => computed,
|
|
37
38
|
createRoot: () => createRoot,
|
|
38
39
|
createScope: () => createScope,
|
|
40
|
+
createUseSignal: () => createUseSignal,
|
|
39
41
|
defineAsyncCrudComponent: () => defineAsyncCrudComponent,
|
|
40
42
|
defineComponent: () => defineComponent,
|
|
41
43
|
effect: () => effect,
|
|
@@ -2170,6 +2172,74 @@ function defineAsyncCrudComponent(options) {
|
|
|
2170
2172
|
render
|
|
2171
2173
|
});
|
|
2172
2174
|
}
|
|
2175
|
+
function ReactBridge({
|
|
2176
|
+
component: Component,
|
|
2177
|
+
props = {},
|
|
2178
|
+
className = "",
|
|
2179
|
+
class: cls = "",
|
|
2180
|
+
wrapperProps = {}
|
|
2181
|
+
}) {
|
|
2182
|
+
let rootInstance = null;
|
|
2183
|
+
const combinedClass = `${cls} ${className}`.trim();
|
|
2184
|
+
const handleRef = (el) => {
|
|
2185
|
+
if (!el) {
|
|
2186
|
+
if (rootInstance) {
|
|
2187
|
+
try {
|
|
2188
|
+
rootInstance.unmount();
|
|
2189
|
+
} catch {
|
|
2190
|
+
}
|
|
2191
|
+
rootInstance = null;
|
|
2192
|
+
}
|
|
2193
|
+
return;
|
|
2194
|
+
}
|
|
2195
|
+
try {
|
|
2196
|
+
const React = globalThis.React || typeof window !== "undefined" && window.React;
|
|
2197
|
+
const ReactDOMClient = globalThis.ReactDOM || typeof window !== "undefined" && window.ReactDOM;
|
|
2198
|
+
if (ReactDOMClient && typeof ReactDOMClient.createRoot === "function") {
|
|
2199
|
+
if (!rootInstance) {
|
|
2200
|
+
rootInstance = ReactDOMClient.createRoot(el);
|
|
2201
|
+
}
|
|
2202
|
+
rootInstance.render(React ? React.createElement(Component, props) : Component(props));
|
|
2203
|
+
} else {
|
|
2204
|
+
const dynamicImport = new Function("m", "return import(m)");
|
|
2205
|
+
dynamicImport("react-dom/client").then(({ createRoot: createRoot2 }) => {
|
|
2206
|
+
dynamicImport("react").then((ReactModule) => {
|
|
2207
|
+
if (!rootInstance) {
|
|
2208
|
+
rootInstance = createRoot2(el);
|
|
2209
|
+
}
|
|
2210
|
+
rootInstance.render(ReactModule.createElement(Component, props));
|
|
2211
|
+
}).catch(() => {
|
|
2212
|
+
if (!rootInstance) {
|
|
2213
|
+
rootInstance = createRoot2(el);
|
|
2214
|
+
}
|
|
2215
|
+
rootInstance.render(Component(props));
|
|
2216
|
+
});
|
|
2217
|
+
}).catch((err) => {
|
|
2218
|
+
console.warn("[TokenSafe ReactBridge Warning]: react-dom/client could not be loaded:", err);
|
|
2219
|
+
});
|
|
2220
|
+
}
|
|
2221
|
+
} catch (err) {
|
|
2222
|
+
console.error("[TokenSafe ReactBridge Error]:", err);
|
|
2223
|
+
}
|
|
2224
|
+
};
|
|
2225
|
+
return h("div", {
|
|
2226
|
+
ref: handleRef,
|
|
2227
|
+
class: combinedClass || "tokensafe-react-bridge",
|
|
2228
|
+
...wrapperProps
|
|
2229
|
+
});
|
|
2230
|
+
}
|
|
2231
|
+
function createUseSignal(useSyncExternalStore) {
|
|
2232
|
+
return function useSignal(sig) {
|
|
2233
|
+
if (!sig || typeof sig.subscribe !== "function") {
|
|
2234
|
+
return sig?.value;
|
|
2235
|
+
}
|
|
2236
|
+
return useSyncExternalStore(
|
|
2237
|
+
(notify) => sig.subscribe(notify),
|
|
2238
|
+
() => sig.value,
|
|
2239
|
+
() => sig.peek()
|
|
2240
|
+
);
|
|
2241
|
+
};
|
|
2242
|
+
}
|
|
2173
2243
|
var VERSION = "0.2.0";
|
|
2174
2244
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2175
2245
|
0 && (module.exports = {
|
|
@@ -2178,6 +2248,7 @@ var VERSION = "0.2.0";
|
|
|
2178
2248
|
For,
|
|
2179
2249
|
Fragment,
|
|
2180
2250
|
GLOBAL_KEYS,
|
|
2251
|
+
ReactBridge,
|
|
2181
2252
|
ReactiveScopeImpl,
|
|
2182
2253
|
Show,
|
|
2183
2254
|
SignalImpl,
|
|
@@ -2189,6 +2260,7 @@ var VERSION = "0.2.0";
|
|
|
2189
2260
|
computed,
|
|
2190
2261
|
createRoot,
|
|
2191
2262
|
createScope,
|
|
2263
|
+
createUseSignal,
|
|
2192
2264
|
defineAsyncCrudComponent,
|
|
2193
2265
|
defineComponent,
|
|
2194
2266
|
effect,
|
package/dist/index.d.cts
CHANGED
|
@@ -476,6 +476,27 @@ declare function defineAsyncCrudComponent<T extends AsyncCrudEntity>(options: As
|
|
|
476
476
|
}) => any;
|
|
477
477
|
}, {}, Record<string, any>>;
|
|
478
478
|
|
|
479
|
+
interface ReactBridgeProps {
|
|
480
|
+
component: any;
|
|
481
|
+
props?: Record<string, any>;
|
|
482
|
+
className?: string;
|
|
483
|
+
class?: string;
|
|
484
|
+
wrapperProps?: Record<string, any>;
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* Universal Production-Grade React Bridge for TokenSafe UI.
|
|
488
|
+
* Mounts any React 18/19 component inside a TokenSafe UI reactive tree.
|
|
489
|
+
* - Handles createRoot and root.render
|
|
490
|
+
* - Automatically updates props reactively on re-renders
|
|
491
|
+
* - Safely unmounts React tree when the DOM container is detached
|
|
492
|
+
*/
|
|
493
|
+
declare function ReactBridge({ component: Component, props, className, class: cls, wrapperProps, }: ReactBridgeProps): AgentVNode;
|
|
494
|
+
/**
|
|
495
|
+
* React 18/19 useSyncExternalStore Hook Adapter.
|
|
496
|
+
* Allows React components to consume TokenSafe UI signals reactively.
|
|
497
|
+
*/
|
|
498
|
+
declare function createUseSignal(useSyncExternalStore: any): <T>(sig: Signal<T>) => T;
|
|
499
|
+
|
|
479
500
|
declare const VERSION = "0.2.0";
|
|
480
501
|
|
|
481
|
-
export { type ActionEmitters, type ActionHandler, type ActionMap, type ActionReducer, type AgentChild, type AgentNode, type AgentVNode, type AgentVNodeProps, type AssertionMismatch, type AsyncCrudBackend, type AsyncCrudEntity, type AsyncCrudOptions, type CleanupFn, type ComponentConfig, type ComponentInstance, type Computed, type ConcurrencyPolicy, type DispatchedActionTelemetry, type EffectConfig, type EffectContext, type EffectFn, type EffectHandler, type EffectItem, type EffectMap, type EffectOptions, EffectRunner, ErrorBoundary, type ErrorBoundaryProps, For, type ForProps, type FormBindingProps, Fragment, GLOBAL_KEYS, type InferState, type LegacyActionContext, type ReactiveScope, ReactiveScopeImpl, type ReadonlySignal, type RuntimeTelemetryEvent, Show, type ShowProps, type Signal, SignalImpl, type SignalOptions, type StateDiff, type StateSchema, type Subscriber, type SurfaceDiffItem, type TestActionOptions, type TestActionResult, type TestEffectOptions, type TestEffectResult, VERSION, type VerificationTimings, activeInstances, batch, bind, checkMultiInstanceGuard, computed, createRoot, createScope, defineAsyncCrudComponent, defineComponent, effect, ensureHeadlessDom, getActiveScope, getGlobalRegistry, h, hotReloadComponent, hydrate, mount, onCleanup, renderToString, scheduler, signal, testAction, testEffect, unmount, untrack };
|
|
502
|
+
export { type ActionEmitters, type ActionHandler, type ActionMap, type ActionReducer, type AgentChild, type AgentNode, type AgentVNode, type AgentVNodeProps, type AssertionMismatch, type AsyncCrudBackend, type AsyncCrudEntity, type AsyncCrudOptions, type CleanupFn, type ComponentConfig, type ComponentInstance, type Computed, type ConcurrencyPolicy, type DispatchedActionTelemetry, type EffectConfig, type EffectContext, type EffectFn, type EffectHandler, type EffectItem, type EffectMap, type EffectOptions, EffectRunner, ErrorBoundary, type ErrorBoundaryProps, For, type ForProps, type FormBindingProps, Fragment, GLOBAL_KEYS, type InferState, type LegacyActionContext, ReactBridge, type ReactBridgeProps, type ReactiveScope, ReactiveScopeImpl, type ReadonlySignal, type RuntimeTelemetryEvent, Show, type ShowProps, type Signal, SignalImpl, type SignalOptions, type StateDiff, type StateSchema, type Subscriber, type SurfaceDiffItem, type TestActionOptions, type TestActionResult, type TestEffectOptions, type TestEffectResult, VERSION, type VerificationTimings, activeInstances, batch, bind, checkMultiInstanceGuard, computed, createRoot, createScope, createUseSignal, defineAsyncCrudComponent, defineComponent, effect, ensureHeadlessDom, getActiveScope, getGlobalRegistry, h, hotReloadComponent, hydrate, mount, onCleanup, renderToString, scheduler, signal, testAction, testEffect, unmount, untrack };
|
package/dist/index.d.ts
CHANGED
|
@@ -476,6 +476,27 @@ declare function defineAsyncCrudComponent<T extends AsyncCrudEntity>(options: As
|
|
|
476
476
|
}) => any;
|
|
477
477
|
}, {}, Record<string, any>>;
|
|
478
478
|
|
|
479
|
+
interface ReactBridgeProps {
|
|
480
|
+
component: any;
|
|
481
|
+
props?: Record<string, any>;
|
|
482
|
+
className?: string;
|
|
483
|
+
class?: string;
|
|
484
|
+
wrapperProps?: Record<string, any>;
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* Universal Production-Grade React Bridge for TokenSafe UI.
|
|
488
|
+
* Mounts any React 18/19 component inside a TokenSafe UI reactive tree.
|
|
489
|
+
* - Handles createRoot and root.render
|
|
490
|
+
* - Automatically updates props reactively on re-renders
|
|
491
|
+
* - Safely unmounts React tree when the DOM container is detached
|
|
492
|
+
*/
|
|
493
|
+
declare function ReactBridge({ component: Component, props, className, class: cls, wrapperProps, }: ReactBridgeProps): AgentVNode;
|
|
494
|
+
/**
|
|
495
|
+
* React 18/19 useSyncExternalStore Hook Adapter.
|
|
496
|
+
* Allows React components to consume TokenSafe UI signals reactively.
|
|
497
|
+
*/
|
|
498
|
+
declare function createUseSignal(useSyncExternalStore: any): <T>(sig: Signal<T>) => T;
|
|
499
|
+
|
|
479
500
|
declare const VERSION = "0.2.0";
|
|
480
501
|
|
|
481
|
-
export { type ActionEmitters, type ActionHandler, type ActionMap, type ActionReducer, type AgentChild, type AgentNode, type AgentVNode, type AgentVNodeProps, type AssertionMismatch, type AsyncCrudBackend, type AsyncCrudEntity, type AsyncCrudOptions, type CleanupFn, type ComponentConfig, type ComponentInstance, type Computed, type ConcurrencyPolicy, type DispatchedActionTelemetry, type EffectConfig, type EffectContext, type EffectFn, type EffectHandler, type EffectItem, type EffectMap, type EffectOptions, EffectRunner, ErrorBoundary, type ErrorBoundaryProps, For, type ForProps, type FormBindingProps, Fragment, GLOBAL_KEYS, type InferState, type LegacyActionContext, type ReactiveScope, ReactiveScopeImpl, type ReadonlySignal, type RuntimeTelemetryEvent, Show, type ShowProps, type Signal, SignalImpl, type SignalOptions, type StateDiff, type StateSchema, type Subscriber, type SurfaceDiffItem, type TestActionOptions, type TestActionResult, type TestEffectOptions, type TestEffectResult, VERSION, type VerificationTimings, activeInstances, batch, bind, checkMultiInstanceGuard, computed, createRoot, createScope, defineAsyncCrudComponent, defineComponent, effect, ensureHeadlessDom, getActiveScope, getGlobalRegistry, h, hotReloadComponent, hydrate, mount, onCleanup, renderToString, scheduler, signal, testAction, testEffect, unmount, untrack };
|
|
502
|
+
export { type ActionEmitters, type ActionHandler, type ActionMap, type ActionReducer, type AgentChild, type AgentNode, type AgentVNode, type AgentVNodeProps, type AssertionMismatch, type AsyncCrudBackend, type AsyncCrudEntity, type AsyncCrudOptions, type CleanupFn, type ComponentConfig, type ComponentInstance, type Computed, type ConcurrencyPolicy, type DispatchedActionTelemetry, type EffectConfig, type EffectContext, type EffectFn, type EffectHandler, type EffectItem, type EffectMap, type EffectOptions, EffectRunner, ErrorBoundary, type ErrorBoundaryProps, For, type ForProps, type FormBindingProps, Fragment, GLOBAL_KEYS, type InferState, type LegacyActionContext, ReactBridge, type ReactBridgeProps, type ReactiveScope, ReactiveScopeImpl, type ReadonlySignal, type RuntimeTelemetryEvent, Show, type ShowProps, type Signal, SignalImpl, type SignalOptions, type StateDiff, type StateSchema, type Subscriber, type SurfaceDiffItem, type TestActionOptions, type TestActionResult, type TestEffectOptions, type TestEffectResult, VERSION, type VerificationTimings, activeInstances, batch, bind, checkMultiInstanceGuard, computed, createRoot, createScope, createUseSignal, defineAsyncCrudComponent, defineComponent, effect, ensureHeadlessDom, getActiveScope, getGlobalRegistry, h, hotReloadComponent, hydrate, mount, onCleanup, renderToString, scheduler, signal, testAction, testEffect, unmount, untrack };
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
For,
|
|
5
5
|
Fragment,
|
|
6
6
|
GLOBAL_KEYS,
|
|
7
|
+
ReactBridge,
|
|
7
8
|
ReactiveScopeImpl,
|
|
8
9
|
Show,
|
|
9
10
|
SignalImpl,
|
|
@@ -15,6 +16,7 @@ import {
|
|
|
15
16
|
computed,
|
|
16
17
|
createRoot,
|
|
17
18
|
createScope,
|
|
19
|
+
createUseSignal,
|
|
18
20
|
defineAsyncCrudComponent,
|
|
19
21
|
defineComponent,
|
|
20
22
|
effect,
|
|
@@ -34,13 +36,14 @@ import {
|
|
|
34
36
|
unmount,
|
|
35
37
|
untrack,
|
|
36
38
|
z3
|
|
37
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-N5DE4X4Z.js";
|
|
38
40
|
export {
|
|
39
41
|
EffectRunner,
|
|
40
42
|
ErrorBoundary,
|
|
41
43
|
For,
|
|
42
44
|
Fragment,
|
|
43
45
|
GLOBAL_KEYS,
|
|
46
|
+
ReactBridge,
|
|
44
47
|
ReactiveScopeImpl,
|
|
45
48
|
Show,
|
|
46
49
|
SignalImpl,
|
|
@@ -52,6 +55,7 @@ export {
|
|
|
52
55
|
computed,
|
|
53
56
|
createRoot,
|
|
54
57
|
createScope,
|
|
58
|
+
createUseSignal,
|
|
55
59
|
defineAsyncCrudComponent,
|
|
56
60
|
defineComponent,
|
|
57
61
|
effect,
|
package/dist/mcp.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
startMcpServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QVRCZPAK.js";
|
|
4
4
|
import {
|
|
5
5
|
MCP_SERVER_VERSION,
|
|
6
6
|
atomicApplySourceEdit,
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
inspectComponentContract,
|
|
11
11
|
validateSourceSyntaxAndTypes,
|
|
12
12
|
validateWorkspacePath
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-IV6VZQHA.js";
|
|
14
|
+
import "./chunk-H3UPVNVN.js";
|
|
15
15
|
import "./chunk-N7XIVYCL.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-N5DE4X4Z.js";
|
|
17
17
|
export {
|
|
18
18
|
MCP_SERVER_VERSION,
|
|
19
19
|
atomicApplySourceEdit,
|
package/dist/observer.js
CHANGED
package/dist/oumv.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { T as TestActionResult } from './index.d-BAn7lh_a.cjs';
|
|
2
|
-
export { ConnectedStoreComponent, ContextConnectorOptions, ContextValueLike, ReactAdapterConfig, ReactComponentDefinition, ReactTraceEvent, ReducerConnectorOptions, ReducerLike, ReducerObject, ReducerTuple, ReduxConnectorOptions, ReduxStoreLike, StoreLike, ZustandConnectorOptions, ZustandStoreLike, connectContext, connectReducer, connectRedux, connectZustand, createReactAdapter, isReducerLike, isReduxStore, isZustandStore } from './react.cjs';
|
|
2
|
+
export { C as ConnectedStoreComponent, a as ContextConnectorOptions, b as ContextValueLike, R as ReactAdapterConfig, c as ReactComponentDefinition, d as ReactTraceEvent, e as ReducerConnectorOptions, f as ReducerLike, g as ReducerObject, h as ReducerTuple, i as ReduxConnectorOptions, j as ReduxStoreLike, S as StoreLike, Z as ZustandConnectorOptions, k as ZustandStoreLike, l as connectContext, m as connectReducer, n as connectRedux, o as connectZustand, p as createReactAdapter, q as isReducerLike, r as isReduxStore, s as isZustandStore } from './react-0Td-KGdx.cjs';
|
|
3
3
|
export { VueAdapterConfig, VueComponentDefinition, VueTraceEvent, createVueAdapter } from './vue.cjs';
|
|
4
4
|
|
|
5
5
|
interface ImpactAnalysis {
|
package/dist/oumv.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { T as TestActionResult } from './index.d-BAn7lh_a.js';
|
|
2
|
-
export { ConnectedStoreComponent, ContextConnectorOptions, ContextValueLike, ReactAdapterConfig, ReactComponentDefinition, ReactTraceEvent, ReducerConnectorOptions, ReducerLike, ReducerObject, ReducerTuple, ReduxConnectorOptions, ReduxStoreLike, StoreLike, ZustandConnectorOptions, ZustandStoreLike, connectContext, connectReducer, connectRedux, connectZustand, createReactAdapter, isReducerLike, isReduxStore, isZustandStore } from './react.js';
|
|
2
|
+
export { C as ConnectedStoreComponent, a as ContextConnectorOptions, b as ContextValueLike, R as ReactAdapterConfig, c as ReactComponentDefinition, d as ReactTraceEvent, e as ReducerConnectorOptions, f as ReducerLike, g as ReducerObject, h as ReducerTuple, i as ReduxConnectorOptions, j as ReduxStoreLike, S as StoreLike, Z as ZustandConnectorOptions, k as ZustandStoreLike, l as connectContext, m as connectReducer, n as connectRedux, o as connectZustand, p as createReactAdapter, q as isReducerLike, r as isReduxStore, s as isZustandStore } from './react-0Td-KGdx.js';
|
|
3
3
|
export { VueAdapterConfig, VueComponentDefinition, VueTraceEvent, createVueAdapter } from './vue.js';
|
|
4
4
|
|
|
5
5
|
interface ImpactAnalysis {
|
package/dist/oumv.js
CHANGED
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
isReducerLike,
|
|
10
10
|
isReduxStore,
|
|
11
11
|
isZustandStore
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-NZZXPY5Y.js";
|
|
13
|
+
import "./chunk-IV6VZQHA.js";
|
|
14
|
+
import "./chunk-H3UPVNVN.js";
|
|
15
15
|
import "./chunk-N7XIVYCL.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-N5DE4X4Z.js";
|
|
17
17
|
export {
|
|
18
18
|
connectContext,
|
|
19
19
|
connectReducer,
|