@wireweave/core 4.0.0-beta.12 → 4.0.0-beta.14

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 (53) hide show
  1. package/dist/app.cjs +51 -31
  2. package/dist/app.d.cts +5 -145
  3. package/dist/app.d.ts +5 -145
  4. package/dist/app.js +2 -31
  5. package/dist/{chunk-QOS4IC75.js → chunk-2Y3GKARZ.js} +16 -1354
  6. package/dist/chunk-3RWGG5EC.js +296 -342
  7. package/dist/chunk-4DDV6Z2X.js +389 -0
  8. package/dist/chunk-ETV4XYOV.cjs +4 -6
  9. package/dist/chunk-IMUVIIJR.cjs +317 -354
  10. package/dist/chunk-LA5LKIEL.cjs +396 -0
  11. package/dist/chunk-MD6MNOEQ.cjs +121 -142
  12. package/dist/chunk-NV6UV5ID.cjs +2145 -0
  13. package/dist/chunk-PKBMQBKP.js +1 -3
  14. package/dist/{chunk-7VTK6LHL.cjs → chunk-SAN6CJEE.cjs} +96 -1421
  15. package/dist/chunk-TQSOLTMZ.js +2132 -0
  16. package/dist/chunk-V3HVWC7C.js +1 -32
  17. package/dist/chunk-XYACLXXF.js +4 -132
  18. package/dist/chunk-ZPHNXJRY.cjs +158 -180
  19. package/dist/index-BD_4rXH-.d.cts +1031 -0
  20. package/dist/{index-Br7pNaf3.d.cts → index-BEnsO2kE.d.ts} +144 -2
  21. package/dist/{index-G906GEtg.d.cts → index-BlNYFaZd.d.cts} +2 -2
  22. package/dist/{index-CghCKUPx.d.ts → index-Cx4-VXVS.d.ts} +2 -2
  23. package/dist/{index-Da_B3eoM.d.ts → index-YSIzfhOd.d.cts} +144 -2
  24. package/dist/index-g9yV20xb.d.ts +1031 -0
  25. package/dist/index.cjs +939 -429
  26. package/dist/index.d.cts +16 -193
  27. package/dist/index.d.ts +16 -193
  28. package/dist/index.js +210 -396
  29. package/dist/interaction.cjs +26 -17
  30. package/dist/interaction.d.cts +2 -2
  31. package/dist/interaction.d.ts +2 -2
  32. package/dist/interaction.js +1 -17
  33. package/dist/parser.cjs +38 -21
  34. package/dist/parser.d.cts +3 -3
  35. package/dist/parser.d.ts +3 -3
  36. package/dist/parser.js +1 -21
  37. package/dist/renderer.cjs +124 -68
  38. package/dist/renderer.d.cts +4 -756
  39. package/dist/renderer.d.ts +4 -756
  40. package/dist/renderer.js +3 -68
  41. package/dist/spec.cjs +94 -49
  42. package/dist/spec.js +1 -49
  43. package/dist/{types-vhPCZpAW.d.cts → types-CGRi1k2N.d.cts} +1 -1
  44. package/dist/{types-vhPCZpAW.d.ts → types-CGRi1k2N.d.ts} +1 -1
  45. package/dist/{v4-types-Baz9yqAS.d.cts → v4-types-2ORUg6To.d.cts} +1 -1
  46. package/dist/{v4-types-Baz9yqAS.d.ts → v4-types-2ORUg6To.d.ts} +1 -1
  47. package/package.json +21 -23
  48. package/dist/chunk-4TMDPWPR.cjs +0 -196
  49. package/dist/chunk-5DGRIQDU.cjs +0 -842
  50. package/dist/chunk-JJWAFHSV.js +0 -842
  51. package/dist/chunk-R5WBZWBC.js +0 -196
  52. package/dist/chunk-WV724EAW.js +0 -0
  53. package/dist/chunk-XENFKHRC.cjs +0 -1
