@niscorp/nova 0.3.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/ACTION_DOCS.md +1 -1
  2. package/CHANGELOG.md +30 -0
  3. package/DESIGN.md +9 -6
  4. package/README.md +13 -11
  5. package/SHELL_DOCS.md +8 -10
  6. package/dist/adapters/dom/components/index.d.cts +1 -1
  7. package/dist/adapters/dom/components/index.d.ts +1 -1
  8. package/dist/adapters/dom/index.cjs +6 -6
  9. package/dist/adapters/dom/index.d.cts +1 -1
  10. package/dist/adapters/dom/index.d.ts +1 -1
  11. package/dist/adapters/dom/index.js +4 -4
  12. package/dist/adapters/dom/server.cjs +5 -5
  13. package/dist/adapters/dom/server.d.cts +1 -1
  14. package/dist/adapters/dom/server.d.ts +1 -1
  15. package/dist/adapters/dom/server.js +4 -4
  16. package/dist/adapters/react/components/index.cjs +24 -24
  17. package/dist/adapters/react/components/index.js +5 -5
  18. package/dist/adapters/react/index.cjs +27 -27
  19. package/dist/adapters/react/index.d.cts +1 -1
  20. package/dist/adapters/react/index.d.ts +1 -1
  21. package/dist/adapters/react/index.js +5 -5
  22. package/dist/adapters/tty/components/index.d.cts +1 -1
  23. package/dist/adapters/tty/components/index.d.ts +1 -1
  24. package/dist/adapters/tty/index.cjs +3 -3
  25. package/dist/adapters/tty/index.d.cts +1 -1
  26. package/dist/adapters/tty/index.d.ts +1 -1
  27. package/dist/adapters/tty/index.js +3 -3
  28. package/dist/adapters/vue/components/index.cjs +24 -24
  29. package/dist/adapters/vue/components/index.d.cts +9 -9
  30. package/dist/adapters/vue/components/index.d.ts +9 -9
  31. package/dist/adapters/vue/components/index.js +5 -5
  32. package/dist/adapters/vue/index.cjs +32 -32
  33. package/dist/adapters/vue/index.d.cts +1 -1
  34. package/dist/adapters/vue/index.d.ts +1 -1
  35. package/dist/adapters/vue/index.js +6 -6
  36. package/dist/agent/index.cjs +2 -2
  37. package/dist/agent/index.js +1 -1
  38. package/dist/{chunk-ZZRQAH5Z.js → chunk-A3IIJF4E.js} +16 -12
  39. package/dist/chunk-A3IIJF4E.js.map +1 -0
  40. package/dist/{chunk-ZVQKCDUG.cjs → chunk-BML7HQPE.cjs} +8 -28
  41. package/dist/chunk-BML7HQPE.cjs.map +1 -0
  42. package/dist/{chunk-FKAPJMNR.cjs → chunk-CAKJCAHW.cjs} +22 -22
  43. package/dist/{chunk-FKAPJMNR.cjs.map → chunk-CAKJCAHW.cjs.map} +1 -1
  44. package/dist/{chunk-HDREPLRA.cjs → chunk-DMAVKM7M.cjs} +6 -6
  45. package/dist/{chunk-HDREPLRA.cjs.map → chunk-DMAVKM7M.cjs.map} +1 -1
  46. package/dist/{chunk-YV2G37TJ.js → chunk-E2PXYR3H.js} +3 -3
  47. package/dist/{chunk-YV2G37TJ.js.map → chunk-E2PXYR3H.js.map} +1 -1
  48. package/dist/{chunk-SABSY2BW.cjs → chunk-FVGJD6CI.cjs} +4 -4
  49. package/dist/{chunk-SABSY2BW.cjs.map → chunk-FVGJD6CI.cjs.map} +1 -1
  50. package/dist/{chunk-OSIFUROH.js → chunk-GFMNQT2X.js} +5 -5
  51. package/dist/{chunk-OSIFUROH.js.map → chunk-GFMNQT2X.js.map} +1 -1
  52. package/dist/{chunk-UXFQZX6O.js → chunk-GY3KNTNK.js} +6 -26
  53. package/dist/chunk-GY3KNTNK.js.map +1 -0
  54. package/dist/{chunk-PCUXNVWF.js → chunk-IIOO6Z4T.js} +5 -5
  55. package/dist/{chunk-PCUXNVWF.js.map → chunk-IIOO6Z4T.js.map} +1 -1
  56. package/dist/{chunk-3JE77TNL.js → chunk-L5HAGG4U.js} +41 -22
  57. package/dist/chunk-L5HAGG4U.js.map +1 -0
  58. package/dist/{chunk-BXUEWV7V.cjs → chunk-OM2HY2GE.cjs} +16 -12
  59. package/dist/chunk-OM2HY2GE.cjs.map +1 -0
  60. package/dist/{chunk-2H6Y25FO.js → chunk-OPF42ISN.js} +4 -4
  61. package/dist/{chunk-2H6Y25FO.js.map → chunk-OPF42ISN.js.map} +1 -1
  62. package/dist/{chunk-I35ZD3PU.cjs → chunk-TWXAKLMX.cjs} +21 -21
  63. package/dist/{chunk-I35ZD3PU.cjs.map → chunk-TWXAKLMX.cjs.map} +1 -1
  64. package/dist/{chunk-K54CT3QN.cjs → chunk-VDB7VHFS.cjs} +4 -4
  65. package/dist/{chunk-K54CT3QN.cjs.map → chunk-VDB7VHFS.cjs.map} +1 -1
  66. package/dist/{chunk-EK2GBZ7D.js → chunk-WKDPEBXU.js} +3 -3
  67. package/dist/{chunk-EK2GBZ7D.js.map → chunk-WKDPEBXU.js.map} +1 -1
  68. package/dist/{chunk-DLZNZHUW.cjs → chunk-WRVT7JTK.cjs} +72 -53
  69. package/dist/chunk-WRVT7JTK.cjs.map +1 -0
  70. package/dist/devtools/index.cjs +52 -32
  71. package/dist/devtools/index.cjs.map +1 -1
  72. package/dist/devtools/index.d.cts +2 -2
  73. package/dist/devtools/index.d.ts +2 -2
  74. package/dist/devtools/index.js +52 -32
  75. package/dist/devtools/index.js.map +1 -1
  76. package/dist/document/index.d.cts +3 -3
  77. package/dist/document/index.d.ts +3 -3
  78. package/dist/examples/index.d.cts +1 -1
  79. package/dist/examples/index.d.ts +1 -1
  80. package/dist/{head-BOjhYA36.d.cts → head-CBse5408.d.cts} +1 -1
  81. package/dist/{head-CBib11hD.d.ts → head-pDYg3tbK.d.ts} +1 -1
  82. package/dist/index.cjs +41 -41
  83. package/dist/index.d.cts +3 -3
  84. package/dist/index.d.ts +3 -3
  85. package/dist/index.js +3 -3
  86. package/dist/reflect/index.cjs +21 -21
  87. package/dist/reflect/index.d.cts +2 -2
  88. package/dist/reflect/index.d.ts +2 -2
  89. package/dist/reflect/index.js +3 -3
  90. package/dist/{types-OsJI-ceI.d.cts → types-6KTCKlXf.d.cts} +7 -3
  91. package/dist/{types-Dn9cBFCC.d.ts → types-DV-GDFJd.d.ts} +7 -3
  92. package/package.json +3 -3
  93. package/dist/chunk-3JE77TNL.js.map +0 -1
  94. package/dist/chunk-BXUEWV7V.cjs.map +0 -1
  95. package/dist/chunk-DLZNZHUW.cjs.map +0 -1
  96. package/dist/chunk-UXFQZX6O.js.map +0 -1
  97. package/dist/chunk-ZVQKCDUG.cjs.map +0 -1
  98. package/dist/chunk-ZZRQAH5Z.js.map +0 -1
