pollination-react-io 1.37.0 → 1.38.0
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/build/RunDetails/Cards/FileCard.d.ts +11 -0
- package/build/RunDetails/Cards/FolderCard.d.ts +10 -0
- package/build/RunDetails/Cards/ParamCard.d.ts +10 -0
- package/build/RunDetails/Cards/Utils/fileIcons.d.ts +11 -0
- package/build/RunDetails/Cards/Utils/getFileIcon.d.ts +3 -0
- package/build/{RunRecipe → RunDetails}/RunContent.d.ts +1 -1
- package/build/{RunRecipe → RunDetails}/RunContent.types.d.ts +2 -6
- package/build/RunDetails/RunDetails.d.ts +5 -0
- package/build/{RunRecipe/RunRecipe.types.d.ts → RunDetails/RunDetails.types.d.ts} +3 -5
- package/build/index.d.ts +1 -1
- package/build/index.esm.js +728 -472
- package/build/index.esm.js.map +1 -1
- package/build/index.js +728 -472
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/build/RunRecipe/RunRecipe.d.ts +0 -5
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Card.scss';
|
|
3
|
+
export interface FileCardProps {
|
|
4
|
+
label: string;
|
|
5
|
+
path: string;
|
|
6
|
+
description: string;
|
|
7
|
+
file?: Blob | File | string;
|
|
8
|
+
onClicked?: (card: FileCardProps) => any;
|
|
9
|
+
}
|
|
10
|
+
export declare const FileCard: React.FC<FileCardProps>;
|
|
11
|
+
export default FileCard;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Card.scss';
|
|
3
|
+
export interface FolderCardProps {
|
|
4
|
+
label: string;
|
|
5
|
+
path: string;
|
|
6
|
+
description: string;
|
|
7
|
+
onClicked?: (card: FolderCardProps) => any;
|
|
8
|
+
}
|
|
9
|
+
export declare const FolderCard: React.FC<FolderCardProps>;
|
|
10
|
+
export default FolderCard;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const jsonSvg: () => JSX.Element;
|
|
3
|
+
export declare const jsonSvgFilled: () => JSX.Element;
|
|
4
|
+
export declare const csvSvg: () => JSX.Element;
|
|
5
|
+
export declare const csvSvgFilled: () => JSX.Element;
|
|
6
|
+
export declare const threeDimSvg: () => JSX.Element;
|
|
7
|
+
export declare const threeDimSvgFilled: () => JSX.Element;
|
|
8
|
+
export declare const xmlSvg: () => JSX.Element;
|
|
9
|
+
export declare const xmlSvgFilled: () => JSX.Element;
|
|
10
|
+
export declare const weatherSvg: () => JSX.Element;
|
|
11
|
+
export declare const weatherSvgFilled: () => JSX.Element;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { APIClient } from '../hooks';
|
|
2
|
-
|
|
3
|
-
label: string;
|
|
4
|
-
path: string;
|
|
5
|
-
file?: Blob | File | string;
|
|
6
|
-
}
|
|
2
|
+
import { FileCardProps } from './Cards/FileCard';
|
|
7
3
|
export interface RunContentProps {
|
|
8
4
|
inputData: any[];
|
|
9
5
|
studyId?: string;
|
|
@@ -11,5 +7,5 @@ export interface RunContentProps {
|
|
|
11
7
|
projectOwner?: string;
|
|
12
8
|
projectName?: string;
|
|
13
9
|
client?: APIClient;
|
|
14
|
-
getCardValue?: (card:
|
|
10
|
+
getCardValue?: (card: FileCardProps) => any;
|
|
15
11
|
}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import { Run, UserPrivate } from '@pollination-solutions/pollination-sdk';
|
|
2
|
-
import { CSSProperties } from 'react';
|
|
3
2
|
import { APIClient } from '../hooks';
|
|
4
|
-
import {
|
|
3
|
+
import { FileCardProps } from './Cards/FileCard';
|
|
5
4
|
export interface LocalRun {
|
|
6
5
|
meta: any;
|
|
7
6
|
status: any;
|
|
8
7
|
recipe: any;
|
|
9
8
|
id: string;
|
|
10
9
|
}
|
|
11
|
-
export interface
|
|
10
|
+
export interface RunDetailsProps {
|
|
12
11
|
projectOwner: string;
|
|
13
12
|
projectName: string;
|
|
14
13
|
run?: Run | LocalRun;
|
|
15
14
|
runId?: string;
|
|
16
|
-
style?: CSSProperties;
|
|
17
15
|
authUser?: UserPrivate;
|
|
18
16
|
client?: APIClient;
|
|
19
|
-
getCardValue?: (card:
|
|
17
|
+
getCardValue?: (card: FileCardProps) => any;
|
|
20
18
|
}
|
package/build/index.d.ts
CHANGED