@@ -1,3 +1,3 @@
1
- export { I as InteractionDiagnostic, a as InteractionDiagnosticCode, c as InteractionModel, N as NormalizedInteraction, d as NormalizedInteractionEffect, e as NormalizedInteractionHandler, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-G906GEtg.cjs';
2
- import './types-vhPCZpAW.cjs';
1
+ export { I as InteractionDiagnostic, b as InteractionDiagnosticCode, d as InteractionModel, N as NormalizedInteraction, e as NormalizedInteractionEffect, f as NormalizedInteractionHandler, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-BlNYFaZd.cjs';
2
+ import './types-CGRi1k2N.cjs';
3
3
  import './types-Dkgr0Wyc.cjs';
@@ -1,3 +1,3 @@
1
- export { I as InteractionDiagnostic, a as InteractionDiagnosticCode, c as InteractionModel, N as NormalizedInteraction, d as NormalizedInteractionEffect, e as NormalizedInteractionHandler, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-CghCKUPx.js';
2
- import './types-vhPCZpAW.js';
1
+ export { I as InteractionDiagnostic, b as InteractionDiagnosticCode, d as InteractionModel, N as NormalizedInteraction, e as NormalizedInteractionEffect, f as NormalizedInteractionHandler, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-Cx4-VXVS.js';
2
+ import './types-CGRi1k2N.js';
3
3
  import './types-Dkgr0Wyc.js';
@@ -1,17 +1 @@
1
- import "./chunk-WV724EAW.js";
2
- import {
3
- collectInteractions,
4
- interactionSignature,
5
- isUrlTarget,
6
- normalizeInteractionHandlers,
7
- normalizeStateGuard
8
- } from "./chunk-XYACLXXF.js";
9
- import "./chunk-V3HVWC7C.js";
10
- import "./chunk-PKBMQBKP.js";
11
- export {
12
- collectInteractions,
13
- interactionSignature,
14
- isUrlTarget,
15
- normalizeInteractionHandlers,
16
- normalizeStateGuard
17
- };
1
+ export { collectInteractions, interactionSignature, isUrlTarget, normalizeInteractionHandlers, normalizeStateGuard } from './chunk-XYACLXXF.js';
package/dist/parser.cjs CHANGED
@@ -1,21 +1,38 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
- var _chunkIMUVIIJRcjs = require('./chunk-IMUVIIJR.cjs');
11
- require('./chunk-ETV4XYOV.cjs');
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
- exports.V4ParseError = _chunkIMUVIIJRcjs.V4ParseError; exports.getErrors = _chunkIMUVIIJRcjs.getErrors; exports.getV4SourceSpan = _chunkIMUVIIJRcjs.getV4SourceSpan; exports.isValid = _chunkIMUVIIJRcjs.isValid; exports.parse = _chunkIMUVIIJRcjs.parse; exports.parseV4 = _chunkIMUVIIJRcjs.parseV4; exports.tryParse = _chunkIMUVIIJRcjs.tryParse; exports.tryParseV4 = _chunkIMUVIIJRcjs.tryParseV4;
1
+ 'use strict';
2
+
3
+ var chunkIMUVIIJR_cjs = require('./chunk-IMUVIIJR.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "V4ParseError", {
8
+ enumerable: true,
9
+ get: function () { return chunkIMUVIIJR_cjs.V4ParseError; }
10
+ });
11
+ Object.defineProperty(exports, "getErrors", {
12
+ enumerable: true,
13
+ get: function () { return chunkIMUVIIJR_cjs.getErrors; }
14
+ });
15
+ Object.defineProperty(exports, "getV4SourceSpan", {
16
+ enumerable: true,
17
+ get: function () { return chunkIMUVIIJR_cjs.getV4SourceSpan; }
18
+ });
19
+ Object.defineProperty(exports, "isValid", {
20
+ enumerable: true,
21
+ get: function () { return chunkIMUVIIJR_cjs.isValid; }
22
+ });
23
+ Object.defineProperty(exports, "parse", {
24
+ enumerable: true,
25
+ get: function () { return chunkIMUVIIJR_cjs.parse; }
26
+ });
27
+ Object.defineProperty(exports, "parseV4", {
28
+ enumerable: true,
29
+ get: function () { return chunkIMUVIIJR_cjs.parseV4; }
30
+ });
31
+ Object.defineProperty(exports, "tryParse", {
32
+ enumerable: true,
33
+ get: function () { return chunkIMUVIIJR_cjs.tryParse; }
34
+ });
35
+ Object.defineProperty(exports, "tryParseV4", {
36
+ enumerable: true,
37
+ get: function () { return chunkIMUVIIJR_cjs.tryParseV4; }
38
+ });
package/dist/parser.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { aK as SourceLocation, be as WireframeDocument } from './types-vhPCZpAW.cjs';
2
- import { k as V4SourceSpan, i as V4ParseOptions, P as ParsedDocument, j as V4ParseResult } from './v4-types-Baz9yqAS.cjs';
3
- export { C as CanonicalDefinition, a as CanonicalModule, b as CanonicalNode, c as CanonicalParameter, d as CanonicalPrimitive, e as CanonicalSymbol, f as CanonicalUse, V as V4Diagnostic, h as V4ParseError } from './v4-types-Baz9yqAS.cjs';
1
+ import { S as SourceLocation, W as WireframeDocument } from './types-CGRi1k2N.cjs';
2
+ import { V as V4SourceSpan, a as V4ParseOptions, P as ParsedDocument, b as V4ParseResult } from './v4-types-2ORUg6To.cjs';
3
+ export { C as CanonicalDefinition, c as CanonicalModule, d as CanonicalNode, e as CanonicalParameter, f as CanonicalPrimitive, g as CanonicalSymbol, h as CanonicalUse, i as V4Diagnostic, j as V4ParseError } from './v4-types-2ORUg6To.cjs';
4
4
 
5
5
  /** Original-source metadata is kept outside the canonical JSON document. */
6
6
  declare function getV4SourceSpan(value: object): Readonly<V4SourceSpan> | undefined;
package/dist/parser.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { aK as SourceLocation, be as WireframeDocument } from './types-vhPCZpAW.js';
2
- import { k as V4SourceSpan, i as V4ParseOptions, P as ParsedDocument, j as V4ParseResult } from './v4-types-Baz9yqAS.js';
3
- export { C as CanonicalDefinition, a as CanonicalModule, b as CanonicalNode, c as CanonicalParameter, d as CanonicalPrimitive, e as CanonicalSymbol, f as CanonicalUse, V as V4Diagnostic, h as V4ParseError } from './v4-types-Baz9yqAS.js';
1
+ import { S as SourceLocation, W as WireframeDocument } from './types-CGRi1k2N.js';
2
+ import { V as V4SourceSpan, a as V4ParseOptions, P as ParsedDocument, b as V4ParseResult } from './v4-types-2ORUg6To.js';
3
+ export { C as CanonicalDefinition, c as CanonicalModule, d as CanonicalNode, e as CanonicalParameter, f as CanonicalPrimitive, g as CanonicalSymbol, h as CanonicalUse, i as V4Diagnostic, j as V4ParseError } from './v4-types-2ORUg6To.js';
4
4
 
5
5
  /** Original-source metadata is kept outside the canonical JSON document. */
6
6
  declare function getV4SourceSpan(value: object): Readonly<V4SourceSpan> | undefined;
package/dist/parser.js CHANGED
@@ -1,21 +1 @@
1
- import {
2
- V4ParseError,
3
- getErrors,
4
- getV4SourceSpan,
5
- isValid,
6
- parse,
7
- parseV4,
8
- tryParse,
9
- tryParseV4
10
- } from "./chunk-3RWGG5EC.js";
11
- import "./chunk-PKBMQBKP.js";
12
- export {
13
- V4ParseError,
14
- getErrors,
15
- getV4SourceSpan,
16
- isValid,
17
- parse,
18
- parseV4,
19
- tryParse,
20
- tryParseV4
21
- };
1
+ export { V4ParseError, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './chunk-3RWGG5EC.js';
package/dist/renderer.cjs CHANGED
@@ -1,68 +1,124 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
- var _chunk4TMDPWPRcjs = require('./chunk-4TMDPWPR.cjs');
8
-
9
-
10
- var _chunk5DGRIQDUcjs = require('./chunk-5DGRIQDU.cjs');
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
- var _chunkZPHNXJRYcjs = require('./chunk-ZPHNXJRY.cjs');
36
- require('./chunk-MD6MNOEQ.cjs');
37
- require('./chunk-ETV4XYOV.cjs');
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
- exports.ENABLED_GUARD_ATTR = _chunkZPHNXJRYcjs.ENABLED_GUARD_ATTR; exports.EXTERNAL_NAVIGATE_ATTR = _chunkZPHNXJRYcjs.EXTERNAL_NAVIGATE_ATTR; exports.HtmlRenderer = _chunkZPHNXJRYcjs.HtmlRenderer; exports.INERT_HREF = _chunkZPHNXJRYcjs.INERT_HREF; exports.INTERACTIVE_ATTR_NAMES = _chunkZPHNXJRYcjs.INTERACTIVE_ATTR_NAMES; exports.TYPED_INTERACTION_ATTR = _chunkZPHNXJRYcjs.TYPED_INTERACTION_ATTR; exports.VISIBLE_GUARD_ATTR = _chunkZPHNXJRYcjs.VISIBLE_GUARD_ATTR; exports.anchorIntent = _chunkZPHNXJRYcjs.anchorIntent; exports.buildSiteModel = _chunkZPHNXJRYcjs.buildSiteModel; exports.createHtmlRenderer = _chunkZPHNXJRYcjs.createHtmlRenderer; exports.darkTheme = _chunkZPHNXJRYcjs.darkTheme; exports.defaultTheme = _chunkZPHNXJRYcjs.defaultTheme; exports.generateComponentStyles = _chunkZPHNXJRYcjs.generateComponentStyles; exports.generateStyles = _chunkZPHNXJRYcjs.generateStyles; exports.getIconData = _chunkZPHNXJRYcjs.getIconData; exports.getTheme = _chunkZPHNXJRYcjs.getTheme; exports.guardedOutcomeAttrs = _chunkZPHNXJRYcjs.guardedOutcomeAttrs; exports.interactiveAttrs = _chunkZPHNXJRYcjs.interactiveAttrs; exports.layoutCanvas = _chunk4TMDPWPRcjs.layoutCanvas; exports.lucideIcons = _chunkZPHNXJRYcjs.lucideIcons; exports.render = _chunk4TMDPWPRcjs.render; exports.renderCanvas = _chunk4TMDPWPRcjs.renderCanvas; exports.renderIconSvg = _chunkZPHNXJRYcjs.renderIconSvg; exports.renderPage = _chunkZPHNXJRYcjs.renderPage; exports.renderSite = _chunk5DGRIQDUcjs.renderSite; exports.renderToHtml = _chunk4TMDPWPRcjs.renderToHtml; exports.renderToSvg = _chunk4TMDPWPRcjs.renderToSvg; exports.renderUnknownIconSvg = _chunkZPHNXJRYcjs.renderUnknownIconSvg; exports.resolvePageDimensions = _chunkZPHNXJRYcjs.resolvePageDimensions;
1
+ 'use strict';
2
+
3
+ var chunkLA5LKIEL_cjs = require('./chunk-LA5LKIEL.cjs');
4
+ var chunkNV6UV5ID_cjs = require('./chunk-NV6UV5ID.cjs');
5
+ var chunkZPHNXJRY_cjs = require('./chunk-ZPHNXJRY.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "layoutCanvas", {
10
+ enumerable: true,
11
+ get: function () { return chunkLA5LKIEL_cjs.layoutCanvas; }
12
+ });
13
+ Object.defineProperty(exports, "render", {
14
+ enumerable: true,
15
+ get: function () { return chunkLA5LKIEL_cjs.render; }
16
+ });
17
+ Object.defineProperty(exports, "renderCanvas", {
18
+ enumerable: true,
19
+ get: function () { return chunkLA5LKIEL_cjs.renderCanvas; }
20
+ });
21
+ Object.defineProperty(exports, "renderToHtml", {
22
+ enumerable: true,
23
+ get: function () { return chunkLA5LKIEL_cjs.renderToHtml; }
24
+ });
25
+ Object.defineProperty(exports, "renderToSvg", {
26
+ enumerable: true,
27
+ get: function () { return chunkLA5LKIEL_cjs.renderToSvg; }
28
+ });
29
+ Object.defineProperty(exports, "renderSite", {
30
+ enumerable: true,
31
+ get: function () { return chunkNV6UV5ID_cjs.renderSite; }
32
+ });
33
+ Object.defineProperty(exports, "ENABLED_GUARD_ATTR", {
34
+ enumerable: true,
35
+ get: function () { return chunkZPHNXJRY_cjs.ENABLED_GUARD_ATTR; }
36
+ });
37
+ Object.defineProperty(exports, "EXTERNAL_NAVIGATE_ATTR", {
38
+ enumerable: true,
39
+ get: function () { return chunkZPHNXJRY_cjs.EXTERNAL_NAVIGATE_ATTR; }
40
+ });
41
+ Object.defineProperty(exports, "HtmlRenderer", {
42
+ enumerable: true,
43
+ get: function () { return chunkZPHNXJRY_cjs.HtmlRenderer; }
44
+ });
45
+ Object.defineProperty(exports, "INERT_HREF", {
46
+ enumerable: true,
47
+ get: function () { return chunkZPHNXJRY_cjs.INERT_HREF; }
48
+ });
49
+ Object.defineProperty(exports, "INTERACTIVE_ATTR_NAMES", {
50
+ enumerable: true,
51
+ get: function () { return chunkZPHNXJRY_cjs.INTERACTIVE_ATTR_NAMES; }
52
+ });
53
+ Object.defineProperty(exports, "TYPED_INTERACTION_ATTR", {
54
+ enumerable: true,
55
+ get: function () { return chunkZPHNXJRY_cjs.TYPED_INTERACTION_ATTR; }
56
+ });
57
+ Object.defineProperty(exports, "VISIBLE_GUARD_ATTR", {
58
+ enumerable: true,
59
+ get: function () { return chunkZPHNXJRY_cjs.VISIBLE_GUARD_ATTR; }
60
+ });
61
+ Object.defineProperty(exports, "anchorIntent", {
62
+ enumerable: true,
63
+ get: function () { return chunkZPHNXJRY_cjs.anchorIntent; }
64
+ });
65
+ Object.defineProperty(exports, "buildSiteModel", {
66
+ enumerable: true,
67
+ get: function () { return chunkZPHNXJRY_cjs.buildSiteModel; }
68
+ });
69
+ Object.defineProperty(exports, "createHtmlRenderer", {
70
+ enumerable: true,
71
+ get: function () { return chunkZPHNXJRY_cjs.createHtmlRenderer; }
72
+ });
73
+ Object.defineProperty(exports, "darkTheme", {
74
+ enumerable: true,
75
+ get: function () { return chunkZPHNXJRY_cjs.darkTheme; }
76
+ });
77
+ Object.defineProperty(exports, "defaultTheme", {
78
+ enumerable: true,
79
+ get: function () { return chunkZPHNXJRY_cjs.defaultTheme; }
80
+ });
81
+ Object.defineProperty(exports, "generateComponentStyles", {
82
+ enumerable: true,
83
+ get: function () { return chunkZPHNXJRY_cjs.generateComponentStyles; }
84
+ });
85
+ Object.defineProperty(exports, "generateStyles", {
86
+ enumerable: true,
87
+ get: function () { return chunkZPHNXJRY_cjs.generateStyles; }
88
+ });
89
+ Object.defineProperty(exports, "getIconData", {
90
+ enumerable: true,
91
+ get: function () { return chunkZPHNXJRY_cjs.getIconData; }
92
+ });
93
+ Object.defineProperty(exports, "getTheme", {
94
+ enumerable: true,
95
+ get: function () { return chunkZPHNXJRY_cjs.getTheme; }
96
+ });
97
+ Object.defineProperty(exports, "guardedOutcomeAttrs", {
98
+ enumerable: true,
99
+ get: function () { return chunkZPHNXJRY_cjs.guardedOutcomeAttrs; }
100
+ });
101
+ Object.defineProperty(exports, "interactiveAttrs", {
102
+ enumerable: true,
103
+ get: function () { return chunkZPHNXJRY_cjs.interactiveAttrs; }
104
+ });
105
+ Object.defineProperty(exports, "lucideIcons", {
106
+ enumerable: true,
107
+ get: function () { return chunkZPHNXJRY_cjs.lucideIcons; }
108
+ });
109
+ Object.defineProperty(exports, "renderIconSvg", {
110
+ enumerable: true,
111
+ get: function () { return chunkZPHNXJRY_cjs.renderIconSvg; }
112
+ });
113
+ Object.defineProperty(exports, "renderPage", {
114
+ enumerable: true,
115
+ get: function () { return chunkZPHNXJRY_cjs.renderPage; }
116
+ });
117
+ Object.defineProperty(exports, "renderUnknownIconSvg", {
118
+ enumerable: true,
119
+ get: function () { return chunkZPHNXJRY_cjs.renderUnknownIconSvg; }
120
+ });
121
+ Object.defineProperty(exports, "resolvePageDimensions", {
122
+ enumerable: true,
123
+ get: function () { return chunkZPHNXJRY_cjs.resolvePageDimensions; }
124
+ });