@leav/ui 1.9.0-8d914a00 → 1.9.0-9cfff839
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/_gqlTypes/index.d.ts +0 -46
- package/dist/_gqlTypes/index.js +0 -36
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/components/Explorer/Explorer.js +11 -20
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.d.ts +3 -5
- package/dist/components/Explorer/actions-mass/useMassActions.js +12 -18
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
- package/dist/locales/en/shared.json +2 -2
- package/dist/locales/fr/shared.json +2 -2
- package/package.json +1 -1
- package/dist/components/Explorer/_queries/useExplorerCountData.d.ts +0 -9
- package/dist/components/Explorer/_queries/useExplorerCountData.js +0 -23
- package/dist/components/Explorer/_queries/useExplorerCountData.js.map +0 -1
- package/dist/components/Explorer/actions-mass/ResultsCount.d.ts +0 -10
- package/dist/components/Explorer/actions-mass/ResultsCount.js +0 -8
- package/dist/components/Explorer/actions-mass/ResultsCount.js.map +0 -1
|
@@ -7751,15 +7751,6 @@ export type CountValuesOccurrencesQuery = {
|
|
|
7751
7751
|
} | null;
|
|
7752
7752
|
}> | null;
|
|
7753
7753
|
};
|
|
7754
|
-
export type ExplorerLibraryCountDataQueryVariables = Exact<{
|
|
7755
|
-
libraryId: Scalars['ID']['input'];
|
|
7756
|
-
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
7757
|
-
}>;
|
|
7758
|
-
export type ExplorerLibraryCountDataQuery = {
|
|
7759
|
-
records: {
|
|
7760
|
-
totalCount?: number | null;
|
|
7761
|
-
};
|
|
7762
|
-
};
|
|
7763
7754
|
export type ExplorerLibraryDataQueryVariables = Exact<{
|
|
7764
7755
|
libraryId: Scalars['ID']['input'];
|
|
7765
7756
|
attributeIds: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
|
|
@@ -10199,43 +10190,6 @@ export type CountValuesOccurrencesQueryHookResult = ReturnType<typeof useCountVa
|
|
|
10199
10190
|
export type CountValuesOccurrencesLazyQueryHookResult = ReturnType<typeof useCountValuesOccurrencesLazyQuery>;
|
|
10200
10191
|
export type CountValuesOccurrencesSuspenseQueryHookResult = ReturnType<typeof useCountValuesOccurrencesSuspenseQuery>;
|
|
10201
10192
|
export type CountValuesOccurrencesQueryResult = Apollo.QueryResult<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables>;
|
|
10202
|
-
export declare const ExplorerLibraryCountDataDocument: Apollo.DocumentNode;
|
|
10203
|
-
/**
|
|
10204
|
-
* __useExplorerLibraryCountDataQuery__
|
|
10205
|
-
*
|
|
10206
|
-
* To run a query within a React component, call `useExplorerLibraryCountDataQuery` and pass it any options that fit your needs.
|
|
10207
|
-
* When your component renders, `useExplorerLibraryCountDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
10208
|
-
* you can use to render your UI.
|
|
10209
|
-
*
|
|
10210
|
-
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
10211
|
-
*
|
|
10212
|
-
* @example
|
|
10213
|
-
* const { data, loading, error } = useExplorerLibraryCountDataQuery({
|
|
10214
|
-
* variables: {
|
|
10215
|
-
* libraryId: // value for 'libraryId'
|
|
10216
|
-
* filters: // value for 'filters'
|
|
10217
|
-
* },
|
|
10218
|
-
* });
|
|
10219
|
-
*/
|
|
10220
|
-
export declare function useExplorerLibraryCountDataQuery(baseOptions: Apollo.QueryHookOptions<ExplorerLibraryCountDataQuery, ExplorerLibraryCountDataQueryVariables> & ({
|
|
10221
|
-
variables: ExplorerLibraryCountDataQueryVariables;
|
|
10222
|
-
skip?: boolean;
|
|
10223
|
-
} | {
|
|
10224
|
-
skip: boolean;
|
|
10225
|
-
})): Apollo.InteropQueryResult<ExplorerLibraryCountDataQuery, Exact<{
|
|
10226
|
-
libraryId: Scalars["ID"]["input"];
|
|
10227
|
-
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
10228
|
-
}>>;
|
|
10229
|
-
export declare function useExplorerLibraryCountDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ExplorerLibraryCountDataQuery, ExplorerLibraryCountDataQueryVariables>): Apollo.LazyQueryResultTuple<ExplorerLibraryCountDataQuery, Exact<{
|
|
10230
|
-
libraryId: Scalars["ID"]["input"];
|
|
10231
|
-
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
10232
|
-
}>>;
|
|
10233
|
-
export declare function useExplorerLibraryCountDataSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<ExplorerLibraryCountDataQuery, ExplorerLibraryCountDataQueryVariables>): Apollo.UseSuspenseQueryResult<ExplorerLibraryCountDataQuery, ExplorerLibraryCountDataQueryVariables>;
|
|
10234
|
-
export declare function useExplorerLibraryCountDataSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ExplorerLibraryCountDataQuery, ExplorerLibraryCountDataQueryVariables>): Apollo.UseSuspenseQueryResult<ExplorerLibraryCountDataQuery | undefined, ExplorerLibraryCountDataQueryVariables>;
|
|
10235
|
-
export type ExplorerLibraryCountDataQueryHookResult = ReturnType<typeof useExplorerLibraryCountDataQuery>;
|
|
10236
|
-
export type ExplorerLibraryCountDataLazyQueryHookResult = ReturnType<typeof useExplorerLibraryCountDataLazyQuery>;
|
|
10237
|
-
export type ExplorerLibraryCountDataSuspenseQueryHookResult = ReturnType<typeof useExplorerLibraryCountDataSuspenseQuery>;
|
|
10238
|
-
export type ExplorerLibraryCountDataQueryResult = Apollo.QueryResult<ExplorerLibraryCountDataQuery, ExplorerLibraryCountDataQueryVariables>;
|
|
10239
10193
|
export declare const ExplorerLibraryDataDocument: Apollo.DocumentNode;
|
|
10240
10194
|
/**
|
|
10241
10195
|
* __useExplorerLibraryDataQuery__
|
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -3624,42 +3624,6 @@ export function useCountValuesOccurrencesSuspenseQuery(baseOptions) {
|
|
|
3624
3624
|
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3625
3625
|
return Apollo.useSuspenseQuery(CountValuesOccurrencesDocument, options);
|
|
3626
3626
|
}
|
|
3627
|
-
export const ExplorerLibraryCountDataDocument = gql `
|
|
3628
|
-
query ExplorerLibraryCountData($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3629
|
-
records(library: $libraryId, filters: $filters) {
|
|
3630
|
-
totalCount
|
|
3631
|
-
}
|
|
3632
|
-
}
|
|
3633
|
-
`;
|
|
3634
|
-
/**
|
|
3635
|
-
* __useExplorerLibraryCountDataQuery__
|
|
3636
|
-
*
|
|
3637
|
-
* To run a query within a React component, call `useExplorerLibraryCountDataQuery` and pass it any options that fit your needs.
|
|
3638
|
-
* When your component renders, `useExplorerLibraryCountDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3639
|
-
* you can use to render your UI.
|
|
3640
|
-
*
|
|
3641
|
-
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3642
|
-
*
|
|
3643
|
-
* @example
|
|
3644
|
-
* const { data, loading, error } = useExplorerLibraryCountDataQuery({
|
|
3645
|
-
* variables: {
|
|
3646
|
-
* libraryId: // value for 'libraryId'
|
|
3647
|
-
* filters: // value for 'filters'
|
|
3648
|
-
* },
|
|
3649
|
-
* });
|
|
3650
|
-
*/
|
|
3651
|
-
export function useExplorerLibraryCountDataQuery(baseOptions) {
|
|
3652
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3653
|
-
return Apollo.useQuery(ExplorerLibraryCountDataDocument, options);
|
|
3654
|
-
}
|
|
3655
|
-
export function useExplorerLibraryCountDataLazyQuery(baseOptions) {
|
|
3656
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3657
|
-
return Apollo.useLazyQuery(ExplorerLibraryCountDataDocument, options);
|
|
3658
|
-
}
|
|
3659
|
-
export function useExplorerLibraryCountDataSuspenseQuery(baseOptions) {
|
|
3660
|
-
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3661
|
-
return Apollo.useSuspenseQuery(ExplorerLibraryCountDataDocument, options);
|
|
3662
|
-
}
|
|
3663
3627
|
export const ExplorerLibraryDataDocument = gql `
|
|
3664
3628
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
3665
3629
|
records(
|