@leav/ui 1.12.0 → 1.13.0-2d58210a

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 (168) hide show
  1. package/dist/__mocks__/utils.d.ts +3 -0
  2. package/dist/__mocks__/utils.js +2 -0
  3. package/dist/__mocks__/utils.js.map +1 -0
  4. package/dist/_gqlTypes/index.d.ts +411 -90
  5. package/dist/_gqlTypes/index.js +276 -51
  6. package/dist/_gqlTypes/index.js.map +1 -1
  7. package/dist/_queries/attributes/attributeDetailsFragment.js +6 -0
  8. package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
  9. package/dist/components/Explorer/DataView.js +31 -14
  10. package/dist/components/Explorer/DataView.js.map +1 -1
  11. package/dist/components/Explorer/_constants.d.ts +0 -1
  12. package/dist/components/Explorer/_constants.js +0 -1
  13. package/dist/components/Explorer/_constants.js.map +1 -1
  14. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +22 -10
  15. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
  16. package/dist/components/Explorer/actions-mass/ResultsCount.js +2 -2
  17. package/dist/components/Explorer/actions-mass/ResultsCount.js.map +1 -1
  18. package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.d.ts +4 -9
  19. package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js +3 -11
  20. package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js.map +1 -1
  21. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.d.ts +8 -8
  22. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js +26 -13
  23. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js.map +1 -1
  24. package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.d.ts +7 -0
  25. package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.js +30 -0
  26. package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.js.map +1 -0
  27. package/dist/components/Explorer/actions-mass/edit-attribute/_types.d.ts +23 -0
  28. package/dist/components/Explorer/actions-mass/edit-attribute/_types.js +2 -0
  29. package/dist/components/Explorer/actions-mass/edit-attribute/_types.js.map +1 -0
  30. package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.d.ts +4 -0
  31. package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js +46 -0
  32. package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js.map +1 -0
  33. package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.d.ts +12 -0
  34. package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js +24 -0
  35. package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js.map +1 -0
  36. package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.d.ts +13 -0
  37. package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js +28 -0
  38. package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js.map +1 -0
  39. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +6 -10
  40. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
  41. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +5 -8
  42. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
  43. package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.d.ts +8 -2
  44. package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js +104 -72
  45. package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js.map +1 -1
  46. package/dist/components/Explorer/actions-mass/useMassActions.js +30 -19
  47. package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
  48. package/dist/components/Explorer/conditionsHelper.d.ts +2 -1
  49. package/dist/components/Explorer/conditionsHelper.js.map +1 -1
  50. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +2 -2
  51. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  52. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +6 -4
  53. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
  54. package/dist/components/Filters/_types.d.ts +17 -0
  55. package/dist/components/Filters/_types.js +2 -1
  56. package/dist/components/Filters/_types.js.map +1 -1
  57. package/dist/components/Filters/conditionsHelper.d.ts +2 -1
  58. package/dist/components/Filters/conditionsHelper.js.map +1 -1
  59. package/dist/components/Filters/context/filtersReducer.d.ts +6 -1
  60. package/dist/components/Filters/context/filtersReducer.js +45 -5
  61. package/dist/components/Filters/context/filtersReducer.js.map +1 -1
  62. package/dist/components/Filters/filter-items/CommonFilterItem.js +4 -1
  63. package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
  64. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +15 -3
  65. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
  66. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.d.ts +3 -1
  67. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +2 -2
  68. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
  69. package/dist/components/Filters/filter-items/filter-type/_types.d.ts +3 -1
  70. package/dist/components/Filters/filter-items/filter-type/_types.js.map +1 -1
  71. package/dist/components/Filters/filter-items/filter-type/smart-filter/SmartFilterAttributeDropdown.js +2 -3
  72. package/dist/components/Filters/filter-items/filter-type/smart-filter/SmartFilterAttributeDropdown.js.map +1 -1
  73. package/dist/components/Filters/filter-items/filter-type/smart-filter/useGetSmartFilterData.d.ts +2 -4
  74. package/dist/components/Filters/filter-items/filter-type/smart-filter/useGetSmartFilterData.js +22 -16
  75. package/dist/components/Filters/filter-items/filter-type/smart-filter/useGetSmartFilterData.js.map +1 -1
  76. package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js +39 -83
  77. package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js.map +1 -1
  78. package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.d.ts +1 -0
  79. package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.js.map +1 -1
  80. package/dist/components/Filters/filter-items/filter-type/tree/useTreeNodeSelection.d.ts +21 -0
  81. package/dist/components/Filters/filter-items/filter-type/tree/useTreeNodeSelection.js +85 -0
  82. package/dist/components/Filters/filter-items/filter-type/tree/useTreeNodeSelection.js.map +1 -0
  83. package/dist/components/Filters/filter-items/filter-type/tree/useTreePermissions.d.ts +8 -0
  84. package/dist/components/Filters/filter-items/filter-type/tree/useTreePermissions.js +40 -0
  85. package/dist/components/Filters/filter-items/filter-type/tree/useTreePermissions.js.map +1 -0
  86. package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.d.ts +2 -3
  87. package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js +2 -3
  88. package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js.map +1 -1
  89. package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.d.ts +1 -1
  90. package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.js +3 -4
  91. package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.js.map +1 -1
  92. package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
  93. package/dist/components/Filters/filter-items/shared/EmptyValueCheckbox.js +1 -7
  94. package/dist/components/Filters/filter-items/shared/EmptyValueCheckbox.js.map +1 -1
  95. package/dist/components/Filters/prepareFiltersForRequest.js +37 -14
  96. package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
  97. package/dist/components/Filters/useFilters.d.ts +510 -0
  98. package/dist/components/Filters/useTransformFilters.js +5 -2
  99. package/dist/components/Filters/useTransformFilters.js.map +1 -1
  100. package/dist/components/RecordEdition/EditRecord/EditRecord.js +8 -1
  101. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  102. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.d.ts +1 -4
  103. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js +5 -9
  104. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js.map +1 -1
  105. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +4 -8
  106. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
  107. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +1 -1
  108. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  109. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +4 -8
  110. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
  111. package/dist/constants.d.ts +1 -0
  112. package/dist/constants.js +1 -0
  113. package/dist/constants.js.map +1 -1
  114. package/dist/hooks/index.d.ts +4 -0
  115. package/dist/hooks/index.js +4 -0
  116. package/dist/hooks/index.js.map +1 -1
  117. package/dist/hooks/useConfirmModal/__mocks__/index.d.ts +1 -0
  118. package/dist/hooks/useConfirmModal/__mocks__/index.js +5 -0
  119. package/dist/hooks/useConfirmModal/__mocks__/index.js.map +1 -0
  120. package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.d.ts +3 -0
  121. package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js +7 -0
  122. package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js.map +1 -0
  123. package/dist/hooks/useConfirmModal/index.d.ts +1 -0
  124. package/dist/hooks/useConfirmModal/index.js +5 -0
  125. package/dist/hooks/useConfirmModal/index.js.map +1 -0
  126. package/dist/hooks/useConfirmModal/useConfirmModal.d.ts +7 -0
  127. package/dist/hooks/useConfirmModal/useConfirmModal.js +25 -0
  128. package/dist/hooks/useConfirmModal/useConfirmModal.js.map +1 -0
  129. package/dist/hooks/useGetRecordIdCard/index.d.ts +1 -0
  130. package/dist/hooks/useGetRecordIdCard/index.js +5 -0
  131. package/dist/hooks/useGetRecordIdCard/index.js.map +1 -0
  132. package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.d.ts +18 -0
  133. package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.js +20 -0
  134. package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.js.map +1 -0
  135. package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.d.ts +6 -0
  136. package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.js +8 -0
  137. package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.js.map +1 -0
  138. package/dist/hooks/useIFrameMessenger/types.d.ts +10 -3
  139. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  140. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +11 -2
  141. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +31 -10
  142. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
  143. package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.d.ts +13 -0
  144. package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js +59 -0
  145. package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js.map +1 -0
  146. package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.d.ts +13 -0
  147. package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.js +29 -0
  148. package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.js.map +1 -0
  149. package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +3 -0
  150. package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
  151. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +1 -0
  152. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +1 -0
  153. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
  154. package/dist/locales/en/shared.json +10 -5
  155. package/dist/locales/fr/shared.json +12 -7
  156. package/package.json +17 -17
  157. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.d.ts +0 -8
  158. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.js +0 -40
  159. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.js.map +0 -1
  160. package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.d.ts +0 -17
  161. package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.js +0 -42
  162. package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.js.map +0 -1
  163. package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.d.ts +0 -5
  164. package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.js +0 -20
  165. package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.js.map +0 -1
  166. package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.d.ts +0 -12
  167. package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.js +0 -30
  168. package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.js.map +0 -1
