hise-flow-graphs 1.1.20 → 1.1.21
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/@types/CertificateTypes.d.ts +64 -0
- package/dist/@types/GeneralTypes.d.ts +35 -0
- package/dist/components/Certificates/CertificateGraph/LayerBackButton.d.ts +2 -0
- package/dist/components/Certificates/CertificateGraph/NodeAttributes.d.ts +9 -0
- package/dist/components/Certificates/CertificateGraph/helpers.d.ts +31 -0
- package/dist/components/Certificates/CertificateGraph/index.d.ts +16 -0
- package/dist/components/Certificates/EditCertificate/EditNode.d.ts +3 -0
- package/dist/components/Certificates/EditCertificate/EditNodeModal.d.ts +18 -0
- package/dist/components/Certificates/EditCertificate/MaskMetadataModal/EMRMaskingTables.d.ts +10 -0
- package/dist/components/Certificates/EditCertificate/MaskMetadataModal/MaskMetadataTable.d.ts +20 -0
- package/dist/components/Certificates/EditCertificate/MaskMetadataModal/helpers.d.ts +7 -0
- package/dist/components/Certificates/EditCertificate/MaskMetadataModal/index.d.ts +21 -0
- package/dist/components/Certificates/EditCertificate/helpers.d.ts +6 -0
- package/dist/components/Certificates/EditCertificate/index.d.ts +8 -0
- package/dist/components/Certificates/FileLayerNode/CopyFileLayer.d.ts +24 -0
- package/dist/components/Certificates/FileLayerNode/index.d.ts +3 -0
- package/dist/components/Certificates/ReadCertificate/MetadataModal/MetadataTable.d.ts +10 -0
- package/dist/components/Certificates/ReadCertificate/MetadataModal/helpers.d.ts +8 -0
- package/dist/components/Certificates/ReadCertificate/MetadataModal/index.d.ts +10 -0
- package/dist/components/Certificates/ReadCertificate/ReadNode.d.ts +3 -0
- package/dist/components/Certificates/ReadCertificate/index.d.ts +5 -0
- package/dist/components/Certificates/ReviewCertificate/RestrictNode/index.d.ts +10 -0
- package/dist/components/Certificates/ReviewCertificate/ReviewNode.d.ts +3 -0
- package/dist/components/Certificates/ReviewCertificate/ReviewNodes/index.d.ts +22 -0
- package/dist/components/Certificates/ReviewCertificate/helpers.d.ts +14 -0
- package/dist/components/Certificates/ReviewCertificate/index.d.ts +7 -0
- package/dist/components/Certificates/WalkingGraph/ActionsMenu.d.ts +4 -0
- package/dist/components/Certificates/WalkingGraph/LayerItemsModal.d.ts +5 -0
- package/dist/components/Certificates/WalkingGraph/WalkingNode.d.ts +3 -0
- package/dist/components/Certificates/WalkingGraph/helpers.d.ts +11 -0
- package/dist/components/Certificates/WalkingGraph/index.d.ts +5 -0
- package/dist/components/Certificates/WorkspaceCertificate/ReplicaIDENode/helpers.d.ts +2 -0
- package/dist/components/Certificates/WorkspaceCertificate/ReplicaIDENode/index.d.ts +3 -0
- package/dist/components/Certificates/WorkspaceCertificate/ReplicaPipelineNode/index.d.ts +15 -0
- package/dist/components/Certificates/WorkspaceCertificate/RestrictedNode/index.d.ts +7 -0
- package/dist/components/Certificates/WorkspaceCertificate/WorkspaceFileNode/helpers.d.ts +1 -0
- package/dist/components/Certificates/WorkspaceCertificate/WorkspaceFileNode/index.d.ts +3 -0
- package/dist/components/Certificates/WorkspaceCertificate/WorkspaceIDENode/IDEModal.d.ts +7 -0
- package/dist/components/Certificates/WorkspaceCertificate/WorkspaceIDENode/helpers.d.ts +3 -0
- package/dist/components/Certificates/WorkspaceCertificate/WorkspaceIDENode/index.d.ts +3 -0
- package/dist/components/Certificates/WorkspaceCertificate/WorkspaceNode/index.d.ts +8 -0
- package/dist/components/Certificates/WorkspaceCertificate/WorkspacePipelineNode/PipelineModal.d.ts +7 -0
- package/dist/components/Certificates/WorkspaceCertificate/WorkspacePipelineNode/helpers.d.ts +3 -0
- package/dist/components/Certificates/WorkspaceCertificate/WorkspacePipelineNode/index.d.ts +3 -0
- package/dist/components/Certificates/WorkspaceCertificate/helpers.d.ts +10 -0
- package/dist/components/Certificates/WorkspaceCertificate/index.d.ts +8 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.es.js +9779 -9840
- package/dist/index.umd.js +40 -40
- package/dist/state/GraphContext.d.ts +21 -0
- package/dist/utils/getCertificateBody.d.ts +3 -0
- package/package.json +2 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Node } from 'reactflow';
|
|
2
|
+
import { Certificate, Replica, NodeLayers } from '../@types/CertificateTypes';
|
|
3
|
+
type GraphContextType = {
|
|
4
|
+
certificate: Certificate | any;
|
|
5
|
+
node: Node | any;
|
|
6
|
+
setNode: (p: Node | object) => void;
|
|
7
|
+
type: string;
|
|
8
|
+
replica: Replica | any;
|
|
9
|
+
nodesState: any;
|
|
10
|
+
edgesState: any;
|
|
11
|
+
nodeLayers: NodeLayers;
|
|
12
|
+
setNodeLayers: (p: NodeLayers) => void;
|
|
13
|
+
};
|
|
14
|
+
declare const GraphProvider: (props: {
|
|
15
|
+
type: string;
|
|
16
|
+
certificate: Certificate;
|
|
17
|
+
replica?: Replica;
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const useGraph: () => GraphContextType;
|
|
21
|
+
export default GraphProvider;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const certificateSchemesEndpoint: (schemesId: string, baseUrl: string, isPublic: boolean) => string;
|
|
2
|
+
declare const getCertificateBody: (certificateId: string, baseUrl: string, isPublic?: boolean, setResponse?: Function) => Promise<any>;
|
|
3
|
+
export default getCertificateBody;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hise-flow-graphs",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.21",
|
|
4
4
|
"description": "This package manages ReactFlow graphs for HISE.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@xyflow/react": "^12.8.4",
|
|
21
21
|
"bootstrap": "5.1.3",
|
|
22
22
|
"dagre": "^0.8.5",
|
|
23
|
-
"hise-components": "^
|
|
23
|
+
"hise-components": "^2.0.0",
|
|
24
24
|
"ramda": "0.27.1",
|
|
25
25
|
"react-quill": "^2.0.0",
|
|
26
26
|
"react-toastify": "^9.1.3",
|