@@ -1,10 +1,10 @@
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-PCUXNVWF.js';
2
- import '../../chunk-EK2GBZ7D.js';
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-IIOO6Z4T.js';
2
+ import '../../chunk-WKDPEBXU.js';
3
3
  import '../../chunk-SCXYAXMO.js';
4
- import '../../chunk-3JE77TNL.js';
4
+ import '../../chunk-L5HAGG4U.js';
5
5
  import '../../chunk-C63CBYD5.js';
6
- import '../../chunk-YV2G37TJ.js';
7
- import '../../chunk-ZZRQAH5Z.js';
6
+ import '../../chunk-E2PXYR3H.js';
7
+ import '../../chunk-A3IIJF4E.js';
8
8
  import '../../chunk-M2ZZUSH3.js';
9
9
  import '../../chunk-Y3UKAJJX.js';
10
10
  import '../../chunk-G4OQ4PEO.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-OsJI-ceI.cjs';
5
+ import '../../../types-6KTCKlXf.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-Dn9cBFCC.js';
5
+ import '../../../types-DV-GDFJd.js';
6
6
  import '../../../index-BjQX8XZl.js';
7
7
  import '../../../effects-DkBBrxVj.js';
8
8
  import '../../../schemas-pMyyuXV7.js';
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- require('../../chunk-DLZNZHUW.cjs');
3
+ require('../../chunk-WRVT7JTK.cjs');
4
4
  var chunkQTJ4ZQRM_cjs = require('../../chunk-QTJ4ZQRM.cjs');
5
- require('../../chunk-K54CT3QN.cjs');
6
- require('../../chunk-BXUEWV7V.cjs');
5
+ require('../../chunk-VDB7VHFS.cjs');
6
+ require('../../chunk-OM2HY2GE.cjs');
7
7
  require('../../chunk-RVU6YEHO.cjs');
8
8
  require('../../chunk-MEZCO7ND.cjs');
9
9
  require('../../chunk-CQZH3L3W.cjs');
@@ -1,5 +1,5 @@
1
1
  import { C as ComponentRegistry } from '../../types-CR56luN7.cjs';
2
- import { R as RenderApi } from '../../types-OsJI-ceI.cjs';
2
+ import { R as RenderApi } from '../../types-6KTCKlXf.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-Dn9cBFCC.js';
2
+ import { R as RenderApi } from '../../types-DV-GDFJd.js';
3
3
  import 'zod';
4
4
  import '../../schemas-DPdeFlCT.js';
5
5
  import '../../index-BjQX8XZl.js';
@@ -1,7 +1,7 @@
1
- import '../../chunk-3JE77TNL.js';
1
+ import '../../chunk-L5HAGG4U.js';
2
2
  import { isHeadNode } from '../../chunk-C63CBYD5.js';
3
- import '../../chunk-YV2G37TJ.js';
4
- import '../../chunk-ZZRQAH5Z.js';
3
+ import '../../chunk-E2PXYR3H.js';
4
+ import '../../chunk-A3IIJF4E.js';
5
5
  import '../../chunk-M2ZZUSH3.js';
6
6
  import '../../chunk-Y3UKAJJX.js';
