@cloudtower/eagle 0.22.8 → 0.22.10
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/components/Table/TableWidget.d.ts +0 -40
- package/dist/components/Table/index.d.ts +1 -2
- package/dist/components/index.d.ts +0 -2
- package/dist/esm/index.js +711 -863
- package/dist/esm/stats1.html +1 -1
- package/dist/hooks/index.d.ts +0 -5
- package/dist/index.d.ts +1 -1
- package/dist/spec/base.d.ts +13 -0
- package/dist/style.css +682 -702
- package/dist/umd/index.js +714 -865
- package/dist/umd/stats1.html +1 -1
- package/dist/utils/index.d.ts +0 -2
- package/package.json +4 -6
- package/dist/components/Table/SidebarTable.d.ts +0 -7
- package/dist/components/TowerTable/TableEmpty.d.ts +0 -7
- package/dist/components/TowerTable/TablePagination.d.ts +0 -9
- package/dist/components/TowerTable/WrapperComponent.d.ts +0 -7
- package/dist/components/TowerTable/index.d.ts +0 -42
- package/dist/hooks/useHistory.d.ts +0 -2
- package/dist/hooks/useMatchMediaQueries.d.ts +0 -10
- package/dist/hooks/useSearch.d.ts +0 -12
- package/dist/utils/history.d.ts +0 -1
- package/dist/utils/router.d.ts +0 -34
|
@@ -1,48 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { SearchOperation, SetSearch } from "../../hooks";
|
|
3
|
-
import { Maybe, Scalars } from "../../spec";
|
|
4
|
-
import { SerializableObject } from "../../utils/tower";
|
|
5
|
-
export declare const AuxiliaryLine: import("@linaria/react").StyledMeta & React.FunctionComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
|
|
6
|
-
as?: React.ElementType<any> | undefined;
|
|
7
|
-
}>;
|
|
8
|
-
export declare const TablePagination: <T>(props: {
|
|
9
|
-
count?: number | undefined;
|
|
10
|
-
skip: number;
|
|
11
|
-
size: number;
|
|
12
|
-
setQuery: (val: T | ((val: T) => T), operation?: SearchOperation | undefined) => void;
|
|
13
|
-
onChange?: ((page?: number, size?: number) => void) | undefined;
|
|
14
|
-
}) => JSX.Element;
|
|
15
2
|
export declare const TableLoading: React.FC;
|
|
16
3
|
export declare const KitTableContext: React.Context<{
|
|
17
4
|
onClearSearchButtonEffect?: ((base: string) => void) | undefined;
|
|
18
5
|
}>;
|
|
19
|
-
export declare const TableEmpty: React.FC<{
|
|
20
|
-
query: {
|
|
21
|
-
where?: Maybe<SerializableObject>;
|
|
22
|
-
};
|
|
23
|
-
setQuery: (query: {}) => void;
|
|
24
|
-
base: string;
|
|
25
|
-
clearGlobalSearch?: boolean;
|
|
26
|
-
}>;
|
|
27
|
-
export declare const TableError: React.FC<{
|
|
28
|
-
error: Error;
|
|
29
|
-
refetch: () => Promise<unknown>;
|
|
30
|
-
}>;
|
|
31
|
-
export declare const usePosition: <V extends {
|
|
32
|
-
skip?: Maybe<Scalars["Int"]>;
|
|
33
|
-
first?: Maybe<Scalars["Int"]>;
|
|
34
|
-
}>(props: {
|
|
35
|
-
wrapper: React.MutableRefObject<HTMLDivElement | null>;
|
|
36
|
-
setQuery: SetSearch<V>;
|
|
37
|
-
defaultSize: number;
|
|
38
|
-
data: unknown;
|
|
39
|
-
elSelector?: {
|
|
40
|
-
row?: string | undefined;
|
|
41
|
-
wrapper?: string | undefined;
|
|
42
|
-
} | undefined;
|
|
43
|
-
}) => {
|
|
44
|
-
positionOnCompleted: (count: number) => void;
|
|
45
|
-
};
|
|
46
6
|
export declare const ColumnTitle: React.FC<{
|
|
47
7
|
sortOrder?: "descend" | "ascend" | null;
|
|
48
8
|
title: React.ReactNode;
|
|
@@ -5,6 +5,7 @@ declare const Table: <T extends {
|
|
|
5
5
|
id: string;
|
|
6
6
|
}>(props: TableProps<T>) => JSX.Element;
|
|
7
7
|
export default Table;
|
|
8
|
+
export type { CustomizeColumnType } from "../../hooks";
|
|
8
9
|
export * from "./common";
|
|
9
10
|
export * from "./customize-column";
|
|
10
11
|
export * from "./CustomizeColumn";
|
|
@@ -14,7 +15,5 @@ export { default as HeaderCell } from "./HeaderCell";
|
|
|
14
15
|
export * from "./PendingTable";
|
|
15
16
|
export { default as PendingTable } from "./PendingTable";
|
|
16
17
|
export * from "./SearchWidget";
|
|
17
|
-
export * from "./SidebarTable";
|
|
18
|
-
export { default as SidebarTable } from "./SidebarTable";
|
|
19
18
|
export * from "./TableSelection";
|
|
20
19
|
export * from "./TableWidget";
|
|
@@ -23,7 +23,5 @@ export * from "./Switch";
|
|
|
23
23
|
export * from "./Table";
|
|
24
24
|
export * from "./TimeZoneSelect";
|
|
25
25
|
export * from "./Tooltip";
|
|
26
|
-
export { default as TowerTable } from "./TowerTable";
|
|
27
|
-
export * from "./TowerTable";
|
|
28
26
|
export { default as Truncate } from "./Truncate";
|
|
29
27
|
export * from "./Typo";
|