@almadar/shell-web 0.1.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/{ArbitraryClassCompiler-Mzabq-UB.d.ts → ArbitraryClassCompiler-CO_iASBn.d.ts} +99 -4
  2. package/dist/AvlGlyph-PIXU6QH5.js +5 -0
  3. package/dist/AvlStateMachine-CKGMECMG.js +8 -0
  4. package/dist/AvlTransitionDetail-QZX6G5KJ.js +10 -0
  5. package/dist/AvlTransitionExplainer-26WLEIC6.js +11 -0
  6. package/dist/BehaviorView-JLZ4PKWY.js +10 -0
  7. package/dist/{EventBusProvider-CVwjkV_2.d.ts → EventBusProvider-BFFHfN4O.d.ts} +12 -0
  8. package/dist/{FileTree-BCFnBEuQ.d.ts → FileTree-B3GDAjaQ.d.ts} +131 -4
  9. package/dist/FlowCanvas-RPII4V24.js +23 -0
  10. package/dist/{BehaviorValueFrame-SSEMEBTG.css → FlowCanvas-VWUPMBKB.css} +189 -191
  11. package/dist/{GameAudioProvider-Cm9BnvmP.d.ts → GameAudioProvider-D7wo5ryN.d.ts} +5 -8
  12. package/dist/KernelEngineContext-CPeWQMAz.d.ts +46 -0
  13. package/dist/LayersPanel-M2LHWUFF.js +6 -0
  14. package/dist/ModuleCard-NJD6JQGD.js +6 -0
  15. package/dist/OrbInspector-OWWKPOBF.js +23 -0
  16. package/dist/{TraitValueFrame-4G3KOUBR.css → OrbInspector-VMTMZHNQ.css} +189 -191
  17. package/dist/{Select-mDZIwNqN.d.ts → Select-C2Uq6t86.d.ts} +17 -31
  18. package/dist/ServerBridge-Bqsj-lOU.d.ts +124 -0
  19. package/dist/{FlowCanvas-3JRMNJLV.css → UISlotRenderer-BIS6KT7T.css} +189 -191
  20. package/dist/UISlotRenderer-PY7FIJXN.js +23 -0
  21. package/dist/auth/browser/index.js +1 -0
  22. package/dist/auth/react/index.d.ts +8 -1
  23. package/dist/auth/react/index.js +40 -2
  24. package/dist/avl/index.css +189 -191
  25. package/dist/avl/index.d.ts +107 -85
  26. package/dist/avl/index.js +170 -39
  27. package/dist/{chunk-P4LNHAFI.js → chunk-2WGR4TDJ.js} +465 -36
  28. package/dist/{chunk-GKIFONTE.js → chunk-3S54FWRC.js} +2 -2
  29. package/dist/{chunk-KVQS4GXU.js → chunk-4YJ53G7S.js} +18 -8
  30. package/dist/{chunk-MBQAMMSE.js → chunk-4YXBKHHM.js} +269 -658
  31. package/dist/{chunk-YDNJLLG6.js → chunk-57DC34LY.js} +19 -10
  32. package/dist/{chunk-FP3WIKTC.js → chunk-7N6ZPHQ5.js} +9 -1
  33. package/dist/{chunk-AILY3XPS.js → chunk-AE7VCQB6.js} +5 -6
  34. package/dist/{chunk-L677XGY3.js → chunk-AGVSO4WY.js} +4 -5
  35. package/dist/{chunk-FAJDTHWC.js → chunk-AGXD77SL.js} +2 -2
  36. package/dist/chunk-AU7O65OX.js +66 -0
  37. package/dist/{chunk-DFNZUYX4.js → chunk-FAKU5F62.js} +273 -29
  38. package/dist/{chunk-U6QRZASX.js → chunk-ILQXJ2AR.js} +1 -1
  39. package/dist/chunk-M74BCDBQ.js +490 -0
  40. package/dist/{chunk-GYTPOFVC.js → chunk-MS4K3K2R.js} +12095 -13329
  41. package/dist/{chunk-SGM3FASH.js → chunk-OWNG4JZI.js} +13 -12
  42. package/dist/{chunk-VFF5OO47.js → chunk-PCR37T3U.js} +15 -38
  43. package/dist/{chunk-SJGJJKBY.js → chunk-PRLHKBXG.js} +5 -3
  44. package/dist/{chunk-R5O5AUPI.js → chunk-PRXQGGCO.js} +93 -86
  45. package/dist/{chunk-42FY4RYA.js → chunk-REXYVBUO.js} +2 -2
  46. package/dist/{chunk-EQAMU2ZC.js → chunk-UTDC2NEA.js} +1 -1
  47. package/dist/{chunk-73SRAB4P.js → chunk-UU57VNS2.js} +2 -2
  48. package/dist/{chunk-TESBIVUA.js → chunk-VHC2M26B.js} +2 -2
  49. package/dist/{chunk-L2DEKY4J.js → chunk-VO2TTLS5.js} +3 -6
  50. package/dist/{chunk-2PY54Z44.js → chunk-VUIACGDU.js} +4 -5
  51. package/dist/{chunk-DLZF4PVE.js → chunk-YYIHRIDH.js} +3 -3
  52. package/dist/{chunk-DYEKAA4L.js → chunk-ZDRDJKYB.js} +243 -252
  53. package/dist/components/index.css +189 -191
  54. package/dist/components/index.d.ts +739 -289
  55. package/dist/components/index.js +25 -28
  56. package/dist/context/index.d.ts +2 -3
  57. package/dist/context/index.js +4 -3
  58. package/dist/core.d.ts +95 -19
  59. package/dist/core.js +2 -1
  60. package/dist/design-classes/index.cjs +3 -1
  61. package/dist/design-classes/index.js +3 -1
  62. package/dist/{fx-CmQjnHmT.d.ts → fx-Br8zjvu9.d.ts} +6 -6
  63. package/dist/hooks/index.d.ts +40 -5
  64. package/dist/hooks/index.js +5 -4
  65. package/dist/index.d.ts +40 -114
  66. package/dist/index.js +174 -34
  67. package/dist/kernel-client-JW6OH5FX.js +537 -0
  68. package/dist/kernel-wire-DGAySGhX.d.ts +95 -0
  69. package/dist/lib/index.d.ts +3 -4
  70. package/dist/lib/index.js +4 -4
  71. package/dist/{prism-AIWGN2X5.js → prism-X5YWKXO5.js} +5 -3
  72. package/dist/providers/index.css +189 -191
  73. package/dist/providers/index.d.ts +41 -28
  74. package/dist/providers/index.js +19 -24
  75. package/dist/renderer/index.d.ts +0 -2
  76. package/dist/renderer/index.js +1 -0
  77. package/dist/runtime/index.css +189 -191
  78. package/dist/runtime/index.d.ts +57 -253
  79. package/dist/runtime/index.js +18 -24
  80. package/dist/ssr/index.cjs +2643 -535
  81. package/dist/ssr/index.d.cts +0 -23
  82. package/dist/ssr/index.d.ts +0 -23
  83. package/dist/ssr/index.js +2639 -535
  84. package/dist/storage/browser/index.js +1 -0
  85. package/dist/test-support.d.ts +15 -8
  86. package/dist/test-support.js +91 -24
  87. package/dist/{paintDispatch-ChW5mVuK.d.ts → verificationRegistry-oopV1J1n.d.ts} +132 -30
  88. package/package.json +14 -38
  89. package/src/core/lib/band-shapes.json +7 -0
  90. package/src/core/locales/ar.json +18 -5
  91. package/src/core/locales/en.json +18 -5
  92. package/src/core/locales/sl.json +18 -5
  93. package/tailwind-preset.cjs +30 -1
  94. package/dist/AvlGlyph-JKJOAH23.js +0 -6
  95. package/dist/AvlStateMachine-PI4YGREK.js +0 -8
  96. package/dist/AvlTransitionDetail-ZH7V24UG.js +0 -12
  97. package/dist/AvlTransitionExplainer-ZSRT7L6Y.js +0 -13
  98. package/dist/BehaviorValueFrame-6RUJXT4A.js +0 -29
  99. package/dist/BehaviorView-RFEE5J6E.js +0 -10
  100. package/dist/Canvas3DHost-_Y-5uLM_.d.ts +0 -552
  101. package/dist/FlowCanvas-STDC4OWK.js +0 -27
  102. package/dist/KernelEngineContext-BOCQoFwk.d.ts +0 -43
  103. package/dist/LayersPanel-BBQ54IVG.js +0 -7
  104. package/dist/ModuleCard-3TT2X7IW.js +0 -7
  105. package/dist/OrbInspector-K6T6O7GI.js +0 -27
  106. package/dist/OrbInspector-MHLJ6OEE.css +0 -1756
  107. package/dist/ServerBridge-Cm1On51b.d.ts +0 -233
  108. package/dist/TraitValueFrame-2PJGLLVI.js +0 -28
  109. package/dist/UISlotRenderer-JKFSX24W.js +0 -27
  110. package/dist/UISlotRenderer-KVFO6J7R.css +0 -1756
  111. package/dist/UserContext-DqWeZkUZ.d.ts +0 -100
  112. package/dist/avl-3d-context-BIRKWpaL.d.ts +0 -204
  113. package/dist/avl-schema-parser-CtJxJ9KU.d.ts +0 -132
  114. package/dist/avl-zoom-state-CKMVuBFg.d.ts +0 -17
  115. package/dist/chunk-2QOH2HWM.js +0 -95
  116. package/dist/chunk-6P3MWXYE.js +0 -440
  117. package/dist/chunk-B4BU77LT.js +0 -432
  118. package/dist/chunk-DJ433ET5.js +0 -1327
  119. package/dist/chunk-DZ42OJQC.js +0 -176
  120. package/dist/chunk-EOWMARUB.js +0 -16
  121. package/dist/chunk-FIW6WN23.js +0 -508
  122. package/dist/chunk-GAR5TQ5B.js +0 -199
  123. package/dist/chunk-PC7K4SK7.js +0 -1384
  124. package/dist/chunk-ZO6MXAS3.js +0 -69
  125. package/dist/kernel-client-ZH4PSMCN.js +0 -367
  126. package/dist/kernel-wire-B4S8pnP3.d.ts +0 -65
  127. package/dist/three/index.css +0 -503
  128. package/dist/three/index.d.ts +0 -1185
  129. package/dist/three/index.js +0 -3896
  130. package/dist/useKeyboardRouter-Dsq553Ur.d.ts +0 -42
  131. package/dist/verificationRegistry-CabxhfTv.d.ts +0 -122
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { ReactNode, ReactElement } from 'react';
3
- import { ThemeRef, OrbitalSchema } from '@almadar/core';
4
- import './EventBusProvider-CVwjkV_2.js';
3
+ import { ThemeRef, UserContext as UserContext$1, FieldValue, OrbitalSchema } from '@almadar/core';
4
+ import './EventBusProvider-BFFHfN4O.js';
5
5
  import { T as ThemeProviderProps } from './ThemeContext-DJmO59xd.js';