@@ -64,11 +64,80 @@ export var AttributesSortableFields;
64
64
  AttributesSortableFields["multiple_values"] = "multiple_values";
65
65
  AttributesSortableFields["type"] = "type";
66
66
  })(AttributesSortableFields || (AttributesSortableFields = {}));
67
+ export var AutomationRuleActions;
68
+ (function (AutomationRuleActions) {
69
+ AutomationRuleActions["condition"] = "condition";
70
+ AutomationRuleActions["error"] = "error";
71
+ AutomationRuleActions["jexlCalculation"] = "jexlCalculation";
72
+ AutomationRuleActions["log"] = "log";
73
+ AutomationRuleActions["modifyAttribute"] = "modifyAttribute";
74
+ AutomationRuleActions["notification"] = "notification";
75
+ })(AutomationRuleActions || (AutomationRuleActions = {}));
76
+ export var AutomationRuleEventAction;
77
+ (function (AutomationRuleEventAction) {
78
+ AutomationRuleEventAction["RECORD_INIT"] = "RECORD_INIT";
79
+ AutomationRuleEventAction["RECORD_SAVE"] = "RECORD_SAVE";
80
+ AutomationRuleEventAction["VALUE_SAVE"] = "VALUE_SAVE";
81
+ })(AutomationRuleEventAction || (AutomationRuleEventAction = {}));
82
+ export var AutomationRuleSortableFields;
83
+ (function (AutomationRuleSortableFields) {
84
+ AutomationRuleSortableFields["id"] = "id";
85
+ })(AutomationRuleSortableFields || (AutomationRuleSortableFields = {}));
86
+ export var AutomationTriggerDefSynchronicity;
87
+ (function (AutomationTriggerDefSynchronicity) {
88
+ AutomationTriggerDefSynchronicity["ASYNC"] = "ASYNC";
89
+ AutomationTriggerDefSynchronicity["BOTH"] = "BOTH";
90
+ AutomationTriggerDefSynchronicity["SYNC"] = "SYNC";
91
+ })(AutomationTriggerDefSynchronicity || (AutomationTriggerDefSynchronicity = {}));
92
+ export var AutomationTriggerDefTopics;
93
+ (function (AutomationTriggerDefTopics) {
94
+ AutomationTriggerDefTopics["ATTRIBUTE"] = "ATTRIBUTE";
95
+ AutomationTriggerDefTopics["LIBRARY"] = "LIBRARY";
96
+ })(AutomationTriggerDefTopics || (AutomationTriggerDefTopics = {}));
67
97
  export var AvailableLanguage;
