@leav/ui 1.6.0-22577b27 → 1.6.0-330dfdfa
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 +291 -27
- package/dist/_gqlTypes/index.js +172 -0
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/components/Explorer/Explorer.js +2 -2
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Filters/FiltersProvider.d.ts +2 -2
- package/dist/components/Filters/FiltersProvider.js.map +1 -1
- package/dist/components/Filters/_types.d.ts +1 -0
- package/dist/components/Filters/_types.js.map +1 -1
- package/dist/components/Filters/context/filtersReducer.js +4 -0
- package/dist/components/Filters/context/filtersReducer.js.map +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.d.ts +1 -0
- package/dist/components/Filters/filter-items/CommonFilterItem.js +19 -6
- package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
- package/dist/components/Filters/filter-items/EmptyValueCheckbox.js +4 -4
- package/dist/components/Filters/filter-items/EmptyValueCheckbox.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +2 -2
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Filters/index.d.ts +1 -0
- package/dist/components/Filters/index.js +1 -0
- package/dist/components/Filters/index.js.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/constants.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +2 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +8 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +3 -0
- package/dist/hooks/useIFrameMessenger/schema.js +1 -0
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/types.d.ts +12 -2
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +1 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +15 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +1 -0
- package/dist/locales/en/shared.json +3 -3
- package/dist/locales/fr/shared.json +3 -3
- package/package.json +5 -2
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -1207,6 +1207,10 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
1207
1207
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1208
1208
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
1209
1209
|
}
|
|
1210
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1211
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1212
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1213
|
+
}
|
|
1210
1214
|
export const GetApplicationByIdDocument = gql `
|
|
1211
1215
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1212
1216
|
applications(filters: {id: $id}) {
|
|
@@ -1240,6 +1244,10 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1240
1244
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1241
1245
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1242
1246
|
}
|
|
1247
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1248
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1249
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1250
|
+
}
|
|
1243
1251
|
export const GetApplicationModulesDocument = gql `
|
|
1244
1252
|
query GET_APPLICATION_MODULES {
|
|
1245
1253
|
applicationsModules {
|
|
@@ -1272,6 +1280,10 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1272
1280
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1273
1281
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1274
1282
|
}
|
|
1283
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1284
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1285
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1286
|
+
}
|
|
1275
1287
|
export const SaveApplicationDocument = gql `
|
|
1276
1288
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1277
1289
|
saveApplication(application: $application) {
|
|
@@ -1331,6 +1343,10 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1331
1343
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1332
1344
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1333
1345
|
}
|
|
1346
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1347
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1348
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1349
|
+
}
|
|
1334
1350
|
export const DeleteAttributeDocument = gql `
|
|
1335
1351
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1336
1352
|
deleteAttribute(id: $id) {
|
|
@@ -1392,6 +1408,10 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1392
1408
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1393
1409
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1394
1410
|
}
|
|
1411
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1412
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1413
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1414
|
+
}
|
|
1395
1415
|
export const GetAttributesByLibDocument = gql `
|
|
1396
1416
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1397
1417
|
attributes(filters: {libraries: [$library]}) {
|
|
@@ -1425,6 +1445,10 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1425
1445
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1426
1446
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1427
1447
|
}
|
|
1448
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1449
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1450
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1451
|
+
}
|
|
1428
1452
|
export const GetAttributesDocument = gql `
|
|
1429
1453
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1430
1454
|
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
@@ -1465,6 +1489,10 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1465
1489
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1466
1490
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1467
1491
|
}
|
|
1492
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1493
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1494
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1495
|
+
}
|
|
1468
1496
|
export const GetVersionProfilesDocument = gql `
|
|
1469
1497
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1470
1498
|
versionProfiles(filters: $filters, sort: $sort) {
|
|
@@ -1500,6 +1528,10 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1500
1528
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1501
1529
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1502
1530
|
}
|
|
1531
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1532
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1533
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1534
|
+
}
|
|
1503
1535
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1504
1536
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1505
1537
|
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
@@ -1543,6 +1575,10 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1543
1575
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1544
1576
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1545
1577
|
}
|
|
1578
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1579
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1580
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1581
|
+
}
|
|
1546
1582
|
export const SaveAttributeDocument = gql `
|
|
1547
1583
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1548
1584
|
saveAttribute(attribute: $attribute) {
|
|
@@ -1602,6 +1638,10 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1602
1638
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1603
1639
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1604
1640
|
}
|
|
1641
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1642
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1643
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1644
|
+
}
|
|
1605
1645
|
export const CreateDirectoryDocument = gql `
|
|
1606
1646
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1607
1647
|
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
@@ -1742,6 +1782,10 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1742
1782
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1743
1783
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1744
1784
|
}
|
|
1785
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1786
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1787
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1788
|
+
}
|
|
1745
1789
|
export const UploadUpdateDocument = gql `
|
|
1746
1790
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1747
1791
|
upload(filters: $filters) {
|
|
@@ -1872,6 +1916,10 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1872
1916
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1873
1917
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1874
1918
|
}
|
|
1919
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1920
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1921
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1922
|
+
}
|
|
1875
1923
|
export const DeleteLibraryDocument = gql `
|
|
1876
1924
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1877
1925
|
deleteLibrary(id: $id) {
|
|
@@ -1932,6 +1980,10 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1932
1980
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1933
1981
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1934
1982
|
}
|
|
1983
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1984
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1985
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1986
|
+
}
|
|
1935
1987
|
export const GetLibraryByIdDocument = gql `
|
|
1936
1988
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1937
1989
|
libraries(filters: {id: $id}) {
|
|
@@ -1965,6 +2017,10 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1965
2017
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1966
2018
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1967
2019
|
}
|
|
2020
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
2021
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2022
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
2023
|
+
}
|
|
1968
2024
|
export const GetLibraryPermissionsDocument = gql `
|
|
1969
2025
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1970
2026
|
libraries(filters: {id: $libraryId}) {
|
|
@@ -2004,6 +2060,10 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
2004
2060
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2005
2061
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
2006
2062
|
}
|
|
2063
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
2064
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2065
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
2066
|
+
}
|
|
2007
2067
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
2008
2068
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
2009
2069
|
libraries(filters: {id: [$id]}) {
|
|
@@ -2052,6 +2112,10 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
2052
2112
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2053
2113
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2054
2114
|
}
|
|
2115
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2116
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2117
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2118
|
+
}
|
|
2055
2119
|
export const SaveLibraryDocument = gql `
|
|
2056
2120
|
mutation saveLibrary($library: LibraryInput!) {
|
|
2057
2121
|
saveLibrary(library: $library) {
|
|
@@ -2115,6 +2179,10 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
2115
2179
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2116
2180
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
2117
2181
|
}
|
|
2182
|
+
export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
2183
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2184
|
+
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2185
|
+
}
|
|
2118
2186
|
export const ActivateNewRecordDocument = gql `
|
|
2119
2187
|
mutation activateNewRecord($libraryId: ID!, $recordId: ID!, $formId: String) {
|
|
2120
2188
|
activateNewRecord(library: $libraryId, recordId: $recordId, formId: $formId) {
|
|
@@ -2325,6 +2393,10 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2325
2393
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2326
2394
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2327
2395
|
}
|
|
2396
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2397
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2398
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2399
|
+
}
|
|
2328
2400
|
export const GetFileDataDocument = gql `
|
|
2329
2401
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2330
2402
|
records(
|
|
@@ -2405,6 +2477,10 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2405
2477
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2406
2478
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2407
2479
|
}
|
|
2480
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2481
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2482
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2483
|
+
}
|
|
2408
2484
|
export const RecordFormDocument = gql `
|
|
2409
2485
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2410
2486
|
recordForm(
|
|
@@ -2458,6 +2534,10 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2458
2534
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2459
2535
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2460
2536
|
}
|
|
2537
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2538
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2539
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2540
|
+
}
|
|
2461
2541
|
export const RecordUpdateDocument = gql `
|
|
2462
2542
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2463
2543
|
recordUpdate(filters: $filters) {
|
|
@@ -2537,6 +2617,10 @@ export function useGetRecordsFromLibraryLazyQuery(baseOptions) {
|
|
|
2537
2617
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2538
2618
|
return Apollo.useLazyQuery(GetRecordsFromLibraryDocument, options);
|
|
2539
2619
|
}
|
|
2620
|
+
export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
2621
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2622
|
+
return Apollo.useSuspenseQuery(GetRecordsFromLibraryDocument, options);
|
|
2623
|
+
}
|
|
2540
2624
|
export const IndexRecordsDocument = gql `
|
|
2541
2625
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2542
2626
|
indexRecords(libraryId: $libraryId, records: $records)
|
|
@@ -2650,6 +2734,10 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2650
2734
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2651
2735
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2652
2736
|
}
|
|
2737
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2738
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2739
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2740
|
+
}
|
|
2653
2741
|
export const DeleteTreeDocument = gql `
|
|
2654
2742
|
mutation DELETE_TREE($id: ID!) {
|
|
2655
2743
|
deleteTree(id: $id) {
|
|
@@ -2711,6 +2799,10 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2711
2799
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2712
2800
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2713
2801
|
}
|
|
2802
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2803
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2804
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2805
|
+
}
|
|
2714
2806
|
export const GetTreeLibrariesDocument = gql `
|
|
2715
2807
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2716
2808
|
trees(filters: {id: $treeId, library: $library}) {
|
|
@@ -2761,6 +2853,10 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2761
2853
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2762
2854
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2763
2855
|
}
|
|
2856
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2857
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2858
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2859
|
+
}
|
|
2764
2860
|
export const GetTreesDocument = gql `
|
|
2765
2861
|
query GET_TREES {
|
|
2766
2862
|
trees {
|
|
@@ -2793,6 +2889,10 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2793
2889
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2794
2890
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2795
2891
|
}
|
|
2892
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2893
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2894
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2895
|
+
}
|
|
2796
2896
|
export const SaveTreeDocument = gql `
|
|
2797
2897
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2798
2898
|
saveTree(tree: $tree) {
|
|
@@ -2865,6 +2965,10 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2865
2965
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2866
2966
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2867
2967
|
}
|
|
2968
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2969
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2970
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2971
|
+
}
|
|
2868
2972
|
export const GetUserDataDocument = gql `
|
|
2869
2973
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2870
2974
|
userData(keys: $keys, global: $global) {
|
|
@@ -2898,6 +3002,10 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2898
3002
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2899
3003
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2900
3004
|
}
|
|
3005
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
3006
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3007
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
3008
|
+
}
|
|
2901
3009
|
export const SaveUserDataDocument = gql `
|
|
2902
3010
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2903
3011
|
saveUserData(key: $key, value: $value, global: $global) {
|
|
@@ -3105,6 +3213,10 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
3105
3213
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3106
3214
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
3107
3215
|
}
|
|
3216
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3217
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3218
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3219
|
+
}
|
|
3108
3220
|
export const GetViewsListDocument = gql `
|
|
3109
3221
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
3110
3222
|
views(library: $libraryId) {
|
|
@@ -3139,6 +3251,10 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
3139
3251
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3140
3252
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
3141
3253
|
}
|
|
3254
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3255
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3256
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3257
|
+
}
|
|
3142
3258
|
export const SaveViewDocument = gql `
|
|
3143
3259
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
3144
3260
|
saveView(view: $view) {
|
|
@@ -3215,6 +3331,10 @@ export function useTreeFilterByDefaultValuesLazyQuery(baseOptions) {
|
|
|
3215
3331
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3216
3332
|
return Apollo.useLazyQuery(TreeFilterByDefaultValuesDocument, options);
|
|
3217
3333
|
}
|
|
3334
|
+
export function useTreeFilterByDefaultValuesSuspenseQuery(baseOptions) {
|
|
3335
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3336
|
+
return Apollo.useSuspenseQuery(TreeFilterByDefaultValuesDocument, options);
|
|
3337
|
+
}
|
|
3218
3338
|
export const GetAttributesByLibWithPermissionsDocument = gql `
|
|
3219
3339
|
query getAttributesByLibWithPermissions($library: String!) {
|
|
3220
3340
|
attributes(filters: {libraries: [$library]}) {
|
|
@@ -3248,6 +3368,10 @@ export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
|
3248
3368
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3249
3369
|
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3250
3370
|
}
|
|
3371
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3372
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3373
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3374
|
+
}
|
|
3251
3375
|
export const ExplorerAttributesDocument = gql `
|
|
3252
3376
|
query ExplorerAttributes($ids: [ID!]) {
|
|
3253
3377
|
attributes(filters: {ids: $ids}) {
|
|
@@ -3292,6 +3416,10 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
3292
3416
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3293
3417
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
3294
3418
|
}
|
|
3419
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3420
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3421
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3422
|
+
}
|
|
3295
3423
|
export const ExplorerLinkAttributeDocument = gql `
|
|
3296
3424
|
query ExplorerLinkAttribute($id: ID!) {
|
|
3297
3425
|
attributes(filters: {ids: [$id]}) {
|
|
@@ -3333,6 +3461,10 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
3333
3461
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3334
3462
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
3335
3463
|
}
|
|
3464
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3465
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3466
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3467
|
+
}
|
|
3336
3468
|
export const CountValuesOccurrencesDocument = gql `
|
|
3337
3469
|
query CountValuesOccurrences($library: ID!, $attribute: ID!, $recordFilters: [RecordFilterInput]) {
|
|
3338
3470
|
countValuesOccurrences(
|
|
@@ -3378,6 +3510,10 @@ export function useCountValuesOccurrencesLazyQuery(baseOptions) {
|
|
|
3378
3510
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3379
3511
|
return Apollo.useLazyQuery(CountValuesOccurrencesDocument, options);
|
|
3380
3512
|
}
|
|
3513
|
+
export function useCountValuesOccurrencesSuspenseQuery(baseOptions) {
|
|
3514
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3515
|
+
return Apollo.useSuspenseQuery(CountValuesOccurrencesDocument, options);
|
|
3516
|
+
}
|
|
3381
3517
|
export const ExplorerLibraryDataDocument = gql `
|
|
3382
3518
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
3383
3519
|
records(
|
|
@@ -3439,6 +3575,10 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
3439
3575
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3440
3576
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
3441
3577
|
}
|
|
3578
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3579
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3580
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3581
|
+
}
|
|
3442
3582
|
export const ExplorerLinkDataDocument = gql `
|
|
3443
3583
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
3444
3584
|
records(
|
|
@@ -3488,6 +3628,10 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
3488
3628
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3489
3629
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
3490
3630
|
}
|
|
3631
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3632
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3633
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3634
|
+
}
|
|
3491
3635
|
export const GetLibraryAttributesDocument = gql `
|
|
3492
3636
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3493
3637
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3524,6 +3668,10 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
3524
3668
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3525
3669
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
3526
3670
|
}
|
|
3671
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3672
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3673
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3674
|
+
}
|
|
3527
3675
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3528
3676
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3529
3677
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3562,6 +3710,10 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3562
3710
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3563
3711
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3564
3712
|
}
|
|
3713
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3714
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3715
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3716
|
+
}
|
|
3565
3717
|
export const LibraryExportProfilesDocument = gql `
|
|
3566
3718
|
query libraryExportProfiles($libraryId: [ID!]) {
|
|
3567
3719
|
libraries(filters: {id: $libraryId}) {
|
|
@@ -3608,6 +3760,10 @@ export function useLibraryExportProfilesLazyQuery(baseOptions) {
|
|
|
3608
3760
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3609
3761
|
return Apollo.useLazyQuery(LibraryExportProfilesDocument, options);
|
|
3610
3762
|
}
|
|
3763
|
+
export function useLibraryExportProfilesSuspenseQuery(baseOptions) {
|
|
3764
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3765
|
+
return Apollo.useSuspenseQuery(LibraryExportProfilesDocument, options);
|
|
3766
|
+
}
|
|
3611
3767
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3612
3768
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3613
3769
|
records(library: $libraryId, filters: $filters) {
|
|
@@ -3642,6 +3798,10 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3642
3798
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3643
3799
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3644
3800
|
}
|
|
3801
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3802
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3803
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3804
|
+
}
|
|
3645
3805
|
export const MeDocument = gql `
|
|
3646
3806
|
query Me {
|
|
3647
3807
|
me {
|
|
@@ -3678,6 +3838,10 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3678
3838
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3679
3839
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3680
3840
|
}
|
|
3841
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3842
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3843
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3844
|
+
}
|
|
3681
3845
|
export const UpdateViewDocument = gql `
|
|
3682
3846
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3683
3847
|
updateView(view: $view) {
|
|
@@ -3783,6 +3947,10 @@ export function useGetRecordHistoryLazyQuery(baseOptions) {
|
|
|
3783
3947
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3784
3948
|
return Apollo.useLazyQuery(GetRecordHistoryDocument, options);
|
|
3785
3949
|
}
|
|
3950
|
+
export function useGetRecordHistorySuspenseQuery(baseOptions) {
|
|
3951
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3952
|
+
return Apollo.useSuspenseQuery(GetRecordHistoryDocument, options);
|
|
3953
|
+
}
|
|
3786
3954
|
export const TreeDataQueryDocument = gql `
|
|
3787
3955
|
query TreeDataQuery($treeId: ID!) {
|
|
3788
3956
|
trees(filters: {id: [$treeId]}) {
|
|
@@ -3817,4 +3985,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3817
3985
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3818
3986
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3819
3987
|
}
|
|
3988
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3989
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3990
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3991
|
+
}
|
|
3820
3992
|
//# sourceMappingURL=index.js.map
|