6
6
 
7
7
  /**
@@ -75,6 +75,101 @@ interface CurrentPagePathProviderProps {
75
75
  declare const CurrentPagePathProvider: React__default.FC<CurrentPagePathProviderProps>;
76
76
  declare const useCurrentPagePath: () => string | undefined;
77
77
 
78
+ /**
79
+ * UserContext
80
+ *
81
+ * React context for providing user data throughout the application.
82
+ * Enables @user bindings in S-expressions for role-based UI and permissions.
83
+ *
84
+ * Usage:
85
+ * ```tsx
86
+ * // In App.tsx or layout
87
+ * <UserProvider user={{ id: '123', role: 'admin', permissions: ['read', 'write'] }}>
88
+ * <App />
89
+ * </UserProvider>
90
+ *
91
+ * // In components - access via hook
92
+ * const { user, hasRole, hasPermission } = useUser();
93
+ * if (hasRole('admin')) { ... }
94
+ * if (hasPermission('delete')) { ... }
95
+ * ```
96
+ *
97
+ * @packageDocumentation
98
+ */
99
+
100
+ /**
101
+ * User data for `@user` bindings — the canonical `UserContext` from
102
+ * `@almadar/core`, kept under this name for existing consumers. Declaring the
103
+ * shape locally let it drift from the type both execution paths resolve against.
104
+ */
105
+ type UserData = UserContext$1;
106
+ /**
107
+ * User context value.
108
+ */
109
+ interface UserContextValue {
110
+ /** Current user data (null if not logged in) */
111
+ user: UserData | null;
112
+ /** Check if user is logged in */
113
+ isLoggedIn: boolean;
114
+ /** Check if user has a specific role */
115
+ hasRole: (role: string) => boolean;
116
+ /** Check if user has a specific permission */
117
+ hasPermission: (permission: string) => boolean;
118
+ /** Check if user has any of the specified roles */
119
+ hasAnyRole: (roles: string[]) => boolean;
120
+ /** Check if user has all of the specified permissions */
121
+ hasAllPermissions: (permissions: string[]) => boolean;
122
+ /** Get a user field by path (for @user.field bindings) */
123
+ getUserField: (path: string) => FieldValue | undefined;
124
+ }
125
+ declare const UserContext: React__default.Context<UserContextValue | null>;
126
+ interface UserProviderProps {
127
+ /** User data (null if not logged in) */
128
+ user?: UserData | null;
129
+ /** Children to render */
130
+ children: React__default.ReactNode;
131
+ }
132
+ /**
133
+ * Provider component that provides user context to the application.
134
+ *
135
+ * Provides RBAC helpers and field access for @user bindings.
136
+ */
137
+ declare function UserProvider({ user, children, }: UserProviderProps): React__default.ReactElement;
138
+ /**
139
+ * Hook to access the user context.
140
+ *
141
+ * Returns default values if used outside of UserProvider (for resilience).
142
+ *
143
+ * @example
144
+ * ```tsx
145
+ * function AdminPanel() {
146
+ * const { user, hasRole, hasPermission } = useUser();
147
+ *
148
+ * if (!hasRole('admin') && !hasPermission('admin:access')) {
149
+ * return <AccessDenied />;
150
+ * }
151
+ *
152
+ * return <div>Welcome, {user?.name}</div>;
153
+ * }
154
+ * ```
155
+ */
156
+ declare function useUser(): UserContextValue;
157
+ /**
158
+ * Hook to check if user has a specific role.
159
+ * Convenience wrapper around useUser().hasRole().
160
+ */
161
+ declare function useHasRole(role: string): boolean;
162
+ /**
163
+ * Hook to check if user has a specific permission.
164
+ * Convenience wrapper around useUser().hasPermission().
165
+ */
166
+ declare function useHasPermission(permission: string): boolean;
167
+ /**
168
+ * Hook to get user data for @user bindings in S-expressions.
169
+ * Returns the user data object compatible with EvaluationContext.user
170
+ */
171
+ declare function useUserForEvaluation(): UserData | undefined;
172
+
78
173
  /**
79
174
  * Arbitrary-value Tailwind classes (`w-[243px]`) in a schema exist only as
80
175
  * data, so build-time Tailwind never compiled them. A host that renders
@@ -96,5 +191,5 @@ declare function ArbitraryClassCompilerProvider({ compile, children }: Arbitrary
96
191
  declare function resetArbitraryClassStyles(): void;
97
192
  declare function useArbitraryClassStyles(schema: OrbitalSchema | null | undefined): void;
98
193
 
99
- export { ARBITRARY_CLASS_STYLE_ID as A, CurrentPagePathContext as C, DesignThemeProvider as D, OrbitalThemeProvider as O, ArbitraryClassCompilerProvider as b, CurrentPagePathProvider as d, useCurrentPagePath as g, useDesignTheme as h, resetArbitraryClassStyles as r, useArbitraryClassStyles as u };
100
- export type { ArbitraryClassCompiler as a, ArbitraryClassCompilerProviderProps as c, CurrentPagePathProviderProps as e, OrbitalThemeProviderProps as f };
194
+ export { ARBITRARY_CLASS_STYLE_ID as A, CurrentPagePathContext as C, DesignThemeProvider as D, OrbitalThemeProvider as O, UserContext as U, ArbitraryClassCompilerProvider as b, CurrentPagePathProvider as d, UserProvider as i, useCurrentPagePath as k, useDesignTheme as l, useHasPermission as m, useHasRole as n, useUser as o, useUserForEvaluation as p, resetArbitraryClassStyles as r, useArbitraryClassStyles as u };
195
+ export type { ArbitraryClassCompiler as a, ArbitraryClassCompilerProviderProps as c, CurrentPagePathProviderProps as e, OrbitalThemeProviderProps as f, UserContextValue as g, UserData as h, UserProviderProps as j };
@@ -0,0 +1,5 @@
1
+ export { AVL_GLYPH_KINDS, AvlGlyph } from './chunk-AGVSO4WY.js';
2
+ import './chunk-7N6ZPHQ5.js';
3
+ import './chunk-FAKU5F62.js';
4
+ import './chunk-4YXBKHHM.js';
5
+ import './chunk-G7DCAZ22.js';
@@ -0,0 +1,8 @@
1
+ export { AvlStateMachine, BODY_CHAR, MARGIN, MAX_SCALE, MIN_SCALE, MONO_CHAR, PILL_H, metricsFor, pillWidth } from './chunk-4YJ53G7S.js';
2
+ import './chunk-M74BCDBQ.js';
3
+ import './chunk-PCR37T3U.js';
4
+ import './chunk-PRLHKBXG.js';
5
+ import './chunk-FAKU5F62.js';
6
+ import './chunk-TZZBINQY.js';
7
+ import './chunk-4YXBKHHM.js';
8
+ import './chunk-G7DCAZ22.js';
@@ -0,0 +1,10 @@
1
+ export { AvlTransitionDetail } from './chunk-OWNG4JZI.js';
2
+ import './chunk-ILQXJ2AR.js';
3
+ import './chunk-REXYVBUO.js';
4
+ import './chunk-AGXD77SL.js';
5
+ import './chunk-M74BCDBQ.js';
6
+ import './chunk-PCR37T3U.js';
7
+ import './chunk-PRLHKBXG.js';
8
+ import './chunk-FAKU5F62.js';
9
+ import './chunk-4YXBKHHM.js';
10
+ import './chunk-G7DCAZ22.js';
@@ -0,0 +1,11 @@
1
+ export { AvlTransitionExplainer } from './chunk-VHC2M26B.js';
2
+ import './chunk-OWNG4JZI.js';
3
+ import './chunk-ILQXJ2AR.js';
4
+ import './chunk-REXYVBUO.js';
5
+ import './chunk-AGXD77SL.js';
6
+ import './chunk-M74BCDBQ.js';
7
+ import './chunk-PCR37T3U.js';
8
+ import './chunk-PRLHKBXG.js';
9
+ import './chunk-FAKU5F62.js';
10
+ import './chunk-4YXBKHHM.js';
11
+ import './chunk-G7DCAZ22.js';
@@ -0,0 +1,10 @@
1
+ export { BehaviorView } from './chunk-YYIHRIDH.js';
2
+ import './chunk-4YJ53G7S.js';
3
+ import './chunk-AGXD77SL.js';
4
+ import './chunk-M74BCDBQ.js';
5
+ import './chunk-PCR37T3U.js';
6
+ import './chunk-PRLHKBXG.js';
7
+ import './chunk-FAKU5F62.js';
8
+ import './chunk-TZZBINQY.js';
9
+ import './chunk-4YXBKHHM.js';
10
+ import './chunk-G7DCAZ22.js';
@@ -24,6 +24,18 @@ interface VideoEmbedProps extends A11yProps {
24
24
  src?: string;
25
25
  /** Accessible name of the player */
