@wireweave/core 4.0.0-beta.14 → 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.d.cts +2 -2
- package/dist/app.d.ts +2 -2
- package/dist/app.js +2 -2
- package/dist/{chunk-TQSOLTMZ.js → chunk-6EMG345O.js} +251 -41
- package/dist/{chunk-NV6UV5ID.cjs → chunk-7ZRMSFWZ.cjs} +286 -75
- package/dist/{chunk-ZPHNXJRY.cjs → chunk-CGTYVLPA.cjs} +4 -4
- package/dist/{chunk-IMUVIIJR.cjs → chunk-EWCLLW6P.cjs} +11 -3
- package/dist/{chunk-SAN6CJEE.cjs → chunk-J5WEVZIX.cjs} +134 -493
- package/dist/chunk-KEQRLZQP.js +3066 -0
- package/dist/{chunk-XYACLXXF.js → chunk-LBJTNQXU.js} +1 -1
- package/dist/{chunk-4DDV6Z2X.js → chunk-MLCJ6NIB.js} +3 -3
- package/dist/{chunk-2Y3GKARZ.js → chunk-NMIPMOEJ.js} +73 -432
- package/dist/chunk-WCCYK5WK.cjs +3077 -0
- package/dist/{chunk-LA5LKIEL.cjs → chunk-XZL42ZQ2.cjs} +28 -28
- package/dist/{chunk-3RWGG5EC.js → chunk-YAANMWP2.js} +11 -4
- package/dist/{index-BD_4rXH-.d.cts → index-CIfur9e3.d.cts} +1 -1
- package/dist/{index-YSIzfhOd.d.cts → index-DdQv4Bu5.d.cts} +7 -1
- package/dist/{index-g9yV20xb.d.ts → index-DwGsnD0n.d.ts} +1 -1
- package/dist/{index-BEnsO2kE.d.ts → index-c4FTW7XA.d.ts} +7 -1
- package/dist/index.cjs +238 -222
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- 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.d.cts +2 -2
- package/dist/renderer.d.ts +2 -2
- 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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { A as AnyNode, a as AccordionNode, b as AlertNode, c as AvatarNode, B as BadgeNode, d as BreadcrumbNode, e as ButtonNode, f as CardNode, g as CheckboxNode, h as ColNode, i as ComponentDefinitionNode, C as ComponentUseNode, j as ContainerComponentNode, k as ContainerNode, D as DataNode, l as DefinitionNode, m as DisplayNode, n as DividerComponentNode, o as DrawerNode, p as DropdownNode, F as FeedbackNode, q as FooterNode, r as GridNode, H as HeaderNode, s as IconNode, t as ImageNode, u as InputComponentNode, v as InputNode, L as LayoutDefinitionNode, w as LayoutNode, x as LeafNode, y as LinkNode, z as ListNode, M as MainNode, E as ModalNode, N as NavNode, J as NavigationNode, K as NodeType, O as OverlayNode, P as PageNode, Q as PlaceholderNode, R as PopoverNode, T as ProgressNode, U as RadioNode, V as RowNode, X as SectionNode, Y as SelectNode, Z as SidebarNode, _ as SliderNode, $ as SlotNode, a0 as SpinnerNode, a1 as SwitchNode, a2 as TableNode, a3 as TabsNode, a4 as TextContentNode, a5 as TextNode, a6 as TextareaNode, a7 as TitleNode, a8 as ToastNode, a9 as TooltipNode, W as WireframeDocument, S as SourceLocation } from './types-CGRi1k2N.cjs';
|
|
2
2
|
export { aa as AlertVariant, ab as AlignValue, ac as AnchorPosition, ad as AnnotationItemNode, ae as AnnotationNode, af as AnnotationsNode, ag as AppearanceProps, ah as AvatarSize, ai as AvatarSizeToken, aj as BadgeSize, ak as BadgeSizeToken, al as BadgeVariant, am as BaseNode, an as BreadcrumbItem, ao as ButtonSize, ap as ButtonSizeToken, aq as ButtonVariant, ar as CommonProps, as as ComponentInputValue, at as ComponentParameter, au as ComponentParameterType, av as ComponentSlotFill, aw as DirectionValue, ax as DrawerPosition, ay as DropdownItemNode, az as FlexProps, aA as GridProps, G as GuardedOutcomeProps, aB as HeightValue, aC as IconSize, aD as IconSizeToken, aE as InputType, aF as InteractionEffect, aG as InteractionHandler, I as InteractiveProps, aH as JustifyValue, aI as ListItemNode, aJ as MarkerColor, aK as MarkerNode, aL as NavBlockItem, aM as NavChild, aN as NavGroupNode, aO as NavItem, aP as Position, aQ as PositionProps, aR as RelativeNode, aS as RepeatNode, aT as SelectOption, aU as ShadowValue, aV as SizeProps, aW as SpacingProps, aX as SpacingValue, aY as SpinnerSize, aZ as SpinnerSizeToken, a_ as StackNode, a$ as StateDeclaration, b0 as StateGuard, b1 as StateValue, b2 as StateValueType, b3 as TabNode, b4 as TextAlign, b5 as TextSize, b6 as TextSizeToken, b7 as TextWeight, b8 as TitleLevel, b9 as ToastPosition, ba as TooltipPosition, bb as TopLevelNode, bc as ValueWithUnit, bd as VariantScopedProps, be as WidthValue } from './types-CGRi1k2N.cjs';
|
|
3
3
|
export { ExpectedToken, ParseError, ParseErrorInfo, ParseOptions, ParseResult, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './parser.cjs';
|
|
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-
|
|
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-
|
|
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';
|
|
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
|
+
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, 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
|
-
import { b as LinkedApp } from './index-
|
|
10
|
-
export { e as AnnotationStyle, n as AppArtifact, o as AppBundle, A as AppResult, C as CanvasOptions, f as CanvasRenderResult, p as CreateAppBundleOptions, D as Diagnostic, I as InstanceStep, L as LinkedIdentity, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, a as ScreenReference, i as SiteOptions, S as SourceMapEntry, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, q as createAppBundle, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-
|
|
9
|
+
import { b as LinkedApp } from './index-DdQv4Bu5.cjs';
|
|
10
|
+
export { e as AnnotationStyle, n as AppArtifact, o as AppBundle, A as AppResult, C as CanvasOptions, f as CanvasRenderResult, p as CreateAppBundleOptions, D as Diagnostic, I as InstanceStep, L as LinkedIdentity, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, a as ScreenReference, i as SiteOptions, S as SourceMapEntry, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, q as createAppBundle, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-DdQv4Bu5.cjs';
|
|
11
11
|
import { S as ScreenFields, a as ScreenTransitionGraph } from './index-BlNYFaZd.cjs';
|
|
12
12
|
export { I as InteractionDiagnostic, b as InteractionDiagnosticCode, c as InteractionKind, d as InteractionModel, N as NormalizedInteraction, e as NormalizedInteractionEffect, f as NormalizedInteractionHandler, g as ScreenAction, h as ScreenDisplay, i as ScreenElement, j as ScreenFieldsSummary, k as ScreenInput, T as TransitionEdge, l as TransitionScreen, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-BlNYFaZd.cjs';
|
|
13
13
|
export { AppCompileResult, AppComponentInput, AppComponentInstanceId, AppDefinitionKind, AppDocument, AppLayoutInput, AppLinkDiagnostic, AppLinkDiagnosticCode, AppLinkResult, AppManifest, AppManifestModule, AppModuleInput, AppNodeId, AppNodeKind, AppReferenceInput, AppScreenInput, AppSourceMapEntry, AppSourceSpan, CompileAppOptions, ResolvedAppComponent, ResolvedAppLayout, ResolvedAppModule, ResolvedAppReference, ResolvedAppScreen, RuntimeBrowserEffect, RuntimeInput, RuntimeSnapshot, RuntimeTrace, advanceClock, compileApp, createAppComponentInstanceId, createAppNodeId, createRuntime, linkAndCompileApp, linkApp, reduceEvent, renderSite as renderAppSite, resetRuntime } from './app.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { A as AnyNode, a as AccordionNode, b as AlertNode, c as AvatarNode, B as BadgeNode, d as BreadcrumbNode, e as ButtonNode, f as CardNode, g as CheckboxNode, h as ColNode, i as ComponentDefinitionNode, C as ComponentUseNode, j as ContainerComponentNode, k as ContainerNode, D as DataNode, l as DefinitionNode, m as DisplayNode, n as DividerComponentNode, o as DrawerNode, p as DropdownNode, F as FeedbackNode, q as FooterNode, r as GridNode, H as HeaderNode, s as IconNode, t as ImageNode, u as InputComponentNode, v as InputNode, L as LayoutDefinitionNode, w as LayoutNode, x as LeafNode, y as LinkNode, z as ListNode, M as MainNode, E as ModalNode, N as NavNode, J as NavigationNode, K as NodeType, O as OverlayNode, P as PageNode, Q as PlaceholderNode, R as PopoverNode, T as ProgressNode, U as RadioNode, V as RowNode, X as SectionNode, Y as SelectNode, Z as SidebarNode, _ as SliderNode, $ as SlotNode, a0 as SpinnerNode, a1 as SwitchNode, a2 as TableNode, a3 as TabsNode, a4 as TextContentNode, a5 as TextNode, a6 as TextareaNode, a7 as TitleNode, a8 as ToastNode, a9 as TooltipNode, W as WireframeDocument, S as SourceLocation } from './types-CGRi1k2N.js';
|
|
2
2
|
export { aa as AlertVariant, ab as AlignValue, ac as AnchorPosition, ad as AnnotationItemNode, ae as AnnotationNode, af as AnnotationsNode, ag as AppearanceProps, ah as AvatarSize, ai as AvatarSizeToken, aj as BadgeSize, ak as BadgeSizeToken, al as BadgeVariant, am as BaseNode, an as BreadcrumbItem, ao as ButtonSize, ap as ButtonSizeToken, aq as ButtonVariant, ar as CommonProps, as as ComponentInputValue, at as ComponentParameter, au as ComponentParameterType, av as ComponentSlotFill, aw as DirectionValue, ax as DrawerPosition, ay as DropdownItemNode, az as FlexProps, aA as GridProps, G as GuardedOutcomeProps, aB as HeightValue, aC as IconSize, aD as IconSizeToken, aE as InputType, aF as InteractionEffect, aG as InteractionHandler, I as InteractiveProps, aH as JustifyValue, aI as ListItemNode, aJ as MarkerColor, aK as MarkerNode, aL as NavBlockItem, aM as NavChild, aN as NavGroupNode, aO as NavItem, aP as Position, aQ as PositionProps, aR as RelativeNode, aS as RepeatNode, aT as SelectOption, aU as ShadowValue, aV as SizeProps, aW as SpacingProps, aX as SpacingValue, aY as SpinnerSize, aZ as SpinnerSizeToken, a_ as StackNode, a$ as StateDeclaration, b0 as StateGuard, b1 as StateValue, b2 as StateValueType, b3 as TabNode, b4 as TextAlign, b5 as TextSize, b6 as TextSizeToken, b7 as TextWeight, b8 as TitleLevel, b9 as ToastPosition, ba as TooltipPosition, bb as TopLevelNode, bc as ValueWithUnit, bd as VariantScopedProps, be as WidthValue } from './types-CGRi1k2N.js';
|
|
3
3
|
export { ExpectedToken, ParseError, ParseErrorInfo, ParseOptions, ParseResult, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './parser.js';
|
|
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-
|
|
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-
|
|
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';
|
|
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
|
+
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, 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
|
-
import { b as LinkedApp } from './index-
|
|
10
|
-
export { e as AnnotationStyle, n as AppArtifact, o as AppBundle, A as AppResult, C as CanvasOptions, f as CanvasRenderResult, p as CreateAppBundleOptions, D as Diagnostic, I as InstanceStep, L as LinkedIdentity, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, a as ScreenReference, i as SiteOptions, S as SourceMapEntry, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, q as createAppBundle, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-
|
|
9
|
+
import { b as LinkedApp } from './index-c4FTW7XA.js';
|
|
10
|
+
export { e as AnnotationStyle, n as AppArtifact, o as AppBundle, A as AppResult, C as CanvasOptions, f as CanvasRenderResult, p as CreateAppBundleOptions, D as Diagnostic, I as InstanceStep, L as LinkedIdentity, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, a as ScreenReference, i as SiteOptions, S as SourceMapEntry, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, q as createAppBundle, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-c4FTW7XA.js';
|
|
11
11
|
import { S as ScreenFields, a as ScreenTransitionGraph } from './index-Cx4-VXVS.js';
|
|
12
12
|
export { I as InteractionDiagnostic, b as InteractionDiagnosticCode, c as InteractionKind, d as InteractionModel, N as NormalizedInteraction, e as NormalizedInteractionEffect, f as NormalizedInteractionHandler, g as ScreenAction, h as ScreenDisplay, i as ScreenElement, j as ScreenFieldsSummary, k as ScreenInput, T as TransitionEdge, l as TransitionScreen, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-Cx4-VXVS.js';
|
|
13
13
|
export { AppCompileResult, AppComponentInput, AppComponentInstanceId, AppDefinitionKind, AppDocument, AppLayoutInput, AppLinkDiagnostic, AppLinkDiagnosticCode, AppLinkResult, AppManifest, AppManifestModule, AppModuleInput, AppNodeId, AppNodeKind, AppReferenceInput, AppScreenInput, AppSourceMapEntry, AppSourceSpan, CompileAppOptions, ResolvedAppComponent, ResolvedAppLayout, ResolvedAppModule, ResolvedAppReference, ResolvedAppScreen, RuntimeBrowserEffect, RuntimeInput, RuntimeSnapshot, RuntimeTrace, advanceClock, compileApp, createAppComponentInstanceId, createAppNodeId, createRuntime, linkAndCompileApp, linkApp, reduceEvent, renderSite as renderAppSite, resetRuntime } from './app.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.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './types-CGRi1k2N.cjs';
|
|
2
|
-
export { e as AnnotationStyle, C as CanvasOptions, f as CanvasRenderResult, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, i as SiteOptions, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-
|
|
3
|
-
export { e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, 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, 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-
|
|
2
|
+
export { e as AnnotationStyle, C as CanvasOptions, f as CanvasRenderResult, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, i as SiteOptions, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-DdQv4Bu5.cjs';
|
|
3
|
+
export { e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, 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, 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';
|
|
4
4
|
import './v4-types-2ORUg6To.cjs';
|
package/dist/renderer.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './types-CGRi1k2N.js';
|
|
2
|
-
export { e as AnnotationStyle, C as CanvasOptions, f as CanvasRenderResult, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, i as SiteOptions, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-
|
|
3
|
-
export { e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, 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, 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-
|
|
2
|
+
export { e as AnnotationStyle, C as CanvasOptions, f as CanvasRenderResult, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, i as SiteOptions, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-c4FTW7XA.js';
|
|
3
|
+
export { e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, 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, 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';
|
|
4
4
|
import './v4-types-2ORUg6To.js';
|
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 };
|