@leav/ui 1.13.0-f5b35f7b → 1.13.0-fd41c66e

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 (117) hide show
  1. package/dist/_gqlTypes/index.d.ts +224 -72
  2. package/dist/_gqlTypes/index.js +143 -61
  3. package/dist/_gqlTypes/index.js.map +1 -1
  4. package/dist/_queries/attributes/attributeDetailsFragment.js +3 -0
  5. package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
  6. package/dist/components/Explorer/Explorer.d.ts +5 -1
  7. package/dist/components/Explorer/Explorer.js +7 -0
  8. package/dist/components/Explorer/Explorer.js.map +1 -1
  9. package/dist/components/Explorer/_types.d.ts +6 -0
  10. package/dist/components/Explorer/_types.js.map +1 -1
  11. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +18 -2
  12. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
  13. package/dist/components/Explorer/actions-mass/edit-attribute/EditMonoDependencyWorkflowTreeAttribute.d.ts +8 -0
  14. package/dist/components/Explorer/actions-mass/edit-attribute/EditMonoDependencyWorkflowTreeAttribute.js +34 -0
  15. package/dist/components/Explorer/actions-mass/edit-attribute/EditMonoDependencyWorkflowTreeAttribute.js.map +1 -0
  16. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.d.ts +3 -1
  17. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js +12 -14
  18. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js.map +1 -1
  19. package/dist/components/Explorer/actions-mass/edit-attribute/_types.d.ts +15 -3
  20. package/dist/components/Explorer/actions-mass/edit-attribute/_types.js.map +1 -1
  21. package/dist/components/Explorer/actions-mass/edit-attribute/useDependencyValues.d.ts +13 -0
  22. package/dist/components/Explorer/actions-mass/edit-attribute/useDependencyValues.js +47 -0
  23. package/dist/components/Explorer/actions-mass/edit-attribute/useDependencyValues.js.map +1 -0
  24. package/dist/components/Explorer/actions-mass/edit-attribute/useEditionMappingState.d.ts +13 -0
  25. package/dist/components/Explorer/actions-mass/edit-attribute/useEditionMappingState.js +73 -0
  26. package/dist/components/Explorer/actions-mass/edit-attribute/useEditionMappingState.js.map +1 -0
  27. package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js +14 -17
  28. package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js.map +1 -1
  29. package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodesCandidates.d.ts +23 -0
  30. package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodesCandidates.js +68 -0
  31. package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodesCandidates.js.map +1 -0
  32. package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js +16 -50
  33. package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js.map +1 -1
  34. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +6 -6
  35. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  36. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +7 -31
  37. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +9 -20
  38. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  39. package/dist/components/Explorer/useNotifyFiltersChange.d.ts +15 -0
  40. package/dist/components/Explorer/useNotifyFiltersChange.js +26 -0
  41. package/dist/components/Explorer/useNotifyFiltersChange.js.map +1 -0
  42. package/dist/components/Filters/_types.d.ts +14 -0
  43. package/dist/components/Filters/_types.js +2 -1
  44. package/dist/components/Filters/_types.js.map +1 -1
  45. package/dist/components/Filters/context/filtersReducer.d.ts +14 -1
  46. package/dist/components/Filters/context/filtersReducer.js +39 -8
  47. package/dist/components/Filters/context/filtersReducer.js.map +1 -1
  48. package/dist/components/Filters/filter-items/CommonFilterItem.js +4 -1
  49. package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
  50. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +15 -3
  51. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
  52. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.d.ts +3 -1
  53. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +2 -2
  54. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
  55. package/dist/components/Filters/filter-items/filter-type/_types.d.ts +3 -1
  56. package/dist/components/Filters/filter-items/filter-type/_types.js.map +1 -1
  57. package/dist/components/Filters/filter-items/filter-type/smart-filter/SmartFilterAttributeDropdown.js +2 -3
  58. package/dist/components/Filters/filter-items/filter-type/smart-filter/SmartFilterAttributeDropdown.js.map +1 -1
  59. package/dist/components/Filters/filter-items/filter-type/smart-filter/useGetSmartFilterData.d.ts +2 -4
  60. package/dist/components/Filters/filter-items/filter-type/smart-filter/useGetSmartFilterData.js +22 -16
  61. package/dist/components/Filters/filter-items/filter-type/smart-filter/useGetSmartFilterData.js.map +1 -1
  62. package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js +39 -83
  63. package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js.map +1 -1
  64. package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.d.ts +1 -0
  65. package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.js.map +1 -1
  66. package/dist/components/Filters/filter-items/filter-type/tree/useTreeNodeSelection.d.ts +21 -0
  67. package/dist/components/Filters/filter-items/filter-type/tree/useTreeNodeSelection.js +85 -0
  68. package/dist/components/Filters/filter-items/filter-type/tree/useTreeNodeSelection.js.map +1 -0
  69. package/dist/components/Filters/filter-items/filter-type/tree/useTreePermissions.d.ts +8 -0
  70. package/dist/components/Filters/filter-items/filter-type/tree/useTreePermissions.js +40 -0
  71. package/dist/components/Filters/filter-items/filter-type/tree/useTreePermissions.js.map +1 -0
  72. package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.d.ts +2 -3
  73. package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js +2 -3
  74. package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js.map +1 -1
  75. package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.d.ts +1 -1
  76. package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.js +3 -4
  77. package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.js.map +1 -1
  78. package/dist/components/Filters/filter-items/shared/EmptyValueCheckbox.js +1 -7
  79. package/dist/components/Filters/filter-items/shared/EmptyValueCheckbox.js.map +1 -1
  80. package/dist/components/Filters/prepareFiltersForRequest.js +37 -14
  81. package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
  82. package/dist/components/Filters/useFilters.d.ts +312 -0
  83. package/dist/components/Filters/useTransformFilters.js +1 -0
  84. package/dist/components/Filters/useTransformFilters.js.map +1 -1
  85. package/dist/hooks/index.d.ts +1 -0
  86. package/dist/hooks/index.js +1 -0
  87. package/dist/hooks/index.js.map +1 -1
  88. package/dist/hooks/useDelayedLoading/index.d.ts +1 -0
  89. package/dist/hooks/useDelayedLoading/index.js +5 -0
  90. package/dist/hooks/useDelayedLoading/index.js.map +1 -0
  91. package/dist/hooks/useDelayedLoading/useDelayedLoading.d.ts +17 -0
  92. package/dist/hooks/useDelayedLoading/useDelayedLoading.js +54 -0
  93. package/dist/hooks/useDelayedLoading/useDelayedLoading.js.map +1 -0
  94. package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.d.ts +3 -1
  95. package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.js.map +1 -1
  96. package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +2 -1
  97. package/dist/hooks/useIFrameMessenger/messageHandlers.js +9 -0
  98. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
  99. package/dist/hooks/useIFrameMessenger/types.d.ts +21 -2
  100. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  101. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +1 -0
  102. package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js +29 -7
  103. package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js.map +1 -1
  104. package/dist/hooks/useIFrameMessenger/useNativePanelMessengerHandlers.d.ts +14 -0
  105. package/dist/hooks/useIFrameMessenger/useNativePanelMessengerHandlers.js +22 -0
  106. package/dist/hooks/useIFrameMessenger/useNativePanelMessengerHandlers.js.map +1 -0
  107. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +1 -0
  108. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +1 -0
  109. package/dist/locales/en/shared.json +5 -1
  110. package/dist/locales/fr/shared.json +5 -1
  111. package/package.json +4 -4
  112. package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.d.ts +0 -12
  113. package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js +0 -24
  114. package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js.map +0 -1
  115. package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.d.ts +0 -13
  116. package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js +0 -28
  117. package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js.map +0 -1
