@leav/ui 0.4.0-11bc990 → 0.4.0-1894661c
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 +32 -23
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +3585 -2457
- package/dist/_gqlTypes/index.js +472 -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 +14 -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/CreateDirectory/CreateDirectory.js +3 -3
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js +3 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +8 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.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 +8 -6
- package/dist/components/Explorer/Explorer.js +18 -8
- 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/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 +34 -26
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +11 -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 +5 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +16 -21
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +6 -3
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +5 -19
- 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/_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/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/Explorer/useViewSettingsReducer.js +6 -2
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +3 -3
- 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/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +3 -5
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +84 -249
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +43 -0
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +25 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordButtons/index.d.ts +2 -0
- package/dist/components/{SelectTreeNodeModal → RecordEdition/EditRecordButtons}/index.js +2 -1
- package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +66 -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 +3 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +26 -13
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +26 -9
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +13 -12
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
- package/dist/components/RecordEdition/constants.d.ts +2 -0
- package/dist/components/RecordEdition/constants.js +6 -0
- package/dist/components/RecordEdition/constants.js.map +1 -0
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +33 -2
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +48 -3
- 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 +4 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +6 -4
- 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/{RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList → SelectTreeNodeModalOld}/index.js +1 -2
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.d.ts +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
- package/dist/components/UploadFiles/UploadFiles.js +3 -3
- package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
- 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 +3 -0
- package/dist/hooks/index.js +3 -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 +15 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +121 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -0
- 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 +120 -0
- package/dist/hooks/useIFrameMessenger/types.js +2 -0
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +19 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +108 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -0
- 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 +8 -1
- package/dist/locales/fr/shared.json +8 -1
- 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/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.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
|
|
@@ -930,6 +973,19 @@ export const LinkAttributeDetailsFragmentDoc = gql `
|
|
|
930
973
|
id
|
|
931
974
|
label
|
|
932
975
|
}
|
|
976
|
+
values_list {
|
|
977
|
+
allowFreeEntry
|
|
978
|
+
enable
|
|
979
|
+
values {
|
|
980
|
+
id
|
|
981
|
+
whoAmI {
|
|
982
|
+
id
|
|
983
|
+
library {
|
|
984
|
+
id
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
}
|
|
933
989
|
}
|
|
934
990
|
`;
|
|
935
991
|
export const AttributePropertiesFragmentDoc = gql `
|
|
@@ -939,6 +995,7 @@ export const AttributePropertiesFragmentDoc = gql `
|
|
|
939
995
|
type
|
|
940
996
|
format
|
|
941
997
|
multiple_values
|
|
998
|
+
multi_link_display_option
|
|
942
999
|
}
|
|
943
1000
|
`;
|
|
944
1001
|
export const PropertyValueFragmentDoc = gql `
|
|
@@ -1042,6 +1099,10 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
1042
1099
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1043
1100
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
1044
1101
|
}
|
|
1102
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1103
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1104
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1105
|
+
}
|
|
1045
1106
|
export const GetApplicationByIdDocument = gql `
|
|
1046
1107
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1047
1108
|
applications(filters: {id: $id}) {
|
|
@@ -1075,6 +1136,10 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1075
1136
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1076
1137
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1077
1138
|
}
|
|
1139
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1140
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1141
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1142
|
+
}
|
|
1078
1143
|
export const GetApplicationModulesDocument = gql `
|
|
1079
1144
|
query GET_APPLICATION_MODULES {
|
|
1080
1145
|
applicationsModules {
|
|
@@ -1107,6 +1172,10 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1107
1172
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1108
1173
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1109
1174
|
}
|
|
1175
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1176
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1177
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1178
|
+
}
|
|
1110
1179
|
export const SaveApplicationDocument = gql `
|
|
1111
1180
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1112
1181
|
saveApplication(application: $application) {
|
|
@@ -1166,6 +1235,10 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1166
1235
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1167
1236
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1168
1237
|
}
|
|
1238
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1239
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1240
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1241
|
+
}
|
|
1169
1242
|
export const DeleteAttributeDocument = gql `
|
|
1170
1243
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1171
1244
|
deleteAttribute(id: $id) {
|
|
@@ -1227,6 +1300,10 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1227
1300
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1228
1301
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1229
1302
|
}
|
|
1303
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1304
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1305
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1306
|
+
}
|
|
1230
1307
|
export const GetAttributesByLibDocument = gql `
|
|
1231
1308
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1232
1309
|
attributes(filters: {libraries: [$library]}) {
|
|
@@ -1260,6 +1337,10 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1260
1337
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1261
1338
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1262
1339
|
}
|
|
1340
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1341
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1342
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1343
|
+
}
|
|
1263
1344
|
export const GetAttributesDocument = gql `
|
|
1264
1345
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1265
1346
|
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
@@ -1300,6 +1381,10 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1300
1381
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1301
1382
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1302
1383
|
}
|
|
1384
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1385
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1386
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1387
|
+
}
|
|
1303
1388
|
export const GetVersionProfilesDocument = gql `
|
|
1304
1389
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1305
1390
|
versionProfiles(filters: $filters, sort: $sort) {
|
|
@@ -1335,6 +1420,10 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1335
1420
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1336
1421
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1337
1422
|
}
|
|
1423
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1424
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1425
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1426
|
+
}
|
|
1338
1427
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1339
1428
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1340
1429
|
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
@@ -1378,6 +1467,10 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1378
1467
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1379
1468
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1380
1469
|
}
|
|
1470
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1471
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1472
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1473
|
+
}
|
|
1381
1474
|
export const SaveAttributeDocument = gql `
|
|
1382
1475
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1383
1476
|
saveAttribute(attribute: $attribute) {
|
|
@@ -1437,6 +1530,10 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1437
1530
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1438
1531
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1439
1532
|
}
|
|
1533
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1534
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1535
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1536
|
+
}
|
|
1440
1537
|
export const CreateDirectoryDocument = gql `
|
|
1441
1538
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1442
1539
|
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
@@ -1577,6 +1674,10 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1577
1674
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1578
1675
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1579
1676
|
}
|
|
1677
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1678
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1679
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1680
|
+
}
|
|
1580
1681
|
export const UploadUpdateDocument = gql `
|
|
1581
1682
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1582
1683
|
upload(filters: $filters) {
|
|
@@ -1648,6 +1749,51 @@ export function useUploadMutation(baseOptions) {
|
|
|
1648
1749
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1649
1750
|
return Apollo.useMutation(UploadDocument, options);
|
|
1650
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
|
+
}
|
|
1651
1797
|
export const ImportExcelDocument = gql `
|
|
1652
1798
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1653
1799
|
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
@@ -1707,6 +1853,10 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1707
1853
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1708
1854
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1709
1855
|
}
|
|
1856
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1857
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1858
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1859
|
+
}
|
|
1710
1860
|
export const DeleteLibraryDocument = gql `
|
|
1711
1861
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1712
1862
|
deleteLibrary(id: $id) {
|
|
@@ -1767,6 +1917,10 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1767
1917
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1768
1918
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1769
1919
|
}
|
|
1920
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1921
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1922
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1923
|
+
}
|
|
1770
1924
|
export const GetLibraryByIdDocument = gql `
|
|
1771
1925
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1772
1926
|
libraries(filters: {id: $id}) {
|
|
@@ -1800,6 +1954,10 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1800
1954
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1801
1955
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1802
1956
|
}
|
|
1957
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
1958
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1959
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
1960
|
+
}
|
|
1803
1961
|
export const GetLibraryPermissionsDocument = gql `
|
|
1804
1962
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1805
1963
|
libraries(filters: {id: $libraryId}) {
|
|
@@ -1839,6 +1997,10 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1839
1997
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1840
1998
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
1841
1999
|
}
|
|
2000
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
2001
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2002
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
2003
|
+
}
|
|
1842
2004
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1843
2005
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1844
2006
|
libraries(filters: {id: [$id]}) {
|
|
@@ -1887,6 +2049,10 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1887
2049
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1888
2050
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
1889
2051
|
}
|
|
2052
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2053
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2054
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2055
|
+
}
|
|
1890
2056
|
export const SaveLibraryDocument = gql `
|
|
1891
2057
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1892
2058
|
saveLibrary(library: $library) {
|
|
@@ -1950,6 +2116,81 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1950
2116
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1951
2117
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
1952
2118
|
}
|
|
2119
|
+
export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
2120
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2121
|
+
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2122
|
+
}
|
|
2123
|
+
export const ActivateRecordsDocument = gql `
|
|
2124
|
+
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2125
|
+
activateRecords(
|
|
2126
|
+
recordsIds: $recordsIds
|
|
2127
|
+
filters: $filters
|
|
2128
|
+
libraryId: $libraryId
|
|
2129
|
+
) {
|
|
2130
|
+
id
|
|
2131
|
+
...RecordIdentity
|
|
2132
|
+
}
|
|
2133
|
+
}
|
|
2134
|
+
${RecordIdentityFragmentDoc}`;
|
|
2135
|
+
/**
|
|
2136
|
+
* __useActivateRecordsMutation__
|
|
2137
|
+
*
|
|
2138
|
+
* To run a mutation, you first call `useActivateRecordsMutation` within a React component and pass it any options that fit your needs.
|
|
2139
|
+
* When your component renders, `useActivateRecordsMutation` returns a tuple that includes:
|
|
2140
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2141
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2142
|
+
*
|
|
2143
|
+
* @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;
|
|
2144
|
+
*
|
|
2145
|
+
* @example
|
|
2146
|
+
* const [activateRecordsMutation, { data, loading, error }] = useActivateRecordsMutation({
|
|
2147
|
+
* variables: {
|
|
2148
|
+
* libraryId: // value for 'libraryId'
|
|
2149
|
+
* recordsIds: // value for 'recordsIds'
|
|
2150
|
+
* filters: // value for 'filters'
|
|
2151
|
+
* },
|
|
2152
|
+
* });
|
|
2153
|
+
*/
|
|
2154
|
+
export function useActivateRecordsMutation(baseOptions) {
|
|
2155
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2156
|
+
return Apollo.useMutation(ActivateRecordsDocument, options);
|
|
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
|
+
}
|
|
1953
2194
|
export const CreateRecordDocument = gql `
|
|
1954
2195
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
1955
2196
|
createRecord(library: $library, data: $data) {
|
|
@@ -2057,6 +2298,10 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2057
2298
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2058
2299
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2059
2300
|
}
|
|
2301
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2302
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2303
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2304
|
+
}
|
|
2060
2305
|
export const GetFileDataDocument = gql `
|
|
2061
2306
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2062
2307
|
records(
|
|
@@ -2137,6 +2382,10 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2137
2382
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2138
2383
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2139
2384
|
}
|
|
2385
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2386
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2387
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2388
|
+
}
|
|
2140
2389
|
export const RecordFormDocument = gql `
|
|
2141
2390
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2142
2391
|
recordForm(
|
|
@@ -2156,6 +2405,10 @@ export const RecordFormDocument = gql `
|
|
|
2156
2405
|
elements {
|
|
2157
2406
|
...RecordFormElement
|
|
2158
2407
|
}
|
|
2408
|
+
sidePanel {
|
|
2409
|
+
enable
|
|
2410
|
+
isOpenByDefault
|
|
2411
|
+
}
|
|
2159
2412
|
}
|
|
2160
2413
|
}
|
|
2161
2414
|
${RecordFormElementFragmentDoc}`;
|
|
@@ -2186,6 +2439,10 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2186
2439
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2187
2440
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2188
2441
|
}
|
|
2442
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2443
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2444
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2445
|
+
}
|
|
2189
2446
|
export const RecordUpdateDocument = gql `
|
|
2190
2447
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2191
2448
|
recordUpdate(filters: $filters) {
|
|
@@ -2229,6 +2486,46 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2229
2486
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2230
2487
|
return Apollo.useSubscription(RecordUpdateDocument, options);
|
|
2231
2488
|
}
|
|
2489
|
+
export const GetRecordsFromLibraryDocument = gql `
|
|
2490
|
+
query getRecordsFromLibrary($libraryId: ID!, $pagination: RecordsPagination, $filters: [RecordFilterInput]) {
|
|
2491
|
+
records(library: $libraryId, filters: $filters, pagination: $pagination) {
|
|
2492
|
+
totalCount
|
|
2493
|
+
list {
|
|
2494
|
+
...RecordIdentity
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
${RecordIdentityFragmentDoc}`;
|
|
2499
|
+
/**
|
|
2500
|
+
* __useGetRecordsFromLibraryQuery__
|
|
2501
|
+
*
|
|
2502
|
+
* To run a query within a React component, call `useGetRecordsFromLibraryQuery` and pass it any options that fit your needs.
|
|
2503
|
+
* When your component renders, `useGetRecordsFromLibraryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2504
|
+
* you can use to render your UI.
|
|
2505
|
+
*
|
|
2506
|
+
* @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;
|
|
2507
|
+
*
|
|
2508
|
+
* @example
|
|
2509
|
+
* const { data, loading, error } = useGetRecordsFromLibraryQuery({
|
|
2510
|
+
* variables: {
|
|
2511
|
+
* libraryId: // value for 'libraryId'
|
|
2512
|
+
* pagination: // value for 'pagination'
|
|
2513
|
+
* filters: // value for 'filters'
|
|
2514
|
+
* },
|
|
2515
|
+
* });
|
|
2516
|
+
*/
|
|
2517
|
+
export function useGetRecordsFromLibraryQuery(baseOptions) {
|
|
2518
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2519
|
+
return Apollo.useQuery(GetRecordsFromLibraryDocument, options);
|
|
2520
|
+
}
|
|
2521
|
+
export function useGetRecordsFromLibraryLazyQuery(baseOptions) {
|
|
2522
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2523
|
+
return Apollo.useLazyQuery(GetRecordsFromLibraryDocument, options);
|
|
2524
|
+
}
|
|
2525
|
+
export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
2526
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2527
|
+
return Apollo.useSuspenseQuery(GetRecordsFromLibraryDocument, options);
|
|
2528
|
+
}
|
|
2232
2529
|
export const IndexRecordsDocument = gql `
|
|
2233
2530
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2234
2531
|
indexRecords(libraryId: $libraryId, records: $records)
|
|
@@ -2313,6 +2610,10 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2313
2610
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2314
2611
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2315
2612
|
}
|
|
2613
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2614
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2615
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2616
|
+
}
|
|
2316
2617
|
export const DeleteTreeDocument = gql `
|
|
2317
2618
|
mutation DELETE_TREE($id: ID!) {
|
|
2318
2619
|
deleteTree(id: $id) {
|
|
@@ -2374,6 +2675,10 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2374
2675
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2375
2676
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2376
2677
|
}
|
|
2678
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2679
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2680
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2681
|
+
}
|
|
2377
2682
|
export const GetTreeLibrariesDocument = gql `
|
|
2378
2683
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2379
2684
|
trees(filters: {id: $treeId, library: $library}) {
|
|
@@ -2424,6 +2729,10 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2424
2729
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2425
2730
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2426
2731
|
}
|
|
2732
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2733
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2734
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2735
|
+
}
|
|
2427
2736
|
export const GetTreesDocument = gql `
|
|
2428
2737
|
query GET_TREES {
|
|
2429
2738
|
trees {
|
|
@@ -2456,6 +2765,10 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2456
2765
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2457
2766
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2458
2767
|
}
|
|
2768
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2769
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2770
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2771
|
+
}
|
|
2459
2772
|
export const SaveTreeDocument = gql `
|
|
2460
2773
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2461
2774
|
saveTree(tree: $tree) {
|
|
@@ -2485,8 +2798,13 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2485
2798
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2486
2799
|
}
|
|
2487
2800
|
export const TreeNodeChildrenDocument = gql `
|
|
2488
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2489
|
-
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
|
+
) {
|
|
2490
2808
|
totalCount
|
|
2491
2809
|
list {
|
|
2492
2810
|
...TreeNodeChild
|
|
@@ -2509,6 +2827,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2509
2827
|
* treeId: // value for 'treeId'
|
|
2510
2828
|
* node: // value for 'node'
|
|
2511
2829
|
* pagination: // value for 'pagination'
|
|
2830
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2512
2831
|
* },
|
|
2513
2832
|
* });
|
|
2514
2833
|
*/
|
|
@@ -2520,6 +2839,10 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2520
2839
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2521
2840
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2522
2841
|
}
|
|
2842
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2843
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2844
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2845
|
+
}
|
|
2523
2846
|
export const GetUserDataDocument = gql `
|
|
2524
2847
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2525
2848
|
userData(keys: $keys, global: $global) {
|
|
@@ -2553,6 +2876,10 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2553
2876
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2554
2877
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2555
2878
|
}
|
|
2879
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
2880
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2881
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
2882
|
+
}
|
|
2556
2883
|
export const SaveUserDataDocument = gql `
|
|
2557
2884
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2558
2885
|
saveUserData(key: $key, value: $value, global: $global) {
|
|
@@ -2620,43 +2947,6 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2620
2947
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2621
2948
|
return Apollo.useMutation(DeleteValueDocument, options);
|
|
2622
2949
|
}
|
|
2623
|
-
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2624
|
-
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2625
|
-
runActionsListAndFormatOnValue(
|
|
2626
|
-
library: $library
|
|
2627
|
-
value: $value
|
|
2628
|
-
version: $version
|
|
2629
|
-
) {
|
|
2630
|
-
...ValueDetails
|
|
2631
|
-
}
|
|
2632
|
-
}
|
|
2633
|
-
${ValueDetailsFragmentDoc}`;
|
|
2634
|
-
/**
|
|
2635
|
-
* __useRunActionsListAndFormatOnValueQuery__
|
|
2636
|
-
*
|
|
2637
|
-
* To run a query within a React component, call `useRunActionsListAndFormatOnValueQuery` and pass it any options that fit your needs.
|
|
2638
|
-
* When your component renders, `useRunActionsListAndFormatOnValueQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2639
|
-
* you can use to render your UI.
|
|
2640
|
-
*
|
|
2641
|
-
* @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;
|
|
2642
|
-
*
|
|
2643
|
-
* @example
|
|
2644
|
-
* const { data, loading, error } = useRunActionsListAndFormatOnValueQuery({
|
|
2645
|
-
* variables: {
|
|
2646
|
-
* library: // value for 'library'
|
|
2647
|
-
* value: // value for 'value'
|
|
2648
|
-
* version: // value for 'version'
|
|
2649
|
-
* },
|
|
2650
|
-
* });
|
|
2651
|
-
*/
|
|
2652
|
-
export function useRunActionsListAndFormatOnValueQuery(baseOptions) {
|
|
2653
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2654
|
-
return Apollo.useQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2655
|
-
}
|
|
2656
|
-
export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
2657
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2658
|
-
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2659
|
-
}
|
|
2660
2950
|
export const SaveValueBatchDocument = gql `
|
|
2661
2951
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2662
2952
|
saveValueBatch(
|
|
@@ -2763,6 +3053,10 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2763
3053
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2764
3054
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
2765
3055
|
}
|
|
3056
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3057
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3058
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3059
|
+
}
|
|
2766
3060
|
export const GetViewsListDocument = gql `
|
|
2767
3061
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2768
3062
|
views(library: $libraryId) {
|
|
@@ -2797,6 +3091,10 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2797
3091
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2798
3092
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
2799
3093
|
}
|
|
3094
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3095
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3096
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3097
|
+
}
|
|
2800
3098
|
export const SaveViewDocument = gql `
|
|
2801
3099
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
2802
3100
|
saveView(view: $view) {
|
|
@@ -2858,6 +3156,10 @@ export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
|
2858
3156
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2859
3157
|
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
2860
3158
|
}
|
|
3159
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3160
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3161
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3162
|
+
}
|
|
2861
3163
|
export const ExplorerAttributesDocument = gql `
|
|
2862
3164
|
query ExplorerAttributes($ids: [ID!]) {
|
|
2863
3165
|
attributes(filters: {ids: $ids}) {
|
|
@@ -2898,6 +3200,10 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
2898
3200
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2899
3201
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
2900
3202
|
}
|
|
3203
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3204
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3205
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3206
|
+
}
|
|
2901
3207
|
export const ExplorerLinkAttributeDocument = gql `
|
|
2902
3208
|
query ExplorerLinkAttribute($id: ID!) {
|
|
2903
3209
|
attributes(filters: {ids: [$id]}) {
|
|
@@ -2937,6 +3243,10 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
2937
3243
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2938
3244
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
2939
3245
|
}
|
|
3246
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3247
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3248
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3249
|
+
}
|
|
2940
3250
|
export const ExplorerLibraryDataDocument = gql `
|
|
2941
3251
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
2942
3252
|
records(
|
|
@@ -2949,7 +3259,9 @@ export const ExplorerLibraryDataDocument = gql `
|
|
|
2949
3259
|
totalCount
|
|
2950
3260
|
list {
|
|
2951
3261
|
...RecordIdentity
|
|
3262
|
+
active
|
|
2952
3263
|
permissions {
|
|
3264
|
+
create_record
|
|
2953
3265
|
delete_record
|
|
2954
3266
|
}
|
|
2955
3267
|
properties(attributeIds: $attributeIds) {
|
|
@@ -2996,6 +3308,10 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
2996
3308
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2997
3309
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
2998
3310
|
}
|
|
3311
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3312
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3313
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3314
|
+
}
|
|
2999
3315
|
export const ExplorerLinkDataDocument = gql `
|
|
3000
3316
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
3001
3317
|
records(
|
|
@@ -3044,6 +3360,10 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
3044
3360
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3045
3361
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
3046
3362
|
}
|
|
3363
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3364
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3365
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3366
|
+
}
|
|
3047
3367
|
export const GetLibraryAttributesDocument = gql `
|
|
3048
3368
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3049
3369
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3080,6 +3400,10 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
3080
3400
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3081
3401
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
3082
3402
|
}
|
|
3403
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3404
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3405
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3406
|
+
}
|
|
3083
3407
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3084
3408
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3085
3409
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3115,6 +3439,10 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3115
3439
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3116
3440
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3117
3441
|
}
|
|
3442
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3443
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3444
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3445
|
+
}
|
|
3118
3446
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3119
3447
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3120
3448
|
records(library: $libraryId, filters: $filters) {
|
|
@@ -3149,6 +3477,10 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3149
3477
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3150
3478
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3151
3479
|
}
|
|
3480
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3481
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3482
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3483
|
+
}
|
|
3152
3484
|
export const MeDocument = gql `
|
|
3153
3485
|
query Me {
|
|
3154
3486
|
me {
|
|
@@ -3185,6 +3517,10 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3185
3517
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3186
3518
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3187
3519
|
}
|
|
3520
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3521
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3522
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3523
|
+
}
|
|
3188
3524
|
export const UpdateViewDocument = gql `
|
|
3189
3525
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3190
3526
|
updateView(view: $view) {
|
|
@@ -3247,4 +3583,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3247
3583
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3248
3584
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3249
3585
|
}
|
|
3586
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3587
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3588
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3589
|
+
}
|
|
3250
3590
|
//# sourceMappingURL=index.js.map
|