68
98
  (function (AvailableLanguage) {
69
99
  AvailableLanguage["en"] = "en";
70
100
  AvailableLanguage["fr"] = "fr";
71
101
  })(AvailableLanguage || (AvailableLanguage = {}));
102
+ export var EventAction;
103
+ (function (EventAction) {
104
+ EventAction["API_KEY_DELETE"] = "API_KEY_DELETE";
105
+ EventAction["API_KEY_SAVE"] = "API_KEY_SAVE";
106
+ EventAction["APP_DELETE"] = "APP_DELETE";
107
+ EventAction["APP_SAVE"] = "APP_SAVE";
108
+ EventAction["ATTRIBUTE_DELETE"] = "ATTRIBUTE_DELETE";
109
+ EventAction["ATTRIBUTE_SAVE"] = "ATTRIBUTE_SAVE";
110
+ EventAction["AUTOMATION_PIPELINE_FAILURE"] = "AUTOMATION_PIPELINE_FAILURE";
111
+ EventAction["AUTOMATION_PIPELINE_SUCCESS"] = "AUTOMATION_PIPELINE_SUCCESS";
112
+ EventAction["AUTOMATION_RULE_CREATE"] = "AUTOMATION_RULE_CREATE";
113
+ EventAction["AUTOMATION_RULE_DELETE"] = "AUTOMATION_RULE_DELETE";
114
+ EventAction["AUTOMATION_RULE_UPDATE"] = "AUTOMATION_RULE_UPDATE";
115
+ EventAction["CONFIG_IMPORT_END"] = "CONFIG_IMPORT_END";
116
+ EventAction["CONFIG_IMPORT_START"] = "CONFIG_IMPORT_START";
117
+ EventAction["DATA_IMPORT_END"] = "DATA_IMPORT_END";
118
+ EventAction["DATA_IMPORT_START"] = "DATA_IMPORT_START";
119
+ EventAction["EXPORT_END"] = "EXPORT_END";
120
+ EventAction["EXPORT_START"] = "EXPORT_START";
121
+ EventAction["GLOBAL_SETTINGS_SAVE"] = "GLOBAL_SETTINGS_SAVE";
122
+ EventAction["LIBRARY_DELETE"] = "LIBRARY_DELETE";
123
+ EventAction["LIBRARY_PURGE"] = "LIBRARY_PURGE";
124
+ EventAction["LIBRARY_SAVE"] = "LIBRARY_SAVE";
125
+ EventAction["PERMISSION_SAVE"] = "PERMISSION_SAVE";
126
+ EventAction["PLANNING_RECONDUCTION_END"] = "PLANNING_RECONDUCTION_END";
127
+ EventAction["PLANNING_RECONDUCTION_START"] = "PLANNING_RECONDUCTION_START";
128
+ EventAction["RECORD_DELETE"] = "RECORD_DELETE";
129
+ EventAction["RECORD_SAVE"] = "RECORD_SAVE";
130
+ EventAction["TASKS_DELETE"] = "TASKS_DELETE";
131
+ EventAction["TREE_ADD_ELEMENT"] = "TREE_ADD_ELEMENT";
132
+ EventAction["TREE_DELETE"] = "TREE_DELETE";
133
+ EventAction["TREE_DELETE_ELEMENT"] = "TREE_DELETE_ELEMENT";
134
+ EventAction["TREE_MOVE_ELEMENT"] = "TREE_MOVE_ELEMENT";
135
+ EventAction["TREE_SAVE"] = "TREE_SAVE";
136
+ EventAction["VALUE_DELETE"] = "VALUE_DELETE";
137
+ EventAction["VALUE_SAVE"] = "VALUE_SAVE";
138
+ EventAction["VERSION_PROFILE_DELETE"] = "VERSION_PROFILE_DELETE";
139
+ EventAction["VERSION_PROFILE_SAVE"] = "VERSION_PROFILE_SAVE";
140
+ })(EventAction || (EventAction = {}));
72
141
  export var FileType;
