@almadar/shell-web 1.1.0 → 1.2.1
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/LICENSE +72 -0
- package/dist/AvlGlyph-KZMJDBEB.js +5 -0
- package/dist/AvlStateMachine-KVZMFHFU.js +8 -0
- package/dist/AvlTransitionDetail-7DVGV27I.js +10 -0
- package/dist/AvlTransitionExplainer-RMJ5LQLK.js +11 -0
- package/dist/BehaviorView-EYRPME67.js +10 -0
- package/dist/FlowCanvas-J54627TC.js +23 -0
- package/dist/{FlowCanvas-VWUPMBKB.css → FlowCanvas-R4LL3KRI.css} +1 -1
- package/dist/{GameAudioProvider-D7wo5ryN.d.ts → GameAudioProvider-BgWOOYT3.d.ts} +15 -20
- package/dist/{KernelEngineContext-CPeWQMAz.d.ts → KernelEngineContext-BPx-q0iw.d.ts} +1 -1
- package/dist/{LayersPanel-M2LHWUFF.js → LayersPanel-PSXI4EHG.js} +4 -4
- package/dist/ModuleCard-TNRLL45H.js +6 -0
- package/dist/{OrbInspector-VMTMZHNQ.css → OrbInspector-2EGVZLOJ.css} +1 -1
- package/dist/OrbInspector-UBEQWWZ2.js +23 -0
- package/dist/{parseLessonSegments-GpCeMrb2.d.ts → SegmentRenderer-BAQ6Jwf6.d.ts} +4 -20
- package/dist/{Select-C2Uq6t86.d.ts → Select-BJ8Fgc8A.d.ts} +1 -1
- package/dist/{UISlotContext-Dl_ewwCI.d.ts → UISlotContext-7r0SQdTL.d.ts} +1 -1
- package/dist/UISlotRenderer-5OURMAP2.js +23 -0
- package/dist/{UISlotRenderer-BIS6KT7T.css → UISlotRenderer-SJBSQGBQ.css} +1 -1
- package/dist/auth/react/index.js +7 -6
- package/dist/avl/index.css +1 -1
- package/dist/avl/index.js +31 -31
- package/dist/{chunk-AE7VCQB6.js → chunk-2LNXLMK3.js} +2 -2
- package/dist/{chunk-REXYVBUO.js → chunk-3DA36FOA.js} +1 -1
- package/dist/{chunk-FAKU5F62.js → chunk-3UQNFRYV.js} +2 -5
- package/dist/{chunk-AGXD77SL.js → chunk-3YUMGEEW.js} +1 -1
- package/dist/{chunk-OWNG4JZI.js → chunk-6RXP5ZXE.js} +7 -7
- package/dist/{chunk-VUIACGDU.js → chunk-7UCL26QB.js} +4 -4
- package/dist/{chunk-57DC34LY.js → chunk-AL2XXMYR.js} +2 -2
- package/dist/{chunk-YHMRX6YA.js → chunk-ANTJUQRD.js} +53 -13
- package/dist/{chunk-P4ZFUQFF.js → chunk-AZ74UPG6.js} +4 -1
- package/dist/{chunk-YYIHRIDH.js → chunk-B23EZH2P.js} +3 -3
- package/dist/{chunk-AGVSO4WY.js → chunk-CCO2ZH7F.js} +3 -3
- package/dist/{chunk-4YXBKHHM.js → chunk-D5FJU4XC.js} +87 -16
- package/dist/{chunk-7N6ZPHQ5.js → chunk-DPDKBY6Z.js} +1 -1
- package/dist/{chunk-A2LR6VQQ.js → chunk-ECC3WQIB.js} +9 -93
- package/dist/{chunk-VO2TTLS5.js → chunk-GHAF7QUD.js} +1 -1
- package/dist/{chunk-M74BCDBQ.js → chunk-HA2BYO5E.js} +1 -1
- package/dist/{chunk-ILQXJ2AR.js → chunk-JEN4EIUF.js} +1 -1
- package/dist/{chunk-UTDC2NEA.js → chunk-KTYOYEVA.js} +1 -1
- package/dist/{chunk-VHC2M26B.js → chunk-LINJRTNB.js} +2 -2
- package/dist/{chunk-2WGR4TDJ.js → chunk-LKL5RULQ.js} +5 -108
- package/dist/{chunk-UU57VNS2.js → chunk-PWXZN5G5.js} +2 -2
- package/dist/{chunk-4YJ53G7S.js → chunk-RDPELAFQ.js} +4 -4
- package/dist/{chunk-PRXQGGCO.js → chunk-S3LS3B7N.js} +1 -1
- package/dist/{chunk-MS4K3K2R.js → chunk-TAEOMNDK.js} +996 -456
- package/dist/{chunk-3S54FWRC.js → chunk-UFQLHCFJ.js} +1 -1
- package/dist/{chunk-PRLHKBXG.js → chunk-V5SVGUYN.js} +2 -2
- package/dist/components/index.css +1 -1
- package/dist/components/index.d.ts +155 -21
- package/dist/components/index.js +25 -25
- package/dist/context/index.d.ts +2 -2
- package/dist/context/index.js +5 -5
- package/dist/core.d.ts +21 -4
- package/dist/core.js +1 -1
- package/dist/{fx-Br8zjvu9.d.ts → fx-Bx5RqplG.d.ts} +4 -1
- package/dist/hooks/index.d.ts +8 -8
- package/dist/hooks/index.js +6 -6
- package/dist/{katexPlugin-FA7NX4PE.css → katexPlugin-BUHVNRBJ.css} +1 -1
- package/dist/{kernel-client-JW6OH5FX.js → kernel-client-NMZ56JVU.js} +36 -3
- package/dist/{kernel-wire-DGAySGhX.d.ts → kernel-wire-CRsHtLsf.d.ts} +1 -1
- package/dist/lib/index.d.ts +3 -3
- package/dist/lib/index.js +434 -2
- package/dist/providers/index.css +1 -1
- package/dist/providers/index.d.ts +5 -5
- package/dist/providers/index.js +19 -19
- package/dist/renderer/index.d.ts +3 -79
- package/dist/renderer/index.js +2 -2
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/index.d.ts +3 -1
- package/dist/runtime/index.js +18 -18
- package/dist/ssr/index.cjs +105 -28
- package/dist/ssr/index.js +106 -29
- package/dist/test-support.js +1 -1
- package/dist/{useUISlots-CiobNFGb.d.ts → useUISlots-BLcGd__D.d.ts} +2 -0
- package/dist/{verificationRegistry-oopV1J1n.d.ts → verificationRegistry-BLuQU1JV.d.ts} +1 -1
- package/package.json +9 -9
- package/src/core/locales/ar.json +10 -1
- package/src/core/locales/en.json +10 -1
- package/src/core/locales/sl.json +10 -1
- package/tailwind-preset.cjs +8 -4
- package/dist/AvlGlyph-PIXU6QH5.js +0 -5
- package/dist/AvlStateMachine-CKGMECMG.js +0 -8
- package/dist/AvlTransitionDetail-QZX6G5KJ.js +0 -10
- package/dist/AvlTransitionExplainer-26WLEIC6.js +0 -11
- package/dist/BehaviorView-JLZ4PKWY.js +0 -10
- package/dist/FlowCanvas-RPII4V24.js +0 -23
- package/dist/ModuleCard-NJD6JQGD.js +0 -6
- package/dist/OrbInspector-OWWKPOBF.js +0 -23
- package/dist/UISlotRenderer-PY7FIJXN.js +0 -23
- /package/dist/{katexPlugin-NCDKOOQY.js → katexPlugin-WGJ4JFZU.js} +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Business Source License 1.1
|
|
2
|
+
|
|
3
|
+
Parameters
|
|
4
|
+
|
|
5
|
+
Licensor: Almadar FZE
|
|
6
|
+
Licensed Work: KFlow Builder / Almadar
|
|
7
|
+
The Licensed Work is (c) 2025-2026 Almadar FZE.
|
|
8
|
+
Additional Use Grant: You may make production use of the Licensed Work for
|
|
9
|
+
non-commercial purposes and for internal evaluation.
|
|
10
|
+
Production use for commercial purposes requires a
|
|
11
|
+
commercial license from the Licensor.
|
|
12
|
+
Change Date: 2030-02-01
|
|
13
|
+
Change License: Apache License, Version 2.0
|
|
14
|
+
|
|
15
|
+
Terms
|
|
16
|
+
|
|
17
|
+
The Licensor hereby grants you the right to copy, modify, create derivative
|
|
18
|
+
works, redistribute, and make non-production use of the Licensed Work. The
|
|
19
|
+
Licensor may make an Additional Use Grant, above, permitting limited
|
|
20
|
+
production use.
|
|
21
|
+
|
|
22
|
+
Effective on the Change Date, or the fourth anniversary of the first publicly
|
|
23
|
+
available distribution of a specific version of the Licensed Work under this
|
|
24
|
+
License, whichever comes first, the Licensor hereby grants you rights under
|
|
25
|
+
the terms of the Change License, and the rights granted in the paragraph
|
|
26
|
+
above terminate.
|
|
27
|
+
|
|
28
|
+
If your use of the Licensed Work does not comply with the requirements
|
|
29
|
+
currently in effect as described in this License, you must purchase a
|
|
30
|
+
commercial license from the Licensor, its affiliated entities, or authorized
|
|
31
|
+
resellers, or you must refrain from using the Licensed Work.
|
|
32
|
+
|
|
33
|
+
All copies of the original and modified Licensed Work, and derivative works
|
|
34
|
+
of the Licensed Work, are subject to this License. This License applies
|
|
35
|
+
separately for each version of the Licensed Work and the Change Date may vary
|
|
36
|
+
for each version of the Licensed Work released by Licensor.
|
|
37
|
+
|
|
38
|
+
You must conspicuously display this License on each original or modified copy
|
|
39
|
+
of the Licensed Work. If you receive the Licensed Work in original or
|
|
40
|
+
modified form from a third party, the terms and conditions set forth in this
|
|
41
|
+
License apply to your use of that work.
|
|
42
|
+
|
|
43
|
+
Any use of the Licensed Work in violation of this License will automatically
|
|
44
|
+
terminate your rights under this License for the current and all other
|
|
45
|
+
versions of the Licensed Work.
|
|
46
|
+
|
|
47
|
+
This License does not grant you any right in any trademark or logo of
|
|
48
|
+
Licensor or its affiliates (provided that you may use a trademark or logo of
|
|
49
|
+
Licensor as expressly required by this License).
|
|
50
|
+
|
|
51
|
+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
|
|
52
|
+
AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
|
|
53
|
+
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
|
|
54
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
|
|
55
|
+
TITLE.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
|
|
60
|
+
"Business Source License" is a trademark of MariaDB Corporation Ab.
|
|
61
|
+
|
|
62
|
+
ADDITIONAL TERMS:
|
|
63
|
+
|
|
64
|
+
Documentation (builder/packages/website/docs/) is licensed under CC BY 4.0.
|
|
65
|
+
|
|
66
|
+
TRADEMARKS:
|
|
67
|
+
|
|
68
|
+
"Orbital", "KFlow", "Almadar", and the Almadar logo are trademarks of
|
|
69
|
+
Almadar FZE. You may not use these trademarks without prior written
|
|
70
|
+
permission from Almadar FZE.
|
|
71
|
+
|
|
72
|
+
For licensing inquiries: licensing@almadar.io
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { AvlStateMachine, BODY_CHAR, MARGIN, MAX_SCALE, MIN_SCALE, MONO_CHAR, PILL_H, metricsFor, pillWidth } from './chunk-RDPELAFQ.js';
|
|
2
|
+
import './chunk-HA2BYO5E.js';
|
|
3
|
+
import './chunk-PCR37T3U.js';
|
|
4
|
+
import './chunk-V5SVGUYN.js';
|
|
5
|
+
import './chunk-3UQNFRYV.js';
|
|
6
|
+
import './chunk-TZZBINQY.js';
|
|
7
|
+
import './chunk-D5FJU4XC.js';
|
|
8
|
+
import './chunk-G7DCAZ22.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { AvlTransitionDetail } from './chunk-6RXP5ZXE.js';
|
|
2
|
+
import './chunk-JEN4EIUF.js';
|
|
3
|
+
import './chunk-3DA36FOA.js';
|
|
4
|
+
import './chunk-3YUMGEEW.js';
|
|
5
|
+
import './chunk-HA2BYO5E.js';
|
|
6
|
+
import './chunk-PCR37T3U.js';
|
|
7
|
+
import './chunk-V5SVGUYN.js';
|
|
8
|
+
import './chunk-3UQNFRYV.js';
|
|
9
|
+
import './chunk-D5FJU4XC.js';
|
|
10
|
+
import './chunk-G7DCAZ22.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { AvlTransitionExplainer } from './chunk-LINJRTNB.js';
|
|
2
|
+
import './chunk-6RXP5ZXE.js';
|
|
3
|
+
import './chunk-JEN4EIUF.js';
|
|
4
|
+
import './chunk-3DA36FOA.js';
|
|
5
|
+
import './chunk-3YUMGEEW.js';
|
|
6
|
+
import './chunk-HA2BYO5E.js';
|
|
7
|
+
import './chunk-PCR37T3U.js';
|
|
8
|
+
import './chunk-V5SVGUYN.js';
|
|
9
|
+
import './chunk-3UQNFRYV.js';
|
|
10
|
+
import './chunk-D5FJU4XC.js';
|
|
11
|
+
import './chunk-G7DCAZ22.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { BehaviorView } from './chunk-B23EZH2P.js';
|
|
2
|
+
import './chunk-RDPELAFQ.js';
|
|
3
|
+
import './chunk-3YUMGEEW.js';
|
|
4
|
+
import './chunk-HA2BYO5E.js';
|
|
5
|
+
import './chunk-PCR37T3U.js';
|
|
6
|
+
import './chunk-V5SVGUYN.js';
|
|
7
|
+
import './chunk-3UQNFRYV.js';
|
|
8
|
+
import './chunk-TZZBINQY.js';
|
|
9
|
+
import './chunk-D5FJU4XC.js';
|
|
10
|
+
import './chunk-G7DCAZ22.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { FlowCanvas } from './chunk-TAEOMNDK.js';
|
|
2
|
+
import './chunk-AL2XXMYR.js';
|
|
3
|
+
import './chunk-RDPELAFQ.js';
|
|
4
|
+
import './chunk-CCO2ZH7F.js';
|
|
5
|
+
import './chunk-DPDKBY6Z.js';
|
|
6
|
+
import './chunk-3DA36FOA.js';
|
|
7
|
+
import './chunk-3YUMGEEW.js';
|
|
8
|
+
import './chunk-HA2BYO5E.js';
|
|
9
|
+
import './chunk-PCR37T3U.js';
|
|
10
|
+
import './chunk-V5SVGUYN.js';
|
|
11
|
+
import './chunk-3UQNFRYV.js';
|
|
12
|
+
import './chunk-LKL5RULQ.js';
|
|
13
|
+
import './chunk-TZZBINQY.js';
|
|
14
|
+
import './chunk-ZDRDJKYB.js';
|
|
15
|
+
import './chunk-S3LS3B7N.js';
|
|
16
|
+
import './chunk-GHAF7QUD.js';
|
|
17
|
+
import './chunk-2LNXLMK3.js';
|
|
18
|
+
import './chunk-3BBUBJFF.js';
|
|
19
|
+
import './chunk-ANTJUQRD.js';
|
|
20
|
+
import './chunk-D5FJU4XC.js';
|
|
21
|
+
import './chunk-ECC3WQIB.js';
|
|
22
|
+
import './chunk-AZ74UPG6.js';
|
|
23
|
+
import './chunk-G7DCAZ22.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { U as UiError } from './fx-
|
|
2
|
+
import { AudioPlay } from '@almadar/core';
|
|
3
|
+
import { U as UiError } from './fx-Bx5RqplG.js';
|
|
4
4
|
import './EventBusProvider-BFFHfN4O.js';
|
|
5
5
|
|
|
6
6
|
/** Core owns the sound-manifest shape (`@almadar/core` `types/asset.ts`) so the
|
|
@@ -8,32 +8,30 @@ import './EventBusProvider-BFFHfN4O.js';
|
|
|
8
8
|
* declaration; re-exported here for the hook's existing consumers. */
|
|
9
9
|
|
|
10
10
|
interface GameAudioControls {
|
|
11
|
-
/** Play a sound
|
|
12
|
-
|
|
11
|
+
/** Play a sound std-audio-cue already resolved */
|
|
12
|
+
playPlan: (plan: AudioPlay) => void;
|
|
13
|
+
/** Crossfade to a resolved track; an empty key fades out over `fadeMs` */
|
|
14
|
+
playMusicPlan: (plan: AudioPlay) => void;
|
|
13
15
|
/** Stop all instances of a sound effect */
|
|
14
16
|
stop: (key: string) => void;
|
|
15
17
|
/** Stop all sounds including music */
|
|
16
18
|
stopAll: () => void;
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
/** Fade out and stop the current music */
|
|
20
|
-
stopMusic: (fadeDurationMs?: number) => void;
|
|
19
|
+
/** Fade out over `fadeDurationMs` and stop the current music */
|
|
20
|
+
stopMusic: (fadeDurationMs: number) => void;
|
|
21
21
|
muted: boolean;
|
|
22
22
|
setMuted: (muted: boolean) => void;
|
|
23
23
|
masterVolume: number;
|
|
24
24
|
setMasterVolume: (volume: number) => void;
|
|
25
25
|
}
|
|
26
26
|
interface UseGameAudioOptions {
|
|
27
|
-
/** Sound definitions keyed by logical name */
|
|
28
|
-
manifest: AudioManifest;
|
|
29
|
-
/** Prefix prepended to all `path` values (default '') */
|
|
30
|
-
baseUrl?: string;
|
|
31
27
|
/** Start muted (default false) */
|
|
32
28
|
initialMuted?: boolean;
|
|
33
29
|
/** Master volume 0–1 (default 1) */
|
|
34
30
|
initialVolume?: number;
|
|
31
|
+
/** Resolved sounds to start on the first user gesture */
|
|
32
|
+
autostart?: AudioPlay[];
|
|
35
33
|
}
|
|
36
|
-
declare function useGameAudio({
|
|
34
|
+
declare function useGameAudio({ initialMuted, initialVolume, autostart, }: UseGameAudioOptions): GameAudioControls;
|
|
37
35
|
declare namespace useGameAudio {
|
|
38
36
|
var displayName: string;
|
|
39
37
|
}
|
|
@@ -43,7 +41,8 @@ declare namespace useGameAudio {
|
|
|
43
41
|
*
|
|
44
42
|
* Context provider that owns the game audio. While it is mounted, the kernel's
|
|
45
43
|
* `audio/play-sound`, `audio/stop-sound`, `audio/change-music` and `audio/stop-music`
|
|
46
|
-
* asks drive it
|
|
44
|
+
* asks drive it: each carries what std-audio-cue resolved (the sound or track to play, or the
|
|
45
|
+
* music fade-out length), so the provider plays it as given.
|
|
47
46
|
*
|
|
48
47
|
* The provider also exposes `muted`/`setMuted` and `masterVolume`/
|
|
49
48
|
* `setMasterVolume` via the `GameAudioContext` for toggle buttons.
|
|
@@ -54,7 +53,7 @@ declare namespace useGameAudio {
|
|
|
54
53
|
* @packageDocumentation
|
|
55
54
|
*/
|
|
56
55
|
|
|
57
|
-
type GameAudioContextValue = Pick<GameAudioControls, 'muted' | 'setMuted' | 'masterVolume' | 'setMasterVolume' | '
|
|
56
|
+
type GameAudioContextValue = Pick<GameAudioControls, 'muted' | 'setMuted' | 'masterVolume' | 'setMasterVolume' | 'playPlan' | 'playMusicPlan' | 'stopMusic'>;
|
|
58
57
|
declare const GameAudioContext: React__default.Context<GameAudioContextValue | null>;
|
|
59
58
|
/**
|
|
60
59
|
* Access the game audio context.
|
|
@@ -68,10 +67,6 @@ declare function useGameAudioContext(): GameAudioContextValue;
|
|
|
68
67
|
*/
|
|
69
68
|
declare function useGameAudioContextOptional(): GameAudioContextValue | null;
|
|
70
69
|
interface GameAudioProviderProps {
|
|
71
|
-
/** Sound manifest — keys mapped to SoundEntry definitions */
|
|
72
|
-
manifest: AudioManifest;
|
|
73
|
-
/** Base URL prepended to all sound paths (default '') */
|
|
74
|
-
baseUrl?: string;
|
|
75
70
|
/** Children to render */
|
|
76
71
|
children: React__default.ReactNode;
|
|
77
72
|
/** Initial muted state */
|
|
@@ -81,7 +76,7 @@ interface GameAudioProviderProps {
|
|
|
81
76
|
isLoading?: boolean;
|
|
82
77
|
error?: UiError | null;
|
|
83
78
|
}
|
|
84
|
-
declare function GameAudioProvider({
|
|
79
|
+
declare function GameAudioProvider({ children, initialMuted, }: GameAudioProviderProps): React__default.JSX.Element;
|
|
85
80
|
declare namespace GameAudioProvider {
|
|
86
81
|
var displayName: string;
|
|
87
82
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { K as KernelModule, a as KernelLoader } from './kernel-wire-
|
|
3
|
+
import { K as KernelModule, a as KernelLoader } from './kernel-wire-CRsHtLsf.js';
|
|
4
4
|
import { OsHostPort } from '@almadar/shell-runtime/kernel/os-port';
|
|
5
5
|
import { KernelGpuHost, KernelCanvas3DFactory, KernelSceneCanvasFactory } from '@almadar/shell-runtime/kernel/wire';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { LayersPanel, parseLayerId, schemaToLayerItems } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { LayersPanel, parseLayerId, schemaToLayerItems } from './chunk-UFQLHCFJ.js';
|
|
2
|
+
import './chunk-AL2XXMYR.js';
|
|
3
3
|
import './chunk-PCR37T3U.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import './chunk-GHAF7QUD.js';
|
|
5
|
+
import './chunk-D5FJU4XC.js';
|
|
6
6
|
import './chunk-G7DCAZ22.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { OrbInspector } from './chunk-TAEOMNDK.js';
|
|
2
|
+
import './chunk-AL2XXMYR.js';
|
|
3
|
+
import './chunk-RDPELAFQ.js';
|
|
4
|
+
import './chunk-CCO2ZH7F.js';
|
|
5
|
+
import './chunk-DPDKBY6Z.js';
|
|
6
|
+
import './chunk-3DA36FOA.js';
|
|
7
|
+
import './chunk-3YUMGEEW.js';
|
|
8
|
+
import './chunk-HA2BYO5E.js';
|
|
9
|
+
import './chunk-PCR37T3U.js';
|
|
10
|
+
import './chunk-V5SVGUYN.js';
|
|
11
|
+
import './chunk-3UQNFRYV.js';
|
|
12
|
+
import './chunk-LKL5RULQ.js';
|
|
13
|
+
import './chunk-TZZBINQY.js';
|
|
14
|
+
import './chunk-ZDRDJKYB.js';
|
|
15
|
+
import './chunk-S3LS3B7N.js';
|
|
16
|
+
import './chunk-GHAF7QUD.js';
|
|
17
|
+
import './chunk-2LNXLMK3.js';
|
|
18
|
+
import './chunk-3BBUBJFF.js';
|
|
19
|
+
import './chunk-ANTJUQRD.js';
|
|
20
|
+
import './chunk-D5FJU4XC.js';
|
|
21
|
+
import './chunk-ECC3WQIB.js';
|
|
22
|
+
import './chunk-AZ74UPG6.js';
|
|
23
|
+
import './chunk-G7DCAZ22.js';
|
|
@@ -234,7 +234,7 @@ type LessonSegment = {
|
|
|
234
234
|
};
|
|
235
235
|
/**
|
|
236
236
|
* User progress state passed into SegmentRenderer. Declared here (rather than
|
|
237
|
-
*
|
|
237
|
+
* in a `lib/` module) so the
|
|
238
238
|
* pattern-sync scanner — which only indexes types under `components/**` —
|
|
239
239
|
* can resolve it to a concrete `.lolo` object shape instead of `json`.
|
|
240
240
|
*/
|
|
@@ -244,10 +244,8 @@ interface LessonUserProgress {
|
|
|
244
244
|
bloomAnswered?: Record<number, boolean>;
|
|
245
245
|
}
|
|
246
246
|
interface SegmentRendererProps extends Omit<React__default.AriaAttributes, keyof A11yProps>, A11yProps {
|
|
247
|
-
/**
|
|
247
|
+
/** The lesson as segments (std-lesson-segments parses lesson text into them). */
|
|
248
248
|
segments?: LessonSegment[];
|
|
249
|
-
/** Raw lesson markdown with learning tags; parsed with `parseLessonSegments` and rendered */
|
|
250
|
-
lesson?: string;
|
|
251
249
|
/** Event emitted when the activation prompt is saved or skipped (as `UI:<activationSaveEvent>`) */
|
|
252
250
|
activationSaveEvent?: EventEmit<{
|
|
253
251
|
response: string;
|
|
@@ -316,19 +314,5 @@ interface SegmentRendererProps extends Omit<React__default.AriaAttributes, keyof
|
|
|
316
314
|
}
|
|
317
315
|
declare const SegmentRenderer: React__default.FC<SegmentRendererProps>;
|
|
318
316
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
* XML-style tags into a typed Segment array.
|
|
322
|
-
*
|
|
323
|
-
* Supported tags: <activate>, <connect>, <reflect>, <bloom level="...">,
|
|
324
|
-
* <question>/<answer>, <visualize type="..." description="..." />.
|
|
325
|
-
*
|
|
326
|
-
* Tags may be open (unclosed) — the parser falls back to consuming content
|
|
327
|
-
* until the next recognised tag, a section heading (`\n\n#`), or end-of-input.
|
|
328
|
-
*/
|
|
329
|
-
|
|
330
|
-
/** Parse a lesson string into typed segments. Returns `[]` when input is empty. */
|
|
331
|
-
declare function parseLessonSegments(lesson: string | undefined): LessonSegment[];
|
|
332
|
-
|
|
333
|
-
export { EDITOR_MOTIONS as E, INDENT_UNIT as I, SegmentRenderer as S, EDITOR_OPERATORS as b, applyMotion as e, applyOperator as f, isEditorOperator as g, parseLessonSegments as h, isEditorMotion as i, parseMarkdownWithCodeBlocks as j, BloomQuizBlock as l, motionRange as m, CodeRunnerPanel as o, parseContentSegments as p };
|
|
334
|
-
export type { ApplyOperatorInput as A, BloomLevel as B, ContentSegment as C, LessonSegment as L, ApplyOperatorResult as a, EditorMotion as c, EditorOperator as d, ContentAnnotation as k, BloomQuizBlockProps as n, CodeRunnerPanelProps as q, CodeSimulationOutput as r, LessonUserProgress as s, SegmentRendererProps as t };
|
|
317
|
+
export { EDITOR_MOTIONS as E, INDENT_UNIT as I, SegmentRenderer as S, EDITOR_OPERATORS as b, applyMotion as e, applyOperator as f, isEditorOperator as g, parseMarkdownWithCodeBlocks as h, isEditorMotion as i, BloomQuizBlock as k, motionRange as m, CodeRunnerPanel as n, parseContentSegments as p };
|
|
318
|
+
export type { ApplyOperatorInput as A, BloomLevel as B, ContentSegment as C, LessonSegment as L, ApplyOperatorResult as a, EditorMotion as c, EditorOperator as d, ContentAnnotation as j, BloomQuizBlockProps as l, CodeRunnerPanelProps as o, CodeSimulationOutput as q, LessonUserProgress as r, SegmentRendererProps as s };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { A11yProps, Asset, EventKey, EventPayload, EventEmit } from '@almadar/core';
|
|
3
|
-
import { I as IconInput } from './fx-
|
|
3
|
+
import { I as IconInput } from './fx-Bx5RqplG.js';
|
|
4
4
|
|
|
5
5
|
type ButtonVariant = "primary" | "secondary" | "ghost" | "danger" | "success" | "warning" | "default" | "link";
|
|
6
6
|
type ButtonSize = "sm" | "md" | "lg";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { SlotContainedContext, SlotContentRenderer, SuspenseConfigProvider, UISlotComponent, UISlotRenderer, renderPatternProps, renderPatternValue } from './chunk-TAEOMNDK.js';
|
|
2
|
+
import './chunk-AL2XXMYR.js';
|
|
3
|
+
import './chunk-RDPELAFQ.js';
|
|
4
|
+
import './chunk-CCO2ZH7F.js';
|
|
5
|
+
import './chunk-DPDKBY6Z.js';
|
|
6
|
+
import './chunk-3DA36FOA.js';
|
|
7
|
+
import './chunk-3YUMGEEW.js';
|
|
8
|
+
import './chunk-HA2BYO5E.js';
|
|
9
|
+
import './chunk-PCR37T3U.js';
|
|
10
|
+
import './chunk-V5SVGUYN.js';
|
|
11
|
+
import './chunk-3UQNFRYV.js';
|
|
12
|
+
import './chunk-LKL5RULQ.js';
|
|
13
|
+
import './chunk-TZZBINQY.js';
|
|
14
|
+
import './chunk-ZDRDJKYB.js';
|
|
15
|
+
import './chunk-S3LS3B7N.js';
|
|
16
|
+
import './chunk-GHAF7QUD.js';
|
|
17
|
+
import './chunk-2LNXLMK3.js';
|
|
18
|
+
import './chunk-3BBUBJFF.js';
|
|
19
|
+
import './chunk-ANTJUQRD.js';
|
|
20
|
+
import './chunk-D5FJU4XC.js';
|
|
21
|
+
import './chunk-ECC3WQIB.js';
|
|
22
|
+
import './chunk-AZ74UPG6.js';
|
|
23
|
+
import './chunk-G7DCAZ22.js';
|
package/dist/auth/react/index.js
CHANGED
|
@@ -133,20 +133,21 @@ var FIREBASE_FAILURE_KIND = {
|
|
|
133
133
|
"auth/network-request-failed": "unavailable",
|
|
134
134
|
"auth/operation-not-allowed": "unavailable"
|
|
135
135
|
};
|
|
136
|
-
function userAnswer(user) {
|
|
137
|
-
|
|
136
|
+
async function userAnswer(auth, user) {
|
|
137
|
+
const idToken = await auth.idToken();
|
|
138
|
+
return { uid: user.uid, ...user.email !== void 0 ? { email: user.email } : {}, ...user.name !== void 0 ? { displayName: user.name } : {}, ...idToken !== void 0 ? { idToken } : {} };
|
|
138
139
|
}
|
|
139
140
|
function hostSignIn(auth) {
|
|
140
141
|
return async (request) => {
|
|
141
142
|
try {
|
|
142
|
-
if (request.method === "google") return userAnswer(await auth.signInWithGoogle());
|
|
143
|
-
if (request.method === "email") return userAnswer(await auth.signInWithEmail(request.email, request.password));
|
|
144
|
-
if (request.method === "customToken") return userAnswer(await auth.signInWithCustomToken(request.token));
|
|
143
|
+
if (request.method === "google") return userAnswer(auth, await auth.signInWithGoogle());
|
|
144
|
+
if (request.method === "email") return userAnswer(auth, await auth.signInWithEmail(request.email, request.password));
|
|
145
|
+
if (request.method === "customToken") return userAnswer(auth, await auth.signInWithCustomToken(request.token));
|
|
145
146
|
if ("continueUrl" in request) {
|
|
146
147
|
await auth.sendSignInLinkToEmail(request.email, request.continueUrl);
|
|
147
148
|
return { sent: true };
|
|
148
149
|
}
|
|
149
|
-
return userAnswer(await auth.signInWithEmailLink(request.email, request.link));
|
|
150
|
+
return userAnswer(auth, await auth.signInWithEmailLink(request.email, request.link));
|
|
150
151
|
} catch (error) {
|
|
151
152
|
const code = typeof error === "object" && error !== null && "code" in error && typeof error.code === "string" ? error.code : void 0;
|
|
152
153
|
throw new HostAskError(code !== void 0 ? FIREBASE_FAILURE_KIND[code] ?? "unavailable" : "unavailable", error instanceof Error ? error.message : String(error));
|
package/dist/avl/index.css
CHANGED
package/dist/avl/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { LayersPanel, parseLayerId, schemaToLayerItems } from '../chunk-
|
|
3
|
-
export { AvlTransitionExplainer } from '../chunk-
|
|
4
|
-
import { AvlTransitionDetail } from '../chunk-
|
|
5
|
-
export { AvlCircuit, AvlTransitionDetail } from '../chunk-
|
|
6
|
-
export { BehaviorView } from '../chunk-
|
|
7
|
-
export { MiniStateMachine, ModuleCard } from '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import { FlowCanvas, layeredGraph } from '../chunk-
|
|
10
|
-
export { AVL_GRAPH_NODE_TYPES, AvlGraphCanvas, CANVAS_TOOLS, CanvasDndProvider, CanvasVerifyContext, DependencyColumnNode, DependencyNode, EDITABLE, ElementEditAccessContext, EventFlowEdge, FlowCanvas, KnobField, KnobSettingRow, LIVE_STATE, OrbInspector, OrbPreviewNode, SystemBandNode, SystemMapContext, SystemNode, canvasViewGraph, dependencyReach, deriveEditFocusFromElement, dropBusEvent, flowNeighbors, hasCanvasTool, initialStateOf, layeredGraph, optionForPlayedStep, propAccessAt, schemaToDependencyGraph, schemaToOverviewGraph, stateOptionsOf, traitFlowGraph, useCanvasDraggable, useCanvasDroppable, useInlineTextEdit } from '../chunk-
|
|
11
|
-
import '../chunk-
|
|
12
|
-
export { AvlStateMachine } from '../chunk-
|
|
13
|
-
import { AvlOrbital, AvlTrait, AvlEvent, AvlGuard } from '../chunk-
|
|
14
|
-
export { AVL_GLYPH_KINDS, AvlApplication, AvlBinding, AvlBindingRef, AvlEvent, AvlField, AvlGlyph, AvlGuard, AvlLiteral, AvlOperator, AvlOrbital, AvlPersistence, AvlSExpr, AvlTrait, AvlTransition } from '../chunk-
|
|
15
|
-
import { AvlEntity, AvlPage, AvlState } from '../chunk-
|
|
16
|
-
export { AvlEntity, AvlFieldType, AvlPage, AvlState, FIELD_TYPE_SHAPES } from '../chunk-
|
|
17
|
-
import { transitionPlayback } from '../chunk-
|
|
18
|
-
export { armPosition, armsOf, firedTransition, stateMachinePlayback, transitionPlayback } from '../chunk-
|
|
19
|
-
import '../chunk-
|
|
20
|
-
import { computeTraitLayout, edgePath } from '../chunk-
|
|
21
|
-
export { computeTraitLayout, edgePath } from '../chunk-
|
|
2
|
+
export { LayersPanel, parseLayerId, schemaToLayerItems } from '../chunk-UFQLHCFJ.js';
|
|
3
|
+
export { AvlTransitionExplainer } from '../chunk-LINJRTNB.js';
|
|
4
|
+
import { AvlTransitionDetail } from '../chunk-6RXP5ZXE.js';
|
|
5
|
+
export { AvlCircuit, AvlTransitionDetail } from '../chunk-6RXP5ZXE.js';
|
|
6
|
+
export { BehaviorView } from '../chunk-B23EZH2P.js';
|
|
7
|
+
export { MiniStateMachine, ModuleCard } from '../chunk-7UCL26QB.js';
|
|
8
|
+
import '../chunk-JEN4EIUF.js';
|
|
9
|
+
import { FlowCanvas, layeredGraph } from '../chunk-TAEOMNDK.js';
|
|
10
|
+
export { AVL_GRAPH_NODE_TYPES, AvlGraphCanvas, CANVAS_TOOLS, CanvasDndProvider, CanvasVerifyContext, DependencyColumnNode, DependencyNode, EDITABLE, ElementEditAccessContext, EventFlowEdge, FlowCanvas, KnobField, KnobSettingRow, LIVE_STATE, OrbInspector, OrbPreviewNode, SystemBandNode, SystemMapContext, SystemNode, canvasViewGraph, dependencyReach, deriveEditFocusFromElement, dropBusEvent, flowNeighbors, hasCanvasTool, initialStateOf, layeredGraph, optionForPlayedStep, propAccessAt, schemaToDependencyGraph, schemaToOverviewGraph, stateOptionsOf, traitFlowGraph, useCanvasDraggable, useCanvasDroppable, useInlineTextEdit } from '../chunk-TAEOMNDK.js';
|
|
11
|
+
import '../chunk-AL2XXMYR.js';
|
|
12
|
+
export { AvlStateMachine } from '../chunk-RDPELAFQ.js';
|
|
13
|
+
import { AvlOrbital, AvlTrait, AvlEvent, AvlGuard } from '../chunk-CCO2ZH7F.js';
|
|
14
|
+
export { AVL_GLYPH_KINDS, AvlApplication, AvlBinding, AvlBindingRef, AvlEvent, AvlField, AvlGlyph, AvlGuard, AvlLiteral, AvlOperator, AvlOrbital, AvlPersistence, AvlSExpr, AvlTrait, AvlTransition } from '../chunk-CCO2ZH7F.js';
|
|
15
|
+
import { AvlEntity, AvlPage, AvlState } from '../chunk-DPDKBY6Z.js';
|
|
16
|
+
export { AvlEntity, AvlFieldType, AvlPage, AvlState, FIELD_TYPE_SHAPES } from '../chunk-DPDKBY6Z.js';
|
|
17
|
+
import { transitionPlayback } from '../chunk-3DA36FOA.js';
|
|
18
|
+
export { armPosition, armsOf, firedTransition, stateMachinePlayback, transitionPlayback } from '../chunk-3DA36FOA.js';
|
|
19
|
+
import '../chunk-3YUMGEEW.js';
|
|
20
|
+
import { computeTraitLayout, edgePath } from '../chunk-HA2BYO5E.js';
|
|
21
|
+
export { computeTraitLayout, edgePath } from '../chunk-HA2BYO5E.js';
|
|
22
22
|
import { parseApplicationLevel, parseOrbitalLevel, parseTraitLevel } from '../chunk-PCR37T3U.js';
|
|
23
23
|
export { parseApplicationLevel, parseOrbitalLevel, parseTraitLevel, parseTransitionLevel, traitLevelFromTrait } from '../chunk-PCR37T3U.js';
|
|
24
|
-
export { AvlEffectChip } from '../chunk-
|
|
25
|
-
import { avlSeries, AvlEffect, CONNECTION_COLORS, getStateRole, avlTint, STATE_COLORS, effectCategoryOf, EFFECT_CATEGORY_COLORS } from '../chunk-
|
|
26
|
-
export { AvlEffect, CONNECTION_COLORS, EFFECT_CATEGORY_COLORS, OPERATOR_CATEGORY_COLORS, STATE_COLORS, effectCategoryOf, getStateRole } from '../chunk-
|
|
27
|
-
import '../chunk-
|
|
24
|
+
export { AvlEffectChip } from '../chunk-V5SVGUYN.js';
|
|
25
|
+
import { avlSeries, AvlEffect, CONNECTION_COLORS, getStateRole, avlTint, STATE_COLORS, effectCategoryOf, EFFECT_CATEGORY_COLORS } from '../chunk-3UQNFRYV.js';
|
|
26
|
+
export { AvlEffect, CONNECTION_COLORS, EFFECT_CATEGORY_COLORS, OPERATOR_CATEGORY_COLORS, STATE_COLORS, effectCategoryOf, getStateRole } from '../chunk-3UQNFRYV.js';
|
|
27
|
+
import '../chunk-LKL5RULQ.js';
|
|
28
28
|
import '../chunk-TZZBINQY.js';
|
|
29
29
|
import '../chunk-ZDRDJKYB.js';
|
|
30
|
-
import '../chunk-
|
|
31
|
-
import '../chunk-
|
|
32
|
-
import '../chunk-
|
|
30
|
+
import '../chunk-S3LS3B7N.js';
|
|
31
|
+
import '../chunk-GHAF7QUD.js';
|
|
32
|
+
import '../chunk-2LNXLMK3.js';
|
|
33
33
|
import '../chunk-3BBUBJFF.js';
|
|
34
|
-
import '../chunk-
|
|
35
|
-
import { useTranslate, cn, Box, HStack, Typography, pressableProps, Button, RangeSlider } from '../chunk-
|
|
36
|
-
import '../chunk-
|
|
37
|
-
import '../chunk-
|
|
34
|
+
import '../chunk-ANTJUQRD.js';
|
|
35
|
+
import { useTranslate, cn, Box, HStack, Typography, pressableProps, Button, RangeSlider } from '../chunk-D5FJU4XC.js';
|
|
36
|
+
import '../chunk-ECC3WQIB.js';
|
|
37
|
+
import '../chunk-AZ74UPG6.js';
|
|
38
38
|
import '../chunk-G7DCAZ22.js';
|
|
39
39
|
import React4, { createContext, useMemo, useContext, useState, useReducer, useEffect, useCallback } from 'react';
|
|
40
40
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolveThemeForRuntime, themeTokensToCssVars } from './chunk-3BBUBJFF.js';
|
|
2
|
-
import { useUISlotManager } from './chunk-
|
|
3
|
-
import { useThemeScope, useTheme, keyInViewerMode, ThemeScopeContext, Box, cn } from './chunk-
|
|
2
|
+
import { useUISlotManager } from './chunk-ANTJUQRD.js';
|
|
3
|
+
import { useThemeScope, useTheme, keyInViewerMode, ThemeScopeContext, Box, cn } from './chunk-D5FJU4XC.js';
|
|
4
4
|
import { createContext, useMemo, useContext, useCallback, useEffect } from 'react';
|
|
5
5
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
import { ANONYMOUS_USER, isThemeRegistryKey, toPayloadValue } from '@almadar/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { traitLevelFromDescription } from './chunk-PCR37T3U.js';
|
|
2
|
-
import { useContentSurface, useEventBus, Typography, Icon, cn, domPassthrough } from './chunk-
|
|
2
|
+
import { useContentSurface, useEventBus, Typography, Icon, cn, domPassthrough } from './chunk-D5FJU4XC.js';
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -390,12 +390,9 @@ function effectCategoryOf(head) {
|
|
|
390
390
|
function asEffectOperator(head) {
|
|
391
391
|
return isEffectOperator(head) ? head : null;
|
|
392
392
|
}
|
|
393
|
-
var PENDING_STD_CATEGORY_COLORS = {
|
|
394
|
-
"std-behavior-value": avlBlend("var(--color-accent)", 40, "var(--color-success)"),
|
|
395
|
-
"std-program": avlBlend("var(--color-accent)", 60, "var(--color-info)")
|
|
396
|
-
};
|
|
397
393
|
var OPERATOR_CATEGORY_COLORS = {
|
|
398
|
-
|
|
394
|
+
"std-behavior-value": avlBlend("var(--color-accent)", 40, "var(--color-success)"),
|
|
395
|
+
"std-program": avlBlend("var(--color-accent)", 60, "var(--color-info)"),
|
|
399
396
|
"arithmetic": "var(--color-primary)",
|
|
400
397
|
"comparison": "var(--color-warning)",
|
|
401
398
|
"logic": "var(--color-accent)",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useEventBus, useTranslate, Box, VStack, Icon, cn, Typography, Button, domPassthrough } from './chunk-
|
|
1
|
+
import { useEventBus, useTranslate, Box, VStack, Icon, cn, Typography, Button, domPassthrough } from './chunk-D5FJU4XC.js';
|
|
2
2
|
import { EMPTY_STATE_MARKER } from '@almadar/core';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { JsonTreeEditor } from './chunk-
|
|
2
|
-
import { transitionPlayback, Accordion } from './chunk-
|
|
3
|
-
import { EmptyState } from './chunk-
|
|
4
|
-
import { useContainerWidth, roundedEdgePath } from './chunk-
|
|
1
|
+
import { JsonTreeEditor } from './chunk-JEN4EIUF.js';
|
|
2
|
+
import { transitionPlayback, Accordion } from './chunk-3DA36FOA.js';
|
|
3
|
+
import { EmptyState } from './chunk-3YUMGEEW.js';
|
|
4
|
+
import { useContainerWidth, roundedEdgePath } from './chunk-HA2BYO5E.js';
|
|
5
5
|
import { parseTraitLevel } from './chunk-PCR37T3U.js';
|
|
6
|
-
import { AvlExplain, AvlEffectChip } from './chunk-
|
|
7
|
-
import { AVL_INK, AVL_FONT, effectZoneOf, avlTint, AvlEffect, OPERATOR_CATEGORY_COLORS, avlBlend } from './chunk-
|
|
8
|
-
import { useTranslate, useMediaQuery, Box, Typography, Card, VStack, HStack, Badge, Button } from './chunk-
|
|
6
|
+
import { AvlExplain, AvlEffectChip } from './chunk-V5SVGUYN.js';
|
|
7
|
+
import { AVL_INK, AVL_FONT, effectZoneOf, avlTint, AvlEffect, OPERATOR_CATEGORY_COLORS, avlBlend } from './chunk-3UQNFRYV.js';
|
|
8
|
+
import { useTranslate, useMediaQuery, Box, Typography, Card, VStack, HStack, Badge, Button } from './chunk-D5FJU4XC.js';
|
|
9
9
|
import { useRef, useMemo, useState } from 'react';
|
|
10
10
|
import { formatSExpr, JsonValueSchema, isJsonObject, isBinding } from '@almadar/core';
|
|
11
11
|
import { operatorVisualForm, getStdOperatorMeta } from '@almadar/std/registry';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AvlState, AvlEntity, AvlFieldType, AvlPage } from './chunk-
|
|
2
|
-
import { AvlExplain, useEffectLines } from './chunk-
|
|
3
|
-
import { getStateRole, AvlEffect, CONNECTION_COLORS } from './chunk-
|
|
4
|
-
import { useTranslate, Box, cn, domPassthrough } from './chunk-
|
|
1
|
+
import { AvlState, AvlEntity, AvlFieldType, AvlPage } from './chunk-DPDKBY6Z.js';
|
|
2
|
+
import { AvlExplain, useEffectLines } from './chunk-V5SVGUYN.js';
|
|
3
|
+
import { getStateRole, AvlEffect, CONNECTION_COLORS } from './chunk-3UQNFRYV.js';
|
|
4
|
+
import { useTranslate, Box, cn, domPassthrough } from './chunk-D5FJU4XC.js';
|
|
5
5
|
import { useNodeId, ReactFlowProvider, Handle, Position } from '@xyflow/react';
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useDraggable, useDropZone } from './chunk-
|
|
2
|
-
import { Box, domPassthrough, useTranslate, Icon, pressableProps, Typography } from './chunk-
|
|
1
|
+
import { useDraggable, useDropZone } from './chunk-GHAF7QUD.js';
|
|
2
|
+
import { Box, domPassthrough, useTranslate, Icon, pressableProps, Typography } from './chunk-D5FJU4XC.js';
|
|
3
3
|
import React, { createContext, useState, useCallback, useRef, useEffect, useContext } from 'react';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|