@huanban/rulego-editor-core 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 -8
- package/dist/ai/ai-chat-options.d.ts +12 -0
- package/dist/api/AIAssistantAPI.d.ts +29 -0
- package/dist/api/AIManager.d.ts +7 -1
- package/dist/api/ApiProvider.d.ts +17 -4
- package/dist/api/DebugSocketClient.d.ts +2 -0
- package/dist/api/GlobalConfigAPI.d.ts +35 -0
- package/dist/api/IoTPointTemplateAPI.d.ts +32 -0
- package/dist/api/MarketplaceAPI.d.ts +39 -0
- package/dist/api/RuleChainAPI.d.ts +23 -4
- package/dist/api/RuleChainVersionsAPI.d.ts +28 -0
- package/dist/api/SkillsAPI.d.ts +31 -0
- package/dist/api/UserAPI.d.ts +39 -0
- package/dist/api/extended-api-shared.d.ts +25 -0
- package/dist/api/index.d.ts +19 -2
- package/dist/api/public-api.test-d.d.ts +87 -0
- package/dist/api/response-utils.d.ts +1 -0
- package/dist/api/types.d.ts +86 -14
- package/dist/chunks/editor-core-api-BQiYFuIO.js +1157 -0
- package/dist/chunks/editor-core-canvas-nodes-BE9eN51s.js +6921 -0
- package/dist/chunks/editor-core-code-editor-DFm5Owtv.js +660 -0
- package/dist/chunks/{editor-core-default-components-BjF65lar.js → editor-core-default-components-BsNP8ma1.js} +98 -98
- package/dist/chunks/editor-core-dialogs-D9YHvzys.js +12009 -0
- package/dist/chunks/{editor-core-locales-i6o28vm2.js → editor-core-locales-CsqTh7Wh.js} +1723 -11
- package/dist/chunks/{editor-core-node-patches-BJTT3TuX.js → editor-core-node-patches-Dbi8XYxu.js} +633 -184
- package/dist/chunks/{editor-core-node-views-BOaPVdmN.js → editor-core-node-views-C8FQYC3E.js} +39 -29
- package/dist/chunks/editor-core-property-drawers-Bqmp9B_J.js +9562 -0
- package/dist/chunks/editor-core-settings-DcGCJSc7.js +4161 -0
- package/dist/chunks/editor-core-standalone-C7pzm8ZB.js +10013 -0
- package/dist/chunks/{editor-core-styles-DFhXz0vB.js → editor-core-styles-CwjFPfAo.js} +967 -510
- package/dist/chunks/vendor-highlight-acC2fLd8.js +5868 -0
- package/dist/chunks/vendor-logicflow-core-runtime-DpsWXOGl.js +4 -0
- package/dist/chunks/vendor-logicflow-shared-C_kIdBKO.js +4 -0
- package/dist/core/ActionRegistry.d.ts +4 -2
- package/dist/core/DataAdapter.d.ts +17 -1
- package/dist/core/DialogProvider.d.ts +33 -0
- package/dist/core/EditorCore.d.ts +16 -3
- package/dist/core/FieldCapabilityRegistry.d.ts +4 -1
- package/dist/core/FieldChangeRegistry.d.ts +3 -1
- package/dist/core/I18nManager.d.ts +1 -1
- package/dist/core/IdentityProvider.d.ts +32 -0
- package/dist/core/OptionSourceRegistry.d.ts +4 -1
- package/dist/core/PropertyControlRegistry.d.ts +29 -0
- package/dist/core/ThemeManager.d.ts +7 -0
- package/dist/core/anchored-popover.d.ts +16 -0
- package/dist/core/assistant-dsl.d.ts +18 -0
- package/dist/core/business-log-config.d.ts +18 -0
- package/dist/core/clean-snapshot.d.ts +14 -0
- package/dist/core/component-localization.d.ts +17 -0
- package/dist/core/component-palette.d.ts +3 -0
- package/dist/core/connection-status.d.ts +11 -0
- package/dist/core/dialog-styles.d.ts +1 -0
- package/dist/core/editor-capabilities.d.ts +82 -1
- package/dist/core/editor-edge-anchors.d.ts +16 -0
- package/dist/core/endpoint-protocol.d.ts +15 -0
- package/dist/core/expression-preview.d.ts +6 -0
- package/dist/core/field-protocol.d.ts +19 -4
- package/dist/core/global-config.d.ts +47 -0
- package/dist/core/global-search.d.ts +31 -0
- package/dist/core/group-protocol.d.ts +56 -0
- package/dist/core/identity-provider-default.d.ts +32 -0
- package/dist/core/index.d.ts +31 -5
- package/dist/core/keymap.d.ts +10 -0
- package/dist/core/payload-kv.d.ts +7 -0
- package/dist/core/rule-chain-versions.d.ts +143 -0
- package/dist/core/run-analysis.d.ts +126 -0
- package/dist/core/runtime-field-dictionary.d.ts +3 -0
- package/dist/core/save-conflict.d.ts +1 -0
- package/dist/core/server-status.d.ts +1 -0
- package/dist/core/toolbar-icons.d.ts +1 -1
- package/dist/core/variable-completion.d.ts +13 -0
- package/dist/core/websocket-auth.d.ts +2 -0
- package/dist/defaults/analysis-locales.d.ts +241 -0
- package/dist/defaults/component-locale-categories.d.ts +14 -0
- package/dist/defaults/component-locale-data.d.ts +4 -0
- package/dist/defaults/component-locale-en-US.d.ts +10 -0
- package/dist/defaults/component-locale-summaries.d.ts +15 -0
- package/dist/defaults/component-locale-zh-CN.d.ts +10 -0
- package/dist/defaults/editor-shell-locales.d.ts +290 -0
- package/dist/defaults/example-chain.d.ts +2 -0
- package/dist/defaults/field-interaction-locales.d.ts +19 -0
- package/dist/defaults/global-config-locales.d.ts +166 -0
- package/dist/defaults/official-component-fallbacks.d.ts +2 -1
- package/dist/defaults/point-template-locales.d.ts +64 -0
- package/dist/index.cjs +2856 -2086
- package/dist/index.d.ts +33 -10
- package/dist/index.esm.js +1182 -810
- package/dist/index.umd.js +2850 -2080
- package/dist/nodes/UnknownNodeModel.d.ts +12 -1
- package/dist/standalone/HuanbanRulegoEditor.d.ts +145 -13
- package/dist/standalone/auth-fetch.d.ts +1 -0
- package/dist/standalone/auth-ui-defaults.d.ts +15 -0
- package/dist/standalone/code-editor.d.ts +7 -5
- package/dist/standalone/connection-status-binding.d.ts +3 -2
- package/dist/standalone/custom-nodes.d.ts +13 -0
- package/dist/standalone/drawer-locale.d.ts +12 -0
- package/dist/standalone/drawer-unsaved-guard.d.ts +6 -1
- package/dist/standalone/dynamic-field-browse.d.ts +25 -0
- package/dist/standalone/edge-label-quick-editor.d.ts +2 -1
- package/dist/standalone/editor-actions.d.ts +1 -0
- package/dist/standalone/editor-canvas-anchors.d.ts +19 -0
- package/dist/standalone/editor-canvas-shortcuts.d.ts +1 -0
- package/dist/standalone/editor-chain-info.d.ts +1 -0
- package/dist/standalone/editor-debug-data.d.ts +18 -0
- package/dist/standalone/editor-debug-ws.d.ts +2 -0
- package/dist/standalone/editor-delete.d.ts +5 -3
- package/dist/standalone/editor-dialog-provider.d.ts +3 -0
- package/dist/standalone/editor-dialogs.d.ts +25 -2
- package/dist/standalone/editor-global-config.d.ts +44 -0
- package/dist/standalone/editor-group-interactions.d.ts +1 -0
- package/dist/standalone/editor-host-region-styles.d.ts +1 -0
- package/dist/standalone/editor-host-regions.d.ts +53 -0
- package/dist/standalone/editor-login.d.ts +15 -0
- package/dist/standalone/editor-overlays.d.ts +5 -0
- package/dist/standalone/editor-property-drawers.d.ts +3 -1
- package/dist/standalone/editor-run-analysis.d.ts +81 -0
- package/dist/standalone/editor-run-compare.d.ts +20 -0
- package/dist/standalone/editor-run-waterfall.d.ts +11 -0
- package/dist/standalone/editor-toast.d.ts +1 -1
- package/dist/standalone/editor-toolbar-presentation.d.ts +12 -0
- package/dist/standalone/editor-toolbar.d.ts +5 -1
- package/dist/standalone/editor-ui-configuration.d.ts +55 -0
- package/dist/standalone/editor-ui-settings.d.ts +26 -0
- package/dist/standalone/editor-user-menu.d.ts +8 -0
- package/dist/standalone/editor-version-history.d.ts +82 -0
- package/dist/standalone/editor-workspace-shell.d.ts +47 -0
- package/dist/standalone/editor-workspace-styles.d.ts +1 -0
- package/dist/standalone/field-expression-preview.d.ts +12 -0
- package/dist/standalone/group-node.d.ts +19 -3
- package/dist/standalone/icon-utils.d.ts +7 -0
- package/dist/standalone/index.d.ts +17 -5
- package/dist/standalone/keyboard-events.d.ts +3 -0
- package/dist/standalone/multi-select-popover.d.ts +16 -0
- package/dist/standalone/node-copy.d.ts +1 -0
- package/dist/standalone/node-definitions.d.ts +4 -0
- package/dist/standalone/node-renderer-utils.d.ts +21 -0
- package/dist/standalone/node-theme.d.ts +1 -1
- package/dist/standalone/point-template-actions.d.ts +43 -0
- package/dist/standalone/property-field-draft.d.ts +5 -0
- package/dist/standalone/question-list-editor.d.ts +35 -0
- package/dist/standalone/shared-node-manager.d.ts +14 -0
- package/dist/standalone/single-select-popover.d.ts +6 -0
- package/dist/standalone/theme-scope.d.ts +15 -0
- package/dist/standalone/themes.d.ts +4 -0
- package/dist/standalone/variable-completion-dropdown.d.ts +18 -0
- package/dist/types/component.d.ts +22 -1
- package/dist/types/editor.d.ts +41 -0
- package/dist/utils/relation-utils.d.ts +19 -1
- package/dist/version.d.ts +2 -2
- package/package.json +3 -3
- package/vite-chunks.mjs +66 -0
- package/dist/chunks/editor-core-code-editor-CRki2wA_.js +0 -512
- package/dist/chunks/editor-core-dialogs-BMWb0WRN.js +0 -17228
- package/dist/chunks/editor-core-property-drawers-BPh-jj1b.js +0 -7998
- package/dist/chunks/editor-core-standalone-Cls7lcgT.js +0 -11302
- package/dist/chunks/vendor-logicflow-core-runtime-Cp6IBEjB.js +0 -217
- package/dist/chunks/vendor-logicflow-shared-C7YynLDn.js +0 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
export { HUANBAN_RULEGO_EDITOR_VERSION, EDITOR_VERSION, } from './version';
|
|
2
|
-
export { EditorCore, StateStore, EventBus, DataAdapter, ComponentRegistry, HistoryManager, BatchCommand, ValidationEngine, ThemeManager, THEME_LIGHT, THEME_DARK, THEME_BLUE, I18nManager, i18nText, RuleChainValidator, ActionRegistry, FieldCapabilityRegistry, FieldChangeHandlerNotFoundError, FieldChangeRegistry, OptionSourceRegistry, buildOptionSourceRequestKey, getFieldChangeHandlerName, DiagnosticService, ComponentDocService, RuntimeFieldDictionary, DEFAULT_RUNTIME_FIELD_MAX_DEPTH, DEFAULT_RUNTIME_FIELD_MAX_PATHS, DEFAULT_RUNTIME_FIELD_SAMPLE_LENGTH, extractRuntimeFieldPaths, mergeRuntimeFieldCompletions, ExplorerTreeStore, buildExplorerTree, expandedExplorerKeys, explorerAncestorKeys, findExplorerNode, normalizeExplorerExpandedKeys, EXPLORER_SECTION_ROOT, EXPLORER_SECTION_SUB, SIMPLE_ARRAY_DELIMITER, mergeSimpleArrayValues, normalizeSimpleArrayValues, parseSimpleArrayInput, buildFieldAttachments, buildDefaultConfiguration, cloneConfiguration, evaluateFieldDependency, formatMapEntryValue, getFieldAttachmentTarget, getFieldPathValue, getMapValueMode, getVisibleComponentFields, isFieldDependencySatisfied, parseUnknownConfiguration, parseMapEntryValue, resolveComponentFields, sanitizeConfigurationByFields, validateComponentFields, validateFieldValue, alignGraphNodes, cloneGraphSelection, insertGraphNodeOnEdge, reserveUniqueGraphElementId, distributeGraphNodes, selectConnectedNodeIds, snapGraphNodesToGrid, groupDiagnosticsByElement, validateTopology, buildComponentPalette, DEFAULT_COMPONENT_CATEGORY_ORDER, normalizeComponentCategory, calculateVirtualWindow, DEFAULT_VIRTUAL_WINDOW_ITEM_HEIGHT, DEFAULT_VIRTUAL_WINDOW_VIEWPORT_HEIGHT, DEFAULT_VIRTUAL_WINDOW_OVERSCAN, DEFAULT_VIRTUAL_WINDOW_THRESHOLD, createEmptyTableRow, coerceTableCellValue, decodeTableRowsForEditing, encodeTableRowsForStorage, findDuplicateRowValues, generatePointRows, getPointTableImportDecision, getTableColumns, getTableDetailFields, isPointTableFields, normalizeTableRows, paginateTableRows, parseCsvTable, serializeCsvTable, parseExcelTable, serializeExcelTable, cronPresetToRuleGoCron, nextRuleGoCronRuns, normalizeRuleGoCron, ruleGoCronToPreset, validateRuleGoCron, getEditorWorkspaceTabActions, getWorkspaceTabLifecycleState, isWorkspaceTabDisabled, isWorkspaceTabPinned, createDebugPanelRequestSnapshot, isDebugPanelRequestCurrent, getRuleChainErrorTexts, isRuleChainNotDeployedError, resolveRuleChainDeployState, createRuleChainSaveFingerprint, hasRuleChainSaveConflict, normalizeRuleChainSaveSnapshot, extractRunMessageFields, extractRunMessageTypes, inferRunInput, extractMsgFields, extractMsgTypes, isEditorNodeRunTarget, clampContextMenuPosition, resolveContextSubmenuPosition, getEditorToolbarIconSvg, isEditorToolbarIconName, } from './core';
|
|
2
|
+
export { EditorCore, StateStore, EventBus, DataAdapter, ComponentRegistry, HistoryManager, BatchCommand, ValidationEngine, ThemeManager, THEME_LIGHT, THEME_DARK, THEME_BLUE, I18nManager, i18nText, normalizeLocale, localizeComponentDefinition, localizeComponentFields, localizeComponentGroups, normalizeComponentLocaleMessages, applyComponentLocaleMetadata, extractAssistantRuleChain, extractRuleChainFromToolCalls, hasDestructiveRuleChainChanges, RuleChainValidator, ActionRegistry, FieldCapabilityRegistry, FieldChangeHandlerNotFoundError, FieldChangeRegistry, OptionSourceRegistry, buildOptionSourceRequestKey, getFieldChangeHandlerName, DiagnosticService, ComponentDocService, createDefaultDialogProvider, cleanSnapshot, cleanSnapshotString, sameCleanSnapshot, getVolatileKeys, createDirtySuppression, createVariableCompletionSource, createDefaultIdentityProvider, DefaultIdentityProvider, DEFAULT_KEYMAP, mergeKeymap, findKeyBinding, formatKeyBinding, createLocalGlobalSearch, parsePayloadToKvRows, serializeKvRowsToJson, isValidPayloadJson, RuntimeFieldDictionary, DEFAULT_RUNTIME_FIELD_MAX_DEPTH, DEFAULT_RUNTIME_FIELD_MAX_PATHS, DEFAULT_RUNTIME_FIELD_SAMPLE_LENGTH, extractRuntimeFieldPaths, mergeRuntimeFieldCompletions, previewTemplate, ExplorerTreeStore, buildExplorerTree, expandedExplorerKeys, explorerAncestorKeys, findExplorerNode, normalizeExplorerExpandedKeys, EXPLORER_SECTION_ROOT, EXPLORER_SECTION_SUB, SIMPLE_ARRAY_DELIMITER, mergeSimpleArrayValues, normalizeSimpleArrayValues, parseSimpleArrayInput, buildFieldAttachments, buildDefaultConfiguration, cloneConfiguration, evaluateFieldDependency, formatMapEntryValue, getFieldAttachmentTarget, getFieldPathValue, getMapValueMode, getVisibleComponentFields, isFieldDependencySatisfied, parseUnknownConfiguration, parseMapEntryValue, resolveComponentFields, sanitizeConfigurationByFields, validateComponentFields, validateFieldValue, alignGraphNodes, cloneGraphSelection, insertGraphNodeOnEdge, reserveUniqueGraphElementId, distributeGraphNodes, selectConnectedNodeIds, snapGraphNodesToGrid, groupDiagnosticsByElement, validateTopology, buildComponentPalette, DEFAULT_COMPONENT_CATEGORY_ORDER, hasDeclaredSubgroups, SUBGROUPED_COMPONENT_CATEGORIES, normalizeComponentCategory, calculateVirtualWindow, DEFAULT_VIRTUAL_WINDOW_ITEM_HEIGHT, DEFAULT_VIRTUAL_WINDOW_VIEWPORT_HEIGHT, DEFAULT_VIRTUAL_WINDOW_OVERSCAN, DEFAULT_VIRTUAL_WINDOW_THRESHOLD, createEmptyTableRow, coerceTableCellValue, decodeTableRowsForEditing, encodeTableRowsForStorage, findDuplicateRowValues, generatePointRows, getPointTableImportDecision, getTableColumns, getTableDetailFields, isPointTableFields, normalizeTableRows, paginateTableRows, parseCsvTable, serializeCsvTable, parseExcelTable, serializeExcelTable, cronPresetToRuleGoCron, nextRuleGoCronRuns, normalizeRuleGoCron, ruleGoCronToPreset, validateRuleGoCron, getEditorWorkspaceTabActions, getWorkspaceTabLifecycleState, isWorkspaceTabDisabled, isWorkspaceTabPinned, createDebugPanelRequestSnapshot, isDebugPanelRequestCurrent, getRuleChainErrorTexts, isRuleChainNotDeployedError, resolveRuleChainDeployState, createRuleChainSaveFingerprint, hasRuleChainSaveConflict, normalizeRuleChainSaveSnapshot, extractRunMessageFields, extractRunMessageTypes, inferRunInput, extractMsgFields, extractMsgTypes, isEditorNodeRunTarget, clampContextMenuPosition, resolveContextSubmenuPosition, getEditorToolbarIconSvg, isEditorToolbarIconName, } from './core';
|
|
3
3
|
export type { EditorToolbarIconName } from './core';
|
|
4
4
|
export { RUNTIME_LIMITS, RuntimeLimitError, assertGraphWithinLimits, assertComponentsWithinLimits, assertTextWithinBytes, truncateText, assertObjectDepth, } from './core/runtime-limits';
|
|
5
5
|
export { streamOpenAiChatCompletion, filterCopilotSuccessfulTurns, mergeCopilotToolCallDelta, settleCopilotToolCalls, } from './ai/copilot-transport';
|
|
6
|
+
export { resolveAIChatEndpoint, resolveAIChatTransportOptions } from './ai/ai-chat-options';
|
|
7
|
+
export type { AIChatConnectionOptions, AIChatUrlValue } from './ai/ai-chat-options';
|
|
6
8
|
export { bindCopilotCodeInteractions, getCopilotCodeBlockCode, renderCopilotCodeHtml, renderCopilotMarkdown, resolveCopilotCodeBlockAction, setCopilotCodeBlockPanel, } from './ai/copilot-markdown';
|
|
7
9
|
export type { CopilotCodeBlockAction, CopilotCodeBlockPanel, CopilotCodeInteractionOptions, CopilotMarkdownOptions, } from './ai/copilot-markdown';
|
|
8
10
|
export type { CopilotChatRole, CopilotChatMessage, CopilotConversationMessage, CopilotChatToolCallStatus, CopilotChatToolCallDelta, CopilotChatToolCall, CopilotChatTransportOptions, } from './ai/copilot-transport';
|
|
9
|
-
export type { LFNodeData, LFEdgeData, LFGraphData, LFPoint, Command, ValidationError, ValidationResult, ValidationRule, ValidationContext, ThemeVariables, ThemeDefinition, LocaleMessages, TranslationSource, ValidationIssue, RuleChainValidationResult, IssueSeverity, DebugPanelRequestSnapshot, ResolveRuleChainDeployStateOptions, RuleChainDeployState, RuntimeFieldCompletionItem, RuntimeFieldConnection, RuntimeFieldDictionaryListener, RuntimeFieldDictionaryOptions, RuntimeFieldEvent, RuntimeFieldMessage, RuntimeFieldPath, RuntimeFieldSlot, RuntimeNodeFieldEntry, EditorAction, EditorActionContext, EditorActionRuntime, EditorActionSource, EditorSelectionSnapshot, EditorShortcut, FieldCapabilityContext, FieldCapabilityHandler, FieldChangeContext, FieldChangeExecutionResult, FieldChangeExecutionStatus, FieldChangeHandler, FieldChangeResolveContext, FieldChangeResult, OptionSourceContext, OptionSourceResolveContext, OptionSourceResolver, FieldAttachmentEntry, FieldValidationError, ResolveComponentFieldsContext, AlignMode, CloneGraphSelectionOptions, ClonedGraphSelection, DistributeMode, InsertGraphNodeOnEdgeOptions, InsertGraphNodeOnEdgeResult, DiagnosticItem, TopologyContext, ComponentPaletteBuildOptions, ComponentPaletteGroup, ComponentPaletteSubgroup, ComponentDoc, ComponentDocMeta, ComponentDocProvider, VirtualWindow, VirtualWindowOptions, PointGenerationOptions, TablePage, TableRow, RuleGoCronBuildResult, RuleGoCronError, RuleGoCronErrorCode, RuleGoCronNextRunsOptions, RuleGoCronNextRunsResult, RuleGoCronPreset, RuleGoCronPresetParseResult, RuleGoCronValidationResult, EditorWorkspaceTabAction, EditorWorkspaceTabActionDescriptor, EditorWorkspaceTabLifecycleState, RunInputInference, ContextMenuPosition, ContextMenuRect, ContextMenuSize, ContextMenuViewport, } from './core';
|
|
11
|
+
export type { LFNodeData, LFEdgeData, LFGraphData, LFPoint, Command, ValidationError, ValidationResult, ValidationRule, ValidationContext, ThemeVariables, ThemeDefinition, LocaleMessages, TranslationSource, ValidationIssue, RuleChainValidationResult, IssueSeverity, DebugPanelRequestSnapshot, ResolveRuleChainDeployStateOptions, RuleChainDeployState, RuntimeFieldCompletionItem, RuntimeFieldConnection, RuntimeFieldDictionaryListener, ExpressionPreviewResult, RuntimeFieldDictionaryOptions, RuntimeFieldEvent, RuntimeFieldMessage, RuntimeFieldPath, RuntimeFieldSlot, RuntimeNodeFieldEntry, EditorAction, EditorActionContext, EditorActionRuntime, EditorActionSource, EditorSelectionSnapshot, EditorShortcut, FieldCapabilityContext, FieldCapabilityHandler, FieldChangeContext, FieldChangeExecutionResult, FieldChangeExecutionStatus, FieldChangeHandler, FieldChangeResolveContext, FieldChangeResult, OptionSourceContext, OptionSourceResolveContext, OptionSourceResolver, FieldAttachmentEntry, FieldValidationError, FieldValidationTranslator, ResolveComponentFieldsContext, AlignMode, CloneGraphSelectionOptions, ClonedGraphSelection, DistributeMode, InsertGraphNodeOnEdgeOptions, InsertGraphNodeOnEdgeResult, DiagnosticItem, TopologyContext, ComponentPaletteBuildOptions, ComponentPaletteGroup, ComponentPaletteSubgroup, ComponentDoc, ComponentDocMeta, ComponentDocProvider, DialogProvider, ConfirmOptions, PromptOptions, AlertOptions, DefaultDialogProviderOptions, DirtySuppressionOptions, DirtySuppression, VariableCompletionItem, VariableCompletionSource, ToolCallResult, NodeLogTemplate, ChainLogConfig, BusinessLogAPI, IdentityProvider, UserIdentity, LoginCredentials, AuthErrorDetails, AuthChangeCallback, DefaultIdentityProviderOptions, KeyBinding, GlobalSearchResult, GlobalSearchProvider, PayloadKvRow, VirtualWindow, VirtualWindowOptions, PointGenerationOptions, TablePage, TableRow, RuleGoCronBuildResult, RuleGoCronError, RuleGoCronErrorCode, RuleGoCronNextRunsOptions, RuleGoCronNextRunsResult, RuleGoCronPreset, RuleGoCronPresetParseResult, RuleGoCronValidationResult, EditorWorkspaceTabAction, EditorWorkspaceTabActionDescriptor, EditorWorkspaceTabLifecycleState, RunInputInference, ContextMenuPosition, ContextMenuRect, ContextMenuSize, ContextMenuViewport, } from './core';
|
|
10
12
|
export type { RuleChainConfig, RuleNodeConfig, RuleConnectionConfig, RuleEndpointConfig, RuleChainData, RuleChainMetadata, AdditionalInfo, LayoutInfo, ComponentDefinition, ComponentField, ComponentGroup, FieldValidation, FieldDependencyOperator, FieldDependency, FieldAttachment, FieldOptionsSource, AiProviderCapability, ComponentFieldControl, ComponentFieldOption, ComponentFieldControlOption, ComponentFieldGroup, DynamicFieldReference, DynamicFieldsDefinition, ComponentCategory, RawComponentData, ComponentRegistryOptions, EditorOptions, EditorState, EditorInternalData, EditorPlugin, ApiEndpoints, RequestConfig, ToolbarConfig, GridConfig, AiProviderOption, PanelType, EditorRuntimeOptionsPatch, EditorEventMap, EditorEventName, EventListener, NodeEventPayload, EdgeEventPayload, SaveEventPayload, HistoryChangePayload, ValidationPayload, } from './types';
|
|
11
13
|
export { isComponentFieldOption } from './types';
|
|
12
14
|
export { getNodeByID, getEdgeBySourceNodeIdAndTargetNodeId, getNodeSeq, getBytesLength, generateUUID, adapterComponents, toComponentMap, defaultIdGenerator, } from './utils';
|
|
@@ -14,25 +16,46 @@ export { defaultComponents, localeZhCN, localeEnUS, } from './defaults';
|
|
|
14
16
|
export { DEFAULT_AI_PROVIDERS, getAiProviders, getAiEmbeddingProviders, } from './standalone/ai-providers';
|
|
15
17
|
export { TOOL_SCHEMA_ITEM_TYPES, TOOL_SCHEMA_TYPES, cloneSchemaRows, emptySchemaEditorRow, extractBuiltinToolOptionsFromPayload, generateToolSchemaFromRows, getBuiltinToolOptionsFromSources, getSkillPathFromSources, normalizeBuiltinToolOption, normalizeToolRows, parseJsonObjectText, parseToolSchemaRows, renumberSchemaRowOrders, resolveSchemaRowsByParent, stringifyToolJson, updateSchemaRowsAtParent, } from './tools/tool-editor';
|
|
16
18
|
export type { BuiltinToolOption, SchemaEditorRow, ToolEditorMode, ToolEditorType, ToolRow, } from './tools/tool-editor';
|
|
17
|
-
export { HuanbanRulegoEditor, applyComponentsRuntimePayloadOptions, debugLog, setDebug, isDebug, escapeHtml, escapeAttr, setSafeText, safeUrl, safeImageUrl, safeCssColor, sanitizeRichHtml, sanitizeDescription, redactSensitive, formatJsonBounded, normalizeComponentsPayload, normalizeComponentsRawPayload, DEFAULT_ICON_URL, HUANBAN_FAVICON_DATA_URI, HUANBAN_FAVICON_SVG, HUANBAN_FAVICON_SVG_PATH, HUANBAN_LOGO_DATA_URI, HUANBAN_LOGO_SVG, HUANBAN_LOGO_SVG_PATH, normalizeIconTheme, getCoreThemeDefinition, getCoreThemeVariables, getThemeList, getThemeRuntimeVariables, normalizeEditorTheme, THEME_PRESETS, resolveIconUrl, adapterComponentsLocal, adapterRuntimeComponent, closeEditorTour, isEditorTourDone, parseJsonBounded, startEditorTour, confirmDrawerUnsavedClose, } from './standalone';
|
|
18
|
-
export type { RuntimeComponentAdapterOptions } from './standalone';
|
|
19
|
+
export { HuanbanRulegoEditor, applyComponentsRuntimePayloadOptions, debugLog, setDebug, isDebug, escapeHtml, escapeAttr, setSafeText, safeUrl, safeImageUrl, safeCssColor, sanitizeRichHtml, sanitizeDescription, redactSensitive, formatJsonBounded, normalizeComponentsPayload, normalizeComponentsRawPayload, DEFAULT_ICON_URL, HUANBAN_FAVICON_DATA_URI, HUANBAN_FAVICON_SVG, HUANBAN_FAVICON_SVG_PATH, HUANBAN_LOGO_DATA_URI, HUANBAN_LOGO_SVG, HUANBAN_LOGO_SVG_PATH, normalizeIconTheme, getCoreThemeDefinition, getCoreThemeVariables, getThemeList, getThemeRuntimeVariables, normalizeEditorTheme, THEME_PRESETS, resolveIconUrl, resolveComponentIconPath, resolveComponentIconUrl, adapterComponentsLocal, adapterRuntimeComponent, closeEditorTour, isEditorTourDone, parseJsonBounded, startEditorTour, confirmDrawerUnsavedClose, } from './standalone';
|
|
20
|
+
export type { ComponentIconSource, RuntimeComponentAdapterOptions } from './standalone';
|
|
21
|
+
export { createSharedNodeManager } from './standalone';
|
|
22
|
+
export type { SharedNodeManager, SharedNodeManagerContext } from './standalone';
|
|
23
|
+
export { PropertyControlRegistry } from './core';
|
|
24
|
+
export type { PropertyControlRenderer, PropertyControlInstance, PropertyControlMountContext } from './core';
|
|
19
25
|
export { cloneNodePropertiesForCopy, } from './standalone/node-copy';
|
|
20
26
|
export { isLogicFlowVisualNodeType, normalizeEditableNodeModel, resolveRuleGoNodeType, } from './standalone/node-identity';
|
|
21
27
|
export type { CloneNodePropertiesOptions, } from './standalone/node-copy';
|
|
22
28
|
export type { NormalizeEditableNodeModelOptions, } from './standalone/node-identity';
|
|
23
|
-
export type { AIAssistantOpenOptions, HuanbanRulegoEditorLoadOptions, HuanbanRulegoEditorOptions, EditorSaveHandler, EditorSaveHandlerResult, EditorSaveConflictContext, EditorSaveMode, EditorSaveResult, EditorOptionsUpdateResult, ExternalDataUpdatePolicy, EditorShellPersistenceOptions, EditorRecentComponentsOptions, EditorRunTestCasesOptions, RichHtmlPolicy, RedactOptions, FormatJsonBoundedOptions, IconThemeName, ParseJsonBoundedOptions, ResolveIconUrlOptions, ThemeVars, NodePickerOpenOptions, ComponentManageDialogTab, SettingsDialogTab, DrawerCloseDecision, DrawerGuardI18nContext, EditorTourHandle, DebugWsCallbacks, DebugWsStatusDetails, DebugWsStatusReason, DebugWebSocketOptions, WsStatus, } from './standalone';
|
|
24
|
-
export { RuleChainAPI, RuleChainApiError, DEFAULT_ROUTES, ApiProvider, apiProvider, normalizeApiProviderBaseUrl, normalizeApiV1BaseUrl, ComponentCatalogCache, componentCatalogCache, normalizePagedResponse, unwrapApiEnvelope, AIManager, aiManager, DebugSocketClient, } from './api';
|
|
25
|
-
export type { DebugSocketClientOptions, ComponentCatalogCacheOptions, ComponentCatalogLoadOptions, } from './api';
|
|
26
|
-
export { EditorWorkspace, EditorDockStore, DEFAULT_EDITOR_DOCK_STATE, buildEditorPersistenceKey, buildEditorChatHistoryKey, readEditorChatHistory, writeEditorChatHistory, clearEditorChatHistory, EditorPanelRegistry, DEFAULT_EDITOR_PANELS, DEFAULT_EDITOR_OPEN_PANEL_IDS, DEFAULT_NODE_CONFIG_DOCK_WIDTH, ServerStatusStore, deriveWsUrl, ConnectionStatusController, ConnectionStatusStore, normalizeConnectionStatusMap, resolveConnectionStatusView, resolveEditorCapabilities, resolveCapabilities, CAPABILITY_BASE, CAPABILITY_PROFILES, EDITOR_OVERLAY_LAYERS, EDITOR_OVERLAY_LAYER_CSS_VARIABLES, EDITOR_OVERLAY_LAYER_CSS_TEXT, } from './core';
|
|
29
|
+
export type { AIAssistantOpenOptions, HuanbanRulegoEditorLoadOptions, HuanbanRulegoEditorOptions, EditorSaveHandler, EditorSaveHandlerResult, EditorSaveConflictContext, EditorSaveMode, EditorSaveOptions, EditorSaveResult, EditorOptionsUpdateResult, ExternalDataUpdatePolicy, EditorShellPersistenceOptions, EditorRecentComponentsOptions, EditorRunTestCasesOptions, RichHtmlPolicy, RedactOptions, FormatJsonBoundedOptions, IconThemeName, ParseJsonBoundedOptions, ResolveIconUrlOptions, ThemeVars, NodePickerOpenOptions, ComponentManageDialogTab, SettingsDialogTab, EditorSettingsPane, EditorUiConfiguration, EditorUiSettingsOptions, EditorUiSettingsChange, EditorSettingsOptions, EditorBuiltinSettingsTab, EditorSettingControlOptions, DrawerCloseDecision, DrawerGuardI18nContext, EditorTourHandle, DebugWsCallbacks, DebugWsStatusDetails, DebugWsStatusReason, DebugWebSocketOptions, WsStatus, } from './standalone';
|
|
30
|
+
export { RuleChainAPI, RuleChainApiError, DEFAULT_ROUTES, ApiProvider, apiProvider, normalizeApiProviderBaseUrl, normalizeApiPrefix, normalizeApiV1BaseUrl, ComponentCatalogCache, componentCatalogCache, normalizePagedResponse, unwrapApiEnvelope, AIManager, aiManager, DebugSocketClient, ExtendedApiBase, ExtendedApiError, MarketplaceAPI, AIAssistantAPI, AI_ASSISTANT_DEFAULT_AGENT_ID, SkillsAPI, IoTPointTemplateAPI, UserAPI, getToken, clearToken, } from './api';
|
|
31
|
+
export type { AIManagerOptions, DebugSocketClientOptions, ComponentCatalogCacheOptions, ComponentCatalogLoadOptions, } from './api';
|
|
32
|
+
export { EditorWorkspace, EditorDockStore, DEFAULT_EDITOR_DOCK_STATE, buildEditorPersistenceKey, buildEditorChatHistoryKey, readEditorChatHistory, writeEditorChatHistory, clearEditorChatHistory, EditorPanelRegistry, DEFAULT_EDITOR_PANELS, DEFAULT_EDITOR_OPEN_PANEL_IDS, DEFAULT_NODE_CONFIG_DOCK_WIDTH, ServerStatusStore, deriveWsUrl, ConnectionStatusController, ConnectionStatusStore, normalizeConnectionStatusMap, resolveConnectionStatusView, resolveEditorCapabilities, resolveCapabilities, mergeEditorCapabilities, mergeEditorToolbarOptions, CAPABILITY_BASE, CAPABILITY_PROFILES, EDITOR_OVERLAY_LAYERS, EDITOR_OVERLAY_LAYER_CSS_VARIABLES, EDITOR_OVERLAY_LAYER_CSS_TEXT, } from './core';
|
|
27
33
|
export type { ConnectionStatusControllerOptions, ConnectionStatusMap, ConnectionStatusPhase, ConnectionStatusProvider, ConnectionStatusSemanticKind, ConnectionStatusState, ConnectionStatusTranslator, ConnectionStatusView, NodeConnectionState, NodeConnectionStatus, EditorOverlayLayerName, } from './core';
|
|
28
34
|
export { normalizeKeyValueSelection, removeKeyValueEntriesAtIndexes, } from './core';
|
|
29
35
|
export type { KeyValueEditorEntry } from './core';
|
|
30
|
-
export type { EditorMode, EditorUiCapabilities, EditorCapabilities, EditorCapabilitiesOverride, EditorCapabilityInput, } from './core';
|
|
36
|
+
export type { EditorMode, EditorUiCapabilities, EditorCapabilities, EditorCapabilitiesOverride, EditorCapabilityInput, EditorToolbarOptions, EditorToolbarRegion, EditorToolbarRegionOptions, EditorToolbarEntry, EditorToolbarButtonPresentation, } from './core';
|
|
37
|
+
export { bindAnchoredPopover } from './core/anchored-popover';
|
|
38
|
+
export type { AnchoredPopoverOptions, AnchoredPopoverBinding } from './core/anchored-popover';
|
|
39
|
+
export { EDITOR_REGION_IDS } from './standalone/editor-host-regions';
|
|
40
|
+
export type { EditorHeaderOptions, EditorHeaderBadge, EditorRegionId, EditorRegionContext, EditorRegionMount, EditorRegionRenderer, EditorRegionRenderers, EditorPanelRenderers, EditorHostPanelDefinition, } from './types/editor';
|
|
31
41
|
export { EditorTestCasesStore } from './core';
|
|
42
|
+
export * from './core/rule-chain-versions';
|
|
43
|
+
export * from './core/run-analysis';
|
|
44
|
+
export * from './core/global-config';
|
|
45
|
+
export { RuleChainVersionsAPI } from './api/RuleChainVersionsAPI';
|
|
46
|
+
export type { RuleChainVersionsAPIOptions, RuleChainVersionRoutes } from './api/RuleChainVersionsAPI';
|
|
47
|
+
export { GlobalConfigAPI, GlobalConfigApiError } from './api/GlobalConfigAPI';
|
|
48
|
+
export type { GlobalConfigTransportContext } from './api/GlobalConfigAPI';
|
|
49
|
+
export { createVersionHistory, showVersionHistory } from './standalone/editor-version-history';
|
|
50
|
+
export type { VersionHistoryViewOptions, VersionHistoryOptions, VersionHistoryHandle } from './standalone/editor-version-history';
|
|
51
|
+
export { createRunWaterfall, createRunComparePanel, createRunAnalysis, showRunAnalysis } from './standalone/editor-run-analysis';
|
|
52
|
+
export type { RunWaterfallViewOptions, RunComparePanelOptions, RunAnalysisSelectionOptions, RunAnalysisDialogOptions } from './standalone/editor-run-analysis';
|
|
53
|
+
export { mountGlobalConfigPanel, showGlobalConfigDialog, showNodeLogDialog, showChainLogDialog } from './standalone/editor-global-config';
|
|
54
|
+
export type { GlobalConfigPanel, GlobalConfigPanelOptions, GlobalConfigDialogOptions } from './standalone/editor-global-config';
|
|
32
55
|
export type { EditorTestCasePayload, EditorTestCaseEntry, EditorTestCasesPersistenceOptions, EditorTestCasesOptions, EditorTestCasesResult, } from './core';
|
|
33
56
|
export type { EditorWorkspaceTab, EditorWorkspaceState, OpenWorkspaceTabInput, WorkspaceCloseDecision, WorkspaceCloseResultReason, WorkspaceSaveResponse, WorkspaceSaveOutcome, WorkspaceSaveHandlerResult, WorkspaceSaveHandler, CloseWorkspaceTabOptions, CloseWorkspaceTabDecisionOptions, CloseWorkspaceTabResult, WorkspaceConflictResolution, WorkspaceConflictResult, WorkspaceListener, EditorDockId, EditorWidthDockId, EditorWidthDockState, EditorHeightDockState, EditorDockState, EditorDockBounds, EditorDockPersistenceState, EditorDockOptions, EditorPersistenceScope, EditorPersistenceAdapter, EditorPersistenceNamespace, EditorPersistenceMigrationContext, EditorStatePersistenceOptions, EditorChatHistoryMode, EditorChatHistoryPersistenceOptions, EditorPanelId, EditorPanelDefinition, EditorPanelState, EditorPanelPersistenceState, EditorPanelRegistryOptions, ServerStatus, ServerApiStatus, ServerWsStatus, ServerWsEventStatus, ServerStatusState, ServerStatusOptions, } from './core';
|
|
34
57
|
export type { EditorHoverToolPosition, EditorHoverToolTarget, EditorNodeRunTarget, EditorNodeHoverAction, EditorEdgeHoverAction, } from './core';
|
|
35
|
-
export type { WorkflowItem, PagedResponse, ListAllResult, ApiResult, SharedNode, SharedNodeFetcher, WorkflowFetcher, RuleChainAPIOptions, RuleChainRoutes, WorkflowListIcons, WorkflowInfoIcons, WorkflowTheme, RuleMaintenanceSeverity, RuleMaintenanceCategory, RuleMaintenanceIssue, RuleMaintenanceRuntimeInfo, RuleValidateUpstreamRequest, RuleValidateUpstreamResponse, RuleSchemaDiffResponse, RuleRepairPlanResponse, JSONPatchOperation, RulePatchPreviewResponse, ApiAuthRequiredDetails, ApiAuthRequiredHandler, ApiCacheKey, EditorApiConfig, } from './api';
|
|
58
|
+
export type { WorkflowItem, PagedResponse, ListAllResult, ApiResult, SharedNode, SharedNodeFetcher, WorkflowFetcher, RuleChainAPIOptions, RuleChainRoutes, WorkflowListIcons, WorkflowInfoIcons, WorkflowTheme, RuleMaintenanceSeverity, RuleMaintenanceCategory, RuleMaintenanceIssue, RuleMaintenanceRuntimeInfo, RuleValidateUpstreamRequest, RuleValidateUpstreamResponse, RuleSchemaDiffResponse, RuleRepairPlanResponse, JSONPatchOperation, RulePatchPreviewResponse, ApiAuthRequiredDetails, ApiAuthRequiredHandler, ApiRequestHeaders, ApiCustomFetch, ApiCacheKey, EditorApiConfig, RuleMessageBody, RuleMessageMetadata, RunsListOptions, RunRecord, ComponentDSL, RuleListOptions, ExtendedApiOptions, MarketplaceComponent, MarketplaceChain, MarketplaceSearchParams, MarketplaceChainSearchParams, MarketplaceRoutes, AIAssistantSettings, AIAssistantModelConfig, AIAssistantRoutes, SkillItem, SkillsRoutes, PointTemplate, PointTemplateListParams, IoTPointTemplateRoutes, UserInfo, LoginResult, RuleCategory, UserRoutes, } from './api';
|
|
36
59
|
export type { ExplorerTreeNode, ExplorerTreeNodeKind, ExplorerTreeLabels, ExplorerTreeOptions, ExplorerTreePersistenceState, ExplorerTreeStoreOptions, ExplorerTreeState, } from './core';
|
|
37
60
|
export * from './models';
|
|
38
61
|
export * from './nodes/AgentOrchestrationNode';
|