@leav/ui 1.12.0-c87727ff → 1.12.0-ce39d7e4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__mocks__/utils.d.ts +3 -0
- package/dist/__mocks__/utils.js +2 -0
- package/dist/__mocks__/utils.js.map +1 -0
- package/dist/_gqlTypes/index.d.ts +243 -94
- package/dist/_gqlTypes/index.js +190 -48
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/components/Explorer/_constants.d.ts +0 -1
- package/dist/components/Explorer/_constants.js +0 -1
- package/dist/components/Explorer/_constants.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +5 -9
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.d.ts +4 -9
- package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js +3 -11
- package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.d.ts +8 -8
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js +26 -13
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.d.ts +7 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.js +30 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/_types.d.ts +23 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/_types.js +2 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/_types.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.d.ts +4 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js +46 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.d.ts +12 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js +24 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.d.ts +13 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js +28 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +6 -10
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +5 -8
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.d.ts +8 -2
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js +104 -80
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js +30 -19
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
- package/dist/components/Explorer/conditionsHelper.d.ts +2 -1
- package/dist/components/Explorer/conditionsHelper.js.map +1 -1
- package/dist/components/Filters/conditionsHelper.d.ts +2 -1
- package/dist/components/Filters/conditionsHelper.js.map +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Filters/useTransformFilters.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.d.ts +1 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js +5 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +4 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +4 -8
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/constants.js.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useConfirmModal/__mocks__/index.d.ts +1 -0
- package/dist/hooks/useConfirmModal/__mocks__/index.js +5 -0
- package/dist/hooks/useConfirmModal/__mocks__/index.js.map +1 -0
- package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.d.ts +3 -0
- package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js +7 -0
- package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js.map +1 -0
- package/dist/hooks/useConfirmModal/index.d.ts +1 -0
- package/dist/hooks/useConfirmModal/index.js +5 -0
- package/dist/hooks/useConfirmModal/index.js.map +1 -0
- package/dist/hooks/useConfirmModal/useConfirmModal.d.ts +7 -0
- package/dist/hooks/useConfirmModal/useConfirmModal.js +25 -0
- package/dist/hooks/useConfirmModal/useConfirmModal.js.map +1 -0
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
- package/dist/locales/en/shared.json +6 -4
- package/dist/locales/fr/shared.json +8 -6
- package/package.json +6 -6
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.d.ts +0 -8
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.js +0 -40
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.js.map +0 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.d.ts +0 -17
- package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.js +0 -42
- package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.js.map +0 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.d.ts +0 -5
- package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.js +0 -20
- package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.js.map +0 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.d.ts +0 -12
- package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.js +0 -30
- package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/__mocks__/utils.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nexport type Mockify<T> = {\n [P in keyof T]?: T[P] extends (...args: any[]) => any\n ? jest.Mock<ReturnType<T[P]> extends never ? never : any>\n : T[P];\n};\n"]}
|
|
@@ -243,39 +243,80 @@ export declare enum AttributesSortableFields {
|
|
|
243
243
|
multiple_values = "multiple_values",
|
|
244
244
|
type = "type"
|
|
245
245
|
}
|
|
246
|
+
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
|
+
RECORD_INIT = "RECORD_INIT",
|
|
268
|
+
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"
|
|
279
|
+
}
|
|
246
280
|
export declare enum AutomationRuleSortableFields {
|
|
247
281
|
id = "id"
|
|
248
282
|
}
|
|
283
|
+
export type AutomationRuleTriggerInput = {
|
|
284
|
+
eventAction: AutomationRuleEventAction;
|
|
285
|
+
eventTopic?: InputMaybe<EventTopicInput>;
|
|
286
|
+
synchronous: Scalars['Boolean']['input'];
|
|
287
|
+
};
|
|
249
288
|
export type AutomationRulesFiltersInput = {
|
|
289
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
250
290
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
251
291
|
label?: InputMaybe<Scalars['String']['input']>;
|
|
292
|
+
trigger?: InputMaybe<PartialAutomationRuleTriggerInput>;
|
|
252
293
|
};
|
|
253
294
|
export type AutomationRulesSortInput = {
|
|
254
295
|
field: AutomationRuleSortableFields;
|
|
255
296
|
order?: InputMaybe<SortOrder>;
|
|
256
297
|
};
|
|
298
|
+
export declare enum AutomationTriggerDefSynchronicity {
|
|
299
|
+
ASYNC = "ASYNC",
|
|
300
|
+
BOTH = "BOTH",
|
|
301
|
+
SYNC = "SYNC"
|
|
302
|
+
}
|
|
303
|
+
export declare enum AutomationTriggerDefTopics {
|
|
304
|
+
ATTRIBUTE = "ATTRIBUTE",
|
|
305
|
+
LIBRARY = "LIBRARY"
|
|
306
|
+
}
|
|
257
307
|
export declare enum AvailableLanguage {
|
|
258
308
|
en = "en",
|
|
259
309
|
fr = "fr"
|
|
260
310
|
}
|
|
261
|
-
export type CampaignToRenew = {
|
|
262
|
-
endDate: Scalars['String']['input'];
|
|
263
|
-
id: Scalars['String']['input'];
|
|
264
|
-
startDate: Scalars['String']['input'];
|
|
265
|
-
};
|
|
266
|
-
export type CampaignToUpdateDates = {
|
|
267
|
-
endDate: Scalars['String']['input'];
|
|
268
|
-
id: Scalars['String']['input'];
|
|
269
|
-
startDate: Scalars['String']['input'];
|
|
270
|
-
};
|
|
271
311
|
export type ChildrenAsRecordValuePermissionFilterInput = {
|
|
272
312
|
action: RecordPermissionsActions;
|
|
273
313
|
attributeId: Scalars['ID']['input'];
|
|
274
314
|
libraryId: Scalars['ID']['input'];
|
|
275
315
|
};
|
|
276
316
|
export type CreateAutomationRuleInput = {
|
|
277
|
-
description?: InputMaybe<Scalars['
|
|
278
|
-
label: Scalars['
|
|
317
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
318
|
+
label: Scalars['String']['input'];
|
|
319
|
+
trigger: AutomationRuleTriggerInput;
|
|
279
320
|
};
|
|
280
321
|
export type CreateRecordDataInput = {
|
|
281
322
|
values?: InputMaybe<Array<ValueBatchInput>>;
|
|
@@ -312,6 +353,59 @@ export type EmbeddedAttributeInput = {
|
|
|
312
353
|
label?: InputMaybe<Scalars['SystemTranslation']['input']>;
|
|
313
354
|
validation_regex?: InputMaybe<Scalars['String']['input']>;
|
|
314
355
|
};
|
|
356
|
+
export declare enum EventAction {
|
|
357
|
+
API_KEY_DELETE = "API_KEY_DELETE",
|
|
358
|
+
API_KEY_SAVE = "API_KEY_SAVE",
|
|
359
|
+
APP_DELETE = "APP_DELETE",
|
|
360
|
+
APP_SAVE = "APP_SAVE",
|
|
361
|
+
ATTRIBUTE_DELETE = "ATTRIBUTE_DELETE",
|
|
362
|
+
ATTRIBUTE_SAVE = "ATTRIBUTE_SAVE",
|
|
363
|
+
AUTOMATION_RULE_CREATE = "AUTOMATION_RULE_CREATE",
|
|
364
|
+
AUTOMATION_RULE_UPDATE = "AUTOMATION_RULE_UPDATE",
|
|
365
|
+
CONFIG_IMPORT_END = "CONFIG_IMPORT_END",
|
|
366
|
+
CONFIG_IMPORT_START = "CONFIG_IMPORT_START",
|
|
367
|
+
DATA_IMPORT_END = "DATA_IMPORT_END",
|
|
368
|
+
DATA_IMPORT_START = "DATA_IMPORT_START",
|
|
369
|
+
EXPORT_END = "EXPORT_END",
|
|
370
|
+
EXPORT_START = "EXPORT_START",
|
|
371
|
+
GLOBAL_SETTINGS_SAVE = "GLOBAL_SETTINGS_SAVE",
|
|
372
|
+
LIBRARY_DELETE = "LIBRARY_DELETE",
|
|
373
|
+
LIBRARY_PURGE = "LIBRARY_PURGE",
|
|
374
|
+
LIBRARY_SAVE = "LIBRARY_SAVE",
|
|
375
|
+
PERMISSION_SAVE = "PERMISSION_SAVE",
|
|
376
|
+
RECORD_DELETE = "RECORD_DELETE",
|
|
377
|
+
RECORD_SAVE = "RECORD_SAVE",
|
|
378
|
+
TASKS_DELETE = "TASKS_DELETE",
|
|
379
|
+
TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
|
|
380
|
+
TREE_DELETE = "TREE_DELETE",
|
|
381
|
+
TREE_DELETE_ELEMENT = "TREE_DELETE_ELEMENT",
|
|
382
|
+
TREE_MOVE_ELEMENT = "TREE_MOVE_ELEMENT",
|
|
383
|
+
TREE_SAVE = "TREE_SAVE",
|
|
384
|
+
VALUE_DELETE = "VALUE_DELETE",
|
|
385
|
+
VALUE_SAVE = "VALUE_SAVE",
|
|
386
|
+
VERSION_PROFILE_DELETE = "VERSION_PROFILE_DELETE",
|
|
387
|
+
VERSION_PROFILE_SAVE = "VERSION_PROFILE_SAVE"
|
|
388
|
+
}
|
|
389
|
+
export type EventTopicInput = {
|
|
390
|
+
apiKey?: InputMaybe<Scalars['String']['input']>;
|
|
391
|
+
application?: InputMaybe<Scalars['String']['input']>;
|
|
392
|
+
attribute?: InputMaybe<Scalars['String']['input']>;
|
|
393
|
+
automationRule?: InputMaybe<Scalars['String']['input']>;
|
|
394
|
+
filename?: InputMaybe<Scalars['String']['input']>;
|
|
395
|
+
library?: InputMaybe<Scalars['String']['input']>;
|
|
396
|
+
permission?: InputMaybe<EventTopicPermissionInput>;
|
|
397
|
+
profile?: InputMaybe<Scalars['String']['input']>;
|
|
398
|
+
record?: InputMaybe<EventTopicRecordInput>;
|
|
399
|
+
tree?: InputMaybe<Scalars['String']['input']>;
|
|
400
|
+
};
|
|
401
|
+
export type EventTopicPermissionInput = {
|
|
402
|
+
applyTo?: InputMaybe<Scalars['String']['input']>;
|
|
403
|
+
id: Scalars['String']['input'];
|
|
404
|
+
};
|
|
405
|
+
export type EventTopicRecordInput = {
|
|
406
|
+
id: Scalars['String']['input'];
|
|
407
|
+
libraryId: Scalars['String']['input'];
|
|
408
|
+
};
|
|
315
409
|
export type FileInput = {
|
|
316
410
|
data: Scalars['Upload']['input'];
|
|
317
411
|
replace?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -531,6 +625,11 @@ export type Pagination = {
|
|
|
531
625
|
limit: Scalars['Int']['input'];
|
|
532
626
|
offset: Scalars['Int']['input'];
|
|
533
627
|
};
|
|
628
|
+
export type PartialAutomationRuleTriggerInput = {
|
|
629
|
+
eventAction?: InputMaybe<AutomationRuleEventAction>;
|
|
630
|
+
eventTopic?: InputMaybe<EventTopicInput>;
|
|
631
|
+
synchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
632
|
+
};
|
|
534
633
|
export type PermissionActionInput = {
|
|
535
634
|
allowed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
536
635
|
name: PermissionsActions;
|
|
@@ -690,6 +789,11 @@ export type RecordInput = {
|
|
|
690
789
|
id: Scalars['ID']['input'];
|
|
691
790
|
library: Scalars['String']['input'];
|
|
692
791
|
};
|
|
792
|
+
export type RecordNewCommentFilterInput = {
|
|
793
|
+
ignoreOwnEvents?: InputMaybe<Scalars['Boolean']['input']>;
|
|
794
|
+
libraries?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
795
|
+
records?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
796
|
+
};
|
|
693
797
|
export declare enum RecordPermissionsActions {
|
|
694
798
|
access_record = "access_record",
|
|
695
799
|
access_record_by_default = "access_record_by_default",
|
|
@@ -711,25 +815,6 @@ export type RecordsPagination = {
|
|
|
711
815
|
limit: Scalars['Int']['input'];
|
|
712
816
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
713
817
|
};
|
|
714
|
-
export type ReportFramingAttributeFilterItemInput = {
|
|
715
|
-
attributeId: Scalars['String']['input'];
|
|
716
|
-
values: Array<ReportFramingAttributeFilterValueItemInput>;
|
|
717
|
-
withEmptyValues?: InputMaybe<Scalars['Boolean']['input']>;
|
|
718
|
-
};
|
|
719
|
-
export type ReportFramingAttributeFilterValueItemInput = {
|
|
720
|
-
formattedValue?: InputMaybe<Scalars['String']['input']>;
|
|
721
|
-
rawValue: Scalars['String']['input'];
|
|
722
|
-
};
|
|
723
|
-
export type ReportFramingContentInput = {
|
|
724
|
-
filters?: InputMaybe<ReportFramingFiltersInput>;
|
|
725
|
-
};
|
|
726
|
-
export type ReportFramingFiltersInput = {
|
|
727
|
-
/** only for excel header filter display */
|
|
728
|
-
attributes?: InputMaybe<Array<ReportFramingAttributeFilterItemInput>>;
|
|
729
|
-
campaigns?: InputMaybe<Array<RecordFilterInput>>;
|
|
730
|
-
categories?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
731
|
-
search?: InputMaybe<Scalars['String']['input']>;
|
|
732
|
-
};
|
|
733
818
|
export type SaveValueBulkMappingInput = {
|
|
734
819
|
dependenciesFilters?: InputMaybe<Array<InputMaybe<RecordFilterInput>>>;
|
|
735
820
|
values: Array<SaveValueBulkMappingValueInput>;
|
|
@@ -801,18 +886,12 @@ export declare enum TaskStatus {
|
|
|
801
886
|
}
|
|
802
887
|
export declare enum TaskType {
|
|
803
888
|
EXPORT = "EXPORT",
|
|
804
|
-
FRAMING_REPORT = "FRAMING_REPORT",
|
|
805
889
|
IMPORT_CONFIG = "IMPORT_CONFIG",
|
|
806
890
|
IMPORT_DATA = "IMPORT_DATA",
|
|
807
891
|
INDEXATION = "INDEXATION",
|
|
808
892
|
PURGE_MULTIPLE_VALUES = "PURGE_MULTIPLE_VALUES",
|
|
809
|
-
RENEW_CAMPAIGNS = "RENEW_CAMPAIGNS",
|
|
810
893
|
SAVE_VALUE_BULK = "SAVE_VALUE_BULK"
|
|
811
894
|
}
|
|
812
|
-
export type ThematicToRenew = {
|
|
813
|
-
campaignId: Scalars['String']['input'];
|
|
814
|
-
thematicId: Scalars['String']['input'];
|
|
815
|
-
};
|
|
816
895
|
export declare enum TreeBehavior {
|
|
817
896
|
files = "files",
|
|
818
897
|
standard = "standard"
|
|
@@ -875,9 +954,10 @@ export declare enum TreesSortableFields {
|
|
|
875
954
|
}
|
|
876
955
|
export type UpdateAutomationRuleInput = {
|
|
877
956
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
878
|
-
description?: InputMaybe<Scalars['
|
|
957
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
879
958
|
id: Scalars['ID']['input'];
|
|
880
|
-
label?: InputMaybe<Scalars['
|
|
959
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
960
|
+
trigger?: InputMaybe<PartialAutomationRuleTriggerInput>;
|
|
881
961
|
};
|
|
882
962
|
export type UploadFiltersInput = {
|
|
883
963
|
uid?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -7752,21 +7832,6 @@ export type ExplorerLinkAttributeQuery = {
|
|
|
7752
7832
|
}>;
|
|
7753
7833
|
} | null;
|
|
7754
7834
|
};
|
|
7755
|
-
export type CountValuesOccurrencesQueryVariables = Exact<{
|
|
7756
|
-
library: Scalars['ID']['input'];
|
|
7757
|
-
attribute: Scalars['ID']['input'];
|
|
7758
|
-
recordFilters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
7759
|
-
}>;
|
|
7760
|
-
export type CountValuesOccurrencesQuery = {
|
|
7761
|
-
listDistinctValues?: Array<{
|
|
7762
|
-
count: number;
|
|
7763
|
-
} | {
|
|
7764
|
-
count: number;
|
|
7765
|
-
treeNode?: {
|
|
7766
|
-
id: string;
|
|
7767
|
-
} | null;
|
|
7768
|
-
}> | null;
|
|
7769
|
-
};
|
|
7770
7835
|
export type ExplorerLibraryCountDataQueryVariables = Exact<{
|
|
7771
7836
|
libraryId: Scalars['ID']['input'];
|
|
7772
7837
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
@@ -8023,6 +8088,41 @@ export type LibraryExportProfilesQuery = {
|
|
|
8023
8088
|
}>;
|
|
8024
8089
|
} | null;
|
|
8025
8090
|
};
|
|
8091
|
+
export type MassEditableAttributesQueryVariables = Exact<{
|
|
8092
|
+
libraryId: Scalars['String']['input'];
|
|
8093
|
+
}>;
|
|
8094
|
+
export type MassEditableAttributesQuery = {
|
|
8095
|
+
attributes?: {
|
|
8096
|
+
list: Array<{
|
|
8097
|
+
id: string;
|
|
8098
|
+
label?: any | null;
|
|
8099
|
+
} | {
|
|
8100
|
+
id: string;
|
|
8101
|
+
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
|
+
permissions_conf_dependent_values?: {
|
|
8118
|
+
dependenciesTreeAttributes: Array<{
|
|
8119
|
+
id: string;
|
|
8120
|
+
label?: any | null;
|
|
8121
|
+
}>;
|
|
8122
|
+
} | null;
|
|
8123
|
+
}>;
|
|
8124
|
+
} | null;
|
|
8125
|
+
};
|
|
8026
8126
|
export type ExplorerSelectionIdsQueryVariables = Exact<{
|
|
8027
8127
|
libraryId: Scalars['ID']['input'];
|
|
8028
8128
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
@@ -8112,6 +8212,21 @@ export type UpdateViewMutation = {
|
|
|
8112
8212
|
}> | null;
|
|
8113
8213
|
};
|
|
8114
8214
|
};
|
|
8215
|
+
export type ValuesOccurrencesQueryVariables = Exact<{
|
|
8216
|
+
libraryId: Scalars['ID']['input'];
|
|
8217
|
+
attributeId: Scalars['ID']['input'];
|
|
8218
|
+
recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
|
|
8219
|
+
}>;
|
|
8220
|
+
export type ValuesOccurrencesQuery = {
|
|
8221
|
+
listDistinctValues?: Array<{
|
|
8222
|
+
count: number;
|
|
8223
|
+
} | {
|
|
8224
|
+
count: number;
|
|
8225
|
+
treeNode?: {
|
|
8226
|
+
id: string;
|
|
8227
|
+
} | null;
|
|
8228
|
+
}> | null;
|
|
8229
|
+
};
|
|
8115
8230
|
export type TreeFiltersDataQueryQueryVariables = Exact<{
|
|
8116
8231
|
treeId: Scalars['ID']['input'];
|
|
8117
8232
|
startAt?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -10233,46 +10348,6 @@ export type ExplorerLinkAttributeQueryHookResult = ReturnType<typeof useExplorer
|
|
|
10233
10348
|
export type ExplorerLinkAttributeLazyQueryHookResult = ReturnType<typeof useExplorerLinkAttributeLazyQuery>;
|
|
10234
10349
|
export type ExplorerLinkAttributeSuspenseQueryHookResult = ReturnType<typeof useExplorerLinkAttributeSuspenseQuery>;
|
|
10235
10350
|
export type ExplorerLinkAttributeQueryResult = Apollo.QueryResult<ExplorerLinkAttributeQuery, ExplorerLinkAttributeQueryVariables>;
|
|
10236
|
-
export declare const CountValuesOccurrencesDocument: Apollo.DocumentNode;
|
|
10237
|
-
/**
|
|
10238
|
-
* __useCountValuesOccurrencesQuery__
|
|
10239
|
-
*
|
|
10240
|
-
* To run a query within a React component, call `useCountValuesOccurrencesQuery` and pass it any options that fit your needs.
|
|
10241
|
-
* When your component renders, `useCountValuesOccurrencesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
10242
|
-
* you can use to render your UI.
|
|
10243
|
-
*
|
|
10244
|
-
* @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;
|
|
10245
|
-
*
|
|
10246
|
-
* @example
|
|
10247
|
-
* const { data, loading, error } = useCountValuesOccurrencesQuery({
|
|
10248
|
-
* variables: {
|
|
10249
|
-
* library: // value for 'library'
|
|
10250
|
-
* attribute: // value for 'attribute'
|
|
10251
|
-
* recordFilters: // value for 'recordFilters'
|
|
10252
|
-
* },
|
|
10253
|
-
* });
|
|
10254
|
-
*/
|
|
10255
|
-
export declare function useCountValuesOccurrencesQuery(baseOptions: Apollo.QueryHookOptions<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables> & ({
|
|
10256
|
-
variables: CountValuesOccurrencesQueryVariables;
|
|
10257
|
-
skip?: boolean;
|
|
10258
|
-
} | {
|
|
10259
|
-
skip: boolean;
|
|
10260
|
-
})): Apollo.InteropQueryResult<CountValuesOccurrencesQuery, Exact<{
|
|
10261
|
-
library: Scalars["ID"]["input"];
|
|
10262
|
-
attribute: Scalars["ID"]["input"];
|
|
10263
|
-
recordFilters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
10264
|
-
}>>;
|
|
10265
|
-
export declare function useCountValuesOccurrencesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables>): Apollo.LazyQueryResultTuple<CountValuesOccurrencesQuery, Exact<{
|
|
10266
|
-
library: Scalars["ID"]["input"];
|
|
10267
|
-
attribute: Scalars["ID"]["input"];
|
|
10268
|
-
recordFilters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
10269
|
-
}>>;
|
|
10270
|
-
export declare function useCountValuesOccurrencesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables>): Apollo.UseSuspenseQueryResult<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables>;
|
|
10271
|
-
export declare function useCountValuesOccurrencesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables>): Apollo.UseSuspenseQueryResult<CountValuesOccurrencesQuery | undefined, CountValuesOccurrencesQueryVariables>;
|
|
10272
|
-
export type CountValuesOccurrencesQueryHookResult = ReturnType<typeof useCountValuesOccurrencesQuery>;
|
|
10273
|
-
export type CountValuesOccurrencesLazyQueryHookResult = ReturnType<typeof useCountValuesOccurrencesLazyQuery>;
|
|
10274
|
-
export type CountValuesOccurrencesSuspenseQueryHookResult = ReturnType<typeof useCountValuesOccurrencesSuspenseQuery>;
|
|
10275
|
-
export type CountValuesOccurrencesQueryResult = Apollo.QueryResult<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables>;
|
|
10276
10351
|
export declare const ExplorerLibraryCountDataDocument: Apollo.DocumentNode;
|
|
10277
10352
|
/**
|
|
10278
10353
|
* __useExplorerLibraryCountDataQuery__
|
|
@@ -10499,6 +10574,40 @@ export type LibraryExportProfilesQueryHookResult = ReturnType<typeof useLibraryE
|
|
|
10499
10574
|
export type LibraryExportProfilesLazyQueryHookResult = ReturnType<typeof useLibraryExportProfilesLazyQuery>;
|
|
10500
10575
|
export type LibraryExportProfilesSuspenseQueryHookResult = ReturnType<typeof useLibraryExportProfilesSuspenseQuery>;
|
|
10501
10576
|
export type LibraryExportProfilesQueryResult = Apollo.QueryResult<LibraryExportProfilesQuery, LibraryExportProfilesQueryVariables>;
|
|
10577
|
+
export declare const MassEditableAttributesDocument: Apollo.DocumentNode;
|
|
10578
|
+
/**
|
|
10579
|
+
* __useMassEditableAttributesQuery__
|
|
10580
|
+
*
|
|
10581
|
+
* To run a query within a React component, call `useMassEditableAttributesQuery` and pass it any options that fit your needs.
|
|
10582
|
+
* When your component renders, `useMassEditableAttributesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
10583
|
+
* you can use to render your UI.
|
|
10584
|
+
*
|
|
10585
|
+
* @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;
|
|
10586
|
+
*
|
|
10587
|
+
* @example
|
|
10588
|
+
* const { data, loading, error } = useMassEditableAttributesQuery({
|
|
10589
|
+
* variables: {
|
|
10590
|
+
* libraryId: // value for 'libraryId'
|
|
10591
|
+
* },
|
|
10592
|
+
* });
|
|
10593
|
+
*/
|
|
10594
|
+
export declare function useMassEditableAttributesQuery(baseOptions: Apollo.QueryHookOptions<MassEditableAttributesQuery, MassEditableAttributesQueryVariables> & ({
|
|
10595
|
+
variables: MassEditableAttributesQueryVariables;
|
|
10596
|
+
skip?: boolean;
|
|
10597
|
+
} | {
|
|
10598
|
+
skip: boolean;
|
|
10599
|
+
})): Apollo.InteropQueryResult<MassEditableAttributesQuery, Exact<{
|
|
10600
|
+
libraryId: Scalars["String"]["input"];
|
|
10601
|
+
}>>;
|
|
10602
|
+
export declare function useMassEditableAttributesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MassEditableAttributesQuery, MassEditableAttributesQueryVariables>): Apollo.LazyQueryResultTuple<MassEditableAttributesQuery, Exact<{
|
|
10603
|
+
libraryId: Scalars["String"]["input"];
|
|
10604
|
+
}>>;
|
|
10605
|
+
export declare function useMassEditableAttributesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<MassEditableAttributesQuery, MassEditableAttributesQueryVariables>): Apollo.UseSuspenseQueryResult<MassEditableAttributesQuery, MassEditableAttributesQueryVariables>;
|
|
10606
|
+
export declare function useMassEditableAttributesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MassEditableAttributesQuery, MassEditableAttributesQueryVariables>): Apollo.UseSuspenseQueryResult<MassEditableAttributesQuery | undefined, MassEditableAttributesQueryVariables>;
|
|
10607
|
+
export type MassEditableAttributesQueryHookResult = ReturnType<typeof useMassEditableAttributesQuery>;
|
|
10608
|
+
export type MassEditableAttributesLazyQueryHookResult = ReturnType<typeof useMassEditableAttributesLazyQuery>;
|
|
10609
|
+
export type MassEditableAttributesSuspenseQueryHookResult = ReturnType<typeof useMassEditableAttributesSuspenseQuery>;
|
|
10610
|
+
export type MassEditableAttributesQueryResult = Apollo.QueryResult<MassEditableAttributesQuery, MassEditableAttributesQueryVariables>;
|
|
10502
10611
|
export declare const ExplorerSelectionIdsDocument: Apollo.DocumentNode;
|
|
10503
10612
|
/**
|
|
10504
10613
|
* __useExplorerSelectionIdsQuery__
|
|
@@ -10589,6 +10698,46 @@ export declare function useUpdateViewMutation(baseOptions?: Apollo.MutationHookO
|
|
|
10589
10698
|
export type UpdateViewMutationHookResult = ReturnType<typeof useUpdateViewMutation>;
|
|
10590
10699
|
export type UpdateViewMutationResult = Apollo.MutationResult<UpdateViewMutation>;
|
|
10591
10700
|
export type UpdateViewMutationOptions = Apollo.BaseMutationOptions<UpdateViewMutation, UpdateViewMutationVariables>;
|
|
10701
|
+
export declare const ValuesOccurrencesDocument: Apollo.DocumentNode;
|
|
10702
|
+
/**
|
|
10703
|
+
* __useValuesOccurrencesQuery__
|
|
10704
|
+
*
|
|
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
|
|
10707
|
+
* you can use to render your UI.
|
|
10708
|
+
*
|
|
10709
|
+
* @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
|
+
*
|
|
10711
|
+
* @example
|
|
10712
|
+
* const { data, loading, error } = useValuesOccurrencesQuery({
|
|
10713
|
+
* variables: {
|
|
10714
|
+
* libraryId: // value for 'libraryId'
|
|
10715
|
+
* attributeId: // value for 'attributeId'
|
|
10716
|
+
* recordFilters: // value for 'recordFilters'
|
|
10717
|
+
* },
|
|
10718
|
+
* });
|
|
10719
|
+
*/
|
|
10720
|
+
export declare function useValuesOccurrencesQuery(baseOptions: Apollo.QueryHookOptions<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables> & ({
|
|
10721
|
+
variables: ValuesOccurrencesQueryVariables;
|
|
10722
|
+
skip?: boolean;
|
|
10723
|
+
} | {
|
|
10724
|
+
skip: boolean;
|
|
10725
|
+
})): Apollo.InteropQueryResult<ValuesOccurrencesQuery, Exact<{
|
|
10726
|
+
libraryId: Scalars["ID"]["input"];
|
|
10727
|
+
attributeId: Scalars["ID"]["input"];
|
|
10728
|
+
recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
|
|
10729
|
+
}>>;
|
|
10730
|
+
export declare function useValuesOccurrencesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables>): Apollo.LazyQueryResultTuple<ValuesOccurrencesQuery, Exact<{
|
|
10731
|
+
libraryId: Scalars["ID"]["input"];
|
|
10732
|
+
attributeId: Scalars["ID"]["input"];
|
|
10733
|
+
recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
|
|
10734
|
+
}>>;
|
|
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>;
|
|
10592
10741
|
export declare const TreeFiltersDataQueryDocument: Apollo.DocumentNode;
|
|
10593
10742
|
/**
|
|
10594
10743
|
* __useTreeFiltersDataQueryQuery__
|