26
26
  title?: string;
27
+ /** Text shown when no video is selected */
28
+ noVideoLabel?: string;
29
+ /** Text for a YouTube API loading failure */
30
+ apiUnavailableMessage?: string;
31
+ /** Text for YouTube error code 2 */
32
+ invalidVideoMessage?: string;
33
+ /** Text for YouTube error code 5 or an unknown code */
34
+ playbackFailedMessage?: string;
35
+ /** Text for YouTube error code 100 */
36
+ notFoundMessage?: string;
37
+ /** Text for YouTube error codes 101 and 150 */
38
+ notEmbeddableMessage?: string;
27
39
  /** Start playback as soon as the player is ready (YouTube ids only) */
28
40
  autoplay?: boolean;
29
41
  /** Show the player's own controls (YouTube ids only) */
@@ -1,8 +1,135 @@
1
1
  import React__default from 'react';
2
- import { A11yProps, EventEmit, JsonObject, EntityPersistence, OrbitalSchema } from '@almadar/core';
3
- import { T as TraitLevelData, F as FieldInfo, O as OrbitalTraitInfo, a as OrbitalPageInfo, E as ExternalLink } from './avl-schema-parser-CtJxJ9KU.js';
2
+ import { EntityPersistence, JsonObject, SExpr, OrbitalSchema, Trait, A11yProps, EventEmit } from '@almadar/core';
4
3
  import { Node, Edge } from '@xyflow/react';
