@leav/ui 0.4.0-80a4e22 → 0.4.0-8a31349
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/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 +200 -0
- package/dist/_gqlTypes/index.js +93 -0
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js +4 -0
- package/dist/_queries/records/getRecordFormQuery.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.js +24 -7
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +3 -1
- package/dist/components/Explorer/Explorer.js +21 -8
- package/dist/components/Explorer/Explorer.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 +3 -3
- 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/useExplorerData.d.ts +1 -0
- package/dist/components/Explorer/_queries/useExplorerData.js +16 -10
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +7 -1
- 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 +6 -4
- package/dist/components/Explorer/actions-item/useEditItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/useRemoveItemAction.d.ts +3 -1
- package/dist/components/Explorer/actions-item/useRemoveItemAction.js +12 -2
- package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +21 -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 +2 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +10 -3
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +5 -2
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +20 -4
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.d.ts +2 -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/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/list-saved-views/SavedViews.js +32 -42
- package/dist/components/Explorer/list-saved-views/SavedViews.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.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +2 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.d.ts +5 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +47 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.d.ts +5 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +48 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.d.ts +1 -0
- 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 +8 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +30 -0
- 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.js +4 -2
- 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 +2 -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 +37 -17
- 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 +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.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 +2 -4
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +37 -39
- 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/TreeField/TreeFieldValue → EditRecordButtons}/index.js +2 -2
- package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +12 -3
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +5 -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/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/Frame/Frame.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +39 -11
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +7 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +100 -92
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js +39 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js +23 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js +23 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js +26 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.d.ts +12 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js +24 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.d.ts +19 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js +103 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.d.ts +22 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +104 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.d.ts +22 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js +85 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.d.ts +26 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +105 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.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/LinkActionsButtons.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js +15 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.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 +22 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +34 -47
- 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 +2 -5
- 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/TreeField/TreeField.d.ts +4 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +67 -215
- 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 +10 -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/useDisplayTreeNode.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +15 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +44 -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 +23 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +145 -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 +17 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +76 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +51 -51
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +9 -7
- 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/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -0
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +8 -6
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +3 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.js +4 -4
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +3 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +14 -6
- 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/SelectTreeNodeModal/SelectTreeNodeModal.js +1 -1
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +1 -1
- 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/constants.d.ts +3 -1
- package/dist/constants.js +3 -1
- package/dist/constants.js.map +1 -1
- package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
- package/dist/locales/en/shared.json +27 -12
- package/dist/locales/fr/shared.json +27 -12
- package/dist/types/trees.d.ts +1 -0
- package/package.json +4 -4
- package/dist/components/Explorer/link-item/useLinkMassAction.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 +0 -6
- 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/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.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/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
|
@@ -291,6 +291,10 @@ export const mockRecordForm = {
|
|
|
291
291
|
},
|
|
292
292
|
recordId: '123456',
|
|
293
293
|
dependencyAttributes: [],
|
|
294
|
-
elements: [{ ...mockFormElementInput, settings: [{ key: 'my_settings', value: 'value' }] }]
|
|
294
|
+
elements: [{ ...mockFormElementInput, settings: [{ key: 'my_settings', value: 'value' }] }],
|
|
295
|
+
sidePanel: {
|
|
296
|
+
enable: true,
|
|
297
|
+
isOpenByDefault: true
|
|
298
|
+
}
|
|
295
299
|
};
|
|
296
300
|
//# sourceMappingURL=form.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../../src/__mocks__/common/form.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EACH,cAAc,EACd,kBAAkB,EAIlB,aAAa,EAChB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAC,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAChG,OAAO,EAAC,UAAU,EAAC,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAC,mBAAmB,EAAE,iBAAiB,EAAC,MAAM,aAAa,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC;AACrC,OAAO,EAAC,kBAAkB,EAAC,MAAM,kBAAkB,CAAC;AAEpD,MAAM,eAAe,GAAG;IACpB,IAAI,EAAE,gBAAgB,CAAC,MAAM;IAC7B,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE;QACJ;YACI,KAAK,EAAE,oBAAoB;YAC3B,SAAS,EAAE,cAAc;YACzB,OAAO,EAAE,oBAAoB;YAC7B,WAAW,EAAE,gBAAgB;YAC7B,UAAU,EAAE,SAAS;YACrB,WAAW,EAAE,SAAS;YACtB,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,mBAAmB;YAC9B,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,IAAI;SAChB;KACJ;IACD,QAAQ,EAAE,EAAE;CACf,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAoB;IACrD,GAAG,eAAe;IAClB,EAAE,EAAE,WAAW;IACf,WAAW,EAAE,QAAQ;IACrB,S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AAE,KAAK,EAAE,EAAC,EAAE,EAAE,OAAO,EAAC,EAAC;SACrC;QACD,SAAS,EAAE,aAAa,CAAC,UAAU;KACtC;IACD,SAAS,EAAE,GAAG,EAAE,CAAC,wBAAM,kBAAkB,CAAC,IAAI,GAAO;IACrD,aAAa,EAAE,kBAAkB,CAAC,IAAI;CACzC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAoC;IACvE,aAAa,EAAE,IAAI,CAAC,EAAE,EAAE;IACxB,aAAa,EAAE,IAAI,CAAC,EAAE,EAAE;IACxB,sBAAsB,EAAE,IAAI,CAAC,EAAE,EAAE;CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAgB;IACvC,EAAE,EAAE,cAAc;IAClB,OAAO,EAAE;QACL,EAAE,EAAE,UAAU;KACjB;IACD,QAAQ,EAAE,QAAQ;IAClB,oBAAoB,EAAE,EAAE;IACxB,QAAQ,EAAE,CAAC,EAAC,GAAG,oBAAoB,EAAE,QAAQ,EAAE,CAAC,EAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,EAAC,CAAC,EAAC,CAAC;IACvF,SAAS,EAAE;QACP,MAAM,EAAE,IAAI;QACZ,eAAe,EAAE,IAAI;KACxB;CACJ,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IRecordPropertyWithAttribute } from '../../components/RecordEdition/editRecordReducer/editRecordReducer';
|
|
2
|
-
import { IRecordPropertyModifier
|
|
2
|
+
import { IRecordPropertyModifier } from '../../_queries/records/getRecordPropertiesQuery';
|
|
3
3
|
export declare const mockModifier: IRecordPropertyModifier;
|
|
4
|
-
export declare const mockRecordProperty: RecordProperty;
|
|
5
4
|
export declare const mockRecordPropertyWithAttribute: IRecordPropertyWithAttribute;
|
|
@@ -14,17 +14,6 @@ export const mockModifier = {
|
|
|
14
14
|
color: '#123456'
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
|
-
export const mockRecordProperty = {
|
|
18
|
-
id_value: '123456',
|
|
19
|
-
created_at: 1234567890,
|
|
20
|
-
created_by: mockModifier,
|
|
21
|
-
modified_at: 1234567890,
|
|
22
|
-
modified_by: mockModifier,
|
|
23
|
-
payload: 'my payload',
|
|
24
|
-
raw_payload: 'my payload',
|
|
25
|
-
treeValue: null,
|
|
26
|
-
linkValue: null
|
|
27
|
-
};
|
|
28
17
|
export const mockRecordPropertyWithAttribute = {
|
|
29
18
|
attribute: {
|
|
30
19
|
...mockAttributeSimple,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value.js","sourceRoot":"","sources":["../../../src/__mocks__/common/value.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAChD,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAEtC,MAAM,CAAC,MAAM,YAAY,GAA4B;IACjD,EAAE,EAAE,GAAG;IACP,MAAM,EAAE;QACJ,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,OAAO;QACd,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE;YACL,EAAE,EAAE,OAAO;YACX,KAAK,EAAE,EAAC,EAAE,EAAE,cAAc,EAAC;SAC9B;QACD,OAAO,EAAE,YAAY;QACrB,KAAK,EAAE,SAAS;KACnB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM
|
|
1
|
+
{"version":3,"file":"value.js","sourceRoot":"","sources":["../../../src/__mocks__/common/value.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAChD,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAEtC,MAAM,CAAC,MAAM,YAAY,GAA4B;IACjD,EAAE,EAAE,GAAG;IACP,MAAM,EAAE;QACJ,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,OAAO;QACd,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE;YACL,EAAE,EAAE,OAAO;YACX,KAAK,EAAE,EAAC,EAAE,EAAE,cAAc,EAAC;SAC9B;QACD,OAAO,EAAE,YAAY;QACrB,KAAK,EAAE,SAAS;KACnB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAiC;IACzE,SAAS,EAAE;QACP,GAAG,mBAAmB;QACtB,WAAW,EAAE;YACT,EAAE,EAAE,gBAAgB;YACpB,EAAE,EAAE,gBAAgB;SACvB;QACD,eAAe,EAAE,KAAK;QACtB,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,EAAC,gBAAgB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAC;QACvD,OAAO,EAAE,KAAK;KACjB;CACJ,CAAC"}
|
|
@@ -141,6 +141,7 @@ export type AttributeInput = {
|
|
|
141
141
|
readonly?: InputMaybe<Scalars['Boolean']>;
|
|
142
142
|
required?: InputMaybe<Scalars['Boolean']>;
|
|
143
143
|
reverse_link?: InputMaybe<Scalars['String']>;
|
|
144
|
+
settings?: InputMaybe<Scalars['JSONObject']>;
|
|
144
145
|
type?: InputMaybe<AttributeType>;
|
|
145
146
|
unique?: InputMaybe<Scalars['Boolean']>;
|
|
146
147
|
values_list?: InputMaybe<ValuesListConfInput>;
|
|
@@ -246,6 +247,11 @@ export type FormInput = {
|
|
|
246
247
|
id: Scalars['ID'];
|
|
247
248
|
label?: InputMaybe<Scalars['SystemTranslation']>;
|
|
248
249
|
library: Scalars['ID'];
|
|
250
|
+
sidePanel?: InputMaybe<FormSidePanelInput>;
|
|
251
|
+
};
|
|
252
|
+
export type FormSidePanelInput = {
|
|
253
|
+
enable: Scalars['Boolean'];
|
|
254
|
+
isOpenByDefault: Scalars['Boolean'];
|
|
249
255
|
};
|
|
250
256
|
export declare enum FormsSortableFields {
|
|
251
257
|
id = "id",
|
|
@@ -261,6 +267,7 @@ export type GlobalSettingsInput = {
|
|
|
261
267
|
favicon?: InputMaybe<GlobalSettingsFileInput>;
|
|
262
268
|
icon?: InputMaybe<GlobalSettingsFileInput>;
|
|
263
269
|
name?: InputMaybe<Scalars['String']>;
|
|
270
|
+
settings?: InputMaybe<Scalars['JSONObject']>;
|
|
264
271
|
};
|
|
265
272
|
export declare enum IoTypes {
|
|
266
273
|
boolean = "boolean",
|
|
@@ -292,6 +299,7 @@ export declare enum LibrariesSortableFields {
|
|
|
292
299
|
export declare enum LibraryBehavior {
|
|
293
300
|
directories = "directories",
|
|
294
301
|
files = "files",
|
|
302
|
+
join = "join",
|
|
295
303
|
standard = "standard"
|
|
296
304
|
}
|
|
297
305
|
export type LibraryIconInput = {
|
|
@@ -301,6 +309,7 @@ export type LibraryIconInput = {
|
|
|
301
309
|
export type LibraryInput = {
|
|
302
310
|
attributes?: InputMaybe<Array<Scalars['ID']>>;
|
|
303
311
|
behavior?: InputMaybe<LibraryBehavior>;
|
|
312
|
+
mandatoryAttribute?: InputMaybe<Scalars['ID']>;
|
|
304
313
|
defaultView?: InputMaybe<Scalars['ID']>;
|
|
305
314
|
fullTextAttributes?: InputMaybe<Array<Scalars['ID']>>;
|
|
306
315
|
icon?: InputMaybe<LibraryIconInput>;
|
|
@@ -309,6 +318,7 @@ export type LibraryInput = {
|
|
|
309
318
|
permissions_conf?: InputMaybe<TreepermissionsConfInput>;
|
|
310
319
|
previewsSettings?: InputMaybe<Array<LibraryPreviewsSettingsInput>>;
|
|
311
320
|
recordIdentityConf?: InputMaybe<RecordIdentityConfInput>;
|
|
321
|
+
settings?: InputMaybe<Scalars['JSONObject']>;
|
|
312
322
|
};
|
|
313
323
|
export type LibraryPreviewsSettingsInput = {
|
|
314
324
|
description?: InputMaybe<Scalars['SystemTranslationOptional']>;
|
|
@@ -335,6 +345,7 @@ export declare enum LogAction {
|
|
|
335
345
|
PERMISSION_SAVE = "PERMISSION_SAVE",
|
|
336
346
|
RECORD_DELETE = "RECORD_DELETE",
|
|
337
347
|
RECORD_SAVE = "RECORD_SAVE",
|
|
348
|
+
SDO_LOG_EXPORT_RECORD = "SDO_LOG_EXPORT_RECORD",
|
|
338
349
|
TASKS_DELETE = "TASKS_DELETE",
|
|
339
350
|
TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
|
|
340
351
|
TREE_DELETE = "TREE_DELETE",
|
|
@@ -640,6 +651,7 @@ export type TreeInput = {
|
|
|
640
651
|
label?: InputMaybe<Scalars['SystemTranslation']>;
|
|
641
652
|
libraries?: InputMaybe<Array<TreeLibraryInput>>;
|
|
642
653
|
permissions_conf?: InputMaybe<Array<TreeNodePermissionsConfInput>>;
|
|
654
|
+
settings?: InputMaybe<Scalars['JSONObject']>;
|
|
643
655
|
};
|
|
644
656
|
export type TreeLibraryInput = {
|
|
645
657
|
library: Scalars['ID'];
|
|
@@ -681,11 +693,13 @@ export type ValueBatchInput = {
|
|
|
681
693
|
attribute?: InputMaybe<Scalars['ID']>;
|
|
682
694
|
id_value?: InputMaybe<Scalars['ID']>;
|
|
683
695
|
metadata?: InputMaybe<Array<InputMaybe<ValueMetadataInput>>>;
|
|
696
|
+
/** Use "\__empty_value__" to set an empty value */
|
|
684
697
|
payload?: InputMaybe<Scalars['String']>;
|
|
685
698
|
};
|
|
686
699
|
export type ValueInput = {
|
|
687
700
|
id_value?: InputMaybe<Scalars['ID']>;
|
|
688
701
|
metadata?: InputMaybe<Array<InputMaybe<ValueMetadataInput>>>;
|
|
702
|
+
/** Use "\__empty_value__" to set an empty value */
|
|
689
703
|
payload?: InputMaybe<Scalars['String']>;
|
|
690
704
|
version?: InputMaybe<Array<InputMaybe<ValueVersionInput>>>;
|
|
691
705
|
};
|
|
@@ -2561,6 +2575,66 @@ export type ViewDetailsFilterFragment = {
|
|
|
2561
2575
|
label?: any | null;
|
|
2562
2576
|
} | null;
|
|
2563
2577
|
};
|
|
2578
|
+
export type AttributesByLibAttributeWithPermissionsLinkAttributeFragment = {
|
|
2579
|
+
id: string;
|
|
2580
|
+
type: AttributeType;
|
|
2581
|
+
format?: AttributeFormat | null;
|
|
2582
|
+
label?: any | null;
|
|
2583
|
+
multiple_values: boolean;
|
|
2584
|
+
system: boolean;
|
|
2585
|
+
readonly: boolean;
|
|
2586
|
+
permissions: {
|
|
2587
|
+
access_attribute: boolean;
|
|
2588
|
+
};
|
|
2589
|
+
linked_library?: {
|
|
2590
|
+
id: string;
|
|
2591
|
+
} | null;
|
|
2592
|
+
};
|
|
2593
|
+
export type AttributesByLibAttributeWithPermissionsStandardAttributeFragment = {
|
|
2594
|
+
id: string;
|
|
2595
|
+
type: AttributeType;
|
|
2596
|
+
format?: AttributeFormat | null;
|
|
2597
|
+
label?: any | null;
|
|
2598
|
+
multiple_values: boolean;
|
|
2599
|
+
system: boolean;
|
|
2600
|
+
readonly: boolean;
|
|
2601
|
+
embedded_fields?: Array<{
|
|
2602
|
+
id: string;
|
|
2603
|
+
format?: AttributeFormat | null;
|
|
2604
|
+
label?: any | null;
|
|
2605
|
+
} | null> | null;
|
|
2606
|
+
permissions: {
|
|
2607
|
+
access_attribute: boolean;
|
|
2608
|
+
};
|
|
2609
|
+
};
|
|
2610
|
+
export type AttributesByLibAttributeWithPermissionsTreeAttributeFragment = {
|
|
2611
|
+
id: string;
|
|
2612
|
+
type: AttributeType;
|
|
2613
|
+
format?: AttributeFormat | null;
|
|
2614
|
+
label?: any | null;
|
|
2615
|
+
multiple_values: boolean;
|
|
2616
|
+
system: boolean;
|
|
2617
|
+
readonly: boolean;
|
|
2618
|
+
linked_tree?: {
|
|
2619
|
+
id: string;
|
|
2620
|
+
label?: any | null;
|
|
2621
|
+
libraries: Array<{
|
|
2622
|
+
library: {
|
|
2623
|
+
id: string;
|
|
2624
|
+
label?: any | null;
|
|
2625
|
+
};
|
|
2626
|
+
}>;
|
|
2627
|
+
} | null;
|
|
2628
|
+
permissions: {
|
|
2629
|
+
access_attribute: boolean;
|
|
2630
|
+
};
|
|
2631
|
+
};
|
|
2632
|
+
export type AttributesByLibAttributeWithPermissionsFragment = AttributesByLibAttributeWithPermissionsLinkAttributeFragment | AttributesByLibAttributeWithPermissionsStandardAttributeFragment | AttributesByLibAttributeWithPermissionsTreeAttributeFragment;
|
|
2633
|
+
export type AttributesByLibLinkAttributeWithPermissionsFragment = {
|
|
2634
|
+
linked_library?: {
|
|
2635
|
+
id: string;
|
|
2636
|
+
} | null;
|
|
2637
|
+
};
|
|
2564
2638
|
export type LinkAttributeDetailsFragment = {
|
|
2565
2639
|
label?: any | null;
|
|
2566
2640
|
linked_library?: {
|
|
@@ -2685,6 +2759,9 @@ export type LibraryAttributeLinkAttributeFragment = {
|
|
|
2685
2759
|
id: string;
|
|
2686
2760
|
type: AttributeType;
|
|
2687
2761
|
label?: any | null;
|
|
2762
|
+
permissions: {
|
|
2763
|
+
access_attribute: boolean;
|
|
2764
|
+
};
|
|
2688
2765
|
linked_library?: {
|
|
2689
2766
|
id: string;
|
|
2690
2767
|
label?: any | null;
|
|
@@ -2701,11 +2778,17 @@ export type LibraryAttributeStandardAttributeFragment = {
|
|
|
2701
2778
|
id: string;
|
|
2702
2779
|
type: AttributeType;
|
|
2703
2780
|
label?: any | null;
|
|
2781
|
+
permissions: {
|
|
2782
|
+
access_attribute: boolean;
|
|
2783
|
+
};
|
|
2704
2784
|
};
|
|
2705
2785
|
export type LibraryAttributeTreeAttributeFragment = {
|
|
2706
2786
|
id: string;
|
|
2707
2787
|
type: AttributeType;
|
|
2708
2788
|
label?: any | null;
|
|
2789
|
+
permissions: {
|
|
2790
|
+
access_attribute: boolean;
|
|
2791
|
+
};
|
|
2709
2792
|
};
|
|
2710
2793
|
export type LibraryAttributeFragment = LibraryAttributeLinkAttributeFragment | LibraryAttributeStandardAttributeFragment | LibraryAttributeTreeAttributeFragment;
|
|
2711
2794
|
export type LibraryAttributeLinkFragment = {
|
|
@@ -4361,6 +4444,10 @@ export type RecordFormQuery = {
|
|
|
4361
4444
|
value: any;
|
|
4362
4445
|
}>;
|
|
4363
4446
|
}>;
|
|
4447
|
+
sidePanel?: {
|
|
4448
|
+
enable: boolean;
|
|
4449
|
+
isOpenByDefault: boolean;
|
|
4450
|
+
} | null;
|
|
4364
4451
|
} | null;
|
|
4365
4452
|
};
|
|
4366
4453
|
export type RecordUpdateSubscriptionVariables = Exact<{
|
|
@@ -6089,6 +6176,65 @@ export type SaveViewMutation = {
|
|
|
6089
6176
|
}> | null;
|
|
6090
6177
|
};
|
|
6091
6178
|
};
|
|
6179
|
+
export type GetAttributesByLibWithPermissionsQueryVariables = Exact<{
|
|
6180
|
+
library: Scalars['String'];
|
|
6181
|
+
}>;
|
|
6182
|
+
export type GetAttributesByLibWithPermissionsQuery = {
|
|
6183
|
+
attributes?: {
|
|
6184
|
+
list: Array<{
|
|
6185
|
+
id: string;
|
|
6186
|
+
type: AttributeType;
|
|
6187
|
+
format?: AttributeFormat | null;
|
|
6188
|
+
label?: any | null;
|
|
6189
|
+
multiple_values: boolean;
|
|
6190
|
+
system: boolean;
|
|
6191
|
+
readonly: boolean;
|
|
6192
|
+
linked_library?: {
|
|
6193
|
+
id: string;
|
|
6194
|
+
} | null;
|
|
6195
|
+
permissions: {
|
|
6196
|
+
access_attribute: boolean;
|
|
6197
|
+
};
|
|
6198
|
+
} | {
|
|
6199
|
+
id: string;
|
|
6200
|
+
type: AttributeType;
|
|
6201
|
+
format?: AttributeFormat | null;
|
|
6202
|
+
label?: any | null;
|
|
6203
|
+
multiple_values: boolean;
|
|
6204
|
+
system: boolean;
|
|
6205
|
+
readonly: boolean;
|
|
6206
|
+
embedded_fields?: Array<{
|
|
6207
|
+
id: string;
|
|
6208
|
+
format?: AttributeFormat | null;
|
|
6209
|
+
label?: any | null;
|
|
6210
|
+
} | null> | null;
|
|
6211
|
+
permissions: {
|
|
6212
|
+
access_attribute: boolean;
|
|
6213
|
+
};
|
|
6214
|
+
} | {
|
|
6215
|
+
id: string;
|
|
6216
|
+
type: AttributeType;
|
|
6217
|
+
format?: AttributeFormat | null;
|
|
6218
|
+
label?: any | null;
|
|
6219
|
+
multiple_values: boolean;
|
|
6220
|
+
system: boolean;
|
|
6221
|
+
readonly: boolean;
|
|
6222
|
+
linked_tree?: {
|
|
6223
|
+
id: string;
|
|
6224
|
+
label?: any | null;
|
|
6225
|
+
libraries: Array<{
|
|
6226
|
+
library: {
|
|
6227
|
+
id: string;
|
|
6228
|
+
label?: any | null;
|
|
6229
|
+
};
|
|
6230
|
+
}>;
|
|
6231
|
+
} | null;
|
|
6232
|
+
permissions: {
|
|
6233
|
+
access_attribute: boolean;
|
|
6234
|
+
};
|
|
6235
|
+
}>;
|
|
6236
|
+
} | null;
|
|
6237
|
+
};
|
|
6092
6238
|
export type ExplorerAttributesQueryVariables = Exact<{
|
|
6093
6239
|
ids?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
|
|
6094
6240
|
}>;
|
|
@@ -6103,11 +6249,17 @@ export type ExplorerAttributesQuery = {
|
|
|
6103
6249
|
id: string;
|
|
6104
6250
|
label?: any | null;
|
|
6105
6251
|
} | null;
|
|
6252
|
+
permissions: {
|
|
6253
|
+
access_attribute: boolean;
|
|
6254
|
+
};
|
|
6106
6255
|
} | {
|
|
6107
6256
|
id: string;
|
|
6108
6257
|
type: AttributeType;
|
|
6109
6258
|
format?: AttributeFormat | null;
|
|
6110
6259
|
label?: any | null;
|
|
6260
|
+
permissions: {
|
|
6261
|
+
access_attribute: boolean;
|
|
6262
|
+
};
|
|
6111
6263
|
}>;
|
|
6112
6264
|
} | null;
|
|
6113
6265
|
};
|
|
@@ -6124,9 +6276,17 @@ export type ExplorerLinkAttributeQuery = {
|
|
|
6124
6276
|
id: string;
|
|
6125
6277
|
label?: any | null;
|
|
6126
6278
|
} | null;
|
|
6279
|
+
permissions: {
|
|
6280
|
+
access_attribute: boolean;
|
|
6281
|
+
edit_value: boolean;
|
|
6282
|
+
};
|
|
6127
6283
|
} | {
|
|
6128
6284
|
id: string;
|
|
6129
6285
|
multiple_values: boolean;
|
|
6286
|
+
permissions: {
|
|
6287
|
+
access_attribute: boolean;
|
|
6288
|
+
edit_value: boolean;
|
|
6289
|
+
};
|
|
6130
6290
|
}>;
|
|
6131
6291
|
} | null;
|
|
6132
6292
|
};
|
|
@@ -6154,6 +6314,9 @@ export type ExplorerLibraryDataQuery = {
|
|
|
6154
6314
|
label?: any | null;
|
|
6155
6315
|
};
|
|
6156
6316
|
};
|
|
6317
|
+
permissions: {
|
|
6318
|
+
delete_record: boolean;
|
|
6319
|
+
};
|
|
6157
6320
|
properties: Array<{
|
|
6158
6321
|
attributeId: string;
|
|
6159
6322
|
attributeProperties: {
|
|
@@ -6308,15 +6471,24 @@ export type GetLibraryAttributesQuery = {
|
|
|
6308
6471
|
label?: any | null;
|
|
6309
6472
|
}> | null;
|
|
6310
6473
|
} | null;
|
|
6474
|
+
permissions: {
|
|
6475
|
+
access_attribute: boolean;
|
|
6476
|
+
};
|
|
6311
6477
|
} | {
|
|
6312
6478
|
format?: AttributeFormat | null;
|
|
6313
6479
|
id: string;
|
|
6314
6480
|
type: AttributeType;
|
|
6315
6481
|
label?: any | null;
|
|
6482
|
+
permissions: {
|
|
6483
|
+
access_attribute: boolean;
|
|
6484
|
+
};
|
|
6316
6485
|
} | {
|
|
6317
6486
|
id: string;
|
|
6318
6487
|
type: AttributeType;
|
|
6319
6488
|
label?: any | null;
|
|
6489
|
+
permissions: {
|
|
6490
|
+
access_attribute: boolean;
|
|
6491
|
+
};
|
|
6320
6492
|
}> | null;
|
|
6321
6493
|
}>;
|
|
6322
6494
|
} | null;
|
|
@@ -6452,6 +6624,8 @@ export declare const TreeDetailsFragmentDoc: Apollo.DocumentNode;
|
|
|
6452
6624
|
export declare const TreeNodeChildFragmentDoc: Apollo.DocumentNode;
|
|
6453
6625
|
export declare const ViewDetailsFilterFragmentDoc: Apollo.DocumentNode;
|
|
6454
6626
|
export declare const ViewDetailsFragmentDoc: Apollo.DocumentNode;
|
|
6627
|
+
export declare const AttributesByLibLinkAttributeWithPermissionsFragmentDoc: Apollo.DocumentNode;
|
|
6628
|
+
export declare const AttributesByLibAttributeWithPermissionsFragmentDoc: Apollo.DocumentNode;
|
|
6455
6629
|
export declare const LinkAttributeDetailsFragmentDoc: Apollo.DocumentNode;
|
|
6456
6630
|
export declare const AttributePropertiesFragmentDoc: Apollo.DocumentNode;
|
|
6457
6631
|
export declare const PropertyValueFragmentDoc: Apollo.DocumentNode;
|
|
@@ -7868,6 +8042,32 @@ export declare function useSaveViewMutation(baseOptions?: Apollo.MutationHookOpt
|
|
|
7868
8042
|
export type SaveViewMutationHookResult = ReturnType<typeof useSaveViewMutation>;
|
|
7869
8043
|
export type SaveViewMutationResult = Apollo.MutationResult<SaveViewMutation>;
|
|
7870
8044
|
export type SaveViewMutationOptions = Apollo.BaseMutationOptions<SaveViewMutation, SaveViewMutationVariables>;
|
|
8045
|
+
export declare const GetAttributesByLibWithPermissionsDocument: Apollo.DocumentNode;
|
|
8046
|
+
/**
|
|
8047
|
+
* __useGetAttributesByLibWithPermissionsQuery__
|
|
8048
|
+
*
|
|
8049
|
+
* To run a query within a React component, call `useGetAttributesByLibWithPermissionsQuery` and pass it any options that fit your needs.
|
|
8050
|
+
* When your component renders, `useGetAttributesByLibWithPermissionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8051
|
+
* you can use to render your UI.
|
|
8052
|
+
*
|
|
8053
|
+
* @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;
|
|
8054
|
+
*
|
|
8055
|
+
* @example
|
|
8056
|
+
* const { data, loading, error } = useGetAttributesByLibWithPermissionsQuery({
|
|
8057
|
+
* variables: {
|
|
8058
|
+
* library: // value for 'library'
|
|
8059
|
+
* },
|
|
8060
|
+
* });
|
|
8061
|
+
*/
|
|
8062
|
+
export declare function useGetAttributesByLibWithPermissionsQuery(baseOptions: Apollo.QueryHookOptions<GetAttributesByLibWithPermissionsQuery, GetAttributesByLibWithPermissionsQueryVariables>): Apollo.QueryResult<GetAttributesByLibWithPermissionsQuery, Exact<{
|
|
8063
|
+
library: Scalars["String"];
|
|
8064
|
+
}>>;
|
|
8065
|
+
export declare function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetAttributesByLibWithPermissionsQuery, GetAttributesByLibWithPermissionsQueryVariables>): Apollo.LazyQueryResultTuple<GetAttributesByLibWithPermissionsQuery, Exact<{
|
|
8066
|
+
library: Scalars["String"];
|
|
8067
|
+
}>>;
|
|
8068
|
+
export type GetAttributesByLibWithPermissionsQueryHookResult = ReturnType<typeof useGetAttributesByLibWithPermissionsQuery>;
|
|
8069
|
+
export type GetAttributesByLibWithPermissionsLazyQueryHookResult = ReturnType<typeof useGetAttributesByLibWithPermissionsLazyQuery>;
|
|
8070
|
+
export type GetAttributesByLibWithPermissionsQueryResult = Apollo.QueryResult<GetAttributesByLibWithPermissionsQuery, GetAttributesByLibWithPermissionsQueryVariables>;
|
|
7871
8071
|
export declare const ExplorerAttributesDocument: Apollo.DocumentNode;
|
|
7872
8072
|
/**
|
|
7873
8073
|
* __useExplorerAttributesQuery__
|
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;
|
|
@@ -140,6 +141,7 @@ export var LogAction;
|
|
|
140
141
|
LogAction["PERMISSION_SAVE"] = "PERMISSION_SAVE";
|
|
141
142
|
LogAction["RECORD_DELETE"] = "RECORD_DELETE";
|
|
142
143
|
LogAction["RECORD_SAVE"] = "RECORD_SAVE";
|
|
144
|
+
LogAction["SDO_LOG_EXPORT_RECORD"] = "SDO_LOG_EXPORT_RECORD";
|
|
143
145
|
LogAction["TASKS_DELETE"] = "TASKS_DELETE";
|
|
144
146
|
LogAction["TREE_ADD_ELEMENT"] = "TREE_ADD_ELEMENT";
|
|
145
147
|
LogAction["TREE_DELETE"] = "TREE_DELETE";
|
|
@@ -880,6 +882,47 @@ export const ViewDetailsFragmentDoc = gql `
|
|
|
880
882
|
}
|
|
881
883
|
${ViewDetailsFilterFragmentDoc}
|
|
882
884
|
${RecordIdentityFragmentDoc}`;
|
|
885
|
+
export const AttributesByLibLinkAttributeWithPermissionsFragmentDoc = gql `
|
|
886
|
+
fragment AttributesByLibLinkAttributeWithPermissions on LinkAttribute {
|
|
887
|
+
linked_library {
|
|
888
|
+
id
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
`;
|
|
892
|
+
export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
|
|
893
|
+
fragment AttributesByLibAttributeWithPermissions on Attribute {
|
|
894
|
+
id
|
|
895
|
+
type
|
|
896
|
+
format
|
|
897
|
+
label
|
|
898
|
+
multiple_values
|
|
899
|
+
system
|
|
900
|
+
readonly
|
|
901
|
+
permissions {
|
|
902
|
+
access_attribute
|
|
903
|
+
}
|
|
904
|
+
...AttributesByLibLinkAttributeWithPermissions
|
|
905
|
+
... on TreeAttribute {
|
|
906
|
+
linked_tree {
|
|
907
|
+
id
|
|
908
|
+
label
|
|
909
|
+
libraries {
|
|
910
|
+
library {
|
|
911
|
+
id
|
|
912
|
+
label
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
... on StandardAttribute {
|
|
918
|
+
embedded_fields {
|
|
919
|
+
id
|
|
920
|
+
format
|
|
921
|
+
label
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
${AttributesByLibLinkAttributeWithPermissionsFragmentDoc}`;
|
|
883
926
|
export const LinkAttributeDetailsFragmentDoc = gql `
|
|
884
927
|
fragment LinkAttributeDetails on LinkAttribute {
|
|
885
928
|
label
|
|
@@ -958,6 +1001,9 @@ export const LibraryAttributeFragmentDoc = gql `
|
|
|
958
1001
|
id
|
|
959
1002
|
type
|
|
960
1003
|
label
|
|
1004
|
+
permissions {
|
|
1005
|
+
access_attribute
|
|
1006
|
+
}
|
|
961
1007
|
... on StandardAttribute {
|
|
962
1008
|
format
|
|
963
1009
|
}
|
|
@@ -2110,6 +2156,10 @@ export const RecordFormDocument = gql `
|
|
|
2110
2156
|
elements {
|
|
2111
2157
|
...RecordFormElement
|
|
2112
2158
|
}
|
|
2159
|
+
sidePanel {
|
|
2160
|
+
enable
|
|
2161
|
+
isOpenByDefault
|
|
2162
|
+
}
|
|
2113
2163
|
}
|
|
2114
2164
|
}
|
|
2115
2165
|
${RecordFormElementFragmentDoc}`;
|
|
@@ -2779,6 +2829,39 @@ export function useSaveViewMutation(baseOptions) {
|
|
|
2779
2829
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2780
2830
|
return Apollo.useMutation(SaveViewDocument, options);
|
|
2781
2831
|
}
|
|
2832
|
+
export const GetAttributesByLibWithPermissionsDocument = gql `
|
|
2833
|
+
query getAttributesByLibWithPermissions($library: String!) {
|
|
2834
|
+
attributes(filters: {libraries: [$library]}) {
|
|
2835
|
+
list {
|
|
2836
|
+
...AttributesByLibAttributeWithPermissions
|
|
2837
|
+
}
|
|
2838
|
+
}
|
|
2839
|
+
}
|
|
2840
|
+
${AttributesByLibAttributeWithPermissionsFragmentDoc}`;
|
|
2841
|
+
/**
|
|
2842
|
+
* __useGetAttributesByLibWithPermissionsQuery__
|
|
2843
|
+
*
|
|
2844
|
+
* To run a query within a React component, call `useGetAttributesByLibWithPermissionsQuery` and pass it any options that fit your needs.
|
|
2845
|
+
* When your component renders, `useGetAttributesByLibWithPermissionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2846
|
+
* you can use to render your UI.
|
|
2847
|
+
*
|
|
2848
|
+
* @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;
|
|
2849
|
+
*
|
|
2850
|
+
* @example
|
|
2851
|
+
* const { data, loading, error } = useGetAttributesByLibWithPermissionsQuery({
|
|
2852
|
+
* variables: {
|
|
2853
|
+
* library: // value for 'library'
|
|
2854
|
+
* },
|
|
2855
|
+
* });
|
|
2856
|
+
*/
|
|
2857
|
+
export function useGetAttributesByLibWithPermissionsQuery(baseOptions) {
|
|
2858
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2859
|
+
return Apollo.useQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
2860
|
+
}
|
|
2861
|
+
export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
2862
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2863
|
+
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
2864
|
+
}
|
|
2782
2865
|
export const ExplorerAttributesDocument = gql `
|
|
2783
2866
|
query ExplorerAttributes($ids: [ID!]) {
|
|
2784
2867
|
attributes(filters: {ids: $ids}) {
|
|
@@ -2787,6 +2870,9 @@ export const ExplorerAttributesDocument = gql `
|
|
|
2787
2870
|
type
|
|
2788
2871
|
format
|
|
2789
2872
|
label
|
|
2873
|
+
permissions {
|
|
2874
|
+
access_attribute
|
|
2875
|
+
}
|
|
2790
2876
|
...LinkAttributeDetails
|
|
2791
2877
|
}
|
|
2792
2878
|
}
|
|
@@ -2822,6 +2908,10 @@ export const ExplorerLinkAttributeDocument = gql `
|
|
|
2822
2908
|
list {
|
|
2823
2909
|
id
|
|
2824
2910
|
multiple_values
|
|
2911
|
+
permissions {
|
|
2912
|
+
access_attribute
|
|
2913
|
+
edit_value
|
|
2914
|
+
}
|
|
2825
2915
|
...LinkAttributeDetails
|
|
2826
2916
|
}
|
|
2827
2917
|
}
|
|
@@ -2863,6 +2953,9 @@ export const ExplorerLibraryDataDocument = gql `
|
|
|
2863
2953
|
totalCount
|
|
2864
2954
|
list {
|
|
2865
2955
|
...RecordIdentity
|
|
2956
|
+
permissions {
|
|
2957
|
+
delete_record
|
|
2958
|
+
}
|
|
2866
2959
|
properties(attributeIds: $attributeIds) {
|
|
2867
2960
|
attributeId
|
|
2868
2961
|
attributeProperties {
|