73
142
  (function (FileType) {
74
143
  FileType["audio"] = "audio";
@@ -88,6 +157,17 @@ export var FormsSortableFields;
88
157
  FormsSortableFields["library"] = "library";
89
158
  FormsSortableFields["system"] = "system";
90
159
  })(FormsSortableFields || (FormsSortableFields = {}));
160
+ export var GenerationStatus;
161
+ (function (GenerationStatus) {
162
+ GenerationStatus["DONE"] = "DONE";
163
+ GenerationStatus["GENERATION_FAILED"] = "GENERATION_FAILED";
164
+ GenerationStatus["GENERATION_IN_PROGRESS"] = "GENERATION_IN_PROGRESS";
165
+ GenerationStatus["GENERATION_IN_PROGRESS_WITH_FAILURE"] = "GENERATION_IN_PROGRESS_WITH_FAILURE";
166
+ GenerationStatus["PREPARATION_FAILED"] = "PREPARATION_FAILED";
167
+ GenerationStatus["PREPARATION_IN_PROGRESS"] = "PREPARATION_IN_PROGRESS";
168
+ GenerationStatus["TRANSMISSION_FAILED"] = "TRANSMISSION_FAILED";
169
+ GenerationStatus["TRANSMISSION_IN_PROGRESS"] = "TRANSMISSION_IN_PROGRESS";
170
+ })(GenerationStatus || (GenerationStatus = {}));
91
171
  export var IoTypes;
