@leav/ui 0.4.0-9b6d94c → 0.4.0-a04a265e
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.js +5 -1
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +1495 -187
- package/dist/_gqlTypes/index.js +453 -43
- 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 +13 -0
- 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/_utils/attributeType.d.ts +2 -1
- package/dist/_utils/attributeType.js +2 -1
- package/dist/_utils/attributeType.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 +15 -12
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +9 -6
- package/dist/components/Explorer/Explorer.js +25 -11
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.d.ts +2 -1
- package/dist/components/Explorer/ExplorerToolbar.js +15 -5
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +22 -11
- 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 +99 -31
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js +35 -26
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +75 -9
- package/dist/components/Explorer/_types.js +5 -0
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditItemAction.d.ts +2 -1
- package/dist/components/Explorer/actions-item/useEditItemAction.js +2 -1
- package/dist/components/Explorer/actions-item/useEditItemAction.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 +20 -22
- 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 +44 -4
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +4 -4
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.d.ts +9 -3
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +81 -12
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +21 -8
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.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/filter-items/filter-type/FilterDropdownContent.js +9 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.d.ts +9 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js +131 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js +69 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +6 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +43 -4
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +29 -8
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.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 +3 -2
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +57 -14
- 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/usePagination.d.ts +2 -1
- package/dist/components/Explorer/usePagination.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.d.ts +3 -1
- package/dist/components/Explorer/useSearchInput.js +4 -1
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.d.ts +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.js +31 -16
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -0
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +1 -12
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.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 +45 -239
- 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 +3 -3
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +24 -22
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +6 -16
- package/dist/components/RecordEdition/EditRecordContent/_types.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/useTabManagement.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +35 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
- 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.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +6 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -1
- 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 +11 -35
- 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} +19 -49
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +27 -22
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.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/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 +19 -24
- 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 +51 -63
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -3
- 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 +49 -16
- 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 +49 -12
- 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 +28 -5
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +44 -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 +7 -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 +5 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +70 -56
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/_types.d.ts +18 -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/useAppLang/useAppLang.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +3 -3
- 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 +11 -2
- package/dist/locales/fr/shared.json +10 -1
- package/dist/types/attributes.d.ts +2 -1
- package/package.json +23 -8
- package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.d.ts +0 -10
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js +0 -75
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.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/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/LinkField/shared/utils.d.ts +0 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js +0 -22
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.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
|
@@ -117,6 +117,7 @@ export var LibraryBehavior;
|
|
|
117
117
|
(function (LibraryBehavior) {
|
|
118
118
|
LibraryBehavior["directories"] = "directories";
|
|
119
119
|
LibraryBehavior["files"] = "files";
|
|
120
|
+
LibraryBehavior["join"] = "join";
|
|
120
121
|
LibraryBehavior["standard"] = "standard";
|
|
121
122
|
})(LibraryBehavior || (LibraryBehavior = {}));
|
|
122
123
|
export var LogAction;
|
|
@@ -160,6 +161,12 @@ export var LogSortableField;
|
|
|
160
161
|
LogSortableField["trigger"] = "trigger";
|
|
161
162
|
LogSortableField["userId"] = "userId";
|
|
162
163
|
})(LogSortableField || (LogSortableField = {}));
|
|
164
|
+
export var MultiLinkDisplayOption;
|
|
165
|
+
(function (MultiLinkDisplayOption) {
|
|
166
|
+
MultiLinkDisplayOption["avatar"] = "avatar";
|
|
167
|
+
MultiLinkDisplayOption["badge_qty"] = "badge_qty";
|
|
168
|
+
MultiLinkDisplayOption["tag"] = "tag";
|
|
169
|
+
})(MultiLinkDisplayOption || (MultiLinkDisplayOption = {}));
|
|
163
170
|
export var PermissionTypes;
|
|
164
171
|
(function (PermissionTypes) {
|
|
165
172
|
PermissionTypes["admin"] = "admin";
|
|
@@ -183,6 +190,7 @@ export var PermissionsActions;
|
|
|
183
190
|
PermissionsActions["admin_access_applications"] = "admin_access_applications";
|
|
184
191
|
PermissionsActions["admin_access_attributes"] = "admin_access_attributes";
|
|
185
192
|
PermissionsActions["admin_access_libraries"] = "admin_access_libraries";
|
|
193
|
+
PermissionsActions["admin_access_logs"] = "admin_access_logs";
|
|
186
194
|
PermissionsActions["admin_access_permissions"] = "admin_access_permissions";
|
|
187
195
|
PermissionsActions["admin_access_tasks"] = "admin_access_tasks";
|
|
188
196
|
PermissionsActions["admin_access_trees"] = "admin_access_trees";
|
|
@@ -210,6 +218,7 @@ export var PermissionsActions;
|
|
|
210
218
|
PermissionsActions["admin_edit_permission"] = "admin_edit_permission";
|
|
211
219
|
PermissionsActions["admin_edit_tree"] = "admin_edit_tree";
|
|
212
220
|
PermissionsActions["admin_edit_version_profile"] = "admin_edit_version_profile";
|
|
221
|
+
PermissionsActions["admin_import_config_clear_database"] = "admin_import_config_clear_database";
|
|
213
222
|
PermissionsActions["admin_library"] = "admin_library";
|
|
214
223
|
PermissionsActions["admin_manage_global_preferences"] = "admin_manage_global_preferences";
|
|
215
224
|
PermissionsActions["create_record"] = "create_record";
|
|
@@ -261,6 +270,13 @@ export var RecordFilterOperator;
|
|
|
261
270
|
RecordFilterOperator["OPEN_BRACKET"] = "OPEN_BRACKET";
|
|
262
271
|
RecordFilterOperator["OR"] = "OR";
|
|
263
272
|
})(RecordFilterOperator || (RecordFilterOperator = {}));
|
|
273
|
+
export var RecordPermissionsActions;
|
|
274
|
+
(function (RecordPermissionsActions) {
|
|
275
|
+
RecordPermissionsActions["access_record"] = "access_record";
|
|
276
|
+
RecordPermissionsActions["create_record"] = "create_record";
|
|
277
|
+
RecordPermissionsActions["delete_record"] = "delete_record";
|
|
278
|
+
RecordPermissionsActions["edit_record"] = "edit_record";
|
|
279
|
+
})(RecordPermissionsActions || (RecordPermissionsActions = {}));
|
|
264
280
|
export var SortOrder;
|
|
265
281
|
(function (SortOrder) {
|
|
266
282
|
SortOrder["asc"] = "asc";
|
|
@@ -371,6 +387,7 @@ export const AttributeDetailsFragmentDoc = gql `
|
|
|
371
387
|
label
|
|
372
388
|
description
|
|
373
389
|
multiple_values
|
|
390
|
+
multi_link_display_option
|
|
374
391
|
metadata_fields {
|
|
375
392
|
id
|
|
376
393
|
label
|
|
@@ -749,6 +766,13 @@ export const RecordFormAttributeFragmentDoc = gql `
|
|
|
749
766
|
}
|
|
750
767
|
${StandardValuesListFragmentFragmentDoc}
|
|
751
768
|
${RecordIdentityFragmentDoc}`;
|
|
769
|
+
export const JoinLibraryContextFragmentDoc = gql `
|
|
770
|
+
fragment JoinLibraryContext on FormElementJoinLibraryContext {
|
|
771
|
+
mandatoryAttribute {
|
|
772
|
+
...RecordFormAttribute
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
${RecordFormAttributeFragmentDoc}`;
|
|
752
776
|
export const RecordFormElementFragmentDoc = gql `
|
|
753
777
|
fragment RecordFormElement on FormElementWithValues {
|
|
754
778
|
id
|
|
@@ -766,9 +790,13 @@ export const RecordFormElementFragmentDoc = gql `
|
|
|
766
790
|
key
|
|
767
791
|
value
|
|
768
792
|
}
|
|
793
|
+
joinLibraryContext {
|
|
794
|
+
...JoinLibraryContext
|
|
795
|
+
}
|
|
769
796
|
}
|
|
770
797
|
${ValueDetailsFragmentDoc}
|
|
771
|
-
${RecordFormAttributeFragmentDoc}
|
|
798
|
+
${RecordFormAttributeFragmentDoc}
|
|
799
|
+
${JoinLibraryContextFragmentDoc}`;
|
|
772
800
|
export const TreeLightFragmentDoc = gql `
|
|
773
801
|
fragment TreeLight on Tree {
|
|
774
802
|
id
|
|
@@ -882,11 +910,19 @@ export const ViewDetailsFragmentDoc = gql `
|
|
|
882
910
|
${RecordIdentityFragmentDoc}`;
|
|
883
911
|
export const AttributesByLibLinkAttributeWithPermissionsFragmentDoc = gql `
|
|
884
912
|
fragment AttributesByLibLinkAttributeWithPermissions on LinkAttribute {
|
|
913
|
+
valuesList: values_list {
|
|
914
|
+
enable
|
|
915
|
+
allowFreeEntry
|
|
916
|
+
allowListUpdate
|
|
917
|
+
linkedValues: values {
|
|
918
|
+
...RecordIdentity
|
|
919
|
+
}
|
|
920
|
+
}
|
|
885
921
|
linked_library {
|
|
886
922
|
id
|
|
887
923
|
}
|
|
888
924
|
}
|
|
889
|
-
`;
|
|
925
|
+
${RecordIdentityFragmentDoc}`;
|
|
890
926
|
export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
|
|
891
927
|
fragment AttributesByLibAttributeWithPermissions on Attribute {
|
|
892
928
|
id
|
|
@@ -918,16 +954,77 @@ export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
|
|
|
918
954
|
format
|
|
919
955
|
label
|
|
920
956
|
}
|
|
957
|
+
valuesList: values_list {
|
|
958
|
+
... on StandardStringValuesListConf {
|
|
959
|
+
enable
|
|
960
|
+
allowFreeEntry
|
|
961
|
+
allowListUpdate
|
|
962
|
+
values
|
|
963
|
+
}
|
|
964
|
+
... on StandardDateRangeValuesListConf {
|
|
965
|
+
enable
|
|
966
|
+
allowFreeEntry
|
|
967
|
+
allowListUpdate
|
|
968
|
+
dateRangeValues: values {
|
|
969
|
+
from
|
|
970
|
+
to
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
}
|
|
921
974
|
}
|
|
922
975
|
}
|
|
923
976
|
${AttributesByLibLinkAttributeWithPermissionsFragmentDoc}`;
|
|
924
977
|
export const LinkAttributeDetailsFragmentDoc = gql `
|
|
925
978
|
fragment LinkAttributeDetails on LinkAttribute {
|
|
926
979
|
label
|
|
980
|
+
type
|
|
927
981
|
linked_library {
|
|
928
982
|
id
|
|
929
983
|
label
|
|
930
984
|
}
|
|
985
|
+
valuesList: values_list {
|
|
986
|
+
allowFreeEntry
|
|
987
|
+
enable
|
|
988
|
+
linkedValues: values {
|
|
989
|
+
id
|
|
990
|
+
whoAmI {
|
|
991
|
+
id
|
|
992
|
+
label
|
|
993
|
+
library {
|
|
994
|
+
id
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
`;
|
|
1001
|
+
export const TreeAttributeDetailsFragmentDoc = gql `
|
|
1002
|
+
fragment TreeAttributeDetails on TreeAttribute {
|
|
1003
|
+
id
|
|
1004
|
+
label
|
|
1005
|
+
linked_tree {
|
|
1006
|
+
id
|
|
1007
|
+
label
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
`;
|
|
1011
|
+
export const StandardAttributeDetailsFragmentDoc = gql `
|
|
1012
|
+
fragment StandardAttributeDetails on StandardAttribute {
|
|
1013
|
+
id
|
|
1014
|
+
type
|
|
1015
|
+
embedded_fields {
|
|
1016
|
+
id
|
|
1017
|
+
format
|
|
1018
|
+
label
|
|
1019
|
+
}
|
|
1020
|
+
valuesList: values_list {
|
|
1021
|
+
... on StandardStringValuesListConf {
|
|
1022
|
+
enable
|
|
1023
|
+
allowFreeEntry
|
|
1024
|
+
allowListUpdate
|
|
1025
|
+
values
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
931
1028
|
}
|
|
932
1029
|
`;
|
|
933
1030
|
export const AttributePropertiesFragmentDoc = gql `
|
|
@@ -937,6 +1034,7 @@ export const AttributePropertiesFragmentDoc = gql `
|
|
|
937
1034
|
type
|
|
938
1035
|
format
|
|
939
1036
|
multiple_values
|
|
1037
|
+
multi_link_display_option
|
|
940
1038
|
}
|
|
941
1039
|
`;
|
|
942
1040
|
export const PropertyValueFragmentDoc = gql `
|
|
@@ -1040,6 +1138,10 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
1040
1138
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1041
1139
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
1042
1140
|
}
|
|
1141
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1142
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1143
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1144
|
+
}
|
|
1043
1145
|
export const GetApplicationByIdDocument = gql `
|
|
1044
1146
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1045
1147
|
applications(filters: {id: $id}) {
|
|
@@ -1073,6 +1175,10 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1073
1175
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1074
1176
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1075
1177
|
}
|
|
1178
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1179
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1180
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1181
|
+
}
|
|
1076
1182
|
export const GetApplicationModulesDocument = gql `
|
|
1077
1183
|
query GET_APPLICATION_MODULES {
|
|
1078
1184
|
applicationsModules {
|
|
@@ -1105,6 +1211,10 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1105
1211
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1106
1212
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1107
1213
|
}
|
|
1214
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1215
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1216
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1217
|
+
}
|
|
1108
1218
|
export const SaveApplicationDocument = gql `
|
|
1109
1219
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1110
1220
|
saveApplication(application: $application) {
|
|
@@ -1164,6 +1274,10 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1164
1274
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1165
1275
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1166
1276
|
}
|
|
1277
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1278
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1279
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1280
|
+
}
|
|
1167
1281
|
export const DeleteAttributeDocument = gql `
|
|
1168
1282
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1169
1283
|
deleteAttribute(id: $id) {
|
|
@@ -1225,6 +1339,10 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1225
1339
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1226
1340
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1227
1341
|
}
|
|
1342
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1343
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1344
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1345
|
+
}
|
|
1228
1346
|
export const GetAttributesByLibDocument = gql `
|
|
1229
1347
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1230
1348
|
attributes(filters: {libraries: [$library]}) {
|
|
@@ -1258,6 +1376,10 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1258
1376
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1259
1377
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1260
1378
|
}
|
|
1379
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1380
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1381
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1382
|
+
}
|
|
1261
1383
|
export const GetAttributesDocument = gql `
|
|
1262
1384
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1263
1385
|
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
@@ -1298,6 +1420,10 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1298
1420
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1299
1421
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1300
1422
|
}
|
|
1423
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1424
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1425
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1426
|
+
}
|
|
1301
1427
|
export const GetVersionProfilesDocument = gql `
|
|
1302
1428
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1303
1429
|
versionProfiles(filters: $filters, sort: $sort) {
|
|
@@ -1333,6 +1459,10 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1333
1459
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1334
1460
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1335
1461
|
}
|
|
1462
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1463
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1464
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1465
|
+
}
|
|
1336
1466
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1337
1467
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1338
1468
|
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
@@ -1376,6 +1506,10 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1376
1506
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1377
1507
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1378
1508
|
}
|
|
1509
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1510
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1511
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1512
|
+
}
|
|
1379
1513
|
export const SaveAttributeDocument = gql `
|
|
1380
1514
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1381
1515
|
saveAttribute(attribute: $attribute) {
|
|
@@ -1435,6 +1569,10 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1435
1569
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1436
1570
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1437
1571
|
}
|
|
1572
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1573
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1574
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1575
|
+
}
|
|
1438
1576
|
export const CreateDirectoryDocument = gql `
|
|
1439
1577
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1440
1578
|
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
@@ -1575,6 +1713,10 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1575
1713
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1576
1714
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1577
1715
|
}
|
|
1716
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1717
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1718
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1719
|
+
}
|
|
1578
1720
|
export const UploadUpdateDocument = gql `
|
|
1579
1721
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1580
1722
|
upload(filters: $filters) {
|
|
@@ -1705,6 +1847,10 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1705
1847
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1706
1848
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1707
1849
|
}
|
|
1850
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1851
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1852
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1853
|
+
}
|
|
1708
1854
|
export const DeleteLibraryDocument = gql `
|
|
1709
1855
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1710
1856
|
deleteLibrary(id: $id) {
|
|
@@ -1765,6 +1911,10 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1765
1911
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1766
1912
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1767
1913
|
}
|
|
1914
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1915
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1916
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1917
|
+
}
|
|
1768
1918
|
export const GetLibraryByIdDocument = gql `
|
|
1769
1919
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1770
1920
|
libraries(filters: {id: $id}) {
|
|
@@ -1798,6 +1948,10 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1798
1948
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1799
1949
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1800
1950
|
}
|
|
1951
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
1952
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1953
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
1954
|
+
}
|
|
1801
1955
|
export const GetLibraryPermissionsDocument = gql `
|
|
1802
1956
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1803
1957
|
libraries(filters: {id: $libraryId}) {
|
|
@@ -1837,6 +1991,10 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1837
1991
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1838
1992
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
1839
1993
|
}
|
|
1994
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
1995
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1996
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
1997
|
+
}
|
|
1840
1998
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1841
1999
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1842
2000
|
libraries(filters: {id: [$id]}) {
|
|
@@ -1885,6 +2043,10 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1885
2043
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1886
2044
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
1887
2045
|
}
|
|
2046
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2047
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2048
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2049
|
+
}
|
|
1888
2050
|
export const SaveLibraryDocument = gql `
|
|
1889
2051
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1890
2052
|
saveLibrary(library: $library) {
|
|
@@ -1948,6 +2110,119 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1948
2110
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1949
2111
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
1950
2112
|
}
|
|
2113
|
+
export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
2114
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2115
|
+
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2116
|
+
}
|
|
2117
|
+
export const ActivateNewRecordDocument = gql `
|
|
2118
|
+
mutation activateNewRecord($libraryId: ID!, $recordId: ID!, $formId: String) {
|
|
2119
|
+
activateNewRecord(library: $libraryId, recordId: $recordId, formId: $formId) {
|
|
2120
|
+
record {
|
|
2121
|
+
...RecordIdentity
|
|
2122
|
+
}
|
|
2123
|
+
valuesErrors {
|
|
2124
|
+
type
|
|
2125
|
+
attribute
|
|
2126
|
+
input
|
|
2127
|
+
message
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
${RecordIdentityFragmentDoc}`;
|
|
2132
|
+
/**
|
|
2133
|
+
* __useActivateNewRecordMutation__
|
|
2134
|
+
*
|
|
2135
|
+
* To run a mutation, you first call `useActivateNewRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2136
|
+
* When your component renders, `useActivateNewRecordMutation` returns a tuple that includes:
|
|
2137
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2138
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2139
|
+
*
|
|
2140
|
+
* @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;
|
|
2141
|
+
*
|
|
2142
|
+
* @example
|
|
2143
|
+
* const [activateNewRecordMutation, { data, loading, error }] = useActivateNewRecordMutation({
|
|
2144
|
+
* variables: {
|
|
2145
|
+
* libraryId: // value for 'libraryId'
|
|
2146
|
+
* recordId: // value for 'recordId'
|
|
2147
|
+
* formId: // value for 'formId'
|
|
2148
|
+
* },
|
|
2149
|
+
* });
|
|
2150
|
+
*/
|
|
2151
|
+
export function useActivateNewRecordMutation(baseOptions) {
|
|
2152
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2153
|
+
return Apollo.useMutation(ActivateNewRecordDocument, options);
|
|
2154
|
+
}
|
|
2155
|
+
export const ActivateRecordsDocument = gql `
|
|
2156
|
+
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2157
|
+
activateRecords(
|
|
2158
|
+
recordsIds: $recordsIds
|
|
2159
|
+
filters: $filters
|
|
2160
|
+
libraryId: $libraryId
|
|
2161
|
+
) {
|
|
2162
|
+
id
|
|
2163
|
+
...RecordIdentity
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
${RecordIdentityFragmentDoc}`;
|
|
2167
|
+
/**
|
|
2168
|
+
* __useActivateRecordsMutation__
|
|
2169
|
+
*
|
|
2170
|
+
* To run a mutation, you first call `useActivateRecordsMutation` within a React component and pass it any options that fit your needs.
|
|
2171
|
+
* When your component renders, `useActivateRecordsMutation` returns a tuple that includes:
|
|
2172
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2173
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2174
|
+
*
|
|
2175
|
+
* @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;
|
|
2176
|
+
*
|
|
2177
|
+
* @example
|
|
2178
|
+
* const [activateRecordsMutation, { data, loading, error }] = useActivateRecordsMutation({
|
|
2179
|
+
* variables: {
|
|
2180
|
+
* libraryId: // value for 'libraryId'
|
|
2181
|
+
* recordsIds: // value for 'recordsIds'
|
|
2182
|
+
* filters: // value for 'filters'
|
|
2183
|
+
* },
|
|
2184
|
+
* });
|
|
2185
|
+
*/
|
|
2186
|
+
export function useActivateRecordsMutation(baseOptions) {
|
|
2187
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2188
|
+
return Apollo.useMutation(ActivateRecordsDocument, options);
|
|
2189
|
+
}
|
|
2190
|
+
export const CreateEmptyRecordDocument = gql `
|
|
2191
|
+
mutation createEmptyRecord($library: ID!) {
|
|
2192
|
+
createEmptyRecord(library: $library) {
|
|
2193
|
+
record {
|
|
2194
|
+
...RecordIdentity
|
|
2195
|
+
}
|
|
2196
|
+
valuesErrors {
|
|
2197
|
+
type
|
|
2198
|
+
attribute
|
|
2199
|
+
input
|
|
2200
|
+
message
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
}
|
|
2204
|
+
${RecordIdentityFragmentDoc}`;
|
|
2205
|
+
/**
|
|
2206
|
+
* __useCreateEmptyRecordMutation__
|
|
2207
|
+
*
|
|
2208
|
+
* To run a mutation, you first call `useCreateEmptyRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2209
|
+
* When your component renders, `useCreateEmptyRecordMutation` returns a tuple that includes:
|
|
2210
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2211
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2212
|
+
*
|
|
2213
|
+
* @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;
|
|
2214
|
+
*
|
|
2215
|
+
* @example
|
|
2216
|
+
* const [createEmptyRecordMutation, { data, loading, error }] = useCreateEmptyRecordMutation({
|
|
2217
|
+
* variables: {
|
|
2218
|
+
* library: // value for 'library'
|
|
2219
|
+
* },
|
|
2220
|
+
* });
|
|
2221
|
+
*/
|
|
2222
|
+
export function useCreateEmptyRecordMutation(baseOptions) {
|
|
2223
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2224
|
+
return Apollo.useMutation(CreateEmptyRecordDocument, options);
|
|
2225
|
+
}
|
|
1951
2226
|
export const CreateRecordDocument = gql `
|
|
1952
2227
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
1953
2228
|
createRecord(library: $library, data: $data) {
|
|
@@ -2055,6 +2330,10 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2055
2330
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2056
2331
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2057
2332
|
}
|
|
2333
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2334
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2335
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2336
|
+
}
|
|
2058
2337
|
export const GetFileDataDocument = gql `
|
|
2059
2338
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2060
2339
|
records(
|
|
@@ -2135,6 +2414,10 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2135
2414
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2136
2415
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2137
2416
|
}
|
|
2417
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2418
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2419
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2420
|
+
}
|
|
2138
2421
|
export const RecordFormDocument = gql `
|
|
2139
2422
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2140
2423
|
recordForm(
|
|
@@ -2154,6 +2437,10 @@ export const RecordFormDocument = gql `
|
|
|
2154
2437
|
elements {
|
|
2155
2438
|
...RecordFormElement
|
|
2156
2439
|
}
|
|
2440
|
+
sidePanel {
|
|
2441
|
+
enable
|
|
2442
|
+
isOpenByDefault
|
|
2443
|
+
}
|
|
2157
2444
|
}
|
|
2158
2445
|
}
|
|
2159
2446
|
${RecordFormElementFragmentDoc}`;
|
|
@@ -2184,6 +2471,10 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2184
2471
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2185
2472
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2186
2473
|
}
|
|
2474
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2475
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2476
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2477
|
+
}
|
|
2187
2478
|
export const RecordUpdateDocument = gql `
|
|
2188
2479
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2189
2480
|
recordUpdate(filters: $filters) {
|
|
@@ -2227,6 +2518,46 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2227
2518
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2228
2519
|
return Apollo.useSubscription(RecordUpdateDocument, options);
|
|
2229
2520
|
}
|
|
2521
|
+
export const GetRecordsFromLibraryDocument = gql `
|
|
2522
|
+
query getRecordsFromLibrary($libraryId: ID!, $pagination: RecordsPagination, $filters: [RecordFilterInput]) {
|
|
2523
|
+
records(library: $libraryId, filters: $filters, pagination: $pagination) {
|
|
2524
|
+
totalCount
|
|
2525
|
+
list {
|
|
2526
|
+
...RecordIdentity
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
${RecordIdentityFragmentDoc}`;
|
|
2531
|
+
/**
|
|
2532
|
+
* __useGetRecordsFromLibraryQuery__
|
|
2533
|
+
*
|
|
2534
|
+
* To run a query within a React component, call `useGetRecordsFromLibraryQuery` and pass it any options that fit your needs.
|
|
2535
|
+
* When your component renders, `useGetRecordsFromLibraryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2536
|
+
* you can use to render your UI.
|
|
2537
|
+
*
|
|
2538
|
+
* @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;
|
|
2539
|
+
*
|
|
2540
|
+
* @example
|
|
2541
|
+
* const { data, loading, error } = useGetRecordsFromLibraryQuery({
|
|
2542
|
+
* variables: {
|
|
2543
|
+
* libraryId: // value for 'libraryId'
|
|
2544
|
+
* pagination: // value for 'pagination'
|
|
2545
|
+
* filters: // value for 'filters'
|
|
2546
|
+
* },
|
|
2547
|
+
* });
|
|
2548
|
+
*/
|
|
2549
|
+
export function useGetRecordsFromLibraryQuery(baseOptions) {
|
|
2550
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2551
|
+
return Apollo.useQuery(GetRecordsFromLibraryDocument, options);
|
|
2552
|
+
}
|
|
2553
|
+
export function useGetRecordsFromLibraryLazyQuery(baseOptions) {
|
|
2554
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2555
|
+
return Apollo.useLazyQuery(GetRecordsFromLibraryDocument, options);
|
|
2556
|
+
}
|
|
2557
|
+
export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
2558
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2559
|
+
return Apollo.useSuspenseQuery(GetRecordsFromLibraryDocument, options);
|
|
2560
|
+
}
|
|
2230
2561
|
export const IndexRecordsDocument = gql `
|
|
2231
2562
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2232
2563
|
indexRecords(libraryId: $libraryId, records: $records)
|
|
@@ -2254,6 +2585,35 @@ export function useIndexRecordsMutation(baseOptions) {
|
|
|
2254
2585
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2255
2586
|
return Apollo.useMutation(IndexRecordsDocument, options);
|
|
2256
2587
|
}
|
|
2588
|
+
export const PurgeRecordDocument = gql `
|
|
2589
|
+
mutation purgeRecord($libraryId: ID!, $recordId: ID!) {
|
|
2590
|
+
purgeRecord(libraryId: $libraryId, recordId: $recordId) {
|
|
2591
|
+
...RecordIdentity
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
${RecordIdentityFragmentDoc}`;
|
|
2595
|
+
/**
|
|
2596
|
+
* __usePurgeRecordMutation__
|
|
2597
|
+
*
|
|
2598
|
+
* To run a mutation, you first call `usePurgeRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2599
|
+
* When your component renders, `usePurgeRecordMutation` returns a tuple that includes:
|
|
2600
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2601
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2602
|
+
*
|
|
2603
|
+
* @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;
|
|
2604
|
+
*
|
|
2605
|
+
* @example
|
|
2606
|
+
* const [purgeRecordMutation, { data, loading, error }] = usePurgeRecordMutation({
|
|
2607
|
+
* variables: {
|
|
2608
|
+
* libraryId: // value for 'libraryId'
|
|
2609
|
+
* recordId: // value for 'recordId'
|
|
2610
|
+
* },
|
|
2611
|
+
* });
|
|
2612
|
+
*/
|
|
2613
|
+
export function usePurgeRecordMutation(baseOptions) {
|
|
2614
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2615
|
+
return Apollo.useMutation(PurgeRecordDocument, options);
|
|
2616
|
+
}
|
|
2257
2617
|
export const CancelTaskDocument = gql `
|
|
2258
2618
|
mutation CANCEL_TASK($taskId: ID!) {
|
|
2259
2619
|
cancelTask(taskId: $taskId)
|
|
@@ -2311,6 +2671,10 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2311
2671
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2312
2672
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2313
2673
|
}
|
|
2674
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2675
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2676
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2677
|
+
}
|
|
2314
2678
|
export const DeleteTreeDocument = gql `
|
|
2315
2679
|
mutation DELETE_TREE($id: ID!) {
|
|
2316
2680
|
deleteTree(id: $id) {
|
|
@@ -2372,6 +2736,10 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2372
2736
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2373
2737
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2374
2738
|
}
|
|
2739
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2740
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2741
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2742
|
+
}
|
|
2375
2743
|
export const GetTreeLibrariesDocument = gql `
|
|
2376
2744
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2377
2745
|
trees(filters: {id: $treeId, library: $library}) {
|
|
@@ -2422,6 +2790,10 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2422
2790
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2423
2791
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2424
2792
|
}
|
|
2793
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2794
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2795
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2796
|
+
}
|
|
2425
2797
|
export const GetTreesDocument = gql `
|
|
2426
2798
|
query GET_TREES {
|
|
2427
2799
|
trees {
|
|
@@ -2454,6 +2826,10 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2454
2826
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2455
2827
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2456
2828
|
}
|
|
2829
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2830
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2831
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2832
|
+
}
|
|
2457
2833
|
export const SaveTreeDocument = gql `
|
|
2458
2834
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2459
2835
|
saveTree(tree: $tree) {
|
|
@@ -2483,8 +2859,13 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2483
2859
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2484
2860
|
}
|
|
2485
2861
|
export const TreeNodeChildrenDocument = gql `
|
|
2486
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2487
|
-
treeNodeChildren(
|
|
2862
|
+
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2863
|
+
treeNodeChildren(
|
|
2864
|
+
treeId: $treeId
|
|
2865
|
+
node: $node
|
|
2866
|
+
pagination: $pagination
|
|
2867
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2868
|
+
) {
|
|
2488
2869
|
totalCount
|
|
2489
2870
|
list {
|
|
2490
2871
|
...TreeNodeChild
|
|
@@ -2507,6 +2888,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2507
2888
|
* treeId: // value for 'treeId'
|
|
2508
2889
|
* node: // value for 'node'
|
|
2509
2890
|
* pagination: // value for 'pagination'
|
|
2891
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2510
2892
|
* },
|
|
2511
2893
|
* });
|
|
2512
2894
|
*/
|
|
@@ -2518,6 +2900,10 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2518
2900
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2519
2901
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2520
2902
|
}
|
|
2903
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2904
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2905
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2906
|
+
}
|
|
2521
2907
|
export const GetUserDataDocument = gql `
|
|
2522
2908
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2523
2909
|
userData(keys: $keys, global: $global) {
|
|
@@ -2551,6 +2937,10 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2551
2937
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2552
2938
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2553
2939
|
}
|
|
2940
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
2941
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2942
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
2943
|
+
}
|
|
2554
2944
|
export const SaveUserDataDocument = gql `
|
|
2555
2945
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2556
2946
|
saveUserData(key: $key, value: $value, global: $global) {
|
|
@@ -2618,43 +3008,6 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2618
3008
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2619
3009
|
return Apollo.useMutation(DeleteValueDocument, options);
|
|
2620
3010
|
}
|
|
2621
|
-
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2622
|
-
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2623
|
-
runActionsListAndFormatOnValue(
|
|
2624
|
-
library: $library
|
|
2625
|
-
value: $value
|
|
2626
|
-
version: $version
|
|
2627
|
-
) {
|
|
2628
|
-
...ValueDetails
|
|
2629
|
-
}
|
|
2630
|
-
}
|
|
2631
|
-
${ValueDetailsFragmentDoc}`;
|
|
2632
|
-
/**
|
|
2633
|
-
* __useRunActionsListAndFormatOnValueQuery__
|
|
2634
|
-
*
|
|
2635
|
-
* To run a query within a React component, call `useRunActionsListAndFormatOnValueQuery` and pass it any options that fit your needs.
|
|
2636
|
-
* When your component renders, `useRunActionsListAndFormatOnValueQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2637
|
-
* you can use to render your UI.
|
|
2638
|
-
*
|
|
2639
|
-
* @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;
|
|
2640
|
-
*
|
|
2641
|
-
* @example
|
|
2642
|
-
* const { data, loading, error } = useRunActionsListAndFormatOnValueQuery({
|
|
2643
|
-
* variables: {
|
|
2644
|
-
* library: // value for 'library'
|
|
2645
|
-
* value: // value for 'value'
|
|
2646
|
-
* version: // value for 'version'
|
|
2647
|
-
* },
|
|
2648
|
-
* });
|
|
2649
|
-
*/
|
|
2650
|
-
export function useRunActionsListAndFormatOnValueQuery(baseOptions) {
|
|
2651
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2652
|
-
return Apollo.useQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2653
|
-
}
|
|
2654
|
-
export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
2655
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2656
|
-
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2657
|
-
}
|
|
2658
3011
|
export const SaveValueBatchDocument = gql `
|
|
2659
3012
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2660
3013
|
saveValueBatch(
|
|
@@ -2761,6 +3114,10 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2761
3114
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2762
3115
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
2763
3116
|
}
|
|
3117
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3118
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3119
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3120
|
+
}
|
|
2764
3121
|
export const GetViewsListDocument = gql `
|
|
2765
3122
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2766
3123
|
views(library: $libraryId) {
|
|
@@ -2795,6 +3152,10 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2795
3152
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2796
3153
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
2797
3154
|
}
|
|
3155
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3156
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3157
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3158
|
+
}
|
|
2798
3159
|
export const SaveViewDocument = gql `
|
|
2799
3160
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
2800
3161
|
saveView(view: $view) {
|
|
@@ -2856,6 +3217,10 @@ export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
|
2856
3217
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2857
3218
|
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
2858
3219
|
}
|
|
3220
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3221
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3222
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3223
|
+
}
|
|
2859
3224
|
export const ExplorerAttributesDocument = gql `
|
|
2860
3225
|
query ExplorerAttributes($ids: [ID!]) {
|
|
2861
3226
|
attributes(filters: {ids: $ids}) {
|
|
@@ -2867,11 +3232,15 @@ export const ExplorerAttributesDocument = gql `
|
|
|
2867
3232
|
permissions {
|
|
2868
3233
|
access_attribute
|
|
2869
3234
|
}
|
|
3235
|
+
...StandardAttributeDetails
|
|
2870
3236
|
...LinkAttributeDetails
|
|
3237
|
+
...TreeAttributeDetails
|
|
2871
3238
|
}
|
|
2872
3239
|
}
|
|
2873
3240
|
}
|
|
2874
|
-
${
|
|
3241
|
+
${StandardAttributeDetailsFragmentDoc}
|
|
3242
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3243
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
2875
3244
|
/**
|
|
2876
3245
|
* __useExplorerAttributesQuery__
|
|
2877
3246
|
*
|
|
@@ -2896,6 +3265,10 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
2896
3265
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2897
3266
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
2898
3267
|
}
|
|
3268
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3269
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3270
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3271
|
+
}
|
|
2899
3272
|
export const ExplorerLinkAttributeDocument = gql `
|
|
2900
3273
|
query ExplorerLinkAttribute($id: ID!) {
|
|
2901
3274
|
attributes(filters: {ids: [$id]}) {
|
|
@@ -2907,10 +3280,12 @@ export const ExplorerLinkAttributeDocument = gql `
|
|
|
2907
3280
|
edit_value
|
|
2908
3281
|
}
|
|
2909
3282
|
...LinkAttributeDetails
|
|
3283
|
+
...TreeAttributeDetails
|
|
2910
3284
|
}
|
|
2911
3285
|
}
|
|
2912
3286
|
}
|
|
2913
|
-
${LinkAttributeDetailsFragmentDoc}
|
|
3287
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3288
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
2914
3289
|
/**
|
|
2915
3290
|
* __useExplorerLinkAttributeQuery__
|
|
2916
3291
|
*
|
|
@@ -2935,6 +3310,10 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
2935
3310
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2936
3311
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
2937
3312
|
}
|
|
3313
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3314
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3315
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3316
|
+
}
|
|
2938
3317
|
export const ExplorerLibraryDataDocument = gql `
|
|
2939
3318
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
2940
3319
|
records(
|
|
@@ -2947,7 +3326,9 @@ export const ExplorerLibraryDataDocument = gql `
|
|
|
2947
3326
|
totalCount
|
|
2948
3327
|
list {
|
|
2949
3328
|
...RecordIdentity
|
|
3329
|
+
active
|
|
2950
3330
|
permissions {
|
|
3331
|
+
create_record
|
|
2951
3332
|
delete_record
|
|
2952
3333
|
}
|
|
2953
3334
|
properties(attributeIds: $attributeIds) {
|
|
@@ -2994,11 +3375,16 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
2994
3375
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2995
3376
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
2996
3377
|
}
|
|
3378
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3379
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3380
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3381
|
+
}
|
|
2997
3382
|
export const ExplorerLinkDataDocument = gql `
|
|
2998
3383
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
2999
3384
|
records(
|
|
3000
3385
|
library: $parentLibraryId
|
|
3001
3386
|
filters: [{field: "id", condition: EQUAL, value: $parentRecordId}]
|
|
3387
|
+
retrieveInactive: true
|
|
3002
3388
|
) {
|
|
3003
3389
|
list {
|
|
3004
3390
|
id
|
|
@@ -3042,6 +3428,10 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
3042
3428
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3043
3429
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
3044
3430
|
}
|
|
3431
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3432
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3433
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3434
|
+
}
|
|
3045
3435
|
export const GetLibraryAttributesDocument = gql `
|
|
3046
3436
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3047
3437
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3078,6 +3468,10 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
3078
3468
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3079
3469
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
3080
3470
|
}
|
|
3471
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3472
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3473
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3474
|
+
}
|
|
3081
3475
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3082
3476
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3083
3477
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3113,6 +3507,10 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3113
3507
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3114
3508
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3115
3509
|
}
|
|
3510
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3511
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3512
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3513
|
+
}
|
|
3116
3514
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3117
3515
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3118
3516
|
records(library: $libraryId, filters: $filters) {
|
|
@@ -3147,6 +3545,10 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3147
3545
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3148
3546
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3149
3547
|
}
|
|
3548
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3549
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3550
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3551
|
+
}
|
|
3150
3552
|
export const MeDocument = gql `
|
|
3151
3553
|
query Me {
|
|
3152
3554
|
me {
|
|
@@ -3183,6 +3585,10 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3183
3585
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3184
3586
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3185
3587
|
}
|
|
3588
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3589
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3590
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3591
|
+
}
|
|
3186
3592
|
export const UpdateViewDocument = gql `
|
|
3187
3593
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3188
3594
|
updateView(view: $view) {
|
|
@@ -3245,4 +3651,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3245
3651
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3246
3652
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3247
3653
|
}
|
|
3654
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3655
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3656
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3657
|
+
}
|
|
3248
3658
|
//# sourceMappingURL=index.js.map
|