@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,10 +1,7 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
1
+ 'use strict';
2
2
 
3
-
4
- var _chunkMD6MNOEQcjs = require('./chunk-MD6MNOEQ.cjs');
5
-
6
-
7
- var _chunkETV4XYOVcjs = require('./chunk-ETV4XYOV.cjs');
3
+ var chunkMD6MNOEQ_cjs = require('./chunk-MD6MNOEQ.cjs');
4
+ var chunkETV4XYOV_cjs = require('./chunk-ETV4XYOV.cjs');
8
5
 
9
6
  // src/ast/guards.ts
10
7
  var CONTAINER_TYPES = [
@@ -328,8 +325,8 @@ function getNodeTypes(node) {
328
325
  }
329
326
 
330
327
  // src/ast/expand-repeats.ts
331
- var REPEAT_EXPANSION_BUDGET = 500;
332
- var RepeatBudgetError = class extends Error {
328
+ exports.REPEAT_EXPANSION_BUDGET = 500;
329
+ exports.RepeatBudgetError = class RepeatBudgetError extends Error {
333
330
  constructor(budget) {
334
331
  super(
335
332
  `repeat expansion exceeds ${budget} nodes \u2014 nesting multiplies, so check the nested counts rather than the outermost one`
@@ -371,7 +368,7 @@ function expandOne(node, budget) {
371
368
  for (const child of repeat.children) {
372
369
  for (const expanded of expandOne(child, budget)) {
373
370
  budget.remaining -= 1;
374
- if (budget.remaining < 0) throw new RepeatBudgetError(REPEAT_EXPANSION_BUDGET);
371
+ if (budget.remaining < 0) throw new exports.RepeatBudgetError(exports.REPEAT_EXPANSION_BUDGET);
375
372
  result.push(cloneNode2(expanded));
376
373
  }
377
374
  }
@@ -398,7 +395,7 @@ function expandOne(node, budget) {
398
395
  }
399
396
  function expandRepeats(document) {
400
397
  if (!document.children.some((child) => containsRepeat(child))) return document;
401
- const budget = { remaining: REPEAT_EXPANSION_BUDGET };
398
+ const budget = { remaining: exports.REPEAT_EXPANSION_BUDGET };
402
399
  return {
403
400
  ...document,
404
401
  children: document.children.flatMap(
@@ -505,7 +502,7 @@ function filterUnscopedPages(document) {
505
502
  }
506
503
 
507
504
  // src/renderer/types.ts
508
- var defaultTheme = {
505
+ exports.defaultTheme = {
509
506
  colors: {
510
507
  // Wireframe uses minimal colors - black/white/gray
511
508
  primary: "#000000",
@@ -542,10 +539,10 @@ var defaultTheme = {
542
539
  xl: "0 20px 25px -5px rgba(0, 0, 0, 0.25)"
543
540
  }
544
541
  };
545
- var darkTheme = {
546
- ...defaultTheme,
542
+ exports.darkTheme = {
543
+ ...exports.defaultTheme,
547
544
  colors: {
548
- ...defaultTheme.colors,
545
+ ...exports.defaultTheme.colors,
549
546
  background: "#1A1A1A",
550
547
  foreground: "#FFFFFF",
551
548
  border: "#FFFFFF",
@@ -554,7 +551,7 @@ var darkTheme = {
554
551
  }
555
552
  };
556
553
  function getTheme(name) {
557
- return name === "dark" ? darkTheme : defaultTheme;
554
+ return name === "dark" ? exports.darkTheme : exports.defaultTheme;
558
555
  }
559
556
 
560
557
  // src/renderer/styles/container.ts
@@ -2499,8 +2496,8 @@ function generateLayoutClasses(prefix) {
2499
2496
  }
2500
2497
 
2501
2498
  // src/ast/anchor-path.ts
2502
- var ANCHOR_PATH_ATTR = "data-wf-path";
2503
- var ANCHOR_LOC_ATTR = "data-wf-loc";
2499
+ exports.ANCHOR_PATH_ATTR = "data-wf-path";
2500
+ exports.ANCHOR_LOC_ATTR = "data-wf-loc";
2504
2501
  var ANCHOR_CONTAINER_TYPES = /* @__PURE__ */ new Set([
2505
2502
  "Page",
2506
2503
  "Header",
@@ -2573,7 +2570,7 @@ var DEFAULT_OPTIONS = {
2573
2570
  };
2574
2571
  var BaseRenderer = class {
2575
2572
  constructor(options = {}) {
2576
- _chunkETV4XYOVcjs.__publicField.call(void 0, this, "context");
2573
+ chunkETV4XYOV_cjs.__publicField(this, "context");
2577
2574
  const resolvedOptions = {
2578
2575
  ...DEFAULT_OPTIONS,
2579
2576
  ...options
@@ -2591,7 +2588,7 @@ var BaseRenderer = class {
2591
2588
  * component colors that use var(--wf-bg)
2592
2589
  */
2593
2590
  buildTheme(options) {
2594
- return options.theme === "dark" ? { ...darkTheme } : { ...defaultTheme };
2591
+ return options.theme === "dark" ? { ...exports.darkTheme } : { ...exports.defaultTheme };
2595
2592
  }
2596
2593
  /**
2597
2594
  * Render a wireframe document to HTML and CSS
@@ -2714,7 +2711,7 @@ var BaseRenderer = class {
2714
2711
  var INTERACTION_KINDS = ["navigate", "opens", "toggles", "action"];
2715
2712
  function categoryOf(node) {
2716
2713
  var _a;
2717
- return (_a = _chunkMD6MNOEQcjs.ELEMENT_NODE_TYPE_MAP.get(node.type)) == null ? void 0 : _a.category;
2714
+ return (_a = chunkMD6MNOEQ_cjs.ELEMENT_NODE_TYPE_MAP.get(node.type)) == null ? void 0 : _a.category;
2718
2715
  }
2719
2716
  function getLabel(node) {
2720
2717
  if ("label" in node && typeof node.label === "string") return node.label;
@@ -3126,35 +3123,35 @@ function isUrlTarget(target) {
3126
3123
  }
3127
3124
 
3128
3125
  // src/renderer/html/interactive.ts
3129
- var INTERACTIVE_ATTR_NAMES = [
3126
+ exports.INTERACTIVE_ATTR_NAMES = [
3130
3127
  "data-navigate",
3131
3128
  "data-opens",
3132
3129
  "data-toggles",
3133
3130
  "data-action"
3134
3131
  ];
3135
- var EXTERNAL_NAVIGATE_ATTR = "data-navigate-external";
3136
- var TYPED_INTERACTION_ATTR = "data-wf-on";
3137
- var VISIBLE_GUARD_ATTR = "data-wf-visible-when";
3138
- var ENABLED_GUARD_ATTR = "data-wf-enabled-when";
3139
- var VARIANT_SCOPE_ATTR = "data-wf-variant-scope";
3140
- var INERT_HREF = "#";
3132
+ exports.EXTERNAL_NAVIGATE_ATTR = "data-navigate-external";
3133
+ exports.TYPED_INTERACTION_ATTR = "data-wf-on";
3134
+ exports.VISIBLE_GUARD_ATTR = "data-wf-visible-when";
3135
+ exports.ENABLED_GUARD_ATTR = "data-wf-enabled-when";
3136
+ exports.VARIANT_SCOPE_ATTR = "data-wf-variant-scope";
3137
+ exports.INERT_HREF = "#";
3141
3138
  function guardedOutcomeAttrs(node) {
3142
3139
  const visible = normalizeStateGuard(node.visibleWhen);
3143
3140
  const enabled = normalizeStateGuard(node.enabledWhen);
3144
3141
  return {
3145
- [VISIBLE_GUARD_ATTR]: visible === void 0 ? void 0 : JSON.stringify(visible),
3146
- [ENABLED_GUARD_ATTR]: enabled === void 0 ? void 0 : JSON.stringify(enabled)
3142
+ [exports.VISIBLE_GUARD_ATTR]: visible === void 0 ? void 0 : JSON.stringify(visible),
3143
+ [exports.ENABLED_GUARD_ATTR]: enabled === void 0 ? void 0 : JSON.stringify(enabled)
3147
3144
  };
3148
3145
  }
3149
3146
  function interactiveAttrs(node) {
3150
3147
  const handlers = normalizeInteractionHandlers(node.on);
3151
3148
  return {
3152
3149
  "data-navigate": node.navigate,
3153
- [EXTERNAL_NAVIGATE_ATTR]: isUrlTarget(node.navigate) ? true : void 0,
3150
+ [exports.EXTERNAL_NAVIGATE_ATTR]: isUrlTarget(node.navigate) ? true : void 0,
3154
3151
  "data-opens": node.opens,
3155
3152
  "data-toggles": node.toggles,
3156
3153
  "data-action": node.action,
3157
- [TYPED_INTERACTION_ATTR]: handlers.length === 0 ? void 0 : JSON.stringify(handlers.map((handler) => interactionSignature(handler))),
3154
+ [exports.TYPED_INTERACTION_ATTR]: handlers.length === 0 ? void 0 : JSON.stringify(handlers.map((handler) => interactionSignature(handler))),
3158
3155
  ...guardedOutcomeAttrs(node)
3159
3156
  };
3160
3157
  }
@@ -3164,10 +3161,10 @@ function anchorIntent(node) {
3164
3161
  if (isUrlTarget(node.navigate)) {
3165
3162
  return {
3166
3163
  href: node.navigate.trim(),
3167
- attrs: { ...attrs, "data-navigate": void 0, [EXTERNAL_NAVIGATE_ATTR]: void 0 }
3164
+ attrs: { ...attrs, "data-navigate": void 0, [exports.EXTERNAL_NAVIGATE_ATTR]: void 0 }
3168
3165
  };
3169
3166
  }
3170
- return { href: INERT_HREF, attrs };
3167
+ return { href: exports.INERT_HREF, attrs };
3171
3168
  }
3172
3169
 
3173
3170
  // src/renderer/html/components.ts
@@ -3475,7 +3472,7 @@ function renderLink(node, ctx) {
3475
3472
  }
3476
3473
 
3477
3474
  // src/icons/lucide-icons.generated.ts
3478
- var lucideIcons = {
3475
+ exports.lucideIcons = {
3479
3476
  "a-arrow-down": [
3480
3477
  [
3481
3478
  "path",
@@ -49886,18 +49883,18 @@ var iconAliases = {
49886
49883
  "help-circle": "circle-question-mark"
49887
49884
  };
49888
49885
  function getIconData(name) {
49889
- if (lucideIcons[name]) {
49890
- return lucideIcons[name];
49886
+ if (exports.lucideIcons[name]) {
49887
+ return exports.lucideIcons[name];
49891
49888
  }
49892
- if (iconAliases[name] && lucideIcons[iconAliases[name]]) {
49893
- return lucideIcons[iconAliases[name]];
49889
+ if (iconAliases[name] && exports.lucideIcons[iconAliases[name]]) {
49890
+ return exports.lucideIcons[iconAliases[name]];
49894
49891
  }
49895
49892
  const kebabName = name.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
49896
- if (lucideIcons[kebabName]) {
49897
- return lucideIcons[kebabName];
49893
+ if (exports.lucideIcons[kebabName]) {
49894
+ return exports.lucideIcons[kebabName];
49898
49895
  }
49899
- if (iconAliases[kebabName] && lucideIcons[iconAliases[kebabName]]) {
49900
- return lucideIcons[iconAliases[kebabName]];
49896
+ if (iconAliases[kebabName] && exports.lucideIcons[iconAliases[kebabName]]) {
49897
+ return exports.lucideIcons[iconAliases[kebabName]];
49901
49898
  }
49902
49899
  return void 0;
49903
49900
  }
@@ -50415,7 +50412,7 @@ ${content}
50415
50412
  }
50416
50413
  const items = node.items.map((item) => {
50417
50414
  if (typeof item === "string") {
50418
- return `<a class="${ctx.prefix}-nav-link" href="${INERT_HREF}">${ctx.escapeHtml(item)}</a>`;
50415
+ return `<a class="${ctx.prefix}-nav-link" href="${exports.INERT_HREF}">${ctx.escapeHtml(item)}</a>`;
50419
50416
  }
50420
50417
  return renderNavItem(item, ctx);
50421
50418
  }).join("\n");
@@ -50446,7 +50443,7 @@ function renderBreadcrumb(node, ctx) {
50446
50443
  const items = node.items.map((item, idx) => {
50447
50444
  const isLast = idx === node.items.length - 1;
50448
50445
  if (typeof item === "string") {
50449
- return isLast ? `<span class="${ctx.prefix}-breadcrumb-item" aria-current="page">${ctx.escapeHtml(item)}</span>` : `<a class="${ctx.prefix}-breadcrumb-item" href="${INERT_HREF}">${ctx.escapeHtml(item)}</a>`;
50446
+ return isLast ? `<span class="${ctx.prefix}-breadcrumb-item" aria-current="page">${ctx.escapeHtml(item)}</span>` : `<a class="${ctx.prefix}-breadcrumb-item" href="${exports.INERT_HREF}">${ctx.escapeHtml(item)}</a>`;
50450
50447
  }
50451
50448
  if (isLast) {
50452
50449
  const spanAttrs = ctx.buildAttrsString(interactiveAttrs(item));
@@ -50710,7 +50707,7 @@ function renderAnnotationItem(node, ctx) {
50710
50707
 
50711
50708
  // src/renderer/html/index.ts
50712
50709
  function injectAnchorAttrs(html, path, loc) {
50713
- const attrs = loc ? ` ${ANCHOR_PATH_ATTR}="${path}" ${ANCHOR_LOC_ATTR}="${formatAnchorLoc(loc)}"` : ` ${ANCHOR_PATH_ATTR}="${path}"`;
50710
+ const attrs = loc ? ` ${exports.ANCHOR_PATH_ATTR}="${path}" ${exports.ANCHOR_LOC_ATTR}="${formatAnchorLoc(loc)}"` : ` ${exports.ANCHOR_PATH_ATTR}="${path}"`;
50714
50711
  return html.replace(/<([a-zA-Z][a-zA-Z0-9-]*)/, (match) => `${match}${attrs}`);
50715
50712
  }
50716
50713
  var GUARD_ATTR_RENDERERS = /* @__PURE__ */ new Set([
@@ -50732,7 +50729,7 @@ function collectNodeMarkerAttrs(node) {
50732
50729
  }
50733
50730
  }
50734
50731
  const scope = variantScope(node);
50735
- if (scope !== void 0) markers.set(VARIANT_SCOPE_ATTR, JSON.stringify(scope));
50732
+ if (scope !== void 0) markers.set(exports.VARIANT_SCOPE_ATTR, JSON.stringify(scope));
50736
50733
  return Object.fromEntries(markers);
50737
50734
  }
50738
50735
  var SPACING_TOKENS = {
@@ -50773,31 +50770,31 @@ function resolveSizeValueToCss(value) {
50773
50770
  }
50774
50771
  return void 0;
50775
50772
  }
50776
- var HtmlRenderer = class extends BaseRenderer {
50773
+ exports.HtmlRenderer = class HtmlRenderer extends BaseRenderer {
50777
50774
  constructor(options = {}, pageIndexBase = 0) {
50778
50775
  super(options);
50779
50776
  /**
50780
50777
  * Node type to renderer method mapping
50781
50778
  */
50782
- _chunkETV4XYOVcjs.__publicField.call(void 0, this, "nodeRenderers");
50779
+ chunkETV4XYOV_cjs.__publicField(this, "nodeRenderers");
50783
50780
  /**
50784
50781
  * Node → anchor-path map for the document currently being rendered. Non-null
50785
50782
  * only while rendering with `sourceAnchors` enabled.
50786
50783
  */
50787
- _chunkETV4XYOVcjs.__publicField.call(void 0, this, "pathMap", null);
50784
+ chunkETV4XYOV_cjs.__publicField(this, "pathMap", null);
50788
50785
  /**
50789
50786
  * Base index added to page anchor paths. Non-zero when a page is rendered in
50790
50787
  * isolation (canvas per-page composition) but must keep its true document
50791
50788
  * index in the anchor scheme.
50792
50789
  */
50793
- _chunkETV4XYOVcjs.__publicField.call(void 0, this, "pageIndexBase");
50790
+ chunkETV4XYOV_cjs.__publicField(this, "pageIndexBase");
50794
50791
  /**
50795
50792
  * HTML the next `slot` renders, or `null` when there is none to place.
50796
50793
  *
50797
50794
  * Set for the duration of one `renderFragment` call and consumed by the first
50798
50795
  * slot reached, so it never leaks into an unrelated render.
50799
50796
  */
50800
- _chunkETV4XYOVcjs.__publicField.call(void 0, this, "slotContent", null);
50797
+ chunkETV4XYOV_cjs.__publicField(this, "slotContent", null);
50801
50798
  this.pageIndexBase = pageIndexBase;
50802
50799
  this.nodeRenderers = this.createNodeRenderers();
50803
50800
  }
@@ -50916,7 +50913,7 @@ var HtmlRenderer = class extends BaseRenderer {
50916
50913
  */
50917
50914
  renderPage(node) {
50918
50915
  var _a, _b;
50919
- let viewport = _chunkMD6MNOEQcjs.resolveViewport.call(void 0, node.viewport, node.device);
50916
+ let viewport = chunkMD6MNOEQ_cjs.resolveViewport(node.viewport, node.device);
50920
50917
  const nodeAny = node;
50921
50918
  const explicitW = (_a = node.w) != null ? _a : nodeAny.width;
50922
50919
  const explicitH = (_b = node.h) != null ? _b : nodeAny.height;
@@ -50941,8 +50938,6 @@ var HtmlRenderer = class extends BaseRenderer {
50941
50938
  const title = node.title ? `<title>${this.escapeHtml(node.title)}</title>
50942
50939
  ` : "";
50943
50940
  const { x: _canvasX, y: _canvasY, ...nodeWithoutCanvasPos } = node;
50944
- void _canvasX;
50945
- void _canvasY;
50946
50941
  const commonStyles = this.buildCommonStyles(nodeWithoutCanvasPos);
50947
50942
  let viewportStyle = `position: relative; width: ${viewport.width}px; height: ${viewport.height}px; overflow: hidden`;
50948
50943
  if (this.context.options.background) {
@@ -51438,12 +51433,12 @@ ${content}
51438
51433
  }
51439
51434
  };
51440
51435
  function createHtmlRenderer(options) {
51441
- return new HtmlRenderer(options);
51436
+ return new exports.HtmlRenderer(options);
51442
51437
  }
51443
51438
 
51444
51439
  // src/renderer/page-renderer.ts
51445
51440
  function renderPage(page, options = {}) {
51446
- const renderer = new HtmlRenderer(options);
51441
+ const renderer = new exports.HtmlRenderer(options);
51447
51442
  const { html, css } = renderer.render({
51448
51443
  type: "Document",
51449
51444
  children: [page]
@@ -51459,132 +51454,9 @@ function resolvePageDimensions(page) {
51459
51454
  if (typeof explicitW === "number" && typeof explicitH === "number") {
51460
51455
  return { width: explicitW, height: explicitH };
51461
51456
  }
51462
- const viewport = _chunkMD6MNOEQcjs.resolveViewport.call(void 0, page.viewport, page.device);
51457
+ const viewport = chunkMD6MNOEQ_cjs.resolveViewport(page.viewport, page.device);
51463
51458
  return { width: viewport.width, height: viewport.height };
51464
51459
  }
51465
-
51466
-
51467
-
51468
-
51469
-
51470
-
51471
-
51472
-
51473
-
51474
-
51475
-
51476
-
51477
-
51478
-
51479
-
51480
-
51481
-
51482
-
51483
-
51484
-
51485
-
51486
-
51487
-
51488
-
51489
-
51490
-
51491
-
51492
-
51493
-
51494
-
51495
-
51496
-
51497
-
51498
-
51499
-
51500
-
51501
-
51502
-
51503
-
51504
-
51505
-
51506
-
51507
-
51508
-
51509
-
51510
-
51511
-
51512
-
51513
-
51514
-
51515
-
51516
-
51517
-
51518
-
51519
-
51520
-
51521
-
51522
-
51523
-
51524
-
51525
-
51526
-
51527
-
51528
-
51529
-
51530
-
51531
-
51532
-
51533
-
51534
-
51535
-
51536
-
51537
-
51538
-
51539
-
51540
-
51541
-
51542
-
51543
-
51544
-
51545
-
51546
-
51547
-
51548
-
51549
-
51550
-
51551
-
51552
-
51553
-
51554
-
51555
-
51556
-
51557
-
51558
-
51559
-
51560
-
51561
-
51562
-
51563
-
51564
-
51565
-
51566
-
51567
-
51568
-
51569
-
51570
-
51571
-
51572
-
51573
-
51574
-
51575
-
51576
-
51577
-
51578
-
51579
-
51580
-
51581
-
51582
-
51583
-
51584
-
51585
-
51586
-
51587
- exports.isContainerNode = isContainerNode; exports.hasChildren = hasChildren; exports.isLeafNode = isLeafNode; exports.isLayoutNode = isLayoutNode; exports.isPageNode = isPageNode; exports.isDefinitionNode = isDefinitionNode; exports.isLayoutDefinitionNode = isLayoutDefinitionNode; exports.isComponentDefinitionNode = isComponentDefinitionNode; exports.isComponentUseNode = isComponentUseNode; exports.isSlotNode = isSlotNode; exports.isHeaderNode = isHeaderNode; exports.isMainNode = isMainNode; exports.isFooterNode = isFooterNode; exports.isSidebarNode = isSidebarNode; exports.isSectionNode = isSectionNode; exports.isGridNode = isGridNode; exports.isRowNode = isRowNode; exports.isColNode = isColNode; exports.isContainerComponentNode = isContainerComponentNode; exports.isCardNode = isCardNode; exports.isModalNode = isModalNode; exports.isDrawerNode = isDrawerNode; exports.isAccordionNode = isAccordionNode; exports.isTextContentNode = isTextContentNode; exports.isTextNode = isTextNode; exports.isTitleNode = isTitleNode; exports.isLinkNode = isLinkNode; exports.isInputComponentNode = isInputComponentNode; exports.isInputNode = isInputNode; exports.isTextareaNode = isTextareaNode; exports.isSelectNode = isSelectNode; exports.isCheckboxNode = isCheckboxNode; exports.isRadioNode = isRadioNode; exports.isSwitchNode = isSwitchNode; exports.isSliderNode = isSliderNode; exports.isButtonNode = isButtonNode; exports.isDisplayNode = isDisplayNode; exports.isImageNode = isImageNode; exports.isPlaceholderNode = isPlaceholderNode; exports.isAvatarNode = isAvatarNode; exports.isBadgeNode = isBadgeNode; exports.isIconNode = isIconNode; exports.isDataNode = isDataNode; exports.isTableNode = isTableNode; exports.isListNode = isListNode; exports.isFeedbackNode = isFeedbackNode; exports.isAlertNode = isAlertNode; exports.isToastNode = isToastNode; exports.isProgressNode = isProgressNode; exports.isSpinnerNode = isSpinnerNode; exports.isOverlayNode = isOverlayNode; exports.isTooltipNode = isTooltipNode; exports.isPopoverNode = isPopoverNode; exports.isDropdownNode = isDropdownNode; exports.isNavigationNode = isNavigationNode; exports.isNavNode = isNavNode; exports.isTabsNode = isTabsNode; exports.isBreadcrumbNode = isBreadcrumbNode; exports.isDividerNode = isDividerNode; exports.isNodeType = isNodeType; exports.walk = walk; exports.walkDocument = walkDocument; exports.documentPages = documentPages; exports.documentDefinitions = documentDefinitions; exports.find = find; exports.findAll = findAll; exports.findByType = findByType; exports.countNodes = countNodes; exports.getMaxDepth = getMaxDepth; exports.getAncestors = getAncestors; exports.mapNodes = mapNodes; exports.cloneNode = cloneNode; exports.contains = contains; exports.getNodeTypes = getNodeTypes; exports.REPEAT_EXPANSION_BUDGET = REPEAT_EXPANSION_BUDGET; exports.RepeatBudgetError = RepeatBudgetError; exports.expandRepeats = expandRepeats; exports.variantScope = variantScope; exports.filterVariantScope = filterVariantScope; exports.filterUnscopedPages = filterUnscopedPages; exports.defaultTheme = defaultTheme; exports.darkTheme = darkTheme; exports.getTheme = getTheme; exports.generateComponentStyles = generateComponentStyles; exports.generateStyles = generateStyles; exports.ANCHOR_PATH_ATTR = ANCHOR_PATH_ATTR; exports.ANCHOR_LOC_ATTR = ANCHOR_LOC_ATTR; exports.anchorChildNodes = anchorChildNodes; exports.walkAnchorPaths = walkAnchorPaths; exports.resolveAnchorPath = resolveAnchorPath; exports.categoryOf = categoryOf; exports.getLabel = getLabel; exports.getContent = getContent; exports.getInteractiveLabel = getInteractiveLabel; exports.getInteractions = getInteractions; exports.getItemInteractions = getItemInteractions; exports.renderPage = renderPage; exports.resolvePageDimensions = resolvePageDimensions; exports.buildSiteModel = buildSiteModel; exports.normalizeStateGuard = normalizeStateGuard; exports.normalizeInteractionHandlers = normalizeInteractionHandlers; exports.interactionSignature = interactionSignature; exports.collectInteractions = collectInteractions; exports.isUrlTarget = isUrlTarget; exports.INTERACTIVE_ATTR_NAMES = INTERACTIVE_ATTR_NAMES; exports.EXTERNAL_NAVIGATE_ATTR = EXTERNAL_NAVIGATE_ATTR; exports.TYPED_INTERACTION_ATTR = TYPED_INTERACTION_ATTR; exports.VISIBLE_GUARD_ATTR = VISIBLE_GUARD_ATTR; exports.ENABLED_GUARD_ATTR = ENABLED_GUARD_ATTR; exports.VARIANT_SCOPE_ATTR = VARIANT_SCOPE_ATTR; exports.INERT_HREF = INERT_HREF; exports.guardedOutcomeAttrs = guardedOutcomeAttrs; exports.interactiveAttrs = interactiveAttrs; exports.anchorIntent = anchorIntent; exports.lucideIcons = lucideIcons; exports.getIconData = getIconData; exports.renderIconSvg = renderIconSvg; exports.renderUnknownIconSvg = renderUnknownIconSvg; exports.HtmlRenderer = HtmlRenderer; exports.createHtmlRenderer = createHtmlRenderer;
51588
51460
  /**
51589
51461
  * GENERATED FILE -- DO NOT EDIT.
51590
51462
  *
@@ -51610,3 +51482,109 @@ exports.isContainerNode = isContainerNode; exports.hasChildren = hasChildren; ex
51610
51482
  *
51611
51483
  * @see https://lucide.dev
51612
51484
  */
51485
+
51486
+ exports.anchorChildNodes = anchorChildNodes;
51487
+ exports.anchorIntent = anchorIntent;
51488
+ exports.buildSiteModel = buildSiteModel;
51489
+ exports.categoryOf = categoryOf;
51490
+ exports.cloneNode = cloneNode;
51491
+ exports.collectInteractions = collectInteractions;
51492
+ exports.contains = contains;
51493
+ exports.countNodes = countNodes;
51494
+ exports.createHtmlRenderer = createHtmlRenderer;
51495
+ exports.documentDefinitions = documentDefinitions;
51496
+ exports.documentPages = documentPages;
51497
+ exports.expandRepeats = expandRepeats;
51498
+ exports.filterUnscopedPages = filterUnscopedPages;
51499
+ exports.filterVariantScope = filterVariantScope;
51500
+ exports.find = find;
51501
+ exports.findAll = findAll;
51502
+ exports.findByType = findByType;
51503
+ exports.generateComponentStyles = generateComponentStyles;
51504
+ exports.generateStyles = generateStyles;
51505
+ exports.getAncestors = getAncestors;
51506
+ exports.getContent = getContent;
51507
+ exports.getIconData = getIconData;
51508
+ exports.getInteractions = getInteractions;
51509
+ exports.getInteractiveLabel = getInteractiveLabel;
51510
+ exports.getItemInteractions = getItemInteractions;
51511
+ exports.getLabel = getLabel;
51512
+ exports.getMaxDepth = getMaxDepth;
51513
+ exports.getNodeTypes = getNodeTypes;
51514
+ exports.getTheme = getTheme;
51515
+ exports.guardedOutcomeAttrs = guardedOutcomeAttrs;
51516
+ exports.hasChildren = hasChildren;
51517
+ exports.interactionSignature = interactionSignature;
51518
+ exports.interactiveAttrs = interactiveAttrs;
51519
+ exports.isAccordionNode = isAccordionNode;
51520
+ exports.isAlertNode = isAlertNode;
51521
+ exports.isAvatarNode = isAvatarNode;
51522
+ exports.isBadgeNode = isBadgeNode;
51523
+ exports.isBreadcrumbNode = isBreadcrumbNode;
51524
+ exports.isButtonNode = isButtonNode;
51525
+ exports.isCardNode = isCardNode;
51526
+ exports.isCheckboxNode = isCheckboxNode;
51527
+ exports.isColNode = isColNode;
51528
+ exports.isComponentDefinitionNode = isComponentDefinitionNode;
51529
+ exports.isComponentUseNode = isComponentUseNode;
51530
+ exports.isContainerComponentNode = isContainerComponentNode;
51531
+ exports.isContainerNode = isContainerNode;
51532
+ exports.isDataNode = isDataNode;
51533
+ exports.isDefinitionNode = isDefinitionNode;
51534
+ exports.isDisplayNode = isDisplayNode;
51535
+ exports.isDividerNode = isDividerNode;
51536
+ exports.isDrawerNode = isDrawerNode;
51537
+ exports.isDropdownNode = isDropdownNode;
51538
+ exports.isFeedbackNode = isFeedbackNode;
51539
+ exports.isFooterNode = isFooterNode;
51540
+ exports.isGridNode = isGridNode;
51541
+ exports.isHeaderNode = isHeaderNode;
51542
+ exports.isIconNode = isIconNode;
51543
+ exports.isImageNode = isImageNode;
51544
+ exports.isInputComponentNode = isInputComponentNode;
51545
+ exports.isInputNode = isInputNode;
51546
+ exports.isLayoutDefinitionNode = isLayoutDefinitionNode;
51547
+ exports.isLayoutNode = isLayoutNode;
51548
+ exports.isLeafNode = isLeafNode;
51549
+ exports.isLinkNode = isLinkNode;
51550
+ exports.isListNode = isListNode;
51551
+ exports.isMainNode = isMainNode;
51552
+ exports.isModalNode = isModalNode;
51553
+ exports.isNavNode = isNavNode;
51554
+ exports.isNavigationNode = isNavigationNode;
51555
+ exports.isNodeType = isNodeType;
51556
+ exports.isOverlayNode = isOverlayNode;
51557
+ exports.isPageNode = isPageNode;
51558
+ exports.isPlaceholderNode = isPlaceholderNode;
51559
+ exports.isPopoverNode = isPopoverNode;
51560
+ exports.isProgressNode = isProgressNode;
51561
+ exports.isRadioNode = isRadioNode;
51562
+ exports.isRowNode = isRowNode;
51563
+ exports.isSectionNode = isSectionNode;
51564
+ exports.isSelectNode = isSelectNode;
51565
+ exports.isSidebarNode = isSidebarNode;
51566
+ exports.isSliderNode = isSliderNode;
51567
+ exports.isSlotNode = isSlotNode;
51568
+ exports.isSpinnerNode = isSpinnerNode;
51569
+ exports.isSwitchNode = isSwitchNode;
51570
+ exports.isTableNode = isTableNode;
51571
+ exports.isTabsNode = isTabsNode;
51572
+ exports.isTextContentNode = isTextContentNode;
51573
+ exports.isTextNode = isTextNode;
51574
+ exports.isTextareaNode = isTextareaNode;
51575
+ exports.isTitleNode = isTitleNode;
51576
+ exports.isToastNode = isToastNode;
51577
+ exports.isTooltipNode = isTooltipNode;
51578
+ exports.isUrlTarget = isUrlTarget;
51579
+ exports.mapNodes = mapNodes;
51580
+ exports.normalizeInteractionHandlers = normalizeInteractionHandlers;
51581
+ exports.normalizeStateGuard = normalizeStateGuard;
51582
+ exports.renderIconSvg = renderIconSvg;
51583
+ exports.renderPage = renderPage;
51584
+ exports.renderUnknownIconSvg = renderUnknownIconSvg;
51585
+ exports.resolveAnchorPath = resolveAnchorPath;
51586
+ exports.resolvePageDimensions = resolvePageDimensions;
51587
+ exports.variantScope = variantScope;
51588
+ exports.walk = walk;
51589
+ exports.walkAnchorPaths = walkAnchorPaths;
51590
+ exports.walkDocument = walkDocument;