@leav/ui 0.4.0-9d2fc695 → 0.4.0-a04a265e

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/_gqlTypes/index.d.ts +229 -28
  2. package/dist/_gqlTypes/index.js +121 -18
  3. package/dist/_gqlTypes/index.js.map +1 -1
  4. package/dist/components/Explorer/Explorer.js +4 -1
  5. package/dist/components/Explorer/Explorer.js.map +1 -1
  6. package/dist/components/Explorer/ExplorerToolbar.js +11 -2
  7. package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
  8. package/dist/components/Explorer/_queries/prepareFiltersForRequest.js +23 -6
  9. package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -1
  10. package/dist/components/Explorer/_queries/useExplorerData.js +1 -0
  11. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  12. package/dist/components/Explorer/_types.d.ts +50 -6
  13. package/dist/components/Explorer/_types.js +4 -0
  14. package/dist/components/Explorer/_types.js.map +1 -1
  15. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +5 -2
  16. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  17. package/dist/components/Explorer/link-item/LinkModal.js +34 -4
  18. package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
  19. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +3 -3
  20. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
  21. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.d.ts +9 -3
  22. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +60 -15
  23. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
  24. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +12 -2
  25. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  26. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js +5 -1
  27. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
  28. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.d.ts +9 -0
  29. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js +131 -0
  30. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js.map +1 -0
  31. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +1 -0
  32. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +13 -1
  33. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
  34. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +13 -3
  35. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
  36. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +25 -8
  37. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  38. package/dist/components/Explorer/useSearchInput.js +1 -0
  39. package/dist/components/Explorer/useSearchInput.js.map +1 -1
  40. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  41. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +1 -12
  42. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
  43. package/dist/components/RecordEdition/EditRecord/EditRecord.js +24 -53
  44. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  45. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +1 -1
  46. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +13 -13
  47. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  48. package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +4 -11
  49. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  50. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.d.ts +2 -1
  51. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +6 -9
  52. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
  53. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +20 -12
  54. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  55. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +4 -4
  56. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
  57. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +23 -3
  58. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  59. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +23 -3
  60. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  61. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +2 -5
  62. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +1 -1
  63. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
  64. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +33 -25
  65. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  66. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -1
  67. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +2 -2
  68. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  69. package/dist/locales/en/shared.json +2 -1
  70. package/dist/locales/fr/shared.json +1 -0
  71. package/package.json +3 -3
  72. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.d.ts +0 -10
  73. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js +0 -75
  74. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +0 -1
  75. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.d.ts +0 -4
  76. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js +0 -23
  77. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js.map +0 -1
@@ -183,15 +183,6 @@ export declare enum AvailableLanguage {
183
183
  en = "en",
184
184
  fr = "fr"
185
185
  }
