climb-onyx-gui 0.16.7 → 0.17.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/dist/api/hooks.d.ts +3 -1
- package/dist/climb-onyx-gui.js +20383 -20366
- package/dist/components/QueryHandler.d.ts +2 -2
- package/dist/components/ResultsPanel.d.ts +21 -7
- package/dist/components/Table.d.ts +21 -19
- package/dist/types.d.ts +8 -6
- package/dist/utils/functions.d.ts +31 -5
- package/dist/utils/styles.d.ts +3 -3
- package/package.json +1 -1
package/dist/api/hooks.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { ErrorResponse, DetailResponse, Choices, Field, Fields, ListResponse, TypeObject, Lookup, Project, ProjectPermissionGroup, Count, Profile } from '../types';
|
|
1
|
+
import { ErrorResponse, DetailResponse, Choices, Field, Fields, ListResponse, TypeObject, Lookup, Project, ProjectPermissionGroup, Count, Profile, RecordType, InputRow } from '../types';
|
|
2
2
|
export declare const useProfile: (data: DetailResponse<Profile> | ErrorResponse | undefined) => Profile;
|
|
3
3
|
export declare const useProjects: (data: ListResponse<ProjectPermissionGroup> | ErrorResponse | undefined) => Project[];
|
|
4
4
|
export declare const useFields: (data: DetailResponse<Fields> | ErrorResponse | undefined) => Fields;
|
|
5
5
|
export declare const useTypeLookups: (data: ListResponse<TypeObject> | ErrorResponse | undefined) => Map<string, string[]>;
|
|
6
6
|
export declare const useFieldDescriptions: (fields: Map<string, Field>) => Map<string, string>;
|
|
7
7
|
export declare const useLookupDescriptions: (data: ListResponse<Lookup> | ErrorResponse | undefined) => Map<string, string>;
|
|
8
|
+
export declare const useChoiceColours: (data: DetailResponse<Choices> | ErrorResponse | undefined) => Map<string, string>;
|
|
8
9
|
export declare const useChoiceDescriptions: (data: DetailResponse<Choices> | ErrorResponse | undefined) => Map<string, string>;
|
|
9
10
|
export declare const useChoicesDescriptions: (fields: string[], data: (DetailResponse<Choices> | ErrorResponse)[]) => Map<string, Map<string, string>>;
|
|
10
11
|
export declare const useCount: (data: DetailResponse<Count> | ErrorResponse | undefined) => number;
|
|
12
|
+
export declare const useResults: (data: ListResponse<RecordType> | ErrorResponse | undefined) => InputRow[];
|