@wireweave/core 4.0.0-beta.15 → 4.0.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.cjs +13 -13
- package/dist/app.js +2 -2
- package/dist/{chunk-24W2GEKO.js → chunk-6EMG345O.js} +2 -2
- package/dist/{chunk-VCHXMPZL.cjs → chunk-7ZRMSFWZ.cjs} +37 -37
- package/dist/{chunk-ZPHNXJRY.cjs → chunk-CGTYVLPA.cjs} +4 -4
- package/dist/{chunk-H2SWIUMU.cjs → chunk-EWCLLW6P.cjs} +2 -0
- package/dist/{chunk-XODYFTKU.cjs → chunk-J5WEVZIX.cjs} +89 -502
- package/dist/chunk-KEQRLZQP.js +3066 -0
- package/dist/{chunk-XYACLXXF.js → chunk-LBJTNQXU.js} +1 -1
- package/dist/{chunk-NPDSIAWT.js → chunk-MLCJ6NIB.js} +3 -3
- package/dist/{chunk-NZGEUVB4.js → chunk-NMIPMOEJ.js} +26 -439
- package/dist/chunk-WCCYK5WK.cjs +3077 -0
- package/dist/{chunk-KMZXXIM2.cjs → chunk-XZL42ZQ2.cjs} +28 -28
- package/dist/{chunk-UGMDBW46.js → chunk-YAANMWP2.js} +2 -0
- package/dist/index.cjs +238 -222
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -11
- package/dist/interaction.cjs +6 -6
- package/dist/interaction.js +1 -1
- package/dist/parser.cjs +9 -9
- package/dist/parser.js +1 -1
- package/dist/renderer.cjs +32 -32
- package/dist/renderer.js +3 -3
- package/dist/spec.cjs +39 -23
- package/dist/spec.d.cts +45 -1
- package/dist/spec.d.ts +45 -1
- package/dist/spec.js +1 -1
- package/package.json +19 -13
- package/dist/chunk-MD6MNOEQ.cjs +0 -2884
- package/dist/chunk-V3HVWC7C.js +0 -2874
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ export { aa as AlertVariant, ab as AlignValue, ac as AnchorPosition, ad as Annot
|
|
|
3
3
|
export { ExpectedToken, ParseError, ParseErrorInfo, ParseOptions, ParseResult, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './parser.cjs';
|
|
4
4
|
import { E as ExportOptions, J as JsonExportResult, a as JsonNode, F as FigmaExportResult, b as FigmaMappingProfile, c as FigmaMappingExportResult, V as V4SvgProfile, d as V4SvgExportResult } from './index-CIfur9e3.cjs';
|
|
5
5
|
export { C as CoreExportDiagnostic, e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, g as ExportLoss, h as FigmaAutoLayout, i as FigmaColor, j as FigmaCounterAxisAlign, k as FigmaLayoutMode, l as FigmaMappingArtifact, m as FigmaNode, n as FigmaNodeType, o as FigmaPrimaryAxisAlign, p as FigmaSemanticMapping, q as FigmaSize, r as FigmaSizingMode, s as FigmaSolidFill, t as FigmaStroke, u as FigmaTextAlign, v as FigmaTextStyle, w as FigmaWireweaveMetadata, H as HtmlRenderer, I as INERT_HREF, x as INTERACTIVE_ATTR_NAMES, y as IconData, z as IconElement, A as InteractiveAttrs, P as PlacedPage, S as ShellMiss, B as SiteModel, D as SiteScreen, G as SiteShell, T as TYPED_INTERACTION_ATTR, K as V4ExportDiagnostic, L as V4LinkedExportInput, M as V4SvgArtifact, N as V4SvgManifest, O as VISIBLE_GUARD_ATTR, Q as anchorIntent, R as buildSiteModel, U as createHtmlRenderer, W as generateComponentStyles, X as generateStyles, Y as getIconData, Z as guardedOutcomeAttrs, _ as interactiveAttrs, $ as layoutCanvas, a0 as lucideIcons, a1 as render, a2 as renderCanvas, a3 as renderIconSvg, a4 as renderPage, a5 as renderToHtml, a6 as renderToSvg, a7 as renderUnknownIconSvg, a8 as resolvePageDimensions } from './index-CIfur9e3.cjs';
|
|
6
|
-
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, GrammarBlockNodeType, GrammarElementName, GrammarNodeType, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, getValidAttributes, isValidAttribute } from './spec.cjs';
|
|
6
|
+
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, GrammarBlockNodeType, GrammarElementName, GrammarNodeType, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, LanguageSourceResource, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, getValidAttributes, isValidAttribute, languageCatalogFingerprint, languageSchemaSource, languageSourceResources, resolveLanguageSourceResource } from './spec.cjs';
|
|
7
7
|
import { C as ComponentCategory } from './types-Dkgr0Wyc.cjs';
|
|
8
8
|
export { A as AttributeOverride, a as AttributeSpec, b as AttributeValueType, c as ComponentSpec } from './types-Dkgr0Wyc.cjs';
|
|
9
9
|
import { b as LinkedApp } from './index-DdQv4Bu5.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { aa as AlertVariant, ab as AlignValue, ac as AnchorPosition, ad as Annot
|
|
|
3
3
|
export { ExpectedToken, ParseError, ParseErrorInfo, ParseOptions, ParseResult, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './parser.js';
|
|
4
4
|
import { E as ExportOptions, J as JsonExportResult, a as JsonNode, F as FigmaExportResult, b as FigmaMappingProfile, c as FigmaMappingExportResult, V as V4SvgProfile, d as V4SvgExportResult } from './index-DwGsnD0n.js';
|
|
5
5
|
export { C as CoreExportDiagnostic, e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, g as ExportLoss, h as FigmaAutoLayout, i as FigmaColor, j as FigmaCounterAxisAlign, k as FigmaLayoutMode, l as FigmaMappingArtifact, m as FigmaNode, n as FigmaNodeType, o as FigmaPrimaryAxisAlign, p as FigmaSemanticMapping, q as FigmaSize, r as FigmaSizingMode, s as FigmaSolidFill, t as FigmaStroke, u as FigmaTextAlign, v as FigmaTextStyle, w as FigmaWireweaveMetadata, H as HtmlRenderer, I as INERT_HREF, x as INTERACTIVE_ATTR_NAMES, y as IconData, z as IconElement, A as InteractiveAttrs, P as PlacedPage, S as ShellMiss, B as SiteModel, D as SiteScreen, G as SiteShell, T as TYPED_INTERACTION_ATTR, K as V4ExportDiagnostic, L as V4LinkedExportInput, M as V4SvgArtifact, N as V4SvgManifest, O as VISIBLE_GUARD_ATTR, Q as anchorIntent, R as buildSiteModel, U as createHtmlRenderer, W as generateComponentStyles, X as generateStyles, Y as getIconData, Z as guardedOutcomeAttrs, _ as interactiveAttrs, $ as layoutCanvas, a0 as lucideIcons, a1 as render, a2 as renderCanvas, a3 as renderIconSvg, a4 as renderPage, a5 as renderToHtml, a6 as renderToSvg, a7 as renderUnknownIconSvg, a8 as resolvePageDimensions } from './index-DwGsnD0n.js';
|
|
6
|
-
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, GrammarBlockNodeType, GrammarElementName, GrammarNodeType, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, getValidAttributes, isValidAttribute } from './spec.js';
|
|
6
|
+
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, GrammarBlockNodeType, GrammarElementName, GrammarNodeType, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, LanguageSourceResource, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, getValidAttributes, isValidAttribute, languageCatalogFingerprint, languageSchemaSource, languageSourceResources, resolveLanguageSourceResource } from './spec.js';
|
|
7
7
|
import { C as ComponentCategory } from './types-Dkgr0Wyc.js';
|
|
8
8
|
export { A as AttributeOverride, a as AttributeSpec, b as AttributeValueType, c as ComponentSpec } from './types-Dkgr0Wyc.js';
|
|
9
9
|
import { b as LinkedApp } from './index-c4FTW7XA.js';
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { exportLinkedAppToSvg, layoutCanvas, render, renderCanvas, renderToHtml, renderToSvg } from './chunk-
|
|
2
|
-
import { collectParameterReferences } from './chunk-
|
|
3
|
-
export { advanceClock, collectParameterReferences, compileApp, createAppComponentInstanceId, createAppNodeId, createRuntime, linkAndCompileApp, linkApp, parameterReferenceName, reduceEvent, renderSite as renderAppSite, resetRuntime } from './chunk-
|
|
4
|
-
import { getLinkedAppData, failed, diagnostic, freeze, jcs } from './chunk-
|
|
5
|
-
export { createAppBundle, expandVariants, renderSite } from './chunk-
|
|
6
|
-
import { parse, digestV4 } from './chunk-
|
|
7
|
-
export { V4ParseError, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './chunk-
|
|
8
|
-
import { documentPages, walk, categoryOf, getLabel, getContent, isInputComponentNode, getInteractiveLabel, getInteractions, getItemInteractions, buildSiteModel, collectInteractions, walkAnchorPaths, resolveAnchorPath, anchorChildNodes, isUrlTarget, variantScope } from './chunk-
|
|
9
|
-
export { ANCHOR_LOC_ATTR, ANCHOR_PATH_ATTR, ENABLED_GUARD_ATTR, EXTERNAL_NAVIGATE_ATTR, HtmlRenderer, INERT_HREF, INTERACTIVE_ATTR_NAMES, REPEAT_EXPANSION_BUDGET, RepeatBudgetError, TYPED_INTERACTION_ATTR, VISIBLE_GUARD_ATTR, anchorIntent, buildSiteModel, cloneNode, collectInteractions, contains, countNodes, createHtmlRenderer, darkTheme, defaultTheme, documentDefinitions, documentPages, expandRepeats, filterUnscopedPages, filterVariantScope, find, findAll, findByType, generateComponentStyles, generateStyles, getAncestors, getIconData, getMaxDepth, getNodeTypes, getTheme, guardedOutcomeAttrs, hasChildren, interactionSignature, interactiveAttrs, isAccordionNode, isAlertNode, isAvatarNode, isBadgeNode, isBreadcrumbNode, isButtonNode, isCardNode, isCheckboxNode, isColNode, isComponentDefinitionNode, isComponentUseNode, isContainerComponentNode, isContainerNode, isDataNode, isDefinitionNode, isDisplayNode, isDividerNode, isDrawerNode, isDropdownNode, isFeedbackNode, isFooterNode, isGridNode, isHeaderNode, isIconNode, isImageNode, isInputComponentNode, isInputNode, isLayoutDefinitionNode, isLayoutNode, isLeafNode, isLinkNode, isListNode, isMainNode, isModalNode, isNavNode, isNavigationNode, isNodeType, isOverlayNode, isPageNode, isPlaceholderNode, isPopoverNode, isProgressNode, isRadioNode, isRowNode, isSectionNode, isSelectNode, isSidebarNode, isSliderNode, isSlotNode, isSpinnerNode, isSwitchNode, isTableNode, isTabsNode, isTextContentNode, isTextNode, isTextareaNode, isTitleNode, isToastNode, isTooltipNode, isUrlTarget, lucideIcons, mapNodes, normalizeInteractionHandlers, normalizeStateGuard, renderIconSvg, renderPage, renderUnknownIconSvg, resolvePageDimensions, variantScope, walk, walkDocument } from './chunk-
|
|
10
|
-
import { GRAMMAR_CHILD_KEYWORDS, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES } from './chunk-
|
|
11
|
-
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, DEFAULT_VIEWPORT, DEVICE_PRESETS, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, calculateViewportScale, getDevicePresets, getValidAttributes, isValidAttribute, isValidDevicePreset, parseViewportString, resolveViewport, wrapInPreviewContainer } from './chunk-
|
|
1
|
+
export { exportLinkedAppToSvg, layoutCanvas, render, renderCanvas, renderToHtml, renderToSvg } from './chunk-MLCJ6NIB.js';
|
|
2
|
+
import { collectParameterReferences } from './chunk-NMIPMOEJ.js';
|
|
3
|
+
export { advanceClock, collectParameterReferences, compileApp, createAppComponentInstanceId, createAppNodeId, createRuntime, linkAndCompileApp, linkApp, parameterReferenceName, reduceEvent, renderSite as renderAppSite, resetRuntime } from './chunk-NMIPMOEJ.js';
|
|
4
|
+
import { getLinkedAppData, failed, diagnostic, freeze, jcs } from './chunk-6EMG345O.js';
|
|
5
|
+
export { createAppBundle, expandVariants, renderSite } from './chunk-6EMG345O.js';
|
|
6
|
+
import { parse, digestV4 } from './chunk-YAANMWP2.js';
|
|
7
|
+
export { V4ParseError, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './chunk-YAANMWP2.js';
|
|
8
|
+
import { documentPages, walk, categoryOf, getLabel, getContent, isInputComponentNode, getInteractiveLabel, getInteractions, getItemInteractions, buildSiteModel, collectInteractions, walkAnchorPaths, resolveAnchorPath, anchorChildNodes, isUrlTarget, variantScope } from './chunk-LBJTNQXU.js';
|
|
9
|
+
export { ANCHOR_LOC_ATTR, ANCHOR_PATH_ATTR, ENABLED_GUARD_ATTR, EXTERNAL_NAVIGATE_ATTR, HtmlRenderer, INERT_HREF, INTERACTIVE_ATTR_NAMES, REPEAT_EXPANSION_BUDGET, RepeatBudgetError, TYPED_INTERACTION_ATTR, VISIBLE_GUARD_ATTR, anchorIntent, buildSiteModel, cloneNode, collectInteractions, contains, countNodes, createHtmlRenderer, darkTheme, defaultTheme, documentDefinitions, documentPages, expandRepeats, filterUnscopedPages, filterVariantScope, find, findAll, findByType, generateComponentStyles, generateStyles, getAncestors, getIconData, getMaxDepth, getNodeTypes, getTheme, guardedOutcomeAttrs, hasChildren, interactionSignature, interactiveAttrs, isAccordionNode, isAlertNode, isAvatarNode, isBadgeNode, isBreadcrumbNode, isButtonNode, isCardNode, isCheckboxNode, isColNode, isComponentDefinitionNode, isComponentUseNode, isContainerComponentNode, isContainerNode, isDataNode, isDefinitionNode, isDisplayNode, isDividerNode, isDrawerNode, isDropdownNode, isFeedbackNode, isFooterNode, isGridNode, isHeaderNode, isIconNode, isImageNode, isInputComponentNode, isInputNode, isLayoutDefinitionNode, isLayoutNode, isLeafNode, isLinkNode, isListNode, isMainNode, isModalNode, isNavNode, isNavigationNode, isNodeType, isOverlayNode, isPageNode, isPlaceholderNode, isPopoverNode, isProgressNode, isRadioNode, isRowNode, isSectionNode, isSelectNode, isSidebarNode, isSliderNode, isSlotNode, isSpinnerNode, isSwitchNode, isTableNode, isTabsNode, isTextContentNode, isTextNode, isTextareaNode, isTitleNode, isToastNode, isTooltipNode, isUrlTarget, lucideIcons, mapNodes, normalizeInteractionHandlers, normalizeStateGuard, renderIconSvg, renderPage, renderUnknownIconSvg, resolvePageDimensions, variantScope, walk, walkDocument } from './chunk-LBJTNQXU.js';
|
|
10
|
+
import { GRAMMAR_CHILD_KEYWORDS, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES } from './chunk-KEQRLZQP.js';
|
|
11
|
+
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, DEFAULT_VIEWPORT, DEVICE_PRESETS, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, calculateViewportScale, getDevicePresets, getValidAttributes, isValidAttribute, isValidDevicePreset, languageCatalogFingerprint, languageSchemaSource, languageSourceResources, parseViewportString, resolveLanguageSourceResource, resolveViewport, wrapInPreviewContainer } from './chunk-KEQRLZQP.js';
|
|
12
12
|
|
|
13
13
|
// src/printer/values.ts
|
|
14
14
|
var IDENTIFIER_RE = /^[a-zA-Z_][a-zA-Z0-9_-]*$/;
|
package/dist/interaction.cjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCGTYVLPA_cjs = require('./chunk-CGTYVLPA.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "collectInteractions", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkCGTYVLPA_cjs.collectInteractions; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "interactionSignature", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkCGTYVLPA_cjs.interactionSignature; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "isUrlTarget", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkCGTYVLPA_cjs.isUrlTarget; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "normalizeInteractionHandlers", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkCGTYVLPA_cjs.normalizeInteractionHandlers; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "normalizeStateGuard", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkCGTYVLPA_cjs.normalizeStateGuard; }
|
|
26
26
|
});
|
package/dist/interaction.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { collectInteractions, interactionSignature, isUrlTarget, normalizeInteractionHandlers, normalizeStateGuard } from './chunk-
|
|
1
|
+
export { collectInteractions, interactionSignature, isUrlTarget, normalizeInteractionHandlers, normalizeStateGuard } from './chunk-LBJTNQXU.js';
|
package/dist/parser.cjs
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEWCLLW6P_cjs = require('./chunk-EWCLLW6P.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "V4ParseError", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkEWCLLW6P_cjs.V4ParseError; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getErrors", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkEWCLLW6P_cjs.getErrors; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getV4SourceSpan", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkEWCLLW6P_cjs.getV4SourceSpan; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "isValid", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkEWCLLW6P_cjs.isValid; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "parse", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkEWCLLW6P_cjs.parse; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "parseV4", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkEWCLLW6P_cjs.parseV4; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "tryParse", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkEWCLLW6P_cjs.tryParse; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "tryParseV4", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkEWCLLW6P_cjs.tryParseV4; }
|
|
38
38
|
});
|
package/dist/parser.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { V4ParseError, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './chunk-
|
|
1
|
+
export { V4ParseError, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './chunk-YAANMWP2.js';
|
package/dist/renderer.cjs
CHANGED
|
@@ -1,124 +1,124 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkXZL42ZQ2_cjs = require('./chunk-XZL42ZQ2.cjs');
|
|
4
|
+
var chunk7ZRMSFWZ_cjs = require('./chunk-7ZRMSFWZ.cjs');
|
|
5
|
+
var chunkCGTYVLPA_cjs = require('./chunk-CGTYVLPA.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "layoutCanvas", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkXZL42ZQ2_cjs.layoutCanvas; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "render", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkXZL42ZQ2_cjs.render; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "renderCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkXZL42ZQ2_cjs.renderCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "renderToHtml", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkXZL42ZQ2_cjs.renderToHtml; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "renderToSvg", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkXZL42ZQ2_cjs.renderToSvg; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "renderSite", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk7ZRMSFWZ_cjs.renderSite; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ENABLED_GUARD_ATTR", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkCGTYVLPA_cjs.ENABLED_GUARD_ATTR; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "EXTERNAL_NAVIGATE_ATTR", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkCGTYVLPA_cjs.EXTERNAL_NAVIGATE_ATTR; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "HtmlRenderer", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkCGTYVLPA_cjs.HtmlRenderer; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "INERT_HREF", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkCGTYVLPA_cjs.INERT_HREF; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "INTERACTIVE_ATTR_NAMES", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkCGTYVLPA_cjs.INTERACTIVE_ATTR_NAMES; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "TYPED_INTERACTION_ATTR", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkCGTYVLPA_cjs.TYPED_INTERACTION_ATTR; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "VISIBLE_GUARD_ATTR", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkCGTYVLPA_cjs.VISIBLE_GUARD_ATTR; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "anchorIntent", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkCGTYVLPA_cjs.anchorIntent; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "buildSiteModel", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkCGTYVLPA_cjs.buildSiteModel; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "createHtmlRenderer", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkCGTYVLPA_cjs.createHtmlRenderer; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "darkTheme", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkCGTYVLPA_cjs.darkTheme; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "defaultTheme", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkCGTYVLPA_cjs.defaultTheme; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "generateComponentStyles", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkCGTYVLPA_cjs.generateComponentStyles; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "generateStyles", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkCGTYVLPA_cjs.generateStyles; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "getIconData", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkCGTYVLPA_cjs.getIconData; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "getTheme", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkCGTYVLPA_cjs.getTheme; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "guardedOutcomeAttrs", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkCGTYVLPA_cjs.guardedOutcomeAttrs; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "interactiveAttrs", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkCGTYVLPA_cjs.interactiveAttrs; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "lucideIcons", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkCGTYVLPA_cjs.lucideIcons; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "renderIconSvg", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkCGTYVLPA_cjs.renderIconSvg; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "renderPage", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkCGTYVLPA_cjs.renderPage; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "renderUnknownIconSvg", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkCGTYVLPA_cjs.renderUnknownIconSvg; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "resolvePageDimensions", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkCGTYVLPA_cjs.resolvePageDimensions; }
|
|
124
124
|
});
|
package/dist/renderer.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { layoutCanvas, render, renderCanvas, renderToHtml, renderToSvg } from './chunk-
|
|
2
|
-
export { renderSite } from './chunk-
|
|
3
|
-
export { ENABLED_GUARD_ATTR, EXTERNAL_NAVIGATE_ATTR, HtmlRenderer, INERT_HREF, INTERACTIVE_ATTR_NAMES, TYPED_INTERACTION_ATTR, VISIBLE_GUARD_ATTR, anchorIntent, buildSiteModel, createHtmlRenderer, darkTheme, defaultTheme, generateComponentStyles, generateStyles, getIconData, getTheme, guardedOutcomeAttrs, interactiveAttrs, lucideIcons, renderIconSvg, renderPage, renderUnknownIconSvg, resolvePageDimensions } from './chunk-
|
|
1
|
+
export { layoutCanvas, render, renderCanvas, renderToHtml, renderToSvg } from './chunk-MLCJ6NIB.js';
|
|
2
|
+
export { renderSite } from './chunk-6EMG345O.js';
|
|
3
|
+
export { ENABLED_GUARD_ATTR, EXTERNAL_NAVIGATE_ATTR, HtmlRenderer, INERT_HREF, INTERACTIVE_ATTR_NAMES, TYPED_INTERACTION_ATTR, VISIBLE_GUARD_ATTR, anchorIntent, buildSiteModel, createHtmlRenderer, darkTheme, defaultTheme, generateComponentStyles, generateStyles, getIconData, getTheme, guardedOutcomeAttrs, interactiveAttrs, lucideIcons, renderIconSvg, renderPage, renderUnknownIconSvg, resolvePageDimensions } from './chunk-LBJTNQXU.js';
|
package/dist/spec.cjs
CHANGED
|
@@ -1,94 +1,110 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWCCYK5WK_cjs = require('./chunk-WCCYK5WK.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "ATTRIBUTE_MAP", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkWCCYK5WK_cjs.ATTRIBUTE_MAP; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ATTRIBUTE_OVERRIDES", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkWCCYK5WK_cjs.ATTRIBUTE_OVERRIDES; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ATTRIBUTE_SPECS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkWCCYK5WK_cjs.ATTRIBUTE_SPECS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "BLOCK_NODE_SPECS", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkWCCYK5WK_cjs.BLOCK_NODE_SPECS; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "BOX_ATTRIBUTES", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkWCCYK5WK_cjs.BOX_ATTRIBUTES; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "COMPONENT_MAP", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkWCCYK5WK_cjs.COMPONENT_MAP; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "COMPONENT_NAMES", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkWCCYK5WK_cjs.COMPONENT_NAMES; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "COMPONENT_SPECS", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkWCCYK5WK_cjs.COMPONENT_SPECS; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "COMPONENT_SPEC_BY_NAME", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkWCCYK5WK_cjs.COMPONENT_SPEC_BY_NAME; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "CONTAINER_ATTRIBUTES", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkWCCYK5WK_cjs.CONTAINER_ATTRIBUTES; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "ELEMENT_NODE_TYPE_MAP", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkWCCYK5WK_cjs.ELEMENT_NODE_TYPE_MAP; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "GRAMMAR_BLOCK_NODE_TYPES", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkWCCYK5WK_cjs.GRAMMAR_BLOCK_NODE_TYPES; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "GRAMMAR_CHILD_KEYWORDS", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkWCCYK5WK_cjs.GRAMMAR_CHILD_KEYWORDS; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "GRAMMAR_ELEMENTS", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkWCCYK5WK_cjs.GRAMMAR_ELEMENTS; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "INTERACTIVE_ATTRIBUTES", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkWCCYK5WK_cjs.INTERACTIVE_ATTRIBUTES; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "LUCIDE_ICON_NAMES", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkWCCYK5WK_cjs.LUCIDE_ICON_NAMES; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "NODE_TYPE_MAP", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkWCCYK5WK_cjs.NODE_TYPE_MAP; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "VALID_ATTRIBUTE_NAMES", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkWCCYK5WK_cjs.VALID_ATTRIBUTE_NAMES; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "VALID_COMPONENT_NAMES", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkWCCYK5WK_cjs.VALID_COMPONENT_NAMES; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "attributeFor", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkWCCYK5WK_cjs.attributeFor; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "getValidAttributes", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkWCCYK5WK_cjs.getValidAttributes; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "isValidAttribute", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkWCCYK5WK_cjs.isValidAttribute; }
|
|
94
|
+
});
|
|
95
|
+
Object.defineProperty(exports, "languageCatalogFingerprint", {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: function () { return chunkWCCYK5WK_cjs.languageCatalogFingerprint; }
|
|
98
|
+
});
|
|
99
|
+
Object.defineProperty(exports, "languageSchemaSource", {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () { return chunkWCCYK5WK_cjs.languageSchemaSource; }
|
|
102
|
+
});
|
|
103
|
+
Object.defineProperty(exports, "languageSourceResources", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function () { return chunkWCCYK5WK_cjs.languageSourceResources; }
|
|
106
|
+
});
|
|
107
|
+
Object.defineProperty(exports, "resolveLanguageSourceResource", {
|
|
108
|
+
enumerable: true,
|
|
109
|
+
get: function () { return chunkWCCYK5WK_cjs.resolveLanguageSourceResource; }
|
|
94
110
|
});
|
package/dist/spec.d.cts
CHANGED
|
@@ -298,4 +298,48 @@ declare const ATTRIBUTE_OVERRIDES: Readonly<Record<string, Readonly<Record<strin
|
|
|
298
298
|
*/
|
|
299
299
|
declare function attributeFor(componentNameOrType: string, attributeName: string): AttributeSpec | undefined;
|
|
300
300
|
|
|
301
|
-
|
|
301
|
+
/** A source asset, not a complete language profile, schema closure or execution capability. */
|
|
302
|
+
interface LanguageSourceResource {
|
|
303
|
+
readonly uri: string;
|
|
304
|
+
readonly path: string;
|
|
305
|
+
readonly digest: string;
|
|
306
|
+
readonly byteLength: number;
|
|
307
|
+
readonly mediaType: string;
|
|
308
|
+
/** Exact source text; encode as UTF-8 to recover the fingerprinted bytes. */
|
|
309
|
+
readonly text: string;
|
|
310
|
+
}
|
|
311
|
+
/** Package identity and content-addressed source resources bundled at build time.
|
|
312
|
+
* No schema closure, renderer/runtime fingerprint or browser capability is implied.
|
|
313
|
+
*/
|
|
314
|
+
declare const languageSourceResources: Readonly<{
|
|
315
|
+
package: Readonly<{
|
|
316
|
+
name: "@wireweave/core";
|
|
317
|
+
version: "4.0.0-beta.16";
|
|
318
|
+
}>;
|
|
319
|
+
resources: readonly Readonly<LanguageSourceResource>[];
|
|
320
|
+
}>;
|
|
321
|
+
/** Exact public Core schema and its declared external references. Partial by
|
|
322
|
+
* design: the inventory does not resolve references or supply validation closure. */
|
|
323
|
+
declare const languageSchemaSource: Readonly<{
|
|
324
|
+
resource: Readonly<LanguageSourceResource>;
|
|
325
|
+
externalRefs: readonly Readonly<{
|
|
326
|
+
ref: "https://wireweave.org/contracts/product/1.0/schema.json#/$defs/Registry";
|
|
327
|
+
resourceId: "https://wireweave.org/contracts/product/1.0/schema.json";
|
|
328
|
+
}>[];
|
|
329
|
+
coverage: "partial";
|
|
330
|
+
schemaId: "https://wireweave.org/contracts/core/language/1.0/schema.json";
|
|
331
|
+
dialectId: "https://json-schema.org/draft/2020-12/schema";
|
|
332
|
+
}>;
|
|
333
|
+
/** Exact embedded URI lookup only. Unknown URIs (including fragments) return null;
|
|
334
|
+
* never performs network/filesystem access or interprets a URI as a fetch permission.
|
|
335
|
+
*/
|
|
336
|
+
declare function resolveLanguageSourceResource(uri: string): Readonly<LanguageSourceResource> | null;
|
|
337
|
+
|
|
338
|
+
declare const languageCatalogFingerprint: Readonly<{
|
|
339
|
+
scope: "wireweave-core-dsl-catalog-v1";
|
|
340
|
+
canonicalization: "wireweave-sorted-json-v1";
|
|
341
|
+
digest: "sha256:44fa7dfa46bac75f8106032d22001dafa1901a3406c58e3a2b0cba484fdd56fb";
|
|
342
|
+
byteLength: 241173;
|
|
343
|
+
}>;
|
|
344
|
+
|
|
345
|
+
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, AttributeOverride, AttributeSpec, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, ComponentSpec, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, type GrammarBlockNodeType, type GrammarElementName, type GrammarNodeType, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, type LanguageSourceResource, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, getValidAttributes, isValidAttribute, languageCatalogFingerprint, languageSchemaSource, languageSourceResources, resolveLanguageSourceResource };
|
package/dist/spec.d.ts
CHANGED
|
@@ -298,4 +298,48 @@ declare const ATTRIBUTE_OVERRIDES: Readonly<Record<string, Readonly<Record<strin
|
|
|
298
298
|
*/
|
|
299
299
|
declare function attributeFor(componentNameOrType: string, attributeName: string): AttributeSpec | undefined;
|
|
300
300
|
|
|
301
|
-
|
|
301
|
+
/** A source asset, not a complete language profile, schema closure or execution capability. */
|
|
302
|
+
interface LanguageSourceResource {
|
|
303
|
+
readonly uri: string;
|
|
304
|
+
readonly path: string;
|
|
305
|
+
readonly digest: string;
|
|
306
|
+
readonly byteLength: number;
|
|
307
|
+
readonly mediaType: string;
|
|
308
|
+
/** Exact source text; encode as UTF-8 to recover the fingerprinted bytes. */
|
|
309
|
+
readonly text: string;
|
|
310
|
+
}
|
|
311
|
+
/** Package identity and content-addressed source resources bundled at build time.
|
|
312
|
+
* No schema closure, renderer/runtime fingerprint or browser capability is implied.
|
|
313
|
+
*/
|
|
314
|
+
declare const languageSourceResources: Readonly<{
|
|
315
|
+
package: Readonly<{
|
|
316
|
+
name: "@wireweave/core";
|
|
317
|
+
version: "4.0.0-beta.16";
|
|
318
|
+
}>;
|
|
319
|
+
resources: readonly Readonly<LanguageSourceResource>[];
|
|
320
|
+
}>;
|
|
321
|
+
/** Exact public Core schema and its declared external references. Partial by
|
|
322
|
+
* design: the inventory does not resolve references or supply validation closure. */
|
|
323
|
+
declare const languageSchemaSource: Readonly<{
|
|
324
|
+
resource: Readonly<LanguageSourceResource>;
|
|
325
|
+
externalRefs: readonly Readonly<{
|
|
326
|
+
ref: "https://wireweave.org/contracts/product/1.0/schema.json#/$defs/Registry";
|
|
327
|
+
resourceId: "https://wireweave.org/contracts/product/1.0/schema.json";
|
|
328
|
+
}>[];
|
|
329
|
+
coverage: "partial";
|
|
330
|
+
schemaId: "https://wireweave.org/contracts/core/language/1.0/schema.json";
|
|
331
|
+
dialectId: "https://json-schema.org/draft/2020-12/schema";
|
|
332
|
+
}>;
|
|
333
|
+
/** Exact embedded URI lookup only. Unknown URIs (including fragments) return null;
|
|
334
|
+
* never performs network/filesystem access or interprets a URI as a fetch permission.
|
|
335
|
+
*/
|
|
336
|
+
declare function resolveLanguageSourceResource(uri: string): Readonly<LanguageSourceResource> | null;
|
|
337
|
+
|
|
338
|
+
declare const languageCatalogFingerprint: Readonly<{
|
|
339
|
+
scope: "wireweave-core-dsl-catalog-v1";
|
|
340
|
+
canonicalization: "wireweave-sorted-json-v1";
|
|
341
|
+
digest: "sha256:44fa7dfa46bac75f8106032d22001dafa1901a3406c58e3a2b0cba484fdd56fb";
|
|
342
|
+
byteLength: 241173;
|
|
343
|
+
}>;
|
|
344
|
+
|
|
345
|
+
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, AttributeOverride, AttributeSpec, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, ComponentSpec, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, type GrammarBlockNodeType, type GrammarElementName, type GrammarNodeType, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, type LanguageSourceResource, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, getValidAttributes, isValidAttribute, languageCatalogFingerprint, languageSchemaSource, languageSourceResources, resolveLanguageSourceResource };
|
package/dist/spec.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, getValidAttributes, isValidAttribute } from './chunk-
|
|
1
|
+
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, getValidAttributes, isValidAttribute, languageCatalogFingerprint, languageSchemaSource, languageSourceResources, resolveLanguageSourceResource } from './chunk-KEQRLZQP.js';
|