@almadar/ui 5.79.0 → 5.79.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/package.json +1 -1
- package/dist/KaTeX_AMS-Regular-CYEKBG2K.woff +0 -0
- package/dist/KaTeX_AMS-Regular-JKX5W2C4.ttf +0 -0
- package/dist/KaTeX_AMS-Regular-U6PRYMIZ.woff2 +0 -0
- package/dist/KaTeX_Caligraphic-Bold-5QL5CMTE.woff2 +0 -0
- package/dist/KaTeX_Caligraphic-Bold-WZ3QSGD3.woff +0 -0
- package/dist/KaTeX_Caligraphic-Bold-ZTS3R3HK.ttf +0 -0
- package/dist/KaTeX_Caligraphic-Regular-3LKEU76G.woff +0 -0
- package/dist/KaTeX_Caligraphic-Regular-A7XRTZ5Q.ttf +0 -0
- package/dist/KaTeX_Caligraphic-Regular-KX5MEWCF.woff2 +0 -0
- package/dist/KaTeX_Fraktur-Bold-2QVFK6NQ.woff2 +0 -0
- package/dist/KaTeX_Fraktur-Bold-T4SWXBMT.woff +0 -0
- package/dist/KaTeX_Fraktur-Bold-WGHVTYOR.ttf +0 -0
- package/dist/KaTeX_Fraktur-Regular-2PEIFJSJ.woff2 +0 -0
- package/dist/KaTeX_Fraktur-Regular-5U4OPH2X.ttf +0 -0
- package/dist/KaTeX_Fraktur-Regular-PQMHCIK6.woff +0 -0
- package/dist/KaTeX_Main-Bold-2GA4IZIN.woff +0 -0
- package/dist/KaTeX_Main-Bold-W5FBVCZM.ttf +0 -0
- package/dist/KaTeX_Main-Bold-YP5VVQRP.woff2 +0 -0
- package/dist/KaTeX_Main-BoldItalic-4P4C7HJH.woff +0 -0
- package/dist/KaTeX_Main-BoldItalic-N4V3DX7S.woff2 +0 -0
- package/dist/KaTeX_Main-BoldItalic-ODMLBJJQ.ttf +0 -0
- package/dist/KaTeX_Main-Italic-I43T2HSR.ttf +0 -0
- package/dist/KaTeX_Main-Italic-RELBIK7M.woff2 +0 -0
- package/dist/KaTeX_Main-Italic-SASNQFN2.woff +0 -0
- package/dist/KaTeX_Main-Regular-ARRPAO67.woff2 +0 -0
- package/dist/KaTeX_Main-Regular-P5I74A2A.woff +0 -0
- package/dist/KaTeX_Main-Regular-W74P5G27.ttf +0 -0
- package/dist/KaTeX_Math-BoldItalic-6EBV3DK5.woff +0 -0
- package/dist/KaTeX_Math-BoldItalic-K4WTGH3J.woff2 +0 -0
- package/dist/KaTeX_Math-BoldItalic-VB447A4D.ttf +0 -0
- package/dist/KaTeX_Math-Italic-6KGCHLFN.woff2 +0 -0
- package/dist/KaTeX_Math-Italic-KKK3USB2.woff +0 -0
- package/dist/KaTeX_Math-Italic-SON4MRCA.ttf +0 -0
- package/dist/KaTeX_SansSerif-Bold-RRNVJFFW.woff2 +0 -0
- package/dist/KaTeX_SansSerif-Bold-STQ6RXC7.ttf +0 -0
- package/dist/KaTeX_SansSerif-Bold-X5M5EMOD.woff +0 -0
- package/dist/KaTeX_SansSerif-Italic-HMPFTM52.woff2 +0 -0
- package/dist/KaTeX_SansSerif-Italic-PSN4QKYX.woff +0 -0
- package/dist/KaTeX_SansSerif-Italic-WTBAZBGY.ttf +0 -0
- package/dist/KaTeX_SansSerif-Regular-2TL3USAE.ttf +0 -0
- package/dist/KaTeX_SansSerif-Regular-OQCII6EP.woff +0 -0
- package/dist/KaTeX_SansSerif-Regular-XIQ62X4E.woff2 +0 -0
- package/dist/KaTeX_Script-Regular-72OLXYNA.ttf +0 -0
- package/dist/KaTeX_Script-Regular-A5IFOEBS.woff +0 -0
- package/dist/KaTeX_Script-Regular-APUWIHLP.woff2 +0 -0
- package/dist/KaTeX_Size1-Regular-4HRHTS65.woff +0 -0
- package/dist/KaTeX_Size1-Regular-5LRUTBFT.woff2 +0 -0
- package/dist/KaTeX_Size1-Regular-7K6AASVL.ttf +0 -0
- package/dist/KaTeX_Size2-Regular-222HN3GT.ttf +0 -0
- package/dist/KaTeX_Size2-Regular-K5ZHAIS6.woff +0 -0
- package/dist/KaTeX_Size2-Regular-LELKET5D.woff2 +0 -0
- package/dist/KaTeX_Size3-Regular-TLFPAHDE.woff +0 -0
- package/dist/KaTeX_Size3-Regular-UFCO6WCA.ttf +0 -0
- package/dist/KaTeX_Size3-Regular-WQRQ47UD.woff2 +0 -0
- package/dist/KaTeX_Size4-Regular-7PGNVPQK.ttf +0 -0
- package/dist/KaTeX_Size4-Regular-CDMV7U5C.woff2 +0 -0
- package/dist/KaTeX_Size4-Regular-PKMWZHNC.woff +0 -0
- package/dist/KaTeX_Typewriter-Regular-3F5K6SQ6.ttf +0 -0
- package/dist/KaTeX_Typewriter-Regular-MJMFSK64.woff +0 -0
- package/dist/KaTeX_Typewriter-Regular-VBYJ4NRC.woff2 +0 -0
- package/dist/avl/index.cjs +0 -64392
- package/dist/avl/index.css +0 -1252
- package/dist/avl/index.d.cts +0 -1853
- package/dist/avl/index.d.ts +0 -64
- package/dist/avl/index.js +0 -64280
- package/dist/components/avl/atoms/Avl3DLabel.d.ts +0 -23
- package/dist/components/avl/atoms/Avl3DTooltip.d.ts +0 -25
- package/dist/components/avl/atoms/AvlApplication.d.ts +0 -8
- package/dist/components/avl/atoms/AvlBinding.d.ts +0 -12
- package/dist/components/avl/atoms/AvlBindingRef.d.ts +0 -7
- package/dist/components/avl/atoms/AvlEffect.d.ts +0 -10
- package/dist/components/avl/atoms/AvlEntity.d.ts +0 -9
- package/dist/components/avl/atoms/AvlEvent.d.ts +0 -7
- package/dist/components/avl/atoms/AvlField.d.ts +0 -10
- package/dist/components/avl/atoms/AvlFieldType.d.ts +0 -8
- package/dist/components/avl/atoms/AvlGuard.d.ts +0 -7
- package/dist/components/avl/atoms/AvlLiteral.d.ts +0 -7
- package/dist/components/avl/atoms/AvlOperator.d.ts +0 -8
- package/dist/components/avl/atoms/AvlOrbital.d.ts +0 -11
- package/dist/components/avl/atoms/AvlPage.d.ts +0 -7
- package/dist/components/avl/atoms/AvlPersistence.d.ts +0 -8
- package/dist/components/avl/atoms/AvlSExpr.d.ts +0 -8
- package/dist/components/avl/atoms/AvlState.d.ts +0 -15
- package/dist/components/avl/atoms/AvlTrait.d.ts +0 -13
- package/dist/components/avl/atoms/AvlTransition.d.ts +0 -18
- package/dist/components/avl/atoms/index.d.ts +0 -24
- package/dist/components/avl/hooks/useCanvasDnd.d.ts +0 -155
- package/dist/components/avl/lib/avl-3d-layout.d.ts +0 -116
- package/dist/components/avl/lib/avl-behavior-compose-converter.d.ts +0 -55
- package/dist/components/avl/lib/avl-elk-layout.d.ts +0 -55
- package/dist/components/avl/lib/avl-flow-converter.d.ts +0 -17
- package/dist/components/avl/lib/avl-layout.d.ts +0 -32
- package/dist/components/avl/lib/avl-preview-converter.d.ts +0 -71
- package/dist/components/avl/lib/avl-schema-parser.d.ts +0 -128
- package/dist/components/avl/lib/avl-story-schemas.d.ts +0 -34
- package/dist/components/avl/lib/avl-zoom-band.d.ts +0 -19
- package/dist/components/avl/lib/avl-zoom-state.d.ts +0 -72
- package/dist/components/avl/lib/derive-edit-focus.d.ts +0 -8
- package/dist/components/avl/lib/wire-validation.d.ts +0 -30
- package/dist/components/avl/molecules/Avl3DCrossWire.d.ts +0 -22
- package/dist/components/avl/molecules/Avl3DEntityCore.d.ts +0 -26
- package/dist/components/avl/molecules/Avl3DExprTree.d.ts +0 -21
- package/dist/components/avl/molecules/Avl3DOrbitalNode.d.ts +0 -29
- package/dist/components/avl/molecules/Avl3DStateNode.d.ts +0 -34
- package/dist/components/avl/molecules/Avl3DTransitionArc.d.ts +0 -38
- package/dist/components/avl/molecules/AvlBackwardEdge.d.ts +0 -8
- package/dist/components/avl/molecules/AvlBehaviorGlyph.d.ts +0 -61
- package/dist/components/avl/molecules/AvlBindingEdge.d.ts +0 -9
- package/dist/components/avl/molecules/AvlClosedCircuit.d.ts +0 -20
- package/dist/components/avl/molecules/AvlEmitListen.d.ts +0 -16
- package/dist/components/avl/molecules/AvlEventWireEdge.d.ts +0 -15
- package/dist/components/avl/molecules/AvlExprTree.d.ts +0 -13
- package/dist/components/avl/molecules/AvlOrbitalNode.d.ts +0 -12
- package/dist/components/avl/molecules/AvlOrbitalUnit.d.ts +0 -20
- package/dist/components/avl/molecules/AvlPageEdge.d.ts +0 -8
- package/dist/components/avl/molecules/AvlSlotMap.d.ts +0 -18
- package/dist/components/avl/molecules/AvlStateMachine.d.ts +0 -22
- package/dist/components/avl/molecules/AvlSwimLane.d.ts +0 -10
- package/dist/components/avl/molecules/AvlTransitionEdge.d.ts +0 -17
- package/dist/components/avl/molecules/AvlTransitionLane.d.ts +0 -18
- package/dist/components/avl/molecules/BehaviorComposeNode.d.ts +0 -13
- package/dist/components/avl/molecules/BehaviorView.d.ts +0 -12
- package/dist/components/avl/molecules/DetailView.d.ts +0 -13
- package/dist/components/avl/molecules/EventFlowEdge.d.ts +0 -13
- package/dist/components/avl/molecules/MiniStateMachine.d.ts +0 -14
- package/dist/components/avl/molecules/ModuleCard.d.ts +0 -22
- package/dist/components/avl/molecules/OrbPreviewNode.d.ts +0 -38
- package/dist/components/avl/molecules/SystemNode.d.ts +0 -12
- package/dist/components/avl/molecules/TraitCardNode.d.ts +0 -33
- package/dist/components/avl/molecules/index.d.ts +0 -38
- package/dist/components/avl/organisms/Avl3DApplicationScene.d.ts +0 -19
- package/dist/components/avl/organisms/Avl3DEffects.d.ts +0 -18
- package/dist/components/avl/organisms/Avl3DOrbitalScene.d.ts +0 -23
- package/dist/components/avl/organisms/Avl3DTraitScene.d.ts +0 -19
- package/dist/components/avl/organisms/Avl3DTransitionScene.d.ts +0 -17
- package/dist/components/avl/organisms/Avl3DViewer.d.ts +0 -40
- package/dist/components/avl/organisms/AvlClickTarget.d.ts +0 -31
- package/dist/components/avl/organisms/AvlCosmicZoom.d.ts +0 -41
- package/dist/components/avl/organisms/AvlLegend.d.ts +0 -15
- package/dist/components/avl/organisms/AvlOrbitalsCosmicZoom.d.ts +0 -54
- package/dist/components/avl/organisms/AvlTraitScene.d.ts +0 -17
- package/dist/components/avl/organisms/AvlTransitionDetail.d.ts +0 -20
- package/dist/components/avl/organisms/AvlTransitionScene.d.ts +0 -13
- package/dist/components/avl/organisms/FlowCanvas.d.ts +0 -134
- package/dist/components/avl/organisms/OrbInspector.d.ts +0 -45
- package/dist/components/avl/organisms/ZoomBreadcrumb.d.ts +0 -16
- package/dist/components/avl/organisms/ZoomLegend.d.ts +0 -10
- package/dist/components/avl/organisms/index.d.ts +0 -19
- package/dist/components/avl/providers/avl-3d-context.d.ts +0 -32
- package/dist/components/avl/types/avl-atom-types.d.ts +0 -53
- package/dist/components/avl/types/avl-behavior-compose-types.d.ts +0 -120
- package/dist/components/avl/types/avl-canvas-types.d.ts +0 -39
- package/dist/components/avl/types/avl-preview-types.d.ts +0 -240
- package/dist/components/core/atoms/Aside.d.ts +0 -15
- package/dist/components/core/atoms/Avatar.d.ts +0 -61
- package/dist/components/core/atoms/Badge.d.ts +0 -26
- package/dist/components/core/atoms/Box.d.ts +0 -66
- package/dist/components/core/atoms/Button.d.ts +0 -31
- package/dist/components/core/atoms/Card.d.ts +0 -34
- package/dist/components/core/atoms/Center.d.ts +0 -33
- package/dist/components/core/atoms/Checkbox.d.ts +0 -14
- package/dist/components/core/atoms/ConditionalWrapper.d.ts +0 -69
- package/dist/components/core/atoms/ConfettiEffect.d.ts +0 -19
- package/dist/components/core/atoms/DayCell.d.ts +0 -22
- package/dist/components/core/atoms/Dialog.d.ts +0 -18
- package/dist/components/core/atoms/Divider.d.ts +0 -29
- package/dist/components/core/atoms/FilterPill.d.ts +0 -30
- package/dist/components/core/atoms/FlipContainer.d.ts +0 -21
- package/dist/components/core/atoms/Icon.d.ts +0 -57
- package/dist/components/core/atoms/InfiniteScrollSentinel.d.ts +0 -24
- package/dist/components/core/atoms/Input.d.ts +0 -39
- package/dist/components/core/atoms/Label.d.ts +0 -12
- package/dist/components/core/atoms/LawReferenceTooltip.d.ts +0 -48
- package/dist/components/core/atoms/Overlay.d.ts +0 -17
- package/dist/components/core/atoms/ProgressBar.d.ts +0 -63
- package/dist/components/core/atoms/Radio.d.ts +0 -35
- package/dist/components/core/atoms/RangeSlider.d.ts +0 -34
- package/dist/components/core/atoms/SectionHeader.d.ts +0 -14
- package/dist/components/core/atoms/Select.d.ts +0 -49
- package/dist/components/core/atoms/Spacer.d.ts +0 -25
- package/dist/components/core/atoms/Sparkline.d.ts +0 -30
- package/dist/components/core/atoms/Spinner.d.ts +0 -10
- package/dist/components/core/atoms/Stack.d.ts +0 -67
- package/dist/components/core/atoms/StatusDot.d.ts +0 -16
- package/dist/components/core/atoms/Switch.d.ts +0 -12
- package/dist/components/core/atoms/TextHighlight.d.ts +0 -54
- package/dist/components/core/atoms/Textarea.d.ts +0 -17
- package/dist/components/core/atoms/ThemeToggle.d.ts +0 -33
- package/dist/components/core/atoms/TimeSlotCell.d.ts +0 -23
- package/dist/components/core/atoms/TraitFrame.d.ts +0 -54
- package/dist/components/core/atoms/TrendIndicator.d.ts +0 -20
- package/dist/components/core/atoms/TypewriterText.d.ts +0 -20
- package/dist/components/core/atoms/Typography.d.ts +0 -39
- package/dist/components/core/atoms/index.d.ts +0 -50
- package/dist/components/core/atoms/svg/SvgBranch.d.ts +0 -16
- package/dist/components/core/atoms/svg/SvgConnection.d.ts +0 -17
- package/dist/components/core/atoms/svg/SvgFlow.d.ts +0 -14
- package/dist/components/core/atoms/svg/SvgGrid.d.ts +0 -18
- package/dist/components/core/atoms/svg/SvgLobe.d.ts +0 -17
- package/dist/components/core/atoms/svg/SvgMesh.d.ts +0 -16
- package/dist/components/core/atoms/svg/SvgMorph.d.ts +0 -15
- package/dist/components/core/atoms/svg/SvgNode.d.ts +0 -16
- package/dist/components/core/atoms/svg/SvgPulse.d.ts +0 -16
- package/dist/components/core/atoms/svg/SvgRing.d.ts +0 -17
- package/dist/components/core/atoms/svg/SvgShield.d.ts +0 -15
- package/dist/components/core/atoms/svg/SvgStack.d.ts +0 -17
- package/dist/components/core/atoms/svg/index.d.ts +0 -12
- package/dist/components/core/atoms/types.d.ts +0 -47
- package/dist/components/core/molecules/Accordion.d.ts +0 -71
- package/dist/components/core/molecules/ActivationBlock.d.ts +0 -22
- package/dist/components/core/molecules/Alert.d.ts +0 -25
- package/dist/components/core/molecules/AnimatedCounter.d.ts +0 -18
- package/dist/components/core/molecules/AssetPicker.d.ts +0 -21
- package/dist/components/core/molecules/BloomQuizBlock.d.ts +0 -25
- package/dist/components/core/molecules/BranchingLogicBuilder.d.ts +0 -33
- package/dist/components/core/molecules/Breadcrumb.d.ts +0 -55
- package/dist/components/core/molecules/ButtonGroup.d.ts +0 -77
- package/dist/components/core/molecules/CalendarGrid.d.ts +0 -61
- package/dist/components/core/molecules/Card.d.ts +0 -58
- package/dist/components/core/molecules/Carousel.d.ts +0 -42
- package/dist/components/core/molecules/Chart.d.ts +0 -106
- package/dist/components/core/molecules/ChartLegend.d.ts +0 -20
- package/dist/components/core/molecules/Coachmark.d.ts +0 -47
- package/dist/components/core/molecules/ConfirmDialog.d.ts +0 -49
- package/dist/components/core/molecules/ConnectionBlock.d.ts +0 -18
- package/dist/components/core/molecules/Container.d.ts +0 -30
- package/dist/components/core/molecules/ContentRenderer.d.ts +0 -23
- package/dist/components/core/molecules/DataGrid.d.ts +0 -117
- package/dist/components/core/molecules/DataList.d.ts +0 -129
- package/dist/components/core/molecules/DateRangePicker.d.ts +0 -56
- package/dist/components/core/molecules/DateRangeSelector.d.ts +0 -21
- package/dist/components/core/molecules/DocBreadcrumb.d.ts +0 -20
- package/dist/components/core/molecules/DocPagination.d.ts +0 -21
- package/dist/components/core/molecules/DocSearch.d.ts +0 -22
- package/dist/components/core/molecules/DocSidebar.d.ts +0 -24
- package/dist/components/core/molecules/DocTOC.d.ts +0 -24
- package/dist/components/core/molecules/DocumentViewer.d.ts +0 -61
- package/dist/components/core/molecules/Drawer.d.ts +0 -47
- package/dist/components/core/molecules/EdgeDecoration.d.ts +0 -36
- package/dist/components/core/molecules/EmptyState.d.ts +0 -29
- package/dist/components/core/molecules/ErrorBoundary.d.ts +0 -54
- package/dist/components/core/molecules/ErrorState.d.ts +0 -14
- package/dist/components/core/molecules/FeatureGrid.d.ts +0 -19
- package/dist/components/core/molecules/FileTree.d.ts +0 -37
- package/dist/components/core/molecules/FilterGroup.d.ts +0 -61
- package/dist/components/core/molecules/Flex.d.ts +0 -43
- package/dist/components/core/molecules/FlipCard.d.ts +0 -24
- package/dist/components/core/molecules/FloatingActionButton.d.ts +0 -83
- package/dist/components/core/molecules/FormField.d.ts +0 -16
- package/dist/components/core/molecules/FormSection.d.ts +0 -39
- package/dist/components/core/molecules/FormSectionHeader.d.ts +0 -31
- package/dist/components/core/molecules/GradientDivider.d.ts +0 -15
- package/dist/components/core/molecules/GraphCanvas.d.ts +0 -83
- package/dist/components/core/molecules/GraphView.d.ts +0 -45
- package/dist/components/core/molecules/Grid.d.ts +0 -54
- package/dist/components/core/molecules/GridPicker.d.ts +0 -44
- package/dist/components/core/molecules/Header.d.ts +0 -113
- package/dist/components/core/molecules/IconPicker.d.ts +0 -18
- package/dist/components/core/molecules/InputGroup.d.ts +0 -24
- package/dist/components/core/molecules/JazariStateMachine.d.ts +0 -34
- package/dist/components/core/molecules/JsonTreeEditor.d.ts +0 -13
- package/dist/components/core/molecules/Lightbox.d.ts +0 -26
- package/dist/components/core/molecules/LikertScale.d.ts +0 -34
- package/dist/components/core/molecules/LineChart.d.ts +0 -33
- package/dist/components/core/molecules/LoadingState.d.ts +0 -7
- package/dist/components/core/molecules/MapView.d.ts +0 -87
- package/dist/components/core/molecules/MatrixQuestion.d.ts +0 -35
- package/dist/components/core/molecules/Menu.d.ts +0 -44
- package/dist/components/core/molecules/Meter.d.ts +0 -52
- package/dist/components/core/molecules/Modal.d.ts +0 -36
- package/dist/components/core/molecules/Navigation.d.ts +0 -67
- package/dist/components/core/molecules/NodeSlotEditor.d.ts +0 -17
- package/dist/components/core/molecules/NumberStepper.d.ts +0 -28
- package/dist/components/core/molecules/OnboardingSpotlight.d.ts +0 -27
- package/dist/components/core/molecules/OptionConstraintGroup.d.ts +0 -44
- package/dist/components/core/molecules/OrbitalVisualization.d.ts +0 -48
- package/dist/components/core/molecules/PageHeader.d.ts +0 -60
- package/dist/components/core/molecules/Pagination.d.ts +0 -71
- package/dist/components/core/molecules/Popover.d.ts +0 -39
- package/dist/components/core/molecules/PositionedCanvas.d.ts +0 -40
- package/dist/components/core/molecules/ProgressDots.d.ts +0 -24
- package/dist/components/core/molecules/PropertyInspector.d.ts +0 -38
- package/dist/components/core/molecules/PullToRefresh.d.ts +0 -22
- package/dist/components/core/molecules/QrScanner.d.ts +0 -24
- package/dist/components/core/molecules/QuizBlock.d.ts +0 -20
- package/dist/components/core/molecules/ReflectionBlock.d.ts +0 -23
- package/dist/components/core/molecules/RelationSelect.d.ts +0 -48
- package/dist/components/core/molecules/RepeatableFormSection.d.ts +0 -60
- package/dist/components/core/molecules/ReplyTree.d.ts +0 -46
- package/dist/components/core/molecules/RichBlockEditor.d.ts +0 -43
- package/dist/components/core/molecules/ScaledDiagram.d.ts +0 -20
- package/dist/components/core/molecules/SearchInput.d.ts +0 -60
- package/dist/components/core/molecules/Section.d.ts +0 -43
- package/dist/components/core/molecules/SidePanel.d.ts +0 -53
- package/dist/components/core/molecules/Sidebar.d.ts +0 -72
- package/dist/components/core/molecules/SignaturePad.d.ts +0 -46
- package/dist/components/core/molecules/SimpleGrid.d.ts +0 -27
- package/dist/components/core/molecules/Skeleton.d.ts +0 -35
- package/dist/components/core/molecules/SocialProof.d.ts +0 -25
- package/dist/components/core/molecules/SortableList.d.ts +0 -19
- package/dist/components/core/molecules/Split.d.ts +0 -41
- package/dist/components/core/molecules/StarRating.d.ts +0 -27
- package/dist/components/core/molecules/StatDisplay.d.ts +0 -58
- package/dist/components/core/molecules/SwipeableRow.d.ts +0 -26
- package/dist/components/core/molecules/TableView.d.ts +0 -111
- package/dist/components/core/molecules/Tabs.d.ts +0 -58
- package/dist/components/core/molecules/TagInput.d.ts +0 -52
- package/dist/components/core/molecules/Toast.d.ts +0 -36
- package/dist/components/core/molecules/Tooltip.d.ts +0 -25
- package/dist/components/core/molecules/UploadDropZone.d.ts +0 -28
- package/dist/components/core/molecules/VersionDiff.d.ts +0 -62
- package/dist/components/core/molecules/ViolationAlert.d.ts +0 -46
- package/dist/components/core/molecules/VoteStack.d.ts +0 -35
- package/dist/components/core/molecules/WizardContainer.d.ts +0 -160
- package/dist/components/core/molecules/WizardNavigation.d.ts +0 -61
- package/dist/components/core/molecules/WizardProgress.d.ts +0 -45
- package/dist/components/core/molecules/index.d.ts +0 -137
- package/dist/components/core/molecules/lessonSegmentUtils.d.ts +0 -18
- package/dist/components/core/molecules/markdown/CodeBlock.d.ts +0 -108
- package/dist/components/core/molecules/markdown/MarkdownContent.d.ts +0 -26
- package/dist/components/core/molecules/markdown/index.d.ts +0 -2
- package/dist/components/core/molecules/parseLessonSegments.d.ts +0 -43
- package/dist/components/core/molecules/useDataDnd.d.ts +0 -63
- package/dist/components/core/organisms/CardGrid.d.ts +0 -84
- package/dist/components/core/organisms/ChatBar.d.ts +0 -31
- package/dist/components/core/organisms/CodeRunnerPanel.d.ts +0 -42
- package/dist/components/core/organisms/ComponentPatterns.d.ts +0 -185
- package/dist/components/core/organisms/CustomPattern.d.ts +0 -105
- package/dist/components/core/organisms/DataTable.d.ts +0 -75
- package/dist/components/core/organisms/DetailPanel.d.ts +0 -80
- package/dist/components/core/organisms/DrawerSlot.d.ts +0 -40
- package/dist/components/core/organisms/Form.d.ts +0 -214
- package/dist/components/core/organisms/LayoutPatterns.d.ts +0 -108
- package/dist/components/core/organisms/List.d.ts +0 -81
- package/dist/components/core/organisms/MasterDetail.d.ts +0 -35
- package/dist/components/core/organisms/MediaGallery.d.ts +0 -63
- package/dist/components/core/organisms/ModalSlot.d.ts +0 -36
- package/dist/components/core/organisms/NotifyListener.d.ts +0 -15
- package/dist/components/core/organisms/SegmentRenderer.d.ts +0 -38
- package/dist/components/core/organisms/StatCard.d.ts +0 -65
- package/dist/components/core/organisms/StateMachineView.d.ts +0 -45
- package/dist/components/core/organisms/SubagentTracePanel.d.ts +0 -50
- package/dist/components/core/organisms/Timeline.d.ts +0 -71
- package/dist/components/core/organisms/ToastSlot.d.ts +0 -39
- package/dist/components/core/organisms/UISlotRenderer.d.ts +0 -116
- package/dist/components/core/organisms/book/index.d.ts +0 -7
- package/dist/components/core/organisms/book/types.d.ts +0 -62
- package/dist/components/core/organisms/component-registry.generated.d.ts +0 -9
- package/dist/components/core/organisms/debug/RuntimeDebugger.d.ts +0 -29
- package/dist/components/core/organisms/debug/WalkMinimap.d.ts +0 -17
- package/dist/components/core/organisms/debug/hooks/useDebugData.d.ts +0 -25
- package/dist/components/core/organisms/debug/index.d.ts +0 -13
- package/dist/components/core/organisms/debug/tabs/EntitiesTab.d.ts +0 -14
- package/dist/components/core/organisms/debug/tabs/EventDispatcherTab.d.ts +0 -18
- package/dist/components/core/organisms/debug/tabs/EventFlowTab.d.ts +0 -14
- package/dist/components/core/organisms/debug/tabs/GuardsPanel.d.ts +0 -14
- package/dist/components/core/organisms/debug/tabs/ServerBridgeTab.d.ts +0 -20
- package/dist/components/core/organisms/debug/tabs/TicksTab.d.ts +0 -14
- package/dist/components/core/organisms/debug/tabs/TraitsTab.d.ts +0 -14
- package/dist/components/core/organisms/debug/tabs/TransitionTimeline.d.ts +0 -19
- package/dist/components/core/organisms/debug/tabs/VerificationTab.d.ts +0 -17
- package/dist/components/core/organisms/index.d.ts +0 -33
- package/dist/components/core/organisms/layout/DashboardGrid.d.ts +0 -33
- package/dist/components/core/organisms/layout/MasterDetailLayout.d.ts +0 -32
- package/dist/components/core/organisms/layout/SplitPane.d.ts +0 -34
- package/dist/components/core/organisms/layout/TabbedContainer.d.ts +0 -42
- package/dist/components/core/organisms/layout/index.d.ts +0 -9
- package/dist/components/core/organisms/marketing-types.d.ts +0 -8
- package/dist/components/core/organisms/trace-edit-focus.d.ts +0 -14
- package/dist/components/core/organisms/types.d.ts +0 -72
- package/dist/components/core/templates/CounterTemplate.d.ts +0 -44
- package/dist/components/core/templates/DashboardLayout.d.ts +0 -110
- package/dist/components/core/templates/GenericAppTemplate.d.ts +0 -24
- package/dist/components/core/templates/index.d.ts +0 -21
- package/dist/components/core/templates/types.d.ts +0 -35
- package/dist/components/game/2d/atoms/ActionButton.d.ts +0 -29
- package/dist/components/game/2d/atoms/ChoiceButton.d.ts +0 -25
- package/dist/components/game/2d/atoms/ComboCounter.d.ts +0 -20
- package/dist/components/game/2d/atoms/ControlButton.d.ts +0 -35
- package/dist/components/game/2d/atoms/DamageNumber.d.ts +0 -18
- package/dist/components/game/2d/atoms/DialogueBubble.d.ts +0 -18
- package/dist/components/game/2d/atoms/GameAudioToggle.d.ts +0 -29
- package/dist/components/game/2d/atoms/GameCard.d.ts +0 -26
- package/dist/components/game/2d/atoms/GameIcon.d.ts +0 -19
- package/dist/components/game/2d/atoms/HealthBar.d.ts +0 -27
- package/dist/components/game/2d/atoms/ItemSlot.d.ts +0 -29
- package/dist/components/game/2d/atoms/MiniMap.d.ts +0 -35
- package/dist/components/game/2d/atoms/ResourceCounter.d.ts +0 -26
- package/dist/components/game/2d/atoms/ScoreDisplay.d.ts +0 -25
- package/dist/components/game/2d/atoms/Sprite.d.ts +0 -52
- package/dist/components/game/2d/atoms/StateIndicator.d.ts +0 -29
- package/dist/components/game/2d/atoms/StatusEffect.d.ts +0 -25
- package/dist/components/game/2d/atoms/TimerDisplay.d.ts +0 -19
- package/dist/components/game/2d/atoms/TurnIndicator.d.ts +0 -22
- package/dist/components/game/2d/atoms/WaypointMarker.d.ts +0 -23
- package/dist/components/game/2d/molecules/Canvas2D.d.ts +0 -161
- package/dist/components/game/2d/molecules/ControlGrid.d.ts +0 -42
- package/dist/components/game/2d/molecules/GameHud.d.ts +0 -52
- package/dist/components/game/2d/molecules/GameMenu.d.ts +0 -45
- package/dist/components/game/2d/molecules/InventoryGrid.d.ts +0 -35
- package/dist/components/game/2d/molecules/ResourceBar.d.ts +0 -26
- package/dist/components/game/2d/molecules/StatBadge.d.ts +0 -39
- package/dist/components/game/2d/molecules/index.d.ts +0 -107
- package/dist/components/game/2d/organisms/ActionPalette.d.ts +0 -34
- package/dist/components/game/2d/organisms/ActionTile.d.ts +0 -30
- package/dist/components/game/2d/organisms/BattleBoard.d.ts +0 -132
- package/dist/components/game/2d/organisms/BoardgameBoard.d.ts +0 -37
- package/dist/components/game/2d/organisms/BuilderBoard.d.ts +0 -60
- package/dist/components/game/2d/organisms/CanvasEffect.d.ts +0 -70
- package/dist/components/game/2d/organisms/CardBattlerBoard.d.ts +0 -45
- package/dist/components/game/2d/organisms/CastleBoard.d.ts +0 -107
- package/dist/components/game/2d/organisms/CityBuilderBoard.d.ts +0 -62
- package/dist/components/game/2d/organisms/ClassifierBoard.d.ts +0 -66
- package/dist/components/game/2d/organisms/DebuggerBoard.d.ts +0 -61
- package/dist/components/game/2d/organisms/EventHandlerBoard.d.ts +0 -42
- package/dist/components/game/2d/organisms/EventLog.d.ts +0 -31
- package/dist/components/game/2d/organisms/FishingBoard.d.ts +0 -41
- package/dist/components/game/2d/organisms/HexStrategyBoard.d.ts +0 -44
- package/dist/components/game/2d/organisms/HolidayRunnerBoard.d.ts +0 -37
- package/dist/components/game/2d/organisms/MatchPuzzleBoard.d.ts +0 -37
- package/dist/components/game/2d/organisms/MinigolfBoard.d.ts +0 -37
- package/dist/components/game/2d/organisms/NegotiatorBoard.d.ts +0 -56
- package/dist/components/game/2d/organisms/ObjectRulePanel.d.ts +0 -27
- package/dist/components/game/2d/organisms/PinballBoard.d.ts +0 -43
- package/dist/components/game/2d/organisms/PirateBoard.d.ts +0 -44
- package/dist/components/game/2d/organisms/PlatformerBoard.d.ts +0 -46
- package/dist/components/game/2d/organisms/RacingBoard.d.ts +0 -44
- package/dist/components/game/2d/organisms/RoguelikeBoard.d.ts +0 -60
- package/dist/components/game/2d/organisms/RuleEditor.d.ts +0 -39
- package/dist/components/game/2d/organisms/SequenceBar.d.ts +0 -41
- package/dist/components/game/2d/organisms/SequencerBoard.d.ts +0 -65
- package/dist/components/game/2d/organisms/SimulationCanvas.d.ts +0 -27
- package/dist/components/game/2d/organisms/SimulationControls.d.ts +0 -34
- package/dist/components/game/2d/organisms/SimulationGraph.d.ts +0 -25
- package/dist/components/game/2d/organisms/SimulatorBoard.d.ts +0 -58
- package/dist/components/game/2d/organisms/SokobanBoard.d.ts +0 -37
- package/dist/components/game/2d/organisms/SpaceShmupBoard.d.ts +0 -44
- package/dist/components/game/2d/organisms/SpaceStationBoard.d.ts +0 -37
- package/dist/components/game/2d/organisms/SportsBoard.d.ts +0 -37
- package/dist/components/game/2d/organisms/StateArchitectBoard.d.ts +0 -61
- package/dist/components/game/2d/organisms/StateJsonView.d.ts +0 -17
- package/dist/components/game/2d/organisms/StateNode.d.ts +0 -31
- package/dist/components/game/2d/organisms/TanksBoard.d.ts +0 -37
- package/dist/components/game/2d/organisms/TopDownShooterBoard.d.ts +0 -63
- package/dist/components/game/2d/organisms/TowerDefenseBoard.d.ts +0 -85
- package/dist/components/game/2d/organisms/TraitSlot.d.ts +0 -96
- package/dist/components/game/2d/organisms/TraitStateViewer.d.ts +0 -54
- package/dist/components/game/2d/organisms/TransitionArrow.d.ts +0 -31
- package/dist/components/game/2d/organisms/UncontrolledBattleBoard.d.ts +0 -43
- package/dist/components/game/2d/organisms/VariablePanel.d.ts +0 -22
- package/dist/components/game/2d/organisms/VisualNovelBoard.d.ts +0 -44
- package/dist/components/game/2d/organisms/WorldMapBoard.d.ts +0 -155
- package/dist/components/game/2d/templates/BattleTemplate.d.ts +0 -34
- package/dist/components/game/2d/templates/CardBattlerTemplate.d.ts +0 -35
- package/dist/components/game/2d/templates/CastleTemplate.d.ts +0 -32
- package/dist/components/game/2d/templates/CityBuilderTemplate.d.ts +0 -40
- package/dist/components/game/2d/templates/GameShell.d.ts +0 -34
- package/dist/components/game/2d/templates/GameTemplate.d.ts +0 -32
- package/dist/components/game/2d/templates/PlatformerTemplate.d.ts +0 -27
- package/dist/components/game/2d/templates/RoguelikeTemplate.d.ts +0 -23
- package/dist/components/game/2d/templates/TopDownShooterTemplate.d.ts +0 -42
- package/dist/components/game/2d/templates/TowerDefenseTemplate.d.ts +0 -43
- package/dist/components/game/2d/templates/VisualNovelTemplate.d.ts +0 -28
- package/dist/components/game/2d/templates/WorldMapTemplate.d.ts +0 -38
- package/dist/components/game/3d/index.cjs +0 -7050
- package/dist/components/game/3d/index.css +0 -503
- package/dist/components/game/3d/index.d.ts +0 -13
- package/dist/components/game/3d/index.js +0 -6974
- package/dist/components/game/3d/molecules/Camera3D.d.ts +0 -60
- package/dist/components/game/3d/molecules/Canvas3D.d.ts +0 -45
- package/dist/components/game/3d/molecules/Canvas3DErrorBoundary.d.ts +0 -51
- package/dist/components/game/3d/molecules/Canvas3DLoadingState.d.ts +0 -44
- package/dist/components/game/3d/molecules/GameCanvas3D.d.ts +0 -226
- package/dist/components/game/3d/molecules/Lighting3D.d.ts +0 -47
- package/dist/components/game/3d/molecules/ModelLoader.d.ts +0 -44
- package/dist/components/game/3d/molecules/Scene3D.d.ts +0 -37
- package/dist/components/game/3d/molecules/index.d.ts +0 -36
- package/dist/components/game/3d/organisms/GameBoard3D.d.ts +0 -66
- package/dist/components/game/3d/patterns.d.ts +0 -20
- package/dist/components/game/3d/templates/GameCanvas3DBattleTemplate.d.ts +0 -82
- package/dist/components/game/3d/templates/GameCanvas3DCastleTemplate.d.ts +0 -87
- package/dist/components/game/3d/templates/GameCanvas3DWorldMapTemplate.d.ts +0 -95
- package/dist/components/game/shared/boardEntity.d.ts +0 -44
- package/dist/components/game/shared/canvasEffects.d.ts +0 -50
- package/dist/components/game/shared/combatPresets.d.ts +0 -15
- package/dist/components/game/shared/effects.d.ts +0 -253
- package/dist/components/game/shared/game.d.ts +0 -92
- package/dist/components/game/shared/hooks/useAssetLoader.d.ts +0 -58
- package/dist/components/game/shared/hooks/useBattleState.d.ts +0 -47
- package/dist/components/game/shared/hooks/useCamera.d.ts +0 -57
- package/dist/components/game/shared/hooks/useCanvasEffects.d.ts +0 -27
- package/dist/components/game/shared/hooks/useGameAudio.d.ts +0 -47
- package/dist/components/game/shared/hooks/useGameCanvas3DEvents.d.ts +0 -123
- package/dist/components/game/shared/hooks/useRaycaster.d.ts +0 -86
- package/dist/components/game/shared/hooks/useSceneGraph.d.ts +0 -67
- package/dist/components/game/shared/hooks/useThree.d.ts +0 -58
- package/dist/components/game/shared/hooks/useUnitSpriteAtlas.d.ts +0 -24
- package/dist/components/game/shared/index.d.ts +0 -21
- package/dist/components/game/shared/isometric.d.ts +0 -83
- package/dist/components/game/shared/isometricTypes.d.ts +0 -130
- package/dist/components/game/shared/lib/AssetLoader.d.ts +0 -80
- package/dist/components/game/shared/lib/culling.d.ts +0 -134
- package/dist/components/game/shared/lib/editorUtils.d.ts +0 -114
- package/dist/components/game/shared/lib/game3dAssetManifest.d.ts +0 -48
- package/dist/components/game/shared/lib/grid3D.d.ts +0 -154
- package/dist/components/game/shared/lib/mechanics.d.ts +0 -4
- package/dist/components/game/shared/lib/physicsPresets.d.ts +0 -4
- package/dist/components/game/shared/lib/physicsTypes.d.ts +0 -43
- package/dist/components/game/shared/lib/puzzleObject.d.ts +0 -32
- package/dist/components/game/shared/makeAsset.d.ts +0 -5
- package/dist/components/game/shared/providers/GameAudioProvider.d.ts +0 -53
- package/dist/components/game/shared/spriteAnimation.d.ts +0 -85
- package/dist/components/game/shared/spriteAnimationTypes.d.ts +0 -97
- package/dist/components/game/shared/spriteSheetConstants.d.ts +0 -16
- package/dist/components/game/shared/useImageCache.d.ts +0 -16
- package/dist/components/index.cjs +0 -57564
- package/dist/components/index.css +0 -1252
- package/dist/components/index.d.ts +0 -6
- package/dist/components/index.js +0 -57305
- package/dist/components/learning/atoms/LearningCanvas.d.ts +0 -80
- package/dist/components/learning/molecules/BiologyCanvas.d.ts +0 -47
- package/dist/components/learning/molecules/ChemistryCanvas.d.ts +0 -55
- package/dist/components/learning/molecules/MathCanvas.d.ts +0 -61
- package/dist/components/learning/molecules/PhysicsCanvas.d.ts +0 -54
- package/dist/components/marketing/atoms/AnimatedCounter.d.ts +0 -20
- package/dist/components/marketing/atoms/AnimatedGraphic.d.ts +0 -32
- package/dist/components/marketing/atoms/AnimatedReveal.d.ts +0 -26
- package/dist/components/marketing/atoms/ContentSection.d.ts +0 -16
- package/dist/components/marketing/atoms/MarketingStatCard.d.ts +0 -13
- package/dist/components/marketing/atoms/PatternTile.d.ts +0 -41
- package/dist/components/marketing/molecules/ArticleSection.d.ts +0 -18
- package/dist/components/marketing/molecules/CTABanner.d.ts +0 -26
- package/dist/components/marketing/molecules/CaseStudyCard.d.ts +0 -24
- package/dist/components/marketing/molecules/CommunityLinks.d.ts +0 -28
- package/dist/components/marketing/molecules/FeatureCard.d.ts +0 -26
- package/dist/components/marketing/molecules/GeometricPattern.d.ts +0 -33
- package/dist/components/marketing/molecules/HeroSection.d.ts +0 -28
- package/dist/components/marketing/molecules/InstallBox.d.ts +0 -16
- package/dist/components/marketing/molecules/MarketingFooter.d.ts +0 -29
- package/dist/components/marketing/molecules/PricingCard.d.ts +0 -19
- package/dist/components/marketing/molecules/PricingGrid.d.ts +0 -13
- package/dist/components/marketing/molecules/PullQuote.d.ts +0 -14
- package/dist/components/marketing/molecules/ServiceCatalog.d.ts +0 -19
- package/dist/components/marketing/molecules/ShowcaseCard.d.ts +0 -18
- package/dist/components/marketing/molecules/SplitSection.d.ts +0 -19
- package/dist/components/marketing/molecules/StatsGrid.d.ts +0 -18
- package/dist/components/marketing/molecules/StepFlow.d.ts +0 -21
- package/dist/components/marketing/molecules/TagCloud.d.ts +0 -18
- package/dist/components/marketing/molecules/TeamCard.d.ts +0 -19
- package/dist/components/marketing/organisms/CaseStudyOrganism.d.ts +0 -29
- package/dist/components/marketing/organisms/FeatureGridOrganism.d.ts +0 -30
- package/dist/components/marketing/organisms/HeroOrganism.d.ts +0 -42
- package/dist/components/marketing/organisms/PricingOrganism.d.ts +0 -33
- package/dist/components/marketing/organisms/ShowcaseOrganism.d.ts +0 -34
- package/dist/components/marketing/organisms/StatsOrganism.d.ts +0 -23
- package/dist/components/marketing/organisms/StepFlowOrganism.d.ts +0 -29
- package/dist/components/marketing/organisms/TeamOrganism.d.ts +0 -28
- package/dist/components/marketing/organisms/book/BookChapterView.d.ts +0 -21
- package/dist/components/marketing/organisms/book/BookCoverPage.d.ts +0 -21
- package/dist/components/marketing/organisms/book/BookNavBar.d.ts +0 -19
- package/dist/components/marketing/organisms/book/BookTableOfContents.d.ts +0 -20
- package/dist/components/marketing/organisms/book/BookViewer.d.ts +0 -31
- package/dist/components/marketing/templates/AboutPageTemplate.d.ts +0 -53
- package/dist/components/marketing/templates/AuthLayout.d.ts +0 -15
- package/dist/components/marketing/templates/FeatureDetailPageTemplate.d.ts +0 -37
- package/dist/components/marketing/templates/LandingPageTemplate.d.ts +0 -70
- package/dist/components/marketing/templates/PricingPageTemplate.d.ts +0 -44
- package/dist/context/index.cjs +0 -957
- package/dist/context/index.d.ts +0 -11
- package/dist/context/index.js +0 -899
- package/dist/hooks/index.cjs +0 -2778
- package/dist/hooks/index.d.ts +0 -32
- package/dist/hooks/index.js +0 -2738
- package/dist/hooks/useAgentChat.d.ts +0 -105
- package/dist/hooks/useAlmadarDndCollision.d.ts +0 -34
- package/dist/hooks/useAuthContext.d.ts +0 -25
- package/dist/hooks/useCanvasGestures.d.ts +0 -44
- package/dist/hooks/useClientEffects.d.ts +0 -88
- package/dist/hooks/useCompile.d.ts +0 -18
- package/dist/hooks/useDeepAgentGeneration.d.ts +0 -46
- package/dist/hooks/useDragReorder.d.ts +0 -26
- package/dist/hooks/useDraggable.d.ts +0 -25
- package/dist/hooks/useDropZone.d.ts +0 -23
- package/dist/hooks/useEventBus.d.ts +0 -99
- package/dist/hooks/useExtensions.d.ts +0 -32
- package/dist/hooks/useFileEditor.d.ts +0 -32
- package/dist/hooks/useFileSystem.d.ts +0 -50
- package/dist/hooks/useGitHub.d.ts +0 -58
- package/dist/hooks/useInfiniteScroll.d.ts +0 -13
- package/dist/hooks/useLongPress.d.ts +0 -16
- package/dist/hooks/useOrbitalHistory.d.ts +0 -39
- package/dist/hooks/usePreview.d.ts +0 -57
- package/dist/hooks/usePullToRefresh.d.ts +0 -25
- package/dist/hooks/useQuerySingleton.d.ts +0 -79
- package/dist/hooks/useRenderInterpolation.d.ts +0 -33
- package/dist/hooks/useResolvedSchema.d.ts +0 -45
- package/dist/hooks/useSwipeGesture.d.ts +0 -26
- package/dist/hooks/useTapReveal.d.ts +0 -32
- package/dist/hooks/useTraitStateMachine.d.ts +0 -105
- package/dist/hooks/useTranslate.d.ts +0 -35
- package/dist/hooks/useUIEvents.d.ts +0 -41
- package/dist/hooks/useUISlots.d.ts +0 -214
- package/dist/hooks/useValidation.d.ts +0 -46
- package/dist/lib/api-client.d.ts +0 -43
- package/dist/lib/client-effect-executor.d.ts +0 -57
- package/dist/lib/cn.d.ts +0 -6
- package/dist/lib/createClientEffectHandlers.d.ts +0 -42
- package/dist/lib/data-resolver.d.ts +0 -55
- package/dist/lib/debug.d.ts +0 -36
- package/dist/lib/debugRegistry.d.ts +0 -30
- package/dist/lib/debugUtils.d.ts +0 -27
- package/dist/lib/embedded-traits.d.ts +0 -39
- package/dist/lib/entityDebug.d.ts +0 -39
- package/dist/lib/fn-form-lambda.d.ts +0 -27
- package/dist/lib/getNestedValue.d.ts +0 -34
- package/dist/lib/guardRegistry.d.ts +0 -33
- package/dist/lib/iconFamily.d.ts +0 -41
- package/dist/lib/index.cjs +0 -1616
- package/dist/lib/index.d.ts +0 -18
- package/dist/lib/index.js +0 -1524
- package/dist/lib/init.d.ts +0 -14
- package/dist/lib/jazari/index.d.ts +0 -5
- package/dist/lib/jazari/layout.d.ts +0 -31
- package/dist/lib/jazari/svg-paths.d.ts +0 -61
- package/dist/lib/jazari/types.d.ts +0 -91
- package/dist/lib/offline-executor.d.ts +0 -239
- package/dist/lib/orbitalsByTrait.d.ts +0 -34
- package/dist/lib/parseContentSegments.d.ts +0 -42
- package/dist/lib/pattern-resolver.d.ts +0 -88
- package/dist/lib/perf.d.ts +0 -32
- package/dist/lib/prepareSchemaForPreview.d.ts +0 -71
- package/dist/lib/slot-definitions.d.ts +0 -33
- package/dist/lib/themeTokens.d.ts +0 -55
- package/dist/lib/tickRegistry.d.ts +0 -40
- package/dist/lib/trait-binding-resolver.d.ts +0 -57
- package/dist/lib/traitRegistry.d.ts +0 -34
- package/dist/lib/verificationRegistry.d.ts +0 -91
- package/dist/lib/visualizer/browser.d.ts +0 -48
- package/dist/lib/visualizer/index.d.ts +0 -144
- package/dist/lib/wrapCallbackForEvent.d.ts +0 -16
- package/dist/locales/index.cjs +0 -1761
- package/dist/locales/index.d.ts +0 -20
- package/dist/locales/index.js +0 -1757
- package/dist/marketing/index.cjs +0 -6966
- package/dist/marketing/index.d.cts +0 -1061
- package/dist/marketing/index.d.ts +0 -72
- package/dist/marketing/index.js +0 -6903
- package/dist/providers/CurrentPagePathContext.d.ts +0 -9
- package/dist/providers/DesignThemeContext.d.ts +0 -21
- package/dist/providers/EntitySchemaContext.d.ts +0 -81
- package/dist/providers/EventBusProvider.d.ts +0 -47
- package/dist/providers/OfflineModeProvider.d.ts +0 -79
- package/dist/providers/OrbitalProvider.d.ts +0 -110
- package/dist/providers/OrbitalThemeProvider.d.ts +0 -37
- package/dist/providers/SelectionProvider.d.ts +0 -82
- package/dist/providers/ServerBridge.d.ts +0 -102
- package/dist/providers/ThemeContext.d.ts +0 -104
- package/dist/providers/TraitProvider.d.ts +0 -53
- package/dist/providers/TraitScopeProvider.d.ts +0 -43
- package/dist/providers/UISlotContext.d.ts +0 -75
- package/dist/providers/UserContext.d.ts +0 -112
- package/dist/providers/VerificationProvider.d.ts +0 -64
- package/dist/providers/index.cjs +0 -54649
- package/dist/providers/index.css +0 -1252
- package/dist/providers/index.d.ts +0 -25
- package/dist/providers/index.js +0 -54550
- package/dist/providers/navigation.d.ts +0 -142
- package/dist/renderer/index.cjs +0 -855
- package/dist/renderer/index.d.ts +0 -28
- package/dist/renderer/index.js +0 -766
- package/dist/runtime/BrowserPlayground.d.ts +0 -34
- package/dist/runtime/OrbPreview.d.ts +0 -84
- package/dist/runtime/index.cjs +0 -54826
- package/dist/runtime/index.css +0 -1252
- package/dist/runtime/index.d.ts +0 -21
- package/dist/runtime/index.js +0 -54729
- package/dist/scripts/audit-tailwind-safelist.d.ts +0 -27
- package/dist/scripts/generate-design-system.d.ts +0 -29
- package/dist/scripts/generate-theme-from-schema.d.ts +0 -10
- package/dist/scripts/generate.d.ts +0 -12
- package/dist/scripts/suggest-components.d.ts +0 -31
- package/dist/scripts/types.d.ts +0 -129
- package/dist/tsup.config.d.ts +0 -3
- package/dist/types/event-bus-types.d.ts +0 -64
- package/dist/types/renderer-types.d.ts +0 -146
- package/dist/types/runtime-types.d.ts +0 -21
- package/dist/types/slot-types.d.ts +0 -49
- package/dist/vitest.config.d.ts +0 -2
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useUISlots Hook
|
|
3
|
-
*
|
|
4
|
-
* Core hook for managing UI slot rendering in the trait-driven architecture.
|
|
5
|
-
* Traits use render_ui effects to dynamically render content into slots.
|
|
6
|
-
*
|
|
7
|
-
* Slots:
|
|
8
|
-
* - main: Primary content area
|
|
9
|
-
* - sidebar: Left/right sidebar
|
|
10
|
-
* - modal: Modal overlay
|
|
11
|
-
* - drawer: Slide-in drawer
|
|
12
|
-
* - overlay: Full-screen overlay
|
|
13
|
-
* - center: Centered popup
|
|
14
|
-
* - toast: Toast notifications
|
|
15
|
-
* - hud-top: Game HUD top bar
|
|
16
|
-
* - hud-bottom: Game HUD bottom bar
|
|
17
|
-
* - floating: Draggable floating panel
|
|
18
|
-
*
|
|
19
|
-
* Multi-source model (2026-04-24):
|
|
20
|
-
* A slot can receive renders from multiple source traits across independent
|
|
21
|
-
* batches (e.g. in the playground, ProbeCreate renders "main" on INIT, then
|
|
22
|
-
* later ProbePersistor cascades a render into "main" too). Prior code stored
|
|
23
|
-
* a single SlotContent per slot and last-writer-wins silently dropped
|
|
24
|
-
* earlier traits' frames. Internally the manager now holds a
|
|
25
|
-
* `Record<UISlot, Record<sourceKey, SlotContent>>` map and consumers see an
|
|
26
|
-
* aggregated view: a single SlotContent for single-source slots, or a
|
|
27
|
-
* synthetic `stack` wrapper when 2+ sources are active simultaneously.
|
|
28
|
-
* This mirrors the compiled-path page layout's VStack-of-trait-views.
|
|
29
|
-
*
|
|
30
|
-
* @packageDocumentation
|
|
31
|
-
*/
|
|
32
|
-
import type React from 'react';
|
|
33
|
-
import type { EventPayloadValue, RenderItemLambda, UISlot } from '@almadar/core';
|
|
34
|
-
export type { UISlot };
|
|
35
|
-
/**
|
|
36
|
-
* Animation types for slot transitions
|
|
37
|
-
*/
|
|
38
|
-
export type SlotAnimation = 'fade' | 'slide' | 'scale' | 'none';
|
|
39
|
-
/**
|
|
40
|
-
* Render-prop callback after fn-form-lambda conversion or
|
|
41
|
-
* `wrapCallbackForEvent` wrapping. Pattern components consume these as
|
|
42
|
-
* `renderItem` / `onTabChange` / `onClick` / etc. The arg list is
|
|
43
|
-
* contravariant (`never[]` accepts any caller shape — event handlers,
|
|
44
|
-
* 2-arg `(item, index)` render-props, etc.); the return is the union of
|
|
45
|
-
* shapes seen at this layer. Pattern-level prop types narrow the
|
|
46
|
-
* signature for each consumer downstream.
|
|
47
|
-
*/
|
|
48
|
-
export type SlotCallback = (...args: never[]) => void | React.ReactNode | EventPayloadValue;
|
|
49
|
-
/**
|
|
50
|
-
* Render-ui prop value: any leaf flowing from a `(render-ui slot {...})`
|
|
51
|
-
* effect into a React pattern component. The union enumerates every
|
|
52
|
-
* shape the renderer can receive — no `unknown` escape hatch.
|
|
53
|
-
*
|
|
54
|
-
* - JSON primitives (`string`, `number`, `boolean`, `Date`, `null`,
|
|
55
|
-
* `undefined`) come through `BindingResolver`.
|
|
56
|
-
* - `RenderItemLambda` is the unconverted tuple form `["fn", arg, body]`;
|
|
57
|
-
* `SlotCallback` is the post-conversion callable form.
|
|
58
|
-
* - `React.ReactNode` covers substituted `<TraitFrame>` elements.
|
|
59
|
-
* - The recursive array + object branches mirror the `EventPayloadValue`
|
|
60
|
-
* shape but with `SlotPropValue` leaves so functions and React nodes
|
|
61
|
-
* can appear at any depth (e.g. `tabs[].content: "@trait.X"` surviving
|
|
62
|
-
* substitution into a `ReactElement`).
|
|
63
|
-
*/
|
|
64
|
-
export type SlotPropValue = string | number | boolean | Date | null | undefined | RenderItemLambda | SlotCallback | React.ReactElement | ReadonlyArray<SlotPropValue> | {
|
|
65
|
-
readonly [key: string]: SlotPropValue;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* Pattern-specific props carried by a rendered slot. The slot manager
|
|
69
|
-
* routes these from `(render-ui slot {...})` effects to React pattern
|
|
70
|
-
* components without coercion.
|
|
71
|
-
*/
|
|
72
|
-
export type SlotProps = Record<string, SlotPropValue>;
|
|
73
|
-
/**
|
|
74
|
-
* Content rendered in a slot
|
|
75
|
-
*/
|
|
76
|
-
export interface SlotContent {
|
|
77
|
-
/** Unique ID for this content */
|
|
78
|
-
id: string;
|
|
79
|
-
/** Pattern/component type to render */
|
|
80
|
-
pattern: string;
|
|
81
|
-
/** Props to pass to the pattern component */
|
|
82
|
-
props: SlotProps;
|
|
83
|
-
/** Priority for conflict resolution (higher wins) */
|
|
84
|
-
priority: number;
|
|
85
|
-
/** Animation for showing/hiding */
|
|
86
|
-
animation?: SlotAnimation;
|
|
87
|
-
/** Auto-dismiss timestamp (for toasts) */
|
|
88
|
-
autoDismissAt?: number;
|
|
89
|
-
/** Callback when dismissed */
|
|
90
|
-
onDismiss?: () => void;
|
|
91
|
-
/** Source trait that rendered this content */
|
|
92
|
-
sourceTrait?: string;
|
|
93
|
-
/** Stable node ID from the schema pattern tree (for edit mode overlay targeting) */
|
|
94
|
-
nodeId?: string;
|
|
95
|
-
/** Slot this content was rendered into (= SlotRenderConfig.target) — contextual-edit address. */
|
|
96
|
-
slot?: string;
|
|
97
|
-
/** Transition event key that produced this render (raw, as fired). */
|
|
98
|
-
transitionEvent?: string;
|
|
99
|
-
/** State the trait was in when this render fired (the from-state). */
|
|
100
|
-
fromState?: string;
|
|
101
|
-
/** linkedEntity of the source trait — contextual-edit address. */
|
|
102
|
-
entity?: string;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Configuration for render_ui effect
|
|
106
|
-
*/
|
|
107
|
-
export interface SlotRenderConfig {
|
|
108
|
-
/** Target slot */
|
|
109
|
-
target: UISlot;
|
|
110
|
-
/** Pattern/component to render */
|
|
111
|
-
pattern: string;
|
|
112
|
-
/** Props for the pattern */
|
|
113
|
-
props?: SlotProps;
|
|
114
|
-
/** Priority (default: 0) */
|
|
115
|
-
priority?: number;
|
|
116
|
-
/** Animation type */
|
|
117
|
-
animation?: SlotAnimation;
|
|
118
|
-
/** Auto-dismiss after ms (for toasts) */
|
|
119
|
-
autoDismissMs?: number;
|
|
120
|
-
/** Callback on dismiss */
|
|
121
|
-
onDismiss?: () => void;
|
|
122
|
-
/** Source trait name */
|
|
123
|
-
sourceTrait?: string;
|
|
124
|
-
/** Transition event key that produced this render (raw, as fired). */
|
|
125
|
-
transitionEvent?: string;
|
|
126
|
-
/** State the trait was in when this render fired (the from-state). */
|
|
127
|
-
fromState?: string;
|
|
128
|
-
/** linkedEntity of the source trait. */
|
|
129
|
-
entity?: string;
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* Callback for slot changes
|
|
133
|
-
*/
|
|
134
|
-
export type SlotChangeCallback = (slot: UISlot, content: SlotContent | null) => void;
|
|
135
|
-
/**
|
|
136
|
-
* Fires when a specific trait's current render-ui output changes.
|
|
137
|
-
* Used by `<TraitFrame>` to subscribe only to the trait it embeds,
|
|
138
|
-
* avoiding wide re-renders when unrelated slots update.
|
|
139
|
-
*
|
|
140
|
-
* Per-trait index stores exactly one entry per trait (the most recent
|
|
141
|
-
* render), so the callback signature carries just the new content —
|
|
142
|
-
* no per-slot disambiguation needed.
|
|
143
|
-
*/
|
|
144
|
-
export type TraitChangeCallback = (content: SlotContent | null) => void;
|
|
145
|
-
/**
|
|
146
|
-
* UI Slot Manager interface
|
|
147
|
-
*/
|
|
148
|
-
export interface UISlotManager {
|
|
149
|
-
/**
|
|
150
|
-
* Current aggregate content for each slot. Single-source slots hold
|
|
151
|
-
* that source's SlotContent; multi-source slots hold a synthetic
|
|
152
|
-
* `stack` wrapper whose `children` prop is the list of per-source
|
|
153
|
-
* pattern configs in insertion order. Single consumers can continue
|
|
154
|
-
* to read `slots[slot]` without knowing the slot is multi-source.
|
|
155
|
-
*/
|
|
156
|
-
slots: Partial<Record<UISlot, SlotContent | null>>;
|
|
157
|
-
/** Render content to a slot */
|
|
158
|
-
render: (config: SlotRenderConfig) => string;
|
|
159
|
-
/** Clear all source entries from a slot */
|
|
160
|
-
clear: (slot: UISlot) => void;
|
|
161
|
-
/** Clear a single source's contribution from a slot, keeping others */
|
|
162
|
-
clearBySource: (slot: UISlot, sourceTrait: string) => void;
|
|
163
|
-
/** Clear content by ID */
|
|
164
|
-
clearById: (id: string) => void;
|
|
165
|
-
/** Clear all slots */
|
|
166
|
-
clearAll: () => void;
|
|
167
|
-
/** Subscribe to slot changes */
|
|
168
|
-
subscribe: (callback: SlotChangeCallback) => () => void;
|
|
169
|
-
/** Check if a slot has content */
|
|
170
|
-
hasContent: (slot: UISlot) => boolean;
|
|
171
|
-
/** Get aggregated content for a slot (single or synthetic stack) */
|
|
172
|
-
getContent: (slot: UISlot) => SlotContent | null;
|
|
173
|
-
/**
|
|
174
|
-
* Look up the most recent `render-ui` output a given trait produced,
|
|
175
|
-
* keyed by `SlotContent.sourceTrait`. Returns `null` when the trait
|
|
176
|
-
* hasn't rendered yet.
|
|
177
|
-
*
|
|
178
|
-
* Backs the `@trait.X` binding's client-side resolution via
|
|
179
|
-
* `<TraitFrame>`. See `docs/Almadar_Std_Gaps.md` §3.8. The binding is
|
|
180
|
-
* single-segment — there's intentionally no slot disambiguation.
|
|
181
|
-
*/
|
|
182
|
-
getTraitContent: (traitName: string) => SlotContent | null;
|
|
183
|
-
/**
|
|
184
|
-
* Subscribe to changes in a specific trait's render output. Returns
|
|
185
|
-
* an unsubscribe function.
|
|
186
|
-
*
|
|
187
|
-
* Scoped per-trait so `<TraitFrame>` components only re-render when
|
|
188
|
-
* the trait they embed actually changes — not on every slot update.
|
|
189
|
-
*/
|
|
190
|
-
subscribeTrait: (traitName: string, callback: TraitChangeCallback) => () => void;
|
|
191
|
-
/**
|
|
192
|
-
* Update only the per-trait sidecar without writing to any slot.
|
|
193
|
-
*
|
|
194
|
-
* Used for embed-aware slot routing: when a trait is referenced via
|
|
195
|
-
* `@trait.X` by a sibling layout's render-ui, its render output should
|
|
196
|
-
* not stack into the same slot the layout writes — the layout owns the
|
|
197
|
-
* slot and embeds the trait's frame via `<TraitFrame>`. This method
|
|
198
|
-
* keeps the per-trait sidecar (`traitIndexRef`) up-to-date so
|
|
199
|
-
* `<TraitFrame>` re-renders, while leaving `slots[target]` untouched.
|
|
200
|
-
*
|
|
201
|
-
* Mirrors what the compiled-path codegen does structurally — atoms
|
|
202
|
-
* inlined as JSX inside the layout's pattern, not writing slots.
|
|
203
|
-
*/
|
|
204
|
-
updateTraitContent: (traitName: string, content: Omit<SlotContent, 'id' | 'sourceTrait'>) => string;
|
|
205
|
-
}
|
|
206
|
-
declare const DEFAULT_SLOTS: Partial<Record<UISlot, SlotContent | null>>;
|
|
207
|
-
/**
|
|
208
|
-
* Create a UI Slot Manager instance.
|
|
209
|
-
*
|
|
210
|
-
* This is the internal hook that creates the manager.
|
|
211
|
-
* Use `useUISlots()` from context in components.
|
|
212
|
-
*/
|
|
213
|
-
export declare function useUISlotManager(): UISlotManager;
|
|
214
|
-
export { DEFAULT_SLOTS };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export interface LLMErrorContext {
|
|
2
|
-
rawValuePreview?: string;
|
|
3
|
-
expectedType?: string;
|
|
4
|
-
actualType?: string;
|
|
5
|
-
source?: {
|
|
6
|
-
agent: 'requirements' | 'builder' | 'view-planner';
|
|
7
|
-
operation: string;
|
|
8
|
-
promptHash?: string;
|
|
9
|
-
};
|
|
10
|
-
tokenUsage?: {
|
|
11
|
-
prompt: number;
|
|
12
|
-
completion: number;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export interface ValidationError {
|
|
16
|
-
code: string;
|
|
17
|
-
message: string;
|
|
18
|
-
path?: string;
|
|
19
|
-
severity: 'error' | 'warning';
|
|
20
|
-
suggestion?: string;
|
|
21
|
-
validValues?: string[];
|
|
22
|
-
expectedShape?: string;
|
|
23
|
-
fixGuidance?: string;
|
|
24
|
-
llmContext?: LLMErrorContext;
|
|
25
|
-
}
|
|
26
|
-
export interface ValidationResult {
|
|
27
|
-
valid: boolean;
|
|
28
|
-
errors: ValidationError[];
|
|
29
|
-
warnings: ValidationError[];
|
|
30
|
-
}
|
|
31
|
-
export type ValidationStage = 'idle' | 'validating' | 'fixing' | 'complete';
|
|
32
|
-
export interface UseValidationResult {
|
|
33
|
-
result: ValidationResult | null;
|
|
34
|
-
isValidating: boolean;
|
|
35
|
-
error: string | null;
|
|
36
|
-
stage: ValidationStage;
|
|
37
|
-
isFixing: boolean;
|
|
38
|
-
progressMessage: string | null;
|
|
39
|
-
errors: ValidationError[];
|
|
40
|
-
warnings: ValidationError[];
|
|
41
|
-
isValid: boolean;
|
|
42
|
-
validate: (appId: string) => Promise<ValidationResult>;
|
|
43
|
-
clearResult: () => void;
|
|
44
|
-
reset: () => void;
|
|
45
|
-
}
|
|
46
|
-
export declare function useValidation(): UseValidationResult;
|
package/dist/lib/api-client.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API Client - HTTP client for backend API calls
|
|
3
|
-
*
|
|
4
|
-
* Provides typed methods for making API requests.
|
|
5
|
-
* All requests go through the backend server, NOT directly to Firestore.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
*/
|
|
9
|
-
import type { FieldValue } from '@almadar/core';
|
|
10
|
-
/**
|
|
11
|
-
* API Error class for handling HTTP errors
|
|
12
|
-
*/
|
|
13
|
-
export declare class ApiError extends Error {
|
|
14
|
-
status: number;
|
|
15
|
-
statusText: string;
|
|
16
|
-
constructor(status: number, statusText: string, message?: string);
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* API client with typed methods
|
|
20
|
-
*/
|
|
21
|
-
export declare const apiClient: {
|
|
22
|
-
/**
|
|
23
|
-
* GET request
|
|
24
|
-
*/
|
|
25
|
-
get<T>(endpoint: string): Promise<T>;
|
|
26
|
-
/**
|
|
27
|
-
* POST request
|
|
28
|
-
*/
|
|
29
|
-
post<T>(endpoint: string, data?: Record<string, FieldValue>): Promise<T>;
|
|
30
|
-
/**
|
|
31
|
-
* PUT request
|
|
32
|
-
*/
|
|
33
|
-
put<T>(endpoint: string, data?: Record<string, FieldValue>): Promise<T>;
|
|
34
|
-
/**
|
|
35
|
-
* PATCH request
|
|
36
|
-
*/
|
|
37
|
-
patch<T>(endpoint: string, data?: Record<string, FieldValue>): Promise<T>;
|
|
38
|
-
/**
|
|
39
|
-
* DELETE request
|
|
40
|
-
*/
|
|
41
|
-
delete<T = void>(endpoint: string): Promise<T>;
|
|
42
|
-
};
|
|
43
|
-
export default apiClient;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Client Effect Executor
|
|
3
|
-
*
|
|
4
|
-
* Executes client effects returned from the server.
|
|
5
|
-
* This is the core of the dual execution model - the server processes
|
|
6
|
-
* events and returns client effects, which this module executes.
|
|
7
|
-
*
|
|
8
|
-
* Used by both Builder preview and compiled shells.
|
|
9
|
-
*
|
|
10
|
-
* @packageDocumentation
|
|
11
|
-
*/
|
|
12
|
-
import type { FieldValue } from '@almadar/core';
|
|
13
|
-
import type { ClientEffect, ClientEffectExecutorConfig, PatternConfig, NotifyOptions } from '../types/renderer-types';
|
|
14
|
-
/**
|
|
15
|
-
* Execute an array of client effects.
|
|
16
|
-
*
|
|
17
|
-
* Effects are executed sequentially in order.
|
|
18
|
-
* Errors in one effect don't prevent subsequent effects from executing.
|
|
19
|
-
*
|
|
20
|
-
* @param effects - Array of client effects to execute
|
|
21
|
-
* @param config - Configuration providing implementations for each effect type
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* ```typescript
|
|
25
|
-
* executeClientEffects(
|
|
26
|
-
* [
|
|
27
|
-
* ['render-ui', 'main', { type: 'entity-table', entity: 'Task' }],
|
|
28
|
-
* ['notify', 'Tasks loaded!', { type: 'success' }]
|
|
29
|
-
* ],
|
|
30
|
-
* {
|
|
31
|
-
* renderToSlot: (slot, pattern) => slotManager.render(slot, pattern),
|
|
32
|
-
* navigate: (path) => router.push(path),
|
|
33
|
-
* notify: (message, opts) => toast.show(message, opts),
|
|
34
|
-
* eventBus: { emit: (event, payload) => bus.emit(event, payload) }
|
|
35
|
-
* }
|
|
36
|
-
* );
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare function executeClientEffects(effects: ClientEffect[], config: ClientEffectExecutorConfig): void;
|
|
40
|
-
/**
|
|
41
|
-
* Parse a raw effect array into a typed ClientEffect.
|
|
42
|
-
* Handles unknown effect formats gracefully.
|
|
43
|
-
*/
|
|
44
|
-
export declare function parseClientEffect(raw: FieldValue[]): ClientEffect | null;
|
|
45
|
-
/**
|
|
46
|
-
* Parse an array of raw effects into typed ClientEffects.
|
|
47
|
-
* Filters out invalid effects.
|
|
48
|
-
*/
|
|
49
|
-
export declare function parseClientEffects(raw: FieldValue[] | undefined): ClientEffect[];
|
|
50
|
-
/**
|
|
51
|
-
* Get all render-ui effects.
|
|
52
|
-
*/
|
|
53
|
-
export declare function getRenderUIEffects(effects: ClientEffect[]): Array<['render-ui', string, PatternConfig | null]>;
|
|
54
|
-
/**
|
|
55
|
-
* Get all notify effects.
|
|
56
|
-
*/
|
|
57
|
-
export declare function getNotifyEffects(effects: ClientEffect[]): Array<['notify', string, NotifyOptions?]>;
|
package/dist/lib/cn.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Client Effect Handlers Factory
|
|
3
|
-
*
|
|
4
|
-
* Creates the standard effect handler set for client-side trait execution.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
*/
|
|
8
|
-
import type { EventPayload, EntityRow, FieldValue, ServiceParams, PatternConfig } from '@almadar/core';
|
|
9
|
-
import type { EffectHandlers } from '@almadar/runtime';
|
|
10
|
-
export interface ClientEventBus {
|
|
11
|
-
emit: (type: string, payload?: EventPayload) => void;
|
|
12
|
-
}
|
|
13
|
-
export interface SlotSetter {
|
|
14
|
-
addPattern: (slot: string, pattern: PatternConfig | null, props?: Record<string, FieldValue | undefined>) => void;
|
|
15
|
-
clearSlot: (slot: string) => void;
|
|
16
|
-
}
|
|
17
|
-
export interface CreateClientEffectHandlersOptions {
|
|
18
|
-
eventBus: ClientEventBus;
|
|
19
|
-
slotSetter: SlotSetter;
|
|
20
|
-
navigate?: (path: string, params?: Record<string, string>) => void;
|
|
21
|
-
notify?: (message: string, type: 'success' | 'error' | 'warning' | 'info') => void;
|
|
22
|
-
/**
|
|
23
|
-
* Live client-entity write target for `[runtime]` entities. `(set
|
|
24
|
-
* @entity.<field> value)` runs entirely in the browser for in-memory
|
|
25
|
-
* entities (game boards, wizards): there is no server row to persist to,
|
|
26
|
-
* so the canonical client `set` must mutate THIS object — the same object
|
|
27
|
-
* `EffectExecutor` reads `@entity.*` from for the current `executeAll` and
|
|
28
|
-
* the next tick seeds from. When omitted, `set` is a no-op (bridge mode:
|
|
29
|
-
* the server owns persistence). One store, read live by render-ui, guards,
|
|
30
|
-
* and ticks — no guard-vs-render split.
|
|
31
|
-
*/
|
|
32
|
-
liveEntity?: EntityRow;
|
|
33
|
-
/**
|
|
34
|
-
* Optional consumer-supplied call-service handler. When set, it runs
|
|
35
|
-
* instead of the default mock fallback — use to wire the playground
|
|
36
|
-
* to real backends. When omitted, `callService` returns a synthetic
|
|
37
|
-
* mock result so service-atom chains advance end-to-end in offline /
|
|
38
|
-
* standalone-preview mode (see OrbitalServerRuntime's mock parallel).
|
|
39
|
-
*/
|
|
40
|
-
callService?: (service: string, action: string, params?: ServiceParams) => Promise<EventPayload>;
|
|
41
|
-
}
|
|
42
|
-
export declare function createClientEffectHandlers(options: CreateClientEffectHandlersOptions): EffectHandlers;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Data Resolver
|
|
3
|
-
*
|
|
4
|
-
* Resolves entity data for pattern rendering.
|
|
5
|
-
* Supports multiple data sources with priority:
|
|
6
|
-
* 1. Server-provided data (from EventResponse.data)
|
|
7
|
-
* 2. Entity store (Builder in-memory mock data)
|
|
8
|
-
* 3. Empty array (fallback)
|
|
9
|
-
*
|
|
10
|
-
* Used by both Builder's PatternRenderer and compiled shell's UISlotRenderer.
|
|
11
|
-
*
|
|
12
|
-
* @packageDocumentation
|
|
13
|
-
*/
|
|
14
|
-
import type { EntityRow } from '@almadar/core';
|
|
15
|
-
import type { DataContext, DataResolution } from '../types/renderer-types';
|
|
16
|
-
/**
|
|
17
|
-
* Resolve entity data from available sources.
|
|
18
|
-
*
|
|
19
|
-
* Priority:
|
|
20
|
-
* 1. fetchedData (from server response) - highest priority
|
|
21
|
-
* 2. entityStore (Builder mock data)
|
|
22
|
-
* 3. Empty array (fallback)
|
|
23
|
-
*
|
|
24
|
-
* @param entityName - Name of the entity to resolve data for
|
|
25
|
-
* @param context - Data context with available sources
|
|
26
|
-
* @returns Resolved data with loading state
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```typescript
|
|
30
|
-
* const { data, loading } = resolveEntityData('Task', {
|
|
31
|
-
* fetchedData: response.data,
|
|
32
|
-
* entityStore: mockStore
|
|
33
|
-
* });
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
export declare function resolveEntityData(entityName: string, context: DataContext): DataResolution;
|
|
37
|
-
/**
|
|
38
|
-
* Resolve entity data with query filtering.
|
|
39
|
-
*
|
|
40
|
-
* Applies query singleton filters if available.
|
|
41
|
-
*
|
|
42
|
-
* @param entityName - Name of the entity
|
|
43
|
-
* @param queryRef - Optional query reference for filtering
|
|
44
|
-
* @param context - Data context
|
|
45
|
-
* @returns Filtered resolved data
|
|
46
|
-
*/
|
|
47
|
-
export declare function resolveEntityDataWithQuery(entityName: string, queryRef: string | undefined, context: DataContext): DataResolution;
|
|
48
|
-
/**
|
|
49
|
-
* Get a single entity record by ID.
|
|
50
|
-
*/
|
|
51
|
-
export declare function resolveEntityById(entityName: string, id: string | number, context: DataContext): EntityRow | null;
|
|
52
|
-
/**
|
|
53
|
-
* Check if any entities exist for a given entity name.
|
|
54
|
-
*/
|
|
55
|
-
export declare function hasEntities(entityName: string, context: DataContext): boolean;
|
package/dist/lib/debug.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Legacy debug helpers, now routed through `@almadar/logger`.
|
|
3
|
-
*
|
|
4
|
-
* The variadic `debug(...args)` shape is preserved for the many existing
|
|
5
|
-
* call sites (Form.tsx, RelationSelect.tsx, game helpers, etc.), but the
|
|
6
|
-
* gate is no longer a separate localStorage check — every helper here
|
|
7
|
-
* runs through the same priority/namespace gate the rest of the codebase
|
|
8
|
-
* uses. `setLogLevel('WARN')` silences them. `globalThis.__ALMADAR_DEBUG__`
|
|
9
|
-
* filters them by namespace.
|
|
10
|
-
*
|
|
11
|
-
* Namespace: `almadar:ui:debug` (plus per-area suffixes for input,
|
|
12
|
-
* collision, physics, game-state).
|
|
13
|
-
*/
|
|
14
|
-
export declare function isDebugEnabled(): boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Variadic legacy debug. The first arg is the message; the rest is
|
|
17
|
-
* stringified into the LogData. Routes through the shared gate.
|
|
18
|
-
*/
|
|
19
|
-
export declare function debug(...args: unknown[]): void;
|
|
20
|
-
export declare function debugGroup(label: string): void;
|
|
21
|
-
export declare function debugGroupEnd(): void;
|
|
22
|
-
export declare function debugWarn(...args: unknown[]): void;
|
|
23
|
-
export declare function debugError(...args: unknown[]): void;
|
|
24
|
-
export declare function debugTable(data: unknown): void;
|
|
25
|
-
export declare function debugTime(label: string): void;
|
|
26
|
-
export declare function debugTimeEnd(label: string): void;
|
|
27
|
-
export declare function debugInput(inputType: string, data: unknown): void;
|
|
28
|
-
export declare function debugCollision(entityA: {
|
|
29
|
-
id?: string;
|
|
30
|
-
type?: string;
|
|
31
|
-
}, entityB: {
|
|
32
|
-
id?: string;
|
|
33
|
-
type?: string;
|
|
34
|
-
}, details?: unknown): void;
|
|
35
|
-
export declare function debugPhysics(entityId: string, physics: unknown): void;
|
|
36
|
-
export declare function debugGameState(stateName: string, value: unknown): void;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Debug Registry - Central event log for debugging
|
|
3
|
-
*
|
|
4
|
-
* @packageDocumentation
|
|
5
|
-
*/
|
|
6
|
-
import type { FieldValue } from '@almadar/core';
|
|
7
|
-
export type DebugEventType = 'state-change' | 'event-fired' | 'effect-executed' | 'guard-evaluated' | 'error' | 'warning' | 'info';
|
|
8
|
-
export interface DebugEvent {
|
|
9
|
-
id: string;
|
|
10
|
-
type: DebugEventType;
|
|
11
|
-
source: string;
|
|
12
|
-
message: string;
|
|
13
|
-
data?: Record<string, FieldValue>;
|
|
14
|
-
timestamp: number;
|
|
15
|
-
}
|
|
16
|
-
type ChangeListener = () => void;
|
|
17
|
-
export declare function logDebugEvent(type: DebugEventType, source: string, message: string, data?: Record<string, FieldValue>): void;
|
|
18
|
-
export declare function logStateChange(source: string, from: string, to: string, event?: string): void;
|
|
19
|
-
export declare function logEventFired(source: string, eventName: string, payload?: FieldValue): void;
|
|
20
|
-
export declare function logEffectExecuted(source: string, effectType: string, details?: FieldValue): void;
|
|
21
|
-
export declare function logError(source: string, message: string, error?: Error | null): void;
|
|
22
|
-
export declare function logWarning(source: string, message: string, data?: Record<string, FieldValue>): void;
|
|
23
|
-
export declare function logInfo(source: string, message: string, data?: Record<string, FieldValue>): void;
|
|
24
|
-
export declare function getDebugEvents(): DebugEvent[];
|
|
25
|
-
export declare function getRecentEvents(count: number): DebugEvent[];
|
|
26
|
-
export declare function getEventsByType(type: DebugEventType): DebugEvent[];
|
|
27
|
-
export declare function getEventsBySource(source: string): DebugEvent[];
|
|
28
|
-
export declare function subscribeToDebugEvents(listener: ChangeListener): () => void;
|
|
29
|
-
export declare function clearDebugEvents(): void;
|
|
30
|
-
export {};
|
package/dist/lib/debugUtils.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Debug Utilities - Functions for toggling and checking debug mode
|
|
3
|
-
*
|
|
4
|
-
* @packageDocumentation
|
|
5
|
-
*/
|
|
6
|
-
type DebugToggleListener = (enabled: boolean) => void;
|
|
7
|
-
/**
|
|
8
|
-
* Check if debug mode is enabled
|
|
9
|
-
*/
|
|
10
|
-
export declare function isDebugEnabled(): boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Enable or disable debug mode
|
|
13
|
-
*/
|
|
14
|
-
export declare function setDebugEnabled(enabled: boolean): void;
|
|
15
|
-
/**
|
|
16
|
-
* Toggle debug mode
|
|
17
|
-
*/
|
|
18
|
-
export declare function toggleDebug(): boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Subscribe to debug mode changes
|
|
21
|
-
*/
|
|
22
|
-
export declare function onDebugToggle(listener: DebugToggleListener): () => void;
|
|
23
|
-
/**
|
|
24
|
-
* Initialize debug mode from keyboard shortcut (Ctrl+Shift+D)
|
|
25
|
-
*/
|
|
26
|
-
export declare function initDebugShortcut(): () => void;
|
|
27
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Embed-aware slot routing — static analysis pass.
|
|
3
|
-
*
|
|
4
|
-
* Walks every trait's `transitions[].effects` looking for `render-ui`
|
|
5
|
-
* patterns whose tree contains `@trait.<Name>` string literals. Returns
|
|
6
|
-
* the flat set of trait names that are referenced this way by some
|
|
7
|
-
* sibling layout.
|
|
8
|
-
*
|
|
9
|
-
* Used by `<OrbPreview>` to route `applyServerEffects` — when an
|
|
10
|
-
* embedded trait's render-ui effect arrives, the runtime updates that
|
|
11
|
-
* trait's per-trait sidecar (`traitIndexRef`) only and skips the slot
|
|
12
|
-
* write. The sibling layout owns the slot and embeds the trait's frame
|
|
13
|
-
* via `<TraitFrame>`. Mirrors the compiled-path codegen which inlines
|
|
14
|
-
* the atom views as JSX inside the layout's pattern, never having them
|
|
15
|
-
* write a shared slot.
|
|
16
|
-
*
|
|
17
|
-
* The walker is a structural twin of
|
|
18
|
-
* `packages/almadar-runtime/src/resolver/reference-resolver.ts`'s
|
|
19
|
-
* `renameEventsInRenderUiConfig` — same recursive pattern shape, just
|
|
20
|
-
* collecting `@trait.X` substrings instead of renaming events.
|
|
21
|
-
*
|
|
22
|
-
* @packageDocumentation
|
|
23
|
-
*/
|
|
24
|
-
import type { OrbitalSchema, ResolvedTrait } from '@almadar/core';
|
|
25
|
-
/**
|
|
26
|
-
* Collect the `@trait.X` names referenced by a single resolved trait's
|
|
27
|
-
* render-ui effects (transitions + initial + ticks). Used to pull embed-routed
|
|
28
|
-
* sibling traits into a page's state-machine binding set so their own state
|
|
29
|
-
* machines register + subscribe (otherwise their fetch-success is never heard).
|
|
30
|
-
*/
|
|
31
|
-
export declare function collectTraitRefsFromResolvedTrait(trait: ResolvedTrait): Set<string>;
|
|
32
|
-
/**
|
|
33
|
-
* Build the flat set of trait names that are referenced via `@trait.X`
|
|
34
|
-
* by at least one trait's render-ui in the resolved schema.
|
|
35
|
-
*
|
|
36
|
-
* Safe to call on the resolved (post-inline) schema. Memoize by
|
|
37
|
-
* reference at the call site.
|
|
38
|
-
*/
|
|
39
|
-
export declare function collectEmbeddedTraits(schema: OrbitalSchema | undefined | null): ReadonlySet<string>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Entity Debug - Provides entity state snapshots for debugging
|
|
3
|
-
*
|
|
4
|
-
* @packageDocumentation
|
|
5
|
-
*/
|
|
6
|
-
import type { FieldValue, EntityRow } from '@almadar/core';
|
|
7
|
-
export interface EntityState {
|
|
8
|
-
id: string;
|
|
9
|
-
type: string;
|
|
10
|
-
fields: Record<string, FieldValue>;
|
|
11
|
-
lastUpdated: number;
|
|
12
|
-
}
|
|
13
|
-
export interface RuntimeEntity {
|
|
14
|
-
id: string;
|
|
15
|
-
type: string;
|
|
16
|
-
data: Record<string, FieldValue>;
|
|
17
|
-
}
|
|
18
|
-
export interface PersistentEntityInfo {
|
|
19
|
-
loaded: boolean;
|
|
20
|
-
count: number;
|
|
21
|
-
}
|
|
22
|
-
export interface EntitySnapshot {
|
|
23
|
-
entities: EntityState[];
|
|
24
|
-
timestamp: number;
|
|
25
|
-
totalCount: number;
|
|
26
|
-
/** Singleton entities by name */
|
|
27
|
-
singletons: Record<string, EntityRow>;
|
|
28
|
-
/** Runtime entities (in-memory) */
|
|
29
|
-
runtime: RuntimeEntity[];
|
|
30
|
-
/** Persistent entities info by type */
|
|
31
|
-
persistent: Record<string, PersistentEntityInfo>;
|
|
32
|
-
}
|
|
33
|
-
type EntityProvider = () => EntityState[];
|
|
34
|
-
export declare function setEntityProvider(provider: EntityProvider): void;
|
|
35
|
-
export declare function clearEntityProvider(): void;
|
|
36
|
-
export declare function getEntitySnapshot(): EntitySnapshot | null;
|
|
37
|
-
export declare function getEntityById(id: string): EntityState | undefined;
|
|
38
|
-
export declare function getEntitiesByType(type: string): EntityState[];
|
|
39
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* fn-form lambda → React render-prop conversion at the render-ui
|
|
3
|
-
* dispatch site, before the pattern lands in `useUISlots`.
|
|
4
|
-
*
|
|
5
|
-
* `.lolo` authors per-row render functions for DataGrid/DataList/Carousel
|
|
6
|
-
* as `["fn", argName, body]`. By converting them to functions here,
|
|
7
|
-
* SlotContent's props match what consumer components expect (children =
|
|
8
|
-
* real function) without depending on a render-time conversion pass.
|
|
9
|
-
*
|
|
10
|
-
* @packageDocumentation
|
|
11
|
-
*/
|
|
12
|
-
import type { EntityRow, RenderItemLambda } from "@almadar/core";
|
|
13
|
-
import type { SlotProps, SlotPropValue } from "../hooks/useUISlots";
|
|
14
|
-
export declare function isFnFormLambda(value: SlotPropValue): value is RenderItemLambda;
|
|
15
|
-
/**
|
|
16
|
-
* Walk a pattern body replacing every `@<argName>.path` string with the
|
|
17
|
-
* value at `path` of `arg`. Mirrors the compiler's inline substitution
|
|
18
|
-
* for `renderItem` lambda bodies.
|
|
19
|
-
*/
|
|
20
|
-
export declare function resolveLambdaBindings(body: SlotPropValue, params: readonly string[], item: EntityRow, index: number): SlotPropValue;
|
|
21
|
-
/**
|
|
22
|
-
* Walk a pattern's props (and recursively their nested children),
|
|
23
|
-
* converting every fn-form lambda value into a React render-prop
|
|
24
|
-
* function. Pure on inputs without lambdas: returns the props object
|
|
25
|
-
* unchanged by reference.
|
|
26
|
-
*/
|
|
27
|
-
export declare function convertFnFormLambdasInProps(props: SlotProps): SlotProps;
|