@niscorp/nova 0.5.0 → 0.5.2
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/ACTION_DOCS.md +2 -0
- package/CHANGELOG.md +14 -0
- package/DESIGN.md +14 -12
- package/README.md +8 -1
- package/SHELL_DOCS.md +26 -1
- package/dist/adapters/dom/components/index.d.cts +1 -1
- package/dist/adapters/dom/components/index.d.ts +1 -1
- package/dist/adapters/dom/index.cjs +4 -4
- package/dist/adapters/dom/index.d.cts +1 -1
- package/dist/adapters/dom/index.d.ts +1 -1
- package/dist/adapters/dom/index.js +2 -2
- package/dist/adapters/dom/server.cjs +3 -3
- package/dist/adapters/dom/server.d.cts +1 -1
- package/dist/adapters/dom/server.d.ts +1 -1
- package/dist/adapters/dom/server.js +2 -2
- package/dist/adapters/react/components/index.cjs +22 -22
- package/dist/adapters/react/components/index.js +3 -3
- package/dist/adapters/react/index.cjs +25 -25
- package/dist/adapters/react/index.d.cts +1 -1
- package/dist/adapters/react/index.d.ts +1 -1
- package/dist/adapters/react/index.js +3 -3
- package/dist/adapters/tty/components/index.d.cts +1 -1
- package/dist/adapters/tty/components/index.d.ts +1 -1
- package/dist/adapters/tty/index.cjs +1 -1
- package/dist/adapters/tty/index.d.cts +1 -1
- package/dist/adapters/tty/index.d.ts +1 -1
- package/dist/adapters/tty/index.js +1 -1
- package/dist/adapters/vue/components/index.cjs +22 -22
- package/dist/adapters/vue/components/index.d.cts +9 -9
- package/dist/adapters/vue/components/index.d.ts +9 -9
- package/dist/adapters/vue/components/index.js +3 -3
- package/dist/adapters/vue/index.cjs +30 -30
- package/dist/adapters/vue/index.d.cts +1 -1
- package/dist/adapters/vue/index.d.ts +1 -1
- package/dist/adapters/vue/index.js +4 -4
- package/dist/{chunk-FVGJD6CI.cjs → chunk-3XZODV7S.cjs} +4 -4
- package/dist/{chunk-FVGJD6CI.cjs.map → chunk-3XZODV7S.cjs.map} +1 -1
- package/dist/{chunk-GFMNQT2X.js → chunk-57PZEPIK.js} +4 -4
- package/dist/{chunk-GFMNQT2X.js.map → chunk-57PZEPIK.js.map} +1 -1
- package/dist/{chunk-DMAVKM7M.cjs → chunk-5T26T2EJ.cjs} +4 -4
- package/dist/{chunk-DMAVKM7M.cjs.map → chunk-5T26T2EJ.cjs.map} +1 -1
- package/dist/{chunk-WKDPEBXU.js → chunk-6VHOMWNF.js} +3 -3
- package/dist/{chunk-WKDPEBXU.js.map → chunk-6VHOMWNF.js.map} +1 -1
- package/dist/{chunk-CAKJCAHW.cjs → chunk-ITSVPZS5.cjs} +15 -15
- package/dist/{chunk-CAKJCAHW.cjs.map → chunk-ITSVPZS5.cjs.map} +1 -1
- package/dist/{chunk-IIOO6Z4T.js → chunk-LAVCNLL3.js} +4 -4
- package/dist/{chunk-IIOO6Z4T.js.map → chunk-LAVCNLL3.js.map} +1 -1
- package/dist/{chunk-WRVT7JTK.cjs → chunk-OWA5Z3WT.cjs} +45 -13
- package/dist/chunk-OWA5Z3WT.cjs.map +1 -0
- package/dist/{chunk-L5HAGG4U.js → chunk-OY7SCFTJ.js} +45 -13
- package/dist/chunk-OY7SCFTJ.js.map +1 -0
- package/dist/{chunk-OPF42ISN.js → chunk-T33VE5XQ.js} +3 -3
- package/dist/{chunk-OPF42ISN.js.map → chunk-T33VE5XQ.js.map} +1 -1
- package/dist/{chunk-TWXAKLMX.cjs → chunk-UIWTFU3M.cjs} +16 -16
- package/dist/{chunk-TWXAKLMX.cjs.map → chunk-UIWTFU3M.cjs.map} +1 -1
- package/dist/devtools/index.d.cts +1 -1
- package/dist/devtools/index.d.ts +1 -1
- package/dist/document/index.d.cts +3 -3
- package/dist/document/index.d.ts +3 -3
- package/dist/examples/index.d.cts +1 -1
- package/dist/examples/index.d.ts +1 -1
- package/dist/{head-pDYg3tbK.d.ts → head-CVjtToF8.d.ts} +1 -1
- package/dist/{head-CBse5408.d.cts → head-zznJvVEE.d.cts} +1 -1
- package/dist/index.cjs +15 -15
- package/dist/index.d.cts +4 -20
- package/dist/index.d.ts +4 -20
- package/dist/index.js +1 -1
- package/dist/reflect/index.d.cts +1 -1
- package/dist/reflect/index.d.ts +1 -1
- package/dist/{types-6KTCKlXf.d.cts → types-CWOom_fv.d.cts} +27 -1
- package/dist/{types-DV-GDFJd.d.ts → types-DOm2MKDk.d.ts} +27 -1
- package/package.json +7 -7
- package/dist/chunk-L5HAGG4U.js.map +0 -1
- package/dist/chunk-WRVT7JTK.cjs.map +0 -1
package/ACTION_DOCS.md
CHANGED
|
@@ -331,6 +331,8 @@ Makes a canvas hold exactly the actions a list in the action's data names: missi
|
|
|
331
331
|
|
|
332
332
|
When a listed action is already mounted and its row's input changed, the new input is written into the live instance — unless the row's input carries a key (changed or not) that the action declares in its `input` and its `mount` calls read through an endpoint `request`, in which case the instance is re-opened.
|
|
333
333
|
|
|
334
|
+
That is how a canvas is reconciled when it names no reconciler. A canvas that names one (`reconcile` on the canvas, see `SHELL_DOCS.md`) is reconciled by it instead, from the same step: it is handed each row as written beside the action and input read from it, and decides what is kept, matched, moved and removed — several instances of one action included.
|
|
335
|
+
|
|
334
336
|
### `reload`
|
|
335
337
|
|
|
336
338
|
```ts
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @niscorp/nova
|
|
2
2
|
|
|
3
|
+
## 0.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 501e355: DESIGN.md says how `useCanvas` and `useRenderTree` cache: `useCanvas` keeps the state `onCanvasChange` hands it (the shell compares states with `sameCanvasState`), and `useRenderTree` compares the shell's phrases as well as its data.
|
|
8
|
+
|
|
9
|
+
**What to change:** nothing. Documentation only.
|
|
10
|
+
|
|
11
|
+
## 0.5.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- a72f2bb: A canvas can be reconciled by a function the app hands the shell. `ShellConfig.reconcilers` names them; a canvas's `reconcile` names the one that reconciles it, whenever a `reconcile` step aims at it. A canvas that names none is reconciled exactly as before. A `Reconciler` is called as `reconcileCanvas` is, and its options also carry `moveInstance(canvasId, instanceId, index)` — a move that re-mounts nothing and writes nothing to the navigation journal — and `keyOf(instanceId)`, the `key` an instance was pushed with (`PushOptions.key`, new). Each entry a `reconcile` step hands over carries its `row` as written (`Desired.row`), so a reconciler can match rows by a field of its own choosing — several instances of one action on one canvas, in the list's order. A canvas naming a reconciler the shell was not given is refused by `createShell` and `addCanvas`. No grammar change: the step's schema is as it was.
|
|
16
|
+
|
|
3
17
|
## 0.5.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/DESIGN.md
CHANGED
|
@@ -636,18 +636,20 @@ so `useSyncExternalStore`'s `getSnapshot` returns a stable reference
|
|
|
636
636
|
when nothing has changed. This is mandatory for tearing-safety in
|
|
637
637
|
React's concurrent rendering.
|
|
638
638
|
|
|
639
|
-
- **`useRenderTree`** caches by **data identity
|
|
640
|
-
the current data object; if the cached
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
`
|
|
646
|
-
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
639
|
+
- **`useRenderTree`** caches by **data identity** and the shell's
|
|
640
|
+
phrases. The runtime exposes the current data object; if the cached
|
|
641
|
+
data reference is `===` to the current one, and the shell's phrases
|
|
642
|
+
are `===` to the cached ones, the cached `RenderNode[]` is returned
|
|
643
|
+
unchanged. When the runtime mutates data, or `setPhrases` changes the
|
|
644
|
+
phrases, the cache misses, the layout is re-rendered, and the new
|
|
645
|
+
`RenderNode[]` becomes the cached snapshot. A missing instance returns
|
|
646
|
+
a singleton `EMPTY` constant so re-renders are also stable in that case.
|
|
647
|
+
- **`useCanvas`** caches the state `onCanvasChange` hands it, and calls
|
|
648
|
+
`getCanvasState` only when nothing is cached for that shell and canvas. The shell's
|
|
649
|
+
`onCanvasChange` compares consecutive states (`sameCanvasState`, over
|
|
650
|
+
the stack length, active id, and per-frame `(id, status)` tuples) and
|
|
651
|
+
calls its handler only when they differ; the handler stores the new
|
|
652
|
+
state and notifies the React store.
|
|
651
653
|
|
|
652
654
|
Both contracts are verified by `test/react/snapshot-stability.test.tsx`,
|
|
653
655
|
which asserts referential equality across re-renders without state
|
package/README.md
CHANGED
|
@@ -226,6 +226,13 @@ there — stamped with its definition id — while `'canvas'` treats the whole c
|
|
|
226
226
|
as the action's. Added at grammar `nisc.nova` 1: a reader at 0 refuses an action
|
|
227
227
|
that uses it (`TOO_NEW`).
|
|
228
228
|
|
|
229
|
+
What reconciling means is nova's own unless the canvas names a reconciler the app
|
|
230
|
+
handed the shell (`CanvasConfig.reconcile`, `ShellConfig.reconcilers`): then that
|
|
231
|
+
function decides, from the same step, handed each row as written — several
|
|
232
|
+
instances of one action matched by a key and kept in the list's order, say. It may
|
|
233
|
+
move an instance without re-mounting it (`moveInstance`) and ask which key one was
|
|
234
|
+
pushed with (`keyOf`). See SHELL_DOCS.md, `reconcileCanvas`.
|
|
235
|
+
|
|
229
236
|
The runtime is a closure factory (`createActionRuntime`) — no classes.
|
|
230
237
|
It owns a reactive data store, an `AbortController`, the trigger
|
|
231
238
|
handles, and the model-binding listeners.
|
|
@@ -248,7 +255,7 @@ definition at construction (boundary Zod validation) and returns a
|
|
|
248
255
|
`getShellRenderTree`, `getCanvasRenderTree`, `flattenRenderTree`,
|
|
249
256
|
`dispatch`, `publish`, `onStateChange`, `onDataChange`, `onEndpoint`,
|
|
250
257
|
`onCanvasChange`, `dispose`. Canvases are `CanvasConfig`s (`{ id, mode?,
|
|
251
|
-
actionLayout?, initial? }`) — a canvas can pre-seed its stack, declare how
|
|
258
|
+
actionLayout?, initial?, reconcile? }`) — a canvas can pre-seed its stack, declare how
|
|
252
259
|
its instances are arranged, and hold them as a `stack` (default: the top is
|
|
253
260
|
active, the rest suspended) or a `list` (every instance stays live). The shell maintains a stack per
|
|
254
261
|
canvas, drives lifecycle hooks via the runtime, composes any `with`
|
package/SHELL_DOCS.md
CHANGED
|
@@ -61,6 +61,7 @@ type ShellConfig = {
|
|
|
61
61
|
fetch?: FetchFn; // fetch implementation for endpoint calls
|
|
62
62
|
transform?: TransformFn; // evaluator for endpoint `request`/`response` configs (Prism etc.)
|
|
63
63
|
functions?: Record<string, FunctionHandler>; // handlers for `{ fn: '<name>' }` endpoints
|
|
64
|
+
reconcilers?: Record<string, Reconciler>; // what reconciles a canvas that names one (see reconcileCanvas below)
|
|
64
65
|
endpointTimeoutMs?: number; // how long an endpoint call waits for its reply before it
|
|
65
66
|
// fails to `onError` (default 30000); an endpoint's own
|
|
66
67
|
// `timeoutMs` wins
|
|
@@ -104,6 +105,8 @@ type CanvasConfig = {
|
|
|
104
105
|
// A string is the id of a layout in the layout store
|
|
105
106
|
initial?: CanvasInitialSeed | CanvasInitialSeed[]; // pre-populate the stack on shell creation;
|
|
106
107
|
// a list is pushed left to right
|
|
108
|
+
reconcile?: string; // the name, in ShellConfig.reconcilers, of what reconciles
|
|
109
|
+
// this canvas; without it, reconcileCanvas does
|
|
107
110
|
};
|
|
108
111
|
|
|
109
112
|
// A seed is an action id, or an object with input and fragment composition.
|
|
@@ -255,6 +258,7 @@ type PushOptions = {
|
|
|
255
258
|
origin?: string; // who is placing this — read back with shell.originOf(instanceId)
|
|
256
259
|
history?: boolean; // default true; false keeps the push out of the navigation journal,
|
|
257
260
|
// so `back` cannot undo it
|
|
261
|
+
key?: string; // which row the instance stands for — read back by a reconciler's keyOf
|
|
258
262
|
};
|
|
259
263
|
```
|
|
260
264
|
|
|
@@ -388,7 +392,28 @@ const { changed, notes } = reconcileCanvas(
|
|
|
388
392
|
);
|
|
389
393
|
```
|
|
390
394
|
|
|
391
|
-
`origin` (required) is stamped on everything the call pushes. `own: 'pushed'` (default) moves only instances carrying that origin; `own: 'canvas'` moves everything on the canvas. One instance per action id. An optional `definitionOf(actionId)` enables the re-aim rule: when a live instance's input changed and that input carries a key the action declares in its `input` and its mount-time load reads through an endpoint `request`, the instance is re-opened instead of written into. A desired entry's `with` names the fragments the action is composed with when the call pushes it, as `push` takes them. `notes` lists what the call did, in order (`placed notes`, `closed timer`, `set minutes on timer`), for a log or a trace.
|
|
395
|
+
`origin` (required) is stamped on everything the call pushes. `own: 'pushed'` (default) moves only instances carrying that origin; `own: 'canvas'` moves everything on the canvas. One instance per action id. An optional `definitionOf(actionId)` enables the re-aim rule: when a live instance's input changed and that input carries a key the action declares in its `input` and its mount-time load reads through an endpoint `request`, the instance is re-opened instead of written into. A desired entry's `with` names the fragments the action is composed with when the call pushes it, as `push` takes them; its `row` is the row the `reconcile` step read it from, and `reconcileCanvas` does not read it. `notes` lists what the call did, in order (`placed notes`, `closed timer`, `set minutes on timer`), for a log or a trace. It never reorders: what it keeps stays where it is, and what it places goes on top.
|
|
396
|
+
|
|
397
|
+
#### A canvas that names its own reconciler
|
|
398
|
+
|
|
399
|
+
A canvas with `reconcile: 'keyed'` is reconciled by `ShellConfig.reconcilers.keyed` instead, whenever a `reconcile` step aims at it. A `Reconciler` is called as `reconcileCanvas` is, and returns what it does:
|
|
400
|
+
|
|
401
|
+
```ts
|
|
402
|
+
type Reconciler = (shell: Shell, canvasId: string, desired: readonly Desired[], options: ReconcilerOptions) => ReconcileResult;
|
|
403
|
+
|
|
404
|
+
type ReconcilerOptions = ReconcileOptions & {
|
|
405
|
+
moveInstance: (canvasId: string, instanceId: string, index: number) => void;
|
|
406
|
+
keyOf: (instanceId: string) => string | undefined;
|
|
407
|
+
};
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
- `desired` is the step's list, less the rows naming an action the shell does not have. Each entry carries its `row` as the action holds it, so the reconciler reads whatever names a row (a key field) itself; do not change it.
|
|
411
|
+
- `options` carries the step's `origin` and `own`, and `definitionOf`.
|
|
412
|
+
- `moveInstance` puts an instance at a position on a canvas (`0` is first; an index past either end is that end; an instance that is not there is left alone). It re-mounts nothing — the instance keeps its data, and the adapters keep its element. On a stack canvas, a move that changes the top suspends the old top and resumes the new one. It writes nothing to the navigation journal.
|
|
413
|
+
- `keyOf` answers the `key` an instance was pushed with (`shell.push(…, { origin, key })`), and nothing once it is gone. An instance `back` re-opens carries none.
|
|
414
|
+
- Return `changed: true` whenever anything on the canvas changed, moves included: only then is the position before the call kept for `back`. Everything the reconciler does is one navigation.
|
|
415
|
+
|
|
416
|
+
A canvas naming a reconciler the shell was not given is refused (`DefinitionValidationError`) by `createShell` and by `addCanvas`. nova ships no keyed reconciler: which rows match, and what a kept one is given, is the app's to say.
|
|
392
417
|
|
|
393
418
|
### Render-tree access
|
|
394
419
|
|
|
@@ -3,7 +3,7 @@ import { DomComponent } from '../index.cjs';
|
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../schemas-DPdeFlCT.cjs';
|
|
5
5
|
import '../../../schemas-pMyyuXV7.cjs';
|
|
6
|
-
import '../../../types-
|
|
6
|
+
import '../../../types-CWOom_fv.cjs';
|
|
7
7
|
import '../../../index-BoPH5aSd.cjs';
|
|
8
8
|
import '../../../effects-DkBBrxVj.cjs';
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import { DomComponent } from '../index.js';
|
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../schemas-DPdeFlCT.js';
|
|
5
5
|
import '../../../schemas-pMyyuXV7.js';
|
|
6
|
-
import '../../../types-
|
|
6
|
+
import '../../../types-DOm2MKDk.js';
|
|
7
7
|
import '../../../index-BjQX8XZl.js';
|
|
8
8
|
import '../../../effects-DkBBrxVj.js';
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5T26T2EJ_cjs = require('../../chunk-5T26T2EJ.cjs');
|
|
4
4
|
require('../../chunk-QHX3VA55.cjs');
|
|
5
|
-
require('../../chunk-
|
|
5
|
+
require('../../chunk-OWA5Z3WT.cjs');
|
|
6
6
|
require('../../chunk-QTJ4ZQRM.cjs');
|
|
7
7
|
require('../../chunk-VDB7VHFS.cjs');
|
|
8
8
|
require('../../chunk-OM2HY2GE.cjs');
|
|
@@ -18,11 +18,11 @@ require('../../chunk-Q7SFCCGT.cjs');
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "createDomView", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk5T26T2EJ_cjs.createDomView; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "mountShell", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk5T26T2EJ_cjs.mountShell; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=index.cjs.map
|
|
28
28
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as ComponentRegistry } from '../../types-CR56luN7.cjs';
|
|
2
2
|
import { N as NovaEvent } from '../../schemas-pMyyuXV7.cjs';
|
|
3
|
-
import { R as RenderApi, a as Shell } from '../../types-
|
|
3
|
+
import { R as RenderApi, a as Shell } from '../../types-CWOom_fv.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../schemas-DPdeFlCT.cjs';
|
|
6
6
|
import '../../index-BoPH5aSd.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as ComponentRegistry } from '../../types-CJC8mnzl.js';
|
|
2
2
|
import { N as NovaEvent } from '../../schemas-pMyyuXV7.js';
|
|
3
|
-
import { R as RenderApi, a as Shell } from '../../types-
|
|
3
|
+
import { R as RenderApi, a as Shell } from '../../types-DOm2MKDk.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../schemas-DPdeFlCT.js';
|
|
6
6
|
import '../../index-BjQX8XZl.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { createDomView, mountShell } from '../../chunk-
|
|
1
|
+
export { createDomView, mountShell } from '../../chunk-T33VE5XQ.js';
|
|
2
2
|
import '../../chunk-SCXYAXMO.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-OY7SCFTJ.js';
|
|
4
4
|
import '../../chunk-C63CBYD5.js';
|
|
5
5
|
import '../../chunk-E2PXYR3H.js';
|
|
6
6
|
import '../../chunk-A3IIJF4E.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5T26T2EJ_cjs = require('../../chunk-5T26T2EJ.cjs');
|
|
4
4
|
require('../../chunk-QHX3VA55.cjs');
|
|
5
|
-
require('../../chunk-
|
|
5
|
+
require('../../chunk-OWA5Z3WT.cjs');
|
|
6
6
|
require('../../chunk-QTJ4ZQRM.cjs');
|
|
7
7
|
require('../../chunk-VDB7VHFS.cjs');
|
|
8
8
|
require('../../chunk-OM2HY2GE.cjs');
|
|
@@ -24,7 +24,7 @@ var renderToString = (registry, api, options) => {
|
|
|
24
24
|
if (value !== void 0) Object.defineProperty(globalThis, name, { value, configurable: true, writable: true });
|
|
25
25
|
}
|
|
26
26
|
const root = document.createElement("div");
|
|
27
|
-
const view =
|
|
27
|
+
const view = chunk5T26T2EJ_cjs.createDomView(root, registry, api, options.fallback !== void 0 ? { fallback: options.fallback } : {});
|
|
28
28
|
view.render();
|
|
29
29
|
const markup = root.innerHTML;
|
|
30
30
|
view.destroy();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as ComponentRegistry } from '../../types-CR56luN7.cjs';
|
|
2
|
-
import { R as RenderApi } from '../../types-
|
|
2
|
+
import { R as RenderApi } from '../../types-CWOom_fv.cjs';
|
|
3
3
|
import { DomComponent } from './index.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../schemas-DPdeFlCT.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as ComponentRegistry } from '../../types-CJC8mnzl.js';
|
|
2
|
-
import { R as RenderApi } from '../../types-
|
|
2
|
+
import { R as RenderApi } from '../../types-DOm2MKDk.js';
|
|
3
3
|
import { DomComponent } from './index.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../schemas-DPdeFlCT.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createDomView } from '../../chunk-
|
|
1
|
+
import { createDomView } from '../../chunk-T33VE5XQ.js';
|
|
2
2
|
import '../../chunk-SCXYAXMO.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-OY7SCFTJ.js';
|
|
4
4
|
import '../../chunk-C63CBYD5.js';
|
|
5
5
|
import '../../chunk-E2PXYR3H.js';
|
|
6
6
|
import '../../chunk-A3IIJF4E.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkITSVPZS5_cjs = require('../../../chunk-ITSVPZS5.cjs');
|
|
4
|
+
var chunk3XZODV7S_cjs = require('../../../chunk-3XZODV7S.cjs');
|
|
5
5
|
require('../../../chunk-QHX3VA55.cjs');
|
|
6
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-OWA5Z3WT.cjs');
|
|
7
7
|
require('../../../chunk-QTJ4ZQRM.cjs');
|
|
8
8
|
require('../../../chunk-VDB7VHFS.cjs');
|
|
9
9
|
require('../../../chunk-OM2HY2GE.cjs');
|
|
@@ -19,79 +19,79 @@ require('../../../chunk-Q7SFCCGT.cjs');
|
|
|
19
19
|
|
|
20
20
|
Object.defineProperty(exports, "ActionSlot", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkITSVPZS5_cjs.ActionSlot; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "Box", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkITSVPZS5_cjs.Box; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "Button", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkITSVPZS5_cjs.Button; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "CanvasSlot", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkITSVPZS5_cjs.CanvasSlot; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "Input", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkITSVPZS5_cjs.Input; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "JsonTree", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkITSVPZS5_cjs.JsonTree; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "Panel", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkITSVPZS5_cjs.Panel; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "Stack", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkITSVPZS5_cjs.Stack; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "Text", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkITSVPZS5_cjs.Text; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "registerNovaReactComponents", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkITSVPZS5_cjs.registerNovaReactComponents; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "ActionSlotPropsSchema", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunk3XZODV7S_cjs.ActionSlotPropsSchema; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "BoxPropsSchema", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunk3XZODV7S_cjs.BoxPropsSchema; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "ButtonPropsSchema", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunk3XZODV7S_cjs.ButtonPropsSchema; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "CanvasSlotPropsSchema", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunk3XZODV7S_cjs.CanvasSlotPropsSchema; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "InputPropsSchema", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunk3XZODV7S_cjs.InputPropsSchema; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "JsonTreePropsSchema", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunk3XZODV7S_cjs.JsonTreePropsSchema; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "PanelPropsSchema", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunk3XZODV7S_cjs.PanelPropsSchema; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "StackPropsSchema", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunk3XZODV7S_cjs.StackPropsSchema; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "TextPropsSchema", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunk3XZODV7S_cjs.TextPropsSchema; }
|
|
95
95
|
});
|
|
96
96
|
//# sourceMappingURL=index.cjs.map
|
|
97
97
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ActionSlot, Box, Button, CanvasSlot, Input, JsonTree, Panel, Stack, Text, registerNovaReactComponents } from '../../../chunk-
|
|
2
|
-
export { ActionSlotPropsSchema, BoxPropsSchema, ButtonPropsSchema, CanvasSlotPropsSchema, InputPropsSchema, JsonTreePropsSchema, PanelPropsSchema, StackPropsSchema, TextPropsSchema } from '../../../chunk-
|
|
1
|
+
export { ActionSlot, Box, Button, CanvasSlot, Input, JsonTree, Panel, Stack, Text, registerNovaReactComponents } from '../../../chunk-LAVCNLL3.js';
|
|
2
|
+
export { ActionSlotPropsSchema, BoxPropsSchema, ButtonPropsSchema, CanvasSlotPropsSchema, InputPropsSchema, JsonTreePropsSchema, PanelPropsSchema, StackPropsSchema, TextPropsSchema } from '../../../chunk-6VHOMWNF.js';
|
|
3
3
|
import '../../../chunk-SCXYAXMO.js';
|
|
4
|
-
import '../../../chunk-
|
|
4
|
+
import '../../../chunk-OY7SCFTJ.js';
|
|
5
5
|
import '../../../chunk-C63CBYD5.js';
|
|
6
6
|
import '../../../chunk-E2PXYR3H.js';
|
|
7
7
|
import '../../../chunk-A3IIJF4E.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkITSVPZS5_cjs = require('../../chunk-ITSVPZS5.cjs');
|
|
4
|
+
require('../../chunk-3XZODV7S.cjs');
|
|
5
5
|
require('../../chunk-QHX3VA55.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-OWA5Z3WT.cjs');
|
|
7
7
|
require('../../chunk-QTJ4ZQRM.cjs');
|
|
8
8
|
require('../../chunk-VDB7VHFS.cjs');
|
|
9
9
|
require('../../chunk-OM2HY2GE.cjs');
|
|
@@ -19,91 +19,91 @@ require('../../chunk-Q7SFCCGT.cjs');
|
|
|
19
19
|
|
|
20
20
|
Object.defineProperty(exports, "ErrorMarker", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkITSVPZS5_cjs.ErrorMarker; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "Nova", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkITSVPZS5_cjs.Nova; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "NovaCanvas", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkITSVPZS5_cjs.NovaCanvas; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "NovaErrorBoundary", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkITSVPZS5_cjs.NovaErrorBoundary; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "NovaLayout", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkITSVPZS5_cjs.NovaLayout; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "NovaRenderProvider", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkITSVPZS5_cjs.NovaRenderProvider; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "NovaShell", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkITSVPZS5_cjs.NovaShell; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "NovaShellProvider", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkITSVPZS5_cjs.NovaShellProvider; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "RenderNodeView", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkITSVPZS5_cjs.RenderNodeView; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "RenderTree", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkITSVPZS5_cjs.RenderTree; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "useActionData", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkITSVPZS5_cjs.useActionData; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "useActionStatus", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkITSVPZS5_cjs.useActionStatus; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "useCanvas", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkITSVPZS5_cjs.useCanvas; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "useCanvasRenderTree", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkITSVPZS5_cjs.useCanvasRenderTree; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "useNovaDispatch", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkITSVPZS5_cjs.useNovaDispatch; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "useNovaPublish", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkITSVPZS5_cjs.useNovaPublish; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "useNovaRegistry", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkITSVPZS5_cjs.useNovaRegistry; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "useRenderTree", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkITSVPZS5_cjs.useRenderTree; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "useShell", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkITSVPZS5_cjs.useShell; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "useShellRenderTree", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkITSVPZS5_cjs.useShellRenderTree; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "useShellState", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkITSVPZS5_cjs.useShellState; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "useSlotWrapper", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkITSVPZS5_cjs.useSlotWrapper; }
|
|
107
107
|
});
|
|
108
108
|
//# sourceMappingURL=index.cjs.map
|
|
109
109
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -3,7 +3,7 @@ export { c as NovaComponentProps, d as NovaModelBinding } from '../../types-D0x5
|
|
|
3
3
|
import { FC, ReactNode, ComponentType, Component, ErrorInfo } from 'react';
|
|
4
4
|
import { A as ActionDefinition } from '../../index-BoPH5aSd.cjs';
|
|
5
5
|
import { C as ComponentRegistry, b as RenderNode, s as RegistrationInput, L as LayoutStore, a as RenderOnError, R as RenderContext } from '../../types-CR56luN7.cjs';
|
|
6
|
-
import { a as Shell,
|
|
6
|
+
import { a as Shell, w as StateSnapshot, d as CanvasState, b as ActionStatus } from '../../types-CWOom_fv.cjs';
|
|
7
7
|
import { L as LayoutNode } from '../../schemas-DPdeFlCT.cjs';
|
|
8
8
|
import '../../schemas-pMyyuXV7.cjs';
|
|
9
9
|
import 'zod';
|
|
@@ -3,7 +3,7 @@ export { c as NovaComponentProps, d as NovaModelBinding } from '../../types-pbBI
|
|
|
3
3
|
import { FC, ReactNode, ComponentType, Component, ErrorInfo } from 'react';
|
|
4
4
|
import { A as ActionDefinition } from '../../index-BjQX8XZl.js';
|
|
5
5
|
import { C as ComponentRegistry, b as RenderNode, s as RegistrationInput, L as LayoutStore, a as RenderOnError, R as RenderContext } from '../../types-CJC8mnzl.js';
|
|
6
|
-
import { a as Shell,
|
|
6
|
+
import { a as Shell, w as StateSnapshot, d as CanvasState, b as ActionStatus } from '../../types-DOm2MKDk.js';
|
|
7
7
|
import { L as LayoutNode } from '../../schemas-DPdeFlCT.js';
|
|
8
8
|
import '../../schemas-pMyyuXV7.js';
|
|
9
9
|
import 'zod';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ErrorMarker, Nova, NovaCanvas, NovaErrorBoundary, NovaLayout, NovaRenderProvider, NovaShell, NovaShellProvider, RenderNodeView, RenderTree, useActionData, useActionStatus, useCanvas, useCanvasRenderTree, useNovaDispatch, useNovaPublish, useNovaRegistry, useRenderTree, useShell, useShellRenderTree, useShellState, useSlotWrapper } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { ErrorMarker, Nova, NovaCanvas, NovaErrorBoundary, NovaLayout, NovaRenderProvider, NovaShell, NovaShellProvider, RenderNodeView, RenderTree, useActionData, useActionStatus, useCanvas, useCanvasRenderTree, useNovaDispatch, useNovaPublish, useNovaRegistry, useRenderTree, useShell, useShellRenderTree, useShellState, useSlotWrapper } from '../../chunk-LAVCNLL3.js';
|
|
2
|
+
import '../../chunk-6VHOMWNF.js';
|
|
3
3
|
import '../../chunk-SCXYAXMO.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-OY7SCFTJ.js';
|
|
5
5
|
import '../../chunk-C63CBYD5.js';
|
|
6
6
|
import '../../chunk-E2PXYR3H.js';
|
|
7
7
|
import '../../chunk-A3IIJF4E.js';
|
|
@@ -2,7 +2,7 @@ import { C as ComponentRegistry } from '../../../types-CR56luN7.cjs';
|
|
|
2
2
|
import { TtyComponent, TtyBlock } from '../index.cjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../schemas-DPdeFlCT.cjs';
|
|
5
|
-
import '../../../types-
|
|
5
|
+
import '../../../types-CWOom_fv.cjs';
|
|
6
6
|
import '../../../index-BoPH5aSd.cjs';
|
|
7
7
|
import '../../../effects-DkBBrxVj.cjs';
|
|
8
8
|
import '../../../schemas-pMyyuXV7.cjs';
|
|
@@ -2,7 +2,7 @@ import { C as ComponentRegistry } from '../../../types-CJC8mnzl.js';
|
|
|
2
2
|
import { TtyComponent, TtyBlock } from '../index.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../schemas-DPdeFlCT.js';
|
|
5
|
-
import '../../../types-
|
|
5
|
+
import '../../../types-DOm2MKDk.js';
|
|
6
6
|
import '../../../index-BjQX8XZl.js';
|
|
7
7
|
import '../../../effects-DkBBrxVj.js';
|
|
8
8
|
import '../../../schemas-pMyyuXV7.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as ComponentRegistry } from '../../types-CR56luN7.cjs';
|
|
2
|
-
import { R as RenderApi } from '../../types-
|
|
2
|
+
import { R as RenderApi } from '../../types-CWOom_fv.cjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../schemas-DPdeFlCT.cjs';
|
|
5
5
|
import '../../index-BoPH5aSd.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as ComponentRegistry } from '../../types-CJC8mnzl.js';
|
|
2
|
-
import { R as RenderApi } from '../../types-
|
|
2
|
+
import { R as RenderApi } from '../../types-DOm2MKDk.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../schemas-DPdeFlCT.js';
|
|
5
5
|
import '../../index-BjQX8XZl.js';
|