92
172
  (function (IoTypes) {
93
173
  IoTypes["boolean"] = "boolean";
@@ -128,6 +208,11 @@ export var LogAction;
128
208
  LogAction["APP_SAVE"] = "APP_SAVE";
129
209
  LogAction["ATTRIBUTE_DELETE"] = "ATTRIBUTE_DELETE";
130
210
  LogAction["ATTRIBUTE_SAVE"] = "ATTRIBUTE_SAVE";
211
+ LogAction["AUTOMATION_PIPELINE_FAILURE"] = "AUTOMATION_PIPELINE_FAILURE";
212
+ LogAction["AUTOMATION_PIPELINE_SUCCESS"] = "AUTOMATION_PIPELINE_SUCCESS";
213
+ LogAction["AUTOMATION_RULE_CREATE"] = "AUTOMATION_RULE_CREATE";
214
+ LogAction["AUTOMATION_RULE_DELETE"] = "AUTOMATION_RULE_DELETE";
215
+ LogAction["AUTOMATION_RULE_UPDATE"] = "AUTOMATION_RULE_UPDATE";
131
216
  LogAction["CONFIG_IMPORT_END"] = "CONFIG_IMPORT_END";
132
217
  LogAction["CONFIG_IMPORT_START"] = "CONFIG_IMPORT_START";
133
218
  LogAction["DATA_IMPORT_END"] = "DATA_IMPORT_END";
@@ -139,6 +224,8 @@ export var LogAction;
139
224
  LogAction["LIBRARY_PURGE"] = "LIBRARY_PURGE";
140
225
  LogAction["LIBRARY_SAVE"] = "LIBRARY_SAVE";
141
226
  LogAction["PERMISSION_SAVE"] = "PERMISSION_SAVE";
227
+ LogAction["PLANNING_RECONDUCTION_END"] = "PLANNING_RECONDUCTION_END";
228
+ LogAction["PLANNING_RECONDUCTION_START"] = "PLANNING_RECONDUCTION_START";
142
229
  LogAction["RECORD_DELETE"] = "RECORD_DELETE";
143
230
  LogAction["RECORD_SAVE"] = "RECORD_SAVE";
144
231
  LogAction["TASKS_DELETE"] = "TASKS_DELETE";
@@ -230,6 +317,7 @@ export var PermissionsActions;
230
317
  PermissionsActions["admin_import_config_clear_database"] = "admin_import_config_clear_database";
231
318
  PermissionsActions["admin_library"] = "admin_library";
232
319
  PermissionsActions["admin_list_plugins"] = "admin_list_plugins";
320
+ PermissionsActions["admin_manage_automation"] = "admin_manage_automation";
233
321
  PermissionsActions["admin_manage_global_preferences"] = "admin_manage_global_preferences";
234
322
  PermissionsActions["create_record"] = "create_record";
235
323
  PermissionsActions["delete_record"] = "delete_record";
@@ -430,6 +518,9 @@ export const AttributeDetailsFragmentDoc = gql `
430
518
  }
431
519
  ... on StandardAttribute {
432
520
  unique
521
+ smart_filter {
522
+ enable
523
+ }
433
524
  }
434
525
  ... on LinkAttribute {
435
526
  linked_library {
@@ -439,6 +530,9 @@ export const AttributeDetailsFragmentDoc = gql `
439
530
  reverse_link
440
531
  smart_filter {
441
532
  enable
533
+ through {
534
+ id
535
+ }
442
536
  }
443
537
  }
444
538
  ... on TreeAttribute {
@@ -980,6 +1074,9 @@ export const AttributesByLibLinkAttributeWithPermissionsFragmentDoc = gql `
980
1074
  }
981
1075
  smart_filter {
982
1076
  enable
1077
+ through {
1078
+ id
1079
+ }
983
1080
  }
984
1081
  }
985
1082
  ${RecordIdentityFragmentDoc}`;
@@ -1038,6 +1135,9 @@ export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
1038
1135
  }
1039
1136
  }
1040
1137
  }
1138
+ smart_filter {
1139
+ enable
1140
+ }
1041
1141
  }
1042
1142
  }
1043
1143
  ${AttributesByLibLinkAttributeWithPermissionsFragmentDoc}`;
@@ -1065,6 +1165,9 @@ export const LinkAttributeDetailsFragmentDoc = gql `
1065
1165
  }
1066
1166
  smart_filter {
1067
1167
  enable
1168
+ through {
1169
+ id
1170
+ }
1068
1171
  }
1069
1172
  }
