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