@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,24 +0,0 @@
|
|
|
1
|
-
import type { IsometricUnit } from '../isometricTypes';
|
|
2
|
-
import type { ResolvedFrame } from '../spriteAnimationTypes';
|
|
3
|
-
/**
|
|
4
|
-
* Resolve the sprite-sheet atlas-JSON URL for a unit.
|
|
5
|
-
*
|
|
6
|
-
* A unit has an atlas iff `unit.spriteSheet.url` is set (explicit metadata wins).
|
|
7
|
-
* No filename-pattern matching — a unit without a `spriteSheet` Asset keeps its static draw.
|
|
8
|
-
*/
|
|
9
|
-
export declare function unitAtlasUrl(unit: Pick<IsometricUnit, 'spriteSheet'>): string | null;
|
|
10
|
-
export interface UseUnitSpriteAtlasResult {
|
|
11
|
-
/** Atlas-JSON URLs successfully loaded — feed these to no one; sheet PNGs are returned below. */
|
|
12
|
-
sheetUrls: string[];
|
|
13
|
-
/** Resolve the current single-frame rect for a unit, or null if its atlas isn't loaded. */
|
|
14
|
-
resolveUnitFrame: (unitId: string) => ResolvedFrame | null;
|
|
15
|
-
/** Whether any atlas is still loading (drives isLoading / keeps RAF alive). */
|
|
16
|
-
pendingCount: number;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Load per-unit sprite atlases and expose a pure frame resolver.
|
|
20
|
-
* Frame is computed from each unit's own `animation` + `frame` props — no internal clock.
|
|
21
|
-
*
|
|
22
|
-
* @param units - Units whose atlases should be loaded.
|
|
23
|
-
*/
|
|
24
|
-
export declare function useUnitSpriteAtlas(units: IsometricUnit[]): UseUnitSpriteAtlasResult;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Game Shared (dimension-agnostic)
|
|
3
|
-
*
|
|
4
|
-
* Render DTO types, pure projection/animation utils, and the shared image cache hook.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
*/
|
|
8
|
-
export type { IsometricTile, IsometricUnit, IsometricFeature, CameraState, } from './isometricTypes';
|
|
9
|
-
export type { AnimationName, FacingDirection, SpriteDirection, ResolvedFrame, UnitAnimationState, SpriteFrameDims, SpriteSheetUrls, AnimationDef, } from './spriteAnimationTypes';
|
|
10
|
-
export { createInitialGameState, calculateValidMoves, calculateAttackTargets, } from './game';
|
|
11
|
-
export type { Position, GameUnit, UnitTrait, BoardTile, GamePhase, GameState, GameAction, } from './game';
|
|
12
|
-
export * from './effects';
|
|
13
|
-
export * from './boardEntity';
|
|
14
|
-
export * from './makeAsset';
|
|
15
|
-
export { useImageCache } from './useImageCache';
|
|
16
|
-
export { isoToScreen, screenToIso, TILE_WIDTH, TILE_HEIGHT, FLOOR_HEIGHT, DIAMOND_TOP_Y, FEATURE_COLORS, } from './isometric';
|
|
17
|
-
export type { TileLayout } from './isometric';
|
|
18
|
-
export { inferDirection, resolveSheetDirection, getCurrentFrame, resolveFrame, createUnitAnimationState, transitionAnimation, tickAnimationState, } from './spriteAnimation';
|
|
19
|
-
export { SPRITE_SHEET_LAYOUT, SHEET_COLUMNS } from './spriteSheetConstants';
|
|
20
|
-
export * from './combatPresets';
|
|
21
|
-
export * from './canvasEffects';
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Isometric Coordinate Utilities
|
|
3
|
-
*
|
|
4
|
-
* Pure functions for 2:1 diamond isometric coordinate conversion.
|
|
5
|
-
* No React dependencies — usable in any context.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
*/
|
|
9
|
-
/** Base tile width in pixels (before scale) */
|
|
10
|
-
export declare const TILE_WIDTH = 256;
|
|
11
|
-
/** Base tile height in pixels (before scale) — full sprite image height (Kenney 256×512) */
|
|
12
|
-
export declare const TILE_HEIGHT = 512;
|
|
13
|
-
/** Floor diamond height — the "walkable surface" portion of the tile (TILE_WIDTH / 2 for 2:1 ratio) */
|
|
14
|
-
export declare const FLOOR_HEIGHT = 128;
|
|
15
|
-
/**
|
|
16
|
-
* Measured Y offset from sprite top to the diamond top vertex within a Kenney
|
|
17
|
-
* 256×512 tile sprite. The code previously assumed `TILE_HEIGHT - FLOOR_HEIGHT = 384`,
|
|
18
|
-
* but the actual diamond (dirt_E.png) begins at y = 374 because the 3D side walls
|
|
19
|
-
* occupy 10 extra pixels above the pure 128 px diamond.
|
|
20
|
-
*
|
|
21
|
-
* Use `DIAMOND_TOP_Y * scale` for highlight positioning, unit groundY, feature
|
|
22
|
-
* placement, and hit-testing — NOT `(TILE_HEIGHT - FLOOR_HEIGHT) * scale`.
|
|
23
|
-
* `FLOOR_HEIGHT` remains 128 for the isoToScreen spacing formula (2:1 ratio).
|
|
24
|
-
*/
|
|
25
|
-
export declare const DIAMOND_TOP_Y = 374;
|
|
26
|
-
/**
|
|
27
|
-
* Feature type → fallback color mapping (when sprites not loaded).
|
|
28
|
-
*/
|
|
29
|
-
export declare const FEATURE_COLORS: Record<string, string>;
|
|
30
|
-
/**
|
|
31
|
-
* Tile layout mode. 'isometric' = 2:1 diamond projection (default).
|
|
32
|
-
* 'hex' = pointy-top offset-row hex grid.
|
|
33
|
-
* 'flat' = orthographic top-down square grid (sokoban/tanks/sports/etc.).
|
|
34
|
-
*
|
|
35
|
-
* Hex constants (at scale=1):
|
|
36
|
-
* w = TILE_WIDTH (256) — horizontal cell width
|
|
37
|
-
* h = FLOOR_HEIGHT (128) — vertical row stride (= w/2; hex row-to-row = h*0.75 = 96)
|
|
38
|
-
* Forward: screenX = col*w + (row&1)*(w/2) + baseOffsetX
|
|
39
|
-
* screenY = row * (h * 0.75)
|
|
40
|
-
* Inverse: row = round(screenY / (h*0.75)); col = round((screenX - (row&1)*(w/2) - baseOffsetX) / w)
|
|
41
|
-
*
|
|
42
|
-
* Flat constants (at scale=1):
|
|
43
|
-
* cellW = TILE_WIDTH (256) — horizontal cell pitch
|
|
44
|
-
* cellH = FLOOR_HEIGHT (128) — vertical cell pitch (= cellW/2; keeps same visual scale as hex rows)
|
|
45
|
-
* Forward: screenX = col*cellW + baseOffsetX
|
|
46
|
-
* screenY = row * cellH
|
|
47
|
-
* Inverse: col = round((screenX - baseOffsetX) / cellW); row = round(screenY / cellH)
|
|
48
|
-
*/
|
|
49
|
-
export type TileLayout = 'isometric' | 'hex' | 'flat';
|
|
50
|
-
/**
|
|
51
|
-
* Convert tile grid coordinates to screen pixel coordinates.
|
|
52
|
-
*
|
|
53
|
-
* For 'isometric' (default): 2:1 diamond projection.
|
|
54
|
-
* For 'hex': pointy-top offset-row projection (odd rows shifted right by w/2).
|
|
55
|
-
* For 'flat': orthographic top-down square grid; col maps to X, row maps to Y.
|
|
56
|
-
*
|
|
57
|
-
* @param tileX - Grid X (col) coordinate
|
|
58
|
-
* @param tileY - Grid Y (row) coordinate
|
|
59
|
-
* @param scale - Render scale factor
|
|
60
|
-
* @param baseOffsetX - Horizontal offset to center the grid
|
|
61
|
-
* @param layout - Tile layout mode (default: 'isometric')
|
|
62
|
-
* @returns Screen position { x, y } of the tile's top-left corner
|
|
63
|
-
*/
|
|
64
|
-
export declare function isoToScreen(tileX: number, tileY: number, scale: number, baseOffsetX: number, layout?: TileLayout): {
|
|
65
|
-
x: number;
|
|
66
|
-
y: number;
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Convert screen pixel coordinates back to tile grid coordinates.
|
|
70
|
-
*
|
|
71
|
-
* Inverse of isoToScreen. Snaps to nearest integer tile position.
|
|
72
|
-
*
|
|
73
|
-
* @param screenX - Screen X in pixels
|
|
74
|
-
* @param screenY - Screen Y in pixels
|
|
75
|
-
* @param scale - Render scale factor
|
|
76
|
-
* @param baseOffsetX - Horizontal offset used in isoToScreen
|
|
77
|
-
* @param layout - Tile layout mode (default: 'isometric')
|
|
78
|
-
* @returns Snapped grid position { x, y }
|
|
79
|
-
*/
|
|
80
|
-
export declare function screenToIso(screenX: number, screenY: number, scale: number, baseOffsetX: number, layout?: TileLayout): {
|
|
81
|
-
x: number;
|
|
82
|
-
y: number;
|
|
83
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import type { Asset } from '@almadar/core';
|
|
2
|
-
import type { AnimationName } from './spriteAnimationTypes';
|
|
3
|
-
import type { UnitTrait } from './game';
|
|
4
|
-
/**
|
|
5
|
-
* Isometric Game Types
|
|
6
|
-
*
|
|
7
|
-
* Type definitions for isometric grid rendering: tiles, units, features.
|
|
8
|
-
* Used by IsometricCanvas and game hooks.
|
|
9
|
-
*
|
|
10
|
-
* @packageDocumentation
|
|
11
|
-
*/
|
|
12
|
-
/** An active visual effect on the board. x,y are grid tile coords; ttl = remaining ticks. */
|
|
13
|
-
export interface ActiveEffect {
|
|
14
|
-
/** Unique key — matched against assetManifest.effects for sprite lookup */
|
|
15
|
-
key: string;
|
|
16
|
-
/** Grid x coordinate */
|
|
17
|
-
x: number;
|
|
18
|
-
/** Grid y coordinate */
|
|
19
|
-
y: number;
|
|
20
|
-
/** Remaining ticks — used as a fade/scale hint (alpha = min(1, ttl/4)) */
|
|
21
|
-
ttl: number;
|
|
22
|
-
}
|
|
23
|
-
/** A single isometric tile on the grid */
|
|
24
|
-
export interface IsometricTile {
|
|
25
|
-
/** Optional unique identifier (required for 3D rendering) */
|
|
26
|
-
id?: string;
|
|
27
|
-
/** Grid x coordinate */
|
|
28
|
-
x: number;
|
|
29
|
-
/** Grid y coordinate (2D) */
|
|
30
|
-
y: number;
|
|
31
|
-
/** Grid z coordinate (3D alternative to y) */
|
|
32
|
-
z?: number;
|
|
33
|
-
/** Terrain type key (e.g., 'grass', 'stone', 'water') - 2D */
|
|
34
|
-
terrain?: string;
|
|
35
|
-
/** Tile type for visual rendering (3D) */
|
|
36
|
-
type?: string;
|
|
37
|
-
/** Direct sprite URL override (bypasses getTerrainSprite resolver) */
|
|
38
|
-
terrainSprite?: Asset;
|
|
39
|
-
/** Whether units can traverse this tile (default true) */
|
|
40
|
-
passable?: boolean;
|
|
41
|
-
/** Movement cost for pathfinding (default 1) */
|
|
42
|
-
movementCost?: number;
|
|
43
|
-
/** Optional tile type for visual variants */
|
|
44
|
-
tileType?: string;
|
|
45
|
-
/** Elevation offset for 3D rendering */
|
|
46
|
-
elevation?: number;
|
|
47
|
-
/** 3D model URL (GLB format) for GameCanvas3D — rendered via ModelLoader with box fallback */
|
|
48
|
-
modelUrl?: Asset;
|
|
49
|
-
}
|
|
50
|
-
/** A unit positioned on the isometric grid */
|
|
51
|
-
export type IsometricUnit = {
|
|
52
|
-
/** Unique unit identifier */
|
|
53
|
-
id: string;
|
|
54
|
-
/** Current grid position (2D format) */
|
|
55
|
-
position?: {
|
|
56
|
-
x: number;
|
|
57
|
-
y: number;
|
|
58
|
-
};
|
|
59
|
-
/** Grid x coordinate (3D format) */
|
|
60
|
-
x?: number;
|
|
61
|
-
/** Grid y coordinate (3D format) */
|
|
62
|
-
y?: number;
|
|
63
|
-
/** Grid z coordinate (3D format) */
|
|
64
|
-
z?: number;
|
|
65
|
-
/** Static sprite URL (used when no sprite sheet animation) */
|
|
66
|
-
sprite?: Asset;
|
|
67
|
-
/** Sprite-sheet atlas JSON URL (e.g. `.../guardian-sprite-sheet.json`).
|
|
68
|
-
* When set, the canvas loads the atlas and crops/animates a single frame
|
|
69
|
-
* by animation state instead of drawing the whole sheet. */
|
|
70
|
-
spriteSheet?: Asset;
|
|
71
|
-
/** 3D model URL (GLB format) for GameCanvas3D — rendered via ModelLoader with box fallback */
|
|
72
|
-
modelUrl?: Asset;
|
|
73
|
-
/** Unit archetype key for sprite resolution */
|
|
74
|
-
unitType?: string;
|
|
75
|
-
/** Hero identifier for sprite sheet lookup */
|
|
76
|
-
heroId?: string;
|
|
77
|
-
/** Display name rendered below the unit */
|
|
78
|
-
name?: string;
|
|
79
|
-
/** Team affiliation for coloring */
|
|
80
|
-
team?: 'player' | 'enemy' | 'neutral';
|
|
81
|
-
/** Faction for 3D rendering (player/enemy/neutral) */
|
|
82
|
-
faction?: 'player' | 'enemy' | 'neutral';
|
|
83
|
-
/** Current health */
|
|
84
|
-
health?: number;
|
|
85
|
-
/** Maximum health */
|
|
86
|
-
maxHealth?: number;
|
|
87
|
-
/** Trait attachments for state display */
|
|
88
|
-
traits?: UnitTrait[];
|
|
89
|
-
/** Previous position for movement trail ghost */
|
|
90
|
-
previousPosition?: {
|
|
91
|
-
x: number;
|
|
92
|
-
y: number;
|
|
93
|
-
};
|
|
94
|
-
/** Elevation offset for 3D rendering */
|
|
95
|
-
elevation?: number;
|
|
96
|
-
/** Animation name — driven by the LOLO state machine; renderer defaults to 'idle' */
|
|
97
|
-
animation?: AnimationName;
|
|
98
|
-
/** Frame index within the animation — driven by the LOLO state machine; renderer defaults to 0 */
|
|
99
|
-
frame?: number;
|
|
100
|
-
};
|
|
101
|
-
/** A map feature (resource, building, portal, etc.) */
|
|
102
|
-
export type IsometricFeature = {
|
|
103
|
-
/** Optional unique identifier (required for 3D rendering) */
|
|
104
|
-
id?: string;
|
|
105
|
-
/** Grid x coordinate */
|
|
106
|
-
x: number;
|
|
107
|
-
/** Grid y coordinate (2D) */
|
|
108
|
-
y: number;
|
|
109
|
-
/** Grid z coordinate (3D alternative to y) */
|
|
110
|
-
z?: number;
|
|
111
|
-
/** Feature type key (e.g., 'goldMine', 'castle', 'portal') */
|
|
112
|
-
type: string;
|
|
113
|
-
/** Direct sprite URL override (bypasses getFeatureSprite resolver) */
|
|
114
|
-
sprite?: Asset;
|
|
115
|
-
/** 3D model URL (GLB format) for GameCanvas3D */
|
|
116
|
-
assetUrl?: Asset;
|
|
117
|
-
/** Color override for 3D rendering */
|
|
118
|
-
color?: string;
|
|
119
|
-
/** Elevation offset for 3D rendering */
|
|
120
|
-
elevation?: number;
|
|
121
|
-
};
|
|
122
|
-
/** Camera state for pan/zoom */
|
|
123
|
-
export interface CameraState {
|
|
124
|
-
/** Camera X offset in pixels */
|
|
125
|
-
x: number;
|
|
126
|
-
/** Camera Y offset in pixels */
|
|
127
|
-
y: number;
|
|
128
|
-
/** Zoom level (1.0 = 100%) */
|
|
129
|
-
zoom: number;
|
|
130
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AssetLoader
|
|
3
|
-
*
|
|
4
|
-
* Three.js asset loading manager for 3D models and textures.
|
|
5
|
-
* Supports GLB/GLTF (primary), OBJ (fallback), and texture loading.
|
|
6
|
-
* Implements caching for performance.
|
|
7
|
-
*
|
|
8
|
-
* @packageDocumentation
|
|
9
|
-
*/
|
|
10
|
-
import * as THREE from 'three';
|
|
11
|
-
export interface LoadedModel {
|
|
12
|
-
scene: THREE.Group;
|
|
13
|
-
animations: THREE.AnimationClip[];
|
|
14
|
-
}
|
|
15
|
-
export declare class AssetLoader {
|
|
16
|
-
private objLoader;
|
|
17
|
-
private textureLoader;
|
|
18
|
-
private modelCache;
|
|
19
|
-
private textureCache;
|
|
20
|
-
private loadingPromises;
|
|
21
|
-
constructor();
|
|
22
|
-
/**
|
|
23
|
-
* Load a GLB/GLTF model
|
|
24
|
-
* @param url - URL to the .glb or .gltf file
|
|
25
|
-
* @returns Promise with loaded model scene and animations
|
|
26
|
-
*/
|
|
27
|
-
loadModel(url: string): Promise<LoadedModel>;
|
|
28
|
-
/**
|
|
29
|
-
* Load an OBJ model (fallback for non-GLB assets)
|
|
30
|
-
* @param url - URL to the .obj file
|
|
31
|
-
* @returns Promise with loaded object group
|
|
32
|
-
*/
|
|
33
|
-
loadOBJ(url: string): Promise<THREE.Group>;
|
|
34
|
-
/**
|
|
35
|
-
* Load a texture
|
|
36
|
-
* @param url - URL to the texture image
|
|
37
|
-
* @returns Promise with loaded texture
|
|
38
|
-
*/
|
|
39
|
-
loadTexture(url: string): Promise<THREE.Texture>;
|
|
40
|
-
/**
|
|
41
|
-
* Preload multiple assets
|
|
42
|
-
* @param urls - Array of asset URLs to preload
|
|
43
|
-
* @returns Promise that resolves when all assets are loaded
|
|
44
|
-
*/
|
|
45
|
-
preload(urls: string[]): Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
* Check if a model is cached
|
|
48
|
-
* @param url - Model URL
|
|
49
|
-
*/
|
|
50
|
-
hasModel(url: string): boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Check if a texture is cached
|
|
53
|
-
* @param url - Texture URL
|
|
54
|
-
*/
|
|
55
|
-
hasTexture(url: string): boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Get cached model (throws if not cached)
|
|
58
|
-
* @param url - Model URL
|
|
59
|
-
*/
|
|
60
|
-
getModel(url: string): LoadedModel;
|
|
61
|
-
/**
|
|
62
|
-
* Get cached texture (throws if not cached)
|
|
63
|
-
* @param url - Texture URL
|
|
64
|
-
*/
|
|
65
|
-
getTexture(url: string): THREE.Texture;
|
|
66
|
-
/**
|
|
67
|
-
* Clear all caches
|
|
68
|
-
*/
|
|
69
|
-
clearCache(): void;
|
|
70
|
-
/**
|
|
71
|
-
* Get cache statistics
|
|
72
|
-
*/
|
|
73
|
-
getStats(): {
|
|
74
|
-
models: number;
|
|
75
|
-
textures: number;
|
|
76
|
-
loading: number;
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
export declare const assetLoader: AssetLoader;
|
|
80
|
-
export default AssetLoader;
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Culling Utilities
|
|
3
|
-
*
|
|
4
|
-
* Frustum culling and LOD (Level of Detail) management for 3D scene optimization.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
*/
|
|
8
|
-
import * as THREE from 'three';
|
|
9
|
-
export interface CullingOptions {
|
|
10
|
-
/** Camera frustum for culling */
|
|
11
|
-
camera: THREE.Camera;
|
|
12
|
-
/** Optional padding around frustum */
|
|
13
|
-
padding?: number;
|
|
14
|
-
}
|
|
15
|
-
export interface LODLevel {
|
|
16
|
-
/** Distance threshold for this LOD level */
|
|
17
|
-
distance: number;
|
|
18
|
-
/** Geometry or mesh for this level */
|
|
19
|
-
geometry?: THREE.BufferGeometry;
|
|
20
|
-
/** Scale multiplier for this level */
|
|
21
|
-
scale?: number;
|
|
22
|
-
/** Whether to use simplified material */
|
|
23
|
-
simpleMaterial?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface LODConfig {
|
|
26
|
-
/** LOD levels from closest to farthest */
|
|
27
|
-
levels: LODLevel[];
|
|
28
|
-
/** Transition smoothness (0-1) */
|
|
29
|
-
transitionSmoothness?: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Frustum culling check for a position
|
|
33
|
-
* @param position - World position to check
|
|
34
|
-
* @param camera - Camera to check against
|
|
35
|
-
* @param padding - Optional padding in world units
|
|
36
|
-
* @returns Whether the position is within the frustum
|
|
37
|
-
*/
|
|
38
|
-
export declare function isInFrustum(position: THREE.Vector3, camera: THREE.Camera, padding?: number): boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Filter an array of positions to only those within the frustum
|
|
41
|
-
* @param positions - Array of world positions
|
|
42
|
-
* @param camera - Camera to check against
|
|
43
|
-
* @param padding - Optional padding in world units
|
|
44
|
-
* @returns Array of positions within frustum
|
|
45
|
-
*/
|
|
46
|
-
export declare function filterByFrustum(positions: THREE.Vector3[], camera: THREE.Camera, padding?: number): THREE.Vector3[];
|
|
47
|
-
/**
|
|
48
|
-
* Get indices of visible items from an array
|
|
49
|
-
* @param positions - Array of world positions
|
|
50
|
-
* @param camera - Camera to check against
|
|
51
|
-
* @param padding - Optional padding in world units
|
|
52
|
-
* @returns Set of visible indices
|
|
53
|
-
*/
|
|
54
|
-
export declare function getVisibleIndices(positions: THREE.Vector3[], camera: THREE.Camera, padding?: number): Set<number>;
|
|
55
|
-
/**
|
|
56
|
-
* Calculate LOD level based on distance from camera
|
|
57
|
-
* @param position - Object position
|
|
58
|
-
* @param camera - Camera position
|
|
59
|
-
* @param lodLevels - Array of distance thresholds (sorted closest to farthest)
|
|
60
|
-
* @returns Index of the LOD level to use
|
|
61
|
-
*/
|
|
62
|
-
export declare function calculateLODLevel(position: THREE.Vector3, camera: THREE.Camera, lodLevels: number[]): number;
|
|
63
|
-
/**
|
|
64
|
-
* Create a distance-based LOD system for an instanced mesh
|
|
65
|
-
* @param instancedMesh - The instanced mesh to manage
|
|
66
|
-
* @param positions - Array of instance positions
|
|
67
|
-
* @param camera - Camera to calculate distances from
|
|
68
|
-
* @param lodDistances - Distance thresholds for LOD levels
|
|
69
|
-
* @returns Array of LOD indices for each instance
|
|
70
|
-
*/
|
|
71
|
-
export declare function updateInstanceLOD(instancedMesh: THREE.InstancedMesh, positions: THREE.Vector3[], camera: THREE.Camera, lodDistances: number[]): Uint8Array;
|
|
72
|
-
/**
|
|
73
|
-
* Create visibility data for instanced mesh culling
|
|
74
|
-
* Updates the instance matrix to hide/show instances
|
|
75
|
-
* @param instancedMesh - The instanced mesh
|
|
76
|
-
* @param positions - Array of instance positions
|
|
77
|
-
* @param visibleIndices - Set of visible indices
|
|
78
|
-
* @returns Updated count of visible instances
|
|
79
|
-
*/
|
|
80
|
-
export declare function cullInstancedMesh(instancedMesh: THREE.InstancedMesh, positions: THREE.Vector3[], visibleIndices: Set<number>): number;
|
|
81
|
-
/**
|
|
82
|
-
* Spatial hash grid for efficient object queries
|
|
83
|
-
*/
|
|
84
|
-
export declare class SpatialHashGrid {
|
|
85
|
-
private cellSize;
|
|
86
|
-
private cells;
|
|
87
|
-
private objectPositions;
|
|
88
|
-
constructor(cellSize?: number);
|
|
89
|
-
/**
|
|
90
|
-
* Get cell key for a position
|
|
91
|
-
*/
|
|
92
|
-
private getCellKey;
|
|
93
|
-
/**
|
|
94
|
-
* Insert an object into the grid
|
|
95
|
-
*/
|
|
96
|
-
insert(id: string, position: THREE.Vector3): void;
|
|
97
|
-
/**
|
|
98
|
-
* Remove an object from the grid
|
|
99
|
-
*/
|
|
100
|
-
remove(id: string): void;
|
|
101
|
-
/**
|
|
102
|
-
* Update an object's position
|
|
103
|
-
*/
|
|
104
|
-
update(id: string, newPosition: THREE.Vector3): void;
|
|
105
|
-
/**
|
|
106
|
-
* Query objects within a radius of a position
|
|
107
|
-
*/
|
|
108
|
-
queryRadius(center: THREE.Vector3, radius: number): string[];
|
|
109
|
-
/**
|
|
110
|
-
* Query objects within a bounding box
|
|
111
|
-
*/
|
|
112
|
-
queryBox(minX: number, maxX: number, minZ: number, maxZ: number): string[];
|
|
113
|
-
/**
|
|
114
|
-
* Clear all objects from the grid
|
|
115
|
-
*/
|
|
116
|
-
clear(): void;
|
|
117
|
-
/**
|
|
118
|
-
* Get statistics about the grid
|
|
119
|
-
*/
|
|
120
|
-
getStats(): {
|
|
121
|
-
objects: number;
|
|
122
|
-
cells: number;
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
declare const _default: {
|
|
126
|
-
isInFrustum: typeof isInFrustum;
|
|
127
|
-
filterByFrustum: typeof filterByFrustum;
|
|
128
|
-
getVisibleIndices: typeof getVisibleIndices;
|
|
129
|
-
calculateLODLevel: typeof calculateLODLevel;
|
|
130
|
-
updateInstanceLOD: typeof updateInstanceLOD;
|
|
131
|
-
cullInstancedMesh: typeof cullInstancedMesh;
|
|
132
|
-
SpatialHashGrid: typeof SpatialHashGrid;
|
|
133
|
-
};
|
|
134
|
-
export default _default;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared Map Editor Utilities
|
|
3
|
-
*
|
|
4
|
-
* Reusable editor components for Storybook-based map editing.
|
|
5
|
-
* All composed from @almadar/ui atoms (Box, VStack, HStack, Typography, Button, Badge).
|
|
6
|
-
*
|
|
7
|
-
* NOTE: These are Storybook editor controls, NOT Orbital templates.
|
|
8
|
-
* They use native HTML inputs wrapped in Box for lightweight editor UX.
|
|
9
|
-
*/
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import type { Asset } from '@almadar/core';
|
|
12
|
-
export type EditorMode = 'select' | 'paint' | 'unit' | 'feature' | 'erase';
|
|
13
|
-
export declare const TERRAIN_COLORS: Record<string, string>;
|
|
14
|
-
export declare const FEATURE_TYPES: readonly ["goldMine", "resonanceCrystal", "traitCache", "salvageYard", "portal", "battleMarker", "treasure", "castle"];
|
|
15
|
-
export interface CollapsibleSectionProps {
|
|
16
|
-
title: string;
|
|
17
|
-
expanded: boolean;
|
|
18
|
-
onToggle: () => void;
|
|
19
|
-
children: React.ReactNode;
|
|
20
|
-
/** Optional per-semantic-key asset overrides for icons (expand/collapse). */
|
|
21
|
-
assetManifest?: {
|
|
22
|
-
ui?: Record<string, Asset>;
|
|
23
|
-
};
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
26
|
-
export declare function CollapsibleSection({ title, expanded, onToggle, children, assetManifest, className }: CollapsibleSectionProps): React.JSX.Element;
|
|
27
|
-
export declare namespace CollapsibleSection {
|
|
28
|
-
var displayName: string;
|
|
29
|
-
}
|
|
30
|
-
export interface EditorSliderProps {
|
|
31
|
-
label: string;
|
|
32
|
-
value: number;
|
|
33
|
-
min: number;
|
|
34
|
-
max: number;
|
|
35
|
-
step?: number;
|
|
36
|
-
onChange: (value: number) => void;
|
|
37
|
-
className?: string;
|
|
38
|
-
}
|
|
39
|
-
export declare function EditorSlider({ label, value, min, max, step, onChange, className }: EditorSliderProps): React.JSX.Element;
|
|
40
|
-
export declare namespace EditorSlider {
|
|
41
|
-
var displayName: string;
|
|
42
|
-
}
|
|
43
|
-
export interface EditorSelectProps {
|
|
44
|
-
label: string;
|
|
45
|
-
value: string;
|
|
46
|
-
options: Array<{
|
|
47
|
-
value: string;
|
|
48
|
-
label: string;
|
|
49
|
-
}>;
|
|
50
|
-
onChange: (value: string) => void;
|
|
51
|
-
className?: string;
|
|
52
|
-
}
|
|
53
|
-
export declare function EditorSelect({ label, value, options, onChange, className }: EditorSelectProps): React.JSX.Element;
|
|
54
|
-
export declare namespace EditorSelect {
|
|
55
|
-
var displayName: string;
|
|
56
|
-
}
|
|
57
|
-
export interface EditorCheckboxProps {
|
|
58
|
-
label: string;
|
|
59
|
-
checked: boolean;
|
|
60
|
-
onChange: (checked: boolean) => void;
|
|
61
|
-
className?: string;
|
|
62
|
-
}
|
|
63
|
-
export declare function EditorCheckbox({ label, checked, onChange, className }: EditorCheckboxProps): React.JSX.Element;
|
|
64
|
-
export declare namespace EditorCheckbox {
|
|
65
|
-
var displayName: string;
|
|
66
|
-
}
|
|
67
|
-
export interface EditorTextInputProps {
|
|
68
|
-
label: string;
|
|
69
|
-
value: string;
|
|
70
|
-
onChange: (value: string) => void;
|
|
71
|
-
placeholder?: string;
|
|
72
|
-
className?: string;
|
|
73
|
-
}
|
|
74
|
-
export declare function EditorTextInput({ label, value, onChange, placeholder, className }: EditorTextInputProps): React.JSX.Element;
|
|
75
|
-
export declare namespace EditorTextInput {
|
|
76
|
-
var displayName: string;
|
|
77
|
-
}
|
|
78
|
-
export interface StatusBarProps {
|
|
79
|
-
hoveredTile: {
|
|
80
|
-
x: number;
|
|
81
|
-
y: number;
|
|
82
|
-
} | null;
|
|
83
|
-
mode: EditorMode;
|
|
84
|
-
gridSize?: {
|
|
85
|
-
width: number;
|
|
86
|
-
height: number;
|
|
87
|
-
};
|
|
88
|
-
unitCount?: number;
|
|
89
|
-
featureCount?: number;
|
|
90
|
-
className?: string;
|
|
91
|
-
}
|
|
92
|
-
export declare function StatusBar({ hoveredTile, mode, gridSize, unitCount, featureCount, className }: StatusBarProps): React.JSX.Element;
|
|
93
|
-
export declare namespace StatusBar {
|
|
94
|
-
var displayName: string;
|
|
95
|
-
}
|
|
96
|
-
export interface TerrainPaletteProps {
|
|
97
|
-
terrains: string[];
|
|
98
|
-
selectedTerrain: string;
|
|
99
|
-
onSelect: (terrain: string) => void;
|
|
100
|
-
className?: string;
|
|
101
|
-
}
|
|
102
|
-
export declare function TerrainPalette({ terrains, selectedTerrain, onSelect, className }: TerrainPaletteProps): React.JSX.Element;
|
|
103
|
-
export declare namespace TerrainPalette {
|
|
104
|
-
var displayName: string;
|
|
105
|
-
}
|
|
106
|
-
export interface EditorToolbarProps {
|
|
107
|
-
mode: EditorMode;
|
|
108
|
-
onModeChange: (mode: EditorMode) => void;
|
|
109
|
-
className?: string;
|
|
110
|
-
}
|
|
111
|
-
export declare function EditorToolbar({ mode, onModeChange, className }: EditorToolbarProps): React.JSX.Element;
|
|
112
|
-
export declare namespace EditorToolbar {
|
|
113
|
-
var displayName: string;
|
|
114
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* game3dAssetManifest — shared, asset-URL-free helpers for the 3D game-canvas
|
|
3
|
-
* templates (battle / castle / world-map).
|
|
4
|
-
*
|
|
5
|
-
* Every GLB model URL lives in the lolo `assetManifest` config and arrives via
|
|
6
|
-
* props; these helpers resolve a tile's / feature's `modelUrl` from that manifest
|
|
7
|
-
* by terrain/feature key. NO asset URLs are declared here — the templates and this
|
|
8
|
-
* module stay pure, exactly like the `GameCanvas3D` molecule.
|
|
9
|
-
*
|
|
10
|
-
* @packageDocumentation
|
|
11
|
-
*/
|
|
12
|
-
import type { Asset, EntityRow } from '@almadar/core';
|
|
13
|
-
import type { IsometricTile, IsometricFeature } from '../isometricTypes';
|
|
14
|
-
/** GLB model assets for a 3D board, keyed by terrain "kind" and (optionally) feature type. */
|
|
15
|
-
export interface Game3DAssetManifest {
|
|
16
|
-
/** Floor model assets by terrain kind ('wall' | 'dirt' | 'open'). */
|
|
17
|
-
models?: Record<string, Asset>;
|
|
18
|
-
/** Feature/structure model assets by feature type ('gold_mine', 'portal', …). */
|
|
19
|
-
features?: Record<string, Asset>;
|
|
20
|
-
}
|
|
21
|
-
/** Layout-only tile (no model URL): position + terrain kind. */
|
|
22
|
-
export interface Tile3DLayout {
|
|
23
|
-
id?: string;
|
|
24
|
-
x: number;
|
|
25
|
-
y: number;
|
|
26
|
-
z?: number;
|
|
27
|
-
type: string;
|
|
28
|
-
passable?: boolean;
|
|
29
|
-
/** Terrain kind that maps into `assetManifest.models` (wall | dirt | open). */
|
|
30
|
-
kind: string;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Resolve a layout tile array into render-ready `IsometricTile[]`, attaching each
|
|
34
|
-
* tile's `modelUrl` from `assetManifest.models` by terrain kind. Pure: URLs come
|
|
35
|
-
* only from the manifest.
|
|
36
|
-
*/
|
|
37
|
-
export declare function resolveTilesWithModels(layout: readonly Tile3DLayout[], manifest: Game3DAssetManifest | undefined): IsometricTile[];
|
|
38
|
-
/**
|
|
39
|
-
* Map prop `IsometricTile[]` (which already carry `type`/`passable` but no model)
|
|
40
|
-
* into render-ready tiles with manifest-resolved model URLs.
|
|
41
|
-
*/
|
|
42
|
-
export declare function resolvePropTiles(tiles: readonly IsometricTile[], manifest: Game3DAssetManifest | undefined): IsometricTile[];
|
|
43
|
-
/** Read entity-carried tile rows into render-ready `IsometricTile[]` with manifest-resolved models. */
|
|
44
|
-
export declare function resolveEntityTiles(entity: EntityRow | readonly EntityRow[] | undefined, manifest: Game3DAssetManifest | undefined): IsometricTile[];
|
|
45
|
-
/** Resolve feature model URLs from `assetManifest.features` by feature type. */
|
|
46
|
-
export declare function resolveFeaturesWithModels(features: readonly IsometricFeature[], manifest: Game3DAssetManifest | undefined): IsometricFeature[];
|
|
47
|
-
/** Read entity-carried feature rows into render-ready `IsometricFeature[]` with manifest models. */
|
|
48
|
-
export declare function resolveEntityFeatures(entity: EntityRow | readonly EntityRow[] | undefined, manifest: Game3DAssetManifest | undefined): IsometricFeature[];
|