@leav/ui 0.4.0-c7f42b1 → 0.4.0-cda5d4c1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/__mocks__/common/form.d.ts +632 -0
- package/dist/__mocks__/common/form.js +27 -22
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +3352 -2244
- package/dist/_gqlTypes/index.js +463 -136
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/records/activateRecordsMutation.d.ts +1 -0
- package/dist/_queries/records/activateRecordsMutation.js +15 -0
- package/dist/_queries/records/activateRecordsMutation.js.map +1 -0
- package/dist/_queries/records/getRecordFormQuery.js +10 -5
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js +12 -2
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/_utils/attributeType.d.ts +2 -1
- package/dist/_utils/attributeType.js +2 -1
- package/dist/_utils/attributeType.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/_queries/prepareFiltersForRequest.d.ts +1 -1
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js +82 -31
- 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 +26 -5
- package/dist/components/Explorer/_types.js +1 -0
- 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/CommonFilterItem.js +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +26 -2
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +10 -7
- 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 +5 -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/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 +2 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +31 -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 +19 -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 +38 -12
- 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/FiltersPanel/Filter/Filter.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +72 -224
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +57 -33
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +15 -12
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +7 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +15 -2
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +47 -24
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +28 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.d.ts +13 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js +113 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +12 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +39 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +3 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +25 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +15 -37
- 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/useLinkRecords.js +79 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js.map +1 -1
- 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/_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.js +22 -4
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +23 -5
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +6 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +5 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/index.d.ts +2 -1
- package/dist/components/RecordEdition/index.js +2 -1
- 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 +60 -54
- 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/{LinkSelect → SelectTreeNodeModalOld}/index.js +1 -2
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.js +1 -2
- package/dist/components/index.js.map +1 -1
- package/dist/contexts/LangContext/LangContext.d.ts +1 -2
- package/dist/contexts/LangContext/LangContext.js +2 -2
- package/dist/contexts/LangContext/LangContext.js.map +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +2 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +3 -14
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +4 -2
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +15 -5
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +21 -0
- package/dist/hooks/useIFrameMessenger/schema.js +76 -0
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/types.d.ts +52 -10
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +11 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +66 -11
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +7 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +13 -0
- package/dist/{components/RecordEdition/EditRecord/creationErrorContext.js → hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js} +2 -3
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
- package/dist/locales/en/shared.json +4 -0
- package/dist/locales/fr/shared.json +4 -0
- package/dist/types/attributes.d.ts +2 -1
- package/package.json +22 -6
- package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +0 -1
- package/dist/components/LinkSelect/LinkSelect.d.ts +0 -12
- package/dist/components/LinkSelect/LinkSelect.js +0 -44
- package/dist/components/LinkSelect/LinkSelect.js.map +0 -1
- package/dist/components/LinkSelect/index.d.ts +0 -2
- package/dist/components/LinkSelect/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.d.ts +0 -6
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.js.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 -27
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +0 -124
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js +0 -15
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +0 -16
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +0 -35
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/index.d.ts +0 -1
- package/dist/components/SelectTreeNodeModal/index.js +0 -5
- package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -141,7 +141,6 @@ export var LogAction;
|
|
|
141
141
|
LogAction["PERMISSION_SAVE"] = "PERMISSION_SAVE";
|
|
142
142
|
LogAction["RECORD_DELETE"] = "RECORD_DELETE";
|
|
143
143
|
LogAction["RECORD_SAVE"] = "RECORD_SAVE";
|
|
144
|
-
LogAction["SDO_LOG_EXPORT_RECORD"] = "SDO_LOG_EXPORT_RECORD";
|
|
145
144
|
LogAction["TASKS_DELETE"] = "TASKS_DELETE";
|
|
146
145
|
LogAction["TREE_ADD_ELEMENT"] = "TREE_ADD_ELEMENT";
|
|
147
146
|
LogAction["TREE_DELETE"] = "TREE_DELETE";
|
|
@@ -191,6 +190,7 @@ export var PermissionsActions;
|
|
|
191
190
|
PermissionsActions["admin_access_applications"] = "admin_access_applications";
|
|
192
191
|
PermissionsActions["admin_access_attributes"] = "admin_access_attributes";
|
|
193
192
|
PermissionsActions["admin_access_libraries"] = "admin_access_libraries";
|
|
193
|
+
PermissionsActions["admin_access_logs"] = "admin_access_logs";
|
|
194
194
|
PermissionsActions["admin_access_permissions"] = "admin_access_permissions";
|
|
195
195
|
PermissionsActions["admin_access_tasks"] = "admin_access_tasks";
|
|
196
196
|
PermissionsActions["admin_access_trees"] = "admin_access_trees";
|
|
@@ -269,6 +269,13 @@ export var RecordFilterOperator;
|
|
|
269
269
|
RecordFilterOperator["OPEN_BRACKET"] = "OPEN_BRACKET";
|
|
270
270
|
RecordFilterOperator["OR"] = "OR";
|
|
271
271
|
})(RecordFilterOperator || (RecordFilterOperator = {}));
|
|
272
|
+
export var RecordPermissionsActions;
|
|
273
|
+
(function (RecordPermissionsActions) {
|
|
274
|
+
RecordPermissionsActions["access_record"] = "access_record";
|
|
275
|
+
RecordPermissionsActions["create_record"] = "create_record";
|
|
276
|
+
RecordPermissionsActions["delete_record"] = "delete_record";
|
|
277
|
+
RecordPermissionsActions["edit_record"] = "edit_record";
|
|
278
|
+
})(RecordPermissionsActions || (RecordPermissionsActions = {}));
|
|
272
279
|
export var SortOrder;
|
|
273
280
|
(function (SortOrder) {
|
|
274
281
|
SortOrder["asc"] = "asc";
|
|
@@ -458,6 +465,101 @@ export const AttributesByLibAttributeFragmentDoc = gql `
|
|
|
458
465
|
}
|
|
459
466
|
}
|
|
460
467
|
${AttributesByLibLinkAttributeFragmentDoc}`;
|
|
468
|
+
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
469
|
+
fragment ValuesVersionDetails on ValueVersion {
|
|
470
|
+
treeId
|
|
471
|
+
treeNode {
|
|
472
|
+
id
|
|
473
|
+
record {
|
|
474
|
+
id
|
|
475
|
+
whoAmI {
|
|
476
|
+
id
|
|
477
|
+
label
|
|
478
|
+
library {
|
|
479
|
+
id
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
`;
|
|
486
|
+
export const ValueDetailsFragmentDoc = gql `
|
|
487
|
+
fragment ValueDetails on GenericValue {
|
|
488
|
+
id_value
|
|
489
|
+
isInherited
|
|
490
|
+
isCalculated
|
|
491
|
+
modified_at
|
|
492
|
+
modified_by {
|
|
493
|
+
...RecordIdentity
|
|
494
|
+
}
|
|
495
|
+
created_at
|
|
496
|
+
created_by {
|
|
497
|
+
...RecordIdentity
|
|
498
|
+
}
|
|
499
|
+
version {
|
|
500
|
+
...ValuesVersionDetails
|
|
501
|
+
}
|
|
502
|
+
attribute {
|
|
503
|
+
id
|
|
504
|
+
format
|
|
505
|
+
type
|
|
506
|
+
system
|
|
507
|
+
}
|
|
508
|
+
metadata {
|
|
509
|
+
name
|
|
510
|
+
value {
|
|
511
|
+
id_value
|
|
512
|
+
modified_at
|
|
513
|
+
modified_by {
|
|
514
|
+
...RecordIdentity
|
|
515
|
+
}
|
|
516
|
+
created_at
|
|
517
|
+
created_by {
|
|
518
|
+
...RecordIdentity
|
|
519
|
+
}
|
|
520
|
+
version {
|
|
521
|
+
...ValuesVersionDetails
|
|
522
|
+
}
|
|
523
|
+
payload
|
|
524
|
+
raw_payload
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
... on Value {
|
|
528
|
+
payload
|
|
529
|
+
raw_payload
|
|
530
|
+
value
|
|
531
|
+
raw_value
|
|
532
|
+
}
|
|
533
|
+
... on LinkValue {
|
|
534
|
+
linkValue: payload {
|
|
535
|
+
...RecordIdentity
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
... on TreeValue {
|
|
539
|
+
treeValue: payload {
|
|
540
|
+
id
|
|
541
|
+
record {
|
|
542
|
+
...RecordIdentity
|
|
543
|
+
}
|
|
544
|
+
ancestors {
|
|
545
|
+
record {
|
|
546
|
+
...RecordIdentity
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
${RecordIdentityFragmentDoc}
|
|
553
|
+
${ValuesVersionDetailsFragmentDoc}`;
|
|
554
|
+
export const RecordFormElementValuesFragmentDoc = gql `
|
|
555
|
+
fragment RecordFormElementValues on FormElementValues {
|
|
556
|
+
id
|
|
557
|
+
valueError
|
|
558
|
+
values {
|
|
559
|
+
...ValueDetails
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
${ValueDetailsFragmentDoc}`;
|
|
461
563
|
export const LibraryLightFragmentDoc = gql `
|
|
462
564
|
fragment LibraryLight on Library {
|
|
463
565
|
id
|
|
@@ -558,92 +660,6 @@ export const LibraryDetailsFragmentDoc = gql `
|
|
|
558
660
|
${LibraryAttributesFragmentDoc}
|
|
559
661
|
${RecordIdentityFragmentDoc}
|
|
560
662
|
${LibraryPreviewsSettingsFragmentDoc}`;
|
|
561
|
-
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
562
|
-
fragment ValuesVersionDetails on ValueVersion {
|
|
563
|
-
treeId
|
|
564
|
-
treeNode {
|
|
565
|
-
id
|
|
566
|
-
record {
|
|
567
|
-
id
|
|
568
|
-
whoAmI {
|
|
569
|
-
id
|
|
570
|
-
label
|
|
571
|
-
library {
|
|
572
|
-
id
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
`;
|
|
579
|
-
export const ValueDetailsFragmentDoc = gql `
|
|
580
|
-
fragment ValueDetails on GenericValue {
|
|
581
|
-
id_value
|
|
582
|
-
isInherited
|
|
583
|
-
isCalculated
|
|
584
|
-
modified_at
|
|
585
|
-
modified_by {
|
|
586
|
-
...RecordIdentity
|
|
587
|
-
}
|
|
588
|
-
created_at
|
|
589
|
-
created_by {
|
|
590
|
-
...RecordIdentity
|
|
591
|
-
}
|
|
592
|
-
version {
|
|
593
|
-
...ValuesVersionDetails
|
|
594
|
-
}
|
|
595
|
-
attribute {
|
|
596
|
-
id
|
|
597
|
-
format
|
|
598
|
-
type
|
|
599
|
-
system
|
|
600
|
-
}
|
|
601
|
-
metadata {
|
|
602
|
-
name
|
|
603
|
-
value {
|
|
604
|
-
id_value
|
|
605
|
-
modified_at
|
|
606
|
-
modified_by {
|
|
607
|
-
...RecordIdentity
|
|
608
|
-
}
|
|
609
|
-
created_at
|
|
610
|
-
created_by {
|
|
611
|
-
...RecordIdentity
|
|
612
|
-
}
|
|
613
|
-
version {
|
|
614
|
-
...ValuesVersionDetails
|
|
615
|
-
}
|
|
616
|
-
payload
|
|
617
|
-
raw_payload
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
... on Value {
|
|
621
|
-
payload
|
|
622
|
-
raw_payload
|
|
623
|
-
value
|
|
624
|
-
raw_value
|
|
625
|
-
}
|
|
626
|
-
... on LinkValue {
|
|
627
|
-
linkValue: payload {
|
|
628
|
-
...RecordIdentity
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
... on TreeValue {
|
|
632
|
-
treeValue: payload {
|
|
633
|
-
id
|
|
634
|
-
record {
|
|
635
|
-
...RecordIdentity
|
|
636
|
-
}
|
|
637
|
-
ancestors {
|
|
638
|
-
record {
|
|
639
|
-
...RecordIdentity
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
${RecordIdentityFragmentDoc}
|
|
646
|
-
${ValuesVersionDetailsFragmentDoc}`;
|
|
647
663
|
export const StandardValuesListFragmentFragmentDoc = gql `
|
|
648
664
|
fragment StandardValuesListFragment on StandardValuesListConf {
|
|
649
665
|
... on StandardStringValuesListConf {
|
|
@@ -758,16 +774,19 @@ export const RecordFormAttributeFragmentDoc = gql `
|
|
|
758
774
|
}
|
|
759
775
|
${StandardValuesListFragmentFragmentDoc}
|
|
760
776
|
${RecordIdentityFragmentDoc}`;
|
|
777
|
+
export const JoinLibraryContextFragmentDoc = gql `
|
|
778
|
+
fragment JoinLibraryContext on FormElementJoinLibraryContext {
|
|
779
|
+
mandatoryAttribute {
|
|
780
|
+
...RecordFormAttribute
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
${RecordFormAttributeFragmentDoc}`;
|
|
761
784
|
export const RecordFormElementFragmentDoc = gql `
|
|
762
|
-
fragment RecordFormElement on
|
|
785
|
+
fragment RecordFormElement on FormElement {
|
|
763
786
|
id
|
|
764
787
|
containerId
|
|
765
788
|
uiElementType
|
|
766
789
|
type
|
|
767
|
-
valueError
|
|
768
|
-
values {
|
|
769
|
-
...ValueDetails
|
|
770
|
-
}
|
|
771
790
|
attribute {
|
|
772
791
|
...RecordFormAttribute
|
|
773
792
|
}
|
|
@@ -775,9 +794,12 @@ export const RecordFormElementFragmentDoc = gql `
|
|
|
775
794
|
key
|
|
776
795
|
value
|
|
777
796
|
}
|
|
797
|
+
joinLibraryContext {
|
|
798
|
+
...JoinLibraryContext
|
|
799
|
+
}
|
|
778
800
|
}
|
|
779
|
-
${
|
|
780
|
-
${
|
|
801
|
+
${RecordFormAttributeFragmentDoc}
|
|
802
|
+
${JoinLibraryContextFragmentDoc}`;
|
|
781
803
|
export const TreeLightFragmentDoc = gql `
|
|
782
804
|
fragment TreeLight on Tree {
|
|
783
805
|
id
|
|
@@ -937,6 +959,29 @@ export const LinkAttributeDetailsFragmentDoc = gql `
|
|
|
937
959
|
id
|
|
938
960
|
label
|
|
939
961
|
}
|
|
962
|
+
values_list {
|
|
963
|
+
allowFreeEntry
|
|
964
|
+
enable
|
|
965
|
+
values {
|
|
966
|
+
id
|
|
967
|
+
whoAmI {
|
|
968
|
+
id
|
|
969
|
+
library {
|
|
970
|
+
id
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
`;
|
|
977
|
+
export const TreeAttributeDetailsFragmentDoc = gql `
|
|
978
|
+
fragment TreeAttributeDetails on TreeAttribute {
|
|
979
|
+
id
|
|
980
|
+
label
|
|
981
|
+
linked_tree {
|
|
982
|
+
id
|
|
983
|
+
label
|
|
984
|
+
}
|
|
940
985
|
}
|
|
941
986
|
`;
|
|
942
987
|
export const AttributePropertiesFragmentDoc = gql `
|
|
@@ -1050,6 +1095,10 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
1050
1095
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1051
1096
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
1052
1097
|
}
|
|
1098
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1099
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1100
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1101
|
+
}
|
|
1053
1102
|
export const GetApplicationByIdDocument = gql `
|
|
1054
1103
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1055
1104
|
applications(filters: {id: $id}) {
|
|
@@ -1083,6 +1132,10 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1083
1132
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1084
1133
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1085
1134
|
}
|
|
1135
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1136
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1137
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1138
|
+
}
|
|
1086
1139
|
export const GetApplicationModulesDocument = gql `
|
|
1087
1140
|
query GET_APPLICATION_MODULES {
|
|
1088
1141
|
applicationsModules {
|
|
@@ -1115,6 +1168,10 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1115
1168
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1116
1169
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1117
1170
|
}
|
|
1171
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1172
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1173
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1174
|
+
}
|
|
1118
1175
|
export const SaveApplicationDocument = gql `
|
|
1119
1176
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1120
1177
|
saveApplication(application: $application) {
|
|
@@ -1174,6 +1231,10 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1174
1231
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1175
1232
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1176
1233
|
}
|
|
1234
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1235
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1236
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1237
|
+
}
|
|
1177
1238
|
export const DeleteAttributeDocument = gql `
|
|
1178
1239
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1179
1240
|
deleteAttribute(id: $id) {
|
|
@@ -1235,6 +1296,10 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1235
1296
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1236
1297
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1237
1298
|
}
|
|
1299
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1300
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1301
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1302
|
+
}
|
|
1238
1303
|
export const GetAttributesByLibDocument = gql `
|
|
1239
1304
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1240
1305
|
attributes(filters: {libraries: [$library]}) {
|
|
@@ -1268,6 +1333,10 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1268
1333
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1269
1334
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1270
1335
|
}
|
|
1336
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1337
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1338
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1339
|
+
}
|
|
1271
1340
|
export const GetAttributesDocument = gql `
|
|
1272
1341
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1273
1342
|
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
@@ -1308,6 +1377,10 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1308
1377
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1309
1378
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1310
1379
|
}
|
|
1380
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1381
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1382
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1383
|
+
}
|
|
1311
1384
|
export const GetVersionProfilesDocument = gql `
|
|
1312
1385
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1313
1386
|
versionProfiles(filters: $filters, sort: $sort) {
|
|
@@ -1343,6 +1416,10 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1343
1416
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1344
1417
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1345
1418
|
}
|
|
1419
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1420
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1421
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1422
|
+
}
|
|
1346
1423
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1347
1424
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1348
1425
|
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
@@ -1386,6 +1463,10 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1386
1463
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1387
1464
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1388
1465
|
}
|
|
1466
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1467
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1468
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1469
|
+
}
|
|
1389
1470
|
export const SaveAttributeDocument = gql `
|
|
1390
1471
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1391
1472
|
saveAttribute(attribute: $attribute) {
|
|
@@ -1445,6 +1526,10 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1445
1526
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1446
1527
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1447
1528
|
}
|
|
1529
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1530
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1531
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1532
|
+
}
|
|
1448
1533
|
export const CreateDirectoryDocument = gql `
|
|
1449
1534
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1450
1535
|
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
@@ -1585,6 +1670,10 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1585
1670
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1586
1671
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1587
1672
|
}
|
|
1673
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1674
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1675
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1676
|
+
}
|
|
1588
1677
|
export const UploadUpdateDocument = gql `
|
|
1589
1678
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1590
1679
|
upload(filters: $filters) {
|
|
@@ -1656,6 +1745,51 @@ export function useUploadMutation(baseOptions) {
|
|
|
1656
1745
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1657
1746
|
return Apollo.useMutation(UploadDocument, options);
|
|
1658
1747
|
}
|
|
1748
|
+
export const GetRecordFormElementsValuesDocument = gql `
|
|
1749
|
+
query GET_RECORD_FORM_ELEMENTS_VALUES($recordId: String, $libraryId: String!, $formId: String!, $version: [ValueVersionInput!], $elementIds: [ID!]) {
|
|
1750
|
+
getRecordFormElementsValues(
|
|
1751
|
+
recordId: $recordId
|
|
1752
|
+
libraryId: $libraryId
|
|
1753
|
+
formId: $formId
|
|
1754
|
+
version: $version
|
|
1755
|
+
elementIds: $elementIds
|
|
1756
|
+
) {
|
|
1757
|
+
...RecordFormElementValues
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
${RecordFormElementValuesFragmentDoc}`;
|
|
1761
|
+
/**
|
|
1762
|
+
* __useGetRecordFormElementsValuesQuery__
|
|
1763
|
+
*
|
|
1764
|
+
* To run a query within a React component, call `useGetRecordFormElementsValuesQuery` and pass it any options that fit your needs.
|
|
1765
|
+
* When your component renders, `useGetRecordFormElementsValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1766
|
+
* you can use to render your UI.
|
|
1767
|
+
*
|
|
1768
|
+
* @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;
|
|
1769
|
+
*
|
|
1770
|
+
* @example
|
|
1771
|
+
* const { data, loading, error } = useGetRecordFormElementsValuesQuery({
|
|
1772
|
+
* variables: {
|
|
1773
|
+
* recordId: // value for 'recordId'
|
|
1774
|
+
* libraryId: // value for 'libraryId'
|
|
1775
|
+
* formId: // value for 'formId'
|
|
1776
|
+
* version: // value for 'version'
|
|
1777
|
+
* elementIds: // value for 'elementIds'
|
|
1778
|
+
* },
|
|
1779
|
+
* });
|
|
1780
|
+
*/
|
|
1781
|
+
export function useGetRecordFormElementsValuesQuery(baseOptions) {
|
|
1782
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1783
|
+
return Apollo.useQuery(GetRecordFormElementsValuesDocument, options);
|
|
1784
|
+
}
|
|
1785
|
+
export function useGetRecordFormElementsValuesLazyQuery(baseOptions) {
|
|
1786
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1787
|
+
return Apollo.useLazyQuery(GetRecordFormElementsValuesDocument, options);
|
|
1788
|
+
}
|
|
1789
|
+
export function useGetRecordFormElementsValuesSuspenseQuery(baseOptions) {
|
|
1790
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1791
|
+
return Apollo.useSuspenseQuery(GetRecordFormElementsValuesDocument, options);
|
|
1792
|
+
}
|
|
1659
1793
|
export const ImportExcelDocument = gql `
|
|
1660
1794
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1661
1795
|
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
@@ -1715,6 +1849,10 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1715
1849
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1716
1850
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1717
1851
|
}
|
|
1852
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1853
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1854
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1855
|
+
}
|
|
1718
1856
|
export const DeleteLibraryDocument = gql `
|
|
1719
1857
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1720
1858
|
deleteLibrary(id: $id) {
|
|
@@ -1775,6 +1913,10 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1775
1913
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1776
1914
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1777
1915
|
}
|
|
1916
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1917
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1918
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1919
|
+
}
|
|
1778
1920
|
export const GetLibraryByIdDocument = gql `
|
|
1779
1921
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1780
1922
|
libraries(filters: {id: $id}) {
|
|
@@ -1808,6 +1950,10 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1808
1950
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1809
1951
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1810
1952
|
}
|
|
1953
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
1954
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1955
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
1956
|
+
}
|
|
1811
1957
|
export const GetLibraryPermissionsDocument = gql `
|
|
1812
1958
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1813
1959
|
libraries(filters: {id: $libraryId}) {
|
|
@@ -1847,6 +1993,10 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1847
1993
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1848
1994
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
1849
1995
|
}
|
|
1996
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
1997
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1998
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
1999
|
+
}
|
|
1850
2000
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1851
2001
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1852
2002
|
libraries(filters: {id: [$id]}) {
|
|
@@ -1895,6 +2045,10 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1895
2045
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1896
2046
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
1897
2047
|
}
|
|
2048
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2049
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2050
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2051
|
+
}
|
|
1898
2052
|
export const SaveLibraryDocument = gql `
|
|
1899
2053
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1900
2054
|
saveLibrary(library: $library) {
|
|
@@ -1958,6 +2112,81 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1958
2112
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1959
2113
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
1960
2114
|
}
|
|
2115
|
+
export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
2116
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2117
|
+
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2118
|
+
}
|
|
2119
|
+
export const ActivateRecordsDocument = gql `
|
|
2120
|
+
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2121
|
+
activateRecords(
|
|
2122
|
+
recordsIds: $recordsIds
|
|
2123
|
+
filters: $filters
|
|
2124
|
+
libraryId: $libraryId
|
|
2125
|
+
) {
|
|
2126
|
+
id
|
|
2127
|
+
...RecordIdentity
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
${RecordIdentityFragmentDoc}`;
|
|
2131
|
+
/**
|
|
2132
|
+
* __useActivateRecordsMutation__
|
|
2133
|
+
*
|
|
2134
|
+
* To run a mutation, you first call `useActivateRecordsMutation` within a React component and pass it any options that fit your needs.
|
|
2135
|
+
* When your component renders, `useActivateRecordsMutation` returns a tuple that includes:
|
|
2136
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2137
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2138
|
+
*
|
|
2139
|
+
* @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;
|
|
2140
|
+
*
|
|
2141
|
+
* @example
|
|
2142
|
+
* const [activateRecordsMutation, { data, loading, error }] = useActivateRecordsMutation({
|
|
2143
|
+
* variables: {
|
|
2144
|
+
* libraryId: // value for 'libraryId'
|
|
2145
|
+
* recordsIds: // value for 'recordsIds'
|
|
2146
|
+
* filters: // value for 'filters'
|
|
2147
|
+
* },
|
|
2148
|
+
* });
|
|
2149
|
+
*/
|
|
2150
|
+
export function useActivateRecordsMutation(baseOptions) {
|
|
2151
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2152
|
+
return Apollo.useMutation(ActivateRecordsDocument, options);
|
|
2153
|
+
}
|
|
2154
|
+
export const CreateEmptyRecordDocument = gql `
|
|
2155
|
+
mutation createEmptyRecord($library: ID!) {
|
|
2156
|
+
createEmptyRecord(library: $library) {
|
|
2157
|
+
record {
|
|
2158
|
+
...RecordIdentity
|
|
2159
|
+
}
|
|
2160
|
+
valuesErrors {
|
|
2161
|
+
type
|
|
2162
|
+
attribute
|
|
2163
|
+
input
|
|
2164
|
+
message
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
${RecordIdentityFragmentDoc}`;
|
|
2169
|
+
/**
|
|
2170
|
+
* __useCreateEmptyRecordMutation__
|
|
2171
|
+
*
|
|
2172
|
+
* To run a mutation, you first call `useCreateEmptyRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2173
|
+
* When your component renders, `useCreateEmptyRecordMutation` returns a tuple that includes:
|
|
2174
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2175
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2176
|
+
*
|
|
2177
|
+
* @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;
|
|
2178
|
+
*
|
|
2179
|
+
* @example
|
|
2180
|
+
* const [createEmptyRecordMutation, { data, loading, error }] = useCreateEmptyRecordMutation({
|
|
2181
|
+
* variables: {
|
|
2182
|
+
* library: // value for 'library'
|
|
2183
|
+
* },
|
|
2184
|
+
* });
|
|
2185
|
+
*/
|
|
2186
|
+
export function useCreateEmptyRecordMutation(baseOptions) {
|
|
2187
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2188
|
+
return Apollo.useMutation(CreateEmptyRecordDocument, options);
|
|
2189
|
+
}
|
|
1961
2190
|
export const CreateRecordDocument = gql `
|
|
1962
2191
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
1963
2192
|
createRecord(library: $library, data: $data) {
|
|
@@ -2065,6 +2294,10 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2065
2294
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2066
2295
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2067
2296
|
}
|
|
2297
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2298
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2299
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2300
|
+
}
|
|
2068
2301
|
export const GetFileDataDocument = gql `
|
|
2069
2302
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2070
2303
|
records(
|
|
@@ -2145,6 +2378,10 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2145
2378
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2146
2379
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2147
2380
|
}
|
|
2381
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2382
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2383
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2384
|
+
}
|
|
2148
2385
|
export const RecordFormDocument = gql `
|
|
2149
2386
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2150
2387
|
recordForm(
|
|
@@ -2198,6 +2435,10 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2198
2435
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2199
2436
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2200
2437
|
}
|
|
2438
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2439
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2440
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2441
|
+
}
|
|
2201
2442
|
export const RecordUpdateDocument = gql `
|
|
2202
2443
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2203
2444
|
recordUpdate(filters: $filters) {
|
|
@@ -2241,6 +2482,46 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2241
2482
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2242
2483
|
return Apollo.useSubscription(RecordUpdateDocument, options);
|
|
2243
2484
|
}
|
|
2485
|
+
export const GetRecordsFromLibraryDocument = gql `
|
|
2486
|
+
query getRecordsFromLibrary($libraryId: ID!, $pagination: RecordsPagination, $filters: [RecordFilterInput]) {
|
|
2487
|
+
records(library: $libraryId, filters: $filters, pagination: $pagination) {
|
|
2488
|
+
totalCount
|
|
2489
|
+
list {
|
|
2490
|
+
...RecordIdentity
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
${RecordIdentityFragmentDoc}`;
|
|
2495
|
+
/**
|
|
2496
|
+
* __useGetRecordsFromLibraryQuery__
|
|
2497
|
+
*
|
|
2498
|
+
* To run a query within a React component, call `useGetRecordsFromLibraryQuery` and pass it any options that fit your needs.
|
|
2499
|
+
* When your component renders, `useGetRecordsFromLibraryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2500
|
+
* you can use to render your UI.
|
|
2501
|
+
*
|
|
2502
|
+
* @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;
|
|
2503
|
+
*
|
|
2504
|
+
* @example
|
|
2505
|
+
* const { data, loading, error } = useGetRecordsFromLibraryQuery({
|
|
2506
|
+
* variables: {
|
|
2507
|
+
* libraryId: // value for 'libraryId'
|
|
2508
|
+
* pagination: // value for 'pagination'
|
|
2509
|
+
* filters: // value for 'filters'
|
|
2510
|
+
* },
|
|
2511
|
+
* });
|
|
2512
|
+
*/
|
|
2513
|
+
export function useGetRecordsFromLibraryQuery(baseOptions) {
|
|
2514
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2515
|
+
return Apollo.useQuery(GetRecordsFromLibraryDocument, options);
|
|
2516
|
+
}
|
|
2517
|
+
export function useGetRecordsFromLibraryLazyQuery(baseOptions) {
|
|
2518
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2519
|
+
return Apollo.useLazyQuery(GetRecordsFromLibraryDocument, options);
|
|
2520
|
+
}
|
|
2521
|
+
export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
2522
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2523
|
+
return Apollo.useSuspenseQuery(GetRecordsFromLibraryDocument, options);
|
|
2524
|
+
}
|
|
2244
2525
|
export const IndexRecordsDocument = gql `
|
|
2245
2526
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2246
2527
|
indexRecords(libraryId: $libraryId, records: $records)
|
|
@@ -2325,6 +2606,10 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2325
2606
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2326
2607
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2327
2608
|
}
|
|
2609
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2610
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2611
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2612
|
+
}
|
|
2328
2613
|
export const DeleteTreeDocument = gql `
|
|
2329
2614
|
mutation DELETE_TREE($id: ID!) {
|
|
2330
2615
|
deleteTree(id: $id) {
|
|
@@ -2386,6 +2671,10 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2386
2671
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2387
2672
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2388
2673
|
}
|
|
2674
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2675
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2676
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2677
|
+
}
|
|
2389
2678
|
export const GetTreeLibrariesDocument = gql `
|
|
2390
2679
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2391
2680
|
trees(filters: {id: $treeId, library: $library}) {
|
|
@@ -2436,6 +2725,10 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2436
2725
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2437
2726
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2438
2727
|
}
|
|
2728
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2729
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2730
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2731
|
+
}
|
|
2439
2732
|
export const GetTreesDocument = gql `
|
|
2440
2733
|
query GET_TREES {
|
|
2441
2734
|
trees {
|
|
@@ -2468,6 +2761,10 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2468
2761
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2469
2762
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2470
2763
|
}
|
|
2764
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2765
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2766
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2767
|
+
}
|
|
2471
2768
|
export const SaveTreeDocument = gql `
|
|
2472
2769
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2473
2770
|
saveTree(tree: $tree) {
|
|
@@ -2497,8 +2794,13 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2497
2794
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2498
2795
|
}
|
|
2499
2796
|
export const TreeNodeChildrenDocument = gql `
|
|
2500
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2501
|
-
treeNodeChildren(
|
|
2797
|
+
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2798
|
+
treeNodeChildren(
|
|
2799
|
+
treeId: $treeId
|
|
2800
|
+
node: $node
|
|
2801
|
+
pagination: $pagination
|
|
2802
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2803
|
+
) {
|
|
2502
2804
|
totalCount
|
|
2503
2805
|
list {
|
|
2504
2806
|
...TreeNodeChild
|
|
@@ -2521,6 +2823,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2521
2823
|
* treeId: // value for 'treeId'
|
|
2522
2824
|
* node: // value for 'node'
|
|
2523
2825
|
* pagination: // value for 'pagination'
|
|
2826
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2524
2827
|
* },
|
|
2525
2828
|
* });
|
|
2526
2829
|
*/
|
|
@@ -2532,6 +2835,10 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2532
2835
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2533
2836
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2534
2837
|
}
|
|
2838
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2839
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2840
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2841
|
+
}
|
|
2535
2842
|
export const GetUserDataDocument = gql `
|
|
2536
2843
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2537
2844
|
userData(keys: $keys, global: $global) {
|
|
@@ -2565,6 +2872,10 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2565
2872
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2566
2873
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2567
2874
|
}
|
|
2875
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
2876
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2877
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
2878
|
+
}
|
|
2568
2879
|
export const SaveUserDataDocument = gql `
|
|
2569
2880
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2570
2881
|
saveUserData(key: $key, value: $value, global: $global) {
|
|
@@ -2632,43 +2943,6 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2632
2943
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2633
2944
|
return Apollo.useMutation(DeleteValueDocument, options);
|
|
2634
2945
|
}
|
|
2635
|
-
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2636
|
-
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2637
|
-
runActionsListAndFormatOnValue(
|
|
2638
|
-
library: $library
|
|
2639
|
-
value: $value
|
|
2640
|
-
version: $version
|
|
2641
|
-
) {
|
|
2642
|
-
...ValueDetails
|
|
2643
|
-
}
|
|
2644
|
-
}
|
|
2645
|
-
${ValueDetailsFragmentDoc}`;
|
|
2646
|
-
/**
|
|
2647
|
-
* __useRunActionsListAndFormatOnValueQuery__
|
|
2648
|
-
*
|
|
2649
|
-
* To run a query within a React component, call `useRunActionsListAndFormatOnValueQuery` and pass it any options that fit your needs.
|
|
2650
|
-
* When your component renders, `useRunActionsListAndFormatOnValueQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2651
|
-
* you can use to render your UI.
|
|
2652
|
-
*
|
|
2653
|
-
* @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;
|
|
2654
|
-
*
|
|
2655
|
-
* @example
|
|
2656
|
-
* const { data, loading, error } = useRunActionsListAndFormatOnValueQuery({
|
|
2657
|
-
* variables: {
|
|
2658
|
-
* library: // value for 'library'
|
|
2659
|
-
* value: // value for 'value'
|
|
2660
|
-
* version: // value for 'version'
|
|
2661
|
-
* },
|
|
2662
|
-
* });
|
|
2663
|
-
*/
|
|
2664
|
-
export function useRunActionsListAndFormatOnValueQuery(baseOptions) {
|
|
2665
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2666
|
-
return Apollo.useQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2667
|
-
}
|
|
2668
|
-
export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
2669
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2670
|
-
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2671
|
-
}
|
|
2672
2946
|
export const SaveValueBatchDocument = gql `
|
|
2673
2947
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2674
2948
|
saveValueBatch(
|
|
@@ -2775,6 +3049,10 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2775
3049
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2776
3050
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
2777
3051
|
}
|
|
3052
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3053
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3054
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3055
|
+
}
|
|
2778
3056
|
export const GetViewsListDocument = gql `
|
|
2779
3057
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2780
3058
|
views(library: $libraryId) {
|
|
@@ -2809,6 +3087,10 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2809
3087
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2810
3088
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
2811
3089
|
}
|
|
3090
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3091
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3092
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3093
|
+
}
|
|
2812
3094
|
export const SaveViewDocument = gql `
|
|
2813
3095
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
2814
3096
|
saveView(view: $view) {
|
|
@@ -2870,6 +3152,10 @@ export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
|
2870
3152
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2871
3153
|
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
2872
3154
|
}
|
|
3155
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3156
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3157
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3158
|
+
}
|
|
2873
3159
|
export const ExplorerAttributesDocument = gql `
|
|
2874
3160
|
query ExplorerAttributes($ids: [ID!]) {
|
|
2875
3161
|
attributes(filters: {ids: $ids}) {
|
|
@@ -2882,10 +3168,12 @@ export const ExplorerAttributesDocument = gql `
|
|
|
2882
3168
|
access_attribute
|
|
2883
3169
|
}
|
|
2884
3170
|
...LinkAttributeDetails
|
|
3171
|
+
...TreeAttributeDetails
|
|
2885
3172
|
}
|
|
2886
3173
|
}
|
|
2887
3174
|
}
|
|
2888
|
-
${LinkAttributeDetailsFragmentDoc}
|
|
3175
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3176
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
2889
3177
|
/**
|
|
2890
3178
|
* __useExplorerAttributesQuery__
|
|
2891
3179
|
*
|
|
@@ -2910,22 +3198,27 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
2910
3198
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2911
3199
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
2912
3200
|
}
|
|
3201
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3202
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3203
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3204
|
+
}
|
|
2913
3205
|
export const ExplorerLinkAttributeDocument = gql `
|
|
2914
3206
|
query ExplorerLinkAttribute($id: ID!) {
|
|
2915
3207
|
attributes(filters: {ids: [$id]}) {
|
|
2916
3208
|
list {
|
|
2917
3209
|
id
|
|
2918
3210
|
multiple_values
|
|
2919
|
-
multi_link_display_option
|
|
2920
3211
|
permissions {
|
|
2921
3212
|
access_attribute
|
|
2922
3213
|
edit_value
|
|
2923
3214
|
}
|
|
2924
3215
|
...LinkAttributeDetails
|
|
3216
|
+
...TreeAttributeDetails
|
|
2925
3217
|
}
|
|
2926
3218
|
}
|
|
2927
3219
|
}
|
|
2928
|
-
${LinkAttributeDetailsFragmentDoc}
|
|
3220
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3221
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
2929
3222
|
/**
|
|
2930
3223
|
* __useExplorerLinkAttributeQuery__
|
|
2931
3224
|
*
|
|
@@ -2950,6 +3243,10 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
2950
3243
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2951
3244
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
2952
3245
|
}
|
|
3246
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3247
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3248
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3249
|
+
}
|
|
2953
3250
|
export const ExplorerLibraryDataDocument = gql `
|
|
2954
3251
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
2955
3252
|
records(
|
|
@@ -2962,7 +3259,9 @@ export const ExplorerLibraryDataDocument = gql `
|
|
|
2962
3259
|
totalCount
|
|
2963
3260
|
list {
|
|
2964
3261
|
...RecordIdentity
|
|
3262
|
+
active
|
|
2965
3263
|
permissions {
|
|
3264
|
+
create_record
|
|
2966
3265
|
delete_record
|
|
2967
3266
|
}
|
|
2968
3267
|
properties(attributeIds: $attributeIds) {
|
|
@@ -3009,6 +3308,10 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
3009
3308
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3010
3309
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
3011
3310
|
}
|
|
3311
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3312
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3313
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3314
|
+
}
|
|
3012
3315
|
export const ExplorerLinkDataDocument = gql `
|
|
3013
3316
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
3014
3317
|
records(
|
|
@@ -3057,6 +3360,10 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
3057
3360
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3058
3361
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
3059
3362
|
}
|
|
3363
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3364
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3365
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3366
|
+
}
|
|
3060
3367
|
export const GetLibraryAttributesDocument = gql `
|
|
3061
3368
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3062
3369
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3093,6 +3400,10 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
3093
3400
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3094
3401
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
3095
3402
|
}
|
|
3403
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3404
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3405
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3406
|
+
}
|
|
3096
3407
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3097
3408
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3098
3409
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3128,6 +3439,10 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3128
3439
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3129
3440
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3130
3441
|
}
|
|
3442
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3443
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3444
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3445
|
+
}
|
|
3131
3446
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3132
3447
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3133
3448
|
records(library: $libraryId, filters: $filters) {
|
|
@@ -3162,6 +3477,10 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3162
3477
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3163
3478
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3164
3479
|
}
|
|
3480
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3481
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3482
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3483
|
+
}
|
|
3165
3484
|
export const MeDocument = gql `
|
|
3166
3485
|
query Me {
|
|
3167
3486
|
me {
|
|
@@ -3198,6 +3517,10 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3198
3517
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3199
3518
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3200
3519
|
}
|
|
3520
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3521
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3522
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3523
|
+
}
|
|
3201
3524
|
export const UpdateViewDocument = gql `
|
|
3202
3525
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3203
3526
|
updateView(view: $view) {
|
|
@@ -3260,4 +3583,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3260
3583
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3261
3584
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3262
3585
|
}
|
|
3586
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3587
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3588
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3589
|
+
}
|
|
3263
3590
|
//# sourceMappingURL=index.js.map
|