7
7
  import '../../chunk-G4OQ4PEO.js';
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkI35ZD3PU_cjs = require('../../../chunk-I35ZD3PU.cjs');
4
- var chunkSABSY2BW_cjs = require('../../../chunk-SABSY2BW.cjs');
3
+ var chunkTWXAKLMX_cjs = require('../../../chunk-TWXAKLMX.cjs');
4
+ var chunkFVGJD6CI_cjs = require('../../../chunk-FVGJD6CI.cjs');
5
5
  require('../../../chunk-QHX3VA55.cjs');
6
- require('../../../chunk-DLZNZHUW.cjs');
6
+ require('../../../chunk-WRVT7JTK.cjs');
7
7
  require('../../../chunk-QTJ4ZQRM.cjs');
8
- require('../../../chunk-K54CT3QN.cjs');
9
- require('../../../chunk-BXUEWV7V.cjs');
8
+ require('../../../chunk-VDB7VHFS.cjs');
9
+ require('../../../chunk-OM2HY2GE.cjs');
10
10
  require('../../../chunk-RVU6YEHO.cjs');
11
11
  require('../../../chunk-MEZCO7ND.cjs');
12
12
  require('../../../chunk-CQZH3L3W.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 chunkI35ZD3PU_cjs.ActionSlot; }
22
+ get: function () { return chunkTWXAKLMX_cjs.ActionSlot; }
23
23
  });
24
24
  Object.defineProperty(exports, "Box", {
25
25
  enumerable: true,
26
- get: function () { return chunkI35ZD3PU_cjs.Box; }
26
+ get: function () { return chunkTWXAKLMX_cjs.Box; }
27
27
  });
28
28
  Object.defineProperty(exports, "Button", {
29
29
  enumerable: true,
30
- get: function () { return chunkI35ZD3PU_cjs.Button; }
30
+ get: function () { return chunkTWXAKLMX_cjs.Button; }
31
31
  });
32
32
  Object.defineProperty(exports, "CanvasSlot", {
33
33
  enumerable: true,
34
- get: function () { return chunkI35ZD3PU_cjs.CanvasSlot; }
34
+ get: function () { return chunkTWXAKLMX_cjs.CanvasSlot; }
35
35
  });
36
36
  Object.defineProperty(exports, "Input", {
37
37
  enumerable: true,
38
- get: function () { return chunkI35ZD3PU_cjs.Input; }
38
+ get: function () { return chunkTWXAKLMX_cjs.Input; }
39
39
  });
40
40
  Object.defineProperty(exports, "JsonTree", {
41
41
  enumerable: true,
42
- get: function () { return chunkI35ZD3PU_cjs.JsonTree; }
42
+ get: function () { return chunkTWXAKLMX_cjs.JsonTree; }
43
43
  });
44
44
  Object.defineProperty(exports, "Panel", {
45
45
  enumerable: true,
46
- get: function () { return chunkI35ZD3PU_cjs.Panel; }
46
+ get: function () { return chunkTWXAKLMX_cjs.Panel; }
47
47
  });
48
48
  Object.defineProperty(exports, "Stack", {
49
49
  enumerable: true,
50
- get: function () { return chunkI35ZD3PU_cjs.Stack; }
50
+ get: function () { return chunkTWXAKLMX_cjs.Stack; }
51
51
  });
52
52
  Object.defineProperty(exports, "Text", {
53
53
  enumerable: true,
54
- get: function () { return chunkI35ZD3PU_cjs.Text; }
54
+ get: function () { return chunkTWXAKLMX_cjs.Text; }
55
55
  });
56
56
  Object.defineProperty(exports, "registerNovaVueComponents", {
57
57
  enumerable: true,
58
- get: function () { return chunkI35ZD3PU_cjs.registerNovaVueComponents; }
58
+ get: function () { return chunkTWXAKLMX_cjs.registerNovaVueComponents; }
59
59
  });
60
60
  Object.defineProperty(exports, "ActionSlotPropsSchema", {
61
61
  enumerable: true,
62
- get: function () { return chunkSABSY2BW_cjs.ActionSlotPropsSchema; }
62
+ get: function () { return chunkFVGJD6CI_cjs.ActionSlotPropsSchema; }
63
63
  });
64
64
  Object.defineProperty(exports, "BoxPropsSchema", {
65
65
  enumerable: true,
66
- get: function () { return chunkSABSY2BW_cjs.BoxPropsSchema; }
66
+ get: function () { return chunkFVGJD6CI_cjs.BoxPropsSchema; }
67
67
  });
68
68
  Object.defineProperty(exports, "ButtonPropsSchema", {
69
69
  enumerable: true,
70
- get: function () { return chunkSABSY2BW_cjs.ButtonPropsSchema; }
70
+ get: function () { return chunkFVGJD6CI_cjs.ButtonPropsSchema; }
71
71
  });
72
72
  Object.defineProperty(exports, "CanvasSlotPropsSchema", {
73
73
  enumerable: true,
74
- get: function () { return chunkSABSY2BW_cjs.CanvasSlotPropsSchema; }
74
+ get: function () { return chunkFVGJD6CI_cjs.CanvasSlotPropsSchema; }
75
75
  });
76
76
  Object.defineProperty(exports, "InputPropsSchema", {
77
77
  enumerable: true,
78
- get: function () { return chunkSABSY2BW_cjs.InputPropsSchema; }
78
+ get: function () { return chunkFVGJD6CI_cjs.InputPropsSchema; }
79
79
  });
80
80
  Object.defineProperty(exports, "JsonTreePropsSchema", {
81
81
  enumerable: true,
82
- get: function () { return chunkSABSY2BW_cjs.JsonTreePropsSchema; }
82
+ get: function () { return chunkFVGJD6CI_cjs.JsonTreePropsSchema; }
83
83
  });
