@xyo-network/react-node-renderer 4.4.3 → 4.4.4
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/browser/index.d.ts +198 -5
- package/package.json +11 -11
- package/dist/browser/Cytoscape/CytoscapeElements.d.ts +0 -29
- package/dist/browser/Cytoscape/CytoscapeElements.d.ts.map +0 -1
- package/dist/browser/Cytoscape/CytoscapeIcons.d.ts +0 -4
- package/dist/browser/Cytoscape/CytoscapeIcons.d.ts.map +0 -1
- package/dist/browser/Cytoscape/CytoscapeStyles.d.ts +0 -22
- package/dist/browser/Cytoscape/CytoscapeStyles.d.ts.map +0 -1
- package/dist/browser/Cytoscape/index.d.ts +0 -5
- package/dist/browser/Cytoscape/index.d.ts.map +0 -1
- package/dist/browser/Cytoscape/lib/CyNodeModuleTypes.d.ts +0 -2
- package/dist/browser/Cytoscape/lib/CyNodeModuleTypes.d.ts.map +0 -1
- package/dist/browser/Cytoscape/lib/encodeSvg.d.ts +0 -3
- package/dist/browser/Cytoscape/lib/encodeSvg.d.ts.map +0 -1
- package/dist/browser/Cytoscape/lib/iconMap.d.ts +0 -3
- package/dist/browser/Cytoscape/lib/iconMap.d.ts.map +0 -1
- package/dist/browser/Cytoscape/lib/index.d.ts +0 -6
- package/dist/browser/Cytoscape/lib/index.d.ts.map +0 -1
- package/dist/browser/Cytoscape/lib/layout/ColaLayout.d.ts +0 -6
- package/dist/browser/Cytoscape/lib/layout/ColaLayout.d.ts.map +0 -1
- package/dist/browser/Cytoscape/lib/layout/ConcentricLayout.d.ts +0 -3
- package/dist/browser/Cytoscape/lib/layout/ConcentricLayout.d.ts.map +0 -1
- package/dist/browser/Cytoscape/lib/layout/index.d.ts +0 -3
- package/dist/browser/Cytoscape/lib/layout/index.d.ts.map +0 -1
- package/dist/browser/Cytoscape/lib/parseModuleType.d.ts +0 -4
- package/dist/browser/Cytoscape/lib/parseModuleType.d.ts.map +0 -1
- package/dist/browser/components/cytoscape-extensions/WithExtensions.d.ts +0 -4
- package/dist/browser/components/cytoscape-extensions/WithExtensions.d.ts.map +0 -1
- package/dist/browser/components/cytoscape-extensions/index.d.ts +0 -2
- package/dist/browser/components/cytoscape-extensions/index.d.ts.map +0 -1
- package/dist/browser/components/index.d.ts +0 -4
- package/dist/browser/components/index.d.ts.map +0 -1
- package/dist/browser/components/lib/RelationalGraphProps.d.ts +0 -16
- package/dist/browser/components/lib/RelationalGraphProps.d.ts.map +0 -1
- package/dist/browser/components/lib/index.d.ts +0 -2
- package/dist/browser/components/lib/index.d.ts.map +0 -1
- package/dist/browser/components/module/CardParser.d.ts +0 -7
- package/dist/browser/components/module/CardParser.d.ts.map +0 -1
- package/dist/browser/components/module/graph/DetailsFlexbox.d.ts +0 -7
- package/dist/browser/components/module/graph/DetailsFlexbox.d.ts.map +0 -1
- package/dist/browser/components/module/graph/GraphFlexBox.d.ts +0 -13
- package/dist/browser/components/module/graph/GraphFlexBox.d.ts.map +0 -1
- package/dist/browser/components/module/graph/Popper.d.ts +0 -13
- package/dist/browser/components/module/graph/Popper.d.ts.map +0 -1
- package/dist/browser/components/module/graph/index.d.ts +0 -2
- package/dist/browser/components/module/graph/index.d.ts.map +0 -1
- package/dist/browser/components/module/graph/node/Hover.d.ts +0 -10
- package/dist/browser/components/module/graph/node/Hover.d.ts.map +0 -1
- package/dist/browser/components/module/graph/node/hooks/index.d.ts +0 -2
- package/dist/browser/components/module/graph/node/hooks/index.d.ts.map +0 -1
- package/dist/browser/components/module/graph/node/hooks/useNodeElement.d.ts +0 -7
- package/dist/browser/components/module/graph/node/hooks/useNodeElement.d.ts.map +0 -1
- package/dist/browser/components/module/graph/node/index.d.ts +0 -2
- package/dist/browser/components/module/graph/node/index.d.ts.map +0 -1
- package/dist/browser/components/module/index.d.ts +0 -3
- package/dist/browser/components/module/index.d.ts.map +0 -1
- package/dist/browser/components/relational/graph/Graph.d.ts +0 -6
- package/dist/browser/components/relational/graph/Graph.d.ts.map +0 -1
- package/dist/browser/components/relational/graph/ProvidedNodeRenderer.d.ts +0 -12
- package/dist/browser/components/relational/graph/ProvidedNodeRenderer.d.ts.map +0 -1
- package/dist/browser/components/relational/graph/index.d.ts +0 -3
- package/dist/browser/components/relational/graph/index.d.ts.map +0 -1
- package/dist/browser/components/relational/graph/story/TestData.d.ts +0 -3
- package/dist/browser/components/relational/graph/story/TestData.d.ts.map +0 -1
- package/dist/browser/components/relational/graph/story/index.d.ts +0 -2
- package/dist/browser/components/relational/graph/story/index.d.ts.map +0 -1
- package/dist/browser/components/relational/index.d.ts +0 -2
- package/dist/browser/components/relational/index.d.ts.map +0 -1
- package/dist/browser/contexts/CytoscapeInstance/Context.d.ts +0 -3
- package/dist/browser/contexts/CytoscapeInstance/Context.d.ts.map +0 -1
- package/dist/browser/contexts/CytoscapeInstance/Provider.d.ts +0 -8
- package/dist/browser/contexts/CytoscapeInstance/Provider.d.ts.map +0 -1
- package/dist/browser/contexts/CytoscapeInstance/State.d.ts +0 -8
- package/dist/browser/contexts/CytoscapeInstance/State.d.ts.map +0 -1
- package/dist/browser/contexts/CytoscapeInstance/index.d.ts +0 -5
- package/dist/browser/contexts/CytoscapeInstance/index.d.ts.map +0 -1
- package/dist/browser/contexts/CytoscapeInstance/use.d.ts +0 -2
- package/dist/browser/contexts/CytoscapeInstance/use.d.ts.map +0 -1
- package/dist/browser/contexts/index.d.ts +0 -2
- package/dist/browser/contexts/index.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/elements/index.d.ts +0 -3
- package/dist/browser/hooks/cytoscape/elements/index.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/elements/useCytoscapeElements.d.ts +0 -4
- package/dist/browser/hooks/cytoscape/elements/useCytoscapeElements.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/elements/useElements.d.ts +0 -6
- package/dist/browser/hooks/cytoscape/elements/useElements.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/elements/useHoveredNode.d.ts +0 -4
- package/dist/browser/hooks/cytoscape/elements/useHoveredNode.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/elements/useNewElements.d.ts +0 -3
- package/dist/browser/hooks/cytoscape/elements/useNewElements.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/elements/useRenderNewElements.d.ts +0 -3
- package/dist/browser/hooks/cytoscape/elements/useRenderNewElements.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/elements/useSelectedElement.d.ts +0 -6
- package/dist/browser/hooks/cytoscape/elements/useSelectedElement.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/index.d.ts +0 -5
- package/dist/browser/hooks/cytoscape/index.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/useCytoscapeOptions.d.ts +0 -3
- package/dist/browser/hooks/cytoscape/useCytoscapeOptions.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/useCytoscapeStyle.d.ts +0 -2
- package/dist/browser/hooks/cytoscape/useCytoscapeStyle.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/useIcons.d.ts +0 -3
- package/dist/browser/hooks/cytoscape/useIcons.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/useModuleDetails.d.ts +0 -49
- package/dist/browser/hooks/cytoscape/useModuleDetails.d.ts.map +0 -1
- package/dist/browser/hooks/cytoscape/useRelationalGraphOptions.d.ts +0 -7
- package/dist/browser/hooks/cytoscape/useRelationalGraphOptions.d.ts.map +0 -1
- package/dist/browser/hooks/index.d.ts +0 -2
- package/dist/browser/hooks/index.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,5 +1,198 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Address } from '@xylabs/hex';
|
|
2
|
+
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
3
|
+
import { NodeInstance } from '@xyo-network/node-model';
|
|
4
|
+
import * as cytoscape from 'cytoscape';
|
|
5
|
+
import { CytoscapeOptions, Core, ElementDefinition, LayoutOptions, Stylesheet } from 'cytoscape';
|
|
6
|
+
import * as React from 'react';
|
|
7
|
+
import React__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction, ReactElement } from 'react';
|
|
8
|
+
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
9
|
+
import { ModuleInstance } from '@xyo-network/module-model';
|
|
10
|
+
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
11
|
+
import { AccountInstance } from '@xyo-network/account-model';
|
|
12
|
+
import * as _xyo_network_react_shared from '@xyo-network/react-shared';
|
|
13
|
+
import { ContextExState } from '@xyo-network/react-shared';
|
|
14
|
+
import { SvgIconComponent } from '@mui/icons-material';
|
|
15
|
+
import * as _xylabs_logger from '@xylabs/logger';
|
|
16
|
+
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
17
|
+
import * as _xylabs_object from '@xylabs/object';
|
|
18
|
+
|
|
19
|
+
interface NodeRelationalGraphProps extends PropsWithChildren<FlexBoxProps> {
|
|
20
|
+
actions?: ReactNode;
|
|
21
|
+
detail?: ReactNode;
|
|
22
|
+
layout?: 'dagre' | 'euler' | 'cose-bilkent' | 'cola';
|
|
23
|
+
layoutOptions?: object;
|
|
24
|
+
node?: WeakRef<NodeInstance>;
|
|
25
|
+
onHover?: (address?: Address) => void;
|
|
26
|
+
options?: CytoscapeOptions;
|
|
27
|
+
showDetails?: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface ModuleCardParserProps {
|
|
31
|
+
mod?: ModuleInstance;
|
|
32
|
+
}
|
|
33
|
+
declare const ModuleCardParser: React__default.FC<ModuleCardParserProps>;
|
|
34
|
+
|
|
35
|
+
interface ModuleGraphFlexBoxProps extends FlexBoxProps {
|
|
36
|
+
disableModuleDetails?: boolean;
|
|
37
|
+
hideActions?: boolean;
|
|
38
|
+
layout?: 'dagre' | 'euler' | 'cose-bilkent' | 'cola';
|
|
39
|
+
layoutOptions?: object;
|
|
40
|
+
rootModule?: WeakRef<ModuleInstance> | null;
|
|
41
|
+
}
|
|
42
|
+
declare const ModuleGraphFlexBox: React__default.FC<ModuleGraphFlexBoxProps>;
|
|
43
|
+
declare const ModuleGraphFlexBoxWithProvider: React__default.FC<ModuleGraphFlexBoxProps>;
|
|
44
|
+
|
|
45
|
+
declare const NodeRelationalGraphFlexBox: React__default.ForwardRefExoticComponent<NodeRelationalGraphProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
declare const NodeRelationalGraph: React__default.ForwardRefExoticComponent<NodeRelationalGraphProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
|
|
48
|
+
interface ProvidedNodeRendererProps extends NodeRelationalGraphProps {
|
|
49
|
+
account?: AccountInstance;
|
|
50
|
+
layout?: 'dagre' | 'euler' | 'cose-bilkent' | 'cola';
|
|
51
|
+
layoutOptions?: object;
|
|
52
|
+
node?: WeakRef<NodeInstance>;
|
|
53
|
+
}
|
|
54
|
+
declare const ProvidedNodeRenderer: React__default.FC<ProvidedNodeRendererProps>;
|
|
55
|
+
|
|
56
|
+
interface CytoscapeInstanceState extends ContextExState {
|
|
57
|
+
cy?: WeakRef<Core>;
|
|
58
|
+
setCy?: Dispatch<SetStateAction<WeakRef<Core> | undefined>>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare const CytoscapeInstanceContext: React.Context<CytoscapeInstanceState & _xyo_network_react_shared.ContextExState>;
|
|
62
|
+
|
|
63
|
+
interface CytoscapeInstanceProviderProps extends PropsWithChildren {
|
|
64
|
+
defaultInstance?: WeakRef<Core>;
|
|
65
|
+
}
|
|
66
|
+
declare const CytoscapeInstanceProvider: React__default.FC<CytoscapeInstanceProviderProps>;
|
|
67
|
+
|
|
68
|
+
declare const useCytoscapeInstance: (required?: boolean) => Omit<CytoscapeInstanceState & _xyo_network_react_shared.ContextExState, "provided">;
|
|
69
|
+
|
|
70
|
+
interface ModuleInfo {
|
|
71
|
+
children: ModuleInfo[];
|
|
72
|
+
depth: number;
|
|
73
|
+
mod: ModuleInstance;
|
|
74
|
+
}
|
|
75
|
+
declare const CytoscapeElements: {
|
|
76
|
+
MaxNameLength: number;
|
|
77
|
+
buildEdge(rootNode: ElementDefinition, newNode: ElementDefinition, properties?: {
|
|
78
|
+
[key: string]: unknown;
|
|
79
|
+
}): {
|
|
80
|
+
data: {
|
|
81
|
+
id: string;
|
|
82
|
+
source: string | undefined;
|
|
83
|
+
target: string | undefined;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
buildElements(mod: ModuleInstance): Promise<ElementDefinition[]>;
|
|
87
|
+
buildElementsFromInfo(info: ModuleInfo, root?: ElementDefinition, classes?: string[]): Promise<ElementDefinition[]>;
|
|
88
|
+
buildNode(mod: ModuleInstance, properties?: {
|
|
89
|
+
[key: string]: unknown;
|
|
90
|
+
}, classes?: string[]): ElementDefinition;
|
|
91
|
+
buildRootNode: (mod: ModuleInstance) => ElementDefinition;
|
|
92
|
+
normalizeName(name?: string): string | undefined;
|
|
93
|
+
recurseNodes(root: ModuleInstance, maxDepth?: number, depth?: number): Promise<ModuleInfo>;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
type CyNodeModuleTypes = 'archivist' | 'bridge' | 'diviner' | 'module' | 'node' | 'witness' | 'sentinel';
|
|
97
|
+
|
|
98
|
+
declare const encodeSvg: (reactElement: ReactElement, color?: string) => string;
|
|
99
|
+
|
|
100
|
+
declare const generateIconMap: () => Record<CyNodeModuleTypes, string>;
|
|
101
|
+
|
|
102
|
+
declare const ColaLayout: {
|
|
103
|
+
centerGraph: boolean;
|
|
104
|
+
convergenceThreshold: number;
|
|
105
|
+
name: string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
declare const ConcentricLayout: LayoutOptions;
|
|
109
|
+
|
|
110
|
+
declare const parseModuleType: (mod?: ModuleInstance) => CyNodeModuleTypes;
|
|
111
|
+
|
|
112
|
+
declare const CyIconSet: Record<CyNodeModuleTypes, SvgIconComponent>;
|
|
113
|
+
|
|
114
|
+
declare const NodeWithName: (color?: string, outlineColor?: string) => Stylesheet;
|
|
115
|
+
declare const Node: (icons: Record<CyNodeModuleTypes, string>, bgColor?: string, hideLabels?: boolean) => Stylesheet;
|
|
116
|
+
declare const NodeAsRoot: (bgColor?: string) => {
|
|
117
|
+
selector: string;
|
|
118
|
+
style: {
|
|
119
|
+
'background-color': string | undefined;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
declare const EdgeStyled: (lineColor?: string, targetArrowColor?: string) => {
|
|
123
|
+
selector: string;
|
|
124
|
+
style: {
|
|
125
|
+
'curve-style': string;
|
|
126
|
+
'line-color': string | undefined;
|
|
127
|
+
'line-opacity': number;
|
|
128
|
+
'target-arrow-color': string | undefined;
|
|
129
|
+
'target-arrow-shape': string;
|
|
130
|
+
width: number;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
declare const useCytoscapeElements: (mod?: WeakRef<ModuleInstance> | null) => ElementDefinition[];
|
|
135
|
+
|
|
136
|
+
declare const useElements: (hideLabels: boolean) => {
|
|
137
|
+
hoveredNode: cytoscape.NodeSingular | undefined;
|
|
138
|
+
setHoveredNode: React.Dispatch<React.SetStateAction<cytoscape.NodeSingular | undefined>>;
|
|
139
|
+
toggleSelectedElement: (address?: string) => void;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
declare const useCytoscapeOptions: (elements: CytoscapeOptions["elements"], style?: CytoscapeOptions["style"], layout?: CytoscapeOptions["layout"]) => CytoscapeOptions | undefined;
|
|
143
|
+
|
|
144
|
+
declare const useModuleDetails: (rootModule?: WeakRef<ModuleInstance> | null, onFoundModule?: () => void) => {
|
|
145
|
+
mod: ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
146
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
147
|
+
addToResolvers?: boolean;
|
|
148
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
149
|
+
allowNameResolution?: boolean;
|
|
150
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
151
|
+
schema: _xyo_network_payload_model.Schema;
|
|
152
|
+
readonly security?: {
|
|
153
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
154
|
+
readonly allowed?: {
|
|
155
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
156
|
+
} | undefined;
|
|
157
|
+
readonly disallowed?: {
|
|
158
|
+
[x: string]: Lowercase<string>[];
|
|
159
|
+
} | undefined;
|
|
160
|
+
} | undefined;
|
|
161
|
+
readonly archiving?: {
|
|
162
|
+
readonly archivists?: string[] | undefined;
|
|
163
|
+
readonly queries?: string[] | undefined;
|
|
164
|
+
} | undefined;
|
|
165
|
+
readonly allowedQueries?: string[] | undefined;
|
|
166
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
167
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
168
|
+
readonly labels?: {
|
|
169
|
+
[x: string]: string | undefined;
|
|
170
|
+
} | undefined;
|
|
171
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
172
|
+
readonly paging?: {
|
|
173
|
+
[x: string]: {
|
|
174
|
+
size?: number | undefined;
|
|
175
|
+
};
|
|
176
|
+
} | undefined;
|
|
177
|
+
readonly retry?: {
|
|
178
|
+
backoff?: number | undefined;
|
|
179
|
+
interval?: number | undefined;
|
|
180
|
+
retries?: number | undefined;
|
|
181
|
+
} | undefined;
|
|
182
|
+
readonly sign?: boolean | undefined;
|
|
183
|
+
readonly storeQueries?: boolean | undefined;
|
|
184
|
+
readonly timestamp?: boolean | undefined;
|
|
185
|
+
}>;
|
|
186
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
187
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
188
|
+
}, _xyo_network_module_model.ModuleEventData<object>> | null | undefined;
|
|
189
|
+
onModuleDetails: (address?: string | null) => void;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
declare const useRelationalGraphOptions: (mod?: WeakRef<ModuleInstance>) => {
|
|
193
|
+
handleToggleLabels: () => void;
|
|
194
|
+
hideLabels: boolean;
|
|
195
|
+
options: cytoscape.CytoscapeOptions | undefined;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
export { ColaLayout, ConcentricLayout, CyIconSet, type CyNodeModuleTypes, CytoscapeElements, CytoscapeInstanceContext, CytoscapeInstanceProvider, type CytoscapeInstanceProviderProps, type CytoscapeInstanceState, EdgeStyled, ModuleCardParser, type ModuleCardParserProps, ModuleGraphFlexBox, type ModuleGraphFlexBoxProps, ModuleGraphFlexBoxWithProvider, Node, NodeAsRoot, NodeRelationalGraph, NodeRelationalGraphFlexBox, type NodeRelationalGraphProps, NodeWithName, ProvidedNodeRenderer, type ProvidedNodeRendererProps, encodeSvg, generateIconMap, parseModuleType, useCytoscapeElements, useCytoscapeInstance, useCytoscapeOptions, useElements, useModuleDetails, useRelationalGraphOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-node-renderer",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.4",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"@xyo-network/module-events": "^3.9.2",
|
|
57
57
|
"@xyo-network/module-model": "^3.9.2",
|
|
58
58
|
"@xyo-network/node-model": "^3.9.2",
|
|
59
|
-
"@xyo-network/react-archivist": "^4.4.
|
|
60
|
-
"@xyo-network/react-module": "^4.4.
|
|
61
|
-
"@xyo-network/react-node": "^4.4.
|
|
62
|
-
"@xyo-network/react-shared": "^4.4.
|
|
59
|
+
"@xyo-network/react-archivist": "^4.4.4",
|
|
60
|
+
"@xyo-network/react-module": "^4.4.4",
|
|
61
|
+
"@xyo-network/react-node": "^4.4.4",
|
|
62
|
+
"@xyo-network/react-shared": "^4.4.4",
|
|
63
63
|
"@xyo-network/sentinel-model": "^3.9.2",
|
|
64
64
|
"@xyo-network/witness-model": "^3.9.2",
|
|
65
65
|
"cytoscape": "^3.31.0",
|
|
@@ -72,24 +72,24 @@
|
|
|
72
72
|
"@mui/icons-material": "^6.4.4",
|
|
73
73
|
"@mui/material": "^6.4.4",
|
|
74
74
|
"@mui/styles": "^6.4.4",
|
|
75
|
-
"@storybook/react": "^8.5.
|
|
75
|
+
"@storybook/react": "^8.5.5",
|
|
76
76
|
"@types/cytoscape": "^3.21.9",
|
|
77
77
|
"@types/cytoscape-dagre": "^2.3.3",
|
|
78
78
|
"@types/cytoscape-euler": "^1.2.3",
|
|
79
79
|
"@types/react-dom": "^18.3.5",
|
|
80
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
81
|
-
"@xylabs/tsconfig-react": "^
|
|
80
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.24",
|
|
81
|
+
"@xylabs/tsconfig-react": "^5.0.24",
|
|
82
82
|
"@xyo-network/archivist": "^3.9.2",
|
|
83
83
|
"@xyo-network/bridge-http": "^3.9.2",
|
|
84
84
|
"@xyo-network/bridge-model": "^3.9.2",
|
|
85
85
|
"@xyo-network/id-plugin": "^3.4.1",
|
|
86
86
|
"@xyo-network/node-memory": "^3.9.2",
|
|
87
|
-
"@xyo-network/react-storybook": "^4.4.
|
|
88
|
-
"@xyo-network/react-wallet": "^4.4.
|
|
87
|
+
"@xyo-network/react-storybook": "^4.4.4",
|
|
88
|
+
"@xyo-network/react-wallet": "^4.4.4",
|
|
89
89
|
"@xyo-network/sentinel": "^3.9.2",
|
|
90
90
|
"react": "^18.3.1",
|
|
91
91
|
"react-dom": "^18.3.1",
|
|
92
|
-
"storybook": "^8.5.
|
|
92
|
+
"storybook": "^8.5.5",
|
|
93
93
|
"typescript": "^5.7.3"
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { ModuleInstance } from '@xyo-network/module-model';
|
|
2
|
-
import type { ElementDefinition } from 'cytoscape';
|
|
3
|
-
interface ModuleInfo {
|
|
4
|
-
children: ModuleInfo[];
|
|
5
|
-
depth: number;
|
|
6
|
-
mod: ModuleInstance;
|
|
7
|
-
}
|
|
8
|
-
export declare const CytoscapeElements: {
|
|
9
|
-
MaxNameLength: number;
|
|
10
|
-
buildEdge(rootNode: ElementDefinition, newNode: ElementDefinition, properties?: {
|
|
11
|
-
[key: string]: unknown;
|
|
12
|
-
}): {
|
|
13
|
-
data: {
|
|
14
|
-
id: string;
|
|
15
|
-
source: string | undefined;
|
|
16
|
-
target: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
buildElements(mod: ModuleInstance): Promise<ElementDefinition[]>;
|
|
20
|
-
buildElementsFromInfo(info: ModuleInfo, root?: ElementDefinition, classes?: string[]): Promise<ElementDefinition[]>;
|
|
21
|
-
buildNode(mod: ModuleInstance, properties?: {
|
|
22
|
-
[key: string]: unknown;
|
|
23
|
-
}, classes?: string[]): ElementDefinition;
|
|
24
|
-
buildRootNode: (mod: ModuleInstance) => ElementDefinition;
|
|
25
|
-
normalizeName(name?: string): string | undefined;
|
|
26
|
-
recurseNodes(root: ModuleInstance, maxDepth?: number, depth?: number): Promise<ModuleInfo>;
|
|
27
|
-
};
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=CytoscapeElements.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CytoscapeElements.d.ts","sourceRoot":"","sources":["../../../src/Cytoscape/CytoscapeElements.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAIlD,UAAU,UAAU;IAClB,QAAQ,EAAE,UAAU,EAAE,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,cAAc,CAAA;CACpB;AAED,eAAO,MAAM,iBAAiB;;wBAGR,iBAAiB,WAAW,iBAAiB,eAAe;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE;;;;;;;uBAWjF,cAAc,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;gCAOpC,UAAU,SAAS,iBAAiB,YAAW,MAAM,EAAE,GAAQ,OAAO,CAAC,iBAAiB,EAAE,CAAC;mBAiB9G,cAAc,eAAe;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,YAAY,MAAM,EAAE,GAAG,iBAAiB;yBAczF,cAAc,KAAG,iBAAiB;yBAIlC,MAAM;uBAMF,cAAc,sCAA6B,OAAO,CAAC,UAAU,CAAC;CAqBxF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CytoscapeIcons.d.ts","sourceRoot":"","sources":["../../../src/Cytoscape/CytoscapeIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAW3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAEvD,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,iBAAiB,EAAE,gBAAgB,CASjE,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Stylesheet } from 'cytoscape';
|
|
2
|
-
import type { CyNodeModuleTypes } from './lib/index.ts';
|
|
3
|
-
export declare const NodeWithName: (color?: string, outlineColor?: string) => Stylesheet;
|
|
4
|
-
export declare const Node: (icons: Record<CyNodeModuleTypes, string>, bgColor?: string, hideLabels?: boolean) => Stylesheet;
|
|
5
|
-
export declare const NodeAsRoot: (bgColor?: string) => {
|
|
6
|
-
selector: string;
|
|
7
|
-
style: {
|
|
8
|
-
'background-color': string | undefined;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const EdgeStyled: (lineColor?: string, targetArrowColor?: string) => {
|
|
12
|
-
selector: string;
|
|
13
|
-
style: {
|
|
14
|
-
'curve-style': string;
|
|
15
|
-
'line-color': string | undefined;
|
|
16
|
-
'line-opacity': number;
|
|
17
|
-
'target-arrow-color': string | undefined;
|
|
18
|
-
'target-arrow-shape': string;
|
|
19
|
-
width: number;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=CytoscapeStyles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CytoscapeStyles.d.ts","sourceRoot":"","sources":["../../../src/Cytoscape/CytoscapeStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAE3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAEvD,eAAO,MAAM,YAAY,WAAY,MAAM,iBAAiB,MAAM,KAAG,UAYnE,CAAA;AAEF,eAAO,MAAM,IAAI,UAAW,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,YAAY,MAAM,2BAAuB,UAUpG,CAAA;AAEF,eAAO,MAAM,UAAU,aAAc,MAAM;;;;;CAGzC,CAAA;AAEF,eAAO,MAAM,UAAU,eAAgB,MAAM,qBAAqB,MAAM;;;;;;;;;;CAUtE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Cytoscape/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CyNodeModuleTypes.d.ts","sourceRoot":"","sources":["../../../../src/Cytoscape/lib/CyNodeModuleTypes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"encodeSvg.d.ts","sourceRoot":"","sources":["../../../../src/Cytoscape/lib/encodeSvg.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAMzC,eAAO,MAAM,SAAS,iBAAkB,YAAY,UAAU,MAAM,WAYnE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"iconMap.d.ts","sourceRoot":"","sources":["../../../../src/Cytoscape/lib/iconMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,eAAO,MAAM,eAAe,EAAE,MAAM,MAAM,CAAC,iBAAiB,EAAE,MAAM,CASlE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Cytoscape/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ColaLayout.d.ts","sourceRoot":"","sources":["../../../../../src/Cytoscape/lib/layout/ColaLayout.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;CAItB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConcentricLayout.d.ts","sourceRoot":"","sources":["../../../../../src/Cytoscape/lib/layout/ConcentricLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAE9C,eAAO,MAAM,gBAAgB,EAAE,aAS9B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Cytoscape/lib/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,uBAAuB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parseModuleType.d.ts","sourceRoot":"","sources":["../../../../src/Cytoscape/lib/parseModuleType.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAK/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,eAAO,MAAM,eAAe,SAAU,cAAc,KAAG,iBAoBtD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WithExtensions.d.ts","sourceRoot":"","sources":["../../../../src/components/cytoscape-extensions/WithExtensions.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAUtD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/cytoscape-extensions/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Address } from '@xylabs/hex';
|
|
2
|
-
import type { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
3
|
-
import type { NodeInstance } from '@xyo-network/node-model';
|
|
4
|
-
import type { CytoscapeOptions } from 'cytoscape';
|
|
5
|
-
import type { PropsWithChildren, ReactNode } from 'react';
|
|
6
|
-
export interface NodeRelationalGraphProps extends PropsWithChildren<FlexBoxProps> {
|
|
7
|
-
actions?: ReactNode;
|
|
8
|
-
detail?: ReactNode;
|
|
9
|
-
layout?: 'dagre' | 'euler' | 'cose-bilkent' | 'cola';
|
|
10
|
-
layoutOptions?: object;
|
|
11
|
-
node?: WeakRef<NodeInstance>;
|
|
12
|
-
onHover?: (address?: Address) => void;
|
|
13
|
-
options?: CytoscapeOptions;
|
|
14
|
-
showDetails?: boolean;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=RelationalGraphProps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RelationalGraphProps.d.ts","sourceRoot":"","sources":["../../../../src/components/lib/RelationalGraphProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEzD,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB,CAAC,YAAY,CAAC;IAC/E,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,cAAc,GAAG,MAAM,CAAA;IACpD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;IAC5B,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ModuleInstance } from '@xyo-network/module-model';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface ModuleCardParserProps {
|
|
4
|
-
mod?: ModuleInstance;
|
|
5
|
-
}
|
|
6
|
-
export declare const ModuleCardParser: React.FC<ModuleCardParserProps>;
|
|
7
|
-
//# sourceMappingURL=CardParser.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardParser.d.ts","sourceRoot":"","sources":["../../../../src/components/module/CardParser.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAG/D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,qBAAqB;IACpC,GAAG,CAAC,EAAE,cAAc,CAAA;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAY5D,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface DetailsFlexboxProps extends FlexBoxProps {
|
|
4
|
-
onClose?: () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const DetailsFlexbox: React.FC<DetailsFlexboxProps>;
|
|
7
|
-
//# sourceMappingURL=DetailsFlexbox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DetailsFlexbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/module/graph/DetailsFlexbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAWxD,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
2
|
-
import type { ModuleInstance } from '@xyo-network/module-model';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export interface ModuleGraphFlexBoxProps extends FlexBoxProps {
|
|
5
|
-
disableModuleDetails?: boolean;
|
|
6
|
-
hideActions?: boolean;
|
|
7
|
-
layout?: 'dagre' | 'euler' | 'cose-bilkent' | 'cola';
|
|
8
|
-
layoutOptions?: object;
|
|
9
|
-
rootModule?: WeakRef<ModuleInstance> | null;
|
|
10
|
-
}
|
|
11
|
-
export declare const ModuleGraphFlexBox: React.FC<ModuleGraphFlexBoxProps>;
|
|
12
|
-
export declare const ModuleGraphFlexBoxWithProvider: React.FC<ModuleGraphFlexBoxProps>;
|
|
13
|
-
//# sourceMappingURL=GraphFlexBox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GraphFlexBox.d.ts","sourceRoot":"","sources":["../../../../../src/components/module/graph/GraphFlexBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAiB,MAAM,OAAO,CAAA;AAYrC,MAAM,WAAW,uBAAwB,SAAQ,YAAY;IAC3D,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,cAAc,GAAG,MAAM,CAAA;IACpD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,IAAI,CAAA;CAC5C;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAoDhE,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAM5E,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PopperProps } from '@mui/material';
|
|
2
|
-
import type { NodeSingular } from 'cytoscape';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export interface ModuleHoverPopperProps extends PopperProps {
|
|
5
|
-
node?: NodeSingular;
|
|
6
|
-
onClose?: () => void;
|
|
7
|
-
onModuleDetails?: (address?: string) => void;
|
|
8
|
-
onModuleExplore?: (address?: string) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const ModuleHoverPopper: React.FC<ModuleHoverPopperProps>;
|
|
11
|
-
export declare const StyledModuleHoverPopper: import("@emotion/styled").StyledComponent<Pick<ModuleHoverPopperProps, keyof ModuleHoverPopperProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
12
|
-
export declare const StyledCardActions: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").CardActionsProps, keyof import("@mui/material").CardActionsProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
13
|
-
//# sourceMappingURL=Popper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../../../../../src/components/module/graph/Popper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACzD,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,eAAe,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,eAAe,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CAC7C;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAqD9D,CAAA;AAED,eAAO,MAAM,uBAAuB,2LAAiF,CAAA;AAErH,eAAO,MAAM,iBAAiB,+NAG3B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/module/graph/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { PopperProps } from '@mui/material';
|
|
2
|
-
import type { NodeSingular } from 'cytoscape';
|
|
3
|
-
import type { ReactElement } from 'react';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
export interface ModuleHoverProps {
|
|
6
|
-
children?: (anchorElement?: PopperProps['anchorEl'], container?: PopperProps['container']) => ReactElement;
|
|
7
|
-
node?: NodeSingular;
|
|
8
|
-
}
|
|
9
|
-
export declare const ModuleGraphNodeHover: React.FC<ModuleHoverProps>;
|
|
10
|
-
//# sourceMappingURL=Hover.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Hover.d.ts","sourceRoot":"","sources":["../../../../../../src/components/module/graph/node/Hover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAGhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,CAAC,aAAa,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,EAAE,SAAS,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,KAAK,YAAY,CAAA;IAC1G,IAAI,CAAC,EAAE,YAAY,CAAA;CACpB;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAa3D,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/module/graph/node/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { NodeSingular } from 'cytoscape';
|
|
2
|
-
export declare const useNodeElement: (node?: NodeSingular) => {
|
|
3
|
-
boundingBox: (import("cytoscape").BoundingBox12 & import("cytoscape").BoundingBoxWH) | undefined;
|
|
4
|
-
currentElement: HTMLElement | import("@popperjs/core/index.js").VirtualElement | (() => HTMLElement) | (() => import("@popperjs/core/index.js").VirtualElement) | null | undefined;
|
|
5
|
-
ref: import("react").RefObject<HTMLDivElement>;
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=useNodeElement.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useNodeElement.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/module/graph/node/hooks/useNodeElement.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAK7C,eAAO,MAAM,cAAc,UAAW,YAAY;;;;CAkCjD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/module/graph/node/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/module/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { NodeRelationalGraphProps } from '../../lib/index.ts';
|
|
3
|
-
export declare const NodeRelationalGraphFlexBox: React.ForwardRefExoticComponent<NodeRelationalGraphProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
/** @deprecated */
|
|
5
|
-
export declare const NodeRelationalGraph: React.ForwardRefExoticComponent<NodeRelationalGraphProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
//# sourceMappingURL=Graph.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Graph.d.ts","sourceRoot":"","sources":["../../../../../src/components/relational/graph/Graph.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAEN,MAAM,OAAO,CAAA;AAEd,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAqDlE,eAAO,MAAM,0BAA0B,iGAiHtC,CAAA;AAID,kBAAkB;AAClB,eAAO,MAAM,mBAAmB,iGAA6B,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { AccountInstance } from '@xyo-network/account-model';
|
|
2
|
-
import type { NodeInstance } from '@xyo-network/node-model';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import type { NodeRelationalGraphProps } from '../../lib/index.ts';
|
|
5
|
-
export interface ProvidedNodeRendererProps extends NodeRelationalGraphProps {
|
|
6
|
-
account?: AccountInstance;
|
|
7
|
-
layout?: 'dagre' | 'euler' | 'cose-bilkent' | 'cola';
|
|
8
|
-
layoutOptions?: object;
|
|
9
|
-
node?: WeakRef<NodeInstance>;
|
|
10
|
-
}
|
|
11
|
-
export declare const ProvidedNodeRenderer: React.FC<ProvidedNodeRendererProps>;
|
|
12
|
-
//# sourceMappingURL=ProvidedNodeRenderer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProvidedNodeRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/relational/graph/ProvidedNodeRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAE3D,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAGlE,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;IACzE,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,MAAM,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,cAAc,GAAG,MAAM,CAAA;IACpD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CAC7B;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAMpE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/relational/graph/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,4BAA4B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TestData.d.ts","sourceRoot":"","sources":["../../../../../../src/components/relational/graph/story/TestData.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AA+CjD,eAAO,MAAM,OAAO,EAAE,gBAGrB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/relational/graph/story/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/relational/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/CytoscapeInstance/Context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAExD,eAAO,MAAM,wBAAwB,sGAA4C,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Core } from 'cytoscape';
|
|
2
|
-
import type { PropsWithChildren } from 'react';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export interface CytoscapeInstanceProviderProps extends PropsWithChildren {
|
|
5
|
-
defaultInstance?: WeakRef<Core>;
|
|
6
|
-
}
|
|
7
|
-
export declare const CytoscapeInstanceProvider: React.FC<CytoscapeInstanceProviderProps>;
|
|
8
|
-
//# sourceMappingURL=Provider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/CytoscapeInstance/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAA4B,MAAM,OAAO,CAAA;AAIhD,MAAM,WAAW,8BAA+B,SAAQ,iBAAiB;IACvE,eAAe,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;CAChC;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAY9E,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ContextExState } from '@xyo-network/react-shared';
|
|
2
|
-
import type { Core } from 'cytoscape';
|
|
3
|
-
import type { Dispatch, SetStateAction } from 'react';
|
|
4
|
-
export interface CytoscapeInstanceState extends ContextExState {
|
|
5
|
-
cy?: WeakRef<Core>;
|
|
6
|
-
setCy?: Dispatch<SetStateAction<WeakRef<Core> | undefined>>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=State.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/CytoscapeInstance/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAErD,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,EAAE,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;IAClB,KAAK,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,CAAC,CAAA;CAC5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/CytoscapeInstance/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/CytoscapeInstance/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,4IAA8F,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/cytoscape/elements/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { ModuleInstance } from '@xyo-network/module-model';
|
|
2
|
-
import type { ElementDefinition } from 'cytoscape';
|
|
3
|
-
export declare const useCytoscapeElements: (mod?: WeakRef<ModuleInstance> | null) => ElementDefinition[];
|
|
4
|
-
//# sourceMappingURL=useCytoscapeElements.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCytoscapeElements.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/cytoscape/elements/useCytoscapeElements.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAKlD,eAAO,MAAM,oBAAoB,SAAU,OAAO,CAAC,cAAc,CAAC,GAAG,IAAI,wBAqCxE,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const useElements: (hideLabels: boolean) => {
|
|
2
|
-
hoveredNode: import("cytoscape").NodeSingular | undefined;
|
|
3
|
-
setHoveredNode: import("react").Dispatch<import("react").SetStateAction<import("cytoscape").NodeSingular | undefined>>;
|
|
4
|
-
toggleSelectedElement: (address?: string) => void;
|
|
5
|
-
};
|
|
6
|
-
//# sourceMappingURL=useElements.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useElements.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/cytoscape/elements/useElements.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,eAAgB,OAAO;;;;CAS9C,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { NodeCollection, NodeSingular } from 'cytoscape';
|
|
2
|
-
import type { Dispatch, SetStateAction } from 'react';
|
|
3
|
-
export declare const useHoveredNode: (renderedElements?: NodeCollection) => [NodeSingular | undefined, Dispatch<SetStateAction<NodeSingular | undefined>>];
|
|
4
|
-
//# sourceMappingURL=useHoveredNode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHoveredNode.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/cytoscape/elements/useHoveredNode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC7D,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAOrD,eAAO,MAAM,cAAc,sBAAuB,cAAc,KAAG,CAAC,YAAY,GAAG,SAAS,EAAE,QAAQ,CAAC,cAAc,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC,CAyB/I,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useNewElements.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/cytoscape/elements/useNewElements.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAK7C,eAAO,MAAM,cAAc,qBAAsB,YAAY,4CAU5D,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRenderNewElements.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/cytoscape/elements/useRenderNewElements.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAMlD,eAAO,MAAM,oBAAoB,iBAAiB,iBAAiB,EAAE,eAAoB,OAAO,0DAU/F,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSelectedElement.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/cytoscape/elements/useSelectedElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAK7C,eAAO,MAAM,kBAAkB;;sCAUY,MAAM;CAShD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/cytoscape/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,iCAAiC,CAAA"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { CytoscapeOptions } from 'cytoscape';
|
|
2
|
-
export declare const useCytoscapeOptions: (elements: CytoscapeOptions["elements"], style?: CytoscapeOptions["style"], layout?: CytoscapeOptions["layout"]) => CytoscapeOptions | undefined;
|
|
3
|
-
//# sourceMappingURL=useCytoscapeOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCytoscapeOptions.d.ts","sourceRoot":"","sources":["../../../../src/hooks/cytoscape/useCytoscapeOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAMjD,eAAO,MAAM,mBAAmB,aACpB,gBAAgB,CAAC,UAAU,CAAC,UAC9B,gBAAgB,CAAC,OAAO,CAAC,WACxB,gBAAgB,CAAC,QAAQ,CAAC,iCAkBpC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCytoscapeStyle.d.ts","sourceRoot":"","sources":["../../../../src/hooks/cytoscape/useCytoscapeStyle.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,iBAAiB,4DAe7B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useIcons.d.ts","sourceRoot":"","sources":["../../../../src/hooks/cytoscape/useIcons.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAKjE,eAAO,MAAM,QAAQ,yCAapB,CAAA"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { ModuleInstance } from '@xyo-network/module-model';
|
|
2
|
-
export declare const useModuleDetails: (rootModule?: WeakRef<ModuleInstance> | null, onFoundModule?: () => void) => {
|
|
3
|
-
mod: ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
4
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
5
|
-
addToResolvers?: boolean;
|
|
6
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
7
|
-
allowNameResolution?: boolean;
|
|
8
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
9
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
10
|
-
readonly security?: {
|
|
11
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
12
|
-
readonly allowed?: {
|
|
13
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
14
|
-
} | undefined;
|
|
15
|
-
readonly disallowed?: {
|
|
16
|
-
[x: string]: Lowercase<string>[];
|
|
17
|
-
} | undefined;
|
|
18
|
-
} | undefined;
|
|
19
|
-
readonly archiving?: {
|
|
20
|
-
readonly archivists?: string[] | undefined;
|
|
21
|
-
readonly queries?: string[] | undefined;
|
|
22
|
-
} | undefined;
|
|
23
|
-
readonly allowedQueries?: string[] | undefined;
|
|
24
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
25
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
26
|
-
readonly labels?: {
|
|
27
|
-
[x: string]: string | undefined;
|
|
28
|
-
} | undefined;
|
|
29
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
30
|
-
readonly paging?: {
|
|
31
|
-
[x: string]: {
|
|
32
|
-
size?: number | undefined;
|
|
33
|
-
};
|
|
34
|
-
} | undefined;
|
|
35
|
-
readonly retry?: {
|
|
36
|
-
backoff?: number | undefined;
|
|
37
|
-
interval?: number | undefined;
|
|
38
|
-
retries?: number | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
readonly sign?: boolean | undefined;
|
|
41
|
-
readonly storeQueries?: boolean | undefined;
|
|
42
|
-
readonly timestamp?: boolean | undefined;
|
|
43
|
-
}>;
|
|
44
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
45
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
46
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>> | null | undefined;
|
|
47
|
-
onModuleDetails: (address?: string | null) => void;
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=useModuleDetails.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useModuleDetails.d.ts","sourceRoot":"","sources":["../../../../src/hooks/cytoscape/useModuleDetails.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAO/D,eAAO,MAAM,gBAAgB,gBAAiB,OAAO,CAAC,cAAc,CAAC,GAAG,IAAI,kBAAkB,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAmDnE,MAAM,GAAG,IAAI;CAoBjD,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ModuleInstance } from '@xyo-network/module-model';
|
|
2
|
-
export declare const useRelationalGraphOptions: (mod?: WeakRef<ModuleInstance>) => {
|
|
3
|
-
handleToggleLabels: () => void;
|
|
4
|
-
hideLabels: boolean;
|
|
5
|
-
options: import("cytoscape").CytoscapeOptions | undefined;
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=useRelationalGraphOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRelationalGraphOptions.d.ts","sourceRoot":"","sources":["../../../../src/hooks/cytoscape/useRelationalGraphOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAQ/D,eAAO,MAAM,yBAAyB,SAAU,OAAO,CAAC,cAAc,CAAC;;;;CActE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,kBAAkB,CAAA"}
|