@huanban/rulego-editor-react 1.4.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -12
- package/dist/components/AIChat.d.ts +7 -0
- package/dist/components/ComponentSidebar.d.ts +10 -0
- package/dist/components/EditorToolbar.d.ts +1 -0
- package/dist/components/MiniMap.d.ts +1 -1
- package/dist/components/RuleGoEditor.d.ts +53 -3
- package/dist/components/SharedNodeManager.d.ts +12 -0
- package/dist/components/WorkspaceTabs.d.ts +4 -1
- package/dist/hooks/useClipboard.d.ts +4 -2
- package/dist/hooks/useDialogConfirmation.d.ts +4 -0
- package/dist/index.cjs +9 -9
- package/dist/index.d.ts +7 -2
- package/dist/index.esm.js +5091 -4529
- package/dist/style.css +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import '@logicflow/core/dist/index.css';
|
|
|
2
2
|
import '@logicflow/extension/dist/index.css';
|
|
3
3
|
import './styles/components.css';
|
|
4
4
|
export { default as RuleGoEditor } from './components/RuleGoEditor';
|
|
5
|
-
export type { RuleGoEditorProps, RuleGoEditorRef } from './components/RuleGoEditor';
|
|
5
|
+
export type { RuleGoEditorProps, RuleGoEditorRef, RuleGoEditorSlot, RuleGoEditorSlots, RuleGoEditorPanelSlots } from './components/RuleGoEditor';
|
|
6
|
+
export type { EditorRegionId, EditorRegionContext, EditorRegionMount, EditorRegionRenderer, EditorRegionRenderers, EditorPanelRenderers, EditorHostPanelDefinition, EditorHeaderOptions, EditorHeaderBadge, } from '@huanban/rulego-editor-core';
|
|
6
7
|
export { default as ComponentSidebar } from './components/ComponentSidebar';
|
|
7
8
|
export type { ComponentSidebarProps, RuleGoComponent, ComponentField as RuleGoComponentField, } from './components/ComponentSidebar';
|
|
8
9
|
export { default as NodePropertyDrawer } from './components/NodePropertyDrawer';
|
|
@@ -56,6 +57,8 @@ export { RuleMaintenancePanel } from './components/RuleMaintenancePanel';
|
|
|
56
57
|
export type { RuleMaintenancePanelProps } from './components/RuleMaintenancePanel';
|
|
57
58
|
export { CopilotChat } from './components/CopilotChat';
|
|
58
59
|
export type { CopilotChatPersistence, CopilotChatProps, CopilotChatViewMessage } from './components/CopilotChat';
|
|
60
|
+
export { AIChat } from './components/AIChat';
|
|
61
|
+
export type { AIChatProps } from './components/AIChat';
|
|
59
62
|
export { AIAssistant } from './components/AIAssistant';
|
|
60
63
|
export type { AIAssistantProps } from './components/AIAssistant';
|
|
61
64
|
export { DynamicForm } from './components/DynamicForm';
|
|
@@ -80,5 +83,7 @@ export { useEditorPanels } from './hooks/useEditorPanels';
|
|
|
80
83
|
export type { UseEditorPanelsOptions, UseEditorPanelsReturn } from './hooks/useEditorPanels';
|
|
81
84
|
export { useClipboard } from './hooks/useClipboard';
|
|
82
85
|
export type { ClipboardNode, ClipboardCallbacks, ClipboardManager, } from './hooks/useClipboard';
|
|
83
|
-
export type { EditorOptions, RuleChainData, RuleChainConfig, RuleNodeConfig, RuleConnectionConfig, RuleEndpointConfig, ComponentDefinition, ComponentGroup, ComponentField, EditorEventMap, EditorEventName, WorkflowItem, PagedResponse, ListAllResult, ApiResult, WorkflowFetcher, RuleChainAPIOptions, RuleChainRoutes, WorkflowListIcons, WorkflowInfoIcons, WorkflowTheme, AIAssistantOpenOptions, ComponentManageDialogTab, SettingsDialogTab, SharedNode, SharedNodeFetcher, EditorChatHistoryMode, EditorPersistenceAdapter, EditorPersistenceNamespace, EditorWorkspaceTab, EditorWorkspaceState, WorkspaceListener, OpenWorkspaceTabInput, CloseWorkspaceTabOptions, CloseWorkspaceTabResult, WorkspaceConflictResolution, WorkspaceConflictResult, EditorDockId, EditorWidthDockId, EditorWidthDockState, EditorHeightDockState, EditorDockState, EditorDockOptions, EditorDockBounds, EditorPanelId, EditorPanelDefinition, EditorPanelState, EditorPanelRegistry, EditorPanelRegistryOptions, ServerStatus, ServerApiStatus, ServerWsStatus, ServerWsEventStatus, ServerStatusState, ServerStatusOptions, ConnectionStatusControllerOptions, ConnectionStatusMap, ConnectionStatusPhase, ConnectionStatusProvider, ConnectionStatusState, ConnectionStatusView, NodeConnectionState, NodeConnectionStatus, } from '@huanban/rulego-editor-core';
|
|
86
|
+
export type { EditorOptions, RuleChainData, RuleChainConfig, RuleNodeConfig, RuleConnectionConfig, RuleEndpointConfig, ComponentDefinition, ComponentGroup, ComponentField, EditorEventMap, EditorEventName, WorkflowItem, PagedResponse, ListAllResult, ApiResult, WorkflowFetcher, RuleChainAPIOptions, RuleChainRoutes, WorkflowListIcons, WorkflowInfoIcons, WorkflowTheme, AIAssistantOpenOptions, ComponentManageDialogTab, SettingsDialogTab, EditorUiConfiguration, EditorUiSettingsOptions, EditorUiSettingsChange, SharedNode, SharedNodeFetcher, EditorChatHistoryMode, EditorPersistenceAdapter, EditorPersistenceNamespace, EditorWorkspaceTab, EditorWorkspaceState, WorkspaceListener, OpenWorkspaceTabInput, CloseWorkspaceTabOptions, CloseWorkspaceTabResult, WorkspaceConflictResolution, WorkspaceConflictResult, EditorDockId, EditorWidthDockId, EditorWidthDockState, EditorHeightDockState, EditorDockState, EditorDockOptions, EditorDockBounds, EditorPanelId, EditorPanelDefinition, EditorPanelState, EditorPanelRegistry, EditorPanelRegistryOptions, ServerStatus, ServerApiStatus, ServerWsStatus, ServerWsEventStatus, ServerStatusState, ServerStatusOptions, ConnectionStatusControllerOptions, ConnectionStatusMap, ConnectionStatusPhase, ConnectionStatusProvider, ConnectionStatusState, ConnectionStatusView, NodeConnectionState, NodeConnectionStatus, } from '@huanban/rulego-editor-core';
|
|
84
87
|
export { RuleChainAPI, DEFAULT_ROUTES, ConnectionStatusController, ConnectionStatusStore, normalizeConnectionStatusMap, resolveConnectionStatusView, } from '@huanban/rulego-editor-core';
|
|
88
|
+
export { SharedNodeManager } from './components/SharedNodeManager';
|
|
89
|
+
export type { SharedNodeManagerProps, SharedNodeManagerRef } from './components/SharedNodeManager';
|