@leav/ui 1.7.0-bba65313 → 1.7.0-d4042e06
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__/common/library.d.ts +1 -0
- package/dist/_gqlTypes/index.d.ts +125 -74
- package/dist/_gqlTypes/index.js +83 -68
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/attributes/getAttributeWithEmbeddedFields.d.ts +1 -1
- package/dist/_queries/libraries/libraryDetailsFragment.js +1 -0
- package/dist/_queries/libraries/libraryDetailsFragment.js.map +1 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.js +3 -7
- package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +3 -7
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +9 -16
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js +2 -2
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +2 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
- package/dist/components/Filters/context/useGetTreeFilters.d.ts +8 -6
- package/dist/components/Filters/context/useGetTreeFilters.js +41 -18
- package/dist/components/Filters/context/useGetTreeFilters.js.map +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.js +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
- package/dist/components/Filters/filter-items/EmptyValueCheckbox.js +1 -1
- package/dist/components/Filters/filter-items/EmptyValueCheckbox.js.map +1 -1
- package/dist/components/Filters/filter-items/SelectAllCheckbox.d.ts +8 -0
- package/dist/components/Filters/filter-items/SelectAllCheckbox.js +22 -0
- package/dist/components/Filters/filter-items/SelectAllCheckbox.js.map +1 -0
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +2 -2
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/{TreeAttributeDropDown.d.ts → tree/TreeAttributeDropDown.d.ts} +1 -1
- package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js +130 -0
- package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js.map +1 -0
- package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.d.ts +20 -0
- package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.js +72 -0
- package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.js.map +1 -0
- package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.d.ts +7 -0
- package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js +36 -0
- package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js.map +1 -0
- package/dist/components/Filters/filter-items/filter-type/tree/utils/buildFlattenTreeMap.d.ts +2 -0
- package/dist/components/Filters/filter-items/filter-type/tree/utils/buildFlattenTreeMap.js +14 -0
- package/dist/components/Filters/filter-items/filter-type/tree/utils/buildFlattenTreeMap.js.map +1 -0
- package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.d.ts +2 -0
- package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.js +15 -0
- package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.js.map +1 -0
- package/dist/components/Filters/filter-items/filter-type/tree/utils/getSelectAllState.d.ts +5 -0
- package/dist/components/Filters/filter-items/filter-type/tree/utils/getSelectAllState.js +17 -0
- package/dist/components/Filters/filter-items/filter-type/tree/utils/getSelectAllState.js.map +1 -0
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.d.ts +1 -1
- package/dist/components/Notifications/hooks/useNotificationSubscription.js +4 -4
- package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -1
- package/dist/components/RecordHistory/utils/extendedAttribute.d.ts +3 -1
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +2 -2
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
- package/dist/locales/en/shared.json +4 -1
- package/dist/locales/fr/shared.json +4 -1
- package/dist/types/records.d.ts +1 -0
- package/dist/types/records.js.map +1 -1
- package/package.json +4 -4
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +0 -71
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +0 -1
|
@@ -204,6 +204,8 @@ export type AttributeInput = {
|
|
|
204
204
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
205
205
|
reverse_link?: InputMaybe<Scalars['String']['input']>;
|
|
206
206
|
settings?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
207
|
+
/** only for link attribute */
|
|
208
|
+
smart_filter?: InputMaybe<SmartFilterConfInput>;
|
|
207
209
|
type?: InputMaybe<AttributeType>;
|
|
208
210
|
unique?: InputMaybe<Scalars['Boolean']['input']>;
|
|
209
211
|
values_list?: InputMaybe<ValuesListConfInput>;
|
|
@@ -354,16 +356,6 @@ export declare enum FormsSortableFields {
|
|
|
354
356
|
library = "library",
|
|
355
357
|
system = "system"
|
|
356
358
|
}
|
|
357
|
-
export declare enum GenerationStatus {
|
|
358
|
-
DONE = "DONE",
|
|
359
|
-
GENERATION_FAILED = "GENERATION_FAILED",
|
|
360
|
-
GENERATION_IN_PROGRESS = "GENERATION_IN_PROGRESS",
|
|
361
|
-
GENERATION_IN_PROGRESS_WITH_FAILURE = "GENERATION_IN_PROGRESS_WITH_FAILURE",
|
|
362
|
-
PREPARATION_FAILED = "PREPARATION_FAILED",
|
|
363
|
-
PREPARATION_IN_PROGRESS = "PREPARATION_IN_PROGRESS",
|
|
364
|
-
TRANSMISSION_FAILED = "TRANSMISSION_FAILED",
|
|
365
|
-
TRANSMISSION_IN_PROGRESS = "TRANSMISSION_IN_PROGRESS"
|
|
366
|
-
}
|
|
367
359
|
export type GlobalSettingsFileInput = {
|
|
368
360
|
library: Scalars['String']['input'];
|
|
369
361
|
recordId: Scalars['String']['input'];
|
|
@@ -451,9 +443,6 @@ export declare enum LogAction {
|
|
|
451
443
|
PERMISSION_SAVE = "PERMISSION_SAVE",
|
|
452
444
|
RECORD_DELETE = "RECORD_DELETE",
|
|
453
445
|
RECORD_SAVE = "RECORD_SAVE",
|
|
454
|
-
SDO_LOG_ERROR = "SDO_LOG_ERROR",
|
|
455
|
-
SDO_LOG_EXPORT_RECORD = "SDO_LOG_EXPORT_RECORD",
|
|
456
|
-
SDO_LOG_IMPORT_RECORD = "SDO_LOG_IMPORT_RECORD",
|
|
457
446
|
TASKS_DELETE = "TASKS_DELETE",
|
|
458
447
|
TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
|
|
459
448
|
TREE_DELETE = "TREE_DELETE",
|
|
@@ -570,7 +559,6 @@ export declare enum PermissionsActions {
|
|
|
570
559
|
admin_access_libraries = "admin_access_libraries",
|
|
571
560
|
admin_access_logs = "admin_access_logs",
|
|
572
561
|
admin_access_permissions = "admin_access_permissions",
|
|
573
|
-
admin_access_plugins = "admin_access_plugins",
|
|
574
562
|
admin_access_tasks = "admin_access_tasks",
|
|
575
563
|
admin_access_trees = "admin_access_trees",
|
|
576
564
|
admin_access_version_profiles = "admin_access_version_profiles",
|
|
@@ -599,6 +587,7 @@ export declare enum PermissionsActions {
|
|
|
599
587
|
admin_edit_version_profile = "admin_edit_version_profile",
|
|
600
588
|
admin_import_config_clear_database = "admin_import_config_clear_database",
|
|
601
589
|
admin_library = "admin_library",
|
|
590
|
+
admin_list_plugins = "admin_list_plugins",
|
|
602
591
|
admin_manage_global_preferences = "admin_manage_global_preferences",
|
|
603
592
|
create_record = "create_record",
|
|
604
593
|
delete_record = "delete_record",
|
|
@@ -676,6 +665,7 @@ export declare enum RecordFilterOperator {
|
|
|
676
665
|
export type RecordIdentityConfInput = {
|
|
677
666
|
color?: InputMaybe<Scalars['ID']['input']>;
|
|
678
667
|
label?: InputMaybe<Scalars['ID']['input']>;
|
|
668
|
+
parentContext?: InputMaybe<Scalars['ID']['input']>;
|
|
679
669
|
preview?: InputMaybe<Scalars['ID']['input']>;
|
|
680
670
|
subLabel?: InputMaybe<Scalars['ID']['input']>;
|
|
681
671
|
treeColorPreview?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -715,6 +705,9 @@ export type SheetInput = {
|
|
|
715
705
|
treeLinkLibrary?: InputMaybe<Scalars['String']['input']>;
|
|
716
706
|
type: ImportType;
|
|
717
707
|
};
|
|
708
|
+
export type SmartFilterConfInput = {
|
|
709
|
+
enable: Scalars['Boolean']['input'];
|
|
710
|
+
};
|
|
718
711
|
export type SortApiKeysInput = {
|
|
719
712
|
field: ApiKeysSortableFields;
|
|
720
713
|
order?: InputMaybe<SortOrder>;
|
|
@@ -768,6 +761,7 @@ export declare enum TaskType {
|
|
|
768
761
|
IMPORT_CONFIG = "IMPORT_CONFIG",
|
|
769
762
|
IMPORT_DATA = "IMPORT_DATA",
|
|
770
763
|
INDEXATION = "INDEXATION",
|
|
764
|
+
RENEW_CAMPAIGNS = "RENEW_CAMPAIGNS",
|
|
771
765
|
SAVE_VALUE_BULK = "SAVE_VALUE_BULK"
|
|
772
766
|
}
|
|
773
767
|
export declare enum TreeBehavior {
|
|
@@ -1215,6 +1209,7 @@ export type LibraryDetailsFragment = {
|
|
|
1215
1209
|
color?: string | null;
|
|
1216
1210
|
preview?: string | null;
|
|
1217
1211
|
treeColorPreview?: string | null;
|
|
1212
|
+
parentContext?: string | null;
|
|
1218
1213
|
} | null;
|
|
1219
1214
|
permissions?: {
|
|
1220
1215
|
admin_library: boolean;
|
|
@@ -4393,6 +4388,7 @@ export type GetLibraryByIdQuery = {
|
|
|
4393
4388
|
color?: string | null;
|
|
4394
4389
|
preview?: string | null;
|
|
4395
4390
|
treeColorPreview?: string | null;
|
|
4391
|
+
parentContext?: string | null;
|
|
4396
4392
|
} | null;
|
|
4397
4393
|
permissions?: {
|
|
4398
4394
|
admin_library: boolean;
|
|
@@ -4531,6 +4527,7 @@ export type SaveLibraryMutation = {
|
|
|
4531
4527
|
color?: string | null;
|
|
4532
4528
|
preview?: string | null;
|
|
4533
4529
|
treeColorPreview?: string | null;
|
|
4530
|
+
parentContext?: string | null;
|
|
4534
4531
|
} | null;
|
|
4535
4532
|
permissions?: {
|
|
4536
4533
|
admin_library: boolean;
|
|
@@ -6344,6 +6341,68 @@ export type TreeNodeChildrenQuery = {
|
|
|
6344
6341
|
}>;
|
|
6345
6342
|
};
|
|
6346
6343
|
};
|
|
6344
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables = Exact<{
|
|
6345
|
+
treeId: Scalars['ID']['input'];
|
|
6346
|
+
node?: InputMaybe<Scalars['ID']['input']>;
|
|
6347
|
+
pagination?: InputMaybe<Pagination>;
|
|
6348
|
+
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
6349
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
6350
|
+
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
6351
|
+
}>;
|
|
6352
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery = {
|
|
6353
|
+
treeNodeChildren: {
|
|
6354
|
+
totalCount?: number | null;
|
|
6355
|
+
list: Array<{
|
|
6356
|
+
id: string;
|
|
6357
|
+
order?: number | null;
|
|
6358
|
+
childrenCount?: number | null;
|
|
6359
|
+
accessRecordByDefaultPermission?: boolean | null;
|
|
6360
|
+
record: {
|
|
6361
|
+
id: string;
|
|
6362
|
+
active: Array<{
|
|
6363
|
+
value?: any | null;
|
|
6364
|
+
}>;
|
|
6365
|
+
whoAmI: {
|
|
6366
|
+
id: string;
|
|
6367
|
+
label?: string | null;
|
|
6368
|
+
subLabel?: string | null;
|
|
6369
|
+
color?: string | null;
|
|
6370
|
+
preview?: IPreviewScalar | null;
|
|
6371
|
+
library: {
|
|
6372
|
+
id: string;
|
|
6373
|
+
label?: any | null;
|
|
6374
|
+
};
|
|
6375
|
+
};
|
|
6376
|
+
};
|
|
6377
|
+
ancestors?: Array<{
|
|
6378
|
+
id: string;
|
|
6379
|
+
record: {
|
|
6380
|
+
id: string;
|
|
6381
|
+
library: {
|
|
6382
|
+
id: string;
|
|
6383
|
+
label?: any | null;
|
|
6384
|
+
};
|
|
6385
|
+
whoAmI: {
|
|
6386
|
+
id: string;
|
|
6387
|
+
label?: string | null;
|
|
6388
|
+
subLabel?: string | null;
|
|
6389
|
+
color?: string | null;
|
|
6390
|
+
preview?: IPreviewScalar | null;
|
|
6391
|
+
library: {
|
|
6392
|
+
id: string;
|
|
6393
|
+
label?: any | null;
|
|
6394
|
+
};
|
|
6395
|
+
};
|
|
6396
|
+
};
|
|
6397
|
+
}> | null;
|
|
6398
|
+
permissions: {
|
|
6399
|
+
access_tree: boolean;
|
|
6400
|
+
detach: boolean;
|
|
6401
|
+
edit_children: boolean;
|
|
6402
|
+
};
|
|
6403
|
+
}>;
|
|
6404
|
+
};
|
|
6405
|
+
};
|
|
6347
6406
|
export type GetUserDataQueryVariables = Exact<{
|
|
6348
6407
|
keys: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
6349
6408
|
global?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -7367,28 +7426,6 @@ export type SaveViewMutation = {
|
|
|
7367
7426
|
}> | null;
|
|
7368
7427
|
};
|
|
7369
7428
|
};
|
|
7370
|
-
export type TreeFilterByDefaultValuesQueryVariables = Exact<{
|
|
7371
|
-
treeId: Scalars['ID']['input'];
|
|
7372
|
-
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
7373
|
-
}>;
|
|
7374
|
-
export type TreeFilterByDefaultValuesQuery = {
|
|
7375
|
-
treeNodeChildren: {
|
|
7376
|
-
list: Array<{
|
|
7377
|
-
accessRecordByDefaultPermission?: boolean | null;
|
|
7378
|
-
id: string;
|
|
7379
|
-
record: {
|
|
7380
|
-
id: string;
|
|
7381
|
-
whoAmI: {
|
|
7382
|
-
id: string;
|
|
7383
|
-
label?: string | null;
|
|
7384
|
-
library: {
|
|
7385
|
-
id: string;
|
|
7386
|
-
};
|
|
7387
|
-
};
|
|
7388
|
-
};
|
|
7389
|
-
}>;
|
|
7390
|
-
};
|
|
7391
|
-
};
|
|
7392
7429
|
export type AttributeWithValuesForMassEditionQueryVariables = Exact<{
|
|
7393
7430
|
attributeId: Scalars['ID']['input'];
|
|
7394
7431
|
}>;
|
|
@@ -7993,10 +8030,12 @@ export type NotificationSubscriptionVariables = Exact<{
|
|
|
7993
8030
|
}>;
|
|
7994
8031
|
export type NotificationSubscription = {
|
|
7995
8032
|
notification: {
|
|
8033
|
+
id: string;
|
|
8034
|
+
date: number;
|
|
7996
8035
|
level: NotificationLevel;
|
|
7997
8036
|
message: string;
|
|
7998
8037
|
title: string;
|
|
7999
|
-
|
|
8038
|
+
displayDuration?: number | null;
|
|
8000
8039
|
attachments?: Array<{
|
|
8001
8040
|
label: string;
|
|
8002
8041
|
url: string;
|
|
@@ -9553,6 +9592,55 @@ export type TreeNodeChildrenQueryHookResult = ReturnType<typeof useTreeNodeChild
|
|
|
9553
9592
|
export type TreeNodeChildrenLazyQueryHookResult = ReturnType<typeof useTreeNodeChildrenLazyQuery>;
|
|
9554
9593
|
export type TreeNodeChildrenSuspenseQueryHookResult = ReturnType<typeof useTreeNodeChildrenSuspenseQuery>;
|
|
9555
9594
|
export type TreeNodeChildrenQueryResult = Apollo.QueryResult<TreeNodeChildrenQuery, TreeNodeChildrenQueryVariables>;
|
|
9595
|
+
export declare const GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument: Apollo.DocumentNode;
|
|
9596
|
+
/**
|
|
9597
|
+
* __useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery__
|
|
9598
|
+
*
|
|
9599
|
+
* To run a query within a React component, call `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` and pass it any options that fit your needs.
|
|
9600
|
+
* When your component renders, `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9601
|
+
* you can use to render your UI.
|
|
9602
|
+
*
|
|
9603
|
+
* @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;
|
|
9604
|
+
*
|
|
9605
|
+
* @example
|
|
9606
|
+
* const { data, loading, error } = useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery({
|
|
9607
|
+
* variables: {
|
|
9608
|
+
* treeId: // value for 'treeId'
|
|
9609
|
+
* node: // value for 'node'
|
|
9610
|
+
* pagination: // value for 'pagination'
|
|
9611
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
9612
|
+
* dependentValuesPermissionFilter: // value for 'dependentValuesPermissionFilter'
|
|
9613
|
+
* accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
|
|
9614
|
+
* },
|
|
9615
|
+
* });
|
|
9616
|
+
*/
|
|
9617
|
+
export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery(baseOptions: Apollo.QueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables> & ({
|
|
9618
|
+
variables: GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables;
|
|
9619
|
+
skip?: boolean;
|
|
9620
|
+
} | {
|
|
9621
|
+
skip: boolean;
|
|
9622
|
+
})): Apollo.QueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, Exact<{
|
|
9623
|
+
treeId: Scalars["ID"]["input"];
|
|
9624
|
+
node?: InputMaybe<Scalars["ID"]["input"]>;
|
|
9625
|
+
pagination?: InputMaybe<Pagination>;
|
|
9626
|
+
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
9627
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
9628
|
+
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
9629
|
+
}>>;
|
|
9630
|
+
export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>): Apollo.LazyQueryResultTuple<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, Exact<{
|
|
9631
|
+
treeId: Scalars["ID"]["input"];
|
|
9632
|
+
node?: InputMaybe<Scalars["ID"]["input"]>;
|
|
9633
|
+
pagination?: InputMaybe<Pagination>;
|
|
9634
|
+
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
9635
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
9636
|
+
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
9637
|
+
}>>;
|
|
9638
|
+
export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>): Apollo.UseSuspenseQueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>;
|
|
9639
|
+
export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>): Apollo.UseSuspenseQueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery | undefined, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>;
|
|
9640
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryHookResult = ReturnType<typeof useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery>;
|
|
9641
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQueryHookResult = ReturnType<typeof useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQuery>;
|
|
9642
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQueryHookResult = ReturnType<typeof useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery>;
|
|
9643
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryResult = Apollo.QueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>;
|
|
9556
9644
|
export declare const GetUserDataDocument: Apollo.DocumentNode;
|
|
9557
9645
|
/**
|
|
9558
9646
|
* __useGetUserDataQuery__
|
|
@@ -9832,43 +9920,6 @@ export declare function useSaveViewMutation(baseOptions?: Apollo.MutationHookOpt
|
|
|
9832
9920
|
export type SaveViewMutationHookResult = ReturnType<typeof useSaveViewMutation>;
|
|
9833
9921
|
export type SaveViewMutationResult = Apollo.MutationResult<SaveViewMutation>;
|
|
9834
9922
|
export type SaveViewMutationOptions = Apollo.BaseMutationOptions<SaveViewMutation, SaveViewMutationVariables>;
|
|
9835
|
-
export declare const TreeFilterByDefaultValuesDocument: Apollo.DocumentNode;
|
|
9836
|
-
/**
|
|
9837
|
-
* __useTreeFilterByDefaultValuesQuery__
|
|
9838
|
-
*
|
|
9839
|
-
* To run a query within a React component, call `useTreeFilterByDefaultValuesQuery` and pass it any options that fit your needs.
|
|
9840
|
-
* When your component renders, `useTreeFilterByDefaultValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9841
|
-
* you can use to render your UI.
|
|
9842
|
-
*
|
|
9843
|
-
* @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;
|
|
9844
|
-
*
|
|
9845
|
-
* @example
|
|
9846
|
-
* const { data, loading, error } = useTreeFilterByDefaultValuesQuery({
|
|
9847
|
-
* variables: {
|
|
9848
|
-
* treeId: // value for 'treeId'
|
|
9849
|
-
* accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
|
|
9850
|
-
* },
|
|
9851
|
-
* });
|
|
9852
|
-
*/
|
|
9853
|
-
export declare function useTreeFilterByDefaultValuesQuery(baseOptions: Apollo.QueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables> & ({
|
|
9854
|
-
variables: TreeFilterByDefaultValuesQueryVariables;
|
|
9855
|
-
skip?: boolean;
|
|
9856
|
-
} | {
|
|
9857
|
-
skip: boolean;
|
|
9858
|
-
})): Apollo.QueryResult<TreeFilterByDefaultValuesQuery, Exact<{
|
|
9859
|
-
treeId: Scalars["ID"]["input"];
|
|
9860
|
-
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
9861
|
-
}>>;
|
|
9862
|
-
export declare function useTreeFilterByDefaultValuesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>): Apollo.LazyQueryResultTuple<TreeFilterByDefaultValuesQuery, Exact<{
|
|
9863
|
-
treeId: Scalars["ID"]["input"];
|
|
9864
|
-
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
9865
|
-
}>>;
|
|
9866
|
-
export declare function useTreeFilterByDefaultValuesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>): Apollo.UseSuspenseQueryResult<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>;
|
|
9867
|
-
export declare function useTreeFilterByDefaultValuesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>): Apollo.UseSuspenseQueryResult<TreeFilterByDefaultValuesQuery | undefined, TreeFilterByDefaultValuesQueryVariables>;
|
|
9868
|
-
export type TreeFilterByDefaultValuesQueryHookResult = ReturnType<typeof useTreeFilterByDefaultValuesQuery>;
|
|
9869
|
-
export type TreeFilterByDefaultValuesLazyQueryHookResult = ReturnType<typeof useTreeFilterByDefaultValuesLazyQuery>;
|
|
9870
|
-
export type TreeFilterByDefaultValuesSuspenseQueryHookResult = ReturnType<typeof useTreeFilterByDefaultValuesSuspenseQuery>;
|
|
9871
|
-
export type TreeFilterByDefaultValuesQueryResult = Apollo.QueryResult<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>;
|
|
9872
9923
|
export declare const AttributeWithValuesForMassEditionDocument: Apollo.DocumentNode;
|
|
9873
9924
|
/**
|
|
9874
9925
|
* __useAttributeWithValuesForMassEditionQuery__
|
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -88,17 +88,6 @@ export var FormsSortableFields;
|
|
|
88
88
|
FormsSortableFields["library"] = "library";
|
|
89
89
|
FormsSortableFields["system"] = "system";
|
|
90
90
|
})(FormsSortableFields || (FormsSortableFields = {}));
|
|
91
|
-
export var GenerationStatus;
|
|
92
|
-
(function (GenerationStatus) {
|
|
93
|
-
GenerationStatus["DONE"] = "DONE";
|
|
94
|
-
GenerationStatus["GENERATION_FAILED"] = "GENERATION_FAILED";
|
|
95
|
-
GenerationStatus["GENERATION_IN_PROGRESS"] = "GENERATION_IN_PROGRESS";
|
|
96
|
-
GenerationStatus["GENERATION_IN_PROGRESS_WITH_FAILURE"] = "GENERATION_IN_PROGRESS_WITH_FAILURE";
|
|
97
|
-
GenerationStatus["PREPARATION_FAILED"] = "PREPARATION_FAILED";
|
|
98
|
-
GenerationStatus["PREPARATION_IN_PROGRESS"] = "PREPARATION_IN_PROGRESS";
|
|
99
|
-
GenerationStatus["TRANSMISSION_FAILED"] = "TRANSMISSION_FAILED";
|
|
100
|
-
GenerationStatus["TRANSMISSION_IN_PROGRESS"] = "TRANSMISSION_IN_PROGRESS";
|
|
101
|
-
})(GenerationStatus || (GenerationStatus = {}));
|
|
102
91
|
export var IoTypes;
|
|
103
92
|
(function (IoTypes) {
|
|
104
93
|
IoTypes["boolean"] = "boolean";
|
|
@@ -152,9 +141,6 @@ export var LogAction;
|
|
|
152
141
|
LogAction["PERMISSION_SAVE"] = "PERMISSION_SAVE";
|
|
153
142
|
LogAction["RECORD_DELETE"] = "RECORD_DELETE";
|
|
154
143
|
LogAction["RECORD_SAVE"] = "RECORD_SAVE";
|
|
155
|
-
LogAction["SDO_LOG_ERROR"] = "SDO_LOG_ERROR";
|
|
156
|
-
LogAction["SDO_LOG_EXPORT_RECORD"] = "SDO_LOG_EXPORT_RECORD";
|
|
157
|
-
LogAction["SDO_LOG_IMPORT_RECORD"] = "SDO_LOG_IMPORT_RECORD";
|
|
158
144
|
LogAction["TASKS_DELETE"] = "TASKS_DELETE";
|
|
159
145
|
LogAction["TREE_ADD_ELEMENT"] = "TREE_ADD_ELEMENT";
|
|
160
146
|
LogAction["TREE_DELETE"] = "TREE_DELETE";
|
|
@@ -215,7 +201,6 @@ export var PermissionsActions;
|
|
|
215
201
|
PermissionsActions["admin_access_libraries"] = "admin_access_libraries";
|
|
216
202
|
PermissionsActions["admin_access_logs"] = "admin_access_logs";
|
|
217
203
|
PermissionsActions["admin_access_permissions"] = "admin_access_permissions";
|
|
218
|
-
PermissionsActions["admin_access_plugins"] = "admin_access_plugins";
|
|
219
204
|
PermissionsActions["admin_access_tasks"] = "admin_access_tasks";
|
|
220
205
|
PermissionsActions["admin_access_trees"] = "admin_access_trees";
|
|
221
206
|
PermissionsActions["admin_access_version_profiles"] = "admin_access_version_profiles";
|
|
@@ -244,6 +229,7 @@ export var PermissionsActions;
|
|
|
244
229
|
PermissionsActions["admin_edit_version_profile"] = "admin_edit_version_profile";
|
|
245
230
|
PermissionsActions["admin_import_config_clear_database"] = "admin_import_config_clear_database";
|
|
246
231
|
PermissionsActions["admin_library"] = "admin_library";
|
|
232
|
+
PermissionsActions["admin_list_plugins"] = "admin_list_plugins";
|
|
247
233
|
PermissionsActions["admin_manage_global_preferences"] = "admin_manage_global_preferences";
|
|
248
234
|
PermissionsActions["create_record"] = "create_record";
|
|
249
235
|
PermissionsActions["delete_record"] = "delete_record";
|
|
@@ -324,6 +310,7 @@ export var TaskType;
|
|
|
324
310
|
TaskType["IMPORT_CONFIG"] = "IMPORT_CONFIG";
|
|
325
311
|
TaskType["IMPORT_DATA"] = "IMPORT_DATA";
|
|
326
312
|
TaskType["INDEXATION"] = "INDEXATION";
|
|
313
|
+
TaskType["RENEW_CAMPAIGNS"] = "RENEW_CAMPAIGNS";
|
|
327
314
|
TaskType["SAVE_VALUE_BULK"] = "SAVE_VALUE_BULK";
|
|
328
315
|
})(TaskType || (TaskType = {}));
|
|
329
316
|
export var TreeBehavior;
|
|
@@ -590,6 +577,7 @@ export const LibraryDetailsFragmentDoc = gql `
|
|
|
590
577
|
color
|
|
591
578
|
preview
|
|
592
579
|
treeColorPreview
|
|
580
|
+
parentContext
|
|
593
581
|
}
|
|
594
582
|
permissions {
|
|
595
583
|
admin_library
|
|
@@ -3021,6 +3009,83 @@ export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
|
3021
3009
|
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3022
3010
|
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
3023
3011
|
}
|
|
3012
|
+
export const GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument = gql `
|
|
3013
|
+
query GetTreeNodeChildrenWithAccessByDefaultPermissionQuery($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput, $dependentValuesPermissionFilter: DependentValuesPermissionFilterInput, $accessRecordByDefaultPermission: AccessRecordByDefaultPermissionInput) {
|
|
3014
|
+
treeNodeChildren(
|
|
3015
|
+
treeId: $treeId
|
|
3016
|
+
node: $node
|
|
3017
|
+
pagination: $pagination
|
|
3018
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
3019
|
+
dependentValuesPermissionFilter: $dependentValuesPermissionFilter
|
|
3020
|
+
accessRecordByDefaultPermission: $accessRecordByDefaultPermission
|
|
3021
|
+
) {
|
|
3022
|
+
totalCount
|
|
3023
|
+
list {
|
|
3024
|
+
id
|
|
3025
|
+
order
|
|
3026
|
+
childrenCount
|
|
3027
|
+
record {
|
|
3028
|
+
...RecordIdentity
|
|
3029
|
+
active: property(attribute: "active") {
|
|
3030
|
+
... on Value {
|
|
3031
|
+
value
|
|
3032
|
+
}
|
|
3033
|
+
}
|
|
3034
|
+
}
|
|
3035
|
+
ancestors {
|
|
3036
|
+
id
|
|
3037
|
+
record {
|
|
3038
|
+
id
|
|
3039
|
+
library {
|
|
3040
|
+
id
|
|
3041
|
+
label
|
|
3042
|
+
}
|
|
3043
|
+
...RecordIdentity
|
|
3044
|
+
}
|
|
3045
|
+
}
|
|
3046
|
+
permissions {
|
|
3047
|
+
access_tree
|
|
3048
|
+
detach
|
|
3049
|
+
edit_children
|
|
3050
|
+
}
|
|
3051
|
+
accessRecordByDefaultPermission
|
|
3052
|
+
}
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
3055
|
+
${RecordIdentityFragmentDoc}`;
|
|
3056
|
+
/**
|
|
3057
|
+
* __useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery__
|
|
3058
|
+
*
|
|
3059
|
+
* To run a query within a React component, call `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` and pass it any options that fit your needs.
|
|
3060
|
+
* When your component renders, `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3061
|
+
* you can use to render your UI.
|
|
3062
|
+
*
|
|
3063
|
+
* @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;
|
|
3064
|
+
*
|
|
3065
|
+
* @example
|
|
3066
|
+
* const { data, loading, error } = useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery({
|
|
3067
|
+
* variables: {
|
|
3068
|
+
* treeId: // value for 'treeId'
|
|
3069
|
+
* node: // value for 'node'
|
|
3070
|
+
* pagination: // value for 'pagination'
|
|
3071
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
3072
|
+
* dependentValuesPermissionFilter: // value for 'dependentValuesPermissionFilter'
|
|
3073
|
+
* accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
|
|
3074
|
+
* },
|
|
3075
|
+
* });
|
|
3076
|
+
*/
|
|
3077
|
+
export function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery(baseOptions) {
|
|
3078
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3079
|
+
return Apollo.useQuery(GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument, options);
|
|
3080
|
+
}
|
|
3081
|
+
export function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQuery(baseOptions) {
|
|
3082
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3083
|
+
return Apollo.useLazyQuery(GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument, options);
|
|
3084
|
+
}
|
|
3085
|
+
export function useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery(baseOptions) {
|
|
3086
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3087
|
+
return Apollo.useSuspenseQuery(GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument, options);
|
|
3088
|
+
}
|
|
3024
3089
|
export const GetUserDataDocument = gql `
|
|
3025
3090
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
3026
3091
|
userData(keys: $keys, global: $global) {
|
|
@@ -3335,58 +3400,6 @@ export function useSaveViewMutation(baseOptions) {
|
|
|
3335
3400
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3336
3401
|
return Apollo.useMutation(SaveViewDocument, options);
|
|
3337
3402
|
}
|
|
3338
|
-
export const TreeFilterByDefaultValuesDocument = gql `
|
|
3339
|
-
query TreeFilterByDefaultValues($treeId: ID!, $accessRecordByDefaultPermission: AccessRecordByDefaultPermissionInput) {
|
|
3340
|
-
treeNodeChildren(
|
|
3341
|
-
treeId: $treeId
|
|
3342
|
-
accessRecordByDefaultPermission: $accessRecordByDefaultPermission
|
|
3343
|
-
) {
|
|
3344
|
-
list {
|
|
3345
|
-
accessRecordByDefaultPermission
|
|
3346
|
-
id
|
|
3347
|
-
record {
|
|
3348
|
-
id
|
|
3349
|
-
whoAmI {
|
|
3350
|
-
label
|
|
3351
|
-
id
|
|
3352
|
-
library {
|
|
3353
|
-
id
|
|
3354
|
-
}
|
|
3355
|
-
}
|
|
3356
|
-
}
|
|
3357
|
-
}
|
|
3358
|
-
}
|
|
3359
|
-
}
|
|
3360
|
-
`;
|
|
3361
|
-
/**
|
|
3362
|
-
* __useTreeFilterByDefaultValuesQuery__
|
|
3363
|
-
*
|
|
3364
|
-
* To run a query within a React component, call `useTreeFilterByDefaultValuesQuery` and pass it any options that fit your needs.
|
|
3365
|
-
* When your component renders, `useTreeFilterByDefaultValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3366
|
-
* you can use to render your UI.
|
|
3367
|
-
*
|
|
3368
|
-
* @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;
|
|
3369
|
-
*
|
|
3370
|
-
* @example
|
|
3371
|
-
* const { data, loading, error } = useTreeFilterByDefaultValuesQuery({
|
|
3372
|
-
* variables: {
|
|
3373
|
-
* treeId: // value for 'treeId'
|
|
3374
|
-
* accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
|
|
3375
|
-
* },
|
|
3376
|
-
* });
|
|
3377
|
-
*/
|
|
3378
|
-
export function useTreeFilterByDefaultValuesQuery(baseOptions) {
|
|
3379
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3380
|
-
return Apollo.useQuery(TreeFilterByDefaultValuesDocument, options);
|
|
3381
|
-
}
|
|
3382
|
-
export function useTreeFilterByDefaultValuesLazyQuery(baseOptions) {
|
|
3383
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3384
|
-
return Apollo.useLazyQuery(TreeFilterByDefaultValuesDocument, options);
|
|
3385
|
-
}
|
|
3386
|
-
export function useTreeFilterByDefaultValuesSuspenseQuery(baseOptions) {
|
|
3387
|
-
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3388
|
-
return Apollo.useSuspenseQuery(TreeFilterByDefaultValuesDocument, options);
|
|
3389
|
-
}
|
|
3390
3403
|
export const AttributeWithValuesForMassEditionDocument = gql `
|
|
3391
3404
|
query AttributeWithValuesForMassEdition($attributeId: ID!) {
|
|
3392
3405
|
attributes(filters: {id: $attributeId}) {
|
|
@@ -3962,10 +3975,12 @@ export function useUpdateViewMutation(baseOptions) {
|
|
|
3962
3975
|
export const NotificationDocument = gql `
|
|
3963
3976
|
subscription Notification {
|
|
3964
3977
|
notification {
|
|
3978
|
+
id
|
|
3979
|
+
date
|
|
3965
3980
|
level
|
|
3966
3981
|
message
|
|
3967
3982
|
title
|
|
3968
|
-
|
|
3983
|
+
displayDuration
|
|
3969
3984
|
attachments {
|
|
3970
3985
|
label
|
|
3971
3986
|
url
|