@leav/ui 1.7.0-68370392 → 1.7.0-a16d0bd7
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 +163 -71
- package/dist/_gqlTypes/index.js +100 -53
- package/dist/_gqlTypes/index.js.map +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/RecordEdition/EditRecordContent/antdUtils.js +2 -0
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistoryLogEntry.js +10 -2
- package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
- package/dist/components/RecordHistory/_queries/recordHistoryQuery.d.ts +7 -0
- package/dist/components/RecordHistory/_queries/recordHistoryQuery.js +64 -0
- package/dist/components/RecordHistory/_queries/recordHistoryQuery.js.map +1 -0
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +5 -2
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
- package/dist/components/RecordHistory/utils/extendedAttribute.d.ts +11 -0
- package/dist/components/RecordHistory/utils/extendedAttribute.js +40 -0
- package/dist/components/RecordHistory/utils/extendedAttribute.js.map +1 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +2 -2
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
- package/dist/locales/en/shared.json +6 -2
- package/dist/locales/fr/shared.json +6 -2
- package/dist/types/records.d.ts +1 -0
- package/dist/types/records.js.map +1 -1
- package/package.json +2 -2
- 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
|
@@ -244,16 +244,6 @@ export declare enum AvailableLanguage {
|
|
|
244
244
|
en = "en",
|
|
245
245
|
fr = "fr"
|
|
246
246
|
}
|
|
247
|
-
export type CampaignToRenew = {
|
|
248
|
-
endDate: Scalars['String']['input'];
|
|
249
|
-
id: Scalars['String']['input'];
|
|
250
|
-
startDate: Scalars['String']['input'];
|
|
251
|
-
};
|
|
252
|
-
export type CampaignToUpdateDates = {
|
|
253
|
-
endDate: Scalars['String']['input'];
|
|
254
|
-
id: Scalars['String']['input'];
|
|
255
|
-
startDate: Scalars['String']['input'];
|
|
256
|
-
};
|
|
257
247
|
export type ChildrenAsRecordValuePermissionFilterInput = {
|
|
258
248
|
action: RecordPermissionsActions;
|
|
259
249
|
attributeId: Scalars['ID']['input'];
|
|
@@ -354,6 +344,16 @@ export declare enum FormsSortableFields {
|
|
|
354
344
|
library = "library",
|
|
355
345
|
system = "system"
|
|
356
346
|
}
|
|
347
|
+
export declare enum GenerationStatus {
|
|
348
|
+
DONE = "DONE",
|
|
349
|
+
GENERATION_FAILED = "GENERATION_FAILED",
|
|
350
|
+
GENERATION_IN_PROGRESS = "GENERATION_IN_PROGRESS",
|
|
351
|
+
GENERATION_IN_PROGRESS_WITH_FAILURE = "GENERATION_IN_PROGRESS_WITH_FAILURE",
|
|
352
|
+
PREPARATION_FAILED = "PREPARATION_FAILED",
|
|
353
|
+
PREPARATION_IN_PROGRESS = "PREPARATION_IN_PROGRESS",
|
|
354
|
+
TRANSMISSION_FAILED = "TRANSMISSION_FAILED",
|
|
355
|
+
TRANSMISSION_IN_PROGRESS = "TRANSMISSION_IN_PROGRESS"
|
|
356
|
+
}
|
|
357
357
|
export type GlobalSettingsFileInput = {
|
|
358
358
|
library: Scalars['String']['input'];
|
|
359
359
|
recordId: Scalars['String']['input'];
|
|
@@ -441,6 +441,9 @@ export declare enum LogAction {
|
|
|
441
441
|
PERMISSION_SAVE = "PERMISSION_SAVE",
|
|
442
442
|
RECORD_DELETE = "RECORD_DELETE",
|
|
443
443
|
RECORD_SAVE = "RECORD_SAVE",
|
|
444
|
+
SDO_LOG_ERROR = "SDO_LOG_ERROR",
|
|
445
|
+
SDO_LOG_EXPORT_RECORD = "SDO_LOG_EXPORT_RECORD",
|
|
446
|
+
SDO_LOG_IMPORT_RECORD = "SDO_LOG_IMPORT_RECORD",
|
|
444
447
|
TASKS_DELETE = "TASKS_DELETE",
|
|
445
448
|
TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
|
|
446
449
|
TREE_DELETE = "TREE_DELETE",
|
|
@@ -557,6 +560,7 @@ export declare enum PermissionsActions {
|
|
|
557
560
|
admin_access_libraries = "admin_access_libraries",
|
|
558
561
|
admin_access_logs = "admin_access_logs",
|
|
559
562
|
admin_access_permissions = "admin_access_permissions",
|
|
563
|
+
admin_access_plugins = "admin_access_plugins",
|
|
560
564
|
admin_access_tasks = "admin_access_tasks",
|
|
561
565
|
admin_access_trees = "admin_access_trees",
|
|
562
566
|
admin_access_version_profiles = "admin_access_version_profiles",
|
|
@@ -585,6 +589,7 @@ export declare enum PermissionsActions {
|
|
|
585
589
|
admin_edit_version_profile = "admin_edit_version_profile",
|
|
586
590
|
admin_import_config_clear_database = "admin_import_config_clear_database",
|
|
587
591
|
admin_library = "admin_library",
|
|
592
|
+
admin_list_plugins = "admin_list_plugins",
|
|
588
593
|
admin_manage_global_preferences = "admin_manage_global_preferences",
|
|
589
594
|
create_record = "create_record",
|
|
590
595
|
delete_record = "delete_record",
|
|
@@ -662,6 +667,7 @@ export declare enum RecordFilterOperator {
|
|
|
662
667
|
export type RecordIdentityConfInput = {
|
|
663
668
|
color?: InputMaybe<Scalars['ID']['input']>;
|
|
664
669
|
label?: InputMaybe<Scalars['ID']['input']>;
|
|
670
|
+
parentContext?: InputMaybe<Scalars['ID']['input']>;
|
|
665
671
|
preview?: InputMaybe<Scalars['ID']['input']>;
|
|
666
672
|
subLabel?: InputMaybe<Scalars['ID']['input']>;
|
|
667
673
|
treeColorPreview?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -754,7 +760,6 @@ export declare enum TaskType {
|
|
|
754
760
|
IMPORT_CONFIG = "IMPORT_CONFIG",
|
|
755
761
|
IMPORT_DATA = "IMPORT_DATA",
|
|
756
762
|
INDEXATION = "INDEXATION",
|
|
757
|
-
RENEW_CAMPAIGNS = "RENEW_CAMPAIGNS",
|
|
758
763
|
SAVE_VALUE_BULK = "SAVE_VALUE_BULK"
|
|
759
764
|
}
|
|
760
765
|
export declare enum TreeBehavior {
|
|
@@ -1202,6 +1207,7 @@ export type LibraryDetailsFragment = {
|
|
|
1202
1207
|
color?: string | null;
|
|
1203
1208
|
preview?: string | null;
|
|
1204
1209
|
treeColorPreview?: string | null;
|
|
1210
|
+
parentContext?: string | null;
|
|
1205
1211
|
} | null;
|
|
1206
1212
|
permissions?: {
|
|
1207
1213
|
admin_library: boolean;
|
|
@@ -3620,6 +3626,16 @@ export type RecordHistoryLogEntryFragment = {
|
|
|
3620
3626
|
type: AttributeType;
|
|
3621
3627
|
format?: AttributeFormat | null;
|
|
3622
3628
|
multiple_values: boolean;
|
|
3629
|
+
} | {
|
|
3630
|
+
id: string;
|
|
3631
|
+
label?: any | null;
|
|
3632
|
+
type: AttributeType;
|
|
3633
|
+
format?: AttributeFormat | null;
|
|
3634
|
+
multiple_values: boolean;
|
|
3635
|
+
embedded_fields?: Array<{
|
|
3636
|
+
id: string;
|
|
3637
|
+
label?: any | null;
|
|
3638
|
+
} | null> | null;
|
|
3623
3639
|
} | null;
|
|
3624
3640
|
} | null;
|
|
3625
3641
|
user: {
|
|
@@ -3644,13 +3660,25 @@ export type RecordHistoryLogEntryFragment = {
|
|
|
3644
3660
|
asString?: string | null;
|
|
3645
3661
|
} | null;
|
|
3646
3662
|
};
|
|
3647
|
-
export type
|
|
3663
|
+
export type RecordHistoryLogAttributeLinkAttributeTreeAttributeFragment = {
|
|
3648
3664
|
id: string;
|
|
3649
3665
|
label?: any | null;
|
|
3650
3666
|
type: AttributeType;
|
|
3651
3667
|
format?: AttributeFormat | null;
|
|
3652
3668
|
multiple_values: boolean;
|
|
3653
3669
|
};
|
|
3670
|
+
export type RecordHistoryLogAttributeStandardAttributeFragment = {
|
|
3671
|
+
id: string;
|
|
3672
|
+
label?: any | null;
|
|
3673
|
+
type: AttributeType;
|
|
3674
|
+
format?: AttributeFormat | null;
|
|
3675
|
+
multiple_values: boolean;
|
|
3676
|
+
embedded_fields?: Array<{
|
|
3677
|
+
id: string;
|
|
3678
|
+
label?: any | null;
|
|
3679
|
+
} | null> | null;
|
|
3680
|
+
};
|
|
3681
|
+
export type RecordHistoryLogAttributeFragment = RecordHistoryLogAttributeLinkAttributeTreeAttributeFragment | RecordHistoryLogAttributeStandardAttributeFragment;
|
|
3654
3682
|
export type CheckApplicationExistenceQueryVariables = Exact<{
|
|
3655
3683
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
3656
3684
|
endpoint?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4358,6 +4386,7 @@ export type GetLibraryByIdQuery = {
|
|
|
4358
4386
|
color?: string | null;
|
|
4359
4387
|
preview?: string | null;
|
|
4360
4388
|
treeColorPreview?: string | null;
|
|
4389
|
+
parentContext?: string | null;
|
|
4361
4390
|
} | null;
|
|
4362
4391
|
permissions?: {
|
|
4363
4392
|
admin_library: boolean;
|
|
@@ -4496,6 +4525,7 @@ export type SaveLibraryMutation = {
|
|
|
4496
4525
|
color?: string | null;
|
|
4497
4526
|
preview?: string | null;
|
|
4498
4527
|
treeColorPreview?: string | null;
|
|
4528
|
+
parentContext?: string | null;
|
|
4499
4529
|
} | null;
|
|
4500
4530
|
permissions?: {
|
|
4501
4531
|
admin_library: boolean;
|
|
@@ -6309,6 +6339,68 @@ export type TreeNodeChildrenQuery = {
|
|
|
6309
6339
|
}>;
|
|
6310
6340
|
};
|
|
6311
6341
|
};
|
|
6342
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables = Exact<{
|
|
6343
|
+
treeId: Scalars['ID']['input'];
|
|
6344
|
+
node?: InputMaybe<Scalars['ID']['input']>;
|
|
6345
|
+
pagination?: InputMaybe<Pagination>;
|
|
6346
|
+
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
6347
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
6348
|
+
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
6349
|
+
}>;
|
|
6350
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery = {
|
|
6351
|
+
treeNodeChildren: {
|
|
6352
|
+
totalCount?: number | null;
|
|
6353
|
+
list: Array<{
|
|
6354
|
+
id: string;
|
|
6355
|
+
order?: number | null;
|
|
6356
|
+
childrenCount?: number | null;
|
|
6357
|
+
accessRecordByDefaultPermission?: boolean | null;
|
|
6358
|
+
record: {
|
|
6359
|
+
id: string;
|
|
6360
|
+
active: Array<{
|
|
6361
|
+
value?: any | null;
|
|
6362
|
+
}>;
|
|
6363
|
+
whoAmI: {
|
|
6364
|
+
id: string;
|
|
6365
|
+
label?: string | null;
|
|
6366
|
+
subLabel?: string | null;
|
|
6367
|
+
color?: string | null;
|
|
6368
|
+
preview?: IPreviewScalar | null;
|
|
6369
|
+
library: {
|
|
6370
|
+
id: string;
|
|
6371
|
+
label?: any | null;
|
|
6372
|
+
};
|
|
6373
|
+
};
|
|
6374
|
+
};
|
|
6375
|
+
ancestors?: Array<{
|
|
6376
|
+
id: string;
|
|
6377
|
+
record: {
|
|
6378
|
+
id: string;
|
|
6379
|
+
library: {
|
|
6380
|
+
id: string;
|
|
6381
|
+
label?: any | null;
|
|
6382
|
+
};
|
|
6383
|
+
whoAmI: {
|
|
6384
|
+
id: string;
|
|
6385
|
+
label?: string | null;
|
|
6386
|
+
subLabel?: string | null;
|
|
6387
|
+
color?: string | null;
|
|
6388
|
+
preview?: IPreviewScalar | null;
|
|
6389
|
+
library: {
|
|
6390
|
+
id: string;
|
|
6391
|
+
label?: any | null;
|
|
6392
|
+
};
|
|
6393
|
+
};
|
|
6394
|
+
};
|
|
6395
|
+
}> | null;
|
|
6396
|
+
permissions: {
|
|
6397
|
+
access_tree: boolean;
|
|
6398
|
+
detach: boolean;
|
|
6399
|
+
edit_children: boolean;
|
|
6400
|
+
};
|
|
6401
|
+
}>;
|
|
6402
|
+
};
|
|
6403
|
+
};
|
|
6312
6404
|
export type GetUserDataQueryVariables = Exact<{
|
|
6313
6405
|
keys: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
6314
6406
|
global?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -7332,28 +7424,6 @@ export type SaveViewMutation = {
|
|
|
7332
7424
|
}> | null;
|
|
7333
7425
|
};
|
|
7334
7426
|
};
|
|
7335
|
-
export type TreeFilterByDefaultValuesQueryVariables = Exact<{
|
|
7336
|
-
treeId: Scalars['ID']['input'];
|
|
7337
|
-
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
7338
|
-
}>;
|
|
7339
|
-
export type TreeFilterByDefaultValuesQuery = {
|
|
7340
|
-
treeNodeChildren: {
|
|
7341
|
-
list: Array<{
|
|
7342
|
-
accessRecordByDefaultPermission?: boolean | null;
|
|
7343
|
-
id: string;
|
|
7344
|
-
record: {
|
|
7345
|
-
id: string;
|
|
7346
|
-
whoAmI: {
|
|
7347
|
-
id: string;
|
|
7348
|
-
label?: string | null;
|
|
7349
|
-
library: {
|
|
7350
|
-
id: string;
|
|
7351
|
-
};
|
|
7352
|
-
};
|
|
7353
|
-
};
|
|
7354
|
-
}>;
|
|
7355
|
-
};
|
|
7356
|
-
};
|
|
7357
7427
|
export type AttributeWithValuesForMassEditionQueryVariables = Exact<{
|
|
7358
7428
|
attributeId: Scalars['ID']['input'];
|
|
7359
7429
|
}>;
|
|
@@ -7991,6 +8061,16 @@ export type GetRecordHistoryQuery = {
|
|
|
7991
8061
|
type: AttributeType;
|
|
7992
8062
|
format?: AttributeFormat | null;
|
|
7993
8063
|
multiple_values: boolean;
|
|
8064
|
+
} | {
|
|
8065
|
+
id: string;
|
|
8066
|
+
label?: any | null;
|
|
8067
|
+
type: AttributeType;
|
|
8068
|
+
format?: AttributeFormat | null;
|
|
8069
|
+
multiple_values: boolean;
|
|
8070
|
+
embedded_fields?: Array<{
|
|
8071
|
+
id: string;
|
|
8072
|
+
label?: any | null;
|
|
8073
|
+
} | null> | null;
|
|
7994
8074
|
} | null;
|
|
7995
8075
|
} | null;
|
|
7996
8076
|
user: {
|
|
@@ -9508,6 +9588,55 @@ export type TreeNodeChildrenQueryHookResult = ReturnType<typeof useTreeNodeChild
|
|
|
9508
9588
|
export type TreeNodeChildrenLazyQueryHookResult = ReturnType<typeof useTreeNodeChildrenLazyQuery>;
|
|
9509
9589
|
export type TreeNodeChildrenSuspenseQueryHookResult = ReturnType<typeof useTreeNodeChildrenSuspenseQuery>;
|
|
9510
9590
|
export type TreeNodeChildrenQueryResult = Apollo.QueryResult<TreeNodeChildrenQuery, TreeNodeChildrenQueryVariables>;
|
|
9591
|
+
export declare const GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument: Apollo.DocumentNode;
|
|
9592
|
+
/**
|
|
9593
|
+
* __useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery__
|
|
9594
|
+
*
|
|
9595
|
+
* To run a query within a React component, call `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` and pass it any options that fit your needs.
|
|
9596
|
+
* When your component renders, `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9597
|
+
* you can use to render your UI.
|
|
9598
|
+
*
|
|
9599
|
+
* @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;
|
|
9600
|
+
*
|
|
9601
|
+
* @example
|
|
9602
|
+
* const { data, loading, error } = useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery({
|
|
9603
|
+
* variables: {
|
|
9604
|
+
* treeId: // value for 'treeId'
|
|
9605
|
+
* node: // value for 'node'
|
|
9606
|
+
* pagination: // value for 'pagination'
|
|
9607
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
9608
|
+
* dependentValuesPermissionFilter: // value for 'dependentValuesPermissionFilter'
|
|
9609
|
+
* accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
|
|
9610
|
+
* },
|
|
9611
|
+
* });
|
|
9612
|
+
*/
|
|
9613
|
+
export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery(baseOptions: Apollo.QueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables> & ({
|
|
9614
|
+
variables: GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables;
|
|
9615
|
+
skip?: boolean;
|
|
9616
|
+
} | {
|
|
9617
|
+
skip: boolean;
|
|
9618
|
+
})): Apollo.QueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, Exact<{
|
|
9619
|
+
treeId: Scalars["ID"]["input"];
|
|
9620
|
+
node?: InputMaybe<Scalars["ID"]["input"]>;
|
|
9621
|
+
pagination?: InputMaybe<Pagination>;
|
|
9622
|
+
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
9623
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
9624
|
+
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
9625
|
+
}>>;
|
|
9626
|
+
export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>): Apollo.LazyQueryResultTuple<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, Exact<{
|
|
9627
|
+
treeId: Scalars["ID"]["input"];
|
|
9628
|
+
node?: InputMaybe<Scalars["ID"]["input"]>;
|
|
9629
|
+
pagination?: InputMaybe<Pagination>;
|
|
9630
|
+
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
9631
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
9632
|
+
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
9633
|
+
}>>;
|
|
9634
|
+
export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>): Apollo.UseSuspenseQueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>;
|
|
9635
|
+
export declare function useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>): Apollo.UseSuspenseQueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery | undefined, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>;
|
|
9636
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryHookResult = ReturnType<typeof useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery>;
|
|
9637
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQueryHookResult = ReturnType<typeof useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQuery>;
|
|
9638
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQueryHookResult = ReturnType<typeof useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery>;
|
|
9639
|
+
export type GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryResult = Apollo.QueryResult<GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery, GetTreeNodeChildrenWithAccessByDefaultPermissionQueryQueryVariables>;
|
|
9511
9640
|
export declare const GetUserDataDocument: Apollo.DocumentNode;
|
|
9512
9641
|
/**
|
|
9513
9642
|
* __useGetUserDataQuery__
|
|
@@ -9787,43 +9916,6 @@ export declare function useSaveViewMutation(baseOptions?: Apollo.MutationHookOpt
|
|
|
9787
9916
|
export type SaveViewMutationHookResult = ReturnType<typeof useSaveViewMutation>;
|
|
9788
9917
|
export type SaveViewMutationResult = Apollo.MutationResult<SaveViewMutation>;
|
|
9789
9918
|
export type SaveViewMutationOptions = Apollo.BaseMutationOptions<SaveViewMutation, SaveViewMutationVariables>;
|
|
9790
|
-
export declare const TreeFilterByDefaultValuesDocument: Apollo.DocumentNode;
|
|
9791
|
-
/**
|
|
9792
|
-
* __useTreeFilterByDefaultValuesQuery__
|
|
9793
|
-
*
|
|
9794
|
-
* To run a query within a React component, call `useTreeFilterByDefaultValuesQuery` and pass it any options that fit your needs.
|
|
9795
|
-
* When your component renders, `useTreeFilterByDefaultValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9796
|
-
* you can use to render your UI.
|
|
9797
|
-
*
|
|
9798
|
-
* @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;
|
|
9799
|
-
*
|
|
9800
|
-
* @example
|
|
9801
|
-
* const { data, loading, error } = useTreeFilterByDefaultValuesQuery({
|
|
9802
|
-
* variables: {
|
|
9803
|
-
* treeId: // value for 'treeId'
|
|
9804
|
-
* accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
|
|
9805
|
-
* },
|
|
9806
|
-
* });
|
|
9807
|
-
*/
|
|
9808
|
-
export declare function useTreeFilterByDefaultValuesQuery(baseOptions: Apollo.QueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables> & ({
|
|
9809
|
-
variables: TreeFilterByDefaultValuesQueryVariables;
|
|
9810
|
-
skip?: boolean;
|
|
9811
|
-
} | {
|
|
9812
|
-
skip: boolean;
|
|
9813
|
-
})): Apollo.QueryResult<TreeFilterByDefaultValuesQuery, Exact<{
|
|
9814
|
-
treeId: Scalars["ID"]["input"];
|
|
9815
|
-
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
9816
|
-
}>>;
|
|
9817
|
-
export declare function useTreeFilterByDefaultValuesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>): Apollo.LazyQueryResultTuple<TreeFilterByDefaultValuesQuery, Exact<{
|
|
9818
|
-
treeId: Scalars["ID"]["input"];
|
|
9819
|
-
accessRecordByDefaultPermission?: InputMaybe<AccessRecordByDefaultPermissionInput>;
|
|
9820
|
-
}>>;
|
|
9821
|
-
export declare function useTreeFilterByDefaultValuesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>): Apollo.UseSuspenseQueryResult<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>;
|
|
9822
|
-
export declare function useTreeFilterByDefaultValuesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>): Apollo.UseSuspenseQueryResult<TreeFilterByDefaultValuesQuery | undefined, TreeFilterByDefaultValuesQueryVariables>;
|
|
9823
|
-
export type TreeFilterByDefaultValuesQueryHookResult = ReturnType<typeof useTreeFilterByDefaultValuesQuery>;
|
|
9824
|
-
export type TreeFilterByDefaultValuesLazyQueryHookResult = ReturnType<typeof useTreeFilterByDefaultValuesLazyQuery>;
|
|
9825
|
-
export type TreeFilterByDefaultValuesSuspenseQueryHookResult = ReturnType<typeof useTreeFilterByDefaultValuesSuspenseQuery>;
|
|
9826
|
-
export type TreeFilterByDefaultValuesQueryResult = Apollo.QueryResult<TreeFilterByDefaultValuesQuery, TreeFilterByDefaultValuesQueryVariables>;
|
|
9827
9919
|
export declare const AttributeWithValuesForMassEditionDocument: Apollo.DocumentNode;
|
|
9828
9920
|
/**
|
|
9829
9921
|
* __useAttributeWithValuesForMassEditionQuery__
|
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -88,6 +88,17 @@ 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 = {}));
|
|
91
102
|
export var IoTypes;
|
|
92
103
|
(function (IoTypes) {
|
|
93
104
|
IoTypes["boolean"] = "boolean";
|
|
@@ -141,6 +152,9 @@ export var LogAction;
|
|
|
141
152
|
LogAction["PERMISSION_SAVE"] = "PERMISSION_SAVE";
|
|
142
153
|
LogAction["RECORD_DELETE"] = "RECORD_DELETE";
|
|
143
154
|
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";
|
|
144
158
|
LogAction["TASKS_DELETE"] = "TASKS_DELETE";
|
|
145
159
|
LogAction["TREE_ADD_ELEMENT"] = "TREE_ADD_ELEMENT";
|
|
146
160
|
LogAction["TREE_DELETE"] = "TREE_DELETE";
|
|
@@ -201,6 +215,7 @@ export var PermissionsActions;
|
|
|
201
215
|
PermissionsActions["admin_access_libraries"] = "admin_access_libraries";
|
|
202
216
|
PermissionsActions["admin_access_logs"] = "admin_access_logs";
|
|
203
217
|
PermissionsActions["admin_access_permissions"] = "admin_access_permissions";
|
|
218
|
+
PermissionsActions["admin_access_plugins"] = "admin_access_plugins";
|
|
204
219
|
PermissionsActions["admin_access_tasks"] = "admin_access_tasks";
|
|
205
220
|
PermissionsActions["admin_access_trees"] = "admin_access_trees";
|
|
206
221
|
PermissionsActions["admin_access_version_profiles"] = "admin_access_version_profiles";
|
|
@@ -229,6 +244,7 @@ export var PermissionsActions;
|
|
|
229
244
|
PermissionsActions["admin_edit_version_profile"] = "admin_edit_version_profile";
|
|
230
245
|
PermissionsActions["admin_import_config_clear_database"] = "admin_import_config_clear_database";
|
|
231
246
|
PermissionsActions["admin_library"] = "admin_library";
|
|
247
|
+
PermissionsActions["admin_list_plugins"] = "admin_list_plugins";
|
|
232
248
|
PermissionsActions["admin_manage_global_preferences"] = "admin_manage_global_preferences";
|
|
233
249
|
PermissionsActions["create_record"] = "create_record";
|
|
234
250
|
PermissionsActions["delete_record"] = "delete_record";
|
|
@@ -309,7 +325,6 @@ export var TaskType;
|
|
|
309
325
|
TaskType["IMPORT_CONFIG"] = "IMPORT_CONFIG";
|
|
310
326
|
TaskType["IMPORT_DATA"] = "IMPORT_DATA";
|
|
311
327
|
TaskType["INDEXATION"] = "INDEXATION";
|
|
312
|
-
TaskType["RENEW_CAMPAIGNS"] = "RENEW_CAMPAIGNS";
|
|
313
328
|
TaskType["SAVE_VALUE_BULK"] = "SAVE_VALUE_BULK";
|
|
314
329
|
})(TaskType || (TaskType = {}));
|
|
315
330
|
export var TreeBehavior;
|
|
@@ -576,6 +591,7 @@ export const LibraryDetailsFragmentDoc = gql `
|
|
|
576
591
|
color
|
|
577
592
|
preview
|
|
578
593
|
treeColorPreview
|
|
594
|
+
parentContext
|
|
579
595
|
}
|
|
580
596
|
permissions {
|
|
581
597
|
admin_library
|
|
@@ -1171,6 +1187,12 @@ export const RecordHistoryLogAttributeFragmentDoc = gql `
|
|
|
1171
1187
|
type
|
|
1172
1188
|
format
|
|
1173
1189
|
multiple_values
|
|
1190
|
+
... on StandardAttribute {
|
|
1191
|
+
embedded_fields {
|
|
1192
|
+
id
|
|
1193
|
+
label
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1174
1196
|
}
|
|
1175
1197
|
`;
|
|
1176
1198
|
export const RecordHistoryLogEntryFragmentDoc = gql `
|
|
@@ -3001,6 +3023,83 @@ export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
|
3001
3023
|
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3002
3024
|
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
3003
3025
|
}
|
|
3026
|
+
export const GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument = gql `
|
|
3027
|
+
query GetTreeNodeChildrenWithAccessByDefaultPermissionQuery($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput, $dependentValuesPermissionFilter: DependentValuesPermissionFilterInput, $accessRecordByDefaultPermission: AccessRecordByDefaultPermissionInput) {
|
|
3028
|
+
treeNodeChildren(
|
|
3029
|
+
treeId: $treeId
|
|
3030
|
+
node: $node
|
|
3031
|
+
pagination: $pagination
|
|
3032
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
3033
|
+
dependentValuesPermissionFilter: $dependentValuesPermissionFilter
|
|
3034
|
+
accessRecordByDefaultPermission: $accessRecordByDefaultPermission
|
|
3035
|
+
) {
|
|
3036
|
+
totalCount
|
|
3037
|
+
list {
|
|
3038
|
+
id
|
|
3039
|
+
order
|
|
3040
|
+
childrenCount
|
|
3041
|
+
record {
|
|
3042
|
+
...RecordIdentity
|
|
3043
|
+
active: property(attribute: "active") {
|
|
3044
|
+
... on Value {
|
|
3045
|
+
value
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
3048
|
+
}
|
|
3049
|
+
ancestors {
|
|
3050
|
+
id
|
|
3051
|
+
record {
|
|
3052
|
+
id
|
|
3053
|
+
library {
|
|
3054
|
+
id
|
|
3055
|
+
label
|
|
3056
|
+
}
|
|
3057
|
+
...RecordIdentity
|
|
3058
|
+
}
|
|
3059
|
+
}
|
|
3060
|
+
permissions {
|
|
3061
|
+
access_tree
|
|
3062
|
+
detach
|
|
3063
|
+
edit_children
|
|
3064
|
+
}
|
|
3065
|
+
accessRecordByDefaultPermission
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3068
|
+
}
|
|
3069
|
+
${RecordIdentityFragmentDoc}`;
|
|
3070
|
+
/**
|
|
3071
|
+
* __useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery__
|
|
3072
|
+
*
|
|
3073
|
+
* To run a query within a React component, call `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` and pass it any options that fit your needs.
|
|
3074
|
+
* When your component renders, `useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3075
|
+
* you can use to render your UI.
|
|
3076
|
+
*
|
|
3077
|
+
* @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;
|
|
3078
|
+
*
|
|
3079
|
+
* @example
|
|
3080
|
+
* const { data, loading, error } = useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery({
|
|
3081
|
+
* variables: {
|
|
3082
|
+
* treeId: // value for 'treeId'
|
|
3083
|
+
* node: // value for 'node'
|
|
3084
|
+
* pagination: // value for 'pagination'
|
|
3085
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
3086
|
+
* dependentValuesPermissionFilter: // value for 'dependentValuesPermissionFilter'
|
|
3087
|
+
* accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
|
|
3088
|
+
* },
|
|
3089
|
+
* });
|
|
3090
|
+
*/
|
|
3091
|
+
export function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryQuery(baseOptions) {
|
|
3092
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3093
|
+
return Apollo.useQuery(GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument, options);
|
|
3094
|
+
}
|
|
3095
|
+
export function useGetTreeNodeChildrenWithAccessByDefaultPermissionQueryLazyQuery(baseOptions) {
|
|
3096
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3097
|
+
return Apollo.useLazyQuery(GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument, options);
|
|
3098
|
+
}
|
|
3099
|
+
export function useGetTreeNodeChildrenWithAccessByDefaultPermissionQuerySuspenseQuery(baseOptions) {
|
|
3100
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3101
|
+
return Apollo.useSuspenseQuery(GetTreeNodeChildrenWithAccessByDefaultPermissionQueryDocument, options);
|
|
3102
|
+
}
|
|
3004
3103
|
export const GetUserDataDocument = gql `
|
|
3005
3104
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
3006
3105
|
userData(keys: $keys, global: $global) {
|
|
@@ -3315,58 +3414,6 @@ export function useSaveViewMutation(baseOptions) {
|
|
|
3315
3414
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3316
3415
|
return Apollo.useMutation(SaveViewDocument, options);
|
|
3317
3416
|
}
|
|
3318
|
-
export const TreeFilterByDefaultValuesDocument = gql `
|
|
3319
|
-
query TreeFilterByDefaultValues($treeId: ID!, $accessRecordByDefaultPermission: AccessRecordByDefaultPermissionInput) {
|
|
3320
|
-
treeNodeChildren(
|
|
3321
|
-
treeId: $treeId
|
|
3322
|
-
accessRecordByDefaultPermission: $accessRecordByDefaultPermission
|
|
3323
|
-
) {
|
|
3324
|
-
list {
|
|
3325
|
-
accessRecordByDefaultPermission
|
|
3326
|
-
id
|
|
3327
|
-
record {
|
|
3328
|
-
id
|
|
3329
|
-
whoAmI {
|
|
3330
|
-
label
|
|
3331
|
-
id
|
|
3332
|
-
library {
|
|
3333
|
-
id
|
|
3334
|
-
}
|
|
3335
|
-
}
|
|
3336
|
-
}
|
|
3337
|
-
}
|
|
3338
|
-
}
|
|
3339
|
-
}
|
|
3340
|
-
`;
|
|
3341
|
-
/**
|
|
3342
|
-
* __useTreeFilterByDefaultValuesQuery__
|
|
3343
|
-
*
|
|
3344
|
-
* To run a query within a React component, call `useTreeFilterByDefaultValuesQuery` and pass it any options that fit your needs.
|
|
3345
|
-
* When your component renders, `useTreeFilterByDefaultValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3346
|
-
* you can use to render your UI.
|
|
3347
|
-
*
|
|
3348
|
-
* @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;
|
|
3349
|
-
*
|
|
3350
|
-
* @example
|
|
3351
|
-
* const { data, loading, error } = useTreeFilterByDefaultValuesQuery({
|
|
3352
|
-
* variables: {
|
|
3353
|
-
* treeId: // value for 'treeId'
|
|
3354
|
-
* accessRecordByDefaultPermission: // value for 'accessRecordByDefaultPermission'
|
|
3355
|
-
* },
|
|
3356
|
-
* });
|
|
3357
|
-
*/
|
|
3358
|
-
export function useTreeFilterByDefaultValuesQuery(baseOptions) {
|
|
3359
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3360
|
-
return Apollo.useQuery(TreeFilterByDefaultValuesDocument, options);
|
|
3361
|
-
}
|
|
3362
|
-
export function useTreeFilterByDefaultValuesLazyQuery(baseOptions) {
|
|
3363
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3364
|
-
return Apollo.useLazyQuery(TreeFilterByDefaultValuesDocument, options);
|
|
3365
|
-
}
|
|
3366
|
-
export function useTreeFilterByDefaultValuesSuspenseQuery(baseOptions) {
|
|
3367
|
-
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3368
|
-
return Apollo.useSuspenseQuery(TreeFilterByDefaultValuesDocument, options);
|
|
3369
|
-
}
|
|
3370
3417
|
export const AttributeWithValuesForMassEditionDocument = gql `
|
|
3371
3418
|
query AttributeWithValuesForMassEdition($attributeId: ID!) {
|
|
3372
3419
|
attributes(filters: {id: $attributeId}) {
|