pollination-react-io 0.0.44 → 0.0.45-beta.2

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.
@@ -5,5 +5,5 @@ export interface SelectRecipeProps {
5
5
  authUser?: UserPrivate;
6
6
  client?: APIClient;
7
7
  setSelRecipe?: (recipe: RecipeInterface) => void;
8
- environment: Window;
8
+ environment?: Window;
9
9
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SelectRunProps } from './SelectRun.types';
3
+ export declare const SelectRun: React.FC<SelectRunProps>;
4
+ export default SelectRun;
@@ -0,0 +1,11 @@
1
+ import { Run, UserPrivate } from '@pollination-solutions/pollination-sdk';
2
+ import { APIClient } from '../hooks';
3
+ export interface SelectRunProps {
4
+ projectOwner?: string;
5
+ projectName?: string;
6
+ jobId?: string[];
7
+ authUser?: UserPrivate;
8
+ client?: APIClient;
9
+ setSelRun?: (recipe: Run) => void;
10
+ environment?: Window;
11
+ }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { SelectStudyProps } from './SelectStudy.types';
3
+ import '../styles/buttons.scss';
4
+ import '../styles/variables.scss';
5
+ export declare const SelectStudy: React.FC<SelectStudyProps>;
6
+ export default SelectStudy;
@@ -0,0 +1,10 @@
1
+ import { Project, ProjectsApiListProjectsRequest, UserPrivate } from '@pollination-solutions/pollination-sdk';
2
+ import { APIClient } from '../hooks';
3
+ export interface SelectStudyProps {
4
+ projectOwner?: string;
5
+ authUser?: UserPrivate;
6
+ client?: APIClient;
7
+ setSelStudy?: (project: Project) => void;
8
+ queryConfig?: Partial<ProjectsApiListProjectsRequest>;
9
+ environment?: Window;
10
+ }
@@ -4,7 +4,7 @@ export interface ComboBoxProps {
4
4
  id: string;
5
5
  name: string;
6
6
  }[];
7
- renderItem?: (item: any) => ReactNode;
7
+ renderItem?: (item: any, i?: number, arr?: any[]) => ReactNode;
8
8
  setSelected?: (item: any) => void;
9
9
  loading?: boolean;
10
10
  disabled?: boolean;
@@ -15,4 +15,5 @@ export interface ComboBoxProps {
15
15
  noMatchText?: string;
16
16
  ref?: Ref<any>;
17
17
  environment?: Window;
18
+ onScrollReachEnd?: (...args: any) => void;
18
19
  }
package/build/index.d.ts CHANGED
@@ -6,8 +6,10 @@ export * from './PreviewBakeGeometry/PreviewBakeGeometry';
6
6
  export * from './PreviewBakeModel/PreviewBakeModel';
7
7
  export * from './RunCommand/RunCommand';
8
8
  export * from './SelectAccount/SelectAccount';
9
+ export * from './SelectStudy/SelectStudy';
9
10
  export * from './SelectProject/SelectProject';
10
11
  export * from './SelectRecipe/SelectRecipe';
12
+ export * from './SelectRun/SelectRun';
11
13
  export * from './SendGeometry/SendGeometry';
12
14
  export * from './SendModel/SendModel';
13
15
  export * from './SendResults/SendResults';