spt-ui-lib 1.1.0 → 2.1.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/README.md CHANGED
@@ -1,11 +1,8 @@
1
- # Spring Persistent Tasks UI Lib
2
-
3
- ## UI Project of spring persistent tasks
1
+ ## Spring Persistent Tasks UI Lib
4
2
 
5
3
  https://github.com/sterlp/spring-persistent-tasks
6
4
 
7
- # Libs
5
+ ## Libs
8
6
 
9
7
  - https://react-bootstrap.netlify.app/
10
8
  - https://github.com/ismamz/react-bootstrap-icons
11
- - https://feathericons.com/
@@ -1,2 +1,3 @@
1
- declare const LoadingView: () => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ declare const LoadingView: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2
3
  export default LoadingView;
@@ -2,6 +2,7 @@ import { PagedModel } from '../../server-api';
2
2
  import { default as React } from 'react';
3
3
  interface PageViewProps {
4
4
  data?: PagedModel<unknown>;
5
+ isLoading?: boolean;
5
6
  onPage: (page: number) => void;
6
7
  }
7
8
  declare const PageView: React.FC<PageViewProps>;
@@ -5,7 +5,8 @@
5
5
  interface TriggerGroupViewProps {
6
6
  url: string;
7
7
  onGroupClick?: (v: string) => void;
8
+ pageSize?: number;
8
9
  filter?: Record<string, string>;
9
10
  }
10
- declare const TriggerGroupListView: ({ url, onGroupClick, filter, }: TriggerGroupViewProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const TriggerGroupListView: ({ url, onGroupClick, pageSize, filter, }: TriggerGroupViewProps) => import("react/jsx-runtime").JSX.Element;
11
12
  export default TriggerGroupListView;