@axiom-lattice/react-sdk 2.1.108 → 2.1.109
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.mts +51 -9
- package/dist/index.d.ts +51 -9
- package/dist/index.js +400 -61
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1262 -920
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -2170,16 +2170,19 @@ interface ConnectionConfigDrawerContentProps {
|
|
|
2170
2170
|
declare const ConnectionConfigDrawerContent: React__default.FC<ConnectionConfigDrawerContentProps>;
|
|
2171
2171
|
|
|
2172
2172
|
/**
|
|
2173
|
-
*
|
|
2173
|
+
* Plugins Hub
|
|
2174
2174
|
*
|
|
2175
|
-
* Lists all
|
|
2176
|
-
*
|
|
2175
|
+
* Lists all registered plugins from /api/middleware-types with tab categorization
|
|
2176
|
+
* built into EntityListView:
|
|
2177
|
+
* - All: every registered plugin
|
|
2178
|
+
* - Connections: plugins with connection management (connectionSchema) — default tab
|
|
2179
|
+
* - Tools: plugins without connection (pure middleware/tool providers)
|
|
2180
|
+
*
|
|
2181
|
+
* Clicking a plugin with connectionSchema opens ConnectionConfigDrawerContent.
|
|
2182
|
+
* Tool-only plugins are not clickable (no connection to configure).
|
|
2177
2183
|
*/
|
|
2178
2184
|
|
|
2179
|
-
|
|
2180
|
-
tenantId?: string;
|
|
2181
|
-
}
|
|
2182
|
-
declare const ConnectionsHub: React__default.FC<ConnectionsHubProps>;
|
|
2185
|
+
declare const ConnectionsHub: React__default.FC;
|
|
2183
2186
|
|
|
2184
2187
|
/**
|
|
2185
2188
|
* Represents a single message in the chat UI.
|
|
@@ -2655,6 +2658,10 @@ interface WorkflowCanvasProps {
|
|
|
2655
2658
|
dsl: ExpandedDSL;
|
|
2656
2659
|
steps?: RunStep[];
|
|
2657
2660
|
assistantId?: string;
|
|
2661
|
+
agentNameMap?: Map<string, {
|
|
2662
|
+
name: string;
|
|
2663
|
+
type: string;
|
|
2664
|
+
}>;
|
|
2658
2665
|
onNodeClick?: (nodeId: string) => void;
|
|
2659
2666
|
height?: number | string;
|
|
2660
2667
|
}
|
|
@@ -2671,13 +2678,18 @@ interface WorkflowNodeData extends Record<string, unknown> {
|
|
|
2671
2678
|
name: string;
|
|
2672
2679
|
description?: string;
|
|
2673
2680
|
ref?: string;
|
|
2681
|
+
/** Resolved agent display name for ref nodes (from agentNameMap). */
|
|
2682
|
+
refAgentName?: string;
|
|
2683
|
+
/** Resolved agent type for ref nodes. */
|
|
2684
|
+
refAgentType?: string;
|
|
2685
|
+
/** true when the ref agent no longer exists. */
|
|
2686
|
+
refDeleted?: boolean;
|
|
2674
2687
|
outputKey?: string;
|
|
2675
2688
|
nodeSchema?: unknown;
|
|
2676
2689
|
config?: Record<string, unknown>;
|
|
2677
2690
|
status?: string;
|
|
2678
2691
|
source?: string;
|
|
2679
2692
|
innerRef?: string;
|
|
2680
|
-
reduceRef?: string;
|
|
2681
2693
|
inputTemplate?: string;
|
|
2682
2694
|
/** true when node has ask_user_to_clarify middleware (needs+if DSL) */
|
|
2683
2695
|
ask?: boolean;
|
|
@@ -2909,9 +2921,17 @@ interface EntityCreateTriggerProps {
|
|
|
2909
2921
|
}
|
|
2910
2922
|
declare const EntityCreateTrigger: React__default.FC<EntityCreateTriggerProps>;
|
|
2911
2923
|
|
|
2924
|
+
interface EntityListShellTab {
|
|
2925
|
+
key: string;
|
|
2926
|
+
label: React__default.ReactNode;
|
|
2927
|
+
}
|
|
2912
2928
|
interface EntityListShellProps {
|
|
2913
2929
|
title: string;
|
|
2914
2930
|
subtitle?: React__default.ReactNode;
|
|
2931
|
+
/** Content rendered before the title in the left section. */
|
|
2932
|
+
titleBefore?: React__default.ReactNode;
|
|
2933
|
+
/** Content rendered after the title in the left section. */
|
|
2934
|
+
titleAfter?: React__default.ReactNode;
|
|
2915
2935
|
headerLeft?: React__default.ReactNode;
|
|
2916
2936
|
headerRight?: React__default.ReactNode;
|
|
2917
2937
|
loading: boolean;
|
|
@@ -2925,6 +2945,14 @@ interface EntityListShellProps {
|
|
|
2925
2945
|
itemCount?: number;
|
|
2926
2946
|
itemName?: string;
|
|
2927
2947
|
className?: string;
|
|
2948
|
+
/**
|
|
2949
|
+
* Optional tab filter rendered below the title in the header.
|
|
2950
|
+
* Use for categorizing list items (e.g., All / Connections / Tools).
|
|
2951
|
+
* Each tab needs `key` (value) and `label` (display).
|
|
2952
|
+
*/
|
|
2953
|
+
tabs?: EntityListShellTab[];
|
|
2954
|
+
activeTab?: string;
|
|
2955
|
+
onTabChange?: (key: string) => void;
|
|
2928
2956
|
}
|
|
2929
2957
|
declare const EntityListShell: React__default.FC<EntityListShellProps>;
|
|
2930
2958
|
|
|
@@ -2934,6 +2962,10 @@ interface EntityListViewProps<T> {
|
|
|
2934
2962
|
keyExtractor: (item: T) => string;
|
|
2935
2963
|
title: string;
|
|
2936
2964
|
itemName?: string;
|
|
2965
|
+
/** Content rendered before the title in the left section. */
|
|
2966
|
+
titleBefore?: React__default.ReactNode;
|
|
2967
|
+
/** Content rendered after the title in the left section. */
|
|
2968
|
+
titleAfter?: React__default.ReactNode;
|
|
2937
2969
|
renderIcon?: (item: T) => React__default.ReactNode;
|
|
2938
2970
|
renderPrimary: (item: T) => React__default.ReactNode;
|
|
2939
2971
|
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
@@ -2957,8 +2989,18 @@ interface EntityListViewProps<T> {
|
|
|
2957
2989
|
renderGridItem?: (item: T) => React__default.ReactNode;
|
|
2958
2990
|
renderListItem?: (item: T) => React__default.ReactNode;
|
|
2959
2991
|
className?: string;
|
|
2992
|
+
/**
|
|
2993
|
+
* Optional tab filter rendered in the header (below title).
|
|
2994
|
+
* Use for categorizing list items (e.g., All / Connections / Tools).
|
|
2995
|
+
*/
|
|
2996
|
+
tabs?: Array<{
|
|
2997
|
+
key: string;
|
|
2998
|
+
label: React__default.ReactNode;
|
|
2999
|
+
}>;
|
|
3000
|
+
activeTab?: string;
|
|
3001
|
+
onTabChange?: (key: string) => void;
|
|
2960
3002
|
}
|
|
2961
|
-
declare const EntityListView: <T>({ items, loading, keyExtractor, title, itemName, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, onItemClick, itemActions, actionsPosition, actionsStyle, createLabel, onCreateClick, headerLeft, headerRight, defaultViewMode, showViewToggle, emptyIcon, emptyTitle, emptyDescription, renderEmpty, renderGridItem, renderListItem, className, }: EntityListViewProps<T>) => React__default.ReactElement;
|
|
3003
|
+
declare const EntityListView: <T>({ items, loading, keyExtractor, title, itemName, titleBefore, titleAfter, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, onItemClick, itemActions, actionsPosition, actionsStyle, createLabel, onCreateClick, headerLeft, headerRight, defaultViewMode, showViewToggle, emptyIcon, emptyTitle, emptyDescription, renderEmpty, renderGridItem, renderListItem, className, tabs, activeTab, onTabChange, }: EntityListViewProps<T>) => React__default.ReactElement;
|
|
2962
3004
|
|
|
2963
3005
|
/**
|
|
2964
3006
|
* Axiom Theme Design Tokens
|
package/dist/index.d.ts
CHANGED
|
@@ -2170,16 +2170,19 @@ interface ConnectionConfigDrawerContentProps {
|
|
|
2170
2170
|
declare const ConnectionConfigDrawerContent: React__default.FC<ConnectionConfigDrawerContentProps>;
|
|
2171
2171
|
|
|
2172
2172
|
/**
|
|
2173
|
-
*
|
|
2173
|
+
* Plugins Hub
|
|
2174
2174
|
*
|
|
2175
|
-
* Lists all
|
|
2176
|
-
*
|
|
2175
|
+
* Lists all registered plugins from /api/middleware-types with tab categorization
|
|
2176
|
+
* built into EntityListView:
|
|
2177
|
+
* - All: every registered plugin
|
|
2178
|
+
* - Connections: plugins with connection management (connectionSchema) — default tab
|
|
2179
|
+
* - Tools: plugins without connection (pure middleware/tool providers)
|
|
2180
|
+
*
|
|
2181
|
+
* Clicking a plugin with connectionSchema opens ConnectionConfigDrawerContent.
|
|
2182
|
+
* Tool-only plugins are not clickable (no connection to configure).
|
|
2177
2183
|
*/
|
|
2178
2184
|
|
|
2179
|
-
|
|
2180
|
-
tenantId?: string;
|
|
2181
|
-
}
|
|
2182
|
-
declare const ConnectionsHub: React__default.FC<ConnectionsHubProps>;
|
|
2185
|
+
declare const ConnectionsHub: React__default.FC;
|
|
2183
2186
|
|
|
2184
2187
|
/**
|
|
2185
2188
|
* Represents a single message in the chat UI.
|
|
@@ -2655,6 +2658,10 @@ interface WorkflowCanvasProps {
|
|
|
2655
2658
|
dsl: ExpandedDSL;
|
|
2656
2659
|
steps?: RunStep[];
|
|
2657
2660
|
assistantId?: string;
|
|
2661
|
+
agentNameMap?: Map<string, {
|
|
2662
|
+
name: string;
|
|
2663
|
+
type: string;
|
|
2664
|
+
}>;
|
|
2658
2665
|
onNodeClick?: (nodeId: string) => void;
|
|
2659
2666
|
height?: number | string;
|
|
2660
2667
|
}
|
|
@@ -2671,13 +2678,18 @@ interface WorkflowNodeData extends Record<string, unknown> {
|
|
|
2671
2678
|
name: string;
|
|
2672
2679
|
description?: string;
|
|
2673
2680
|
ref?: string;
|
|
2681
|
+
/** Resolved agent display name for ref nodes (from agentNameMap). */
|
|
2682
|
+
refAgentName?: string;
|
|
2683
|
+
/** Resolved agent type for ref nodes. */
|
|
2684
|
+
refAgentType?: string;
|
|
2685
|
+
/** true when the ref agent no longer exists. */
|
|
2686
|
+
refDeleted?: boolean;
|
|
2674
2687
|
outputKey?: string;
|
|
2675
2688
|
nodeSchema?: unknown;
|
|
2676
2689
|
config?: Record<string, unknown>;
|
|
2677
2690
|
status?: string;
|
|
2678
2691
|
source?: string;
|
|
2679
2692
|
innerRef?: string;
|
|
2680
|
-
reduceRef?: string;
|
|
2681
2693
|
inputTemplate?: string;
|
|
2682
2694
|
/** true when node has ask_user_to_clarify middleware (needs+if DSL) */
|
|
2683
2695
|
ask?: boolean;
|
|
@@ -2909,9 +2921,17 @@ interface EntityCreateTriggerProps {
|
|
|
2909
2921
|
}
|
|
2910
2922
|
declare const EntityCreateTrigger: React__default.FC<EntityCreateTriggerProps>;
|
|
2911
2923
|
|
|
2924
|
+
interface EntityListShellTab {
|
|
2925
|
+
key: string;
|
|
2926
|
+
label: React__default.ReactNode;
|
|
2927
|
+
}
|
|
2912
2928
|
interface EntityListShellProps {
|
|
2913
2929
|
title: string;
|
|
2914
2930
|
subtitle?: React__default.ReactNode;
|
|
2931
|
+
/** Content rendered before the title in the left section. */
|
|
2932
|
+
titleBefore?: React__default.ReactNode;
|
|
2933
|
+
/** Content rendered after the title in the left section. */
|
|
2934
|
+
titleAfter?: React__default.ReactNode;
|
|
2915
2935
|
headerLeft?: React__default.ReactNode;
|
|
2916
2936
|
headerRight?: React__default.ReactNode;
|
|
2917
2937
|
loading: boolean;
|
|
@@ -2925,6 +2945,14 @@ interface EntityListShellProps {
|
|
|
2925
2945
|
itemCount?: number;
|
|
2926
2946
|
itemName?: string;
|
|
2927
2947
|
className?: string;
|
|
2948
|
+
/**
|
|
2949
|
+
* Optional tab filter rendered below the title in the header.
|
|
2950
|
+
* Use for categorizing list items (e.g., All / Connections / Tools).
|
|
2951
|
+
* Each tab needs `key` (value) and `label` (display).
|
|
2952
|
+
*/
|
|
2953
|
+
tabs?: EntityListShellTab[];
|
|
2954
|
+
activeTab?: string;
|
|
2955
|
+
onTabChange?: (key: string) => void;
|
|
2928
2956
|
}
|
|
2929
2957
|
declare const EntityListShell: React__default.FC<EntityListShellProps>;
|
|
2930
2958
|
|
|
@@ -2934,6 +2962,10 @@ interface EntityListViewProps<T> {
|
|
|
2934
2962
|
keyExtractor: (item: T) => string;
|
|
2935
2963
|
title: string;
|
|
2936
2964
|
itemName?: string;
|
|
2965
|
+
/** Content rendered before the title in the left section. */
|
|
2966
|
+
titleBefore?: React__default.ReactNode;
|
|
2967
|
+
/** Content rendered after the title in the left section. */
|
|
2968
|
+
titleAfter?: React__default.ReactNode;
|
|
2937
2969
|
renderIcon?: (item: T) => React__default.ReactNode;
|
|
2938
2970
|
renderPrimary: (item: T) => React__default.ReactNode;
|
|
2939
2971
|
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
@@ -2957,8 +2989,18 @@ interface EntityListViewProps<T> {
|
|
|
2957
2989
|
renderGridItem?: (item: T) => React__default.ReactNode;
|
|
2958
2990
|
renderListItem?: (item: T) => React__default.ReactNode;
|
|
2959
2991
|
className?: string;
|
|
2992
|
+
/**
|
|
2993
|
+
* Optional tab filter rendered in the header (below title).
|
|
2994
|
+
* Use for categorizing list items (e.g., All / Connections / Tools).
|
|
2995
|
+
*/
|
|
2996
|
+
tabs?: Array<{
|
|
2997
|
+
key: string;
|
|
2998
|
+
label: React__default.ReactNode;
|
|
2999
|
+
}>;
|
|
3000
|
+
activeTab?: string;
|
|
3001
|
+
onTabChange?: (key: string) => void;
|
|
2960
3002
|
}
|
|
2961
|
-
declare const EntityListView: <T>({ items, loading, keyExtractor, title, itemName, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, onItemClick, itemActions, actionsPosition, actionsStyle, createLabel, onCreateClick, headerLeft, headerRight, defaultViewMode, showViewToggle, emptyIcon, emptyTitle, emptyDescription, renderEmpty, renderGridItem, renderListItem, className, }: EntityListViewProps<T>) => React__default.ReactElement;
|
|
3003
|
+
declare const EntityListView: <T>({ items, loading, keyExtractor, title, itemName, titleBefore, titleAfter, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, onItemClick, itemActions, actionsPosition, actionsStyle, createLabel, onCreateClick, headerLeft, headerRight, defaultViewMode, showViewToggle, emptyIcon, emptyTitle, emptyDescription, renderEmpty, renderGridItem, renderListItem, className, tabs, activeTab, onTabChange, }: EntityListViewProps<T>) => React__default.ReactElement;
|
|
2962
3004
|
|
|
2963
3005
|
/**
|
|
2964
3006
|
* Axiom Theme Design Tokens
|