@huanban/rulego-editor-core 1.1.1 → 1.1.2
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/LICENSE +190 -0
- package/dist/api/AIManager.d.ts +12 -0
- package/dist/api/ApiProvider.d.ts +83 -0
- package/dist/api/DebugSocketClient.d.ts +39 -0
- package/dist/api/RuleChainAPI.d.ts +5 -1
- package/dist/api/StreamParser.d.ts +13 -0
- package/dist/api/index.d.ts +5 -1
- package/dist/api/response-utils.d.ts +28 -0
- package/dist/api/types.d.ts +67 -0
- package/dist/core/AutoLayout.d.ts +1 -1
- package/dist/core/ComponentRegistry.d.ts +11 -1
- package/dist/core/EditorCore.d.ts +23 -1
- package/dist/core/I18nManager.d.ts +18 -0
- package/dist/core/Optimizations.d.ts +16 -0
- package/dist/core/RuleChainChatManager.d.ts +53 -0
- package/dist/core/component-payload.d.ts +12 -0
- package/dist/core/index.d.ts +4 -2
- package/dist/core/runtime-limits.d.ts +35 -0
- package/dist/defaults/components.d.ts +4 -23
- package/dist/defaults/official-component-fallbacks.d.ts +12 -0
- package/dist/extensions/ClipboardExtension.d.ts +28 -0
- package/dist/extensions/KeyboardExtension.d.ts +18 -0
- package/dist/extensions/MenuExtension.d.ts +29 -0
- package/dist/iconRegistry.d.ts +2 -2
- package/dist/index.cjs.js +5739 -922
- package/dist/index.d.ts +11 -6
- package/dist/index.esm.js +74892 -43118
- package/dist/index.umd.js +5739 -922
- package/dist/models/BaseNodeModel.d.ts +38 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/nodes/AgentOrchestrationNode.d.ts +41 -0
- package/dist/nodes/GroupNode.d.ts +50 -0
- package/dist/nodes/HeadlessHtmlNode.d.ts +20 -0
- package/dist/nodes/SwitchNode.d.ts +27 -0
- package/dist/nodes/UnknownNodeModel.d.ts +24 -0
- package/dist/standalone/HuanbanRulegoEditor.d.ts +122 -12
- package/dist/standalone/ai-providers.d.ts +7 -0
- package/dist/standalone/auth-fetch.d.ts +6 -1
- package/dist/standalone/code-editor.d.ts +40 -4
- package/dist/standalone/custom-nodes.d.ts +4 -1
- package/dist/standalone/editor-context-menu.d.ts +3 -2
- package/dist/standalone/editor-debug-ws.d.ts +26 -6
- package/dist/standalone/editor-delete.d.ts +4 -0
- package/dist/standalone/editor-dialogs.d.ts +27 -4
- package/dist/standalone/editor-events.d.ts +2 -1
- package/dist/standalone/editor-property-drawers.d.ts +30 -2
- package/dist/standalone/editor-route-settings.d.ts +49 -0
- package/dist/standalone/editor-sidebar.d.ts +11 -0
- package/dist/standalone/editor-toast.d.ts +2 -0
- package/dist/standalone/editor-toolbar.d.ts +13 -1
- package/dist/standalone/group-node.d.ts +9 -1
- package/dist/standalone/index.d.ts +4 -2
- package/dist/standalone/layout-scheduler.d.ts +16 -0
- package/dist/standalone/lifecycle.d.ts +15 -0
- package/dist/standalone/models-dev-catalog.d.ts +53 -0
- package/dist/standalone/node-definitions.d.ts +25 -7
- package/dist/standalone/official-node-view-patches.d.ts +15 -0
- package/dist/standalone/security-utils.d.ts +45 -0
- package/dist/test/setup-dom.d.ts +3 -0
- package/dist/types/component.d.ts +10 -1
- package/dist/types/editor.d.ts +48 -2
- package/dist/types/events.d.ts +14 -0
- package/dist/types/rule-chain.d.ts +1 -1
- package/dist/utils/GraphUtils.d.ts +24 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/relation-utils.d.ts +13 -0
- package/dist/utils/textUtils.d.ts +13 -0
- package/package.json +15 -13
package/dist/index.d.ts
CHANGED
|
@@ -37,13 +37,18 @@
|
|
|
37
37
|
* @module @huanban/rulego-editor-core
|
|
38
38
|
* @version 0.4.1
|
|
39
39
|
*/
|
|
40
|
-
export { EditorCore, StateStore, EventBus, DataAdapter, ComponentRegistry, HistoryManager, BatchCommand, ValidationEngine, ThemeManager, THEME_LIGHT, THEME_DARK, THEME_BLUE, I18nManager, RuleChainValidator, } from './core';
|
|
41
|
-
export
|
|
40
|
+
export { EditorCore, StateStore, EventBus, DataAdapter, ComponentRegistry, HistoryManager, BatchCommand, ValidationEngine, ThemeManager, THEME_LIGHT, THEME_DARK, THEME_BLUE, I18nManager, i18nText, RuleChainValidator, } from './core';
|
|
41
|
+
export { RUNTIME_LIMITS, RuntimeLimitError, assertGraphWithinLimits, assertComponentsWithinLimits, assertTextWithinBytes, truncateText, assertObjectDepth, } from './core/runtime-limits';
|
|
42
|
+
export type { LFNodeData, LFEdgeData, LFGraphData, LFPoint, Command, ValidationError, ValidationResult, ValidationRule, ValidationContext, ThemeVariables, ThemeDefinition, LocaleMessages, TranslationSource, ValidationIssue, RuleChainValidationResult, IssueSeverity, } from './core';
|
|
42
43
|
export type { RuleChainConfig, RuleNodeConfig, RuleConnectionConfig, RuleEndpointConfig, RuleChainData, RuleChainMetadata, AdditionalInfo, LayoutInfo, ComponentDefinition, ComponentField, ComponentGroup, FieldValidation, ComponentCategory, RawComponentData, ComponentRegistryOptions, EditorOptions, EditorState, EditorInternalData, EditorPlugin, ApiEndpoints, RequestConfig, ToolbarConfig, GridConfig, PanelType, EditorEventMap, EditorEventName, EventListener, NodeEventPayload, EdgeEventPayload, SaveEventPayload, HistoryChangePayload, ValidationPayload, } from './types';
|
|
43
44
|
export { getNodeByID, getEdgeBySourceNodeIdAndTargetNodeId, getNodeSeq, getBytesLength, generateUUID, adapterComponents, toComponentMap, defaultIdGenerator, } from './utils';
|
|
44
45
|
export { defaultComponents, localeZhCN, localeEnUS, } from './defaults';
|
|
45
|
-
export { HuanbanRulegoEditor, debugLog, setDebug, isDebug, } from './standalone';
|
|
46
|
-
export type { HuanbanRulegoEditorOptions, } from './standalone';
|
|
47
|
-
export { RuleChainAPI, DEFAULT_ROUTES, } from './api';
|
|
48
|
-
export type { WorkflowItem, PagedResponse, ApiResult, WorkflowFetcher, RuleChainAPIOptions, RuleChainRoutes, WorkflowListIcons, WorkflowInfoIcons, WorkflowTheme, } from './api';
|
|
46
|
+
export { HuanbanRulegoEditor, applyComponentsRuntimePayloadOptions, debugLog, setDebug, isDebug, escapeHtml, escapeAttr, setSafeText, safeUrl, safeImageUrl, safeCssColor, sanitizeRichHtml, sanitizeDescription, redactSensitive, formatJsonBounded, normalizeComponentsPayload, normalizeComponentsRawPayload, parseJsonBounded, } from './standalone';
|
|
47
|
+
export type { AIAssistantOpenOptions, HuanbanRulegoEditorOptions, RichHtmlPolicy, RedactOptions, FormatJsonBoundedOptions, ParseJsonBoundedOptions, } from './standalone';
|
|
48
|
+
export { RuleChainAPI, DEFAULT_ROUTES, ApiProvider, apiProvider, normalizeApiProviderBaseUrl, normalizeApiV1BaseUrl, normalizePagedResponse, unwrapApiEnvelope, AIManager, aiManager, DebugSocketClient, } from './api';
|
|
49
|
+
export type { WorkflowItem, PagedResponse, ApiResult, WorkflowFetcher, RuleChainAPIOptions, RuleChainRoutes, WorkflowListIcons, WorkflowInfoIcons, WorkflowTheme, RuleMaintenanceSeverity, RuleMaintenanceCategory, RuleMaintenanceIssue, RuleMaintenanceRuntimeInfo, RuleValidateUpstreamRequest, RuleValidateUpstreamResponse, RuleSchemaDiffResponse, RuleRepairPlanResponse, JSONPatchOperation, RulePatchPreviewResponse, EditorApiConfig, } from './api';
|
|
50
|
+
export * from './models';
|
|
51
|
+
export * from './nodes/AgentOrchestrationNode';
|
|
52
|
+
export * from './nodes/GroupNode';
|
|
53
|
+
export * from './nodes/SwitchNode';
|
|
49
54
|
//# sourceMappingURL=index.d.ts.map
|