@leav/ui 0.4.0-68fec6f → 0.4.0-698ea537
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/__mocks__/common/value.d.ts +1 -2
- package/dist/__mocks__/common/value.js +0 -11
- package/dist/__mocks__/common/value.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +1449 -172
- package/dist/_gqlTypes/index.js +424 -42
- 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 +4 -4
- 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/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.d.ts +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +4 -3
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
- package/dist/components/Explorer/DataView.d.ts +2 -1
- package/dist/components/Explorer/DataView.js +32 -12
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +10 -6
- package/dist/components/Explorer/Explorer.js +36 -13
- 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/IdCard.js +1 -1
- package/dist/components/Explorer/IdCard.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/TableTagGroup.d.ts +0 -1
- package/dist/components/Explorer/TableTagGroup.js +3 -16
- package/dist/components/Explorer/TableTagGroup.js.map +1 -1
- package/dist/components/Explorer/_constants.d.ts +3 -0
- package/dist/components/Explorer/_constants.js +3 -0
- package/dist/components/Explorer/_constants.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.d.ts +1 -0
- package/dist/components/Explorer/_queries/useExplorerData.js +45 -30
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +43 -6
- package/dist/components/Explorer/_types.js +1 -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 +4 -2
- package/dist/components/Explorer/actions-item/useEditItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/{useRemoveItemAction.d.ts → useEditStatusItemAction.d.ts} +4 -2
- package/dist/components/Explorer/actions-item/{useRemoveItemAction.js → useEditStatusItemAction.js} +81 -24
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +22 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +42 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +2 -1
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +12 -3
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +5 -5
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +6 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +26 -21
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +7 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +7 -5
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.d.ts +5 -0
- package/dist/components/Explorer/link-item/LinkModal.js +55 -5
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/link-item/{useLinkMassAction.d.ts → useAddLinkMassAction.d.ts} +1 -1
- package/dist/components/Explorer/link-item/{useLinkMassAction.js → useAddLinkMassAction.js} +2 -2
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +23 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +35 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -0
- 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/useAttributeDetailsData.js +11 -9
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.d.ts +4 -0
- 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 +3 -2
- 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/useColumnWidth.js +2 -1
- package/dist/components/Explorer/useColumnWidth.js.map +1 -1
- package/dist/components/Explorer/useLoadView.d.ts +1 -1
- package/dist/components/Explorer/useLoadView.js +31 -35
- 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 +43 -19
- 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/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/LibraryItemsListTable/Cell/typeGuards.d.ts +4 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +4 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.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 +4 -5
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +84 -238
- 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/RecordEdition/{EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList → EditRecordButtons}/index.js +2 -2
- package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +14 -12
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/formConstants.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/formConstants.js +1 -0
- package/dist/components/RecordEdition/EditRecordContent/formConstants.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/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 +8 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +76 -92
- 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/useExplorerLinkRecords.d.ts +22 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js +85 -0
- 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 +76 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.d.ts +265 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js +13 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js +23 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +47 -55
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +2 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +2 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +5 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +64 -217
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.d.ts +265 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js +13 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +51 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.d.ts +11 -0
- 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 +27 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +43 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +25 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +132 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/ComputeIndicator.d.ts +4 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/DeleteAllValuesButton.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +15 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +72 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +71 -53
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +30 -10
- 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 +18 -12
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +3 -0
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.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 +29 -3
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +65 -5
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.d.ts +1 -1
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js +3 -3
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.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 +6 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +12 -8
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +8 -2
- package/dist/components/SelectTreeNode/SelectTreeNode.js +4 -5
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +8 -2
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +73 -51
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.d.ts +2 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js +17 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +9 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +8 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -0
- 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} +5 -3
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
- package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
- package/dist/components/{RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd → 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/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.d.ts +2 -2
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +6 -3
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
- package/dist/components/UploadFiles/UploadFiles.js +4 -4
- 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/constants.d.ts +3 -1
- package/dist/constants.js +3 -1
- package/dist/constants.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.js +1 -1
- 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 +18 -2
- package/dist/locales/fr/shared.json +17 -1
- package/dist/types/attributes.d.ts +2 -1
- package/dist/types/trees.d.ts +1 -0
- package/package.json +23 -8
- package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +0 -1
- package/dist/components/Explorer/link-item/useLinkMassAction.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/FloatingMenuHandler/FloatingMenuHandler.d.ts +0 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js +0 -29
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.d.ts +0 -20
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +0 -53
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.d.ts +0 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js +0 -111
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +0 -20
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +0 -71
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.d.ts +0 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js +0 -58
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.d.ts +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +0 -11
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.d.ts +0 -13
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +0 -50
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js +0 -215
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.d.ts +0 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.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/StandardField/calculatedInheritedFlags.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.d.ts +0 -10
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +0 -50
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js +0 -106
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.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/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/ComputeIndicator.js +0 -0
- /package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/calculatedInheritedFlags.d.ts +0 -0
- /package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/calculatedInheritedFlags.js +0 -0
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
|
|
@@ -880,6 +908,47 @@ export const ViewDetailsFragmentDoc = gql `
|
|
|
880
908
|
}
|
|
881
909
|
${ViewDetailsFilterFragmentDoc}
|
|
882
910
|
${RecordIdentityFragmentDoc}`;
|
|
911
|
+
export const AttributesByLibLinkAttributeWithPermissionsFragmentDoc = gql `
|
|
912
|
+
fragment AttributesByLibLinkAttributeWithPermissions on LinkAttribute {
|
|
913
|
+
linked_library {
|
|
914
|
+
id
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
`;
|
|
918
|
+
export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
|
|
919
|
+
fragment AttributesByLibAttributeWithPermissions on Attribute {
|
|
920
|
+
id
|
|
921
|
+
type
|
|
922
|
+
format
|
|
923
|
+
label
|
|
924
|
+
multiple_values
|
|
925
|
+
system
|
|
926
|
+
readonly
|
|
927
|
+
permissions {
|
|
928
|
+
access_attribute
|
|
929
|
+
}
|
|
930
|
+
...AttributesByLibLinkAttributeWithPermissions
|
|
931
|
+
... on TreeAttribute {
|
|
932
|
+
linked_tree {
|
|
933
|
+
id
|
|
934
|
+
label
|
|
935
|
+
libraries {
|
|
936
|
+
library {
|
|
937
|
+
id
|
|
938
|
+
label
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
... on StandardAttribute {
|
|
944
|
+
embedded_fields {
|
|
945
|
+
id
|
|
946
|
+
format
|
|
947
|
+
label
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
${AttributesByLibLinkAttributeWithPermissionsFragmentDoc}`;
|
|
883
952
|
export const LinkAttributeDetailsFragmentDoc = gql `
|
|
884
953
|
fragment LinkAttributeDetails on LinkAttribute {
|
|
885
954
|
label
|
|
@@ -887,6 +956,29 @@ export const LinkAttributeDetailsFragmentDoc = gql `
|
|
|
887
956
|
id
|
|
888
957
|
label
|
|
889
958
|
}
|
|
959
|
+
values_list {
|
|
960
|
+
allowFreeEntry
|
|
961
|
+
enable
|
|
962
|
+
values {
|
|
963
|
+
id
|
|
964
|
+
whoAmI {
|
|
965
|
+
id
|
|
966
|
+
library {
|
|
967
|
+
id
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
`;
|
|
974
|
+
export const TreeAttributeDetailsFragmentDoc = gql `
|
|
975
|
+
fragment TreeAttributeDetails on TreeAttribute {
|
|
976
|
+
id
|
|
977
|
+
label
|
|
978
|
+
linked_tree {
|
|
979
|
+
id
|
|
980
|
+
label
|
|
981
|
+
}
|
|
890
982
|
}
|
|
891
983
|
`;
|
|
892
984
|
export const AttributePropertiesFragmentDoc = gql `
|
|
@@ -896,6 +988,7 @@ export const AttributePropertiesFragmentDoc = gql `
|
|
|
896
988
|
type
|
|
897
989
|
format
|
|
898
990
|
multiple_values
|
|
991
|
+
multi_link_display_option
|
|
899
992
|
}
|
|
900
993
|
`;
|
|
901
994
|
export const PropertyValueFragmentDoc = gql `
|
|
@@ -958,6 +1051,9 @@ export const LibraryAttributeFragmentDoc = gql `
|
|
|
958
1051
|
id
|
|
959
1052
|
type
|
|
960
1053
|
label
|
|
1054
|
+
permissions {
|
|
1055
|
+
access_attribute
|
|
1056
|
+
}
|
|
961
1057
|
... on StandardAttribute {
|
|
962
1058
|
format
|
|
963
1059
|
}
|
|
@@ -996,6 +1092,10 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
996
1092
|
const options = { ...defaultOptions, ...baseOptions };
|
|
997
1093
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
998
1094
|
}
|
|
1095
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1096
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1097
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1098
|
+
}
|
|
999
1099
|
export const GetApplicationByIdDocument = gql `
|
|
1000
1100
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1001
1101
|
applications(filters: {id: $id}) {
|
|
@@ -1029,6 +1129,10 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1029
1129
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1030
1130
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1031
1131
|
}
|
|
1132
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1133
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1134
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1135
|
+
}
|
|
1032
1136
|
export const GetApplicationModulesDocument = gql `
|
|
1033
1137
|
query GET_APPLICATION_MODULES {
|
|
1034
1138
|
applicationsModules {
|
|
@@ -1061,6 +1165,10 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1061
1165
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1062
1166
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1063
1167
|
}
|
|
1168
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1169
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1170
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1171
|
+
}
|
|
1064
1172
|
export const SaveApplicationDocument = gql `
|
|
1065
1173
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1066
1174
|
saveApplication(application: $application) {
|
|
@@ -1120,6 +1228,10 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1120
1228
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1121
1229
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1122
1230
|
}
|
|
1231
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1232
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1233
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1234
|
+
}
|
|
1123
1235
|
export const DeleteAttributeDocument = gql `
|
|
1124
1236
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1125
1237
|
deleteAttribute(id: $id) {
|
|
@@ -1181,6 +1293,10 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1181
1293
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1182
1294
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1183
1295
|
}
|
|
1296
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1297
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1298
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1299
|
+
}
|
|
1184
1300
|
export const GetAttributesByLibDocument = gql `
|
|
1185
1301
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1186
1302
|
attributes(filters: {libraries: [$library]}) {
|
|
@@ -1214,6 +1330,10 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1214
1330
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1215
1331
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1216
1332
|
}
|
|
1333
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1334
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1335
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1336
|
+
}
|
|
1217
1337
|
export const GetAttributesDocument = gql `
|
|
1218
1338
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1219
1339
|
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
@@ -1254,6 +1374,10 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1254
1374
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1255
1375
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1256
1376
|
}
|
|
1377
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1378
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1379
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1380
|
+
}
|
|
1257
1381
|
export const GetVersionProfilesDocument = gql `
|
|
1258
1382
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1259
1383
|
versionProfiles(filters: $filters, sort: $sort) {
|
|
@@ -1289,6 +1413,10 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1289
1413
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1290
1414
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1291
1415
|
}
|
|
1416
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1417
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1418
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1419
|
+
}
|
|
1292
1420
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1293
1421
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1294
1422
|
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
@@ -1332,6 +1460,10 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1332
1460
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1333
1461
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1334
1462
|
}
|
|
1463
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1464
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1465
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1466
|
+
}
|
|
1335
1467
|
export const SaveAttributeDocument = gql `
|
|
1336
1468
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1337
1469
|
saveAttribute(attribute: $attribute) {
|
|
@@ -1391,6 +1523,10 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1391
1523
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1392
1524
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1393
1525
|
}
|
|
1526
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1527
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1528
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1529
|
+
}
|
|
1394
1530
|
export const CreateDirectoryDocument = gql `
|
|
1395
1531
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1396
1532
|
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
@@ -1531,6 +1667,10 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1531
1667
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1532
1668
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1533
1669
|
}
|
|
1670
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1671
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1672
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1673
|
+
}
|
|
1534
1674
|
export const UploadUpdateDocument = gql `
|
|
1535
1675
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1536
1676
|
upload(filters: $filters) {
|
|
@@ -1661,6 +1801,10 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1661
1801
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1662
1802
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1663
1803
|
}
|
|
1804
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1805
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1806
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1807
|
+
}
|
|
1664
1808
|
export const DeleteLibraryDocument = gql `
|
|
1665
1809
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1666
1810
|
deleteLibrary(id: $id) {
|
|
@@ -1721,6 +1865,10 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1721
1865
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1722
1866
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1723
1867
|
}
|
|
1868
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1869
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1870
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1871
|
+
}
|
|
1724
1872
|
export const GetLibraryByIdDocument = gql `
|
|
1725
1873
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1726
1874
|
libraries(filters: {id: $id}) {
|
|
@@ -1754,6 +1902,10 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1754
1902
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1755
1903
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1756
1904
|
}
|
|
1905
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
1906
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1907
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
1908
|
+
}
|
|
1757
1909
|
export const GetLibraryPermissionsDocument = gql `
|
|
1758
1910
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1759
1911
|
libraries(filters: {id: $libraryId}) {
|
|
@@ -1793,6 +1945,10 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1793
1945
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1794
1946
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
1795
1947
|
}
|
|
1948
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
1949
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1950
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
1951
|
+
}
|
|
1796
1952
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1797
1953
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1798
1954
|
libraries(filters: {id: [$id]}) {
|
|
@@ -1841,6 +1997,10 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1841
1997
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1842
1998
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
1843
1999
|
}
|
|
2000
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2001
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2002
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2003
|
+
}
|
|
1844
2004
|
export const SaveLibraryDocument = gql `
|
|
1845
2005
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1846
2006
|
saveLibrary(library: $library) {
|
|
@@ -1904,6 +2064,81 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1904
2064
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1905
2065
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
1906
2066
|
}
|
|
2067
|
+
export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
2068
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2069
|
+
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2070
|
+
}
|
|
2071
|
+
export const ActivateRecordsDocument = gql `
|
|
2072
|
+
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2073
|
+
activateRecords(
|
|
2074
|
+
recordsIds: $recordsIds
|
|
2075
|
+
filters: $filters
|
|
2076
|
+
libraryId: $libraryId
|
|
2077
|
+
) {
|
|
2078
|
+
id
|
|
2079
|
+
...RecordIdentity
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2082
|
+
${RecordIdentityFragmentDoc}`;
|
|
2083
|
+
/**
|
|
2084
|
+
* __useActivateRecordsMutation__
|
|
2085
|
+
*
|
|
2086
|
+
* To run a mutation, you first call `useActivateRecordsMutation` within a React component and pass it any options that fit your needs.
|
|
2087
|
+
* When your component renders, `useActivateRecordsMutation` returns a tuple that includes:
|
|
2088
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2089
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2090
|
+
*
|
|
2091
|
+
* @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;
|
|
2092
|
+
*
|
|
2093
|
+
* @example
|
|
2094
|
+
* const [activateRecordsMutation, { data, loading, error }] = useActivateRecordsMutation({
|
|
2095
|
+
* variables: {
|
|
2096
|
+
* libraryId: // value for 'libraryId'
|
|
2097
|
+
* recordsIds: // value for 'recordsIds'
|
|
2098
|
+
* filters: // value for 'filters'
|
|
2099
|
+
* },
|
|
2100
|
+
* });
|
|
2101
|
+
*/
|
|
2102
|
+
export function useActivateRecordsMutation(baseOptions) {
|
|
2103
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2104
|
+
return Apollo.useMutation(ActivateRecordsDocument, options);
|
|
2105
|
+
}
|
|
2106
|
+
export const CreateEmptyRecordDocument = gql `
|
|
2107
|
+
mutation createEmptyRecord($library: ID!) {
|
|
2108
|
+
createEmptyRecord(library: $library) {
|
|
2109
|
+
record {
|
|
2110
|
+
...RecordIdentity
|
|
2111
|
+
}
|
|
2112
|
+
valuesErrors {
|
|
2113
|
+
type
|
|
2114
|
+
attribute
|
|
2115
|
+
input
|
|
2116
|
+
message
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
${RecordIdentityFragmentDoc}`;
|
|
2121
|
+
/**
|
|
2122
|
+
* __useCreateEmptyRecordMutation__
|
|
2123
|
+
*
|
|
2124
|
+
* To run a mutation, you first call `useCreateEmptyRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2125
|
+
* When your component renders, `useCreateEmptyRecordMutation` returns a tuple that includes:
|
|
2126
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2127
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2128
|
+
*
|
|
2129
|
+
* @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;
|
|
2130
|
+
*
|
|
2131
|
+
* @example
|
|
2132
|
+
* const [createEmptyRecordMutation, { data, loading, error }] = useCreateEmptyRecordMutation({
|
|
2133
|
+
* variables: {
|
|
2134
|
+
* library: // value for 'library'
|
|
2135
|
+
* },
|
|
2136
|
+
* });
|
|
2137
|
+
*/
|
|
2138
|
+
export function useCreateEmptyRecordMutation(baseOptions) {
|
|
2139
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2140
|
+
return Apollo.useMutation(CreateEmptyRecordDocument, options);
|
|
2141
|
+
}
|
|
1907
2142
|
export const CreateRecordDocument = gql `
|
|
1908
2143
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
1909
2144
|
createRecord(library: $library, data: $data) {
|
|
@@ -2011,6 +2246,10 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2011
2246
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2012
2247
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2013
2248
|
}
|
|
2249
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2250
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2251
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2252
|
+
}
|
|
2014
2253
|
export const GetFileDataDocument = gql `
|
|
2015
2254
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2016
2255
|
records(
|
|
@@ -2091,6 +2330,10 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2091
2330
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2092
2331
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2093
2332
|
}
|
|
2333
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2334
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2335
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2336
|
+
}
|
|
2094
2337
|
export const RecordFormDocument = gql `
|
|
2095
2338
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2096
2339
|
recordForm(
|
|
@@ -2110,6 +2353,10 @@ export const RecordFormDocument = gql `
|
|
|
2110
2353
|
elements {
|
|
2111
2354
|
...RecordFormElement
|
|
2112
2355
|
}
|
|
2356
|
+
sidePanel {
|
|
2357
|
+
enable
|
|
2358
|
+
isOpenByDefault
|
|
2359
|
+
}
|
|
2113
2360
|
}
|
|
2114
2361
|
}
|
|
2115
2362
|
${RecordFormElementFragmentDoc}`;
|
|
@@ -2140,6 +2387,10 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2140
2387
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2141
2388
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2142
2389
|
}
|
|
2390
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2391
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2392
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2393
|
+
}
|
|
2143
2394
|
export const RecordUpdateDocument = gql `
|
|
2144
2395
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2145
2396
|
recordUpdate(filters: $filters) {
|
|
@@ -2183,6 +2434,46 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2183
2434
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2184
2435
|
return Apollo.useSubscription(RecordUpdateDocument, options);
|
|
2185
2436
|
}
|
|
2437
|
+
export const GetRecordsFromLibraryDocument = gql `
|
|
2438
|
+
query getRecordsFromLibrary($libraryId: ID!, $pagination: RecordsPagination, $filters: [RecordFilterInput]) {
|
|
2439
|
+
records(library: $libraryId, filters: $filters, pagination: $pagination) {
|
|
2440
|
+
totalCount
|
|
2441
|
+
list {
|
|
2442
|
+
...RecordIdentity
|
|
2443
|
+
}
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
${RecordIdentityFragmentDoc}`;
|
|
2447
|
+
/**
|
|
2448
|
+
* __useGetRecordsFromLibraryQuery__
|
|
2449
|
+
*
|
|
2450
|
+
* To run a query within a React component, call `useGetRecordsFromLibraryQuery` and pass it any options that fit your needs.
|
|
2451
|
+
* When your component renders, `useGetRecordsFromLibraryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2452
|
+
* you can use to render your UI.
|
|
2453
|
+
*
|
|
2454
|
+
* @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;
|
|
2455
|
+
*
|
|
2456
|
+
* @example
|
|
2457
|
+
* const { data, loading, error } = useGetRecordsFromLibraryQuery({
|
|
2458
|
+
* variables: {
|
|
2459
|
+
* libraryId: // value for 'libraryId'
|
|
2460
|
+
* pagination: // value for 'pagination'
|
|
2461
|
+
* filters: // value for 'filters'
|
|
2462
|
+
* },
|
|
2463
|
+
* });
|
|
2464
|
+
*/
|
|
2465
|
+
export function useGetRecordsFromLibraryQuery(baseOptions) {
|
|
2466
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2467
|
+
return Apollo.useQuery(GetRecordsFromLibraryDocument, options);
|
|
2468
|
+
}
|
|
2469
|
+
export function useGetRecordsFromLibraryLazyQuery(baseOptions) {
|
|
2470
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2471
|
+
return Apollo.useLazyQuery(GetRecordsFromLibraryDocument, options);
|
|
2472
|
+
}
|
|
2473
|
+
export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
2474
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2475
|
+
return Apollo.useSuspenseQuery(GetRecordsFromLibraryDocument, options);
|
|
2476
|
+
}
|
|
2186
2477
|
export const IndexRecordsDocument = gql `
|
|
2187
2478
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2188
2479
|
indexRecords(libraryId: $libraryId, records: $records)
|
|
@@ -2267,6 +2558,10 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2267
2558
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2268
2559
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2269
2560
|
}
|
|
2561
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2562
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2563
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2564
|
+
}
|
|
2270
2565
|
export const DeleteTreeDocument = gql `
|
|
2271
2566
|
mutation DELETE_TREE($id: ID!) {
|
|
2272
2567
|
deleteTree(id: $id) {
|
|
@@ -2328,6 +2623,10 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2328
2623
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2329
2624
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2330
2625
|
}
|
|
2626
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2627
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2628
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2629
|
+
}
|
|
2331
2630
|
export const GetTreeLibrariesDocument = gql `
|
|
2332
2631
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2333
2632
|
trees(filters: {id: $treeId, library: $library}) {
|
|
@@ -2378,6 +2677,10 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2378
2677
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2379
2678
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2380
2679
|
}
|
|
2680
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2681
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2682
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2683
|
+
}
|
|
2381
2684
|
export const GetTreesDocument = gql `
|
|
2382
2685
|
query GET_TREES {
|
|
2383
2686
|
trees {
|
|
@@ -2410,6 +2713,10 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2410
2713
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2411
2714
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2412
2715
|
}
|
|
2716
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2717
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2718
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2719
|
+
}
|
|
2413
2720
|
export const SaveTreeDocument = gql `
|
|
2414
2721
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2415
2722
|
saveTree(tree: $tree) {
|
|
@@ -2439,8 +2746,13 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2439
2746
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2440
2747
|
}
|
|
2441
2748
|
export const TreeNodeChildrenDocument = gql `
|
|
2442
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2443
|
-
treeNodeChildren(
|
|
2749
|
+
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2750
|
+
treeNodeChildren(
|
|
2751
|
+
treeId: $treeId
|
|
2752
|
+
node: $node
|
|
2753
|
+
pagination: $pagination
|
|
2754
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2755
|
+
) {
|
|
2444
2756
|
totalCount
|
|
2445
2757
|
list {
|
|
2446
2758
|
...TreeNodeChild
|
|
@@ -2463,6 +2775,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2463
2775
|
* treeId: // value for 'treeId'
|
|
2464
2776
|
* node: // value for 'node'
|
|
2465
2777
|
* pagination: // value for 'pagination'
|
|
2778
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2466
2779
|
* },
|
|
2467
2780
|
* });
|
|
2468
2781
|
*/
|
|
@@ -2474,6 +2787,10 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2474
2787
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2475
2788
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2476
2789
|
}
|
|
2790
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2791
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2792
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2793
|
+
}
|
|
2477
2794
|
export const GetUserDataDocument = gql `
|
|
2478
2795
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2479
2796
|
userData(keys: $keys, global: $global) {
|
|
@@ -2507,6 +2824,10 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2507
2824
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2508
2825
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2509
2826
|
}
|
|
2827
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
2828
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2829
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
2830
|
+
}
|
|
2510
2831
|
export const SaveUserDataDocument = gql `
|
|
2511
2832
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2512
2833
|
saveUserData(key: $key, value: $value, global: $global) {
|
|
@@ -2574,43 +2895,6 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2574
2895
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2575
2896
|
return Apollo.useMutation(DeleteValueDocument, options);
|
|
2576
2897
|
}
|
|
2577
|
-
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2578
|
-
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2579
|
-
runActionsListAndFormatOnValue(
|
|
2580
|
-
library: $library
|
|
2581
|
-
value: $value
|
|
2582
|
-
version: $version
|
|
2583
|
-
) {
|
|
2584
|
-
...ValueDetails
|
|
2585
|
-
}
|
|
2586
|
-
}
|
|
2587
|
-
${ValueDetailsFragmentDoc}`;
|
|
2588
|
-
/**
|
|
2589
|
-
* __useRunActionsListAndFormatOnValueQuery__
|
|
2590
|
-
*
|
|
2591
|
-
* To run a query within a React component, call `useRunActionsListAndFormatOnValueQuery` and pass it any options that fit your needs.
|
|
2592
|
-
* When your component renders, `useRunActionsListAndFormatOnValueQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2593
|
-
* you can use to render your UI.
|
|
2594
|
-
*
|
|
2595
|
-
* @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;
|
|
2596
|
-
*
|
|
2597
|
-
* @example
|
|
2598
|
-
* const { data, loading, error } = useRunActionsListAndFormatOnValueQuery({
|
|
2599
|
-
* variables: {
|
|
2600
|
-
* library: // value for 'library'
|
|
2601
|
-
* value: // value for 'value'
|
|
2602
|
-
* version: // value for 'version'
|
|
2603
|
-
* },
|
|
2604
|
-
* });
|
|
2605
|
-
*/
|
|
2606
|
-
export function useRunActionsListAndFormatOnValueQuery(baseOptions) {
|
|
2607
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2608
|
-
return Apollo.useQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2609
|
-
}
|
|
2610
|
-
export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
2611
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2612
|
-
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2613
|
-
}
|
|
2614
2898
|
export const SaveValueBatchDocument = gql `
|
|
2615
2899
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2616
2900
|
saveValueBatch(
|
|
@@ -2717,6 +3001,10 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2717
3001
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2718
3002
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
2719
3003
|
}
|
|
3004
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3005
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3006
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3007
|
+
}
|
|
2720
3008
|
export const GetViewsListDocument = gql `
|
|
2721
3009
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2722
3010
|
views(library: $libraryId) {
|
|
@@ -2751,6 +3039,10 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2751
3039
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2752
3040
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
2753
3041
|
}
|
|
3042
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3043
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3044
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3045
|
+
}
|
|
2754
3046
|
export const SaveViewDocument = gql `
|
|
2755
3047
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
2756
3048
|
saveView(view: $view) {
|
|
@@ -2779,6 +3071,43 @@ export function useSaveViewMutation(baseOptions) {
|
|
|
2779
3071
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2780
3072
|
return Apollo.useMutation(SaveViewDocument, options);
|
|
2781
3073
|
}
|
|
3074
|
+
export const GetAttributesByLibWithPermissionsDocument = gql `
|
|
3075
|
+
query getAttributesByLibWithPermissions($library: String!) {
|
|
3076
|
+
attributes(filters: {libraries: [$library]}) {
|
|
3077
|
+
list {
|
|
3078
|
+
...AttributesByLibAttributeWithPermissions
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
}
|
|
3082
|
+
${AttributesByLibAttributeWithPermissionsFragmentDoc}`;
|
|
3083
|
+
/**
|
|
3084
|
+
* __useGetAttributesByLibWithPermissionsQuery__
|
|
3085
|
+
*
|
|
3086
|
+
* To run a query within a React component, call `useGetAttributesByLibWithPermissionsQuery` and pass it any options that fit your needs.
|
|
3087
|
+
* When your component renders, `useGetAttributesByLibWithPermissionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3088
|
+
* you can use to render your UI.
|
|
3089
|
+
*
|
|
3090
|
+
* @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;
|
|
3091
|
+
*
|
|
3092
|
+
* @example
|
|
3093
|
+
* const { data, loading, error } = useGetAttributesByLibWithPermissionsQuery({
|
|
3094
|
+
* variables: {
|
|
3095
|
+
* library: // value for 'library'
|
|
3096
|
+
* },
|
|
3097
|
+
* });
|
|
3098
|
+
*/
|
|
3099
|
+
export function useGetAttributesByLibWithPermissionsQuery(baseOptions) {
|
|
3100
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3101
|
+
return Apollo.useQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3102
|
+
}
|
|
3103
|
+
export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
3104
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3105
|
+
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3106
|
+
}
|
|
3107
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3108
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3109
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3110
|
+
}
|
|
2782
3111
|
export const ExplorerAttributesDocument = gql `
|
|
2783
3112
|
query ExplorerAttributes($ids: [ID!]) {
|
|
2784
3113
|
attributes(filters: {ids: $ids}) {
|
|
@@ -2787,11 +3116,16 @@ export const ExplorerAttributesDocument = gql `
|
|
|
2787
3116
|
type
|
|
2788
3117
|
format
|
|
2789
3118
|
label
|
|
3119
|
+
permissions {
|
|
3120
|
+
access_attribute
|
|
3121
|
+
}
|
|
2790
3122
|
...LinkAttributeDetails
|
|
3123
|
+
...TreeAttributeDetails
|
|
2791
3124
|
}
|
|
2792
3125
|
}
|
|
2793
3126
|
}
|
|
2794
|
-
${LinkAttributeDetailsFragmentDoc}
|
|
3127
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3128
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
2795
3129
|
/**
|
|
2796
3130
|
* __useExplorerAttributesQuery__
|
|
2797
3131
|
*
|
|
@@ -2816,17 +3150,27 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
2816
3150
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2817
3151
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
2818
3152
|
}
|
|
3153
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3154
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3155
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3156
|
+
}
|
|
2819
3157
|
export const ExplorerLinkAttributeDocument = gql `
|
|
2820
3158
|
query ExplorerLinkAttribute($id: ID!) {
|
|
2821
3159
|
attributes(filters: {ids: [$id]}) {
|
|
2822
3160
|
list {
|
|
2823
3161
|
id
|
|
2824
3162
|
multiple_values
|
|
3163
|
+
permissions {
|
|
3164
|
+
access_attribute
|
|
3165
|
+
edit_value
|
|
3166
|
+
}
|
|
2825
3167
|
...LinkAttributeDetails
|
|
3168
|
+
...TreeAttributeDetails
|
|
2826
3169
|
}
|
|
2827
3170
|
}
|
|
2828
3171
|
}
|
|
2829
|
-
${LinkAttributeDetailsFragmentDoc}
|
|
3172
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3173
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
2830
3174
|
/**
|
|
2831
3175
|
* __useExplorerLinkAttributeQuery__
|
|
2832
3176
|
*
|
|
@@ -2851,6 +3195,10 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
2851
3195
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2852
3196
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
2853
3197
|
}
|
|
3198
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3199
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3200
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3201
|
+
}
|
|
2854
3202
|
export const ExplorerLibraryDataDocument = gql `
|
|
2855
3203
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
2856
3204
|
records(
|
|
@@ -2863,6 +3211,11 @@ export const ExplorerLibraryDataDocument = gql `
|
|
|
2863
3211
|
totalCount
|
|
2864
3212
|
list {
|
|
2865
3213
|
...RecordIdentity
|
|
3214
|
+
active
|
|
3215
|
+
permissions {
|
|
3216
|
+
create_record
|
|
3217
|
+
delete_record
|
|
3218
|
+
}
|
|
2866
3219
|
properties(attributeIds: $attributeIds) {
|
|
2867
3220
|
attributeId
|
|
2868
3221
|
attributeProperties {
|
|
@@ -2907,11 +3260,16 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
2907
3260
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2908
3261
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
2909
3262
|
}
|
|
3263
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3264
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3265
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3266
|
+
}
|
|
2910
3267
|
export const ExplorerLinkDataDocument = gql `
|
|
2911
3268
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
2912
3269
|
records(
|
|
2913
3270
|
library: $parentLibraryId
|
|
2914
3271
|
filters: [{field: "id", condition: EQUAL, value: $parentRecordId}]
|
|
3272
|
+
retrieveInactive: true
|
|
2915
3273
|
) {
|
|
2916
3274
|
list {
|
|
2917
3275
|
id
|
|
@@ -2955,6 +3313,10 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
2955
3313
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2956
3314
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
2957
3315
|
}
|
|
3316
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3317
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3318
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3319
|
+
}
|
|
2958
3320
|
export const GetLibraryAttributesDocument = gql `
|
|
2959
3321
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
2960
3322
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -2991,6 +3353,10 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
2991
3353
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2992
3354
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
2993
3355
|
}
|
|
3356
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3357
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3358
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3359
|
+
}
|
|
2994
3360
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
2995
3361
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
2996
3362
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3026,6 +3392,10 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3026
3392
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3027
3393
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3028
3394
|
}
|
|
3395
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3396
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3397
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3398
|
+
}
|
|
3029
3399
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3030
3400
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3031
3401
|
records(library: $libraryId, filters: $filters) {
|
|
@@ -3060,6 +3430,10 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3060
3430
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3061
3431
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3062
3432
|
}
|
|
3433
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3434
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3435
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3436
|
+
}
|
|
3063
3437
|
export const MeDocument = gql `
|
|
3064
3438
|
query Me {
|
|
3065
3439
|
me {
|
|
@@ -3096,6 +3470,10 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3096
3470
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3097
3471
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3098
3472
|
}
|
|
3473
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3474
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3475
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3476
|
+
}
|
|
3099
3477
|
export const UpdateViewDocument = gql `
|
|
3100
3478
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3101
3479
|
updateView(view: $view) {
|
|
@@ -3158,4 +3536,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3158
3536
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3159
3537
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3160
3538
|
}
|
|
3539
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3540
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3541
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3542
|
+
}
|
|
3161
3543
|
//# sourceMappingURL=index.js.map
|