@@ -174,6 +174,10 @@ export type ApplicationsFiltersInput = {
174
174
  system?: InputMaybe<Scalars['Boolean']['input']>;
175
175
  type?: InputMaybe<Array<InputMaybe<ApplicationType>>>;
176
176
  };
177
+ export type AttributeDependentValueInput = {
178
+ attributeId: Scalars['ID']['input'];
179
+ nodeId?: InputMaybe<Scalars['ID']['input']>;
180
+ };
177
181
  export declare enum AttributeFormat {
178
182
  boolean = "boolean",
179
183
  color = "color",
@@ -205,7 +209,7 @@ export type AttributeInput = {
205
209
  required?: InputMaybe<Scalars['Boolean']['input']>;
206
210
  reverse_link?: InputMaybe<Scalars['String']['input']>;
207
211
  settings?: InputMaybe<Scalars['JSONObject']['input']>;
208
- /** only for link attribute */
212
+ /** only for link and standard attribute */
209
213
  smart_filter?: InputMaybe<SmartFilterConfInput>;
210
214
  type?: InputMaybe<AttributeType>;
211
215
  unique?: InputMaybe<Scalars['Boolean']['input']>;
@@ -243,40 +247,27 @@ export declare enum AttributesSortableFields {
243
247
  multiple_values = "multiple_values",
244
248
  type = "type"
245
249
  }
250
+ export declare enum AutomationRuleActions {
251
+ condition = "condition",
252
+ error = "error",
253
+ jexlCalculation = "jexlCalculation",
254
+ log = "log",
255
+ modifyAttribute = "modifyAttribute",
256
+ notification = "notification"
257
+ }
246
258
  export declare enum AutomationRuleEventAction {
247
- API_KEY_DELETE = "API_KEY_DELETE",
248
- API_KEY_SAVE = "API_KEY_SAVE",
249
- APP_DELETE = "APP_DELETE",
250
- APP_SAVE = "APP_SAVE",
251
- ATTRIBUTE_DELETE = "ATTRIBUTE_DELETE",
252
- ATTRIBUTE_SAVE = "ATTRIBUTE_SAVE",
253
- AUTOMATION_RULE_CREATE = "AUTOMATION_RULE_CREATE",
254
- AUTOMATION_RULE_UPDATE = "AUTOMATION_RULE_UPDATE",
255
- CONFIG_IMPORT_END = "CONFIG_IMPORT_END",
256
- CONFIG_IMPORT_START = "CONFIG_IMPORT_START",
257
- DATA_IMPORT_END = "DATA_IMPORT_END",
258
- DATA_IMPORT_START = "DATA_IMPORT_START",
259
- EXPORT_END = "EXPORT_END",
260
- EXPORT_START = "EXPORT_START",
261
- GLOBAL_SETTINGS_SAVE = "GLOBAL_SETTINGS_SAVE",
262
- LIBRARY_DELETE = "LIBRARY_DELETE",
263
- LIBRARY_PURGE = "LIBRARY_PURGE",
264
- LIBRARY_SAVE = "LIBRARY_SAVE",
265
- PERMISSION_SAVE = "PERMISSION_SAVE",
266
- RECORD_DELETE = "RECORD_DELETE",
267
259
  RECORD_INIT = "RECORD_INIT",
268
260
  RECORD_SAVE = "RECORD_SAVE",
269
- TASKS_DELETE = "TASKS_DELETE",
270
- TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
271
- TREE_DELETE = "TREE_DELETE",
272
- TREE_DELETE_ELEMENT = "TREE_DELETE_ELEMENT",
273
- TREE_MOVE_ELEMENT = "TREE_MOVE_ELEMENT",
274
- TREE_SAVE = "TREE_SAVE",
275
- VALUE_DELETE = "VALUE_DELETE",
276
- VALUE_SAVE = "VALUE_SAVE",
277
- VERSION_PROFILE_DELETE = "VERSION_PROFILE_DELETE",
278
- VERSION_PROFILE_SAVE = "VERSION_PROFILE_SAVE"
261
+ VALUE_SAVE = "VALUE_SAVE"
279
262
  }
263
+ export type AutomationRulePipelineInput = {
264
+ steps: Array<AutomationRulePipelineStepInput>;
265
+ };
266
+ export type AutomationRulePipelineStepInput = {
267
+ name?: InputMaybe<Scalars['String']['input']>;
268
+ params: Scalars['JSON']['input'];
269
+ type: AutomationRuleActions;
270
+ };
280
271
  export declare enum AutomationRuleSortableFields {
281
272
  id = "id"
282
273
  }
@@ -308,14 +299,26 @@ export declare enum AvailableLanguage {
308
299
  en = "en",
309
300
  fr = "fr"
310
301
  }
302
+ export type CampaignToRenew = {
303
+ endDate: Scalars['String']['input'];
304
+ id: Scalars['String']['input'];
305
+ startDate: Scalars['String']['input'];
306
+ };
307
+ export type CampaignToUpdateDates = {
308
+ endDate: Scalars['String']['input'];
309
+ id: Scalars['String']['input'];
310
+ startDate: Scalars['String']['input'];
311
+ };
311
312
  export type ChildrenAsRecordValuePermissionFilterInput = {
312
313
  action: RecordPermissionsActions;
313
314
  attributeId: Scalars['ID']['input'];
314
315
  libraryId: Scalars['ID']['input'];
315
316
  };
316
317
  export type CreateAutomationRuleInput = {
318
+ active: Scalars['Boolean']['input'];
317
319
  description?: InputMaybe<Scalars['String']['input']>;
318
320
  label: Scalars['String']['input'];
321
+ pipeline: AutomationRulePipelineInput;
319
322
  trigger: AutomationRuleTriggerInput;
320
323
  };
321
324
  export type CreateRecordDataInput = {
@@ -360,7 +363,10 @@ export declare enum EventAction {
360
363
  APP_SAVE = "APP_SAVE",
361
364
  ATTRIBUTE_DELETE = "ATTRIBUTE_DELETE",
362
365
  ATTRIBUTE_SAVE = "ATTRIBUTE_SAVE",
366
+ AUTOMATION_PIPELINE_FAILURE = "AUTOMATION_PIPELINE_FAILURE",
367
+ AUTOMATION_PIPELINE_SUCCESS = "AUTOMATION_PIPELINE_SUCCESS",
363
368
  AUTOMATION_RULE_CREATE = "AUTOMATION_RULE_CREATE",
369
+ AUTOMATION_RULE_DELETE = "AUTOMATION_RULE_DELETE",
364
370
  AUTOMATION_RULE_UPDATE = "AUTOMATION_RULE_UPDATE",
365
371
  CONFIG_IMPORT_END = "CONFIG_IMPORT_END",
366
372
  CONFIG_IMPORT_START = "CONFIG_IMPORT_START",
@@ -373,6 +379,8 @@ export declare enum EventAction {
373
379
  LIBRARY_PURGE = "LIBRARY_PURGE",
374
380
  LIBRARY_SAVE = "LIBRARY_SAVE",
375
381
  PERMISSION_SAVE = "PERMISSION_SAVE",
382
+ PLANNING_RECONDUCTION_END = "PLANNING_RECONDUCTION_END",
383
+ PLANNING_RECONDUCTION_START = "PLANNING_RECONDUCTION_START",
376
384
  RECORD_DELETE = "RECORD_DELETE",
377
385
  RECORD_SAVE = "RECORD_SAVE",
378
386
  TASKS_DELETE = "TASKS_DELETE",
@@ -466,6 +474,16 @@ export declare enum FormsSortableFields {
466
474
  library = "library",
467
475
  system = "system"
468
476
  }
477
+ export declare enum GenerationStatus {
478
+ DONE = "DONE",
479
+ GENERATION_FAILED = "GENERATION_FAILED",
480
+ GENERATION_IN_PROGRESS = "GENERATION_IN_PROGRESS",
481
+ GENERATION_IN_PROGRESS_WITH_FAILURE = "GENERATION_IN_PROGRESS_WITH_FAILURE",
482
+ PREPARATION_FAILED = "PREPARATION_FAILED",
483
+ PREPARATION_IN_PROGRESS = "PREPARATION_IN_PROGRESS",
484
+ TRANSMISSION_FAILED = "TRANSMISSION_FAILED",
485
+ TRANSMISSION_IN_PROGRESS = "TRANSMISSION_IN_PROGRESS"
486
+ }
469
487
  export type GlobalSettingsFileInput = {
470
488
  library: Scalars['String']['input'];
471
489
  recordId: Scalars['String']['input'];
@@ -540,7 +558,10 @@ export declare enum LogAction {
540
558
  APP_SAVE = "APP_SAVE",
541
559
  ATTRIBUTE_DELETE = "ATTRIBUTE_DELETE",
542
560
  ATTRIBUTE_SAVE = "ATTRIBUTE_SAVE",
561
+ AUTOMATION_PIPELINE_FAILURE = "AUTOMATION_PIPELINE_FAILURE",
562
+ AUTOMATION_PIPELINE_SUCCESS = "AUTOMATION_PIPELINE_SUCCESS",
543
563
  AUTOMATION_RULE_CREATE = "AUTOMATION_RULE_CREATE",
564
+ AUTOMATION_RULE_DELETE = "AUTOMATION_RULE_DELETE",
544
565
  AUTOMATION_RULE_UPDATE = "AUTOMATION_RULE_UPDATE",
545
566
  CONFIG_IMPORT_END = "CONFIG_IMPORT_END",
546
567
  CONFIG_IMPORT_START = "CONFIG_IMPORT_START",
@@ -553,6 +574,8 @@ export declare enum LogAction {
553
574
  LIBRARY_PURGE = "LIBRARY_PURGE",
554
575
  LIBRARY_SAVE = "LIBRARY_SAVE",
555
576
  PERMISSION_SAVE = "PERMISSION_SAVE",
577
+ PLANNING_RECONDUCTION_END = "PLANNING_RECONDUCTION_END",
578
+ PLANNING_RECONDUCTION_START = "PLANNING_RECONDUCTION_START",
556
579
  RECORD_DELETE = "RECORD_DELETE",
557
580
  RECORD_SAVE = "RECORD_SAVE",
558
581
  TASKS_DELETE = "TASKS_DELETE",
@@ -815,6 +838,26 @@ export type RecordsPagination = {
815
838
  limit: Scalars['Int']['input'];
816
839
  offset?: InputMaybe<Scalars['Int']['input']>;
817
840
  };
841
+ export type ReportFramingAttributeFilterItemInput = {
842
+ attributeId: Scalars['String']['input'];
843
+ values: Array<ReportFramingAttributeFilterValueItemInput>;
844
+ withEmptyValues?: InputMaybe<Scalars['Boolean']['input']>;
845
+ };
846
+ export type ReportFramingAttributeFilterValueItemInput = {
847
+ formattedValue?: InputMaybe<Scalars['String']['input']>;
848
+ rawValue: Scalars['String']['input'];
849
+ };
850
+ export type ReportFramingContentInput = {
851
+ filters?: InputMaybe<ReportFramingFiltersInput>;
852
+ };
853
+ export type ReportFramingFiltersInput = {
854
+ /** only for excel header filter display */
855
+ attributes?: InputMaybe<Array<ReportFramingAttributeFilterItemInput>>;
856
+ campaigns?: InputMaybe<Array<RecordFilterInput>>;
857
+ categories?: InputMaybe<Array<Scalars['String']['input']>>;
858
+ categoryStatus?: InputMaybe<Array<Scalars['String']['input']>>;
859
+ search?: InputMaybe<Scalars['String']['input']>;
860
+ };
818
861
  export type SaveValueBulkMappingInput = {
819
862
  dependenciesFilters?: InputMaybe<Array<InputMaybe<RecordFilterInput>>>;
820
863
  values: Array<SaveValueBulkMappingValueInput>;
@@ -886,12 +929,18 @@ export declare enum TaskStatus {
886
929
  }
887
930
  export declare enum TaskType {
888
931
  EXPORT = "EXPORT",
932
+ FRAMING_REPORT = "FRAMING_REPORT",
889
933
  IMPORT_CONFIG = "IMPORT_CONFIG",
890
934
  IMPORT_DATA = "IMPORT_DATA",
891
935
  INDEXATION = "INDEXATION",
892
936
  PURGE_MULTIPLE_VALUES = "PURGE_MULTIPLE_VALUES",
937
+ RENEW_CAMPAIGNS = "RENEW_CAMPAIGNS",
893
938
  SAVE_VALUE_BULK = "SAVE_VALUE_BULK"
894
939
  }
940
+ export type ThematicToRenew = {
941
+ campaignId: Scalars['String']['input'];
942
+ thematicId: Scalars['String']['input'];
943
+ };
895
944
  export declare enum TreeBehavior {
896
945
  files = "files",
897
946
  standard = "standard"
@@ -957,7 +1006,8 @@ export type UpdateAutomationRuleInput = {
957
1006
  description?: InputMaybe<Scalars['String']['input']>;
958
1007
  id: Scalars['ID']['input'];
959
1008
  label?: InputMaybe<Scalars['String']['input']>;
960
- trigger?: InputMaybe<PartialAutomationRuleTriggerInput>;
1009
+ pipeline?: InputMaybe<AutomationRulePipelineInput>;
1010
+ trigger?: InputMaybe<AutomationRuleTriggerInput>;
961
1011
  };
962
1012
  export type UploadFiltersInput = {
963
1013
  uid?: InputMaybe<Scalars['String']['input']>;
@@ -1165,6 +1215,9 @@ export type AttributeDetailsStandardAttributeFragment = {
1165
1215
  multiple_values: boolean;
1166
1216
  multi_link_display_option?: MultiDisplayOption | null;
1167
1217
  multi_tree_display_option?: MultiDisplayOption | null;
1218
+ smart_filter?: {
1219
+ enable: boolean;
1220
+ } | null;
1168
1221
  metadata_fields?: Array<{
1169
1222
  id: string;
1170
1223
  label?: any | null;
@@ -3500,6 +3553,9 @@ export type AttributesByLibAttributeWithPermissionsStandardAttributeFragment = {
3500
3553
  allowListUpdate?: boolean | null;
3501
3554
  values?: Array<string> | null;
3502
3555
  } | null;
3556
+ smart_filter?: {
3557
+ enable: boolean;
3558
+ } | null;
3503
3559
  permissions: {
3504
3560
  access_attribute: boolean;
3505
3561
  };
@@ -3577,6 +3633,9 @@ export type StandardAttributeDetailsFragment = {
3577
3633
  allowListUpdate?: boolean | null;
3578
3634
  values?: Array<string> | null;
3579
3635
  } | null;
3636
+ smart_filter?: {
3637
+ enable: boolean;
3638
+ } | null;
3580
3639
  };
3581
3640
  export type LinkAttributeDetailsFragment = {
3582
3641
  label?: any | null;
@@ -4017,6 +4076,9 @@ export type GetAttributeByIdQuery = {
4017
4076
  multiple_values: boolean;
4018
4077
  multi_link_display_option?: MultiDisplayOption | null;
4019
4078
  multi_tree_display_option?: MultiDisplayOption | null;
4079
+ smart_filter?: {
4080
+ enable: boolean;
4081
+ } | null;
4020
4082
  metadata_fields?: Array<{
4021
4083
  id: string;
4022
4084
  label?: any | null;
@@ -4246,6 +4308,9 @@ export type SaveAttributeMutation = {
4246
4308
  multiple_values: boolean;
4247
4309
  multi_link_display_option?: MultiDisplayOption | null;
4248
4310
  multi_tree_display_option?: MultiDisplayOption | null;
4311
+ smart_filter?: {
4312
+ enable: boolean;
4313
+ } | null;
4249
4314
  metadata_fields?: Array<{
4250
4315
  id: string;
4251
4316
  label?: any | null;
@@ -7667,6 +7732,9 @@ export type GetAttributesByLibWithPermissionsQuery = {
7667
7732
  allowListUpdate?: boolean | null;
7668
7733
  values?: Array<string> | null;
7669
7734
  } | null;
7735
+ smart_filter?: {
7736
+ enable: boolean;
7737
+ } | null;
7670
7738
  permissions: {
7671
7739
  access_attribute: boolean;
7672
7740
  };
@@ -7754,6 +7822,9 @@ export type ExplorerAttributesQuery = {
7754
7822
  allowListUpdate?: boolean | null;
7755
7823
  values?: Array<string> | null;
7756
7824
  } | null;
7825
+ smart_filter?: {
7826
+ enable: boolean;
7827
+ } | null;
7757
7828
  permissions: {
7758
7829
  access_attribute: boolean;
7759
7830
  };
@@ -8099,25 +8170,20 @@ export type MassEditableAttributesQuery = {
8099
8170
  } | {
8100
8171
  id: string;
8101
8172
  label?: any | null;
8102
- tree_values?: Array<{
8103
- node?: {
8104
- id: string;
8105
- record: {
8106
- id: string;
8107
- whoAmI: {
8108
- label?: string | null;
8109
- color?: string | null;
8110
- };
8111
- };
8112
- } | null;
8113
- allowedDependentValues?: Array<{
8114
- nodeId?: string | null;
8115
- }> | null;
8116
- }> | null;
8117
8173
  permissions_conf_dependent_values?: {
8118
8174
  dependenciesTreeAttributes: Array<{
8119
8175
  id: string;
8120
8176
  label?: any | null;
8177
+ } | {
8178
+ id: string;
8179
+ label?: any | null;
8180
+ linked_tree?: {
8181
+ libraries: Array<{
8182
+ library: {
8183
+ id: string;
8184
+ };
8185
+ }>;
8186
+ } | null;
8121
8187
  }>;
8122
8188
  } | null;
8123
8189
  }>;
@@ -8148,6 +8214,41 @@ export type MeQuery = {
8148
8214
  };
8149
8215
  } | null;
8150
8216
  };
8217
+ export type TreeAttributeRemappingQueryVariables = Exact<{
8218
+ libraryId: Scalars['ID']['input'];
8219
+ attributeId: Scalars['ID']['input'];
8220
+ recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
8221
+ attributeDependentValue?: InputMaybe<AttributeDependentValueInput>;
8222
+ }>;
8223
+ export type TreeAttributeRemappingQuery = {
8224
+ listDistinctValues?: Array<{
8225
+ count: number;
8226
+ } | {
8227
+ count: number;
8228
+ treeNode?: {
8229
+ id: string;
8230
+ } | null;
8231
+ }> | null;
8232
+ attributes?: {
8233
+ list: Array<{
8234
+ tree_values?: Array<{
8235
+ node?: {
8236
+ id: string;
8237
+ record: {
8238
+ id: string;
8239
+ whoAmI: {
8240
+ label?: string | null;
8241
+ color?: string | null;
8242
+ };
8243
+ };
8244
+ } | null;
8245
+ allowedDependentValues?: Array<{
8246
+ nodeId?: string | null;
8247
+ }> | null;
8248
+ }> | null;
8249
+ }>;
8250
+ } | null;
8251
+ };
8151
8252
  export type UpdateViewMutationVariables = Exact<{
8152
8253
  view: ViewInputPartial;
8153
8254
  }>;
@@ -8212,18 +8313,21 @@ export type UpdateViewMutation = {
8212
8313
  }> | null;
8213
8314
  };
8214
8315
  };
8215
- export type ValuesOccurrencesQueryVariables = Exact<{
8316
+ export type ValuesOccurrencesForDependencyQueryVariables = Exact<{
8216
8317
  libraryId: Scalars['ID']['input'];
8217
- attributeId: Scalars['ID']['input'];
8318
+ dependencyAttributeId: Scalars['ID']['input'];
8218
8319
  recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
8219
8320
  }>;
8220
- export type ValuesOccurrencesQuery = {
8321
+ export type ValuesOccurrencesForDependencyQuery = {
8221
8322
  listDistinctValues?: Array<{
8222
- count: number;
8223
- } | {
8224
- count: number;
8225
8323
  treeNode?: {
8226
8324
  id: string;
8325
+ record: {
8326
+ id: string;
8327
+ whoAmI: {
8328
+ label?: string | null;
8329
+ };
8330
+ };
8227
8331
  } | null;
8228
8332
  }> | null;
8229
8333
  };
@@ -8256,7 +8360,7 @@ export type SmartFilterListValuesQueryVariables = Exact<{
8256
8360
  export type SmartFilterListValuesQuery = {
8257
8361
  listDistinctValues?: Array<{
8258
8362
  count: number;
8259
- value?: {
8363
+ recordValue?: {
8260
8364
  id: string;
8261
8365
  whoAmI: {
8262
8366
  id: string;
@@ -8270,6 +8374,11 @@ export type SmartFilterListValuesQuery = {
8270
8374
  };
8271
8375
  };
8272
8376
  } | null;
8377
+ } | {
8378
+ count: number;
8379
+ standardValue?: any | null;
8380
+ } | {
8381
+ count: number;
8273
8382
  }> | null;
8274
8383
  };
8275
8384
  export type FilterTreeDataQueryQueryVariables = Exact<{
@@ -10673,6 +10782,49 @@ export type MeQueryHookResult = ReturnType<typeof useMeQuery>;
10673
10782
  export type MeLazyQueryHookResult = ReturnType<typeof useMeLazyQuery>;
10674
10783
  export type MeSuspenseQueryHookResult = ReturnType<typeof useMeSuspenseQuery>;
10675
10784
  export type MeQueryResult = Apollo.QueryResult<MeQuery, MeQueryVariables>;
10785
+ export declare const TreeAttributeRemappingDocument: Apollo.DocumentNode;
10786
+ /**
10787
+ * __useTreeAttributeRemappingQuery__
10788
+ *
10789
+ * To run a query within a React component, call `useTreeAttributeRemappingQuery` and pass it any options that fit your needs.
10790
+ * When your component renders, `useTreeAttributeRemappingQuery` returns an object from Apollo Client that contains loading, error, and data properties
10791
+ * you can use to render your UI.
10792
+ *
10793
+ * @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;
10794
+ *
10795
+ * @example
10796
+ * const { data, loading, error } = useTreeAttributeRemappingQuery({
10797
+ * variables: {
10798
+ * libraryId: // value for 'libraryId'
10799
+ * attributeId: // value for 'attributeId'
10800
+ * recordFilters: // value for 'recordFilters'
10801
+ * attributeDependentValue: // value for 'attributeDependentValue'
10802
+ * },
10803
+ * });
10804
+ */
10805
+ export declare function useTreeAttributeRemappingQuery(baseOptions: Apollo.QueryHookOptions<TreeAttributeRemappingQuery, TreeAttributeRemappingQueryVariables> & ({
10806
+ variables: TreeAttributeRemappingQueryVariables;
10807
+ skip?: boolean;
10808
+ } | {
10809
+ skip: boolean;
10810
+ })): Apollo.InteropQueryResult<TreeAttributeRemappingQuery, Exact<{
10811
+ libraryId: Scalars["ID"]["input"];
10812
+ attributeId: Scalars["ID"]["input"];
10813
+ recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
10814
+ attributeDependentValue?: InputMaybe<AttributeDependentValueInput>;
10815
+ }>>;
10816
+ export declare function useTreeAttributeRemappingLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TreeAttributeRemappingQuery, TreeAttributeRemappingQueryVariables>): Apollo.LazyQueryResultTuple<TreeAttributeRemappingQuery, Exact<{
10817
+ libraryId: Scalars["ID"]["input"];
10818
+ attributeId: Scalars["ID"]["input"];
10819
+ recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
10820
+ attributeDependentValue?: InputMaybe<AttributeDependentValueInput>;
10821
+ }>>;
10822
+ export declare function useTreeAttributeRemappingSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<TreeAttributeRemappingQuery, TreeAttributeRemappingQueryVariables>): Apollo.UseSuspenseQueryResult<TreeAttributeRemappingQuery, TreeAttributeRemappingQueryVariables>;
10823
+ export declare function useTreeAttributeRemappingSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TreeAttributeRemappingQuery, TreeAttributeRemappingQueryVariables>): Apollo.UseSuspenseQueryResult<TreeAttributeRemappingQuery | undefined, TreeAttributeRemappingQueryVariables>;
10824
+ export type TreeAttributeRemappingQueryHookResult = ReturnType<typeof useTreeAttributeRemappingQuery>;
10825
+ export type TreeAttributeRemappingLazyQueryHookResult = ReturnType<typeof useTreeAttributeRemappingLazyQuery>;
10826
+ export type TreeAttributeRemappingSuspenseQueryHookResult = ReturnType<typeof useTreeAttributeRemappingSuspenseQuery>;
10827
+ export type TreeAttributeRemappingQueryResult = Apollo.QueryResult<TreeAttributeRemappingQuery, TreeAttributeRemappingQueryVariables>;
10676
10828
  export declare const UpdateViewDocument: Apollo.DocumentNode;
10677
10829
  export type UpdateViewMutationFn = Apollo.MutationFunction<UpdateViewMutation, UpdateViewMutationVariables>;
10678
10830
  /**
@@ -10698,46 +10850,46 @@ export declare function useUpdateViewMutation(baseOptions?: Apollo.MutationHookO
10698
10850
  export type UpdateViewMutationHookResult = ReturnType<typeof useUpdateViewMutation>;
10699
10851
  export type UpdateViewMutationResult = Apollo.MutationResult<UpdateViewMutation>;
10700
10852
  export type UpdateViewMutationOptions = Apollo.BaseMutationOptions<UpdateViewMutation, UpdateViewMutationVariables>;
10701
- export declare const ValuesOccurrencesDocument: Apollo.DocumentNode;
10853
+ export declare const ValuesOccurrencesForDependencyDocument: Apollo.DocumentNode;
10702
10854
  /**
10703
- * __useValuesOccurrencesQuery__
10855
+ * __useValuesOccurrencesForDependencyQuery__
10704
10856
  *
10705
- * To run a query within a React component, call `useValuesOccurrencesQuery` and pass it any options that fit your needs.
10706
- * When your component renders, `useValuesOccurrencesQuery` returns an object from Apollo Client that contains loading, error, and data properties
10857
+ * To run a query within a React component, call `useValuesOccurrencesForDependencyQuery` and pass it any options that fit your needs.
10858
+ * When your component renders, `useValuesOccurrencesForDependencyQuery` returns an object from Apollo Client that contains loading, error, and data properties
10707
10859
  * you can use to render your UI.
10708
10860
  *
10709
10861
  * @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;
10710
10862
  *
10711
10863
  * @example
10712
- * const { data, loading, error } = useValuesOccurrencesQuery({
10864
+ * const { data, loading, error } = useValuesOccurrencesForDependencyQuery({
10713
10865
  * variables: {
10714
10866
  * libraryId: // value for 'libraryId'
10715
- * attributeId: // value for 'attributeId'
10867
+ * dependencyAttributeId: // value for 'dependencyAttributeId'
10716
10868
  * recordFilters: // value for 'recordFilters'
10717
10869
  * },
10718
10870
  * });
10719
10871
  */
10720
- export declare function useValuesOccurrencesQuery(baseOptions: Apollo.QueryHookOptions<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables> & ({
10721
- variables: ValuesOccurrencesQueryVariables;
10872
+ export declare function useValuesOccurrencesForDependencyQuery(baseOptions: Apollo.QueryHookOptions<ValuesOccurrencesForDependencyQuery, ValuesOccurrencesForDependencyQueryVariables> & ({
10873
+ variables: ValuesOccurrencesForDependencyQueryVariables;
10722
10874
  skip?: boolean;
10723
10875
  } | {
10724
10876
  skip: boolean;
10725
- })): Apollo.InteropQueryResult<ValuesOccurrencesQuery, Exact<{
10877
+ })): Apollo.InteropQueryResult<ValuesOccurrencesForDependencyQuery, Exact<{
10726
10878
  libraryId: Scalars["ID"]["input"];
10727
- attributeId: Scalars["ID"]["input"];
10879
+ dependencyAttributeId: Scalars["ID"]["input"];
10728
10880
  recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
10729
10881
  }>>;
10730
- export declare function useValuesOccurrencesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables>): Apollo.LazyQueryResultTuple<ValuesOccurrencesQuery, Exact<{
10882
+ export declare function useValuesOccurrencesForDependencyLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ValuesOccurrencesForDependencyQuery, ValuesOccurrencesForDependencyQueryVariables>): Apollo.LazyQueryResultTuple<ValuesOccurrencesForDependencyQuery, Exact<{
10731
10883
  libraryId: Scalars["ID"]["input"];
10732
- attributeId: Scalars["ID"]["input"];
10884
+ dependencyAttributeId: Scalars["ID"]["input"];
10733
10885
  recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
10734
10886
  }>>;
10735
- export declare function useValuesOccurrencesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables>): Apollo.UseSuspenseQueryResult<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables>;
10736
- export declare function useValuesOccurrencesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables>): Apollo.UseSuspenseQueryResult<ValuesOccurrencesQuery | undefined, ValuesOccurrencesQueryVariables>;
10737
- export type ValuesOccurrencesQueryHookResult = ReturnType<typeof useValuesOccurrencesQuery>;
10738
- export type ValuesOccurrencesLazyQueryHookResult = ReturnType<typeof useValuesOccurrencesLazyQuery>;
10739
- export type ValuesOccurrencesSuspenseQueryHookResult = ReturnType<typeof useValuesOccurrencesSuspenseQuery>;
10740
- export type ValuesOccurrencesQueryResult = Apollo.QueryResult<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables>;
10887
+ export declare function useValuesOccurrencesForDependencySuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<ValuesOccurrencesForDependencyQuery, ValuesOccurrencesForDependencyQueryVariables>): Apollo.UseSuspenseQueryResult<ValuesOccurrencesForDependencyQuery, ValuesOccurrencesForDependencyQueryVariables>;
10888
+ export declare function useValuesOccurrencesForDependencySuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ValuesOccurrencesForDependencyQuery, ValuesOccurrencesForDependencyQueryVariables>): Apollo.UseSuspenseQueryResult<ValuesOccurrencesForDependencyQuery | undefined, ValuesOccurrencesForDependencyQueryVariables>;
10889
+ export type ValuesOccurrencesForDependencyQueryHookResult = ReturnType<typeof useValuesOccurrencesForDependencyQuery>;
10890
+ export type ValuesOccurrencesForDependencyLazyQueryHookResult = ReturnType<typeof useValuesOccurrencesForDependencyLazyQuery>;
10891
+ export type ValuesOccurrencesForDependencySuspenseQueryHookResult = ReturnType<typeof useValuesOccurrencesForDependencySuspenseQuery>;
10892
+ export type ValuesOccurrencesForDependencyQueryResult = Apollo.QueryResult<ValuesOccurrencesForDependencyQuery, ValuesOccurrencesForDependencyQueryVariables>;
10741
10893
  export declare const TreeFiltersDataQueryDocument: Apollo.DocumentNode;
10742
10894
  /**
10743
10895
  * __useTreeFiltersDataQueryQuery__