1070
1173
  `;
@@ -1095,6 +1198,9 @@ export const StandardAttributeDetailsFragmentDoc = gql `
1095
1198
  values
1096
1199
  }
1097
1200
  }
1201
+ smart_filter {
1202
+ enable
1203
+ }
1098
1204
  }
1099
1205
  `;
1100
1206
  export const AttributePropertiesFragmentDoc = gql `
@@ -2753,6 +2859,58 @@ export function usePurgeRecordMutation(baseOptions) {
2753
2859
  const options = { ...defaultOptions, ...baseOptions };
2754
2860
  return Apollo.useMutation(PurgeRecordDocument, options);
2755
2861
  }
2862
+ export const GetRecordIdCardDocument = gql `
2863
+ query GetRecordIdCard($id: String, $libraryId: ID!) {
2864
+ records(
2865
+ library: $libraryId
2866
+ filters: [{field: "id", condition: EQUAL, value: $id}]
2867
+ ) {
2868
+ list {
2869
+ id
2870
+ whoAmI {
2871
+ id
2872
+ color
2873
+ label
2874
+ subLabel
2875
+ preview
2876
+ parentContext {
2877
+ id
2878
+ label
2879
+ }
2880
+ }
2881
+ }
2882
+ }
2883
+ }
2884
+ `;
2885
+ /**
2886
+ * __useGetRecordIdCardQuery__
2887
+ *
2888
+ * To run a query within a React component, call `useGetRecordIdCardQuery` and pass it any options that fit your needs.
2889
+ * When your component renders, `useGetRecordIdCardQuery` returns an object from Apollo Client that contains loading, error, and data properties
2890
+ * you can use to render your UI.
2891
+ *
2892
+ * @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;
2893
+ *
2894
+ * @example
2895
+ * const { data, loading, error } = useGetRecordIdCardQuery({
2896
+ * variables: {
2897
+ * id: // value for 'id'
2898
+ * libraryId: // value for 'libraryId'
2899
+ * },
2900
+ * });
2901
+ */
2902
+ export function useGetRecordIdCardQuery(baseOptions) {
2903
+ const options = { ...defaultOptions, ...baseOptions };
2904
+ return Apollo.useQuery(GetRecordIdCardDocument, options);
2905
+ }
2906
+ export function useGetRecordIdCardLazyQuery(baseOptions) {
2907
+ const options = { ...defaultOptions, ...baseOptions };
2908
+ return Apollo.useLazyQuery(GetRecordIdCardDocument, options);
2909
+ }
2910
+ export function useGetRecordIdCardSuspenseQuery(baseOptions) {
2911
+ const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
2912
+ return Apollo.useSuspenseQuery(GetRecordIdCardDocument, options);
2913
+ }
2756
2914
  export const CancelTaskDocument = gql `
2757
2915
  mutation CANCEL_TASK($taskId: ID!) {
2758
2916
  cancelTask(taskId: $taskId)
@@ -3196,12 +3354,12 @@ export function useSaveValueBatchMutation(baseOptions) {
3196
3354
  return Apollo.useMutation(SaveValueBatchDocument, options);
3197
3355
  }
3198
3356
  export const SaveValueBulkDocument = gql `
3199
- mutation SAVE_VALUE_BULK($libraryId: ID!, $recordsFilters: [RecordFilterInput]!, $attributeId: ID!, $mapValues: [MapValueInput!]!) {
3357
+ mutation SAVE_VALUE_BULK($libraryId: ID!, $recordsFilters: [RecordFilterInput]!, $attributeId: ID!, $mapping: [SaveValueBulkMappingInput!]!) {
3200
3358
  saveValueBulk(
3201
3359
  libraryId: $libraryId
3202
3360
  recordsFilters: $recordsFilters
3203
3361
  attributeId: $attributeId
3204
- mapValues: $mapValues
3362
+ mapping: $mapping
3205
3363
  )
3206
3364
  }
3207
3365
  `;
@@ -3221,7 +3379,7 @@ export const SaveValueBulkDocument = gql `
3221
3379
  * libraryId: // value for 'libraryId'
3222
3380
  * recordsFilters: // value for 'recordsFilters'
3223
3381
  * attributeId: // value for 'attributeId'
3224
- * mapValues: // value for 'mapValues'
3382
+ * mapping: // value for 'mapping'
3225
3383
  * },
