@huanban/rulego-editor-core 1.4.0 → 1.4.1

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.
@@ -10,3 +10,4 @@ export interface DragNodeData {
10
10
  export declare function renderSidebar(editor: any): void;
11
11
  export declare function buildDragNodeData(comp: ComponentDefinition & Record<string, any>, label?: string, allComponents?: Array<ComponentDefinition & Record<string, any>>): DragNodeData;
12
12
  export declare function inferNodeType(comp: ComponentDefinition & Record<string, any>): string;
13
+ export declare function resolveComponentNodeType(comp: ComponentDefinition & Record<string, any>): string;
@@ -9,7 +9,7 @@ export declare const CATEGORY_CONFIG: Record<string, CategoryConfig>;
9
9
  export declare const CATEGORY_ORDER: ReadonlyArray<string>;
10
10
  export declare const CATEGORY_PATH_MAP: Record<string, string>;
11
11
  export declare function getCategoryKey(rawCat: string): string;
12
- export declare function resolveRuntimeCategoryKey(component: any, isEndpoint?: boolean): string;
12
+ export declare function resolveRuntimeCategoryKey(component: any, _isEndpoint?: boolean): string;
13
13
  export declare function getCategoryConfig(cat: string): CategoryConfig;
14
14
  export declare function adapterRelationTypeLabel(relationTypes: any, translate?: (value: string) => string): any;
15
15
  export declare function adapterEndpointDefaults(component: any, isEndpoint?: boolean): void;
@@ -1,3 +1,4 @@
1
+ export declare function isRuleGoEndpointType(type: unknown): boolean;
1
2
  export declare function isLogicFlowVisualNodeType(type: unknown): boolean;
2
3
  export declare function resolveRuleGoNodeType(modelType: unknown, viewType?: unknown, graphType?: unknown): string;
3
4
  export interface NormalizeEditableNodeModelOptions {
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const HUANBAN_RULEGO_EDITOR_VERSION = "1.4.0";
2
- export declare const EDITOR_VERSION = "1.4.0";
1
+ export declare const HUANBAN_RULEGO_EDITOR_VERSION = "1.4.1";
2
+ export declare const EDITOR_VERSION = "1.4.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huanban/rulego-editor-core",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "RuleGo 规则链编辑器核心库 - 框架无关的 Headless 编辑器引擎 + API 抽象层 (WorkflowFetcher)",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",