@leav/ui 1.7.0-67b86ab9 → 1.7.0-7134799e

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.
Files changed (77) hide show
  1. package/dist/__mocks__/common/library.d.ts +1 -0
  2. package/dist/_gqlTypes/index.d.ts +170 -61
  3. package/dist/_gqlTypes/index.js +102 -57
  4. package/dist/_gqlTypes/index.js.map +1 -1
  5. package/dist/_queries/attributes/getAttributeWithEmbeddedFields.d.ts +1 -1
  6. package/dist/_queries/libraries/libraryDetailsFragment.js +1 -0
  7. package/dist/_queries/libraries/libraryDetailsFragment.js.map +1 -1
  8. package/dist/components/AttributePicker/AttributesList/AttributesList.js +3 -7
  9. package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
  10. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +3 -7
  11. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
  12. package/dist/components/Explorer/TableCell.js +9 -16
  13. package/dist/components/Explorer/TableCell.js.map +1 -1
  14. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js +2 -2
  15. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -1
  16. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +2 -2
  17. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
  18. package/dist/components/Filters/context/useGetTreeFilters.d.ts +8 -6
  19. package/dist/components/Filters/context/useGetTreeFilters.js +41 -18
  20. package/dist/components/Filters/context/useGetTreeFilters.js.map +1 -1
  21. package/dist/components/Filters/filter-items/CommonFilterItem.js +1 -1
  22. package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
  23. package/dist/components/Filters/filter-items/EmptyValueCheckbox.js +1 -1
  24. package/dist/components/Filters/filter-items/EmptyValueCheckbox.js.map +1 -1
  25. package/dist/components/Filters/filter-items/SelectAllCheckbox.d.ts +8 -0
  26. package/dist/components/Filters/filter-items/SelectAllCheckbox.js +22 -0
  27. package/dist/components/Filters/filter-items/SelectAllCheckbox.js.map +1 -0
  28. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +1 -1
  29. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
  30. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +2 -2
  31. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
  32. package/dist/components/Filters/filter-items/filter-type/{TreeAttributeDropDown.d.ts → tree/TreeAttributeDropDown.d.ts} +1 -1
  33. package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js +130 -0
  34. package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js.map +1 -0
  35. package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.d.ts +20 -0
  36. package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.js +72 -0
  37. package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.js.map +1 -0
  38. package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.d.ts +7 -0
  39. package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js +36 -0
  40. package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js.map +1 -0
  41. package/dist/components/Filters/filter-items/filter-type/tree/utils/buildFlattenTreeMap.d.ts +2 -0
  42. package/dist/components/Filters/filter-items/filter-type/tree/utils/buildFlattenTreeMap.js +14 -0
  43. package/dist/components/Filters/filter-items/filter-type/tree/utils/buildFlattenTreeMap.js.map +1 -0
  44. package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.d.ts +2 -0
  45. package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.js +15 -0
  46. package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.js.map +1 -0
  47. package/dist/components/Filters/filter-items/filter-type/tree/utils/getSelectAllState.d.ts +5 -0
  48. package/dist/components/Filters/filter-items/filter-type/tree/utils/getSelectAllState.js +17 -0
  49. package/dist/components/Filters/filter-items/filter-type/tree/utils/getSelectAllState.js.map +1 -0
  50. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.d.ts +1 -1
  51. package/dist/components/Notifications/hooks/useNotificationSubscription.js +4 -4
  52. package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -1
  53. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +2 -0
  54. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  55. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -1
  56. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  57. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -0
  58. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  59. package/dist/components/RecordHistory/RecordHistoryLogEntry.js +10 -2
  60. package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
  61. package/dist/components/RecordHistory/_queries/recordHistoryQuery.d.ts +7 -0
  62. package/dist/components/RecordHistory/_queries/recordHistoryQuery.js +64 -0
  63. package/dist/components/RecordHistory/_queries/recordHistoryQuery.js.map +1 -0
  64. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +5 -2
  65. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
  66. package/dist/components/RecordHistory/utils/extendedAttribute.d.ts +13 -0
  67. package/dist/components/RecordHistory/utils/extendedAttribute.js +40 -0
  68. package/dist/components/RecordHistory/utils/extendedAttribute.js.map +1 -0
  69. package/dist/components/SelectTreeNode/TreeNodeTitle.js +2 -2
  70. package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
  71. package/dist/locales/en/shared.json +6 -2
  72. package/dist/locales/fr/shared.json +6 -2
  73. package/dist/types/records.d.ts +1 -0
  74. package/dist/types/records.js.map +1 -1
  75. package/package.json +6 -6
  76. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +0 -71
  77. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +0 -1