3226
3384
  * });
3227
3385
  */
@@ -3526,52 +3684,6 @@ export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
3526
3684
  const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
3527
3685
  return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
3528
3686
  }
3529
- export const CountValuesOccurrencesDocument = gql `
3530
- query CountValuesOccurrences($library: ID!, $attribute: ID!, $recordFilters: [RecordFilterInput]) {
3531
- listDistinctValues(
3532
- library: $library
3533
- attribute: $attribute
3534
- recordFilters: $recordFilters
3535
- ) {
3536
- count
3537
- ... on TreeDistinctValues {
3538
- treeNode: value {
3539
- id
3540
- }
3541
- }
3542
- }
3543
- }
3544
- `;
3545
- /**
3546
- * __useCountValuesOccurrencesQuery__
3547
- *
3548
- * To run a query within a React component, call `useCountValuesOccurrencesQuery` and pass it any options that fit your needs.
3549
- * When your component renders, `useCountValuesOccurrencesQuery` returns an object from Apollo Client that contains loading, error, and data properties
3550
- * you can use to render your UI.
3551
- *
3552
- * @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;
3553
- *
3554
- * @example
3555
- * const { data, loading, error } = useCountValuesOccurrencesQuery({
3556
- * variables: {
3557
- * library: // value for 'library'
3558
- * attribute: // value for 'attribute'
3559
- * recordFilters: // value for 'recordFilters'
3560
- * },
3561
- * });
3562
- */
3563
- export function useCountValuesOccurrencesQuery(baseOptions) {
3564
- const options = { ...defaultOptions, ...baseOptions };
3565
- return Apollo.useQuery(CountValuesOccurrencesDocument, options);
3566
- }
3567
- export function useCountValuesOccurrencesLazyQuery(baseOptions) {
3568
- const options = { ...defaultOptions, ...baseOptions };
3569
- return Apollo.useLazyQuery(CountValuesOccurrencesDocument, options);
3570
- }
3571
- export function useCountValuesOccurrencesSuspenseQuery(baseOptions) {
3572
- const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
3573
- return Apollo.useSuspenseQuery(CountValuesOccurrencesDocument, options);
3574
- }
3575
3687
  export const ExplorerLibraryCountDataDocument = gql `
3576
3688
  query ExplorerLibraryCountData($libraryId: ID!, $filters: [RecordFilterInput]) {
3577
3689
  records(library: $libraryId, filters: $filters) {
@@ -3858,6 +3970,70 @@ export function useLibraryExportProfilesSuspenseQuery(baseOptions) {
3858
3970
  const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
3859
3971
  return Apollo.useSuspenseQuery(LibraryExportProfilesDocument, options);
3860
3972
  }
3973
+ export const MassEditableAttributesDocument = gql `
3974
+ query MassEditableAttributes($libraryId: String!) {
3975
+ attributes(
3976
+ filters: {multiple_values: false, type: tree, libraries: [$libraryId]}
3977
+ ) {
3978
+ list {
3979
+ id
3980
+ label
3981
+ ... on TreeAttribute {
3982
+ id
3983
+ tree_values {
3984
+ node {
3985
+ id
3986
+ record {
3987
+ id
3988
+ whoAmI {
3989
+ label
3990
+ color
3991
+ }
3992
+ }
3993
+ }
3994
+ allowedDependentValues {
3995
+ nodeId
3996
+ }
3997
+ }
3998
+ permissions_conf_dependent_values {
3999
+ dependenciesTreeAttributes {
4000
+ id
4001
+ label
4002
+ }
4003
+ }
4004
+ }
4005
+ }
4006
+ }
4007
+ }
4008
+ `;
4009
+ /**
4010
+ * __useMassEditableAttributesQuery__
4011
+ *
4012
+ * To run a query within a React component, call `useMassEditableAttributesQuery` and pass it any options that fit your needs.
4013
+ * When your component renders, `useMassEditableAttributesQuery` returns an object from Apollo Client that contains loading, error, and data properties
4014
+ * you can use to render your UI.
4015
+ *
4016
+ * @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;
4017
+ *
4018
+ * @example
4019
+ * const { data, loading, error } = useMassEditableAttributesQuery({
4020
+ * variables: {
4021
+ * libraryId: // value for 'libraryId'
4022
+ * },
4023
+ * });
4024
+ */
4025
+ export function useMassEditableAttributesQuery(baseOptions) {
4026
+ const options = { ...defaultOptions, ...baseOptions };
4027
+ return Apollo.useQuery(MassEditableAttributesDocument, options);
4028
+ }
4029
+ export function useMassEditableAttributesLazyQuery(baseOptions) {
4030
+ const options = { ...defaultOptions, ...baseOptions };
4031
+ return Apollo.useLazyQuery(MassEditableAttributesDocument, options);
4032
+ }
4033
+ export function useMassEditableAttributesSuspenseQuery(baseOptions) {
4034
+ const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
4035
+ return Apollo.useSuspenseQuery(MassEditableAttributesDocument, options);
4036
+ }
3861
4037
  export const ExplorerSelectionIdsDocument = gql `
