@leav/ui 0.4.0-6eb72ab3 → 0.4.0-72f662c5
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/form.d.ts +632 -0
- package/dist/__mocks__/common/form.js +27 -22
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +3039 -2862
- package/dist/_gqlTypes/index.js +377 -179
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js +1 -5
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js +12 -2
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/components/Explorer/DataView.js +3 -3
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +0 -1
- package/dist/components/Explorer/Explorer.js +6 -3
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.d.ts +1 -1
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js +50 -32
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js +31 -27
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +3 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +2 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +2 -2
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +2 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +3 -17
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +5 -3
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -18
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.d.ts +3 -0
- package/dist/components/Explorer/link-item/LinkModal.js +14 -4
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +2 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useLoadView.d.ts +1 -1
- package/dist/components/Explorer/useLoadView.js +32 -38
- package/dist/components/Explorer/useLoadView.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.js +1 -0
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +72 -224
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +57 -33
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +15 -12
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +7 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +15 -2
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +47 -24
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +28 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.d.ts +13 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js +113 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +12 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +39 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +3 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +25 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +10 -34
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.d.ts → link-record/useExplorerLinkRecords.d.ts} +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.js → link-record/useExplorerLinkRecords.js} +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecordsInEdition.d.ts → link-record/useLinkRecords.d.ts} +5 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +79 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +61 -78
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +23 -26
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/{useDisplayTreeNode.d.ts → TreeNodeList.d.ts} +3 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +3 -10
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +12 -16
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +4 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +56 -58
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +2 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +6 -10
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +22 -4
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +23 -5
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +6 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +5 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/index.d.ts +1 -1
- package/dist/components/RecordEdition/index.js +1 -1
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -0
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +5 -3
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +5 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js +2 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +3 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +18 -23
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/_types.d.ts +17 -0
- package/dist/components/SelectTreeNode/_types.js +2 -0
- package/dist/components/SelectTreeNode/_types.js.map +1 -0
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +2 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +2 -13
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/types.d.ts +2 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +3 -3
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +5 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +6 -3
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +1 -3
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
- package/package.json +16 -3
- package/dist/components/LinkSelect/LinkSelect.d.ts +0 -15
- package/dist/components/LinkSelect/LinkSelect.js +0 -88
- package/dist/components/LinkSelect/LinkSelect.js.map +0 -1
- package/dist/components/LinkSelect/index.d.ts +0 -2
- package/dist/components/LinkSelect/index.js +0 -6
- package/dist/components/LinkSelect/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.d.ts +0 -6
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.js +0 -7
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.d.ts +0 -5
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js +0 -28
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js +0 -7
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.d.ts +0 -121
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +0 -31
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.d.ts +0 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js +0 -39
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js +0 -23
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js +0 -23
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js +0 -26
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.d.ts +0 -12
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js +0 -24
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.d.ts +0 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js +0 -103
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.d.ts +0 -22
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +0 -104
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +0 -311
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js +0 -15
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +0 -16
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +0 -35
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js.map +0 -1
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";
|
|
@@ -190,6 +204,7 @@ export var PermissionsActions;
|
|
|
190
204
|
PermissionsActions["admin_access_applications"] = "admin_access_applications";
|
|
191
205
|
PermissionsActions["admin_access_attributes"] = "admin_access_attributes";
|
|
192
206
|
PermissionsActions["admin_access_libraries"] = "admin_access_libraries";
|
|
207
|
+
PermissionsActions["admin_access_logs"] = "admin_access_logs";
|
|
193
208
|
PermissionsActions["admin_access_permissions"] = "admin_access_permissions";
|
|
194
209
|
PermissionsActions["admin_access_tasks"] = "admin_access_tasks";
|
|
195
210
|
PermissionsActions["admin_access_trees"] = "admin_access_trees";
|
|
@@ -268,6 +283,13 @@ export var RecordFilterOperator;
|
|
|
268
283
|
RecordFilterOperator["OPEN_BRACKET"] = "OPEN_BRACKET";
|
|
269
284
|
RecordFilterOperator["OR"] = "OR";
|
|
270
285
|
})(RecordFilterOperator || (RecordFilterOperator = {}));
|
|
286
|
+
export var RecordPermissionsActions;
|
|
287
|
+
(function (RecordPermissionsActions) {
|
|
288
|
+
RecordPermissionsActions["access_record"] = "access_record";
|
|
289
|
+
RecordPermissionsActions["create_record"] = "create_record";
|
|
290
|
+
RecordPermissionsActions["delete_record"] = "delete_record";
|
|
291
|
+
RecordPermissionsActions["edit_record"] = "edit_record";
|
|
292
|
+
})(RecordPermissionsActions || (RecordPermissionsActions = {}));
|
|
271
293
|
export var SortOrder;
|
|
272
294
|
(function (SortOrder) {
|
|
273
295
|
SortOrder["asc"] = "asc";
|
|
@@ -457,6 +479,101 @@ export const AttributesByLibAttributeFragmentDoc = gql `
|
|
|
457
479
|
}
|
|
458
480
|
}
|
|
459
481
|
${AttributesByLibLinkAttributeFragmentDoc}`;
|
|
482
|
+
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
483
|
+
fragment ValuesVersionDetails on ValueVersion {
|
|
484
|
+
treeId
|
|
485
|
+
treeNode {
|
|
486
|
+
id
|
|
487
|
+
record {
|
|
488
|
+
id
|
|
489
|
+
whoAmI {
|
|
490
|
+
id
|
|
491
|
+
label
|
|
492
|
+
library {
|
|
493
|
+
id
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
`;
|
|
500
|
+
export const ValueDetailsFragmentDoc = gql `
|
|
501
|
+
fragment ValueDetails on GenericValue {
|
|
502
|
+
id_value
|
|
503
|
+
isInherited
|
|
504
|
+
isCalculated
|
|
505
|
+
modified_at
|
|
506
|
+
modified_by {
|
|
507
|
+
...RecordIdentity
|
|
508
|
+
}
|
|
509
|
+
created_at
|
|
510
|
+
created_by {
|
|
511
|
+
...RecordIdentity
|
|
512
|
+
}
|
|
513
|
+
version {
|
|
514
|
+
...ValuesVersionDetails
|
|
515
|
+
}
|
|
516
|
+
attribute {
|
|
517
|
+
id
|
|
518
|
+
format
|
|
519
|
+
type
|
|
520
|
+
system
|
|
521
|
+
}
|
|
522
|
+
metadata {
|
|
523
|
+
name
|
|
524
|
+
value {
|
|
525
|
+
id_value
|
|
526
|
+
modified_at
|
|
527
|
+
modified_by {
|
|
528
|
+
...RecordIdentity
|
|
529
|
+
}
|
|
530
|
+
created_at
|
|
531
|
+
created_by {
|
|
532
|
+
...RecordIdentity
|
|
533
|
+
}
|
|
534
|
+
version {
|
|
535
|
+
...ValuesVersionDetails
|
|
536
|
+
}
|
|
537
|
+
payload
|
|
538
|
+
raw_payload
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
... on Value {
|
|
542
|
+
payload
|
|
543
|
+
raw_payload
|
|
544
|
+
value
|
|
545
|
+
raw_value
|
|
546
|
+
}
|
|
547
|
+
... on LinkValue {
|
|
548
|
+
linkValue: payload {
|
|
549
|
+
...RecordIdentity
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
... on TreeValue {
|
|
553
|
+
treeValue: payload {
|
|
554
|
+
id
|
|
555
|
+
record {
|
|
556
|
+
...RecordIdentity
|
|
557
|
+
}
|
|
558
|
+
ancestors {
|
|
559
|
+
record {
|
|
560
|
+
...RecordIdentity
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
${RecordIdentityFragmentDoc}
|
|
567
|
+
${ValuesVersionDetailsFragmentDoc}`;
|
|
568
|
+
export const RecordFormElementValuesFragmentDoc = gql `
|
|
569
|
+
fragment RecordFormElementValues on FormElementValues {
|
|
570
|
+
id
|
|
571
|
+
valueError
|
|
572
|
+
values {
|
|
573
|
+
...ValueDetails
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
${ValueDetailsFragmentDoc}`;
|
|
460
577
|
export const LibraryLightFragmentDoc = gql `
|
|
461
578
|
fragment LibraryLight on Library {
|
|
462
579
|
id
|
|
@@ -557,92 +674,6 @@ export const LibraryDetailsFragmentDoc = gql `
|
|
|
557
674
|
${LibraryAttributesFragmentDoc}
|
|
558
675
|
${RecordIdentityFragmentDoc}
|
|
559
676
|
${LibraryPreviewsSettingsFragmentDoc}`;
|
|
560
|
-
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
561
|
-
fragment ValuesVersionDetails on ValueVersion {
|
|
562
|
-
treeId
|
|
563
|
-
treeNode {
|
|
564
|
-
id
|
|
565
|
-
record {
|
|
566
|
-
id
|
|
567
|
-
whoAmI {
|
|
568
|
-
id
|
|
569
|
-
label
|
|
570
|
-
library {
|
|
571
|
-
id
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
`;
|
|
578
|
-
export const ValueDetailsFragmentDoc = gql `
|
|
579
|
-
fragment ValueDetails on GenericValue {
|
|
580
|
-
id_value
|
|
581
|
-
isInherited
|
|
582
|
-
isCalculated
|
|
583
|
-
modified_at
|
|
584
|
-
modified_by {
|
|
585
|
-
...RecordIdentity
|
|
586
|
-
}
|
|
587
|
-
created_at
|
|
588
|
-
created_by {
|
|
589
|
-
...RecordIdentity
|
|
590
|
-
}
|
|
591
|
-
version {
|
|
592
|
-
...ValuesVersionDetails
|
|
593
|
-
}
|
|
594
|
-
attribute {
|
|
595
|
-
id
|
|
596
|
-
format
|
|
597
|
-
type
|
|
598
|
-
system
|
|
599
|
-
}
|
|
600
|
-
metadata {
|
|
601
|
-
name
|
|
602
|
-
value {
|
|
603
|
-
id_value
|
|
604
|
-
modified_at
|
|
605
|
-
modified_by {
|
|
606
|
-
...RecordIdentity
|
|
607
|
-
}
|
|
608
|
-
created_at
|
|
609
|
-
created_by {
|
|
610
|
-
...RecordIdentity
|
|
611
|
-
}
|
|
612
|
-
version {
|
|
613
|
-
...ValuesVersionDetails
|
|
614
|
-
}
|
|
615
|
-
payload
|
|
616
|
-
raw_payload
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
... on Value {
|
|
620
|
-
payload
|
|
621
|
-
raw_payload
|
|
622
|
-
value
|
|
623
|
-
raw_value
|
|
624
|
-
}
|
|
625
|
-
... on LinkValue {
|
|
626
|
-
linkValue: payload {
|
|
627
|
-
...RecordIdentity
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
... on TreeValue {
|
|
631
|
-
treeValue: payload {
|
|
632
|
-
id
|
|
633
|
-
record {
|
|
634
|
-
...RecordIdentity
|
|
635
|
-
}
|
|
636
|
-
ancestors {
|
|
637
|
-
record {
|
|
638
|
-
...RecordIdentity
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
${RecordIdentityFragmentDoc}
|
|
645
|
-
${ValuesVersionDetailsFragmentDoc}`;
|
|
646
677
|
export const StandardValuesListFragmentFragmentDoc = gql `
|
|
647
678
|
fragment StandardValuesListFragment on StandardValuesListConf {
|
|
648
679
|
... on StandardStringValuesListConf {
|
|
@@ -765,15 +796,11 @@ export const JoinLibraryContextFragmentDoc = gql `
|
|
|
765
796
|
}
|
|
766
797
|
${RecordFormAttributeFragmentDoc}`;
|
|
767
798
|
export const RecordFormElementFragmentDoc = gql `
|
|
768
|
-
fragment RecordFormElement on
|
|
799
|
+
fragment RecordFormElement on FormElement {
|
|
769
800
|
id
|
|
770
801
|
containerId
|
|
771
802
|
uiElementType
|
|
772
803
|
type
|
|
773
|
-
valueError
|
|
774
|
-
values {
|
|
775
|
-
...ValueDetails
|
|
776
|
-
}
|
|
777
804
|
attribute {
|
|
778
805
|
...RecordFormAttribute
|
|
779
806
|
}
|
|
@@ -785,8 +812,7 @@ export const RecordFormElementFragmentDoc = gql `
|
|
|
785
812
|
...JoinLibraryContext
|
|
786
813
|
}
|
|
787
814
|
}
|
|
788
|
-
${
|
|
789
|
-
${RecordFormAttributeFragmentDoc}
|
|
815
|
+
${RecordFormAttributeFragmentDoc}
|
|
790
816
|
${JoinLibraryContextFragmentDoc}`;
|
|
791
817
|
export const TreeLightFragmentDoc = gql `
|
|
792
818
|
fragment TreeLight on Tree {
|
|
@@ -947,6 +973,19 @@ export const LinkAttributeDetailsFragmentDoc = gql `
|
|
|
947
973
|
id
|
|
948
974
|
label
|
|
949
975
|
}
|
|
976
|
+
values_list {
|
|
977
|
+
allowFreeEntry
|
|
978
|
+
enable
|
|
979
|
+
values {
|
|
980
|
+
id
|
|
981
|
+
whoAmI {
|
|
982
|
+
id
|
|
983
|
+
library {
|
|
984
|
+
id
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
}
|
|
950
989
|
}
|
|
951
990
|
`;
|
|
952
991
|
export const AttributePropertiesFragmentDoc = gql `
|
|
@@ -1060,6 +1099,10 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
1060
1099
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1061
1100
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
1062
1101
|
}
|
|
1102
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1103
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1104
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1105
|
+
}
|
|
1063
1106
|
export const GetApplicationByIdDocument = gql `
|
|
1064
1107
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1065
1108
|
applications(filters: {id: $id}) {
|
|
@@ -1093,6 +1136,10 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1093
1136
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1094
1137
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1095
1138
|
}
|
|
1139
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1140
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1141
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1142
|
+
}
|
|
1096
1143
|
export const GetApplicationModulesDocument = gql `
|
|
1097
1144
|
query GET_APPLICATION_MODULES {
|
|
1098
1145
|
applicationsModules {
|
|
@@ -1125,6 +1172,10 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1125
1172
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1126
1173
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1127
1174
|
}
|
|
1175
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1176
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1177
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1178
|
+
}
|
|
1128
1179
|
export const SaveApplicationDocument = gql `
|
|
1129
1180
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1130
1181
|
saveApplication(application: $application) {
|
|
@@ -1184,6 +1235,10 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1184
1235
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1185
1236
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1186
1237
|
}
|
|
1238
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1239
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1240
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1241
|
+
}
|
|
1187
1242
|
export const DeleteAttributeDocument = gql `
|
|
1188
1243
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1189
1244
|
deleteAttribute(id: $id) {
|
|
@@ -1245,6 +1300,10 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1245
1300
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1246
1301
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1247
1302
|
}
|
|
1303
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1304
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1305
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1306
|
+
}
|
|
1248
1307
|
export const GetAttributesByLibDocument = gql `
|
|
1249
1308
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1250
1309
|
attributes(filters: {libraries: [$library]}) {
|
|
@@ -1278,6 +1337,10 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1278
1337
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1279
1338
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1280
1339
|
}
|
|
1340
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1341
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1342
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1343
|
+
}
|
|
1281
1344
|
export const GetAttributesDocument = gql `
|
|
1282
1345
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1283
1346
|
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
@@ -1318,6 +1381,10 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1318
1381
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1319
1382
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1320
1383
|
}
|
|
1384
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1385
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1386
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1387
|
+
}
|
|
1321
1388
|
export const GetVersionProfilesDocument = gql `
|
|
1322
1389
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1323
1390
|
versionProfiles(filters: $filters, sort: $sort) {
|
|
@@ -1353,6 +1420,10 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1353
1420
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1354
1421
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1355
1422
|
}
|
|
1423
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1424
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1425
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1426
|
+
}
|
|
1356
1427
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1357
1428
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1358
1429
|
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
@@ -1396,6 +1467,10 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1396
1467
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1397
1468
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1398
1469
|
}
|
|
1470
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1471
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1472
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1473
|
+
}
|
|
1399
1474
|
export const SaveAttributeDocument = gql `
|
|
1400
1475
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1401
1476
|
saveAttribute(attribute: $attribute) {
|
|
@@ -1455,6 +1530,10 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1455
1530
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1456
1531
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1457
1532
|
}
|
|
1533
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1534
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1535
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1536
|
+
}
|
|
1458
1537
|
export const CreateDirectoryDocument = gql `
|
|
1459
1538
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1460
1539
|
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
@@ -1595,6 +1674,10 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1595
1674
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1596
1675
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1597
1676
|
}
|
|
1677
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1678
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1679
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1680
|
+
}
|
|
1598
1681
|
export const UploadUpdateDocument = gql `
|
|
1599
1682
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1600
1683
|
upload(filters: $filters) {
|
|
@@ -1666,6 +1749,51 @@ export function useUploadMutation(baseOptions) {
|
|
|
1666
1749
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1667
1750
|
return Apollo.useMutation(UploadDocument, options);
|
|
1668
1751
|
}
|
|
1752
|
+
export const GetRecordFormElementsValuesDocument = gql `
|
|
1753
|
+
query GET_RECORD_FORM_ELEMENTS_VALUES($recordId: String, $libraryId: String!, $formId: String!, $version: [ValueVersionInput!], $elementIds: [ID!]) {
|
|
1754
|
+
getRecordFormElementsValues(
|
|
1755
|
+
recordId: $recordId
|
|
1756
|
+
libraryId: $libraryId
|
|
1757
|
+
formId: $formId
|
|
1758
|
+
version: $version
|
|
1759
|
+
elementIds: $elementIds
|
|
1760
|
+
) {
|
|
1761
|
+
...RecordFormElementValues
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
${RecordFormElementValuesFragmentDoc}`;
|
|
1765
|
+
/**
|
|
1766
|
+
* __useGetRecordFormElementsValuesQuery__
|
|
1767
|
+
*
|
|
1768
|
+
* To run a query within a React component, call `useGetRecordFormElementsValuesQuery` and pass it any options that fit your needs.
|
|
1769
|
+
* When your component renders, `useGetRecordFormElementsValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1770
|
+
* you can use to render your UI.
|
|
1771
|
+
*
|
|
1772
|
+
* @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;
|
|
1773
|
+
*
|
|
1774
|
+
* @example
|
|
1775
|
+
* const { data, loading, error } = useGetRecordFormElementsValuesQuery({
|
|
1776
|
+
* variables: {
|
|
1777
|
+
* recordId: // value for 'recordId'
|
|
1778
|
+
* libraryId: // value for 'libraryId'
|
|
1779
|
+
* formId: // value for 'formId'
|
|
1780
|
+
* version: // value for 'version'
|
|
1781
|
+
* elementIds: // value for 'elementIds'
|
|
1782
|
+
* },
|
|
1783
|
+
* });
|
|
1784
|
+
*/
|
|
1785
|
+
export function useGetRecordFormElementsValuesQuery(baseOptions) {
|
|
1786
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1787
|
+
return Apollo.useQuery(GetRecordFormElementsValuesDocument, options);
|
|
1788
|
+
}
|
|
1789
|
+
export function useGetRecordFormElementsValuesLazyQuery(baseOptions) {
|
|
1790
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1791
|
+
return Apollo.useLazyQuery(GetRecordFormElementsValuesDocument, options);
|
|
1792
|
+
}
|
|
1793
|
+
export function useGetRecordFormElementsValuesSuspenseQuery(baseOptions) {
|
|
1794
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1795
|
+
return Apollo.useSuspenseQuery(GetRecordFormElementsValuesDocument, options);
|
|
1796
|
+
}
|
|
1669
1797
|
export const ImportExcelDocument = gql `
|
|
1670
1798
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1671
1799
|
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
@@ -1725,6 +1853,10 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1725
1853
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1726
1854
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1727
1855
|
}
|
|
1856
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1857
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1858
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1859
|
+
}
|
|
1728
1860
|
export const DeleteLibraryDocument = gql `
|
|
1729
1861
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1730
1862
|
deleteLibrary(id: $id) {
|
|
@@ -1785,6 +1917,10 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1785
1917
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1786
1918
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1787
1919
|
}
|
|
1920
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1921
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1922
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1923
|
+
}
|
|
1788
1924
|
export const GetLibraryByIdDocument = gql `
|
|
1789
1925
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1790
1926
|
libraries(filters: {id: $id}) {
|
|
@@ -1818,6 +1954,10 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1818
1954
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1819
1955
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1820
1956
|
}
|
|
1957
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
1958
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1959
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
1960
|
+
}
|
|
1821
1961
|
export const GetLibraryPermissionsDocument = gql `
|
|
1822
1962
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1823
1963
|
libraries(filters: {id: $libraryId}) {
|
|
@@ -1857,6 +1997,10 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1857
1997
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1858
1998
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
1859
1999
|
}
|
|
2000
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
2001
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2002
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
2003
|
+
}
|
|
1860
2004
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1861
2005
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1862
2006
|
libraries(filters: {id: [$id]}) {
|
|
@@ -1905,6 +2049,10 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1905
2049
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1906
2050
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
1907
2051
|
}
|
|
2052
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2053
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2054
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2055
|
+
}
|
|
1908
2056
|
export const SaveLibraryDocument = gql `
|
|
1909
2057
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1910
2058
|
saveLibrary(library: $library) {
|
|
@@ -1968,6 +2116,10 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1968
2116
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1969
2117
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
1970
2118
|
}
|
|
2119
|
+
export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
2120
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2121
|
+
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2122
|
+
}
|
|
1971
2123
|
export const ActivateRecordsDocument = gql `
|
|
1972
2124
|
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
1973
2125
|
activateRecords(
|
|
@@ -2003,6 +2155,42 @@ export function useActivateRecordsMutation(baseOptions) {
|
|
|
2003
2155
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2004
2156
|
return Apollo.useMutation(ActivateRecordsDocument, options);
|
|
2005
2157
|
}
|
|
2158
|
+
export const CreateEmptyRecordDocument = gql `
|
|
2159
|
+
mutation createEmptyRecord($library: ID!) {
|
|
2160
|
+
createEmptyRecord(library: $library) {
|
|
2161
|
+
record {
|
|
2162
|
+
...RecordIdentity
|
|
2163
|
+
}
|
|
2164
|
+
valuesErrors {
|
|
2165
|
+
type
|
|
2166
|
+
attribute
|
|
2167
|
+
input
|
|
2168
|
+
message
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
${RecordIdentityFragmentDoc}`;
|
|
2173
|
+
/**
|
|
2174
|
+
* __useCreateEmptyRecordMutation__
|
|
2175
|
+
*
|
|
2176
|
+
* To run a mutation, you first call `useCreateEmptyRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2177
|
+
* When your component renders, `useCreateEmptyRecordMutation` returns a tuple that includes:
|
|
2178
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2179
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2180
|
+
*
|
|
2181
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2182
|
+
*
|
|
2183
|
+
* @example
|
|
2184
|
+
* const [createEmptyRecordMutation, { data, loading, error }] = useCreateEmptyRecordMutation({
|
|
2185
|
+
* variables: {
|
|
2186
|
+
* library: // value for 'library'
|
|
2187
|
+
* },
|
|
2188
|
+
* });
|
|
2189
|
+
*/
|
|
2190
|
+
export function useCreateEmptyRecordMutation(baseOptions) {
|
|
2191
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2192
|
+
return Apollo.useMutation(CreateEmptyRecordDocument, options);
|
|
2193
|
+
}
|
|
2006
2194
|
export const CreateRecordDocument = gql `
|
|
2007
2195
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
2008
2196
|
createRecord(library: $library, data: $data) {
|
|
@@ -2110,6 +2298,10 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2110
2298
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2111
2299
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2112
2300
|
}
|
|
2301
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2302
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2303
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2304
|
+
}
|
|
2113
2305
|
export const GetFileDataDocument = gql `
|
|
2114
2306
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2115
2307
|
records(
|
|
@@ -2190,6 +2382,10 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2190
2382
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2191
2383
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2192
2384
|
}
|
|
2385
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2386
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2387
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2388
|
+
}
|
|
2193
2389
|
export const RecordFormDocument = gql `
|
|
2194
2390
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2195
2391
|
recordForm(
|
|
@@ -2243,6 +2439,10 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2243
2439
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2244
2440
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2245
2441
|
}
|
|
2442
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2443
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2444
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2445
|
+
}
|
|
2246
2446
|
export const RecordUpdateDocument = gql `
|
|
2247
2447
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2248
2448
|
recordUpdate(filters: $filters) {
|
|
@@ -2322,6 +2522,10 @@ export function useGetRecordsFromLibraryLazyQuery(baseOptions) {
|
|
|
2322
2522
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2323
2523
|
return Apollo.useLazyQuery(GetRecordsFromLibraryDocument, options);
|
|
2324
2524
|
}
|
|
2525
|
+
export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
2526
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2527
|
+
return Apollo.useSuspenseQuery(GetRecordsFromLibraryDocument, options);
|
|
2528
|
+
}
|
|
2325
2529
|
export const IndexRecordsDocument = gql `
|
|
2326
2530
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2327
2531
|
indexRecords(libraryId: $libraryId, records: $records)
|
|
@@ -2406,6 +2610,10 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2406
2610
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2407
2611
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2408
2612
|
}
|
|
2613
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2614
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2615
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2616
|
+
}
|
|
2409
2617
|
export const DeleteTreeDocument = gql `
|
|
2410
2618
|
mutation DELETE_TREE($id: ID!) {
|
|
2411
2619
|
deleteTree(id: $id) {
|
|
@@ -2467,6 +2675,10 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2467
2675
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2468
2676
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2469
2677
|
}
|
|
2678
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2679
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2680
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2681
|
+
}
|
|
2470
2682
|
export const GetTreeLibrariesDocument = gql `
|
|
2471
2683
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2472
2684
|
trees(filters: {id: $treeId, library: $library}) {
|
|
@@ -2517,6 +2729,10 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2517
2729
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2518
2730
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2519
2731
|
}
|
|
2732
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2733
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2734
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2735
|
+
}
|
|
2520
2736
|
export const GetTreesDocument = gql `
|
|
2521
2737
|
query GET_TREES {
|
|
2522
2738
|
trees {
|
|
@@ -2549,6 +2765,10 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2549
2765
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2550
2766
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2551
2767
|
}
|
|
2768
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2769
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2770
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2771
|
+
}
|
|
2552
2772
|
export const SaveTreeDocument = gql `
|
|
2553
2773
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2554
2774
|
saveTree(tree: $tree) {
|
|
@@ -2578,8 +2798,13 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2578
2798
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2579
2799
|
}
|
|
2580
2800
|
export const TreeNodeChildrenDocument = gql `
|
|
2581
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2582
|
-
treeNodeChildren(
|
|
2801
|
+
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2802
|
+
treeNodeChildren(
|
|
2803
|
+
treeId: $treeId
|
|
2804
|
+
node: $node
|
|
2805
|
+
pagination: $pagination
|
|
2806
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2807
|
+
) {
|
|
2583
2808
|
totalCount
|
|
2584
2809
|
list {
|
|
2585
2810
|
...TreeNodeChild
|
|
@@ -2602,6 +2827,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2602
2827
|
* treeId: // value for 'treeId'
|
|
2603
2828
|
* node: // value for 'node'
|
|
2604
2829
|
* pagination: // value for 'pagination'
|
|
2830
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2605
2831
|
* },
|
|
2606
2832
|
* });
|
|
2607
2833
|
*/
|
|
@@ -2613,6 +2839,10 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2613
2839
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2614
2840
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2615
2841
|
}
|
|
2842
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2843
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2844
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2845
|
+
}
|
|
2616
2846
|
export const GetUserDataDocument = gql `
|
|
2617
2847
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2618
2848
|
userData(keys: $keys, global: $global) {
|
|
@@ -2646,6 +2876,10 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2646
2876
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2647
2877
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2648
2878
|
}
|
|
2879
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
2880
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2881
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
2882
|
+
}
|
|
2649
2883
|
export const SaveUserDataDocument = gql `
|
|
2650
2884
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2651
2885
|
saveUserData(key: $key, value: $value, global: $global) {
|
|
@@ -2713,43 +2947,6 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2713
2947
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2714
2948
|
return Apollo.useMutation(DeleteValueDocument, options);
|
|
2715
2949
|
}
|
|
2716
|
-
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2717
|
-
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2718
|
-
runActionsListAndFormatOnValue(
|
|
2719
|
-
library: $library
|
|
2720
|
-
value: $value
|
|
2721
|
-
version: $version
|
|
2722
|
-
) {
|
|
2723
|
-
...ValueDetails
|
|
2724
|
-
}
|
|
2725
|
-
}
|
|
2726
|
-
${ValueDetailsFragmentDoc}`;
|
|
2727
|
-
/**
|
|
2728
|
-
* __useRunActionsListAndFormatOnValueQuery__
|
|
2729
|
-
*
|
|
2730
|
-
* To run a query within a React component, call `useRunActionsListAndFormatOnValueQuery` and pass it any options that fit your needs.
|
|
2731
|
-
* When your component renders, `useRunActionsListAndFormatOnValueQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2732
|
-
* you can use to render your UI.
|
|
2733
|
-
*
|
|
2734
|
-
* @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;
|
|
2735
|
-
*
|
|
2736
|
-
* @example
|
|
2737
|
-
* const { data, loading, error } = useRunActionsListAndFormatOnValueQuery({
|
|
2738
|
-
* variables: {
|
|
2739
|
-
* library: // value for 'library'
|
|
2740
|
-
* value: // value for 'value'
|
|
2741
|
-
* version: // value for 'version'
|
|
2742
|
-
* },
|
|
2743
|
-
* });
|
|
2744
|
-
*/
|
|
2745
|
-
export function useRunActionsListAndFormatOnValueQuery(baseOptions) {
|
|
2746
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2747
|
-
return Apollo.useQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2748
|
-
}
|
|
2749
|
-
export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
2750
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2751
|
-
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2752
|
-
}
|
|
2753
2950
|
export const SaveValueBatchDocument = gql `
|
|
2754
2951
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2755
2952
|
saveValueBatch(
|
|
@@ -2856,6 +3053,10 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2856
3053
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2857
3054
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
2858
3055
|
}
|
|
3056
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3057
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3058
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3059
|
+
}
|
|
2859
3060
|
export const GetViewsListDocument = gql `
|
|
2860
3061
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2861
3062
|
views(library: $libraryId) {
|
|
@@ -2890,6 +3091,10 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2890
3091
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2891
3092
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
2892
3093
|
}
|
|
3094
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3095
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3096
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3097
|
+
}
|
|
2893
3098
|
export const SaveViewDocument = gql `
|
|
2894
3099
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
2895
3100
|
saveView(view: $view) {
|
|
@@ -2951,6 +3156,10 @@ export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
|
2951
3156
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2952
3157
|
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
2953
3158
|
}
|
|
3159
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3160
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3161
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3162
|
+
}
|
|
2954
3163
|
export const ExplorerAttributesDocument = gql `
|
|
2955
3164
|
query ExplorerAttributes($ids: [ID!]) {
|
|
2956
3165
|
attributes(filters: {ids: $ids}) {
|
|
@@ -2991,6 +3200,10 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
2991
3200
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2992
3201
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
2993
3202
|
}
|
|
3203
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3204
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3205
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3206
|
+
}
|
|
2994
3207
|
export const ExplorerLinkAttributeDocument = gql `
|
|
2995
3208
|
query ExplorerLinkAttribute($id: ID!) {
|
|
2996
3209
|
attributes(filters: {ids: [$id]}) {
|
|
@@ -3030,6 +3243,10 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
3030
3243
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3031
3244
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
3032
3245
|
}
|
|
3246
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3247
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3248
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3249
|
+
}
|
|
3033
3250
|
export const ExplorerLibraryDataDocument = gql `
|
|
3034
3251
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
3035
3252
|
records(
|
|
@@ -3091,6 +3308,10 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
3091
3308
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3092
3309
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
3093
3310
|
}
|
|
3311
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3312
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3313
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3314
|
+
}
|
|
3094
3315
|
export const ExplorerLinkDataDocument = gql `
|
|
3095
3316
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
3096
3317
|
records(
|
|
@@ -3139,6 +3360,10 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
3139
3360
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3140
3361
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
3141
3362
|
}
|
|
3363
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3364
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3365
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3366
|
+
}
|
|
3142
3367
|
export const GetLibraryAttributesDocument = gql `
|
|
3143
3368
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3144
3369
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3175,6 +3400,10 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
3175
3400
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3176
3401
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
3177
3402
|
}
|
|
3403
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3404
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3405
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3406
|
+
}
|
|
3178
3407
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3179
3408
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3180
3409
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3210,6 +3439,10 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3210
3439
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3211
3440
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3212
3441
|
}
|
|
3442
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3443
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3444
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3445
|
+
}
|
|
3213
3446
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3214
3447
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3215
3448
|
records(library: $libraryId, filters: $filters) {
|
|
@@ -3244,6 +3477,10 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3244
3477
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3245
3478
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3246
3479
|
}
|
|
3480
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3481
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3482
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3483
|
+
}
|
|
3247
3484
|
export const MeDocument = gql `
|
|
3248
3485
|
query Me {
|
|
3249
3486
|
me {
|
|
@@ -3280,6 +3517,10 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3280
3517
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3281
3518
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3282
3519
|
}
|
|
3520
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3521
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3522
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3523
|
+
}
|
|
3283
3524
|
export const UpdateViewDocument = gql `
|
|
3284
3525
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3285
3526
|
updateView(view: $view) {
|
|
@@ -3308,53 +3549,6 @@ export function useUpdateViewMutation(baseOptions) {
|
|
|
3308
3549
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3309
3550
|
return Apollo.useMutation(UpdateViewDocument, options);
|
|
3310
3551
|
}
|
|
3311
|
-
export const GetJoinLibraryMandatoryAttributeValuesDocument = gql `
|
|
3312
|
-
query getJoinLibraryMandatoryAttributeValues($joinLibraryId: ID!, $filters: [RecordFilterInput], $mandatoryAttributeId: ID!) {
|
|
3313
|
-
records(library: $joinLibraryId, filters: $filters) {
|
|
3314
|
-
list {
|
|
3315
|
-
id
|
|
3316
|
-
property(attribute: $mandatoryAttributeId) {
|
|
3317
|
-
... on LinkValue {
|
|
3318
|
-
payload {
|
|
3319
|
-
id
|
|
3320
|
-
}
|
|
3321
|
-
}
|
|
3322
|
-
... on TreeValue {
|
|
3323
|
-
payload {
|
|
3324
|
-
id
|
|
3325
|
-
}
|
|
3326
|
-
}
|
|
3327
|
-
}
|
|
3328
|
-
}
|
|
3329
|
-
}
|
|
3330
|
-
}
|
|
3331
|
-
`;
|
|
3332
|
-
/**
|
|
3333
|
-
* __useGetJoinLibraryMandatoryAttributeValuesQuery__
|
|
3334
|
-
*
|
|
3335
|
-
* To run a query within a React component, call `useGetJoinLibraryMandatoryAttributeValuesQuery` and pass it any options that fit your needs.
|
|
3336
|
-
* When your component renders, `useGetJoinLibraryMandatoryAttributeValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3337
|
-
* you can use to render your UI.
|
|
3338
|
-
*
|
|
3339
|
-
* @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;
|
|
3340
|
-
*
|
|
3341
|
-
* @example
|
|
3342
|
-
* const { data, loading, error } = useGetJoinLibraryMandatoryAttributeValuesQuery({
|
|
3343
|
-
* variables: {
|
|
3344
|
-
* joinLibraryId: // value for 'joinLibraryId'
|
|
3345
|
-
* filters: // value for 'filters'
|
|
3346
|
-
* mandatoryAttributeId: // value for 'mandatoryAttributeId'
|
|
3347
|
-
* },
|
|
3348
|
-
* });
|
|
3349
|
-
*/
|
|
3350
|
-
export function useGetJoinLibraryMandatoryAttributeValuesQuery(baseOptions) {
|
|
3351
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3352
|
-
return Apollo.useQuery(GetJoinLibraryMandatoryAttributeValuesDocument, options);
|
|
3353
|
-
}
|
|
3354
|
-
export function useGetJoinLibraryMandatoryAttributeValuesLazyQuery(baseOptions) {
|
|
3355
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3356
|
-
return Apollo.useLazyQuery(GetJoinLibraryMandatoryAttributeValuesDocument, options);
|
|
3357
|
-
}
|
|
3358
3552
|
export const TreeDataQueryDocument = gql `
|
|
3359
3553
|
query TreeDataQuery($treeId: ID!) {
|
|
3360
3554
|
trees(filters: {id: [$treeId]}) {
|
|
@@ -3389,4 +3583,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3389
3583
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3390
3584
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3391
3585
|
}
|
|
3586
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3587
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3588
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3589
|
+
}
|
|
3392
3590
|
//# sourceMappingURL=index.js.map
|