@@ -92,6 +92,7 @@ export declare const mockLibraryWithPreviewsSettings: {
92
92
  color?: string | null;
93
93
  preview?: string | null;
94
94
  treeColorPreview?: string | null;
95
+ parentContext?: string | null;
95
96
  } | null;
96
97
  permissions?: {
97
98
  admin_library: boolean;
@@ -204,6 +204,8 @@ export type AttributeInput = {
204
204
  required?: InputMaybe<Scalars['Boolean']['input']>;
205
205
  reverse_link?: InputMaybe<Scalars['String']['input']>;
206
206
  settings?: InputMaybe<Scalars['JSONObject']['input']>;
207
+ /** only for link attribute */
208
+ smart_filter?: InputMaybe<SmartFilterConfInput>;
207
209
  type?: InputMaybe<AttributeType>;
208
210
  unique?: InputMaybe<Scalars['Boolean']['input']>;
209
211
  values_list?: InputMaybe<ValuesListConfInput>;
@@ -354,6 +356,16 @@ export declare enum FormsSortableFields {
354
356
  library = "library",
355
357
  system = "system"
356
358
  }
359
+ export declare enum GenerationStatus {
360
+ DONE = "DONE",
361
+ GENERATION_FAILED = "GENERATION_FAILED",
362
+ GENERATION_IN_PROGRESS = "GENERATION_IN_PROGRESS",
363
+ GENERATION_IN_PROGRESS_WITH_FAILURE = "GENERATION_IN_PROGRESS_WITH_FAILURE",
364
+ PREPARATION_FAILED = "PREPARATION_FAILED",
365
+ PREPARATION_IN_PROGRESS = "PREPARATION_IN_PROGRESS",
366
+ TRANSMISSION_FAILED = "TRANSMISSION_FAILED",
367
+ TRANSMISSION_IN_PROGRESS = "TRANSMISSION_IN_PROGRESS"
368
+ }
357
369
  export type GlobalSettingsFileInput = {
358
370
  library: Scalars['String']['input'];
359
371
  recordId: Scalars['String']['input'];
@@ -441,6 +453,9 @@ export declare enum LogAction {
441
453
  PERMISSION_SAVE = "PERMISSION_SAVE",
442
454
  RECORD_DELETE = "RECORD_DELETE",
443
455
  RECORD_SAVE = "RECORD_SAVE",
456
+ SDO_LOG_ERROR = "SDO_LOG_ERROR",
457
+ SDO_LOG_EXPORT_RECORD = "SDO_LOG_EXPORT_RECORD",
458
+ SDO_LOG_IMPORT_RECORD = "SDO_LOG_IMPORT_RECORD",
444
459
  TASKS_DELETE = "TASKS_DELETE",
445
460
  TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
446
461
  TREE_DELETE = "TREE_DELETE",
@@ -585,6 +600,7 @@ export declare enum PermissionsActions {
585
600
  admin_edit_version_profile = "admin_edit_version_profile",
586
601
  admin_import_config_clear_database = "admin_import_config_clear_database",
587
602
  admin_library = "admin_library",
603
+ admin_list_plugins = "admin_list_plugins",
588
604
  admin_manage_global_preferences = "admin_manage_global_preferences",
589
605
  create_record = "create_record",
590
606
  delete_record = "delete_record",
@@ -662,6 +678,7 @@ export declare enum RecordFilterOperator {
662
678
  export type RecordIdentityConfInput = {
663
679
  color?: InputMaybe<Scalars['ID']['input']>;
664
680
  label?: InputMaybe<Scalars['ID']['input']>;
681
+ parentContext?: InputMaybe<Scalars['ID']['input']>;
665
682
  preview?: InputMaybe<Scalars['ID']['input']>;
666
683
  subLabel?: InputMaybe<Scalars['ID']['input']>;
667
684
  treeColorPreview?: InputMaybe<Scalars['ID']['input']>;
@@ -701,6 +718,9 @@ export type SheetInput = {
701
718
  treeLinkLibrary?: InputMaybe<Scalars['String']['input']>;
702
719
  type: ImportType;
703
720
  };
721
+ export type SmartFilterConfInput = {
722
+ enable: Scalars['Boolean']['input'];
723
+ };
704
724
  export type SortApiKeysInput = {
705
725
  field: ApiKeysSortableFields;
706
726
  order?: InputMaybe<SortOrder>;
@@ -1202,6 +1222,7 @@ export type LibraryDetailsFragment = {
1202
1222
  color?: string | null;
1203
1223
  preview?: string | null;
1204
1224
  treeColorPreview?: string | null;
1225
+ parentContext?: string | null;
1205
1226
  } | null;
1206
1227
  permissions?: {
1207
1228
  admin_library: boolean;
@@ -3620,6 +3641,16 @@ export type RecordHistoryLogEntryFragment = {
3620
3641
  type: AttributeType;
3621
3642
  format?: AttributeFormat | null;
3622
3643
  multiple_values: boolean;
3644
+ } | {
3645
+ id: string;
3646
+ label?: any | null;
3647
+ type: AttributeType;
3648
+ format?: AttributeFormat | null;
3649
+ multiple_values: boolean;
3650
+ embedded_fields?: Array<{
3651
+ id: string;
3652
+ label?: any | null;
3653
+ } | null> | null;
3623
3654
  } | null;
3624
3655
  } | null;
3625
3656
  user: {
@@ -3644,13 +3675,25 @@ export type RecordHistoryLogEntryFragment = {
3644
3675
  asString?: string | null;
3645
3676
  } | null;
3646
3677
  };
3647
- export type RecordHistoryLogAttributeFragment = {
3678
+ export type RecordHistoryLogAttributeLinkAttributeTreeAttributeFragment = {
3648
3679
  id: string;
3649
3680
  label?: any | null;
3650
3681
  type: AttributeType;
3651
3682
  format?: AttributeFormat | null;
3652
3683
  multiple_values: boolean;
3653
3684
  };
3685
+ export type RecordHistoryLogAttributeStandardAttributeFragment = {
3686
+ id: string;
3687
+ label?: any | null;
3688
+ type: AttributeType;
3689
+ format?: AttributeFormat | null;
3690
+ multiple_values: boolean;
3691
+ embedded_fields?: Array<{
3692
+ id: string;
3693
+ label?: any | null;
3694
+ } | null> | null;
3695
+ };
3696
+ export type RecordHistoryLogAttributeFragment = RecordHistoryLogAttributeLinkAttributeTreeAttributeFragment | RecordHistoryLogAttributeStandardAttributeFragment;
3654
3697
  export type CheckApplicationExistenceQueryVariables = Exact<{
3655
3698
  id?: InputMaybe<Scalars['ID']['input']>;
3656
3699
  endpoint?: InputMaybe<Scalars['String']['input']>;
@@ -4358,6 +4401,7 @@ export type GetLibraryByIdQuery = {
4358
4401
  color?: string | null;
4359
4402
  preview?: string | null;
4360
4403
  treeColorPreview?: string | null;
4404
+ parentContext?: string | null;
4361
4405
  } | null;
4362
4406
  permissions?: {
4363
4407
  admin_library: boolean;
@@ -4496,6 +4540,7 @@ export type SaveLibraryMutation = {
4496
4540
  color?: string | null;
4497
4541
  preview?: string | null;
4498
4542
  treeColorPreview?: string | null;
4543
+ parentContext?: string | null;
4499
4544
  } | null;
4500
4545
  permissions?: {
4501
4546
  admin_library: boolean;
@@ -6309,6 +6354,68 @@ export type TreeNodeChildrenQuery = {
6309
6354
  }>;
6310
6355
  };
6311
6356
  };
6357
+ export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables = Exact<{
6358
+ treeId: Scalars['ID']['input'];
6359
+ node?: InputMaybe<Scalars['ID']['input']>;
6360
+ pagination?: InputMaybe<Pagination>;
6361
+ childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
6362
+ dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
6363
+ accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
6364
+ }>;
6365
+ export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery = {
6366
+ treeNodeChildren: {
6367
+ totalCount?: number | null;
6368
+ list: Array<{
6369
+ id: string;
6370
+ order?: number | null;
6371
+ childrenCount?: number | null;
6372
+ accessRecordByDefaultPermission?: boolean | null;
6373
+ record: {
6374
+ id: string;
6375
+ active: Array<{
6376
+ value?: any | null;
6377
+ }>;
6378
+ whoAmI: {
6379
+ id: string;
6380
+ label?: string | null;
6381
+ subLabel?: string | null;
6382
+ color?: string | null;
6383
+ preview?: IPreviewScalar | null;
6384
+ library: {
6385
+ id: string;
6386
+ label?: any | null;
6387
+ };
6388
+ };
6389
+ };
6390
+ ancestors?: Array<{
6391
+ id: string;
6392
+ record: {
6393
+ id: string;
6394
+ library: {
6395
+ id: string;
6396
+ label?: any | null;
6397
+ };
6398
+ whoAmI: {
6399
+ id: string;
6400
+ label?: string | null;
6401
+ subLabel?: string | null;
6402
+ color?: string | null;
6403
+ preview?: IPreviewScalar | null;
6404
+ library: {
6405
+ id: string;
6406
+ label?: any | null;
6407
+ };
6408
+ };
6409
+ };
6410
+ }> | null;
6411
+ permissions: {
6412
+ access_tree: boolean;
6413
+ detach: boolean;
6414
+ edit_children: boolean;
6415
+ };
6416
+ }>;
6417
+ };
6418
+ };
6312
6419
  export type GetUserDataQueryVariables = Exact<{
6313
6420
  keys: Array<Scalars['String']['input']> | Scalars['String']['input'];
6314
6421
  global?: InputMaybe<Scalars['Boolean']['input']>;
@@ -7332,28 +7439,6 @@ export type SaveViewMutation = {
7332
7439
  }> | null;
7333
7440
  };
7334
7441
  };
7335
- export type TreeFilterByDefaultValuesQueryVariables = Exact<{
7336
- treeId: Scalars['ID']['input'];
7337
- accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
7338
- }>;
7339
- export type TreeFilterByDefaultValuesQuery = {
7340
- treeNodeChildren: {
7341
- list: Array<{
7342
- accessRecordByDefaultPermission?: boolean | null;
7343
- id: string;
7344
- record: {
7345
- id: string;
7346
- whoAmI: {
7347
- id: string;
7348
- label?: string | null;
7349
- library: {
7350
- id: string;
7351
- };
7352
- };
7353
- };
7354
- }>;
7355
- };
7356
- };
7357
7442
  export type AttributeWithValuesForMassEditionQueryVariables = Exact<{
7358
7443
  attributeId: Scalars['ID']['input'];
7359
7444
  }>;
@@ -7958,10 +8043,12 @@ export type NotificationSubscriptionVariables = Exact<{
7958
8043
  }>;
7959
8044
  export type NotificationSubscription = {
7960
8045
  notification: {
8046
+ id: string;
8047
+ date: number;
7961
8048
  level: NotificationLevel;
7962
8049
  message: string;
7963
8050
  title: string;
7964
- date: number;
8051
+ displayDuration?: number | null;
7965
8052
  attachments?: Array<{
7966
8053
  label: string;
7967
8054
  url: string;
@@ -7991,6 +8078,16 @@ export type GetRecordHistoryQuery = {
7991
8078
  type: AttributeType;
7992
8079
  format?: AttributeFormat | null;
7993
8080
  multiple_values: boolean;
8081
+ } | {
8082
+ id: string;
8083
+ label?: any | null;
8084
+ type: AttributeType;
8085
+ format?: AttributeFormat | null;
8086
+ multiple_values: boolean;
8087
+ embedded_fields?: Array<{
8088
+ id: string;
8089
+ label?: any | null;
8090
+ } | null> | null;
7994
8091
  } | null;
7995
8092
  } | null;
7996
8093
  user: {
@@ -9508,6 +9605,55 @@ export type TreeNodeChildrenQueryHookResult = ReturnType<typeof useTreeNodeChild
9508
9605
  export type TreeNodeChildrenLazyQueryHookResult = ReturnType<typeof useTreeNodeChildrenLazyQuery>;
9509
9606
  export type TreeNodeChildrenSuspenseQueryHookResult = ReturnType<typeof useTreeNodeChildrenSuspenseQuery>;
9510
9607
  export type TreeNodeChildrenQueryResult = Apollo.QueryResult<TreeNodeChildrenQuery, TreeNodeChildrenQueryVariables>;
9608
+ export declare const GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument: Apollo.DocumentNode;
9609
+ /**
9610
+ * __useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery__
9611
+ *
9612
+ * To run a query within a React component, call `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` and pass it any options that fit your needs.
9613
+ * When your component renders, `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
9614
+ * you can use to render your UI.
9615
+ *
9616
+ * @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;
9617
+ *
9618
+ * @example
9619
+ * const { data, loading, error } = useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery({
9620
+ * variables: {
9621
+ * treeId: // value for 'treeId'
9622
+ * node: // value for 'node'
9623
+ * pagination: // value for 'pagination'
9624
+ * childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
9625
+ * dependentValuesPermissionFilter: // value for 'dependentValuesPermissionFilter'
9626
+ * accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
9627
+ * },
9628
+ * });
9629
+ */
9630
+ export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery(baseOptions: Apollo.QueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables> & ({
9631
+ variables: GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables;
9632
+ skip?: boolean;
9633
+ } | {
9634
+ skip: boolean;
9635
+ })): Apollo.QueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, Exact<{
9636
+ treeId: Scalars["ID"]["input"];
9637
+ node?: InputMaybe<Scalars["ID"]["input"]>;
9638
+ pagination?: InputMaybe<Pagination>;
9639
+ childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
9640
+ dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
9641
+ accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
9642
+ }>>;
9643
+ export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>): Apollo.LazyQueryResultTuple<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, Exact<{
9644
+ treeId: Scalars["ID"]["input"];
9645
+ node?: InputMaybe<Scalars["ID"]["input"]>;
9646
+ pagination?: InputMaybe<Pagination>;
9647
+ childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
9648
+ dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
9649
+ accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
9650
+ }>>;
9651
+ export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>): Apollo.UseSuspenseQueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>;
9652
+ export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>): Apollo.UseSuspenseQueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery | undefined, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>;
9653
+ export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryHookResult = ReturnType<typeof useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery>;
9654
+ export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQueryHookResult = ReturnType<typeof useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQuery>;
9655
+ export type GetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQueryHookResult = ReturnType<typeof useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery>;
9656
+ export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryResult = Apollo.QueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>;
9511
9657
  export declare const GetUserDataDocument: Apollo.DocumentNode;
9512
9658
  /**
9513
9659
  * __useGetUserDataQuery__
@@ -9787,43 +9933,6 @@ export declare function useSaveViewMutation(baseOptions?: Apollo.MutationHookOpt
9787
9933
  export type SaveViewMutationHookResult = ReturnType<typeof useSaveViewMutation>;
9788
9934
  export type SaveViewMutationResult = Apollo.MutationResult<SaveViewMutation>;
9789
9935
  export type SaveViewMutationOptions = Apollo.BaseMutationOptions<SaveViewMutation, SaveViewMutationVariables>;
9790
- export declare const TreeFilterByDefaultValuesDocument: Apollo.DocumentNode;
9791
- /**
9792
- * __useTreeFilterByDefaultValuesQuery__
9793
- *
9794
- * To run a query within a React component, call `useTreeFilterByDefaultValuesQuery` and pass it any options that fit your needs.
9795
- * When your component renders, `useTreeFilterByDefaultValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
9796
- * you can use to render your UI.
9797
- *
9798
- * @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;
9799
- *
9800
- * @example
9801
- * const { data, loading, error } = useTreeFilterByDefaultValuesQuery({
9802
- * variables: {
9803
- * treeId: // value for 'treeId'
9804
- * accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
9805
- * },
9806
- * });
9807
- */
9808
- export declare function useTreeFilterByDefaultValuesQuery(baseOptions: Apollo.QueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables> & ({
9809
- variables: TreeFilterByDefaultValuesQueryVariables;
9810
- skip?: boolean;
9811
- } | {
9812
- skip: boolean;
9813
- })): Apollo.QueryResult<TreeFilterByDefaultValuesQuery, Exact<{
9814
- treeId: Scalars["ID"]["input"];
9815
- accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
9816
- }>>;
9817
- export declare function useTreeFilterByDefaultValuesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>): Apollo.LazyQueryResultTuple<TreeFilterByDefaultValuesQuery, Exact<{
9818
- treeId: Scalars["ID"]["input"];
9819
- accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
9820
- }>>;
9821
- export declare function useTreeFilterByDefaultValuesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>): Apollo.UseSuspenseQueryResult<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>;
9822
- export declare function useTreeFilterByDefaultValuesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>): Apollo.UseSuspenseQueryResult<TreeFilterByDefaultValuesQuery | undefined, TreeFilterByDefaultValuesQueryVariables>;
9823
- export type TreeFilterByDefaultValuesQueryHookResult = ReturnType<typeof useTreeFilterByDefaultValuesQuery>;
9824
- export type TreeFilterByDefaultValuesLazyQueryHookResult = ReturnType<typeof useTreeFilterByDefaultValuesLazyQuery>;
9825
- export type TreeFilterByDefaultValuesSuspenseQueryHookResult = ReturnType<typeof useTreeFilterByDefaultValuesSuspenseQuery>;
9826
- export type TreeFilterByDefaultValuesQueryResult = Apollo.QueryResult<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>;
9827
9936
  export declare const AttributeWithValuesForMassEditionDocument: Apollo.DocumentNode;
9828
9937
  /**
9829
9938
  * __useAttributeWithValuesForMassEditionQuery__
@@ -88,6 +88,17 @@ export var FormsSortableFields;
88
88
  FormsSortableFields["library"] = "library";
89
89
  FormsSortableFields["system"] = "system";
90
90
  })(FormsSortableFields || (FormsSortableFields = {}));
91
+ export var GenerationStatus;
92
+ (function (GenerationStatus) {
93
+ GenerationStatus["DONE"] = "DONE";
94
+ GenerationStatus["GENERATION_FAILED"] = "GENERATION_FAILED";
95
+ GenerationStatus["GENERATION_IN_PROGRESS"] = "GENERATION_IN_PROGRESS";
96
+ GenerationStatus["GENERATION_IN_PROGRESS_WITH_FAILURE"] = "GENERATION_IN_PROGRESS_WITH_FAILURE";
97
+ GenerationStatus["PREPARATION_FAILED"] = "PREPARATION_FAILED";
98
+ GenerationStatus["PREPARATION_IN_PROGRESS"] = "PREPARATION_IN_PROGRESS";
99
+ GenerationStatus["TRANSMISSION_FAILED"] = "TRANSMISSION_FAILED";
100
+ GenerationStatus["TRANSMISSION_IN_PROGRESS"] = "TRANSMISSION_IN_PROGRESS";
101
+ })(GenerationStatus || (GenerationStatus = {}));
91
102
  export var IoTypes;
92
103
  (function (IoTypes) {
93
104
  IoTypes["boolean"] = "boolean";
@@ -141,6 +152,9 @@ export var LogAction;
141
152
  LogAction["PERMISSION_SAVE"] = "PERMISSION_SAVE";
142
153
  LogAction["RECORD_DELETE"] = "RECORD_DELETE";
143
154
  LogAction["RECORD_SAVE"] = "RECORD_SAVE";
155
+ LogAction["SDO_LOG_ERROR"] = "SDO_LOG_ERROR";
156
+ LogAction["SDO_LOG_EXPORT_RECORD"] = "SDO_LOG_EXPORT_RECORD";
157
+ LogAction["SDO_LOG_IMPORT_RECORD"] = "SDO_LOG_IMPORT_RECORD";
144
158
  LogAction["TASKS_DELETE"] = "TASKS_DELETE";
145
159
  LogAction["TREE_ADD_ELEMENT"] = "TREE_ADD_ELEMENT";
146
160
  LogAction["TREE_DELETE"] = "TREE_DELETE";
@@ -229,6 +243,7 @@ export var PermissionsActions;
229
243
  PermissionsActions["admin_edit_version_profile"] = "admin_edit_version_profile";
230
244
  PermissionsActions["admin_import_config_clear_database"] = "admin_import_config_clear_database";
231
245
  PermissionsActions["admin_library"] = "admin_library";
246
+ PermissionsActions["admin_list_plugins"] = "admin_list_plugins";
232
247
  PermissionsActions["admin_manage_global_preferences"] = "admin_manage_global_preferences";
233
248
  PermissionsActions["create_record"] = "create_record";
234
249
  PermissionsActions["delete_record"] = "delete_record";
@@ -576,6 +591,7 @@ export const LibraryDetailsFragmentDoc = gql `
576
591
  color
577
592
  preview
578
593
  treeColorPreview
594
+ parentContext
579
595
  }
580
596
  permissions {
581
597
  admin_library
@@ -1171,6 +1187,12 @@ export const RecordHistoryLogAttributeFragmentDoc = gql `
1171
1187
  type
1172
1188
  format
1173
1189
  multiple_values
1190
+ ... on StandardAttribute {
1191
+ embedded_fields {
1192
+ id
1193
+ label
1194
+ }
1195
+ }
1174
1196
  }
1175
1197
  `;
1176
1198
  export const RecordHistoryLogEntryFragmentDoc = gql `
@@ -3001,6 +3023,83 @@ export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
3001
3023
  const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
3002
3024
  return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
3003
3025
  }
3026
+ export const GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument = gql `
3027
+ query GetTreeNodeChildrenWithAccessByDefaultPermissionQuery($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput, $dependentValuesPermissionFilter: DependentValuesPermissionFilterInput, $accessRecordByDefaultPermission: AccessRecordByDefaultPermissionInput) {
3028
+ treeNodeChildren(
3029
+ treeId: $treeId
3030
+ node: $node
3031
+ pagination: $pagination
3032
+ childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
3033
+ dependentValuesPermissionFilter: $dependentValuesPermissionFilter
3034
+ accessRecordByDefaultPermission: $accessRecordByDefaultPermission
3035
+ ) {
3036
+ totalCount
3037
+ list {
3038
+ id
3039
+ order
3040
+ childrenCount
3041
+ record {
3042
+ ...RecordIdentity
3043
+ active: property(attribute: "active") {
3044
+ ... on Value {
3045
+ value
3046
+ }
3047
+ }
3048
+ }
3049
+ ancestors {
3050
+ id
3051
+ record {
3052
+ id
3053
+ library {
3054
+ id
3055
+ label
3056
+ }
3057
+ ...RecordIdentity
3058
+ }
3059
+ }
3060
+ permissions {
3061
+ access_tree
3062
+ detach
3063
+ edit_children
3064
+ }
3065
+ accessRecordByDefaultPermission
3066
+ }
3067
+ }
3068
+ }
3069
+ ${RecordIdentityFragmentDoc}`;
3070
+ /**
3071
+ * __useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery__
3072
+ *
3073
+ * To run a query within a React component, call `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` and pass it any options that fit your needs.
3074
+ * When your component renders, `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
3075
+ * you can use to render your UI.
3076
+ *
3077
+ * @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;
3078
+ *
3079
+ * @example
3080
+ * const { data, loading, error } = useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery({
3081
+ * variables: {
3082
+ * treeId: // value for 'treeId'
3083
+ * node: // value for 'node'
3084
+ * pagination: // value for 'pagination'
3085
+ * childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
3086
+ * dependentValuesPermissionFilter: // value for 'dependentValuesPermissionFilter'
3087
+ * accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
3088
+ * },
3089
+ * });
3090
+ */
3091
+ export function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery(baseOptions) {
3092
+ const options = { ...defaultOptions, ...baseOptions };
3093
+ return Apollo.useQuery(GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument, options);
3094
+ }
3095
+ export function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQuery(baseOptions) {
3096
+ const options = { ...defaultOptions, ...baseOptions };
3097
+ return Apollo.useLazyQuery(GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument, options);
3098
+ }
3099
+ export function useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery(baseOptions) {
3100
+ const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
3101
+ return Apollo.useSuspenseQuery(GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument, options);
3102
+ }
3004
3103
  export const GetUserDataDocument = gql `
3005
3104
  query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
3006
3105
  userData(keys: $keys, global: $global) {
@@ -3315,58 +3414,6 @@ export function useSaveViewMutation(baseOptions) {
3315
3414
  const options = { ...defaultOptions, ...baseOptions };
3316
3415
  return Apollo.useMutation(SaveViewDocument, options);
3317
3416
  }
3318
- export const TreeFilterByDefaultValuesDocument = gql `
3319
- query TreeFilterByDefaultValues($treeId: ID!, $accessRecordByDefaultPermission: AccessRecordByDefaultPermissionInput) {
3320
- treeNodeChildren(
3321
- treeId: $treeId
3322
- accessRecordByDefaultPermission: $accessRecordByDefaultPermission
3323
- ) {
3324
- list {
3325
- accessRecordByDefaultPermission
3326
- id
3327
- record {
3328
- id
3329
- whoAmI {
3330
- label
3331
- id
3332
- library {
3333
- id
3334
- }
3335
- }
3336
- }
3337
- }
3338
- }
3339
- }
3340
- `;
3341
- /**
3342
- * __useTreeFilterByDefaultValuesQuery__
3343
- *
3344
- * To run a query within a React component, call `useTreeFilterByDefaultValuesQuery` and pass it any options that fit your needs.
3345
- * When your component renders, `useTreeFilterByDefaultValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
3346
- * you can use to render your UI.
3347
- *
3348
- * @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;
3349
- *
3350
- * @example
3351
- * const { data, loading, error } = useTreeFilterByDefaultValuesQuery({
3352
- * variables: {
3353
- * treeId: // value for 'treeId'
3354
- * accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
3355
- * },
3356
- * });
3357
- */
3358
- export function useTreeFilterByDefaultValuesQuery(baseOptions) {
3359
- const options = { ...defaultOptions, ...baseOptions };
3360
- return Apollo.useQuery(TreeFilterByDefaultValuesDocument, options);
3361
- }
3362
- export function useTreeFilterByDefaultValuesLazyQuery(baseOptions) {
3363
- const options = { ...defaultOptions, ...baseOptions };
3364
- return Apollo.useLazyQuery(TreeFilterByDefaultValuesDocument, options);
3365
- }
3366
- export function useTreeFilterByDefaultValuesSuspenseQuery(baseOptions) {
3367
- const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
3368
- return Apollo.useSuspenseQuery(TreeFilterByDefaultValuesDocument, options);
3369
- }
3370
3417
  export const AttributeWithValuesForMassEditionDocument = gql `
3371
3418
  query AttributeWithValuesForMassEdition($attributeId: ID!) {
3372
3419
  attributes(filters: {id: $attributeId}) {
@@ -3942,18 +3989,16 @@ export function useUpdateViewMutation(baseOptions) {
3942
3989
  export const NotificationDocument = gql `
3943
3990
  subscription Notification {
3944
3991
  notification {
3992
+ id
3993
+ date
3945
3994
  level
3946
3995
  message
3947
3996
  title
3948
- date
3997
+ displayDuration
3949
3998
  attachments {
3950
3999
  label
3951
4000
  url
3952
4001
  }
3953
- relatedEntities {
3954
- label
3955
- url
3956
- }
3957
4002
  }
3958
4003
  }
3959
4004
  `;