3862
4038
  query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
3863
4039
  records(library: $libraryId, filters: $filters) {
@@ -3964,6 +4140,52 @@ export function useUpdateViewMutation(baseOptions) {
3964
4140
  const options = { ...defaultOptions, ...baseOptions };
3965
4141
  return Apollo.useMutation(UpdateViewDocument, options);
3966
4142
  }
4143
+ export const ValuesOccurrencesDocument = gql `
4144
+ query ValuesOccurrences($libraryId: ID!, $attributeId: ID!, $recordFilters: [RecordFilterInput]!) {
4145
+ listDistinctValues(
4146
+ library: $libraryId
4147
+ attribute: $attributeId
4148
+ recordFilters: $recordFilters
4149
+ ) {
4150
+ count
4151
+ ... on TreeDistinctValues {
4152
+ treeNode: value {
4153
+ id
4154
+ }
4155
+ }
4156
+ }
4157
+ }
4158
+ `;
4159
+ /**
4160
+ * __useValuesOccurrencesQuery__
4161
+ *
4162
+ * To run a query within a React component, call `useValuesOccurrencesQuery` and pass it any options that fit your needs.
4163
+ * When your component renders, `useValuesOccurrencesQuery` returns an object from Apollo Client that contains loading, error, and data properties
4164
+ * you can use to render your UI.
4165
+ *
4166
+ * @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;
4167
+ *
4168
+ * @example
4169
+ * const { data, loading, error } = useValuesOccurrencesQuery({
4170
+ * variables: {
4171
+ * libraryId: // value for 'libraryId'
4172
+ * attributeId: // value for 'attributeId'
4173
+ * recordFilters: // value for 'recordFilters'
4174
+ * },
4175
+ * });
4176
+ */
4177
+ export function useValuesOccurrencesQuery(baseOptions) {
4178
+ const options = { ...defaultOptions, ...baseOptions };
4179
+ return Apollo.useQuery(ValuesOccurrencesDocument, options);
4180
+ }
4181
+ export function useValuesOccurrencesLazyQuery(baseOptions) {
4182
+ const options = { ...defaultOptions, ...baseOptions };
4183
+ return Apollo.useLazyQuery(ValuesOccurrencesDocument, options);
4184
+ }
4185
+ export function useValuesOccurrencesSuspenseQuery(baseOptions) {
4186
+ const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
4187
+ return Apollo.useSuspenseQuery(ValuesOccurrencesDocument, options);
4188
+ }
3967
4189
  export const TreeFiltersDataQueryDocument = gql `
3968
4190
  query TreeFiltersDataQuery($treeId: ID!, $startAt: ID, $accessRecordByDefaultPermission: AccessRecordByDefaultPermissionInput) {
3969
4191
  treeContent(
@@ -4023,12 +4245,15 @@ export const SmartFilterListValuesDocument = gql `
4023
4245
  attribute: $attribute
4024
4246
  recordFilters: $recordFilters
4025
4247
  ) {
4248
+ count
4026
4249
  ... on LinkDistinctValues {
4027
- count
4028
- value {
4250
+ recordValue: value {
4029
4251
  ...RecordIdentity
4030
4252
  }
4031
4253
  }
4254
+ ... on StandardDistinctValues {
4255
+ standardValue: value
4256
+ }
4032
4257
  }
4033
4258
  }
4034
4259
  ${RecordIdentityFragmentDoc}`;