84
84
  Object.defineProperty(exports, "PanelPropsSchema", {
85
85
  enumerable: true,
86
- get: function () { return chunkSABSY2BW_cjs.PanelPropsSchema; }
86
+ get: function () { return chunkFVGJD6CI_cjs.PanelPropsSchema; }
87
87
  });
88
88
  Object.defineProperty(exports, "StackPropsSchema", {
89
89
  enumerable: true,
90
- get: function () { return chunkSABSY2BW_cjs.StackPropsSchema; }
90
+ get: function () { return chunkFVGJD6CI_cjs.StackPropsSchema; }
91
91
  });
92
92
  Object.defineProperty(exports, "TextPropsSchema", {
93
93
  enumerable: true,
94
- get: function () { return chunkSABSY2BW_cjs.TextPropsSchema; }
94
+ get: function () { return chunkFVGJD6CI_cjs.TextPropsSchema; }
95
95
  });
96
96
  //# sourceMappingURL=index.cjs.map
97
97
  //# sourceMappingURL=index.cjs.map
@@ -10,15 +10,15 @@ import '../../../schemas-pMyyuXV7.cjs';
10
10
  declare const Stack: vue.DefineSetupFnComponent<{
11
11
  direction?: "row" | "column" | undefined;
12
12
  gap?: number | undefined;
13
- align?: "start" | "center" | "end" | "stretch" | undefined;
14
- justify?: "start" | "center" | "end" | "between" | "around" | undefined;
13
+ align?: "center" | "start" | "end" | "stretch" | undefined;
14
+ justify?: "center" | "start" | "end" | "between" | "around" | undefined;
15
15
  padding?: number | undefined;
16
16
  wrap?: boolean | undefined;
17
17
  }, {}, {}, {
18
18
  direction?: "row" | "column" | undefined;
19
19
  gap?: number | undefined;
20
- align?: "start" | "center" | "end" | "stretch" | undefined;
21
- justify?: "start" | "center" | "end" | "between" | "around" | undefined;
20
+ align?: "center" | "start" | "end" | "stretch" | undefined;
21
+ justify?: "center" | "start" | "end" | "between" | "around" | undefined;
22
22
  padding?: number | undefined;
23
23
  wrap?: boolean | undefined;
24
24
  } & {}, vue.PublicProps> & {
@@ -31,14 +31,14 @@ declare const Stack: vue.DefineSetupFnComponent<{
31
31
  }>>;
32
32
  gap: zod.ZodOptional<zod.ZodNumber>;
33
33
  align: zod.ZodOptional<zod.ZodEnum<{
34
- start: "start";
35
34
  center: "center";
35
+ start: "start";
36
36
  end: "end";
37
37
  stretch: "stretch";
38
38
  }>>;
39
39
  justify: zod.ZodOptional<zod.ZodEnum<{
40
- start: "start";
41
40
  center: "center";
41
+ start: "start";
42
42
  end: "end";
43
43
  between: "between";
44
44
  around: "around";
@@ -72,12 +72,12 @@ declare const Box: vue.DefineSetupFnComponent<{
72
72
  declare const Text: vue.DefineSetupFnComponent<{
73
73
  as?: "h1" | "h2" | "h3" | "h4" | "p" | "span" | undefined;
74
74
  size?: "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
75
- weight?: "normal" | "medium" | "bold" | undefined;
75
+ weight?: "bold" | "normal" | "medium" | undefined;
76
76
  color?: string | undefined;
77
77
  }, {}, {}, {
78
78
  as?: "h1" | "h2" | "h3" | "h4" | "p" | "span" | undefined;
79
79
  size?: "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
80
- weight?: "normal" | "medium" | "bold" | undefined;
80
+ weight?: "bold" | "normal" | "medium" | undefined;
81
81
  color?: string | undefined;
82
82
  } & {}, vue.PublicProps> & {
83
83
  meta: {
@@ -99,9 +99,9 @@ declare const Text: vue.DefineSetupFnComponent<{
99
99
  "2xl": "2xl";
100
100
  }>>;
101
101
  weight: zod.ZodOptional<zod.ZodEnum<{
102
+ bold: "bold";
102
103
  normal: "normal";
103
104
  medium: "medium";
104
- bold: "bold";
105
105
  }>>;
106
106
  color: zod.ZodOptional<zod.ZodString>;
107
107
  }, zod_v4_core.$strict>;
@@ -10,15 +10,15 @@ import '../../../schemas-pMyyuXV7.js';
10
10
  declare const Stack: vue.DefineSetupFnComponent<{
11
11
  direction?: "row" | "column" | undefined;
12
12
  gap?: number | undefined;
13
- align?: "start" | "center" | "end" | "stretch" | undefined;
14
- justify?: "start" | "center" | "end" | "between" | "around" | undefined;
13
+ align?: "center" | "start" | "end" | "stretch" | undefined;
14
+ justify?: "center" | "start" | "end" | "between" | "around" | undefined;
15
15
  padding?: number | undefined;
16
16
  wrap?: boolean | undefined;
17
17
  }, {}, {}, {
18
18
  direction?: "row" | "column" | undefined;
19
19
  gap?: number | undefined;
20
- align?: "start" | "center" | "end" | "stretch" | undefined;
21
- justify?: "start" | "center" | "end" | "between" | "around" | undefined;
20
+ align?: "center" | "start" | "end" | "stretch" | undefined;
21
+ justify?: "center" | "start" | "end" | "between" | "around" | undefined;
22
22
  padding?: number | undefined;
23
23
  wrap?: boolean | undefined;
24
24
  } & {}, vue.PublicProps> & {
@@ -31,14 +31,14 @@ declare const Stack: vue.DefineSetupFnComponent<{
31
31
  }>>;
32
32
  gap: zod.ZodOptional<zod.ZodNumber>;
33
33
  align: zod.ZodOptional<zod.ZodEnum<{
34
- start: "start";
35
34
  center: "center";
35
+ start: "start";
36
36
  end: "end";
37
37
  stretch: "stretch";
38
38
  }>>;
39
39
  justify: zod.ZodOptional<zod.ZodEnum<{
40
- start: "start";
41
40
  center: "center";
41
+ start: "start";
42
42
  end: "end";
43
43
  between: "between";
44
44
  around: "around";
@@ -72,12 +72,12 @@ declare const Box: vue.DefineSetupFnComponent<{
72
72
  declare const Text: vue.DefineSetupFnComponent<{
73
73
  as?: "h1" | "h2" | "h3" | "h4" | "p" | "span" | undefined;
74
74
  size?: "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
75
- weight?: "normal" | "medium" | "bold" | undefined;
75
+ weight?: "bold" | "normal" | "medium" | undefined;
76
76
  color?: string | undefined;
77
77
  }, {}, {}, {
78
78
  as?: "h1" | "h2" | "h3" | "h4" | "p" | "span" | undefined;
79
79
  size?: "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
80
- weight?: "normal" | "medium" | "bold" | undefined;
80
+ weight?: "bold" | "normal" | "medium" | undefined;
81
81
  color?: string | undefined;
82
82
  } & {}, vue.PublicProps> & {
83
83
  meta: {
@@ -99,9 +99,9 @@ declare const Text: vue.DefineSetupFnComponent<{
99
99
  "2xl": "2xl";
100
100
  }>>;
101
101
  weight: zod.ZodOptional<zod.ZodEnum<{
102
+ bold: "bold";
102
103
  normal: "normal";
103
104
  medium: "medium";
104
- bold: "bold";
105
105
  }>>;
106
106
  color: zod.ZodOptional<zod.ZodString>;
107
107
  }, zod_v4_core.$strict>;
@@ -1,10 +1,10 @@
1
- export { ActionSlot, Box, Button, CanvasSlot, Input, JsonTree, Panel, Stack, Text, registerNovaVueComponents } from '../../../chunk-OSIFUROH.js';
2
- export { ActionSlotPropsSchema, BoxPropsSchema, ButtonPropsSchema, CanvasSlotPropsSchema, InputPropsSchema, JsonTreePropsSchema, PanelPropsSchema, StackPropsSchema, TextPropsSchema } from '../../../chunk-EK2GBZ7D.js';
1
+ export { ActionSlot, Box, Button, CanvasSlot, Input, JsonTree, Panel, Stack, Text, registerNovaVueComponents } from '../../../chunk-GFMNQT2X.js';
2
+ export { ActionSlotPropsSchema, BoxPropsSchema, ButtonPropsSchema, CanvasSlotPropsSchema, InputPropsSchema, JsonTreePropsSchema, PanelPropsSchema, StackPropsSchema, TextPropsSchema } from '../../../chunk-WKDPEBXU.js';
3
3
  import '../../../chunk-SCXYAXMO.js';
4
- import '../../../chunk-3JE77TNL.js';
4
+ import '../../../chunk-L5HAGG4U.js';
5
5
  import '../../../chunk-C63CBYD5.js';
6
- import '../../../chunk-YV2G37TJ.js';
7
- import '../../../chunk-ZZRQAH5Z.js';
6
+ import '../../../chunk-E2PXYR3H.js';
7
+ import '../../../chunk-A3IIJF4E.js';
8
8
  import '../../../chunk-M2ZZUSH3.js';
9
9
  import '../../../chunk-Y3UKAJJX.js';
10
10
  import '../../../chunk-G4OQ4PEO.js';
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkI35ZD3PU_cjs = require('../../chunk-I35ZD3PU.cjs');
4
- require('../../chunk-SABSY2BW.cjs');
3
+ var chunkTWXAKLMX_cjs = require('../../chunk-TWXAKLMX.cjs');
4
+ require('../../chunk-FVGJD6CI.cjs');
5
5
  require('../../chunk-QHX3VA55.cjs');
6
- require('../../chunk-DLZNZHUW.cjs');
6
+ require('../../chunk-WRVT7JTK.cjs');
7
7
  var chunkQTJ4ZQRM_cjs = require('../../chunk-QTJ4ZQRM.cjs');
8
- require('../../chunk-K54CT3QN.cjs');
9
- require('../../chunk-BXUEWV7V.cjs');
8
+ require('../../chunk-VDB7VHFS.cjs');
9
+ require('../../chunk-OM2HY2GE.cjs');
10
10
  require('../../chunk-RVU6YEHO.cjs');
11
11
  require('../../chunk-MEZCO7ND.cjs');
12
12
  require('../../chunk-CQZH3L3W.cjs');
@@ -39,7 +39,7 @@ var NovaRenderProvider = vue.defineComponent(
39
39
  return props.fallback;
40
40
  }
41
41
  };
42
- vue.provide(chunkI35ZD3PU_cjs.NovaRenderKey, value);
42
+ vue.provide(chunkTWXAKLMX_cjs.NovaRenderKey, value);
43
43
  return () => slots.default?.();
44
44
  },
45
45
  { name: "NovaRenderProvider", props: ["registry", "dispatch", "publish", "slotWrapper", "fallback"] }
@@ -51,8 +51,8 @@ var NovaShellProvider = vue.defineComponent(
51
51
  return props.shell;
52
52
  }
53
53
  };
54
- vue.provide(chunkI35ZD3PU_cjs.NovaShellKey, source);
55
- chunkI35ZD3PU_cjs.provideShellHead(() => props.shell);
54
+ vue.provide(chunkTWXAKLMX_cjs.NovaShellKey, source);
55
+ chunkTWXAKLMX_cjs.provideShellHead(() => props.shell);
56
56
  const dispatch = (event) => props.shell.dispatch(event);
57
57
  const publish = (channel, payload) => props.shell.publish(channel, payload);
58
58
  return () => vue.h(
@@ -83,12 +83,12 @@ var NovaErrorBoundary = vue.defineComponent(
83
83
  );
84
84
  var ensureVueBuiltins = (registry) => {
85
85
  if (registry.has(chunkQTJ4ZQRM_cjs.CANVAS_SLOT_NAME)) return;
86
- chunkI35ZD3PU_cjs.registerNovaVueComponents(registry);
86
+ chunkTWXAKLMX_cjs.registerNovaVueComponents(registry);
87
87
  };
88
88
  var ShellRenderTreeView = vue.defineComponent(
89
89
  () => {
90
- const nodes = chunkI35ZD3PU_cjs.useShellRenderTree();
91
- return () => vue.h(chunkI35ZD3PU_cjs.RenderTree, { nodes: nodes.value });
90
+ const nodes = chunkTWXAKLMX_cjs.useShellRenderTree();
91
+ return () => vue.h(chunkTWXAKLMX_cjs.RenderTree, { nodes: nodes.value });
92
92
  },
93
93
  { name: "NovaShellRenderTree" }
94
94
  );
@@ -105,9 +105,9 @@ var NovaShell = vue.defineComponent(
105
105
  );
106
106
  var CanvasRenderTreeView = vue.defineComponent(
107
107
  (props) => {
108
- chunkI35ZD3PU_cjs.useShell();
109
- const nodes = chunkI35ZD3PU_cjs.useCanvasRenderTree(() => props.canvasId);
110
- return () => vue.h(chunkI35ZD3PU_cjs.RenderTree, { nodes: nodes.value });
108
+ chunkTWXAKLMX_cjs.useShell();
109
+ const nodes = chunkTWXAKLMX_cjs.useCanvasRenderTree(() => props.canvasId);
110
+ return () => vue.h(chunkTWXAKLMX_cjs.RenderTree, { nodes: nodes.value });
111
111
  },
112
112
  { name: "NovaCanvasRenderTree", props: ["canvasId"] }
113
113
  );
@@ -126,75 +126,75 @@ var NovaCanvas = vue.defineComponent(
126
126
 
127
127
  Object.defineProperty(exports, "ErrorMarker", {
128
128
  enumerable: true,
129
- get: function () { return chunkI35ZD3PU_cjs.ErrorMarker; }
129
+ get: function () { return chunkTWXAKLMX_cjs.ErrorMarker; }
130
130
  });
131
131
  Object.defineProperty(exports, "NovaRenderKey", {
132
132
  enumerable: true,
133
- get: function () { return chunkI35ZD3PU_cjs.NovaRenderKey; }
133
+ get: function () { return chunkTWXAKLMX_cjs.NovaRenderKey; }
134
134
  });
135
135
  Object.defineProperty(exports, "NovaShellKey", {
136
136
  enumerable: true,
137
- get: function () { return chunkI35ZD3PU_cjs.NovaShellKey; }
137
+ get: function () { return chunkTWXAKLMX_cjs.NovaShellKey; }
138
138
  });
139
139
  Object.defineProperty(exports, "RenderNodeView", {
140
140
  enumerable: true,
141
- get: function () { return chunkI35ZD3PU_cjs.RenderNodeView; }
141
+ get: function () { return chunkTWXAKLMX_cjs.RenderNodeView; }
142
142
  });
143
143
  Object.defineProperty(exports, "RenderTree", {
144
144
  enumerable: true,
145
- get: function () { return chunkI35ZD3PU_cjs.RenderTree; }
145
+ get: function () { return chunkTWXAKLMX_cjs.RenderTree; }
146
146
  });
147
147
  Object.defineProperty(exports, "isNovaComponent", {
148
148
  enumerable: true,
149
- get: function () { return chunkI35ZD3PU_cjs.isNovaComponent; }
149
+ get: function () { return chunkTWXAKLMX_cjs.isNovaComponent; }
150
150
  });
151
151
  Object.defineProperty(exports, "useActionData", {
152
152
  enumerable: true,
153
- get: function () { return chunkI35ZD3PU_cjs.useActionData; }
153
+ get: function () { return chunkTWXAKLMX_cjs.useActionData; }
154
154
  });
155
155
  Object.defineProperty(exports, "useActionStatus", {
156
156
  enumerable: true,
157
- get: function () { return chunkI35ZD3PU_cjs.useActionStatus; }
157
+ get: function () { return chunkTWXAKLMX_cjs.useActionStatus; }
158
158
  });
159
159
  Object.defineProperty(exports, "useCanvas", {
160
160
  enumerable: true,
161
- get: function () { return chunkI35ZD3PU_cjs.useCanvas; }
161
+ get: function () { return chunkTWXAKLMX_cjs.useCanvas; }
162
162
  });
163
163
  Object.defineProperty(exports, "useCanvasRenderTree", {
164
164
  enumerable: true,
165
- get: function () { return chunkI35ZD3PU_cjs.useCanvasRenderTree; }
165
+ get: function () { return chunkTWXAKLMX_cjs.useCanvasRenderTree; }
166
166
  });
167
167
  Object.defineProperty(exports, "useNovaDispatch", {
168
168
  enumerable: true,
169
- get: function () { return chunkI35ZD3PU_cjs.useNovaDispatch; }
169
+ get: function () { return chunkTWXAKLMX_cjs.useNovaDispatch; }
170
170
  });
171
171
  Object.defineProperty(exports, "useNovaPublish", {
172
172
  enumerable: true,
173
- get: function () { return chunkI35ZD3PU_cjs.useNovaPublish; }
173
+ get: function () { return chunkTWXAKLMX_cjs.useNovaPublish; }
174
174
  });
175
175
  Object.defineProperty(exports, "useNovaRegistry", {
176
176
  enumerable: true,
177
- get: function () { return chunkI35ZD3PU_cjs.useNovaRegistry; }
177
+ get: function () { return chunkTWXAKLMX_cjs.useNovaRegistry; }
178
178
  });
179
179
  Object.defineProperty(exports, "useRenderTree", {
180
180
  enumerable: true,
181
- get: function () { return chunkI35ZD3PU_cjs.useRenderTree; }
181
+ get: function () { return chunkTWXAKLMX_cjs.useRenderTree; }
182
182
  });
183
183
  Object.defineProperty(exports, "useShell", {
184
184
  enumerable: true,
185
- get: function () { return chunkI35ZD3PU_cjs.useShell; }
185
+ get: function () { return chunkTWXAKLMX_cjs.useShell; }
186
186
  });
187
187
  Object.defineProperty(exports, "useShellRenderTree", {
188
188
  enumerable: true,
189
- get: function () { return chunkI35ZD3PU_cjs.useShellRenderTree; }
189
+ get: function () { return chunkTWXAKLMX_cjs.useShellRenderTree; }
190
190
  });
191
191
  Object.defineProperty(exports, "useShellState", {
192
192
  enumerable: true,
193
- get: function () { return chunkI35ZD3PU_cjs.useShellState; }
193
+ get: function () { return chunkTWXAKLMX_cjs.useShellState; }
194
194
  });
195
195
  Object.defineProperty(exports, "useSlotWrapper", {
196
196
  enumerable: true,
197
- get: function () { return chunkI35ZD3PU_cjs.useSlotWrapper; }
197
+ get: function () { return chunkTWXAKLMX_cjs.useSlotWrapper; }
198
198
  });
199
199
  exports.NovaCanvas = NovaCanvas;
200
200
  exports.NovaErrorBoundary = NovaErrorBoundary;
@@ -4,7 +4,7 @@ import * as vue from 'vue';
4
4
  import { Component, InjectionKey, VNodeChild, MaybeRefOrGetter, Ref } from 'vue';
5
5
  import { A as ActionDefinition } from '../../index-BoPH5aSd.cjs';
6
6
  import { C as ComponentRegistry, b as RenderNode } from '../../types-CR56luN7.cjs';
7
- import { a as Shell, b as ActionStatus, d as CanvasState, q as StateSnapshot } from '../../types-OsJI-ceI.cjs';
7
+ import { a as Shell, b as ActionStatus, d as CanvasState, r as StateSnapshot } from '../../types-6KTCKlXf.cjs';
8
8
  import '../../schemas-pMyyuXV7.cjs';
9
9
  import 'zod';
10
10
  import '../../effects-DkBBrxVj.cjs';
@@ -4,7 +4,7 @@ import * as vue from 'vue';
4
4
  import { Component, InjectionKey, VNodeChild, MaybeRefOrGetter, Ref } from 'vue';
5
5
  import { A as ActionDefinition } from '../../index-BjQX8XZl.js';
6
6
  import { C as ComponentRegistry, b as RenderNode } from '../../types-CJC8mnzl.js';
7
- import { a as Shell, b as ActionStatus, d as CanvasState, q as StateSnapshot } from '../../types-Dn9cBFCC.js';
7
+ import { a as Shell, b as ActionStatus, d as CanvasState, r as StateSnapshot } from '../../types-DV-GDFJd.js';
8
8
  import '../../schemas-pMyyuXV7.js';
9
9
  import 'zod';
10
10
  import '../../effects-DkBBrxVj.js';
@@ -1,11 +1,11 @@
1
- import { NovaRenderKey, NovaShellKey, provideShellHead, useShellRenderTree, RenderTree, useShell, useCanvasRenderTree, registerNovaVueComponents } from '../../chunk-OSIFUROH.js';
2
- export { ErrorMarker, NovaRenderKey, NovaShellKey, RenderNodeView, RenderTree, isNovaComponent, useActionData, useActionStatus, useCanvas, useCanvasRenderTree, useNovaDispatch, useNovaPublish, useNovaRegistry, useRenderTree, useShell, useShellRenderTree, useShellState, useSlotWrapper } from '../../chunk-OSIFUROH.js';
3
- import '../../chunk-EK2GBZ7D.js';
1
+ import { NovaRenderKey, NovaShellKey, provideShellHead, useShellRenderTree, RenderTree, useShell, useCanvasRenderTree, registerNovaVueComponents } from '../../chunk-GFMNQT2X.js';
2
+ export { ErrorMarker, NovaRenderKey, NovaShellKey, RenderNodeView, RenderTree, isNovaComponent, useActionData, useActionStatus, useCanvas, useCanvasRenderTree, useNovaDispatch, useNovaPublish, useNovaRegistry, useRenderTree, useShell, useShellRenderTree, useShellState, useSlotWrapper } from '../../chunk-GFMNQT2X.js';
3
+ import '../../chunk-WKDPEBXU.js';
4
4
  import '../../chunk-SCXYAXMO.js';
5
- import '../../chunk-3JE77TNL.js';
5
+ import '../../chunk-L5HAGG4U.js';
6
6
  import { CANVAS_SLOT_NAME } from '../../chunk-C63CBYD5.js';
7
- import '../../chunk-YV2G37TJ.js';
8
- import '../../chunk-ZZRQAH5Z.js';
7
+ import '../../chunk-E2PXYR3H.js';
8
+ import '../../chunk-A3IIJF4E.js';
9
9
  import '../../chunk-M2ZZUSH3.js';
10
10
  import '../../chunk-Y3UKAJJX.js';
11
11
  import '../../chunk-G4OQ4PEO.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDC5HONDE_cjs = require('../chunk-DC5HONDE.cjs');
4
- var chunkBXUEWV7V_cjs = require('../chunk-BXUEWV7V.cjs');
4
+ var chunkOM2HY2GE_cjs = require('../chunk-OM2HY2GE.cjs');
5
5
  var chunkNBXZ3RAC_cjs = require('../chunk-NBXZ3RAC.cjs');
6
6
  require('../chunk-Q7SFCCGT.cjs');
7
7
  var cortex = require('@niscorp/cortex');
@@ -33,7 +33,7 @@ Object.defineProperty(exports, "paletteFromRegistry", {
33
33
  });
34
34
  Object.defineProperty(exports, "collectInteractive", {
35
35
  enumerable: true,
36
- get: function () { return chunkBXUEWV7V_cjs.collectInteractive; }
36
+ get: function () { return chunkOM2HY2GE_cjs.collectInteractive; }
37
37
  });
38
38
  exports.layoutAgent = layoutAgent;
39
39
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
1
  export { paletteFromRegistry } from '../chunk-OBFFZ23H.js';
2
- export { collectInteractive } from '../chunk-ZZRQAH5Z.js';
2
+ export { collectInteractive } from '../chunk-A3IIJF4E.js';
3
3
  import { LayoutNodeSchema } from '../chunk-JKULAG53.js';
4
4
  import '../chunk-PZ5AY32C.js';
5
5
  import { defineAgent } from '@niscorp/cortex';
@@ -10,13 +10,24 @@ var collectInteractive = (layout) => {
10
10
  const scanString = (value, scope) => {
11
11
  for (const match of value.matchAll(KEY_PATTERN)) {
12
12
  const key = match[1];
13
- if (key !== void 0) boundKeys.add(key);
13
+ if (key !== void 0 && !scope.has(key)) boundKeys.add(key);
14
14
  }
15
15
  for (const match of value.matchAll(VAR_PATTERN)) {
16
16
  const name = match[1];
17
17
  if (name !== void 0 && !scope.has(name)) suspects.add(`$${name}.`);
18
18
  }
19
19
  };
20
+ const refsIn = (value, path, component) => {
21
+ if (Array.isArray(value)) {
22
+ value.forEach((item, index) => refsIn(item, `${path}${index}.`, component));
23
+ return;
24
+ }
25
+ if (value === null || typeof value !== "object") return;
26
+ for (const [key, inner] of Object.entries(value)) {
27
+ if ((key === "ref" || key.endsWith("Ref")) && typeof inner === "string" && inner.length > 0) refs.push({ ref: inner, component, via: `${path}${key}` });
28
+ else refsIn(inner, `${path}${key}.`, component);
29
+ }
30
+ };
20
31
  const walk = (node, scope) => {
21
32
  if (typeof node === "string") return scanString(node, scope);
22
33
  if (Array.isArray(node)) {
@@ -26,7 +37,7 @@ var collectInteractive = (layout) => {
26
37
  if (node === null || typeof node !== "object") return;
27
38
  const record = node;
28
39
  const loopVar = record["for"] !== void 0 && typeof record["as"] === "string" ? record["as"] : void 0;
29
- const childScope = loopVar !== void 0 ? /* @__PURE__ */ new Set([...scope, loopVar]) : scope;
40
+ const childScope = loopVar !== void 0 ? /* @__PURE__ */ new Set([...scope, loopVar, "index", "items"]) : scope;
30
41
  const component = typeof record["component"] === "string" ? record["component"] : void 0;
31
42
  if (component !== void 0) {
32
43
  componentCount += 1;
@@ -36,14 +47,7 @@ var collectInteractive = (layout) => {
36
47
  if (typeof record["model"] === "string" && record["model"].length > 0) {
37
48
  models.push({ path: record["model"], component });
38
49
  }
39
- const props = record["props"];
40
- if (props !== null && typeof props === "object" && !Array.isArray(props)) {
41
- for (const [key, value] of Object.entries(props)) {
42
- if (key.endsWith("Ref") && typeof value === "string" && value.length > 0) {
43
- refs.push({ ref: value, component, via: key });
44
- }
45
- }
46
- }
50
+ refsIn(record["props"], "", component);
47
51
  }
48
52
  for (const value of Object.values(record)) walk(value, childScope);
49
53
  };
@@ -58,5 +62,5 @@ var collectInteractive = (layout) => {
58
62
  };
59
63
 
60
64
  export { collectInteractive };
61
- //# sourceMappingURL=chunk-ZZRQAH5Z.js.map
62
- //# sourceMappingURL=chunk-ZZRQAH5Z.js.map
65
+ //# sourceMappingURL=chunk-A3IIJF4E.js.map
66
+ //# sourceMappingURL=chunk-A3IIJF4E.js.map