@leav/ui 0.4.0-51d54d9 → 0.4.0-54167beb
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/README.md +1 -0
- 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 +3548 -2469
- package/dist/_gqlTypes/index.js +455 -132
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js +1 -0
- package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
- package/dist/_queries/records/activateRecordsMutation.d.ts +1 -0
- package/dist/_queries/records/activateRecordsMutation.js +15 -0
- package/dist/_queries/records/activateRecordsMutation.js.map +1 -0
- package/dist/_queries/records/getRecordFormQuery.js +10 -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.d.ts +2 -1
- package/dist/components/Explorer/DataView.js +14 -11
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +7 -6
- package/dist/components/Explorer/Explorer.js +12 -7
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.d.ts +2 -1
- package/dist/components/Explorer/ExplorerToolbar.js +5 -4
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +19 -8
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js +7 -4
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +8 -3
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/{useRemoveItemAction.d.ts → useEditStatusItemAction.d.ts} +2 -2
- package/dist/components/Explorer/actions-item/{useRemoveItemAction.js → useEditStatusItemAction.js} +71 -24
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -0
- 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 +4 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +14 -20
- 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 +5 -10
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +4 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.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/useViewSettingsReducer.js +6 -2
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.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.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +15 -36
- 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/useLinkRecords.d.ts +24 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecordsInEdition.js → link-record/useLinkRecords.js} +21 -47
- 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 +62 -79
- 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/ValuesList/DSListSelect.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.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 +24 -26
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/{useDisplayTreeNode.d.ts → TreeNodeList.d.ts} +4 -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 +16 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +12 -13
- 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.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +24 -6
- 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 +3 -0
- package/dist/components/RecordEdition/index.js +3 -0
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +2 -2
- 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/components/{SelectTreeNodeModal/SelectTreeNodeModal.d.ts → SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts} +1 -1
- package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.js → SelectTreeNodeModalOld/SelectTreeNodeModalOld.js} +4 -2
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
- package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
- package/dist/components/{SelectTreeNodeModal → SelectTreeNodeModalOld}/index.js +1 -1
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.js +1 -2
- package/dist/components/index.js.map +1 -1
- package/dist/contexts/LangContext/LangContext.d.ts +1 -2
- package/dist/contexts/LangContext/LangContext.js +2 -2
- package/dist/contexts/LangContext/LangContext.js.map +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +2 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +3 -14
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +4 -2
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +15 -5
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +21 -0
- package/dist/hooks/useIFrameMessenger/schema.js +76 -0
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/types.d.ts +52 -10
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +11 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +66 -11
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +7 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +13 -0
- package/dist/{components/RecordEdition/EditRecord/creationErrorContext.js → hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js} +2 -3
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
- package/dist/locales/en/shared.json +5 -0
- package/dist/locales/fr/shared.json +5 -0
- package/dist/types/attributes.d.ts +2 -1
- package/package.json +22 -7
- package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.d.ts +0 -6
- 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.d.ts +0 -26
- 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/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/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/index.d.ts +0 -1
- package/dist/components/SelectTreeNodeModal/index.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,7 +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";
|
|
144
156
|
LogAction["SDO_LOG_EXPORT_RECORD"] = "SDO_LOG_EXPORT_RECORD";
|
|
157
|
+
LogAction["SDO_LOG_IMPORT_RECORD"] = "SDO_LOG_IMPORT_RECORD";
|
|
145
158
|
LogAction["TASKS_DELETE"] = "TASKS_DELETE";
|
|
146
159
|
LogAction["TREE_ADD_ELEMENT"] = "TREE_ADD_ELEMENT";
|
|
147
160
|
LogAction["TREE_DELETE"] = "TREE_DELETE";
|
|
@@ -162,6 +175,12 @@ export var LogSortableField;
|
|
|
162
175
|
LogSortableField["trigger"] = "trigger";
|
|
163
176
|
LogSortableField["userId"] = "userId";
|
|
164
177
|
})(LogSortableField || (LogSortableField = {}));
|
|
178
|
+
export var MultiLinkDisplayOption;
|
|
179
|
+
(function (MultiLinkDisplayOption) {
|
|
180
|
+
MultiLinkDisplayOption["avatar"] = "avatar";
|
|
181
|
+
MultiLinkDisplayOption["badge_qty"] = "badge_qty";
|
|
182
|
+
MultiLinkDisplayOption["tag"] = "tag";
|
|
183
|
+
})(MultiLinkDisplayOption || (MultiLinkDisplayOption = {}));
|
|
165
184
|
export var PermissionTypes;
|
|
166
185
|
(function (PermissionTypes) {
|
|
167
186
|
PermissionTypes["admin"] = "admin";
|
|
@@ -185,6 +204,7 @@ export var PermissionsActions;
|
|
|
185
204
|
PermissionsActions["admin_access_applications"] = "admin_access_applications";
|
|
186
205
|
PermissionsActions["admin_access_attributes"] = "admin_access_attributes";
|
|
187
206
|
PermissionsActions["admin_access_libraries"] = "admin_access_libraries";
|
|
207
|
+
PermissionsActions["admin_access_logs"] = "admin_access_logs";
|
|
188
208
|
PermissionsActions["admin_access_permissions"] = "admin_access_permissions";
|
|
189
209
|
PermissionsActions["admin_access_tasks"] = "admin_access_tasks";
|
|
190
210
|
PermissionsActions["admin_access_trees"] = "admin_access_trees";
|
|
@@ -263,6 +283,13 @@ export var RecordFilterOperator;
|
|
|
263
283
|
RecordFilterOperator["OPEN_BRACKET"] = "OPEN_BRACKET";
|
|
264
284
|
RecordFilterOperator["OR"] = "OR";
|
|
265
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 = {}));
|
|
266
293
|
export var SortOrder;
|
|
267
294
|
(function (SortOrder) {
|
|
268
295
|
SortOrder["asc"] = "asc";
|
|
@@ -373,6 +400,7 @@ export const AttributeDetailsFragmentDoc = gql `
|
|
|
373
400
|
label
|
|
374
401
|
description
|
|
375
402
|
multiple_values
|
|
403
|
+
multi_link_display_option
|
|
376
404
|
metadata_fields {
|
|
377
405
|
id
|
|
378
406
|
label
|
|
@@ -451,6 +479,101 @@ export const AttributesByLibAttributeFragmentDoc = gql `
|
|
|
451
479
|
}
|
|
452
480
|
}
|
|
453
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}`;
|
|
454
577
|
export const LibraryLightFragmentDoc = gql `
|
|
455
578
|
fragment LibraryLight on Library {
|
|
456
579
|
id
|
|
@@ -551,92 +674,6 @@ export const LibraryDetailsFragmentDoc = gql `
|
|
|
551
674
|
${LibraryAttributesFragmentDoc}
|
|
552
675
|
${RecordIdentityFragmentDoc}
|
|
553
676
|
${LibraryPreviewsSettingsFragmentDoc}`;
|
|
554
|
-
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
555
|
-
fragment ValuesVersionDetails on ValueVersion {
|
|
556
|
-
treeId
|
|
557
|
-
treeNode {
|
|
558
|
-
id
|
|
559
|
-
record {
|
|
560
|
-
id
|
|
561
|
-
whoAmI {
|
|
562
|
-
id
|
|
563
|
-
label
|
|
564
|
-
library {
|
|
565
|
-
id
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
`;
|
|
572
|
-
export const ValueDetailsFragmentDoc = gql `
|
|
573
|
-
fragment ValueDetails on GenericValue {
|
|
574
|
-
id_value
|
|
575
|
-
isInherited
|
|
576
|
-
isCalculated
|
|
577
|
-
modified_at
|
|
578
|
-
modified_by {
|
|
579
|
-
...RecordIdentity
|
|
580
|
-
}
|
|
581
|
-
created_at
|
|
582
|
-
created_by {
|
|
583
|
-
...RecordIdentity
|
|
584
|
-
}
|
|
585
|
-
version {
|
|
586
|
-
...ValuesVersionDetails
|
|
587
|
-
}
|
|
588
|
-
attribute {
|
|
589
|
-
id
|
|
590
|
-
format
|
|
591
|
-
type
|
|
592
|
-
system
|
|
593
|
-
}
|
|
594
|
-
metadata {
|
|
595
|
-
name
|
|
596
|
-
value {
|
|
597
|
-
id_value
|
|
598
|
-
modified_at
|
|
599
|
-
modified_by {
|
|
600
|
-
...RecordIdentity
|
|
601
|
-
}
|
|
602
|
-
created_at
|
|
603
|
-
created_by {
|
|
604
|
-
...RecordIdentity
|
|
605
|
-
}
|
|
606
|
-
version {
|
|
607
|
-
...ValuesVersionDetails
|
|
608
|
-
}
|
|
609
|
-
payload
|
|
610
|
-
raw_payload
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
... on Value {
|
|
614
|
-
payload
|
|
615
|
-
raw_payload
|
|
616
|
-
value
|
|
617
|
-
raw_value
|
|
618
|
-
}
|
|
619
|
-
... on LinkValue {
|
|
620
|
-
linkValue: payload {
|
|
621
|
-
...RecordIdentity
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
... on TreeValue {
|
|
625
|
-
treeValue: payload {
|
|
626
|
-
id
|
|
627
|
-
record {
|
|
628
|
-
...RecordIdentity
|
|
629
|
-
}
|
|
630
|
-
ancestors {
|
|
631
|
-
record {
|
|
632
|
-
...RecordIdentity
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
${RecordIdentityFragmentDoc}
|
|
639
|
-
${ValuesVersionDetailsFragmentDoc}`;
|
|
640
677
|
export const StandardValuesListFragmentFragmentDoc = gql `
|
|
641
678
|
fragment StandardValuesListFragment on StandardValuesListConf {
|
|
642
679
|
... on StandardStringValuesListConf {
|
|
@@ -751,16 +788,19 @@ export const RecordFormAttributeFragmentDoc = gql `
|
|
|
751
788
|
}
|
|
752
789
|
${StandardValuesListFragmentFragmentDoc}
|
|
753
790
|
${RecordIdentityFragmentDoc}`;
|
|
791
|
+
export const JoinLibraryContextFragmentDoc = gql `
|
|
792
|
+
fragment JoinLibraryContext on FormElementJoinLibraryContext {
|
|
793
|
+
mandatoryAttribute {
|
|
794
|
+
...RecordFormAttribute
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
${RecordFormAttributeFragmentDoc}`;
|
|
754
798
|
export const RecordFormElementFragmentDoc = gql `
|
|
755
|
-
fragment RecordFormElement on
|
|
799
|
+
fragment RecordFormElement on FormElement {
|
|
756
800
|
id
|
|
757
801
|
containerId
|
|
758
802
|
uiElementType
|
|
759
803
|
type
|
|
760
|
-
valueError
|
|
761
|
-
values {
|
|
762
|
-
...ValueDetails
|
|
763
|
-
}
|
|
764
804
|
attribute {
|
|
765
805
|
...RecordFormAttribute
|
|
766
806
|
}
|
|
@@ -768,9 +808,12 @@ export const RecordFormElementFragmentDoc = gql `
|
|
|
768
808
|
key
|
|
769
809
|
value
|
|
770
810
|
}
|
|
811
|
+
joinLibraryContext {
|
|
812
|
+
...JoinLibraryContext
|
|
813
|
+
}
|
|
771
814
|
}
|
|
772
|
-
${
|
|
773
|
-
${
|
|
815
|
+
${RecordFormAttributeFragmentDoc}
|
|
816
|
+
${JoinLibraryContextFragmentDoc}`;
|
|
774
817
|
export const TreeLightFragmentDoc = gql `
|
|
775
818
|
fragment TreeLight on Tree {
|
|
776
819
|
id
|
|
@@ -939,6 +982,7 @@ export const AttributePropertiesFragmentDoc = gql `
|
|
|
939
982
|
type
|
|
940
983
|
format
|
|
941
984
|
multiple_values
|
|
985
|
+
multi_link_display_option
|
|
942
986
|
}
|
|
943
987
|
`;
|
|
944
988
|
export const PropertyValueFragmentDoc = gql `
|
|
@@ -1042,6 +1086,10 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
1042
1086
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1043
1087
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
1044
1088
|
}
|
|
1089
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1090
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1091
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1092
|
+
}
|
|
1045
1093
|
export const GetApplicationByIdDocument = gql `
|
|
1046
1094
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1047
1095
|
applications(filters: {id: $id}) {
|
|
@@ -1075,6 +1123,10 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1075
1123
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1076
1124
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1077
1125
|
}
|
|
1126
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1127
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1128
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1129
|
+
}
|
|
1078
1130
|
export const GetApplicationModulesDocument = gql `
|
|
1079
1131
|
query GET_APPLICATION_MODULES {
|
|
1080
1132
|
applicationsModules {
|
|
@@ -1107,6 +1159,10 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1107
1159
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1108
1160
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1109
1161
|
}
|
|
1162
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1163
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1164
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1165
|
+
}
|
|
1110
1166
|
export const SaveApplicationDocument = gql `
|
|
1111
1167
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1112
1168
|
saveApplication(application: $application) {
|
|
@@ -1166,6 +1222,10 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1166
1222
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1167
1223
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1168
1224
|
}
|
|
1225
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1226
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1227
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1228
|
+
}
|
|
1169
1229
|
export const DeleteAttributeDocument = gql `
|
|
1170
1230
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1171
1231
|
deleteAttribute(id: $id) {
|
|
@@ -1227,6 +1287,10 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1227
1287
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1228
1288
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1229
1289
|
}
|
|
1290
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1291
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1292
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1293
|
+
}
|
|
1230
1294
|
export const GetAttributesByLibDocument = gql `
|
|
1231
1295
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1232
1296
|
attributes(filters: {libraries: [$library]}) {
|
|
@@ -1260,6 +1324,10 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1260
1324
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1261
1325
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1262
1326
|
}
|
|
1327
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1328
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1329
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1330
|
+
}
|
|
1263
1331
|
export const GetAttributesDocument = gql `
|
|
1264
1332
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1265
1333
|
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
@@ -1300,6 +1368,10 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1300
1368
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1301
1369
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1302
1370
|
}
|
|
1371
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1372
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1373
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1374
|
+
}
|
|
1303
1375
|
export const GetVersionProfilesDocument = gql `
|
|
1304
1376
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1305
1377
|
versionProfiles(filters: $filters, sort: $sort) {
|
|
@@ -1335,6 +1407,10 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1335
1407
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1336
1408
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1337
1409
|
}
|
|
1410
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1411
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1412
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1413
|
+
}
|
|
1338
1414
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1339
1415
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1340
1416
|
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
@@ -1378,6 +1454,10 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1378
1454
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1379
1455
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1380
1456
|
}
|
|
1457
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1458
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1459
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1460
|
+
}
|
|
1381
1461
|
export const SaveAttributeDocument = gql `
|
|
1382
1462
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1383
1463
|
saveAttribute(attribute: $attribute) {
|
|
@@ -1437,6 +1517,10 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1437
1517
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1438
1518
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1439
1519
|
}
|
|
1520
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1521
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1522
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1523
|
+
}
|
|
1440
1524
|
export const CreateDirectoryDocument = gql `
|
|
1441
1525
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1442
1526
|
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
@@ -1577,6 +1661,10 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1577
1661
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1578
1662
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1579
1663
|
}
|
|
1664
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1665
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1666
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1667
|
+
}
|
|
1580
1668
|
export const UploadUpdateDocument = gql `
|
|
1581
1669
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1582
1670
|
upload(filters: $filters) {
|
|
@@ -1648,6 +1736,51 @@ export function useUploadMutation(baseOptions) {
|
|
|
1648
1736
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1649
1737
|
return Apollo.useMutation(UploadDocument, options);
|
|
1650
1738
|
}
|
|
1739
|
+
export const GetRecordFormElementsValuesDocument = gql `
|
|
1740
|
+
query GET_RECORD_FORM_ELEMENTS_VALUES($recordId: String, $libraryId: String!, $formId: String!, $version: [ValueVersionInput!], $elementIds: [ID!]) {
|
|
1741
|
+
getRecordFormElementsValues(
|
|
1742
|
+
recordId: $recordId
|
|
1743
|
+
libraryId: $libraryId
|
|
1744
|
+
formId: $formId
|
|
1745
|
+
version: $version
|
|
1746
|
+
elementIds: $elementIds
|
|
1747
|
+
) {
|
|
1748
|
+
...RecordFormElementValues
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
${RecordFormElementValuesFragmentDoc}`;
|
|
1752
|
+
/**
|
|
1753
|
+
* __useGetRecordFormElementsValuesQuery__
|
|
1754
|
+
*
|
|
1755
|
+
* To run a query within a React component, call `useGetRecordFormElementsValuesQuery` and pass it any options that fit your needs.
|
|
1756
|
+
* When your component renders, `useGetRecordFormElementsValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1757
|
+
* you can use to render your UI.
|
|
1758
|
+
*
|
|
1759
|
+
* @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;
|
|
1760
|
+
*
|
|
1761
|
+
* @example
|
|
1762
|
+
* const { data, loading, error } = useGetRecordFormElementsValuesQuery({
|
|
1763
|
+
* variables: {
|
|
1764
|
+
* recordId: // value for 'recordId'
|
|
1765
|
+
* libraryId: // value for 'libraryId'
|
|
1766
|
+
* formId: // value for 'formId'
|
|
1767
|
+
* version: // value for 'version'
|
|
1768
|
+
* elementIds: // value for 'elementIds'
|
|
1769
|
+
* },
|
|
1770
|
+
* });
|
|
1771
|
+
*/
|
|
1772
|
+
export function useGetRecordFormElementsValuesQuery(baseOptions) {
|
|
1773
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1774
|
+
return Apollo.useQuery(GetRecordFormElementsValuesDocument, options);
|
|
1775
|
+
}
|
|
1776
|
+
export function useGetRecordFormElementsValuesLazyQuery(baseOptions) {
|
|
1777
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1778
|
+
return Apollo.useLazyQuery(GetRecordFormElementsValuesDocument, options);
|
|
1779
|
+
}
|
|
1780
|
+
export function useGetRecordFormElementsValuesSuspenseQuery(baseOptions) {
|
|
1781
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1782
|
+
return Apollo.useSuspenseQuery(GetRecordFormElementsValuesDocument, options);
|
|
1783
|
+
}
|
|
1651
1784
|
export const ImportExcelDocument = gql `
|
|
1652
1785
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1653
1786
|
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
@@ -1707,6 +1840,10 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1707
1840
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1708
1841
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1709
1842
|
}
|
|
1843
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1844
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1845
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1846
|
+
}
|
|
1710
1847
|
export const DeleteLibraryDocument = gql `
|
|
1711
1848
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1712
1849
|
deleteLibrary(id: $id) {
|
|
@@ -1767,6 +1904,10 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1767
1904
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1768
1905
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1769
1906
|
}
|
|
1907
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1908
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1909
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1910
|
+
}
|
|
1770
1911
|
export const GetLibraryByIdDocument = gql `
|
|
1771
1912
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1772
1913
|
libraries(filters: {id: $id}) {
|
|
@@ -1800,6 +1941,10 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1800
1941
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1801
1942
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1802
1943
|
}
|
|
1944
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
1945
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1946
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
1947
|
+
}
|
|
1803
1948
|
export const GetLibraryPermissionsDocument = gql `
|
|
1804
1949
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1805
1950
|
libraries(filters: {id: $libraryId}) {
|
|
@@ -1839,6 +1984,10 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1839
1984
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1840
1985
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
1841
1986
|
}
|
|
1987
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
1988
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1989
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
1990
|
+
}
|
|
1842
1991
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1843
1992
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1844
1993
|
libraries(filters: {id: [$id]}) {
|
|
@@ -1887,6 +2036,10 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1887
2036
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1888
2037
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
1889
2038
|
}
|
|
2039
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2040
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2041
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2042
|
+
}
|
|
1890
2043
|
export const SaveLibraryDocument = gql `
|
|
1891
2044
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1892
2045
|
saveLibrary(library: $library) {
|
|
@@ -1950,6 +2103,81 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1950
2103
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1951
2104
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
1952
2105
|
}
|
|
2106
|
+
export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
2107
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2108
|
+
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2109
|
+
}
|
|
2110
|
+
export const ActivateRecordsDocument = gql `
|
|
2111
|
+
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2112
|
+
activateRecords(
|
|
2113
|
+
recordsIds: $recordsIds
|
|
2114
|
+
filters: $filters
|
|
2115
|
+
libraryId: $libraryId
|
|
2116
|
+
) {
|
|
2117
|
+
id
|
|
2118
|
+
...RecordIdentity
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
2121
|
+
${RecordIdentityFragmentDoc}`;
|
|
2122
|
+
/**
|
|
2123
|
+
* __useActivateRecordsMutation__
|
|
2124
|
+
*
|
|
2125
|
+
* To run a mutation, you first call `useActivateRecordsMutation` within a React component and pass it any options that fit your needs.
|
|
2126
|
+
* When your component renders, `useActivateRecordsMutation` returns a tuple that includes:
|
|
2127
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2128
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2129
|
+
*
|
|
2130
|
+
* @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;
|
|
2131
|
+
*
|
|
2132
|
+
* @example
|
|
2133
|
+
* const [activateRecordsMutation, { data, loading, error }] = useActivateRecordsMutation({
|
|
2134
|
+
* variables: {
|
|
2135
|
+
* libraryId: // value for 'libraryId'
|
|
2136
|
+
* recordsIds: // value for 'recordsIds'
|
|
2137
|
+
* filters: // value for 'filters'
|
|
2138
|
+
* },
|
|
2139
|
+
* });
|
|
2140
|
+
*/
|
|
2141
|
+
export function useActivateRecordsMutation(baseOptions) {
|
|
2142
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2143
|
+
return Apollo.useMutation(ActivateRecordsDocument, options);
|
|
2144
|
+
}
|
|
2145
|
+
export const CreateEmptyRecordDocument = gql `
|
|
2146
|
+
mutation createEmptyRecord($library: ID!) {
|
|
2147
|
+
createEmptyRecord(library: $library) {
|
|
2148
|
+
record {
|
|
2149
|
+
...RecordIdentity
|
|
2150
|
+
}
|
|
2151
|
+
valuesErrors {
|
|
2152
|
+
type
|
|
2153
|
+
attribute
|
|
2154
|
+
input
|
|
2155
|
+
message
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
${RecordIdentityFragmentDoc}`;
|
|
2160
|
+
/**
|
|
2161
|
+
* __useCreateEmptyRecordMutation__
|
|
2162
|
+
*
|
|
2163
|
+
* To run a mutation, you first call `useCreateEmptyRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2164
|
+
* When your component renders, `useCreateEmptyRecordMutation` returns a tuple that includes:
|
|
2165
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2166
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2167
|
+
*
|
|
2168
|
+
* @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;
|
|
2169
|
+
*
|
|
2170
|
+
* @example
|
|
2171
|
+
* const [createEmptyRecordMutation, { data, loading, error }] = useCreateEmptyRecordMutation({
|
|
2172
|
+
* variables: {
|
|
2173
|
+
* library: // value for 'library'
|
|
2174
|
+
* },
|
|
2175
|
+
* });
|
|
2176
|
+
*/
|
|
2177
|
+
export function useCreateEmptyRecordMutation(baseOptions) {
|
|
2178
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2179
|
+
return Apollo.useMutation(CreateEmptyRecordDocument, options);
|
|
2180
|
+
}
|
|
1953
2181
|
export const CreateRecordDocument = gql `
|
|
1954
2182
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
1955
2183
|
createRecord(library: $library, data: $data) {
|
|
@@ -2057,6 +2285,10 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2057
2285
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2058
2286
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2059
2287
|
}
|
|
2288
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2289
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2290
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2291
|
+
}
|
|
2060
2292
|
export const GetFileDataDocument = gql `
|
|
2061
2293
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2062
2294
|
records(
|
|
@@ -2137,6 +2369,10 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2137
2369
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2138
2370
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2139
2371
|
}
|
|
2372
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2373
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2374
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2375
|
+
}
|
|
2140
2376
|
export const RecordFormDocument = gql `
|
|
2141
2377
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2142
2378
|
recordForm(
|
|
@@ -2190,6 +2426,10 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2190
2426
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2191
2427
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2192
2428
|
}
|
|
2429
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2430
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2431
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2432
|
+
}
|
|
2193
2433
|
export const RecordUpdateDocument = gql `
|
|
2194
2434
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2195
2435
|
recordUpdate(filters: $filters) {
|
|
@@ -2233,6 +2473,46 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2233
2473
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2234
2474
|
return Apollo.useSubscription(RecordUpdateDocument, options);
|
|
2235
2475
|
}
|
|
2476
|
+
export const GetRecordsFromLibraryDocument = gql `
|
|
2477
|
+
query getRecordsFromLibrary($libraryId: ID!, $pagination: RecordsPagination, $filters: [RecordFilterInput]) {
|
|
2478
|
+
records(library: $libraryId, filters: $filters, pagination: $pagination) {
|
|
2479
|
+
totalCount
|
|
2480
|
+
list {
|
|
2481
|
+
...RecordIdentity
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
${RecordIdentityFragmentDoc}`;
|
|
2486
|
+
/**
|
|
2487
|
+
* __useGetRecordsFromLibraryQuery__
|
|
2488
|
+
*
|
|
2489
|
+
* To run a query within a React component, call `useGetRecordsFromLibraryQuery` and pass it any options that fit your needs.
|
|
2490
|
+
* When your component renders, `useGetRecordsFromLibraryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2491
|
+
* you can use to render your UI.
|
|
2492
|
+
*
|
|
2493
|
+
* @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;
|
|
2494
|
+
*
|
|
2495
|
+
* @example
|
|
2496
|
+
* const { data, loading, error } = useGetRecordsFromLibraryQuery({
|
|
2497
|
+
* variables: {
|
|
2498
|
+
* libraryId: // value for 'libraryId'
|
|
2499
|
+
* pagination: // value for 'pagination'
|
|
2500
|
+
* filters: // value for 'filters'
|
|
2501
|
+
* },
|
|
2502
|
+
* });
|
|
2503
|
+
*/
|
|
2504
|
+
export function useGetRecordsFromLibraryQuery(baseOptions) {
|
|
2505
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2506
|
+
return Apollo.useQuery(GetRecordsFromLibraryDocument, options);
|
|
2507
|
+
}
|
|
2508
|
+
export function useGetRecordsFromLibraryLazyQuery(baseOptions) {
|
|
2509
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2510
|
+
return Apollo.useLazyQuery(GetRecordsFromLibraryDocument, options);
|
|
2511
|
+
}
|
|
2512
|
+
export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
2513
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2514
|
+
return Apollo.useSuspenseQuery(GetRecordsFromLibraryDocument, options);
|
|
2515
|
+
}
|
|
2236
2516
|
export const IndexRecordsDocument = gql `
|
|
2237
2517
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2238
2518
|
indexRecords(libraryId: $libraryId, records: $records)
|
|
@@ -2317,6 +2597,10 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2317
2597
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2318
2598
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2319
2599
|
}
|
|
2600
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2601
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2602
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2603
|
+
}
|
|
2320
2604
|
export const DeleteTreeDocument = gql `
|
|
2321
2605
|
mutation DELETE_TREE($id: ID!) {
|
|
2322
2606
|
deleteTree(id: $id) {
|
|
@@ -2378,6 +2662,10 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2378
2662
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2379
2663
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2380
2664
|
}
|
|
2665
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2666
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2667
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2668
|
+
}
|
|
2381
2669
|
export const GetTreeLibrariesDocument = gql `
|
|
2382
2670
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2383
2671
|
trees(filters: {id: $treeId, library: $library}) {
|
|
@@ -2428,6 +2716,10 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2428
2716
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2429
2717
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2430
2718
|
}
|
|
2719
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2720
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2721
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2722
|
+
}
|
|
2431
2723
|
export const GetTreesDocument = gql `
|
|
2432
2724
|
query GET_TREES {
|
|
2433
2725
|
trees {
|
|
@@ -2460,6 +2752,10 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2460
2752
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2461
2753
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2462
2754
|
}
|
|
2755
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2756
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2757
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2758
|
+
}
|
|
2463
2759
|
export const SaveTreeDocument = gql `
|
|
2464
2760
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2465
2761
|
saveTree(tree: $tree) {
|
|
@@ -2489,8 +2785,13 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2489
2785
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2490
2786
|
}
|
|
2491
2787
|
export const TreeNodeChildrenDocument = gql `
|
|
2492
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2493
|
-
treeNodeChildren(
|
|
2788
|
+
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2789
|
+
treeNodeChildren(
|
|
2790
|
+
treeId: $treeId
|
|
2791
|
+
node: $node
|
|
2792
|
+
pagination: $pagination
|
|
2793
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2794
|
+
) {
|
|
2494
2795
|
totalCount
|
|
2495
2796
|
list {
|
|
2496
2797
|
...TreeNodeChild
|
|
@@ -2513,6 +2814,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2513
2814
|
* treeId: // value for 'treeId'
|
|
2514
2815
|
* node: // value for 'node'
|
|
2515
2816
|
* pagination: // value for 'pagination'
|
|
2817
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2516
2818
|
* },
|
|
2517
2819
|
* });
|
|
2518
2820
|
*/
|
|
@@ -2524,6 +2826,10 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2524
2826
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2525
2827
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2526
2828
|
}
|
|
2829
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2830
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2831
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2832
|
+
}
|
|
2527
2833
|
export const GetUserDataDocument = gql `
|
|
2528
2834
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2529
2835
|
userData(keys: $keys, global: $global) {
|
|
@@ -2557,6 +2863,10 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2557
2863
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2558
2864
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2559
2865
|
}
|
|
2866
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
2867
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2868
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
2869
|
+
}
|
|
2560
2870
|
export const SaveUserDataDocument = gql `
|
|
2561
2871
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2562
2872
|
saveUserData(key: $key, value: $value, global: $global) {
|
|
@@ -2624,43 +2934,6 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2624
2934
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2625
2935
|
return Apollo.useMutation(DeleteValueDocument, options);
|
|
2626
2936
|
}
|
|
2627
|
-
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2628
|
-
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2629
|
-
runActionsListAndFormatOnValue(
|
|
2630
|
-
library: $library
|
|
2631
|
-
value: $value
|
|
2632
|
-
version: $version
|
|
2633
|
-
) {
|
|
2634
|
-
...ValueDetails
|
|
2635
|
-
}
|
|
2636
|
-
}
|
|
2637
|
-
${ValueDetailsFragmentDoc}`;
|
|
2638
|
-
/**
|
|
2639
|
-
* __useRunActionsListAndFormatOnValueQuery__
|
|
2640
|
-
*
|
|
2641
|
-
* To run a query within a React component, call `useRunActionsListAndFormatOnValueQuery` and pass it any options that fit your needs.
|
|
2642
|
-
* When your component renders, `useRunActionsListAndFormatOnValueQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2643
|
-
* you can use to render your UI.
|
|
2644
|
-
*
|
|
2645
|
-
* @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;
|
|
2646
|
-
*
|
|
2647
|
-
* @example
|
|
2648
|
-
* const { data, loading, error } = useRunActionsListAndFormatOnValueQuery({
|
|
2649
|
-
* variables: {
|
|
2650
|
-
* library: // value for 'library'
|
|
2651
|
-
* value: // value for 'value'
|
|
2652
|
-
* version: // value for 'version'
|
|
2653
|
-
* },
|
|
2654
|
-
* });
|
|
2655
|
-
*/
|
|
2656
|
-
export function useRunActionsListAndFormatOnValueQuery(baseOptions) {
|
|
2657
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2658
|
-
return Apollo.useQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2659
|
-
}
|
|
2660
|
-
export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
2661
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2662
|
-
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2663
|
-
}
|
|
2664
2937
|
export const SaveValueBatchDocument = gql `
|
|
2665
2938
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2666
2939
|
saveValueBatch(
|
|
@@ -2767,6 +3040,10 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2767
3040
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2768
3041
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
2769
3042
|
}
|
|
3043
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3044
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3045
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3046
|
+
}
|
|
2770
3047
|
export const GetViewsListDocument = gql `
|
|
2771
3048
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2772
3049
|
views(library: $libraryId) {
|
|
@@ -2801,6 +3078,10 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2801
3078
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2802
3079
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
2803
3080
|
}
|
|
3081
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3082
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3083
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3084
|
+
}
|
|
2804
3085
|
export const SaveViewDocument = gql `
|
|
2805
3086
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
2806
3087
|
saveView(view: $view) {
|
|
@@ -2862,6 +3143,10 @@ export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
|
2862
3143
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2863
3144
|
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
2864
3145
|
}
|
|
3146
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3147
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3148
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3149
|
+
}
|
|
2865
3150
|
export const ExplorerAttributesDocument = gql `
|
|
2866
3151
|
query ExplorerAttributes($ids: [ID!]) {
|
|
2867
3152
|
attributes(filters: {ids: $ids}) {
|
|
@@ -2902,6 +3187,10 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
2902
3187
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2903
3188
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
2904
3189
|
}
|
|
3190
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3191
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3192
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3193
|
+
}
|
|
2905
3194
|
export const ExplorerLinkAttributeDocument = gql `
|
|
2906
3195
|
query ExplorerLinkAttribute($id: ID!) {
|
|
2907
3196
|
attributes(filters: {ids: [$id]}) {
|
|
@@ -2941,6 +3230,10 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
2941
3230
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2942
3231
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
2943
3232
|
}
|
|
3233
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3234
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3235
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3236
|
+
}
|
|
2944
3237
|
export const ExplorerLibraryDataDocument = gql `
|
|
2945
3238
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
2946
3239
|
records(
|
|
@@ -2953,7 +3246,9 @@ export const ExplorerLibraryDataDocument = gql `
|
|
|
2953
3246
|
totalCount
|
|
2954
3247
|
list {
|
|
2955
3248
|
...RecordIdentity
|
|
3249
|
+
active
|
|
2956
3250
|
permissions {
|
|
3251
|
+
create_record
|
|
2957
3252
|
delete_record
|
|
2958
3253
|
}
|
|
2959
3254
|
properties(attributeIds: $attributeIds) {
|
|
@@ -3000,6 +3295,10 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
3000
3295
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3001
3296
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
3002
3297
|
}
|
|
3298
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3299
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3300
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3301
|
+
}
|
|
3003
3302
|
export const ExplorerLinkDataDocument = gql `
|
|
3004
3303
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
3005
3304
|
records(
|
|
@@ -3048,6 +3347,10 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
3048
3347
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3049
3348
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
3050
3349
|
}
|
|
3350
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3351
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3352
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3353
|
+
}
|
|
3051
3354
|
export const GetLibraryAttributesDocument = gql `
|
|
3052
3355
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3053
3356
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3084,6 +3387,10 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
3084
3387
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3085
3388
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
3086
3389
|
}
|
|
3390
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3391
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3392
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3393
|
+
}
|
|
3087
3394
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3088
3395
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3089
3396
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3119,6 +3426,10 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3119
3426
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3120
3427
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3121
3428
|
}
|
|
3429
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3430
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3431
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3432
|
+
}
|
|
3122
3433
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3123
3434
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3124
3435
|
records(library: $libraryId, filters: $filters) {
|
|
@@ -3153,6 +3464,10 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3153
3464
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3154
3465
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3155
3466
|
}
|
|
3467
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3468
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3469
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3470
|
+
}
|
|
3156
3471
|
export const MeDocument = gql `
|
|
3157
3472
|
query Me {
|
|
3158
3473
|
me {
|
|
@@ -3189,6 +3504,10 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3189
3504
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3190
3505
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3191
3506
|
}
|
|
3507
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3508
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3509
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3510
|
+
}
|
|
3192
3511
|
export const UpdateViewDocument = gql `
|
|
3193
3512
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3194
3513
|
updateView(view: $view) {
|
|
@@ -3251,4 +3570,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3251
3570
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3252
3571
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3253
3572
|
}
|
|
3573
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3574
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3575
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3576
|
+
}
|
|
3254
3577
|
//# sourceMappingURL=index.js.map
|