@ultrst-armada/floks 1.13.18 → 1.13.19
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/.krusbl-release-attestation.json +3 -3
- package/package.json +14 -4
- package/packages/canvas-ui/dist/MovableSocketView.d.ts +42 -0
- package/packages/canvas-ui/dist/NodeCard.d.ts +43 -0
- package/packages/canvas-ui/dist/NodeDetailsPanel.d.ts +11 -0
- package/packages/canvas-ui/dist/NodeEmblem.d.ts +5 -0
- package/packages/canvas-ui/dist/NodeGraphCanvas.d.ts +17 -0
- package/packages/canvas-ui/dist/Viewer2DNodes.d.ts +30 -0
- package/packages/canvas-ui/dist/WireRenderer.d.ts +23 -0
- package/packages/canvas-ui/dist/aiko/AikoModule.d.ts +62 -0
- package/packages/canvas-ui/dist/aiko/AikoModule.test.d.ts +1 -0
- package/packages/canvas-ui/dist/aiko/index.d.ts +1 -65
- package/packages/canvas-ui/dist/authoring/UiAuthoringBindingEditor.d.ts +6 -0
- package/packages/canvas-ui/dist/authoring/UiAuthoringBindingEditor.test.d.ts +1 -0
- package/packages/canvas-ui/dist/authoring/UiAuthoringInspector.d.ts +6 -0
- package/packages/canvas-ui/dist/authoring/UiAuthoringPreview.d.ts +8 -0
- package/packages/canvas-ui/dist/authoring/UiAuthoringPrimitives.test.d.ts +1 -0
- package/packages/canvas-ui/dist/authoring/UiAuthoringTree.d.ts +7 -0
- package/packages/canvas-ui/dist/authoring/UiAuthoringValidationPanel.d.ts +8 -0
- package/packages/canvas-ui/dist/authoring/UiAuthoringWorkspace.d.ts +8 -0
- package/packages/canvas-ui/dist/authoring/authoringModel.d.ts +5 -0
- package/packages/canvas-ui/dist/authoring/authoringModel.test.d.ts +1 -0
- package/packages/canvas-ui/dist/authoring/index.d.ts +8 -97
- package/packages/canvas-ui/dist/authoring/types.d.ts +50 -0
- package/packages/canvas-ui/dist/canvas/CanvasViewport.d.ts +11 -0
- package/packages/canvas-ui/dist/canvas/InfiniteCanvas.d.ts +11 -0
- package/packages/canvas-ui/dist/canvas/MiniMap.d.ts +9 -0
- package/packages/canvas-ui/dist/canvas/index.d.ts +5 -54
- package/packages/canvas-ui/dist/canvas/types.d.ts +14 -0
- package/packages/canvas-ui/dist/canvas/useCanvas.d.ts +9 -0
- package/packages/canvas-ui/dist/dock/DockBar.d.ts +11 -0
- package/packages/canvas-ui/dist/dock/DockItem.d.ts +8 -0
- package/packages/canvas-ui/dist/dock/index.d.ts +4 -37
- package/packages/canvas-ui/dist/dock/types.d.ts +9 -0
- package/packages/canvas-ui/dist/dock/useDock.d.ts +8 -0
- package/packages/canvas-ui/dist/editor/MonacoEditor.d.ts +18 -0
- package/packages/canvas-ui/dist/editor/MonacoEditor.test.d.ts +1 -0
- package/packages/canvas-ui/dist/editor/index.d.ts +4 -55
- package/packages/canvas-ui/dist/editor/themes.d.ts +22 -0
- package/packages/canvas-ui/dist/editor/types.d.ts +8 -0
- package/packages/canvas-ui/dist/editor/useMonaco.d.ts +1 -0
- package/packages/canvas-ui/dist/fod/FodModule.d.ts +57 -0
- package/packages/canvas-ui/dist/fod/FodModule.test.d.ts +1 -0
- package/packages/canvas-ui/dist/fod/index.d.ts +1 -59
- package/packages/canvas-ui/dist/frnl-editable-node-graph/FrnlEditableNodeGraph.d.ts +107 -0
- package/packages/canvas-ui/dist/frnl-editable-node-graph/FrnlEditableNodeGraph.test.d.ts +1 -0
- package/packages/canvas-ui/dist/frnl-editable-node-graph/index.d.ts +1 -110
- package/packages/canvas-ui/dist/graph-2d/CanvasBackground2D.d.ts +18 -0
- package/packages/canvas-ui/dist/graph-2d/CanvasErrorBoundary.d.ts +20 -0
- package/packages/canvas-ui/dist/graph-2d/MagneticTraces2D.d.ts +17 -0
- package/packages/canvas-ui/dist/graph-2d/Node2DBase.d.ts +40 -0
- package/packages/canvas-ui/dist/graph-2d/NodeRenderer2D.d.ts +34 -0
- package/packages/canvas-ui/dist/graph-2d/RecorderWaveformDisplay.d.ts +9 -0
- package/packages/canvas-ui/dist/graph-2d/RotaryKnob.d.ts +19 -0
- package/packages/canvas-ui/dist/graph-2d/Socket2D.d.ts +30 -0
- package/packages/canvas-ui/dist/graph-2d/Wire2D.d.ts +26 -0
- package/packages/canvas-ui/dist/graph-2d/index.d.ts +13 -270
- package/packages/canvas-ui/dist/graph-2d/socketCoordinates.d.ts +31 -0
- package/packages/canvas-ui/dist/{types-D3RRfQUo.d.ts → graph-2d/types.d.ts} +5 -8
- package/packages/canvas-ui/dist/graph-2d/useCanvas2DCoordinates.d.ts +16 -0
- package/packages/canvas-ui/dist/graph-2d/useCanvas2DMagnetic.d.ts +25 -0
- package/packages/canvas-ui/dist/index.d.ts +16 -191
- package/packages/canvas-ui/dist/index.js +9 -9
- package/packages/canvas-ui/dist/node-graph-ui/ghost/GhostNodeCard.d.ts +8 -0
- package/packages/canvas-ui/dist/node-graph-ui/ghost/GhostSolidifyBar.d.ts +10 -0
- package/packages/canvas-ui/dist/node-graph-ui/ghost/GhostTraceLayer.d.ts +6 -0
- package/packages/canvas-ui/dist/node-graph-ui/ghost/index.d.ts +3 -0
- package/packages/canvas-ui/dist/node-graph-ui/index.d.ts +8 -0
- package/packages/canvas-ui/dist/node-graph-ui/react-flow/ReactFlowAdapter.d.ts +72 -0
- package/packages/canvas-ui/dist/node-graph-ui/toolbar/GraphToolbar.d.ts +12 -0
- package/packages/canvas-ui/dist/node-graph-ui/widgets/CanvasContextMenu.d.ts +15 -0
- package/packages/canvas-ui/dist/node-graph-ui/widgets/CompatibleNodePicker.d.ts +16 -0
- package/packages/canvas-ui/dist/node-graph-ui/widgets/MagneticTraceLayer.d.ts +6 -0
- package/packages/canvas-ui/dist/node-graph-ui/widgets/MidpointWidgets.d.ts +9 -0
- package/packages/canvas-ui/dist/node-graph-ui/widgets/NodeSearchPalette.d.ts +19 -0
- package/packages/canvas-ui/dist/node-graph-ui/widgets/SolidifyWidget.d.ts +6 -0
- package/packages/canvas-ui/dist/predictive/PredictiveGhostNodeCard/PredictiveGhostNodeCard.d.ts +4 -0
- package/packages/canvas-ui/dist/predictive/PredictiveGhostNodeCard/types.d.ts +12 -0
- package/packages/canvas-ui/dist/predictive/PredictiveGhostNodeCard.d.ts +2 -0
- package/packages/canvas-ui/dist/predictive/PredictiveHudToolbar.d.ts +14 -0
- package/packages/canvas-ui/dist/predictive/PredictiveLayer2D.d.ts +21 -0
- package/packages/canvas-ui/dist/predictive/index.d.ts +4 -75
- package/packages/canvas-ui/dist/predictive/usePredictiveGraph2D.d.ts +25 -0
- package/packages/canvas-ui/dist/tile-menu/Tile.d.ts +11 -0
- package/packages/canvas-ui/dist/tile-menu/TileCreateButton.d.ts +3 -0
- package/packages/canvas-ui/dist/tile-menu/TileGrid.d.ts +6 -0
- package/packages/canvas-ui/dist/tile-menu/index.d.ts +5 -45
- package/packages/canvas-ui/dist/tile-menu/types.d.ts +14 -0
- package/packages/canvas-ui/dist/tile-menu/useTileMenu.d.ts +7 -0
- package/packages/canvas-ui/dist/useGhostRouting.d.ts +22 -0
- package/packages/canvas-ui/dist/useNodeGraph.d.ts +38 -0
- package/packages/canvas-ui/package.json +4 -3
- package/packages/ui/dist/chunk-HXTM3RSQ.js +225 -0
- package/packages/ui/dist/components/ai/chat/AgentExecutionCard.d.ts +13 -0
- package/packages/ui/dist/components/ai/chat/DirectChatHeader.d.ts +13 -0
- package/packages/ui/dist/components/ai/chat/DirectChatInput.d.ts +13 -0
- package/packages/ui/dist/components/ai/chat/DirectChatInput.test.d.ts +1 -0
- package/packages/ui/dist/components/ai/chat/DirectChatMessageList.d.ts +21 -0
- package/packages/ui/dist/components/ai/chat/index.d.ts +8 -0
- package/packages/ui/dist/components/ai/execution-status/TimelineScrubber.d.ts +21 -0
- package/packages/ui/dist/components/ai/execution-status/index.d.ts +5 -0
- package/packages/ui/dist/components/ai/index.d.ts +7 -386
- package/packages/ui/dist/components/ai/key-manager/EmailProfileCard.d.ts +3 -0
- package/packages/ui/dist/components/ai/key-manager/EmailProfileRegistrationForm.d.ts +3 -0
- package/packages/ui/dist/components/ai/key-manager/EmailProviderRow.d.ts +3 -0
- package/packages/ui/dist/components/ai/key-manager/ExistingKeyControl.d.ts +3 -0
- package/packages/ui/dist/components/ai/key-manager/KeyBackupExportTab.d.ts +6 -0
- package/packages/ui/dist/components/ai/key-manager/KeyBackupImportTab.d.ts +11 -0
- package/packages/ui/dist/components/ai/key-manager/KeyBackupModal.d.ts +3 -0
- package/packages/ui/dist/components/ai/key-manager/KeyListContainer.d.ts +19 -0
- package/packages/ui/dist/components/ai/key-manager/KeyModelVerificationSuite.d.ts +11 -0
- package/packages/ui/dist/components/ai/key-manager/KeyProviderFilterBar.d.ts +12 -0
- package/packages/ui/dist/components/ai/key-manager/SingleKeyCard.d.ts +19 -0
- package/packages/ui/dist/components/ai/key-manager/SingleKeyForm.d.ts +16 -0
- package/packages/ui/dist/components/ai/key-manager/contracts.d.ts +81 -0
- package/packages/ui/dist/components/ai/key-manager/index.d.ts +17 -0
- package/packages/ui/dist/components/ai/key-manager/key-management.test.d.ts +1 -0
- package/packages/ui/dist/components/ai/model-card/ModelCard.d.ts +22 -0
- package/packages/ui/dist/components/ai/model-card/ModelCardFooter.d.ts +13 -0
- package/packages/ui/dist/components/ai/model-card/ModelCardHeader.d.ts +17 -0
- package/packages/ui/dist/components/ai/model-card/index.d.ts +9 -0
- package/packages/ui/dist/components/ai/model-card/providerIconHelper.d.ts +6 -0
- package/packages/ui/dist/components/ai/model-card/types.d.ts +23 -0
- package/packages/ui/dist/components/ai/model-picker/AIModelPicker.d.ts +13 -0
- package/packages/ui/dist/components/ai/model-picker/AIProviderSelector.d.ts +12 -0
- package/packages/ui/dist/components/ai/model-picker/index.d.ts +6 -0
- package/packages/ui/dist/components/auth/AuthLoadingScreen.d.ts +7 -0
- package/packages/ui/dist/components/auth/AuthPage.contract.test.d.ts +1 -0
- package/packages/ui/dist/components/auth/AuthPage.d.ts +81 -0
- package/packages/ui/dist/components/auth/GoogleSignInButton.d.ts +14 -0
- package/packages/ui/dist/components/auth/LoginModal.d.ts +14 -0
- package/packages/ui/dist/components/auth/LuthAuthClient.d.ts +6 -0
- package/packages/ui/dist/components/auth/LuthAuthPage.d.ts +42 -0
- package/packages/ui/dist/components/auth/LuthAuthPage.lifecycle.test.d.ts +1 -0
- package/packages/ui/dist/components/auth/LuthAuthPage.test.d.ts +1 -0
- package/packages/ui/dist/components/auth/LuthProtectedRoute.d.ts +10 -0
- package/packages/ui/dist/components/auth/authContract.test.d.ts +1 -0
- package/packages/ui/dist/components/auth/index.d.ts +9 -166
- package/packages/ui/dist/components/auth/luthAuthTypes.d.ts +2 -0
- package/packages/ui/dist/components/auth/publicExports.test.d.ts +1 -0
- package/packages/ui/dist/components/base/BaseBadge.d.ts +6 -0
- package/packages/ui/dist/components/base/BaseButton.d.ts +9 -0
- package/packages/ui/dist/components/base/BaseCard.d.ts +8 -0
- package/packages/ui/dist/components/base/BaseInput.d.ts +7 -0
- package/packages/ui/dist/components/base/BaseSelect.d.ts +10 -0
- package/packages/ui/dist/components/base/BaseTextarea.d.ts +6 -0
- package/packages/ui/dist/components/base/BaseToggle.d.ts +6 -0
- package/packages/ui/dist/components/base/BaseTooltip.d.ts +12 -0
- package/packages/ui/dist/components/base/CredentialField.d.ts +15 -0
- package/packages/ui/dist/components/base/index.d.ts +9 -74
- package/packages/ui/dist/components/bottom-strip/ApiCallIndicator.d.ts +5 -0
- package/packages/ui/dist/components/bottom-strip/AutoSaveToggle.d.ts +5 -0
- package/packages/ui/dist/components/bottom-strip/BottomStrip.d.ts +9 -0
- package/packages/ui/dist/components/bottom-strip/BottomStripContext.d.ts +41 -0
- package/packages/ui/dist/components/bottom-strip/StatusLight.d.ts +7 -0
- package/packages/ui/dist/components/bottom-strip/SystemMessageDisplay.d.ts +5 -0
- package/packages/ui/dist/components/bottom-strip/index.d.ts +6 -67
- package/packages/ui/dist/components/composite/ConfirmDialog.d.ts +10 -0
- package/packages/ui/dist/components/composite/CopyableErrorAlert.d.ts +9 -0
- package/packages/ui/dist/components/composite/CopyableLogViewer.d.ts +16 -0
- package/packages/ui/dist/components/composite/EmptyState.d.ts +9 -0
- package/packages/ui/dist/components/composite/IconOnlyButton.d.ts +13 -0
- package/packages/ui/dist/components/composite/LoadingOverlay.d.ts +3 -0
- package/packages/ui/dist/components/composite/SearchInput.d.ts +3 -0
- package/packages/ui/dist/components/composite/SearchableList.d.ts +16 -0
- package/packages/ui/dist/components/composite/StatusIndicator.d.ts +7 -0
- package/packages/ui/dist/components/composite/index.d.ts +10 -104
- package/packages/ui/dist/components/composite/useSearchKeyboardNavigation.d.ts +21 -0
- package/packages/ui/dist/components/containers/DrawerContainer.d.ts +8 -0
- package/packages/ui/dist/components/containers/FloatingDetailsPanel.d.ts +19 -0
- package/packages/ui/dist/components/containers/ModalContainer.d.ts +7 -0
- package/packages/ui/dist/components/containers/PageContainer.d.ts +9 -0
- package/packages/ui/dist/components/containers/PanelContainer.d.ts +3 -0
- package/packages/ui/dist/components/containers/ResizeHandles.d.ts +6 -0
- package/packages/ui/dist/components/containers/SectionContainer.d.ts +7 -0
- package/packages/ui/dist/components/containers/SidebarContainer.d.ts +7 -0
- package/packages/ui/dist/components/containers/SplitContainer.d.ts +6 -0
- package/packages/ui/dist/components/containers/TabContainer.d.ts +10 -0
- package/packages/ui/dist/components/containers/index.d.ts +12 -93
- package/packages/ui/dist/components/containers/usePanelGeometry.d.ts +11 -0
- package/packages/ui/dist/components/containers/usePanelInteraction.d.ts +8 -0
- package/packages/ui/dist/components/graph/GraphsMenu.d.ts +19 -0
- package/packages/ui/dist/components/graph/index.d.ts +1 -29
- package/packages/ui/dist/components/layout/AppShell.d.ts +16 -0
- package/packages/ui/dist/components/layout/BreadcrumbNav.d.ts +9 -0
- package/packages/ui/dist/components/layout/HeaderBar.d.ts +8 -0
- package/packages/ui/dist/components/layout/TopToolbar.d.ts +21 -0
- package/packages/ui/dist/components/layout/index.d.ts +4 -53
- package/packages/ui/dist/components/layout/index.js +2 -2
- package/packages/ui/dist/components/services/ClockServicePanel.d.ts +26 -0
- package/packages/ui/dist/components/services/MidiServicePanel.d.ts +31 -0
- package/packages/ui/dist/components/services/OscServicePanel.d.ts +22 -0
- package/packages/ui/dist/components/settings/AccountsSettingsSection.d.ts +6 -0
- package/packages/ui/dist/components/settings/SettingsTab.d.ts +9 -0
- package/packages/ui/dist/components/settings/ThemeSettingsSection.d.ts +2 -0
- package/packages/ui/dist/components/settings/index.d.ts +3 -20
- package/packages/ui/dist/components/tiles/TilesMenu.d.ts +80 -0
- package/packages/ui/dist/components/tiles/index.d.ts +1 -83
- package/packages/ui/dist/components/timeline/MidiTimeline.d.ts +23 -0
- package/packages/ui/dist/components/timeline/MusicalTimeline.d.ts +15 -0
- package/packages/ui/dist/components/timeline/index.d.ts +2 -0
- package/packages/ui/dist/components/timeline/index.js +14 -0
- package/packages/ui/dist/components/timeline/timeline.test.d.ts +1 -0
- package/packages/ui/dist/components/workspace/SrklBackblazeTile.d.ts +27 -0
- package/packages/ui/dist/components/workspace/StorageOptionTiles.d.ts +27 -0
- package/packages/ui/dist/components/workspace/StoragePresetTile.d.ts +8 -0
- package/packages/ui/dist/components/workspace/WorkspaceCreateDialog.contract.test.d.ts +1 -0
- package/packages/ui/dist/components/workspace/WorkspaceCreateDialog.d.ts +96 -0
- package/packages/ui/dist/components/workspace/WorkspaceGate.d.ts +31 -0
- package/packages/ui/dist/components/workspace/WorkspaceSecondaryClonesPanel.d.ts +17 -0
- package/packages/ui/dist/components/workspace/WorkspaceStorageReadonlyPanel.d.ts +6 -0
- package/packages/ui/dist/components/workspace/WorkspaceTilesMenu.d.ts +96 -0
- package/packages/ui/dist/components/workspace/index.d.ts +8 -302
- package/packages/ui/dist/frnl/frnlBottomBar.d.ts +17 -0
- package/packages/ui/dist/frnl/frnlButton.d.ts +160 -0
- package/packages/ui/dist/frnl/frnlControls.d.ts +160 -0
- package/packages/ui/dist/frnl/frnlForceGraph.d.ts +76 -0
- package/packages/ui/dist/frnl/frnlNodeGraph.d.ts +105 -0
- package/packages/ui/dist/frnl/frnlPage.d.ts +31 -0
- package/packages/ui/dist/frnl/frnlTabWindow.d.ts +18 -0
- package/packages/ui/dist/frnl/frnlTextInput.d.ts +139 -0
- package/packages/ui/dist/frnl/frnlTextInput.test.d.ts +1 -0
- package/packages/ui/dist/frnl/frnlTopBar.d.ts +35 -0
- package/packages/ui/dist/frnl/graph-theme.test.d.ts +1 -0
- package/packages/ui/dist/frnl/graph.test.d.ts +1 -0
- package/packages/ui/dist/frnl/index.d.ts +10 -562
- package/packages/ui/dist/frnl/store.d.ts +9 -13
- package/packages/ui/dist/frnl/store.test.d.ts +1 -0
- package/packages/ui/dist/hierarchy/BadgeParent.d.ts +25 -0
- package/packages/ui/dist/hierarchy/ButtonParent.d.ts +37 -0
- package/packages/ui/dist/hierarchy/InputParent.d.ts +34 -0
- package/packages/ui/dist/hierarchy/PanelParent.d.ts +29 -0
- package/packages/ui/dist/hierarchy/TileParent.d.ts +26 -0
- package/packages/ui/dist/hierarchy/UIElementBase.d.ts +38 -0
- package/packages/ui/dist/hierarchy/UIParent.d.ts +8 -0
- package/packages/ui/dist/hierarchy/index.d.ts +7 -197
- package/packages/ui/dist/hierarchy/index.js +3 -3
- package/packages/ui/dist/index.d.ts +21 -24
- package/packages/ui/dist/index.js +59 -47
- package/packages/ui/dist/palette/ThemeContext.d.ts +21 -0
- package/packages/ui/dist/palette/domThemeInjector.d.ts +4 -0
- package/packages/ui/dist/palette/index.d.ts +4 -29
- package/packages/ui/dist/palette/palettes.d.ts +2 -0
- package/packages/ui/dist/palette/palettesBase.d.ts +2 -0
- package/packages/ui/dist/palette/palettesExtended.d.ts +2 -0
- package/packages/ui/dist/palette/types.d.ts +40 -0
- package/packages/ui/dist/serviceUIComponents/index.css +253 -0
- package/packages/ui/dist/serviceUIComponents/index.d.ts +4 -0
- package/packages/ui/dist/serviceUIComponents/index.js +315 -0
- package/packages/ui/dist/theme/SkipoThemeProvider.d.ts +25 -0
- package/packages/ui/dist/theme/ThemePackLoader.d.ts +8 -0
- package/packages/ui/dist/theme/appSocket.d.ts +22 -0
- package/packages/ui/dist/theme/canonicalElements.d.ts +4 -0
- package/packages/ui/dist/theme/canonicalElementsBase.d.ts +2 -0
- package/packages/ui/dist/theme/canonicalElementsDomain.d.ts +2 -0
- package/packages/ui/dist/theme/companionPacks.d.ts +3 -0
- package/packages/ui/dist/theme/defaultPacks.d.ts +3 -0
- package/packages/ui/dist/theme/docustackPacks.d.ts +2 -0
- package/packages/ui/dist/theme/elements.d.ts +17 -0
- package/packages/ui/dist/theme/engine.d.ts +35 -0
- package/packages/ui/dist/theme/index.d.ts +12 -12063
- package/packages/ui/dist/theme/modularPacks.d.ts +1 -0
- package/packages/ui/dist/theme/packs/docustack-cyberpunk-neon/elements.d.ts +3 -0
- package/packages/ui/dist/theme/packs/docustack-cyberpunk-neon/index.d.ts +8 -0
- package/packages/ui/dist/theme/packs/docustack-cyberpunk-neon/tokens.d.ts +3 -0
- package/packages/ui/dist/theme/packs/docustack-cyberpunk-neon/typography.d.ts +3 -0
- package/packages/ui/dist/theme/packs/docustack-dark-gold/elements.d.ts +3 -0
- package/packages/ui/dist/theme/packs/docustack-dark-gold/index.d.ts +8 -0
- package/packages/ui/dist/theme/packs/docustack-dark-gold/tokens.d.ts +3 -0
- package/packages/ui/dist/theme/packs/docustack-dark-gold/typography.d.ts +3 -0
- package/packages/ui/dist/theme/packs/docustack-warm-coffee/elements.d.ts +3 -0
- package/packages/ui/dist/theme/packs/docustack-warm-coffee/index.d.ts +8 -0
- package/packages/ui/dist/theme/packs/docustack-warm-coffee/tokens.d.ts +3 -0
- package/packages/ui/dist/theme/packs/docustack-warm-coffee/typography.d.ts +3 -0
- package/packages/ui/dist/theme/packs/index.d.ts +3 -0
- package/packages/ui/dist/theme/schema/cascade.d.ts +12 -0
- package/packages/ui/dist/theme/schema/index.d.ts +4 -0
- package/packages/ui/dist/theme/schema/themePack.schema.d.ts +10160 -0
- package/packages/ui/dist/{palettes-De5u5iID.d.ts → theme/schema/tokens.schema.d.ts} +2 -133
- package/packages/ui/dist/theme/schema/typography.schema.d.ts +1765 -0
- package/packages/ui/dist/theme/socket.d.ts +6 -0
- package/packages/ui/dist/theme/status.d.ts +3 -0
- package/packages/ui/dist/theme/tokenMapper.d.ts +1 -0
- package/packages/ui/dist/theme/types.d.ts +88 -0
- package/packages/ui/package.json +14 -3
- package/packages/ui/src/styles/services.css +11 -0
- package/packages/ui/dist/BottomStrip-DYhAUQR4.d.ts +0 -12
- package/packages/ui/dist/{chunk-Q324BMDJ.js → chunk-ECVX6KZM.js} +3 -3
- package/packages/ui/dist/{chunk-MYXPGPI3.js → chunk-GWW3BGOB.js} +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"packageName": "@ultrst-armada/floks",
|
|
4
|
-
"version": "1.13.
|
|
5
|
-
"sourceCommit": "
|
|
4
|
+
"version": "1.13.19",
|
|
5
|
+
"sourceCommit": "86e5ec9bc73ad8588744fe23a752e29bd121b65f",
|
|
6
6
|
"releaseWorkflow": "npm Release",
|
|
7
|
-
"workflowRunId": "
|
|
7
|
+
"workflowRunId": "42393806297"
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultrst-armada/floks",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -69,10 +69,20 @@
|
|
|
69
69
|
"types": "./packages/ui/dist/components/auth/index.d.ts",
|
|
70
70
|
"import": "./packages/ui/dist/components/auth/index.js",
|
|
71
71
|
"default": "./packages/ui/dist/components/auth/index.js"
|
|
72
|
+
},
|
|
73
|
+
"./ui/services": {
|
|
74
|
+
"types": "./packages/ui/dist/serviceUIComponents/index.d.ts",
|
|
75
|
+
"import": "./packages/ui/dist/serviceUIComponents/index.js",
|
|
76
|
+
"default": "./packages/ui/dist/serviceUIComponents/index.js"
|
|
77
|
+
},
|
|
78
|
+
"./ui/timeline": {
|
|
79
|
+
"types": "./packages/ui/dist/components/timeline/index.d.ts",
|
|
80
|
+
"import": "./packages/ui/dist/components/timeline/index.js",
|
|
81
|
+
"default": "./packages/ui/dist/components/timeline/index.js"
|
|
72
82
|
}
|
|
73
83
|
},
|
|
74
84
|
"scripts": {
|
|
75
|
-
"build": "pnpm -r run build",
|
|
85
|
+
"build": "NODE_OPTIONS=--max-old-space-size=4096 pnpm -r --workspace-concurrency=1 run build && NODE_OPTIONS=--max-old-space-size=4096 pnpm --filter @floks/ui run build:types && NODE_OPTIONS=--max-old-space-size=4096 pnpm --filter @floks/canvas-ui run build:types",
|
|
76
86
|
"postbuild": "node -e \"import('fs').then(fs => { for (const pkg of fs.readdirSync('packages')) { const d = 'packages/' + pkg + '/dist'; if (!fs.existsSync(d)) continue; for (const f of fs.readdirSync(d, { recursive: true })) { const p = d + '/' + f; if (fs.statSync(p).isFile() && (p.endsWith('.js') || p.endsWith('.d.ts'))) { const c = fs.readFileSync(p, 'utf8'); const n = c.replaceAll('@kloks/', '@ultrst-armada/kloks/').replaceAll('@floks/', '@ultrst-armada/floks/').replaceAll('@ultrst/kloks/', '@ultrst-armada/kloks/').replaceAll('@ultrst/floks/', '@ultrst-armada/floks/').replaceAll('\\\"kloks/', '\\\"@ultrst-armada/kloks/').replaceAll('\\'kloks/', '\\'@ultrst-armada/kloks/').replaceAll('\\\"floks/', '\\\"@ultrst-armada/floks/').replaceAll('\\'floks/', '\\'@ultrst-armada/floks/'); if (c !== n) fs.writeFileSync(p, n); } } } })\"",
|
|
77
87
|
"test": "vitest run",
|
|
78
88
|
"typecheck": "pnpm -r run typecheck",
|
|
@@ -84,8 +94,8 @@
|
|
|
84
94
|
"d3-force": "^3.0.0",
|
|
85
95
|
"zod": "^3.24.1",
|
|
86
96
|
"zustand": "^5.0.3",
|
|
87
|
-
"@ultrst-armada/kloks": "^1.
|
|
88
|
-
"@dinilmusick/gutts": "^1.
|
|
97
|
+
"@ultrst-armada/kloks": "^1.26.0",
|
|
98
|
+
"@dinilmusick/gutts": "^1.6.0"
|
|
89
99
|
},
|
|
90
100
|
"peerDependencies": {
|
|
91
101
|
"lucide-react": ">=0.300.0",
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { Socket } from '@ultrst-armada/kloks/state-graph';
|
|
3
|
+
export interface MovableSocketViewProps {
|
|
4
|
+
key?: React.Key;
|
|
5
|
+
nodeId: string;
|
|
6
|
+
socket: Socket;
|
|
7
|
+
isRight?: boolean;
|
|
8
|
+
topOffset?: number;
|
|
9
|
+
onMouseDown?: (e: React.MouseEvent, nodeId: string, socketId: string, type: 'input' | 'output') => void;
|
|
10
|
+
onMouseUp?: (e: React.MouseEvent, nodeId: string, socketId: string, type: 'input' | 'output') => void;
|
|
11
|
+
onSocketNudgeChange?: (nodeId: string, socketId: string, nudge: {
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
}) => void;
|
|
15
|
+
telemetry?: {
|
|
16
|
+
audioMonoLevel?: number;
|
|
17
|
+
audioStereoLevels?: {
|
|
18
|
+
left: number;
|
|
19
|
+
right: number;
|
|
20
|
+
};
|
|
21
|
+
midi?: {
|
|
22
|
+
active: boolean;
|
|
23
|
+
velocity: number;
|
|
24
|
+
note: number;
|
|
25
|
+
};
|
|
26
|
+
trigger?: {
|
|
27
|
+
active: boolean;
|
|
28
|
+
intensity: number;
|
|
29
|
+
};
|
|
30
|
+
osc?: {
|
|
31
|
+
active: boolean;
|
|
32
|
+
value: number;
|
|
33
|
+
phase: number;
|
|
34
|
+
};
|
|
35
|
+
gain?: {
|
|
36
|
+
db: number;
|
|
37
|
+
formatted: string;
|
|
38
|
+
color: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export declare function MovableSocketView({ nodeId, socket, isRight, topOffset, onMouseDown, onMouseUp, onSocketNudgeChange, telemetry }: MovableSocketViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { GraphNode } from '@ultrst-armada/kloks/state-graph';
|
|
3
|
+
export interface NodeCardProps {
|
|
4
|
+
key?: React.Key;
|
|
5
|
+
node: GraphNode;
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
onMouseDown?: (e: React.MouseEvent, nodeId: string) => void;
|
|
8
|
+
onDoubleClick?: (nodeId: string) => void;
|
|
9
|
+
onSocketMouseDown?: (e: React.MouseEvent, nodeId: string, socketId: string, type: 'input' | 'output') => void;
|
|
10
|
+
onSocketMouseUp?: (e: React.MouseEvent, nodeId: string, socketId: string, type: 'input' | 'output') => void;
|
|
11
|
+
onSocketNudgeChange?: (nodeId: string, socketId: string, nudge: {
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
}) => void;
|
|
15
|
+
getSocketTelemetry?: (nodeId: string, socketId: string, isOutput: boolean) => MovableSocketTelemetry | undefined;
|
|
16
|
+
}
|
|
17
|
+
export interface MovableSocketTelemetry {
|
|
18
|
+
audioMonoLevel?: number;
|
|
19
|
+
audioStereoLevels?: {
|
|
20
|
+
left: number;
|
|
21
|
+
right: number;
|
|
22
|
+
};
|
|
23
|
+
midi?: {
|
|
24
|
+
active: boolean;
|
|
25
|
+
velocity: number;
|
|
26
|
+
note: number;
|
|
27
|
+
};
|
|
28
|
+
trigger?: {
|
|
29
|
+
active: boolean;
|
|
30
|
+
intensity: number;
|
|
31
|
+
};
|
|
32
|
+
osc?: {
|
|
33
|
+
active: boolean;
|
|
34
|
+
value: number;
|
|
35
|
+
phase: number;
|
|
36
|
+
};
|
|
37
|
+
gain?: {
|
|
38
|
+
db: number;
|
|
39
|
+
formatted: string;
|
|
40
|
+
color: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export declare function NodeCard({ node, selected, onMouseDown, onDoubleClick, onSocketMouseDown, onSocketMouseUp, onSocketNudgeChange, getSocketTelemetry }: NodeCardProps): React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { GraphNode } from '@ultrst-armada/kloks/state-graph';
|
|
2
|
+
export interface NodeDetailsPanelProps {
|
|
3
|
+
node: GraphNode | null;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
isPinned?: boolean;
|
|
7
|
+
onTogglePin?: () => void;
|
|
8
|
+
onUpdateNode?: (nodeId: string, updates: Partial<GraphNode>) => void;
|
|
9
|
+
storageKey?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function NodeDetailsPanel({ node, isOpen, onClose, isPinned, onTogglePin, onUpdateNode, storageKey }: NodeDetailsPanelProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { GraphNode, GraphEdge, NodeGraphConfig, ViewportState, NodeDefinition } from '@ultrst-armada/kloks/state-graph';
|
|
3
|
+
export interface NodeGraphCanvasProps {
|
|
4
|
+
nodes: GraphNode[];
|
|
5
|
+
edges: GraphEdge[];
|
|
6
|
+
viewport: ViewportState;
|
|
7
|
+
config?: NodeGraphConfig;
|
|
8
|
+
selectedNodeIds: Set<string>;
|
|
9
|
+
availableNodeTypes?: NodeDefinition[];
|
|
10
|
+
onNodesChange?: (nodes: GraphNode[]) => void;
|
|
11
|
+
onEdgesChange?: (edges: GraphEdge[]) => void;
|
|
12
|
+
onNodeDoubleClick?: (nodeId: string) => void;
|
|
13
|
+
onViewportChange?: (viewport: ViewportState) => void;
|
|
14
|
+
onSelectionChange?: (selectedIds: Set<string>) => void;
|
|
15
|
+
getSocketTelemetry?: (node: GraphNode, socketId: string, isOutput: boolean) => any;
|
|
16
|
+
}
|
|
17
|
+
export declare function NodeGraphCanvas({ nodes, edges, viewport, config, selectedNodeIds, availableNodeTypes, onNodesChange, onEdgesChange, onNodeDoubleClick, onViewportChange, onSelectionChange, getSocketTelemetry }: NodeGraphCanvasProps): React.JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { GraphNode, Socket } from '@ultrst-armada/kloks/state-graph';
|
|
3
|
+
export interface Viewer2DNodesProps {
|
|
4
|
+
key?: React.Key;
|
|
5
|
+
node: GraphNode;
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
onMouseDown?: (e: React.MouseEvent, nodeId: string) => void;
|
|
8
|
+
onDoubleClick?: (nodeId: string) => void;
|
|
9
|
+
onSocketMouseDown?: (e: React.MouseEvent, nodeId: string, socketId: string, type: 'input' | 'output') => void;
|
|
10
|
+
onSocketNudgeChange?: (nodeId: string, socketId: string, nudge: {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
}) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare function Viewer2DNodes({ node, selected, onMouseDown, onDoubleClick, onSocketMouseDown, onSocketNudgeChange }: Viewer2DNodesProps): React.JSX.Element;
|
|
16
|
+
interface MovableSocketHandleProps {
|
|
17
|
+
key?: React.Key;
|
|
18
|
+
socket: Socket;
|
|
19
|
+
nodeId: string;
|
|
20
|
+
cardWidth: number;
|
|
21
|
+
isOutput: boolean;
|
|
22
|
+
baseY: number;
|
|
23
|
+
onSocketMouseDown?: (e: React.MouseEvent, nodeId: string, socketId: string, type: 'input' | 'output') => void;
|
|
24
|
+
onSocketNudgeChange?: (nodeId: string, socketId: string, nudge: {
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
}) => void;
|
|
28
|
+
}
|
|
29
|
+
export declare function MovableSocketHandle({ socket, nodeId, cardWidth, isOutput, baseY, onSocketMouseDown, onSocketNudgeChange }: MovableSocketHandleProps): React.JSX.Element;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { GraphEdge, NodeGraphConfig } from '@ultrst-armada/kloks/state-graph';
|
|
2
|
+
interface WireRendererProps {
|
|
3
|
+
edges: GraphEdge[];
|
|
4
|
+
nodesData: Record<string, {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
inputs: any[];
|
|
10
|
+
outputs: any[];
|
|
11
|
+
}>;
|
|
12
|
+
config?: NodeGraphConfig;
|
|
13
|
+
onDeleteEdge?: (edgeId: string) => void;
|
|
14
|
+
connecting?: {
|
|
15
|
+
startX: number;
|
|
16
|
+
startY: number;
|
|
17
|
+
endX: number;
|
|
18
|
+
endY: number;
|
|
19
|
+
color?: string;
|
|
20
|
+
} | null;
|
|
21
|
+
}
|
|
22
|
+
export declare function WireRenderer({ edges, nodesData, config: _config, onDeleteEdge, connecting }: WireRendererProps): import("react").JSX.Element;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AikoIntelligenceSpec {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
}
|
|
5
|
+
export interface AikoAgentDefinition {
|
|
6
|
+
schemaVersion?: '1.0.0' | string;
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
agentType: 'TOOL' | 'ENDPOINT' | 'AIKO';
|
|
11
|
+
tool?: Record<string, unknown>;
|
|
12
|
+
intelligenceSpec?: AikoIntelligenceSpec;
|
|
13
|
+
intelligenceSpecId?: string;
|
|
14
|
+
sourceKind?: 'endpoint' | 'fod-flow' | 'gutts-api' | 'custom';
|
|
15
|
+
sourceId?: string;
|
|
16
|
+
allowedToolIds?: string[];
|
|
17
|
+
custom?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface AikoCapability {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
sourceKind?: 'endpoint' | 'fod-flow' | 'gutts-api' | 'custom';
|
|
24
|
+
sourceId?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface AikoKey {
|
|
27
|
+
id: string;
|
|
28
|
+
providerId: string;
|
|
29
|
+
label: string;
|
|
30
|
+
status?: string;
|
|
31
|
+
isActive?: boolean;
|
|
32
|
+
emailGroup?: string;
|
|
33
|
+
expiresAt?: string | null;
|
|
34
|
+
}
|
|
35
|
+
export interface AikoRuntimeLike {
|
|
36
|
+
listAgents(): Promise<AikoAgentDefinition[]>;
|
|
37
|
+
executeAgent(agentId: string, input: string): Promise<unknown>;
|
|
38
|
+
listKeys(): Promise<AikoKey[]>;
|
|
39
|
+
getActiveKey(providerId: string): Promise<AikoKey | null>;
|
|
40
|
+
rotateKey(providerId: string): Promise<AikoKey | null>;
|
|
41
|
+
addKey?(input: {
|
|
42
|
+
providerId: string;
|
|
43
|
+
label: string;
|
|
44
|
+
key: string;
|
|
45
|
+
emailGroup?: string;
|
|
46
|
+
}): Promise<unknown>;
|
|
47
|
+
syncFromAikoEngine(): Promise<{
|
|
48
|
+
synced: number;
|
|
49
|
+
message?: string;
|
|
50
|
+
}>;
|
|
51
|
+
listCapabilities?(): Promise<AikoCapability[]>;
|
|
52
|
+
createCustomAgent?(name: string, capabilityIds: string[], specId?: string): Promise<AikoAgentDefinition>;
|
|
53
|
+
}
|
|
54
|
+
export interface AikoModuleProps {
|
|
55
|
+
runtime: AikoRuntimeLike;
|
|
56
|
+
workspaceId: string;
|
|
57
|
+
className?: string;
|
|
58
|
+
}
|
|
59
|
+
export declare function AikoModule({ runtime, workspaceId, className }: AikoModuleProps): React.JSX.Element;
|
|
60
|
+
export declare namespace AikoModule {
|
|
61
|
+
var displayName: string;
|
|
62
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,65 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
interface AikoIntelligenceSpec {
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
}
|
|
6
|
-
interface AikoAgentDefinition {
|
|
7
|
-
schemaVersion?: '1.0.0' | string;
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
agentType: 'TOOL' | 'ENDPOINT' | 'AIKO';
|
|
12
|
-
tool?: Record<string, unknown>;
|
|
13
|
-
intelligenceSpec?: AikoIntelligenceSpec;
|
|
14
|
-
intelligenceSpecId?: string;
|
|
15
|
-
sourceKind?: 'endpoint' | 'fod-flow' | 'gutts-api' | 'custom';
|
|
16
|
-
sourceId?: string;
|
|
17
|
-
allowedToolIds?: string[];
|
|
18
|
-
custom?: boolean;
|
|
19
|
-
}
|
|
20
|
-
interface AikoCapability {
|
|
21
|
-
id: string;
|
|
22
|
-
name: string;
|
|
23
|
-
description?: string;
|
|
24
|
-
sourceKind?: 'endpoint' | 'fod-flow' | 'gutts-api' | 'custom';
|
|
25
|
-
sourceId?: string;
|
|
26
|
-
}
|
|
27
|
-
interface AikoKey {
|
|
28
|
-
id: string;
|
|
29
|
-
providerId: string;
|
|
30
|
-
label: string;
|
|
31
|
-
status?: string;
|
|
32
|
-
isActive?: boolean;
|
|
33
|
-
emailGroup?: string;
|
|
34
|
-
expiresAt?: string | null;
|
|
35
|
-
}
|
|
36
|
-
interface AikoRuntimeLike {
|
|
37
|
-
listAgents(): Promise<AikoAgentDefinition[]>;
|
|
38
|
-
executeAgent(agentId: string, input: string): Promise<unknown>;
|
|
39
|
-
listKeys(): Promise<AikoKey[]>;
|
|
40
|
-
getActiveKey(providerId: string): Promise<AikoKey | null>;
|
|
41
|
-
rotateKey(providerId: string): Promise<AikoKey | null>;
|
|
42
|
-
addKey?(input: {
|
|
43
|
-
providerId: string;
|
|
44
|
-
label: string;
|
|
45
|
-
key: string;
|
|
46
|
-
emailGroup?: string;
|
|
47
|
-
}): Promise<unknown>;
|
|
48
|
-
syncFromAikoEngine(): Promise<{
|
|
49
|
-
synced: number;
|
|
50
|
-
message?: string;
|
|
51
|
-
}>;
|
|
52
|
-
listCapabilities?(): Promise<AikoCapability[]>;
|
|
53
|
-
createCustomAgent?(name: string, capabilityIds: string[], specId?: string): Promise<AikoAgentDefinition>;
|
|
54
|
-
}
|
|
55
|
-
interface AikoModuleProps {
|
|
56
|
-
runtime: AikoRuntimeLike;
|
|
57
|
-
workspaceId: string;
|
|
58
|
-
className?: string;
|
|
59
|
-
}
|
|
60
|
-
declare function AikoModule({ runtime, workspaceId, className }: AikoModuleProps): React__default.JSX.Element;
|
|
61
|
-
declare namespace AikoModule {
|
|
62
|
-
var displayName: string;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export { type AikoAgentDefinition, type AikoCapability, type AikoIntelligenceSpec, type AikoKey, AikoModule, type AikoModuleProps, type AikoRuntimeLike };
|
|
1
|
+
export * from './AikoModule.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { UIAuthoringNode, UIAuthoringSession } from './types.js';
|
|
3
|
+
export type UiAuthoringComponentRenderer = (node: UIAuthoringNode, slots: Record<string, React.ReactNode[]>) => React.ReactNode;
|
|
4
|
+
export declare function UiAuthoringPreview(props: {
|
|
5
|
+
session: UIAuthoringSession;
|
|
6
|
+
renderComponent: UiAuthoringComponentRenderer;
|
|
7
|
+
emptyMessage?: string;
|
|
8
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom/vitest';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { UIAuthoringValidation } from '@ultrst-armada/kloks/contracts';
|
|
3
|
+
export declare function UiAuthoringValidationPanel(props: {
|
|
4
|
+
validation?: UIAuthoringValidation;
|
|
5
|
+
status?: string;
|
|
6
|
+
onValidate?: () => void;
|
|
7
|
+
onGenerate?: () => void;
|
|
8
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AuthoringAssetRef, UIAuthoringSession } from './types.js';
|
|
3
|
+
export declare function UiAuthoringWorkspace(props: {
|
|
4
|
+
session: UIAuthoringSession;
|
|
5
|
+
availableAssets: AuthoringAssetRef[];
|
|
6
|
+
onChange: (session: UIAuthoringSession) => void;
|
|
7
|
+
onValidate?: () => void;
|
|
8
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UIAuthoringNode } from './types.js';
|
|
2
|
+
export declare function getAuthoringDepth(node: UIAuthoringNode, nodes: UIAuthoringNode[]): number;
|
|
3
|
+
export declare function getAuthoringChildren(nodeId: string, nodes: UIAuthoringNode[]): UIAuthoringNode[];
|
|
4
|
+
/** Returns a node and all descendants, even when the input tree is malformed. */
|
|
5
|
+
export declare function getAuthoringSubtreeIds(nodeId: string, nodes: UIAuthoringNode[]): Set<string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,97 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
exportPath: string;
|
|
10
|
-
assetId: string;
|
|
11
|
-
assetVersion: string;
|
|
12
|
-
}
|
|
13
|
-
interface UIAuthoringNode {
|
|
14
|
-
id: string;
|
|
15
|
-
kind: UIAuthoringNodeKind;
|
|
16
|
-
name: string;
|
|
17
|
-
componentId?: string;
|
|
18
|
-
assetRef?: AuthoringAssetRef;
|
|
19
|
-
parentId?: string;
|
|
20
|
-
props: Record<string, string | number | boolean>;
|
|
21
|
-
slots?: Record<string, string[]>;
|
|
22
|
-
states?: Record<string, Record<string, string | number | boolean>>;
|
|
23
|
-
events?: Record<string, string>;
|
|
24
|
-
}
|
|
25
|
-
interface UIAuthoringSession {
|
|
26
|
-
sessionId: string;
|
|
27
|
-
context: UIAuthoringContext;
|
|
28
|
-
nodes: UIAuthoringNode[];
|
|
29
|
-
bindings: Array<{
|
|
30
|
-
componentId: string;
|
|
31
|
-
property: string;
|
|
32
|
-
target: {
|
|
33
|
-
kind: string;
|
|
34
|
-
apiId: string;
|
|
35
|
-
field: string;
|
|
36
|
-
fieldType?: string;
|
|
37
|
-
};
|
|
38
|
-
}>;
|
|
39
|
-
operations: Array<{
|
|
40
|
-
operationId: string;
|
|
41
|
-
name: string;
|
|
42
|
-
description?: string;
|
|
43
|
-
inputFields?: Array<{
|
|
44
|
-
name: string;
|
|
45
|
-
type: string;
|
|
46
|
-
}>;
|
|
47
|
-
outputFields?: Array<{
|
|
48
|
-
name: string;
|
|
49
|
-
type: string;
|
|
50
|
-
}>;
|
|
51
|
-
}>;
|
|
52
|
-
metadata: Record<string, string>;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
declare function getAuthoringDepth(node: UIAuthoringNode, nodes: UIAuthoringNode[]): number;
|
|
56
|
-
declare function getAuthoringChildren(nodeId: string, nodes: UIAuthoringNode[]): UIAuthoringNode[];
|
|
57
|
-
/** Returns a node and all descendants, even when the input tree is malformed. */
|
|
58
|
-
declare function getAuthoringSubtreeIds(nodeId: string, nodes: UIAuthoringNode[]): Set<string>;
|
|
59
|
-
|
|
60
|
-
declare function UiAuthoringTree(props: {
|
|
61
|
-
nodes: UIAuthoringNode[];
|
|
62
|
-
selectedNodeId?: string;
|
|
63
|
-
onSelect: (nodeId: string) => void;
|
|
64
|
-
}): React__default.JSX.Element;
|
|
65
|
-
|
|
66
|
-
declare function UiAuthoringInspector(props: {
|
|
67
|
-
node?: UIAuthoringNode;
|
|
68
|
-
onChange: (patch: Partial<UIAuthoringNode>) => void;
|
|
69
|
-
}): React__default.JSX.Element;
|
|
70
|
-
|
|
71
|
-
declare function UiAuthoringWorkspace(props: {
|
|
72
|
-
session: UIAuthoringSession;
|
|
73
|
-
availableAssets: AuthoringAssetRef[];
|
|
74
|
-
onChange: (session: UIAuthoringSession) => void;
|
|
75
|
-
onValidate?: () => void;
|
|
76
|
-
}): React__default.JSX.Element;
|
|
77
|
-
|
|
78
|
-
declare function UiAuthoringBindingEditor(props: {
|
|
79
|
-
session: UIAuthoringSession;
|
|
80
|
-
onChange: (session: UIAuthoringSession) => void;
|
|
81
|
-
}): React__default.JSX.Element;
|
|
82
|
-
|
|
83
|
-
declare function UiAuthoringValidationPanel(props: {
|
|
84
|
-
validation?: UIAuthoringValidation;
|
|
85
|
-
status?: string;
|
|
86
|
-
onValidate?: () => void;
|
|
87
|
-
onGenerate?: () => void;
|
|
88
|
-
}): React__default.JSX.Element;
|
|
89
|
-
|
|
90
|
-
type UiAuthoringComponentRenderer = (node: UIAuthoringNode, slots: Record<string, React__default.ReactNode[]>) => React__default.ReactNode;
|
|
91
|
-
declare function UiAuthoringPreview(props: {
|
|
92
|
-
session: UIAuthoringSession;
|
|
93
|
-
renderComponent: UiAuthoringComponentRenderer;
|
|
94
|
-
emptyMessage?: string;
|
|
95
|
-
}): React__default.JSX.Element;
|
|
96
|
-
|
|
97
|
-
export { type AuthoringAssetRef, type UIAuthoringContext, type UIAuthoringNode, type UIAuthoringNodeKind, type UIAuthoringSession, UiAuthoringBindingEditor, type UiAuthoringComponentRenderer, UiAuthoringInspector, UiAuthoringPreview, UiAuthoringTree, UiAuthoringValidationPanel, UiAuthoringWorkspace, getAuthoringChildren, getAuthoringDepth, getAuthoringSubtreeIds };
|
|
1
|
+
export * from './authoringModel.js';
|
|
2
|
+
export * from './UiAuthoringTree.js';
|
|
3
|
+
export * from './UiAuthoringInspector.js';
|
|
4
|
+
export * from './UiAuthoringWorkspace.js';
|
|
5
|
+
export * from './types.js';
|
|
6
|
+
export * from './UiAuthoringBindingEditor.js';
|
|
7
|
+
export * from './UiAuthoringValidationPanel.js';
|
|
8
|
+
export * from './UiAuthoringPreview.js';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export type UIAuthoringContext = 'service' | 'general-component' | 'application';
|
|
2
|
+
export type UIAuthoringNodeKind = 'page' | 'section' | 'component';
|
|
3
|
+
export interface AuthoringAssetRef {
|
|
4
|
+
packageId: string;
|
|
5
|
+
packageVersion: string;
|
|
6
|
+
exportPath: string;
|
|
7
|
+
assetId: string;
|
|
8
|
+
assetVersion: string;
|
|
9
|
+
}
|
|
10
|
+
export interface UIAuthoringNode {
|
|
11
|
+
id: string;
|
|
12
|
+
kind: UIAuthoringNodeKind;
|
|
13
|
+
name: string;
|
|
14
|
+
componentId?: string;
|
|
15
|
+
assetRef?: AuthoringAssetRef;
|
|
16
|
+
parentId?: string;
|
|
17
|
+
props: Record<string, string | number | boolean>;
|
|
18
|
+
slots?: Record<string, string[]>;
|
|
19
|
+
states?: Record<string, Record<string, string | number | boolean>>;
|
|
20
|
+
events?: Record<string, string>;
|
|
21
|
+
}
|
|
22
|
+
export interface UIAuthoringSession {
|
|
23
|
+
sessionId: string;
|
|
24
|
+
context: UIAuthoringContext;
|
|
25
|
+
nodes: UIAuthoringNode[];
|
|
26
|
+
bindings: Array<{
|
|
27
|
+
componentId: string;
|
|
28
|
+
property: string;
|
|
29
|
+
target: {
|
|
30
|
+
kind: string;
|
|
31
|
+
apiId: string;
|
|
32
|
+
field: string;
|
|
33
|
+
fieldType?: string;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
operations: Array<{
|
|
37
|
+
operationId: string;
|
|
38
|
+
name: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
inputFields?: Array<{
|
|
41
|
+
name: string;
|
|
42
|
+
type: string;
|
|
43
|
+
}>;
|
|
44
|
+
outputFields?: Array<{
|
|
45
|
+
name: string;
|
|
46
|
+
type: string;
|
|
47
|
+
}>;
|
|
48
|
+
}>;
|
|
49
|
+
metadata: Record<string, string>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Transform } from './types.js';
|
|
3
|
+
interface CanvasViewportProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
transform: Transform;
|
|
6
|
+
onChange: (t: Transform) => void;
|
|
7
|
+
minZoom?: number;
|
|
8
|
+
maxZoom?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function CanvasViewport({ children, transform, onChange, minZoom, maxZoom }: CanvasViewportProps): React.JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Transform, CanvasItem } from './types.js';
|
|
2
|
+
interface InfiniteCanvasProps {
|
|
3
|
+
items: CanvasItem[];
|
|
4
|
+
transform: Transform;
|
|
5
|
+
onTransformChange: (t: Transform) => void;
|
|
6
|
+
showGrid?: boolean;
|
|
7
|
+
showMiniMap?: boolean;
|
|
8
|
+
gridSize?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function InfiniteCanvas({ items, transform, onTransformChange, showGrid, showMiniMap, gridSize }: InfiniteCanvasProps): import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Transform, CanvasItem } from './types.js';
|
|
2
|
+
interface MiniMapProps {
|
|
3
|
+
items: CanvasItem[];
|
|
4
|
+
transform: Transform;
|
|
5
|
+
width?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function MiniMap({ items, transform, width, height }: MiniMapProps): import("react").JSX.Element;
|
|
9
|
+
export {};
|