186
- export type CampaignToRenew = {
187
- category: Scalars['String'];
188
- endDate: Scalars['String'];
189
- id: Scalars['String'];
190
- label: Scalars['String'];
191
- startDate: Scalars['String'];
192
- thematics: Array<InputMaybe<Scalars['String']>>;
193
- type: Scalars['String'];
194
- };
195
186
  export type ChildrenAsRecordValuePermissionFilterInput = {
196
187
  action: RecordPermissionsActions;
197
188
  attributeId: Scalars['ID'];
@@ -273,16 +264,6 @@ export declare enum FormsSortableFields {
273
264
  library = "library",
274
265
  system = "system"
275
266
  }
276
- export declare enum GenerationStatus {
277
- DONE = "DONE",
278
- GENERATION_FAILED = "GENERATION_FAILED",
279
- GENERATION_IN_PROGRESS = "GENERATION_IN_PROGRESS",
280
- GENERATION_IN_PROGRESS_WITH_FAILURE = "GENERATION_IN_PROGRESS_WITH_FAILURE",
281
- PREPARATION_FAILED = "PREPARATION_FAILED",
282
- PREPARATION_IN_PROGRESS = "PREPARATION_IN_PROGRESS",
283
- TRANSMISSION_FAILED = "TRANSMISSION_FAILED",
284
- TRANSMISSION_IN_PROGRESS = "TRANSMISSION_IN_PROGRESS"
285
- }
286
267
  export type GlobalSettingsFileInput = {
287
268
  library: Scalars['String'];
288
269
  recordId: Scalars['String'];
@@ -370,9 +351,6 @@ export declare enum LogAction {
370
351
  PERMISSION_SAVE = "PERMISSION_SAVE",
371
352
  RECORD_DELETE = "RECORD_DELETE",
372
353
  RECORD_SAVE = "RECORD_SAVE",
373
- SDO_LOG_ERROR = "SDO_LOG_ERROR",
374
- SDO_LOG_EXPORT_RECORD = "SDO_LOG_EXPORT_RECORD",
375
- SDO_LOG_IMPORT_RECORD = "SDO_LOG_IMPORT_RECORD",
376
354
  TASKS_DELETE = "TASKS_DELETE",
377
355
  TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
378
356
  TREE_DELETE = "TREE_DELETE",
@@ -502,6 +480,7 @@ export declare enum PermissionsActions {
502
480
  admin_edit_permission = "admin_edit_permission",
503
481
  admin_edit_tree = "admin_edit_tree",
504
482
  admin_edit_version_profile = "admin_edit_version_profile",
483
+ admin_import_config_clear_database = "admin_import_config_clear_database",
505
484
  admin_library = "admin_library",
506
485
  admin_manage_global_preferences = "admin_manage_global_preferences",
507
486
  create_record = "create_record",
@@ -3138,6 +3117,25 @@ export type AttributesByLibAttributeWithPermissionsLinkAttributeFragment = {
3138
3117
  permissions: {
3139
3118
  access_attribute: boolean;
3140
3119
  };
3120
+ valuesList?: {
3121
+ enable: boolean;
3122
+ allowFreeEntry?: boolean | null;
3123
+ allowListUpdate?: boolean | null;
3124
+ linkedValues?: Array<{
3125
+ id: string;
3126
+ whoAmI: {
3127
+ id: string;
3128
+ label?: string | null;
3129
+ subLabel?: string | null;
3130
+ color?: string | null;
3131
+ preview?: IPreviewScalar | null;
3132
+ library: {
3133
+ id: string;
3134
+ label?: any | null;
3135
+ };
3136
+ };
3137
+ }> | null;
3138
+ } | null;
3141
3139
  linked_library?: {
3142
3140
  id: string;
3143
3141
  } | null;
@@ -3155,6 +3153,20 @@ export type AttributesByLibAttributeWithPermissionsStandardAttributeFragment = {
3155
3153
  format?: AttributeFormat | null;
3156
3154
  label?: any | null;
3157
3155
  } | null> | null;
3156
+ valuesList?: {
3157
+ enable: boolean;
3158
+ allowFreeEntry?: boolean | null;
3159
+ allowListUpdate?: boolean | null;
3160
+ dateRangeValues?: Array<{
3161
+ from?: string | null;
3162
+ to?: string | null;
3163
+ }> | null;
3164
+ } | {
3165
+ enable: boolean;
3166
+ allowFreeEntry?: boolean | null;
3167
+ allowListUpdate?: boolean | null;
3168
+ values?: Array<string> | null;
3169
+ } | null;
3158
3170
  permissions: {
3159
3171
  access_attribute: boolean;
3160
3172
  };
@@ -3183,23 +3195,59 @@ export type AttributesByLibAttributeWithPermissionsTreeAttributeFragment = {
3183
3195
  };
3184
3196
  export type AttributesByLibAttributeWithPermissionsFragment = AttributesByLibAttributeWithPermissionsLinkAttributeFragment | AttributesByLibAttributeWithPermissionsStandardAttributeFragment | AttributesByLibAttributeWithPermissionsTreeAttributeFragment;
3185
3197
  export type AttributesByLibLinkAttributeWithPermissionsFragment = {
3198
+ valuesList?: {
3199
+ enable: boolean;
3200
+ allowFreeEntry?: boolean | null;
3201
+ allowListUpdate?: boolean | null;
3202
+ linkedValues?: Array<{
3203
+ id: string;
3204
+ whoAmI: {
3205
+ id: string;
3206
+ label?: string | null;
3207
+ subLabel?: string | null;
3208
+ color?: string | null;
3209
+ preview?: IPreviewScalar | null;
3210
+ library: {
3211
+ id: string;
3212
+ label?: any | null;
3213
+ };
3214
+ };
3215
+ }> | null;
3216
+ } | null;
3186
3217
  linked_library?: {
3187
3218
  id: string;
3188
3219
  } | null;
3189
3220
  };
3221
+ export type StandardAttributeDetailsFragment = {
3222
+ id: string;
3223
+ type: AttributeType;
3224
+ embedded_fields?: Array<{
3225
+ id: string;
3226
+ format?: AttributeFormat | null;
3227
+ label?: any | null;
3228
+ } | null> | null;
3229
+ valuesList?: {
3230
+ enable: boolean;
3231
+ allowFreeEntry?: boolean | null;
3232
+ allowListUpdate?: boolean | null;
3233
+ values?: Array<string> | null;
3234
+ } | null;
3235
+ };
3190
3236
  export type LinkAttributeDetailsFragment = {
3191
3237
  label?: any | null;
3238
+ type: AttributeType;
3192
3239
  linked_library?: {
3193
3240
  id: string;
3194
3241
  label?: any | null;
3195
3242
  } | null;
3196
- values_list?: {
3243
+ valuesList?: {
3197
3244
  allowFreeEntry?: boolean | null;
3198
3245
  enable: boolean;
3199
- values?: Array<{
3246
+ linkedValues?: Array<{
3200
3247
  id: string;
3201
3248
  whoAmI: {
3202
3249
  id: string;
3250
+ label?: string | null;
3203
3251
  library: {
3204
3252
  id: string;
3205
3253
  };
@@ -4233,6 +4281,35 @@ export type IsAllowedQuery = {
4233
4281
  allowed?: boolean | null;
4234
4282
  }> | null;
4235
4283
  };
4284
+ export type ActivateNewRecordMutationVariables = Exact<{
4285
+ libraryId: Scalars['ID'];
4286
+ recordId: Scalars['ID'];
4287
+ formId?: InputMaybe<Scalars['String']>;
4288
+ }>;
4289
+ export type ActivateNewRecordMutation = {
4290
+ activateNewRecord: {
4291
+ record?: {
4292
+ id: string;
4293
+ whoAmI: {
4294
+ id: string;
4295
+ label?: string | null;
4296
+ subLabel?: string | null;
4297
+ color?: string | null;
4298
+ preview?: IPreviewScalar | null;
4299
+ library: {
4300
+ id: string;
4301
+ label?: any | null;
4302
+ };
4303
+ };
4304
+ } | null;
4305
+ valuesErrors?: Array<{
4306
+ type: string;
4307
+ attribute: string;
4308
+ input?: string | null;
4309
+ message: string;
4310
+ }> | null;
4311
+ };
4312
+ };
4236
4313
  export type ActivateRecordsMutationVariables = Exact<{
4237
4314
  libraryId: Scalars['String'];
4238
4315
  recordsIds?: InputMaybe<Array<Scalars['String']> | Scalars['String']>;
@@ -5787,6 +5864,26 @@ export type IndexRecordsMutationVariables = Exact<{
5787
5864
  export type IndexRecordsMutation = {
5788
5865
  indexRecords: boolean;
5789
5866
  };
5867
+ export type PurgeRecordMutationVariables = Exact<{
5868
+ libraryId: Scalars['ID'];
5869
+ recordId: Scalars['ID'];
5870
+ }>;
5871
+ export type PurgeRecordMutation = {
5872
+ purgeRecord: {
5873
+ id: string;
5874
+ whoAmI: {
5875
+ id: string;
5876
+ label?: string | null;
5877
+ subLabel?: string | null;
5878
+ color?: string | null;
5879
+ preview?: IPreviewScalar | null;
5880
+ library: {
5881
+ id: string;
5882
+ label?: any | null;
5883
+ };
5884
+ };
5885
+ };
5886
+ };
5790
5887
  export type CancelTaskMutationVariables = Exact<{
5791
5888
  taskId: Scalars['ID'];
5792
5889
  }>;
@@ -6976,6 +7073,25 @@ export type GetAttributesByLibWithPermissionsQuery = {
6976
7073
  multiple_values: boolean;
6977
7074
  system: boolean;
6978
7075
  readonly: boolean;
7076
+ valuesList?: {
7077
+ enable: boolean;
7078
+ allowFreeEntry?: boolean | null;
7079
+ allowListUpdate?: boolean | null;
7080
+ linkedValues?: Array<{
7081
+ id: string;
7082
+ whoAmI: {
7083
+ id: string;
7084
+ label?: string | null;
7085
+ subLabel?: string | null;
7086
+ color?: string | null;
7087
+ preview?: IPreviewScalar | null;
7088
+ library: {
7089
+ id: string;
7090
+ label?: any | null;
7091
+ };
7092
+ };
7093
+ }> | null;
7094
+ } | null;
6979
7095
  linked_library?: {
6980
7096
  id: string;
6981
7097
  } | null;
@@ -6995,6 +7111,20 @@ export type GetAttributesByLibWithPermissionsQuery = {
6995
7111
  format?: AttributeFormat | null;
6996
7112
  label?: any | null;
6997
7113
  } | null> | null;
7114
+ valuesList?: {
7115
+ enable: boolean;
7116
+ allowFreeEntry?: boolean | null;
7117
+ allowListUpdate?: boolean | null;
7118
+ dateRangeValues?: Array<{
7119
+ from?: string | null;
7120
+ to?: string | null;
7121
+ }> | null;
7122
+ } | {
7123
+ enable: boolean;
7124
+ allowFreeEntry?: boolean | null;
7125
+ allowListUpdate?: boolean | null;
7126
+ values?: Array<string> | null;
7127
+ } | null;
6998
7128
  permissions: {
6999
7129
  access_attribute: boolean;
7000
7130
  };
@@ -7036,13 +7166,14 @@ export type ExplorerAttributesQuery = {
7036
7166
  id: string;
7037
7167
  label?: any | null;
7038
7168
  } | null;
7039
- values_list?: {
7169
+ valuesList?: {
7040
7170
  allowFreeEntry?: boolean | null;
7041
7171
  enable: boolean;
7042
- values?: Array<{
7172
+ linkedValues?: Array<{
7043
7173
  id: string;
7044
7174
  whoAmI: {
7045
7175
  id: string;
7176
+ label?: string | null;
7046
7177
  library: {
7047
7178
  id: string;
7048
7179
  };
@@ -7057,6 +7188,17 @@ export type ExplorerAttributesQuery = {
7057
7188
  type: AttributeType;
7058
7189
  format?: AttributeFormat | null;
7059
7190
  label?: any | null;
7191
+ embedded_fields?: Array<{
7192
+ id: string;
7193
+ format?: AttributeFormat | null;
7194
+ label?: any | null;
7195
+ } | null> | null;
7196
+ valuesList?: {
7197
+ enable: boolean;
7198
+ allowFreeEntry?: boolean | null;
7199
+ allowListUpdate?: boolean | null;
7200
+ values?: Array<string> | null;
7201
+ } | null;
7060
7202
  permissions: {
7061
7203
  access_attribute: boolean;
7062
7204
  };
@@ -7082,19 +7224,21 @@ export type ExplorerLinkAttributeQuery = {
7082
7224
  attributes?: {
7083
7225
  list: Array<{
7084
7226
  label?: any | null;
7227
+ type: AttributeType;
7085
7228
  id: string;
7086
7229
  multiple_values: boolean;
7087
7230
  linked_library?: {
7088
7231
  id: string;
7089
7232
  label?: any | null;
7090
7233
  } | null;
7091
- values_list?: {
7234
+ valuesList?: {
7092
7235
  allowFreeEntry?: boolean | null;
7093
7236
  enable: boolean;
7094
- values?: Array<{
7237
+ linkedValues?: Array<{
7095
7238
  id: string;
7096
7239
  whoAmI: {
7097
7240
  id: string;
7241
+ label?: string | null;
7098
7242
  library: {
7099
7243
  id: string;
7100
7244
  };
@@ -7470,6 +7614,7 @@ export declare const AttributesByLibLinkAttributeWithPermissionsFragmentDoc: Apo
7470
7614
  export declare const AttributesByLibAttributeWithPermissionsFragmentDoc: Apollo.DocumentNode;
7471
7615
  export declare const LinkAttributeDetailsFragmentDoc: Apollo.DocumentNode;
7472
7616
  export declare const TreeAttributeDetailsFragmentDoc: Apollo.DocumentNode;
7617
+ export declare const StandardAttributeDetailsFragmentDoc: Apollo.DocumentNode;
7473
7618
  export declare const AttributePropertiesFragmentDoc: Apollo.DocumentNode;
7474
7619
  export declare const PropertyValueFragmentDoc: Apollo.DocumentNode;
7475
7620
  export declare const LinkPropertyFragmentDoc: Apollo.DocumentNode;
@@ -8290,6 +8435,35 @@ export type IsAllowedQueryHookResult = ReturnType<typeof useIsAllowedQuery>;
8290
8435
  export type IsAllowedLazyQueryHookResult = ReturnType<typeof useIsAllowedLazyQuery>;
8291
8436
  export type IsAllowedSuspenseQueryHookResult = ReturnType<typeof useIsAllowedSuspenseQuery>;
8292
8437
  export type IsAllowedQueryResult = Apollo.QueryResult<IsAllowedQuery, IsAllowedQueryVariables>;
8438
+ export declare const ActivateNewRecordDocument: Apollo.DocumentNode;
8439
+ export type ActivateNewRecordMutationFn = Apollo.MutationFunction<ActivateNewRecordMutation, ActivateNewRecordMutationVariables>;
8440
+ /**
8441
+ * __useActivateNewRecordMutation__
8442
+ *
8443
+ * To run a mutation, you first call `useActivateNewRecordMutation` within a React component and pass it any options that fit your needs.
8444
+ * When your component renders, `useActivateNewRecordMutation` returns a tuple that includes:
8445
+ * - A mutate function that you can call at any time to execute the mutation
8446
+ * - An object with fields that represent the current status of the mutation's execution
8447
+ *
8448
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
8449
+ *
8450
+ * @example
8451
+ * const [activateNewRecordMutation, { data, loading, error }] = useActivateNewRecordMutation({
8452
+ * variables: {
8453
+ * libraryId: // value for 'libraryId'
8454
+ * recordId: // value for 'recordId'
8455
+ * formId: // value for 'formId'
8456
+ * },
8457
+ * });
8458
+ */
8459
+ export declare function useActivateNewRecordMutation(baseOptions?: Apollo.MutationHookOptions<ActivateNewRecordMutation, ActivateNewRecordMutationVariables>): Apollo.MutationTuple<ActivateNewRecordMutation, Exact<{
8460
+ libraryId: Scalars["ID"];
8461
+ recordId: Scalars["ID"];
8462
+ formId?: InputMaybe<Scalars["String"]>;
8463
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
8464
+ export type ActivateNewRecordMutationHookResult = ReturnType<typeof useActivateNewRecordMutation>;
8465
+ export type ActivateNewRecordMutationResult = Apollo.MutationResult<ActivateNewRecordMutation>;
8466
+ export type ActivateNewRecordMutationOptions = Apollo.BaseMutationOptions<ActivateNewRecordMutation, ActivateNewRecordMutationVariables>;
8293
8467
  export declare const ActivateRecordsDocument: Apollo.DocumentNode;
8294
8468
  export type ActivateRecordsMutationFn = Apollo.MutationFunction<ActivateRecordsMutation, ActivateRecordsMutationVariables>;
8295
8469
  /**
@@ -8605,6 +8779,33 @@ export declare function useIndexRecordsMutation(baseOptions?: Apollo.MutationHoo
8605
8779
  export type IndexRecordsMutationHookResult = ReturnType<typeof useIndexRecordsMutation>;
8606
8780
  export type IndexRecordsMutationResult = Apollo.MutationResult<IndexRecordsMutation>;
8607
8781
  export type IndexRecordsMutationOptions = Apollo.BaseMutationOptions<IndexRecordsMutation, IndexRecordsMutationVariables>;
8782
+ export declare const PurgeRecordDocument: Apollo.DocumentNode;
8783
+ export type PurgeRecordMutationFn = Apollo.MutationFunction<PurgeRecordMutation, PurgeRecordMutationVariables>;
8784
+ /**
8785
+ * __usePurgeRecordMutation__
8786
+ *
8787
+ * To run a mutation, you first call `usePurgeRecordMutation` within a React component and pass it any options that fit your needs.
8788
+ * When your component renders, `usePurgeRecordMutation` returns a tuple that includes:
8789
+ * - A mutate function that you can call at any time to execute the mutation
8790
+ * - An object with fields that represent the current status of the mutation's execution
8791
+ *
8792
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
8793
+ *
8794
+ * @example
8795
+ * const [purgeRecordMutation, { data, loading, error }] = usePurgeRecordMutation({
8796
+ * variables: {
8797
+ * libraryId: // value for 'libraryId'
8798
+ * recordId: // value for 'recordId'
8799
+ * },
8800
+ * });
8801
+ */
8802
+ export declare function usePurgeRecordMutation(baseOptions?: Apollo.MutationHookOptions<PurgeRecordMutation, PurgeRecordMutationVariables>): Apollo.MutationTuple<PurgeRecordMutation, Exact<{
8803
+ libraryId: Scalars["ID"];
8804
+ recordId: Scalars["ID"];
8805
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
8806
+ export type PurgeRecordMutationHookResult = ReturnType<typeof usePurgeRecordMutation>;
8807
+ export type PurgeRecordMutationResult = Apollo.MutationResult<PurgeRecordMutation>;
8808
+ export type PurgeRecordMutationOptions = Apollo.BaseMutationOptions<PurgeRecordMutation, PurgeRecordMutationVariables>;
8608
8809
  export declare const CancelTaskDocument: Apollo.DocumentNode;
8609
8810
  export type CancelTaskMutationFn = Apollo.MutationFunction<CancelTaskMutation, CancelTaskMutationVariables>;
8610
8811
  /**
@@ -88,17 +88,6 @@ 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 = {}));
102
91
  export var IoTypes;
103
92
  (function (IoTypes) {
104
93
  IoTypes["boolean"] = "boolean";
@@ -152,9 +141,6 @@ export var LogAction;
152
141
  LogAction["PERMISSION_SAVE"] = "PERMISSION_SAVE";
153
142
  LogAction["RECORD_DELETE"] = "RECORD_DELETE";
154
143
  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";
158
144
  LogAction["TASKS_DELETE"] = "TASKS_DELETE";
159
145
  LogAction["TREE_ADD_ELEMENT"] = "TREE_ADD_ELEMENT";
160
146
  LogAction["TREE_DELETE"] = "TREE_DELETE";
@@ -232,6 +218,7 @@ export var PermissionsActions;
232
218
  PermissionsActions["admin_edit_permission"] = "admin_edit_permission";
233
219
  PermissionsActions["admin_edit_tree"] = "admin_edit_tree";
234
220
  PermissionsActions["admin_edit_version_profile"] = "admin_edit_version_profile";
221
+ PermissionsActions["admin_import_config_clear_database"] = "admin_import_config_clear_database";
235
222
  PermissionsActions["admin_library"] = "admin_library";
236
223
  PermissionsActions["admin_manage_global_preferences"] = "admin_manage_global_preferences";
237
224
  PermissionsActions["create_record"] = "create_record";
@@ -923,11 +910,19 @@ export const ViewDetailsFragmentDoc = gql `
923
910
  ${RecordIdentityFragmentDoc}`;
924
911
  export const AttributesByLibLinkAttributeWithPermissionsFragmentDoc = gql `
925
912
  fragment AttributesByLibLinkAttributeWithPermissions on LinkAttribute {
913
+ valuesList: values_list {
914
+ enable
915
+ allowFreeEntry
916
+ allowListUpdate
917
+ linkedValues: values {
918
+ ...RecordIdentity
919
+ }
920
+ }
926
921
  linked_library {
927
922
  id
928
923
  }
929
924
  }
930
- `;
925
+ ${RecordIdentityFragmentDoc}`;
931
926
  export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
932
927
  fragment AttributesByLibAttributeWithPermissions on Attribute {
933
928
  id
@@ -959,23 +954,42 @@ export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
959
954
  format
960
955
  label
961
956
  }
957
+ valuesList: values_list {
958
+ ... on StandardStringValuesListConf {
959
+ enable
960
+ allowFreeEntry
961
+ allowListUpdate
962
+ values
963
+ }
964
+ ... on StandardDateRangeValuesListConf {
965
+ enable
966
+ allowFreeEntry
967
+ allowListUpdate
968
+ dateRangeValues: values {
969
+ from
970
+ to
971
+ }
972
+ }
973
+ }
962
974
  }
963
975
  }
964
976
  ${AttributesByLibLinkAttributeWithPermissionsFragmentDoc}`;
965
977
  export const LinkAttributeDetailsFragmentDoc = gql `
966
978
  fragment LinkAttributeDetails on LinkAttribute {
967
979
  label
980
+ type
968
981
  linked_library {
969
982
  id
970
983
  label
971
984
  }
972
- values_list {
985
+ valuesList: values_list {
973
986
  allowFreeEntry
974
987
  enable
975
- values {
988
+ linkedValues: values {
976
989
  id
977
990
  whoAmI {
978
991
  id
992
+ label
979
993
  library {
980
994
  id
981
995
  }
@@ -994,6 +1008,25 @@ export const TreeAttributeDetailsFragmentDoc = gql `
994
1008
  }
995
1009
  }
996
1010
  `;
1011
+ export const StandardAttributeDetailsFragmentDoc = gql `
1012
+ fragment StandardAttributeDetails on StandardAttribute {
1013
+ id
1014
+ type
1015
+ embedded_fields {
1016
+ id
1017
+ format
1018
+ label
1019
+ }
1020
+ valuesList: values_list {
1021
+ ... on StandardStringValuesListConf {
1022
+ enable
1023
+ allowFreeEntry
1024
+ allowListUpdate
1025
+ values
1026
+ }
1027
+ }
1028
+ }
1029
+ `;
997
1030
  export const AttributePropertiesFragmentDoc = gql `
998
1031
  fragment AttributeProperties on Attribute {
999
1032
  id
@@ -2081,6 +2114,44 @@ export function useIsAllowedSuspenseQuery(baseOptions) {
2081
2114
  const options = { ...defaultOptions, ...baseOptions };
2082
2115
  return Apollo.useSuspenseQuery(IsAllowedDocument, options);
2083
2116
  }
2117
+ export const ActivateNewRecordDocument = gql `
2118
+ mutation activateNewRecord($libraryId: ID!, $recordId: ID!, $formId: String) {
2119
+ activateNewRecord(library: $libraryId, recordId: $recordId, formId: $formId) {
2120
+ record {
2121
+ ...RecordIdentity
2122
+ }
2123
+ valuesErrors {
2124
+ type
2125
+ attribute
2126
+ input
2127
+ message
2128
+ }
2129
+ }
2130
+ }
2131
+ ${RecordIdentityFragmentDoc}`;
2132
+ /**
2133
+ * __useActivateNewRecordMutation__
2134
+ *
2135
+ * To run a mutation, you first call `useActivateNewRecordMutation` within a React component and pass it any options that fit your needs.
2136
+ * When your component renders, `useActivateNewRecordMutation` returns a tuple that includes:
2137
+ * - A mutate function that you can call at any time to execute the mutation
2138
+ * - An object with fields that represent the current status of the mutation's execution
2139
+ *
2140
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
2141
+ *
2142
+ * @example
2143
+ * const [activateNewRecordMutation, { data, loading, error }] = useActivateNewRecordMutation({
2144
+ * variables: {
2145
+ * libraryId: // value for 'libraryId'
2146
+ * recordId: // value for 'recordId'
2147
+ * formId: // value for 'formId'
2148
+ * },
2149
+ * });
2150
+ */
2151
+ export function useActivateNewRecordMutation(baseOptions) {
2152
+ const options = { ...defaultOptions, ...baseOptions };
2153
+ return Apollo.useMutation(ActivateNewRecordDocument, options);
2154
+ }
2084
2155
  export const ActivateRecordsDocument = gql `
2085
2156
  mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
2086
2157
  activateRecords(
@@ -2514,6 +2585,35 @@ export function useIndexRecordsMutation(baseOptions) {
2514
2585
  const options = { ...defaultOptions, ...baseOptions };
2515
2586
  return Apollo.useMutation(IndexRecordsDocument, options);
2516
2587
  }
2588
+ export const PurgeRecordDocument = gql `
2589
+ mutation purgeRecord($libraryId: ID!, $recordId: ID!) {
2590
+ purgeRecord(libraryId: $libraryId, recordId: $recordId) {
2591
+ ...RecordIdentity
2592
+ }
2593
+ }
2594
+ ${RecordIdentityFragmentDoc}`;
2595
+ /**
2596
+ * __usePurgeRecordMutation__
2597
+ *
2598
+ * To run a mutation, you first call `usePurgeRecordMutation` within a React component and pass it any options that fit your needs.
2599
+ * When your component renders, `usePurgeRecordMutation` returns a tuple that includes:
2600
+ * - A mutate function that you can call at any time to execute the mutation
2601
+ * - An object with fields that represent the current status of the mutation's execution
2602
+ *
2603
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
2604
+ *
2605
+ * @example
2606
+ * const [purgeRecordMutation, { data, loading, error }] = usePurgeRecordMutation({
2607
+ * variables: {
2608
+ * libraryId: // value for 'libraryId'
2609
+ * recordId: // value for 'recordId'
2610
+ * },
2611
+ * });
2612
+ */
2613
+ export function usePurgeRecordMutation(baseOptions) {
2614
+ const options = { ...defaultOptions, ...baseOptions };
2615
+ return Apollo.useMutation(PurgeRecordDocument, options);
2616
+ }
2517
2617
  export const CancelTaskDocument = gql `
2518
2618
  mutation CANCEL_TASK($taskId: ID!) {
2519
2619
  cancelTask(taskId: $taskId)
@@ -3132,12 +3232,14 @@ export const ExplorerAttributesDocument = gql `
3132
3232
  permissions {
3133
3233
  access_attribute
3134
3234
  }
3235
+ ...StandardAttributeDetails
3135
3236
  ...LinkAttributeDetails
3136
3237
  ...TreeAttributeDetails
3137
3238
  }
3138
3239
  }
3139
3240
  }
3140
- ${LinkAttributeDetailsFragmentDoc}
3241
+ ${StandardAttributeDetailsFragmentDoc}
3242
+ ${LinkAttributeDetailsFragmentDoc}
3141
3243
  ${TreeAttributeDetailsFragmentDoc}`;
3142
3244
  /**
3143
3245
  * __useExplorerAttributesQuery__
@@ -3282,6 +3384,7 @@ export const ExplorerLinkDataDocument = gql `
3282
3384
  records(
3283
3385
  library: $parentLibraryId
3284
3386
  filters: [{field: "id", condition: EQUAL, value: $parentRecordId}]
3387
+ retrieveInactive: true
3285
3388
  ) {
3286
3389
  list {
3287
3390
  id