@huanban/rulego-editor-core 1.3.11 → 1.3.13

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/dist/index.d.ts CHANGED
@@ -35,8 +35,9 @@
35
35
  * 注意: CSS 样式通过 editor-styles.ts 动态注入,无需单独导入样式文件。
36
36
  *
37
37
  * @module @huanban/rulego-editor-core
38
- * @version 0.4.1
38
+ * @version see HUANBAN_RULEGO_EDITOR_VERSION
39
39
  */
40
+ export { HUANBAN_RULEGO_EDITOR_VERSION, EDITOR_VERSION, } from './version';
40
41
  export { EditorCore, StateStore, EventBus, DataAdapter, ComponentRegistry, HistoryManager, BatchCommand, ValidationEngine, ThemeManager, THEME_LIGHT, THEME_DARK, THEME_BLUE, I18nManager, i18nText, RuleChainValidator, } from './core';
41
42
  export { RUNTIME_LIMITS, RuntimeLimitError, assertGraphWithinLimits, assertComponentsWithinLimits, assertTextWithinBytes, truncateText, assertObjectDepth, } from './core/runtime-limits';
42
43
  export type { LFNodeData, LFEdgeData, LFGraphData, LFPoint, Command, ValidationError, ValidationResult, ValidationRule, ValidationContext, ThemeVariables, ThemeDefinition, LocaleMessages, TranslationSource, ValidationIssue, RuleChainValidationResult, IssueSeverity, } from './core';
@@ -46,7 +47,7 @@ export { defaultComponents, localeZhCN, localeEnUS, } from './defaults';
46
47
  export { DEFAULT_AI_PROVIDERS, getAiProviders, getAiEmbeddingProviders, } from './standalone/ai-providers';
47
48
  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';
48
49
  export type { BuiltinToolOption, SchemaEditorRow, ToolEditorMode, ToolEditorType, ToolRow, } from './tools/tool-editor';
49
- export { HuanbanRulegoEditor, applyComponentsRuntimePayloadOptions, debugLog, setDebug, isDebug, escapeHtml, escapeAttr, setSafeText, safeUrl, safeImageUrl, safeCssColor, sanitizeRichHtml, sanitizeDescription, redactSensitive, formatJsonBounded, normalizeComponentsPayload, normalizeComponentsRawPayload, DEFAULT_ICON_URL, normalizeIconTheme, getThemeList, normalizeEditorTheme, THEME_PRESETS, resolveIconUrl, parseJsonBounded, } from './standalone';
50
+ export { HuanbanRulegoEditor, applyComponentsRuntimePayloadOptions, debugLog, setDebug, isDebug, escapeHtml, escapeAttr, setSafeText, safeUrl, safeImageUrl, safeCssColor, sanitizeRichHtml, sanitizeDescription, redactSensitive, formatJsonBounded, normalizeComponentsPayload, normalizeComponentsRawPayload, DEFAULT_ICON_URL, HUANBAN_FLOW_TAIJI_DATA_URI, HUANBAN_FLOW_TAIJI_SVG_PATH, normalizeIconTheme, getThemeList, normalizeEditorTheme, THEME_PRESETS, resolveIconUrl, parseJsonBounded, } from './standalone';
50
51
  export { cloneNodePropertiesForCopy, } from './standalone/node-copy';
51
52
  export type { CloneNodePropertiesOptions, } from './standalone/node-copy';
52
53
  export type { AIAssistantOpenOptions, HuanbanRulegoEditorOptions, RichHtmlPolicy, RedactOptions, FormatJsonBoundedOptions, IconThemeName, ParseJsonBoundedOptions, ResolveIconUrlOptions, ThemeVars, } from './standalone';