5
4
 
5
+ /**
6
+ * AVL Schema Parser
7
+ *
8
+ * Pure functions that transform an OrbitalSchema into structured data
9
+ * for each zoom level of the Cosmic Zoom visualization.
10
+ *
11
+ * Imports all types from @almadar/core.
12
+ *
13
+ * @packageDocumentation
14
+ */
15
+
16
+ interface SerializedEffect extends JsonObject {
17
+ type: string;
18
+ args: SExpr[];
19
+ }
20
+ interface ApplicationOrbitalData {
21
+ name: string;
22
+ entityName: string;
23
+ fieldCount: number;
24
+ persistence: EntityPersistence;
25
+ traitNames: string[];
26
+ pageNames: string[];
27
+ position: {
28
+ x: number;
29
+ y: number;
30
+ };
31
+ }
32
+ interface CrossLink {
33
+ emitterOrbital: string;
34
+ listenerOrbital: string;
35
+ eventName: string;
36
+ emitterTrait: string;
37
+ listenerTrait: string;
38
+ }
39
+ interface ApplicationLevelData {
40
+ orbitals: ApplicationOrbitalData[];
41
+ crossLinks: CrossLink[];
42
+ }
43
+ interface FieldInfo extends JsonObject {
44
+ name: string;
45
+ type: string;
46
+ required: boolean;
47
+ hasDefault: boolean;
48
+ }
49
+ interface OrbitalTraitInfo extends JsonObject {
50
+ name: string;
51
+ stateCount: number;
52
+ eventCount: number;
53
+ transitionCount: number;
54
+ emits: string[];
55
+ listens: string[];
56
+ }
57
+ interface OrbitalPageInfo extends JsonObject {
58
+ name: string;
59
+ route: string;
60
+ }
61
+ interface ExternalLink extends JsonObject {
62
+ targetOrbital: string;
63
+ eventName: string;
64
+ direction: string;
65
+ traitName: string;
66
+ }
67
+ interface OrbitalLevelData {
68
+ name: string;
69
+ entity: {
70
+ name: string;
71
+ fields: FieldInfo[];
72
+ persistence: EntityPersistence;
73
+ };
74
+ traits: OrbitalTraitInfo[];
75
+ pages: OrbitalPageInfo[];
76
+ externalLinks: ExternalLink[];
77
+ }
78
+ interface TraitStateInfo extends JsonObject {
79
+ name: string;
80
+ isInitial: boolean | null;
81
+ isTerminal: boolean | null;
82
+ }
83
+ interface TraitTransitionInfo extends JsonObject {
84
+ from: string;
85
+ to: string;
86
+ event: string;
87
+ /** `.orb` config data omits the key instead of carrying null. */
88
+ guard: SExpr | null;
89
+ effects: SerializedEffect[];
90
+ index: number;
91
+ }
92
+ interface TraitLevelData extends JsonObject {
93
+ name: string;
94
+ linkedEntity: string;
95
+ states: TraitStateInfo[];
96
+ transitions: TraitTransitionInfo[];
97
+ emittedEvents: string[];
98
+ listenedEvents: string[];
99
+ }
100
+ interface ExprTreeNode {
101
+ label: string;
102
+ type: 'operator' | 'literal' | 'binding';
103
+ children?: ExprTreeNode[];
104
+ }
105
+ interface SlotTarget {
106
+ name: string;
107
+ pattern: string;
108
+ }
109
+ interface TransitionLevelData {
110
+ from: string;
111
+ to: string;
112
+ event: string;
113
+ guard: ExprTreeNode | null;
114
+ effects: ExprTreeNode[];
115
+ slotTargets: SlotTarget[];
116
+ }
117
+ /**
118
+ * Parse the application-level view: all orbitals with cross-orbital links.
119
+ */
120
+ declare function parseApplicationLevel(schema: OrbitalSchema): ApplicationLevelData;
121
+ /**
122
+ * Parse a single orbital's detail view.
123
+ */
124
+ declare function parseOrbitalLevel(schema: OrbitalSchema, orbitalName: string): OrbitalLevelData | null;
125
+ declare function parseTraitLevel(schema: OrbitalSchema, orbitalName: string, traitName: string): TraitLevelData | null;
126
+ /** One trait's state machine as AVL trait data; null when the trait has no state machine. */
127
+ declare function traitLevelFromTrait(trait: Trait, linkedEntity: string): TraitLevelData | null;
128
+ /**
129
+ * Parse a single transition for the detail view.
130
+ */
131
+ declare function parseTransitionLevel(schema: OrbitalSchema, orbitalName: string, traitName: string, transitionIndex: number): TransitionLevelData | null;
132
+
6
133
  /**
7
134
  * Author-supplied explanations for AVL diagrams: a note per state, per
8
135
  * transition event and per effect type, shown in a popover on hover/focus.
@@ -250,5 +377,5 @@ interface FileTreeProps extends Omit<React__default.AriaAttributes, keyof A11yPr
250
377
  }
251
378
  declare const FileTree: React__default.FC<FileTreeProps>;
252
379
 
253
- export { BehaviorView as B, ModuleCard as M, AvlStateMachine as d, FileTree as g, schemaToFlowGraph as s };
254
- export type { AvlAnnotations as A, FileTreeItem as F, AvlNodeData as a, AvlNote as b, AvlEdgeData as c, AvlStateMachineProps as e, BehaviorViewProps as f, FileTreeNode as h, FileTreeProps as i, ModuleCardProps as j };
380
+ export { BehaviorView as B, ModuleCard as M, AvlStateMachine as g, parseOrbitalLevel as i, parseTraitLevel as j, parseTransitionLevel as k, FileTree as m, parseApplicationLevel as p, schemaToFlowGraph as s, traitLevelFromTrait as t };
381
+ export type { AvlAnnotations as A, CrossLink as C, FileTreeItem as F, OrbitalLevelData as O, SerializedEffect as S, TraitLevelData as T, AvlNodeData as a, TraitTransitionInfo as b, TransitionLevelData as c, AvlNote as d, ApplicationLevelData as e, AvlEdgeData as f, AvlStateMachineProps as h, BehaviorViewProps as l, FileTreeNode as n, FileTreeProps as o, ModuleCardProps as q };
@@ -0,0 +1,23 @@
1
+ export { FlowCanvas } from './chunk-MS4K3K2R.js';
2
+ import './chunk-57DC34LY.js';
3
+ import './chunk-4YJ53G7S.js';
4
+ import './chunk-AGVSO4WY.js';
5
+ import './chunk-7N6ZPHQ5.js';
6
+ import './chunk-REXYVBUO.js';
7
+ import './chunk-AGXD77SL.js';
8
+ import './chunk-M74BCDBQ.js';
9
+ import './chunk-PCR37T3U.js';
10
+ import './chunk-PRLHKBXG.js';
11
+ import './chunk-FAKU5F62.js';
12
+ import './chunk-2WGR4TDJ.js';
13
+ import './chunk-TZZBINQY.js';
14
+ import './chunk-ZDRDJKYB.js';
15
+ import './chunk-PRXQGGCO.js';
16
+ import './chunk-VO2TTLS5.js';
17
+ import './chunk-AE7VCQB6.js';
18
+ import './chunk-3BBUBJFF.js';
19
+ import './chunk-YHMRX6YA.js';
20
+ import './chunk-4YXBKHHM.js';
21
+ import './chunk-A2LR6VQQ.js';
22
+ import './chunk-P4ZFUQFF.js';
23
+ import './chunk-G7DCAZ22.js';