@leav/ui 0.4.0 → 1.0.0-e073ed8e
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/application.d.ts +3 -0
- package/dist/__mocks__/common/filter.d.ts +4 -0
- package/dist/__mocks__/common/form.js +5 -1
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/__mocks__/common/import.d.ts +2 -0
- package/dist/__mocks__/common/label.d.ts +4 -0
- package/dist/__mocks__/common/library.d.ts +109 -0
- package/dist/__mocks__/common/mockSearchContextProvider.d.ts +6 -0
- package/dist/__mocks__/common/record.d.ts +15 -0
- package/dist/__mocks__/common/tree.d.ts +3 -0
- package/dist/__mocks__/common/treeElements.d.ts +11 -0
- package/dist/__mocks__/common/value.d.ts +4 -0
- package/dist/__mocks__/common/value.js +0 -11
- package/dist/__mocks__/common/value.js.map +1 -1
- package/dist/__mocks__/common/versionProfile.d.ts +2 -0
- package/dist/__mocks__/common/view.d.ts +2 -0
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.d.ts +5 -0
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.d.ts +5 -0
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.d.ts +19 -0
- package/dist/__mocks__/react-i18next.d.ts +31 -0
- package/dist/_gqlTypes/index.d.ts +1753 -263
- package/dist/_gqlTypes/index.js +539 -42
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/applications/applicationDetailsFragment.d.ts +1 -0
- package/dist/_queries/applications/checkApplicationExistence.d.ts +1 -0
- package/dist/_queries/applications/getApplicationDetails.d.ts +1 -0
- package/dist/_queries/applications/getApplicationsModulesQuery.d.ts +1 -0
- package/dist/_queries/applications/saveApplicationMutation.d.ts +1 -0
- package/dist/_queries/attributes/attributeDetailsFragment.d.ts +1 -0
- package/dist/_queries/attributes/attributeDetailsFragment.js +1 -0
- package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
- package/dist/_queries/attributes/checkAttributeExistenceQuery.d.ts +1 -0
- package/dist/_queries/attributes/deleteAttributeMutation.d.ts +1 -0
- package/dist/_queries/attributes/getAttributeByIdQuery.d.ts +1 -0
- package/dist/_queries/attributes/getAttributeWithEmbeddedFields.d.ts +2 -0
- package/dist/_queries/attributes/getAttributesByLib.d.ts +1 -0
- package/dist/_queries/attributes/getAttributesQuery.d.ts +1 -0
- package/dist/_queries/attributes/getVersionProfilesQuery.d.ts +1 -0
- package/dist/_queries/attributes/getVersionableAttributesByLibrary.d.ts +1 -0
- package/dist/_queries/attributes/saveAttributeMutation.d.ts +1 -0
- package/dist/_queries/export/exportQuery.d.ts +1 -0
- package/dist/_queries/files/createDirectory.d.ts +1 -0
- package/dist/_queries/files/forcePreviewsGenerationMutation.d.ts +1 -0
- package/dist/_queries/files/getDirectoryDataQuery.d.ts +1 -0
- package/dist/_queries/files/getUploadUpdates.d.ts +1 -0
- package/dist/_queries/files/uploadMutation.d.ts +1 -0
- package/dist/_queries/import/importExcel.d.ts +1 -0
- package/dist/_queries/libraries/checkLibraryExistenceQuery.d.ts +1 -0
- package/dist/_queries/libraries/deleteLibraryMutation.d.ts +1 -0
- package/dist/_queries/libraries/getLibrariesQuery.d.ts +1 -0
- package/dist/_queries/libraries/getLibraryByIdQuery.d.ts +1 -0
- package/dist/_queries/libraries/getLibraryPermissionsQuery.d.ts +1 -0
- package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.d.ts +1 -0
- package/dist/_queries/libraries/libraryDetailsFragment.d.ts +1 -0
- package/dist/_queries/libraries/saveLibraryMutation.d.ts +1 -0
- package/dist/_queries/permissions/isAllowedQuery.d.ts +1 -0
- 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/createRecordMutation.d.ts +2 -0
- package/dist/_queries/records/deactivateRecordsMutation.d.ts +1 -0
- package/dist/_queries/records/doesFileExistAsChild.d.ts +1 -0
- package/dist/_queries/records/getFileDataQuery.d.ts +14 -0
- package/dist/_queries/records/getRecordFormQuery.d.ts +1 -0
- package/dist/_queries/records/getRecordFormQuery.js +13 -0
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/records/getRecordPropertiesQuery.d.ts +83 -0
- package/dist/_queries/records/getRecordUpdatesSubscription.d.ts +1 -0
- package/dist/_queries/records/getRecordsFromLibraryQuery.d.ts +22 -0
- package/dist/_queries/records/indexRecordsMutation.d.ts +1 -0
- package/dist/_queries/records/recordFormAttributeFragment.d.ts +1 -0
- package/dist/_queries/tasks/cancelTaskMutation.d.ts +1 -0
- package/dist/_queries/trees/checkTreeExistenceQuery.d.ts +1 -0
- package/dist/_queries/trees/deleteTreeMutation.d.ts +1 -0
- package/dist/_queries/trees/getTreeByIdQuery.d.ts +1 -0
- package/dist/_queries/trees/getTreeLibraries.d.ts +1 -0
- package/dist/_queries/trees/getTreesQuery.d.ts +1 -0
- package/dist/_queries/trees/saveTreeMutation.d.ts +1 -0
- package/dist/_queries/trees/treeDetailsFragment.d.ts +1 -0
- package/dist/_queries/trees/treeNodeChildrenQuery.d.ts +1 -0
- package/dist/_queries/trees/treeNodeChildrenQuery.js +12 -2
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/_queries/userData/getUserData.d.ts +1 -0
- package/dist/_queries/userData/saveUserData.d.ts +1 -0
- package/dist/_queries/values/deleteValueMutation.d.ts +1 -0
- package/dist/_queries/values/saveValueBatchMutation.d.ts +1 -0
- package/dist/_queries/values/valueDetailsFragment.d.ts +1 -0
- package/dist/_queries/values/valuesVersionFragment.d.ts +1 -0
- package/dist/_queries/views/deleteViewMutation.d.ts +8 -0
- package/dist/_queries/views/getViewById.d.ts +1 -0
- package/dist/_queries/views/getViewsListQuery.d.ts +1 -0
- package/dist/_queries/views/saveViewMutation.d.ts +2 -0
- package/dist/_queries/views/viewDetailsFragment.d.ts +2 -0
- package/dist/_utils/__mocks__/isDevEnv.d.ts +1 -0
- 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/_utils/getFiltersFromRequest.d.ts +3 -0
- package/dist/_utils/getRequestFromFilter.d.ts +3 -0
- package/dist/_utils/index.d.ts +33 -0
- package/dist/_utils/isDevEnv.d.ts +1 -0
- package/dist/_utils/typeguards.d.ts +2 -0
- package/dist/antdTheme/types.d.ts +2 -0
- package/dist/components/AttributePicker/AttributePicker.d.ts +12 -0
- package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +10 -0
- package/dist/components/AttributePicker/AttributesList/index.d.ts +1 -0
- package/dist/components/AttributePicker/index.d.ts +1 -0
- package/dist/components/AttributesSelectionList/Attribute/Attribute.d.ts +3 -0
- package/dist/components/AttributesSelectionList/Attribute/index.d.ts +2 -0
- package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +10 -0
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.d.ts +7 -0
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.d.ts +2 -0
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.d.ts +2 -0
- package/dist/components/AttributesSelectionList/SelectedAttributesList/index.d.ts +2 -0
- package/dist/components/AttributesSelectionList/_types.d.ts +8 -0
- package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.d.ts +3 -0
- package/dist/components/AttributesSelectionList/index.d.ts +2 -0
- package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.d.ts +11 -0
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.d.ts +33 -0
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.d.ts +10 -0
- package/dist/components/AttributesSelectionList/sharedComponents.d.ts +803 -0
- package/dist/components/BasicButton/BasicButton.d.ts +7 -0
- package/dist/components/BasicButton/index.d.ts +1 -0
- package/dist/components/CreateDirectory/CreateDirectory.d.ts +9 -0
- package/dist/components/CreateDirectory/CreateDirectory.js +4 -4
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/CreateDirectory/index.d.ts +1 -0
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +10 -0
- package/dist/components/DeactivateRecordsModal/index.d.ts +1 -0
- package/dist/components/Dimmer/Dimmer.d.ts +5 -0
- package/dist/components/Dimmer/index.d.ts +2 -0
- package/dist/components/EditApplication/EditApplication.d.ts +3 -0
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.d.ts +7 -0
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +11 -0
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.d.ts +6 -0
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.d.ts +2 -0
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.d.ts +2 -0
- package/dist/components/EditApplication/EditApplicationInfo/index.d.ts +1 -0
- package/dist/components/EditApplication/_types.d.ts +8 -0
- package/dist/components/EditApplication/index.d.ts +2 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.d.ts +8 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.d.ts +8 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +12 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.d.ts +9 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.d.ts +9 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.d.ts +9 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttribute/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +11 -0
- package/dist/components/EditAttributeModal/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +9 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.d.ts +6 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.d.ts +15 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.d.ts +8 -0
- 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/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.d.ts +7 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.d.ts +8 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.d.ts +8 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +12 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.d.ts +7 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +10 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.d.ts +8 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +8 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +12 -0
- package/dist/components/EditLibraryModal/index.d.ts +1 -0
- package/dist/components/EditTreeModal/EditTree/EditTree.d.ts +8 -0
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.d.ts +8 -0
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.d.ts +9 -0
- 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/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.d.ts +1 -0
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.d.ts +1 -0
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.d.ts +1 -0
- package/dist/components/EditTreeModal/EditTree/index.d.ts +1 -0
- package/dist/components/EditTreeModal/EditTreeModal.d.ts +11 -0
- package/dist/components/EditTreeModal/index.d.ts +1 -0
- package/dist/components/EntityCard/EntityCard.d.ts +16 -0
- package/dist/components/EntityCard/_types.d.ts +6 -0
- package/dist/components/EntityCard/index.d.ts +2 -0
- package/dist/components/EntityPreview/EntityPreview.d.ts +4 -0
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.d.ts +3 -0
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.d.ts +5 -0
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.d.ts +2 -0
- package/dist/components/EntityPreview/EntityPreviewList/index.d.ts +2 -0
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +3 -0
- package/dist/components/EntityPreview/EntityPreviewTile/index.d.ts +2 -0
- package/dist/components/EntityPreview/_types.d.ts +20 -0
- package/dist/components/EntityPreview/index.d.ts +2 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +15 -0
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.d.ts +9 -0
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +4 -3
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.d.ts +2 -0
- package/dist/components/ErrorBoundary/index.d.ts +1 -0
- package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +10 -0
- package/dist/components/ErrorDisplay/index.d.ts +1 -0
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +6 -0
- package/dist/components/ErrorMessage/index.d.ts +2 -0
- 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 +40 -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 +15 -5
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/Explorer/IdCard.d.ts +7 -0
- 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 +2 -2
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js +99 -31
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +4 -2
- package/dist/components/Explorer/_queries/useExplorerData.js +46 -31
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +82 -10
- package/dist/components/Explorer/_types.js +5 -0
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditItemAction.d.ts +2 -1
- package/dist/components/Explorer/actions-item/useEditItemAction.js +6 -4
- 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 +6 -5
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.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/index.d.ts +9 -0
- 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/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/CommonFilterItem.js +4 -4
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/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 +13 -3
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +81 -12
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.d.ts +8 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +21 -8
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js +9 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.d.ts +9 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js +131 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js +69 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +6 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +43 -4
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/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/SidePanel.d.ts +2 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.d.ts +1 -0
- 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/SettingItem.d.ts +9 -0
- 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/prepareViewForRequest.js +29 -8
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/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/sort-items/SortItems.d.ts +4 -0
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.d.ts +10 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.d.ts +4 -0
- 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 +6 -3
- 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 +12 -3
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +87 -14
- 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 +44 -19
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/ExportModal/ExportModal.d.ts +10 -0
- package/dist/components/ExportModal/index.d.ts +1 -0
- package/dist/components/FieldsGroup/FieldsGroup.d.ts +9 -0
- package/dist/components/FieldsGroup/index.d.ts +2 -0
- package/dist/components/FloatingMenu/FloatingMenu.d.ts +10 -0
- package/dist/components/FloatingMenu/_types.d.ts +13 -0
- package/dist/components/FloatingMenu/index.d.ts +2 -0
- package/dist/components/ImageLoading/ImageLoading.d.ts +5 -0
- package/dist/components/ImageLoading/index.d.ts +1 -0
- package/dist/components/ImageMissing/ImageMissing.d.ts +5 -0
- package/dist/components/ImageMissing/index.d.ts +1 -0
- package/dist/components/ImportModal/ImportModal.d.ts +10 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.d.ts +8 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.d.ts +6 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.d.ts +7 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +10 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +12 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalConfigStep/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.d.ts +5 -0
- package/dist/components/ImportModal/ImportModalDoneStep/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalProcessingStep/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.d.ts +6 -0
- package/dist/components/ImportModal/ImportModalSelectFileStep/index.d.ts +2 -0
- package/dist/components/ImportModal/_types.d.ts +34 -0
- package/dist/components/ImportModal/importReducer/ImportReducerContext.d.ts +10 -0
- package/dist/components/ImportModal/importReducer/importReducer.d.ts +38 -0
- package/dist/components/ImportModal/importReducer/index.d.ts +2 -0
- package/dist/components/ImportModal/index.d.ts +1 -0
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.d.ts +13 -0
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -0
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.d.ts +2 -0
- package/dist/components/LibraryItemsList/DisplayOptions/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.d.ts +2 -0
- package/dist/components/LibraryItemsList/DisplayTypeSelector/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +13 -0
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +1 -12
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.d.ts +13 -0
- 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.d.ts +2 -0
- 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/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.d.ts +7 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.d.ts +3 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.d.ts +3 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.d.ts +3 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.d.ts +3 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.d.ts +3 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.d.ts +8 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.d.ts +6 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.d.ts +14 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.d.ts +3 -0
- package/dist/components/LibraryItemsList/IconViewType/IconViewType.d.ts +8 -0
- package/dist/components/LibraryItemsList/IconViewType/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsList.d.ts +14 -0
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.d.ts +16 -0
- package/dist/components/LibraryItemsList/LibraryItemsListContent/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.d.ts +6 -0
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.d.ts +8 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.d.ts +7 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.d.ts +8 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.d.ts +8 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.d.ts +9 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.d.ts +5 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.d.ts +5 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.d.ts +3 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.d.ts +12 -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/LibraryItemsListTable/Cell/types.d.ts +12 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.d.ts +6 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.d.ts +9 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.d.ts +9 -0
- package/dist/components/LibraryItemsList/MenuItemList/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.d.ts +5 -0
- package/dist/components/LibraryItemsList/MenuItemListSelected/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuSelection/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuView/MenuView.d.ts +6 -0
- package/dist/components/LibraryItemsList/MenuView/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/SearchItems/SearchItems.d.ts +2 -0
- package/dist/components/LibraryItemsList/SearchItems/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/Sidebar/Sidebar.d.ts +2 -0
- package/dist/components/LibraryItemsList/Sidebar/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.d.ts +6 -0
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.d.ts +2 -0
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.d.ts +3 -0
- package/dist/components/LibraryItemsList/TileDisplay/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.d.ts +2 -0
- package/dist/components/LibraryItemsList/VersionsPanel/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.d.ts +9 -0
- package/dist/components/LibraryItemsList/ViewPanel/EditView/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/ViewPanel/View/View.d.ts +9 -0
- package/dist/components/LibraryItemsList/ViewPanel/View/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.d.ts +2 -0
- package/dist/components/LibraryItemsList/ViewPanel/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/constants.d.ts +12 -0
- package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.d.ts +3 -0
- package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.d.ts +3 -0
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.d.ts +4 -0
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.d.ts +5 -0
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.d.ts +6 -0
- package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.d.ts +2 -0
- package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.d.ts +2 -0
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.d.ts +8 -0
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.d.ts +7 -0
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.d.ts +5 -0
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.d.ts +7 -0
- package/dist/components/LibraryItemsList/index.d.ts +1 -0
- package/dist/components/LibraryItemsList/manageItems.d.ts +11 -0
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.d.ts +7 -0
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.d.ts +12 -0
- package/dist/components/LibraryItemsList/shared/shared.utils.d.ts +4 -0
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +9 -0
- package/dist/components/LibraryPicker/LibrariesList/index.d.ts +1 -0
- package/dist/components/LibraryPicker/LibraryPicker.d.ts +11 -0
- package/dist/components/LibraryPicker/index.d.ts +1 -0
- package/dist/components/List/List.d.ts +12 -0
- package/dist/components/List/index.d.ts +2 -0
- package/dist/components/Loading/Loading.d.ts +5 -0
- package/dist/components/Loading/index.d.ts +1 -0
- package/dist/components/RecordCard/RecordCard.d.ts +3 -0
- package/dist/components/RecordCard/_types.d.ts +15 -0
- package/dist/components/RecordCard/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +4 -5
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +55 -238
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordBtn/index.d.ts +2 -0
- 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 +3 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +25 -23
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +6 -11
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/formConstants.d.ts +2 -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/helpers/extractFormElements/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/getActiveFieldValues.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/isCurrentVersion.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.d.ts +2 -0
- 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/useExecuteDeleteValueMutation.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.d.ts +3 -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/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.d.ts +52 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.d.ts +10 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +13 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.d.ts +2 -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/Container/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +6 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +40 -12
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +14 -0
- 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/index.d.ts +2 -0
- 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/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.d.ts +4 -0
- 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.d.ts +4 -0
- 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.d.ts +4 -0
- 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.d.ts +4 -0
- 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.d.ts +4 -0
- 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.d.ts +4 -0
- 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.d.ts +4 -0
- 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.d.ts +4 -0
- 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/StandardField/StandardFieldValue/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +6 -0
- 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/index.d.ts +2 -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 +133 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.d.ts +5 -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 +88 -50
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +53 -13
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/index.d.ts +1 -0
- 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/PropertiesList/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.d.ts +2 -0
- 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.d.ts +2 -0
- 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/EditRecordSidebar/ValuesVersions/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordSidebar/index.d.ts +2 -0
- package/dist/components/RecordEdition/_types.d.ts +2 -0
- 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 +30 -7
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +66 -6
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.d.ts +7 -0
- package/dist/components/RecordEdition/editRecordReducer/index.d.ts +2 -0
- package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.d.ts +1 -0
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.d.ts +1 -0
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.d.ts +2 -0
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.d.ts +2 -0
- 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/RecordPreviewWithModal/FileModal/FileModal.d.ts +8 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.d.ts +3 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.d.ts +3 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.d.ts +6 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.d.ts +6 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.d.ts +3 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.d.ts +6 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.d.ts +3 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.d.ts +7 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/_constants.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.d.ts +9 -0
- package/dist/components/RecordPreviewWithModal/index.d.ts +1 -0
- package/dist/components/SearchModal/SearchModal.d.ts +10 -0
- package/dist/components/SearchModal/index.d.ts +1 -0
- 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 +14 -0
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.d.ts +7 -0
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +6 -3
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.d.ts +2 -0
- package/dist/components/SimpleErrorBoundary/index.d.ts +1 -0
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.d.ts +7 -0
- package/dist/components/SubmitStateNotifier/_types.d.ts +1 -0
- package/dist/components/SubmitStateNotifier/index.d.ts +2 -0
- package/dist/components/TreePicker/TreePicker.d.ts +11 -0
- package/dist/components/TreePicker/TreesList/TreesList.d.ts +9 -0
- package/dist/components/TreePicker/TreesList/index.d.ts +1 -0
- package/dist/components/TreePicker/index.d.ts +1 -0
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +10 -0
- package/dist/components/TriggerPreviewsGenerationModal/index.d.ts +1 -0
- package/dist/components/UploadFiles/UploadFiles.d.ts +13 -0
- package/dist/components/UploadFiles/UploadFiles.js +4 -4
- package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
- package/dist/components/UploadFiles/index.d.ts +1 -0
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +9 -0
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.d.ts +10 -0
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/index.d.ts +2 -0
- package/dist/components/ValuesVersionConfigurator/index.d.ts +2 -0
- package/dist/components/index.d.ts +38 -0
- 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/EditRecordModalContext/EditRecordModalContext.d.ts +5 -0
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.d.ts +2 -0
- package/dist/contexts/EditRecordModalContext/index.d.ts +2 -0
- package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.d.ts +1 -0
- package/dist/contexts/LangContext/LangContext.d.ts +2 -0
- package/dist/contexts/LangContext/LangContext.js +2 -2
- package/dist/contexts/LangContext/LangContext.js.map +1 -1
- package/dist/contexts/LangContext/index.d.ts +2 -0
- package/dist/contexts/LangContext/types.d.ts +6 -0
- package/dist/contexts/UserContext/UserContext.d.ts +3 -0
- package/dist/contexts/UserContext/index.d.ts +2 -0
- package/dist/contexts/UserContext/types.d.ts +9 -0
- package/dist/contexts/index.d.ts +2 -0
- package/dist/gqlFragments/index.d.ts +1 -0
- package/dist/gqlFragments/recordIdentityFragment.d.ts +1 -0
- package/dist/gqlPossibleTypes/index.d.ts +20 -0
- package/dist/hooks/index.d.ts +17 -0
- package/dist/hooks/index.js +3 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useAntdLocale/index.d.ts +1 -0
- package/dist/hooks/useAntdLocale/useAntdLocale.d.ts +3 -0
- package/dist/hooks/useAppLang/index.d.ts +1 -0
- package/dist/hooks/useAppLang/useAppLang.d.ts +5 -0
- package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
- package/dist/hooks/useAuth/index.d.ts +1 -0
- package/dist/hooks/useAuth/useAuth.d.ts +5 -0
- package/dist/hooks/useCanEditRecord/index.d.ts +1 -0
- package/dist/hooks/useCanEditRecord/useCanEditRecord.d.ts +8 -0
- package/dist/hooks/useDebouncedValue/index.d.ts +1 -0
- package/dist/hooks/useDebouncedValue/useDebouncedValue.d.ts +1 -0
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.d.ts +6 -0
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.d.ts +5 -0
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.d.ts +8 -0
- package/dist/hooks/useGetRecordForm/index.d.ts +2 -0
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +55 -0
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +3 -3
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/index.d.ts +1 -0
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.d.ts +4 -0
- 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/useLang/__mocks__/index.d.ts +2 -0
- package/dist/hooks/useLang/__mocks__/useLang.d.ts +6 -0
- package/dist/hooks/useLang/index.d.ts +2 -0
- package/dist/hooks/useLang/useLang.d.ts +3 -0
- package/dist/hooks/useLibraryVersionTrees/index.d.ts +1 -0
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.d.ts +10 -0
- package/dist/hooks/useLocalStorage/index.d.ts +1 -0
- package/dist/hooks/useLocalStorage/useLocalStorage.d.ts +2 -0
- package/dist/hooks/useLoginChecker/index.d.ts +1 -0
- package/dist/hooks/useLoginChecker/useLoginChecker.d.ts +3 -0
- package/dist/hooks/useRecordsConsultationHistory/index.d.ts +2 -0
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.d.ts +1 -0
- package/dist/hooks/useRedirectToLogin/index.d.ts +1 -0
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.d.ts +3 -0
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
- package/dist/hooks/useRefreshFieldValues/index.d.ts +1 -0
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.d.ts +7 -0
- package/dist/hooks/useSharedTranslation/__mocks__/index.d.ts +1 -0
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.d.ts +7 -0
- package/dist/hooks/useSharedTranslation/index.d.ts +1 -0
- package/dist/hooks/useSharedTranslation/useSharedTranslation.d.ts +2 -0
- package/dist/hooks/useUser/index.d.ts +1 -0
- package/dist/hooks/useUser/useUser.d.ts +1 -0
- package/dist/hooks/useValuesCacheUpdate/index.d.ts +1 -0
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.d.ts +4 -0
- package/dist/index.d.ts +9 -0
- package/dist/locales/en/shared.json +34 -13
- package/dist/locales/fr/shared.json +33 -12
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.d.ts +4 -0
- package/dist/testing/MockedLangContextProvider/index.d.ts +2 -0
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.d.ts +4 -0
- package/dist/testing/MockedUserContextProvider/index.d.ts +2 -0
- package/dist/testing/index.d.ts +1 -0
- package/dist/types/attributes.d.ts +22 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/misc.d.ts +2 -0
- package/dist/types/records.d.ts +25 -0
- package/dist/types/scalars.d.ts +1 -0
- package/dist/types/search.d.ts +205 -0
- package/dist/types/trees.d.ts +18 -0
- package/dist/types/values.d.ts +7 -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/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.d.ts +0 -10
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js +0 -75
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.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.js +0 -31
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +0 -1
- 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.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.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.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.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.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.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.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.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.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js.map +0 -1
- 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.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.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.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.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.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
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
import { IRecordIdentityWhoAmI } from '../../../types
|
|
2
|
-
import { IValueVersion } from '../../../types/values';
|
|
1
|
+
import { IRecordIdentityWhoAmI, SystemTranslation, IValueVersion } from '../../../types';
|
|
3
2
|
import { RecordFormAttributeFragment, RecordUpdateSubscription, ValueDetailsFragment } from '../../../_gqlTypes';
|
|
4
|
-
import { RecordFormElementsValueStandardValue } from '../../../hooks/useGetRecordForm';
|
|
5
|
-
import { SystemTranslation } from '../../../types';
|
|
3
|
+
import { RecordFormElementsValueLinkValue, RecordFormElementsValueStandardValue, RecordFormElementsValueTreeValue } from '../../../hooks/useGetRecordForm';
|
|
6
4
|
export interface IRecordPropertyWithAttribute {
|
|
7
5
|
attribute: RecordFormAttributeFragment;
|
|
8
6
|
globalValues?: Array<RecordFormElementsValueStandardValue['payload']>;
|
|
9
7
|
calculatedValue?: RecordFormElementsValueStandardValue['payload'];
|
|
10
8
|
}
|
|
9
|
+
export declare const EditRecordSidebarContentTypeMap: {
|
|
10
|
+
readonly SUMMARY: "summary";
|
|
11
|
+
readonly VALUE_DETAILS: "valueDetails";
|
|
12
|
+
readonly VALUES_VERSIONS: "valuesVersions";
|
|
13
|
+
readonly NONE: "none";
|
|
14
|
+
};
|
|
15
|
+
type EditRecordSidebarContentType = (typeof EditRecordSidebarContentTypeMap)[keyof typeof EditRecordSidebarContentTypeMap];
|
|
11
16
|
export interface IEditRecordReducerState {
|
|
12
17
|
record: IRecordIdentityWhoAmI;
|
|
13
18
|
libraryId: string;
|
|
14
19
|
libraryLabel: SystemTranslation | null;
|
|
15
20
|
activeAttribute: IRecordPropertyWithAttribute;
|
|
16
|
-
sidebarContent:
|
|
21
|
+
sidebarContent: EditRecordSidebarContentType;
|
|
22
|
+
enableSidebar: boolean;
|
|
23
|
+
isOpenSidebar: boolean;
|
|
17
24
|
sidebarDefaultHidden?: boolean;
|
|
18
25
|
valuesVersion: IValueVersion;
|
|
19
26
|
originValuesVersion: IValueVersion;
|
|
@@ -30,7 +37,11 @@ export declare enum EditRecordReducerActionsTypes {
|
|
|
30
37
|
SET_RECORD = "SET_RECORD",
|
|
31
38
|
SET_LIBRARY_LABEL = "SET_LIBRARY_LABEL",
|
|
32
39
|
SET_ACTIVE_VALUE = "SET_ACTIVE_VALUE",
|
|
40
|
+
INITIALIZE_SIDEBAR = "INITIALIZE_SIDEBAR",
|
|
41
|
+
SET_ENABLE_SIDEBAR = "SET_ENABLE_SIDEBAR",
|
|
33
42
|
SET_SIDEBAR_CONTENT = "SET_SIDEBAR_CONTENT",
|
|
43
|
+
SET_SIDEBAR_IS_OPEN = "SET_SIDEBAR_IS_OPEN",
|
|
44
|
+
SET_SIDEBAR_DEFAULT_HIDDEN = "SET_SIDEBAR_DEFAULT_HIDDEN",
|
|
34
45
|
SET_VALUES_VERSION = "SET_VALUES_VERSION",
|
|
35
46
|
REQUEST_REFRESH = "REQUEST_REFRESH",
|
|
36
47
|
REFRESH_DONE = "REFRESH_DONE",
|
|
@@ -46,10 +57,23 @@ export type IEditRecordReducerActions = {
|
|
|
46
57
|
} | {
|
|
47
58
|
type: EditRecordReducerActionsTypes.SET_ACTIVE_VALUE;
|
|
48
59
|
attribute?: IEditRecordReducerState['activeAttribute']['attribute'];
|
|
49
|
-
values?: RecordFormElementsValueStandardValue[];
|
|
60
|
+
values?: RecordFormElementsValueStandardValue[] | RecordFormElementsValueLinkValue[] | RecordFormElementsValueTreeValue[];
|
|
61
|
+
} | {
|
|
62
|
+
type: EditRecordReducerActionsTypes.INITIALIZE_SIDEBAR;
|
|
63
|
+
enabled: IEditRecordReducerState['enableSidebar'];
|
|
64
|
+
isOpenByDefault: IEditRecordReducerState['sidebarDefaultHidden'];
|
|
65
|
+
} | {
|
|
66
|
+
type: EditRecordReducerActionsTypes.SET_ENABLE_SIDEBAR;
|
|
67
|
+
enabled: IEditRecordReducerState['enableSidebar'];
|
|
68
|
+
} | {
|
|
69
|
+
type: EditRecordReducerActionsTypes.SET_SIDEBAR_IS_OPEN;
|
|
70
|
+
isOpen: IEditRecordReducerState['isOpenSidebar'];
|
|
50
71
|
} | {
|
|
51
72
|
type: EditRecordReducerActionsTypes.SET_SIDEBAR_CONTENT;
|
|
52
73
|
content: IEditRecordReducerState['sidebarContent'];
|
|
74
|
+
} | {
|
|
75
|
+
type: EditRecordReducerActionsTypes.SET_SIDEBAR_DEFAULT_HIDDEN;
|
|
76
|
+
value: IEditRecordReducerState['sidebarDefaultHidden'];
|
|
53
77
|
} | {
|
|
54
78
|
type: EditRecordReducerActionsTypes.SET_VALUES_VERSION;
|
|
55
79
|
valuesVersion: IEditRecordReducerState['valuesVersion'];
|
|
@@ -64,7 +88,6 @@ export type IEditRecordReducerActions = {
|
|
|
64
88
|
} | {
|
|
65
89
|
type: EditRecordReducerActionsTypes.CLEAR_EXTERNAL_UPDATE;
|
|
66
90
|
};
|
|
67
|
-
export type EditRecordDispatchFunc = (action: IEditRecordReducerActions) => void;
|
|
68
91
|
export declare const initialState: IEditRecordReducerState;
|
|
69
92
|
declare const editRecordReducer: (state: IEditRecordReducerState, action: IEditRecordReducerActions) => IEditRecordReducerState;
|
|
70
93
|
export default editRecordReducer;
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
+
import { TypeGuards } from '../../../components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards';
|
|
2
|
+
export const EditRecordSidebarContentTypeMap = {
|
|
3
|
+
SUMMARY: 'summary',
|
|
4
|
+
VALUE_DETAILS: 'valueDetails',
|
|
5
|
+
VALUES_VERSIONS: 'valuesVersions',
|
|
6
|
+
NONE: 'none'
|
|
7
|
+
};
|
|
1
8
|
export var EditRecordReducerActionsTypes;
|
|
2
9
|
(function (EditRecordReducerActionsTypes) {
|
|
3
10
|
EditRecordReducerActionsTypes["SET_RECORD"] = "SET_RECORD";
|
|
4
11
|
EditRecordReducerActionsTypes["SET_LIBRARY_LABEL"] = "SET_LIBRARY_LABEL";
|
|
5
12
|
EditRecordReducerActionsTypes["SET_ACTIVE_VALUE"] = "SET_ACTIVE_VALUE";
|
|
13
|
+
EditRecordReducerActionsTypes["INITIALIZE_SIDEBAR"] = "INITIALIZE_SIDEBAR";
|
|
14
|
+
EditRecordReducerActionsTypes["SET_ENABLE_SIDEBAR"] = "SET_ENABLE_SIDEBAR";
|
|
6
15
|
EditRecordReducerActionsTypes["SET_SIDEBAR_CONTENT"] = "SET_SIDEBAR_CONTENT";
|
|
16
|
+
EditRecordReducerActionsTypes["SET_SIDEBAR_IS_OPEN"] = "SET_SIDEBAR_IS_OPEN";
|
|
17
|
+
EditRecordReducerActionsTypes["SET_SIDEBAR_DEFAULT_HIDDEN"] = "SET_SIDEBAR_DEFAULT_HIDDEN";
|
|
7
18
|
EditRecordReducerActionsTypes["SET_VALUES_VERSION"] = "SET_VALUES_VERSION";
|
|
8
19
|
EditRecordReducerActionsTypes["REQUEST_REFRESH"] = "REQUEST_REFRESH";
|
|
9
20
|
EditRecordReducerActionsTypes["REFRESH_DONE"] = "REFRESH_DONE";
|
|
@@ -15,7 +26,9 @@ export const initialState = {
|
|
|
15
26
|
libraryId: null,
|
|
16
27
|
libraryLabel: null,
|
|
17
28
|
activeAttribute: null,
|
|
18
|
-
|
|
29
|
+
enableSidebar: false,
|
|
30
|
+
isOpenSidebar: false,
|
|
31
|
+
sidebarContent: EditRecordSidebarContentTypeMap.NONE,
|
|
19
32
|
sidebarDefaultHidden: false,
|
|
20
33
|
valuesVersion: null,
|
|
21
34
|
originValuesVersion: null,
|
|
@@ -32,22 +45,68 @@ const editRecordReducer = (state, action) => {
|
|
|
32
45
|
return { ...state, record: action.record };
|
|
33
46
|
case EditRecordReducerActionsTypes.SET_LIBRARY_LABEL:
|
|
34
47
|
return { ...state, libraryLabel: action.label };
|
|
48
|
+
case EditRecordReducerActionsTypes.INITIALIZE_SIDEBAR: {
|
|
49
|
+
const { enabled, isOpenByDefault } = action;
|
|
50
|
+
// If the sidebar is not enabled, don't check for isOpenByDefault
|
|
51
|
+
const isOpen = enabled && isOpenByDefault;
|
|
52
|
+
return {
|
|
53
|
+
...state,
|
|
54
|
+
enableSidebar: enabled,
|
|
55
|
+
sidebarDefaultHidden: !isOpenByDefault,
|
|
56
|
+
sidebarContent: isOpen ? EditRecordSidebarContentTypeMap.SUMMARY : EditRecordSidebarContentTypeMap.NONE,
|
|
57
|
+
isOpenSidebar: isOpen
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
case EditRecordReducerActionsTypes.SET_ENABLE_SIDEBAR:
|
|
61
|
+
return { ...state, enableSidebar: action.enabled };
|
|
62
|
+
case EditRecordReducerActionsTypes.SET_SIDEBAR_DEFAULT_HIDDEN:
|
|
63
|
+
return { ...state, sidebarDefaultHidden: action.value };
|
|
35
64
|
case EditRecordReducerActionsTypes.SET_ACTIVE_VALUE:
|
|
36
|
-
const newSidebarContent = action.attribute !== null
|
|
65
|
+
const newSidebarContent = action.attribute !== null
|
|
66
|
+
? EditRecordSidebarContentTypeMap.VALUE_DETAILS
|
|
67
|
+
: state.sidebarDefaultHidden
|
|
68
|
+
? EditRecordSidebarContentTypeMap.NONE
|
|
69
|
+
: EditRecordSidebarContentTypeMap.SUMMARY;
|
|
37
70
|
return {
|
|
38
71
|
...state,
|
|
39
72
|
activeAttribute: {
|
|
40
73
|
attribute: action.attribute ?? state.activeAttribute?.attribute ?? null,
|
|
41
74
|
globalValues: action.values
|
|
42
75
|
?.filter(value => !value.isCalculated && !value.isInherited)
|
|
43
|
-
.map(value =>
|
|
44
|
-
|
|
45
|
-
|
|
76
|
+
.map(value => {
|
|
77
|
+
if (TypeGuards.isRecordFormElementsValuesLinkValue(value)) {
|
|
78
|
+
return value.linkValue.whoAmI.label ?? value.linkValue.whoAmI.id;
|
|
79
|
+
}
|
|
80
|
+
if (TypeGuards.isRecordFormElementsValuesTreeValue(value)) {
|
|
81
|
+
return value.treeValue.record.whoAmI.label ?? value.treeValue.record.whoAmI.id;
|
|
82
|
+
}
|
|
83
|
+
return value?.payload;
|
|
84
|
+
}),
|
|
85
|
+
calculatedValue: (() => {
|
|
86
|
+
const calculatedOrInheritedValue = action.values?.filter(value => value.isCalculated || value.isInherited)?.[0];
|
|
87
|
+
if (TypeGuards.isRecordFormElementsValuesLinkValue(calculatedOrInheritedValue)) {
|
|
88
|
+
return (calculatedOrInheritedValue.linkValue.whoAmI.label ??
|
|
89
|
+
calculatedOrInheritedValue.linkValue.whoAmI.id);
|
|
90
|
+
}
|
|
91
|
+
if (TypeGuards.isRecordFormElementsValuesTreeValue(calculatedOrInheritedValue)) {
|
|
92
|
+
return (calculatedOrInheritedValue.treeValue.record.whoAmI.label ??
|
|
93
|
+
calculatedOrInheritedValue.treeValue.record.whoAmI.id);
|
|
94
|
+
}
|
|
95
|
+
return calculatedOrInheritedValue?.payload;
|
|
96
|
+
})()
|
|
46
97
|
},
|
|
47
98
|
sidebarContent: newSidebarContent
|
|
48
99
|
};
|
|
49
100
|
case EditRecordReducerActionsTypes.SET_SIDEBAR_CONTENT:
|
|
50
101
|
return { ...state, sidebarContent: action.content };
|
|
102
|
+
case EditRecordReducerActionsTypes.SET_SIDEBAR_IS_OPEN:
|
|
103
|
+
return {
|
|
104
|
+
...state,
|
|
105
|
+
sidebarContent: action.isOpen
|
|
106
|
+
? EditRecordSidebarContentTypeMap.SUMMARY
|
|
107
|
+
: EditRecordSidebarContentTypeMap.NONE,
|
|
108
|
+
isOpenSidebar: action.isOpen
|
|
109
|
+
};
|
|
51
110
|
case EditRecordReducerActionsTypes.SET_VALUES_VERSION:
|
|
52
111
|
return { ...state, valuesVersion: action.valuesVersion };
|
|
53
112
|
case EditRecordReducerActionsTypes.REQUEST_REFRESH:
|
|
@@ -56,7 +115,7 @@ const editRecordReducer = (state, action) => {
|
|
|
56
115
|
return { ...state, refreshRequested: false };
|
|
57
116
|
case EditRecordReducerActionsTypes.ADD_EXTERNAL_UPDATE:
|
|
58
117
|
const newState = { ...state };
|
|
59
|
-
const newModifiers = state.externalUpdate?.modifiers.find(
|
|
118
|
+
const newModifiers = state.externalUpdate?.modifiers.find(({ id }) => id === action.modifier.id)
|
|
60
119
|
? (newState.externalUpdate?.modifiers ?? [])
|
|
61
120
|
: [...(newState.externalUpdate?.modifiers ?? []), action.modifier];
|
|
62
121
|
const newValues = action.updatedValues.reduce((acc, updatedValue) => ({
|
|
@@ -74,6 +133,7 @@ const editRecordReducer = (state, action) => {
|
|
|
74
133
|
case EditRecordReducerActionsTypes.CLEAR_EXTERNAL_UPDATE:
|
|
75
134
|
return { ...state, externalUpdate: { ...initialState.externalUpdate } };
|
|
76
135
|
default:
|
|
136
|
+
console.warn('Unknown action type in editRecordReducer:', action);
|
|
77
137
|
return state;
|
|
78
138
|
}
|
|
79
139
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editRecordReducer.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/editRecordReducer/editRecordReducer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"editRecordReducer.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/editRecordReducer/editRecordReducer.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React, { Dispatch } from 'react';
|
|
2
|
+
import { IEditRecordReducerActions, IEditRecordReducerState } from './editRecordReducer';
|
|
3
|
+
export interface IEditRecordReducerContext {
|
|
4
|
+
state: IEditRecordReducerState;
|
|
5
|
+
dispatch: Dispatch<IEditRecordReducerActions>;
|
|
6
|
+
}
|
|
7
|
+
export declare const EditRecordReducerContext: React.Context<IEditRecordReducerContext>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useEditRecordReducer: () => import("./editRecordReducerContext").IEditRecordReducerContext;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useCreateCancelConfirm } from './useCreateCancelConfirm';
|
|
@@ -7,17 +7,17 @@ import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
|
|
|
7
7
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
8
8
|
import { faPenToSquare, faCheck } from '@fortawesome/free-solid-svg-icons';
|
|
9
9
|
import { EDIT_OR_CREATE_RECORD_FORM_ID } from '../EditRecordContent/formConstants';
|
|
10
|
-
export const useGetSubmitButtons = (buttons, isInCreateMode, onClickSubmit) => {
|
|
10
|
+
export const useGetSubmitButtons = (buttons, id, isInCreateMode, onClickSubmit) => {
|
|
11
11
|
const { t } = useSharedTranslation();
|
|
12
12
|
const headerSubmitButtons = [];
|
|
13
13
|
if (!isInCreateMode) {
|
|
14
14
|
return [];
|
|
15
15
|
}
|
|
16
16
|
if (buttons.includes('create')) {
|
|
17
|
-
headerSubmitButtons.push(_jsx(KitButton, { form: EDIT_OR_CREATE_RECORD_FORM_ID, type: !buttons.includes('createAndEdit') ? 'primary' : 'secondary', htmlType: "submit", icon: _jsx(FontAwesomeIcon, { icon: faCheck }), onClick: () => onClickSubmit('create'), children: t('record_edition.create') }, "create"));
|
|
17
|
+
headerSubmitButtons.push(_jsx(KitButton, { form: id ?? EDIT_OR_CREATE_RECORD_FORM_ID, type: !buttons.includes('createAndEdit') ? 'primary' : 'secondary', htmlType: "submit", icon: _jsx(FontAwesomeIcon, { icon: faCheck }), onClick: () => onClickSubmit('create'), children: t('record_edition.create') }, "create"));
|
|
18
18
|
}
|
|
19
19
|
if (buttons.includes('createAndEdit')) {
|
|
20
|
-
headerSubmitButtons.push(_jsx(KitButton, { form: EDIT_OR_CREATE_RECORD_FORM_ID, type: "primary", htmlType: "submit", icon: _jsx(FontAwesomeIcon, { icon: faPenToSquare }), onClick: () => onClickSubmit('createAndEdit'), children: t('record_edition.create_and_edit') }, "createAndEdit"));
|
|
20
|
+
headerSubmitButtons.push(_jsx(KitButton, { form: id ?? EDIT_OR_CREATE_RECORD_FORM_ID, type: "primary", htmlType: "submit", icon: _jsx(FontAwesomeIcon, { icon: faPenToSquare }), onClick: () => onClickSubmit('createAndEdit'), children: t('record_edition.create_and_edit') }, "createAndEdit"));
|
|
21
21
|
}
|
|
22
22
|
return headerSubmitButtons;
|
|
23
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetSubmitButtons.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/hooks/useGetSubmitButtons.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,aAAa,EAAE,OAAO,EAAC,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAC,6BAA6B,EAAC,MAAM,oCAAoC,CAAC;AAEjF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAC/B,OAA8B,EAC9B,cAAuB,EACvB,aAAkD,EACpD,EAAE;IACA,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,mBAAmB,GAAG,EAAE,CAAC;IAE/B,IAAI,CAAC,cAAc,EAAE,CAAC;QAClB,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC7B,mBAAmB,CAAC,IAAI,CACpB,KAAC,SAAS,IAEN,IAAI,EAAE,6BAA6B,
|
|
1
|
+
{"version":3,"file":"useGetSubmitButtons.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/hooks/useGetSubmitButtons.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,aAAa,EAAE,OAAO,EAAC,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAC,6BAA6B,EAAC,MAAM,oCAAoC,CAAC;AAEjF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAC/B,OAA8B,EAC9B,EAAU,EACV,cAAuB,EACvB,aAAkD,EACpD,EAAE;IACA,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,mBAAmB,GAAG,EAAE,CAAC;IAE/B,IAAI,CAAC,cAAc,EAAE,CAAC;QAClB,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC7B,mBAAmB,CAAC,IAAI,CACpB,KAAC,SAAS,IAEN,IAAI,EAAE,EAAE,IAAI,6BAA6B,EACzC,IAAI,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,EAClE,QAAQ,EAAC,QAAQ,EACjB,IAAI,EAAE,KAAC,eAAe,IAAC,IAAI,EAAE,OAAO,GAAI,EACxC,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,YAErC,CAAC,CAAC,uBAAuB,CAAC,IAPvB,QAAQ,CAQJ,CACf,CAAC;IACN,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC;QACpC,mBAAmB,CAAC,IAAI,CACpB,KAAC,SAAS,IAEN,IAAI,EAAE,EAAE,IAAI,6BAA6B,EACzC,IAAI,EAAC,SAAS,EACd,QAAQ,EAAC,QAAQ,EACjB,IAAI,EAAE,KAAC,eAAe,IAAC,IAAI,EAAE,aAAa,GAAI,EAC9C,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC,YAE5C,CAAC,CAAC,gCAAgC,CAAC,IAPhC,eAAe,CAQX,CACf,CAAC;IACN,CAAC;IAED,OAAO,mBAAmB,CAAC;AAC/B,CAAC,CAAC"}
|
|
@@ -5,3 +5,6 @@ export { EditRecord } from './EditRecord';
|
|
|
5
5
|
export { EditRecordModal } from './EditRecordModal';
|
|
6
6
|
export { EditRecordPage } from './EditRecordPage';
|
|
7
7
|
export { default as EditRecordSidebar } from './EditRecordSidebar';
|
|
8
|
+
export { default as useExecuteSaveValueBatchMutation } from './EditRecordContent/hooks/useExecuteSaveValueBatchMutation';
|
|
9
|
+
export { default as useCreateRecordMutation } from './EditRecordContent/hooks/useCreateEmptyRecordMutation';
|
|
10
|
+
export { SelectTreeNodeModal } from './EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal';
|
|
@@ -8,4 +8,7 @@ export { EditRecord } from './EditRecord';
|
|
|
8
8
|
export { EditRecordModal } from './EditRecordModal';
|
|
9
9
|
export { EditRecordPage } from './EditRecordPage';
|
|
10
10
|
export { default as EditRecordSidebar } from './EditRecordSidebar';
|
|
11
|
+
export { default as useExecuteSaveValueBatchMutation } from './EditRecordContent/hooks/useExecuteSaveValueBatchMutation';
|
|
12
|
+
export { default as useCreateRecordMutation } from './EditRecordContent/hooks/useCreateEmptyRecordMutation';
|
|
13
|
+
export { SelectTreeNodeModal } from './EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal';
|
|
11
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RecordEdition/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAC,OAAO,IAAI,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RecordEdition/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAC,OAAO,IAAI,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAC,OAAO,IAAI,gCAAgC,EAAC,MAAM,4DAA4D,CAAC;AACvH,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,wDAAwD,CAAC;AAC1G,OAAO,EAAC,mBAAmB,EAAC,MAAM,yFAAyF,CAAC"}
|
package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IFileDataWithPreviewsStatus } from '../../../../_queries/records/getFileDataQuery';
|
|
2
|
+
interface IFileModalContentProps {
|
|
3
|
+
fileData: IFileDataWithPreviewsStatus;
|
|
4
|
+
}
|
|
5
|
+
declare function FileModalContent({ fileData }: IFileModalContentProps): JSX.Element;
|
|
6
|
+
export default FileModalContent;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IFileDataWithPreviewsStatus } from '../../../../../_queries/records/getFileDataQuery';
|
|
2
|
+
interface IFileModalSidebarProps {
|
|
3
|
+
fileData: IFileDataWithPreviewsStatus;
|
|
4
|
+
}
|
|
5
|
+
declare function FileModalSidebar({ fileData }: IFileModalSidebarProps): JSX.Element;
|
|
6
|
+
export default FileModalSidebar;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IFileViewerProps } from '../_types';
|
|
2
|
+
interface INoDisplayFileProps extends IFileViewerProps {
|
|
3
|
+
noPreviewMessage?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare function NoDisplayFile({ fileData, noPreviewMessage }: INoDisplayFileProps): JSX.Element;
|
|
6
|
+
export default NoDisplayFile;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPreviewScalar } from '@leav/utils';
|
|
2
|
+
import { FunctionComponent } from 'react';
|
|
3
|
+
import { IEntityPreviewProps } from '../EntityPreview';
|
|
4
|
+
interface IRecordPreviewWithModalProps extends Omit<IEntityPreviewProps, 'onClick'> {
|
|
5
|
+
previewFile: IPreviewScalar['file'];
|
|
6
|
+
showTransparency?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const RecordPreviewWithModal: FunctionComponent<IRecordPreviewWithModalProps>;
|
|
9
|
+
export default RecordPreviewWithModal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RecordPreviewWithModal } from './RecordPreviewWithModal';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
import { ISearchSelection } from '../../types';
|
|
3
|
+
interface ISearchModalProps {
|
|
4
|
+
libId: string;
|
|
5
|
+
visible: boolean;
|
|
6
|
+
setVisible: (visible: boolean) => void;
|
|
7
|
+
submitAction: (selection: ISearchSelection) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const SearchModal: FunctionComponent<ISearchModalProps>;
|
|
10
|
+
export default SearchModal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SearchModal } from './SearchModal';
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { ComponentProps, FunctionComponent } from 'react';
|
|
2
|
-
import { ExplorerSelectionIdsQuery } from '../../_gqlTypes';
|
|
2
|
+
import { ExplorerSelectionIdsQuery, JoinLibraryContextFragment } from '../../_gqlTypes';
|
|
3
3
|
import { Explorer } from '../../components/Explorer';
|
|
4
4
|
interface ISelectRecordForLinkModalProps {
|
|
5
|
+
className?: string;
|
|
5
6
|
open: boolean;
|
|
6
7
|
childLibraryId: string;
|
|
8
|
+
replacementMode: boolean;
|
|
9
|
+
valuesList?: string[];
|
|
10
|
+
allowFreeEntry: boolean;
|
|
11
|
+
joinLibraryContext?: JoinLibraryContextFragment;
|
|
7
12
|
selectionMode: ComponentProps<typeof Explorer>['selectionMode'];
|
|
8
13
|
hideSelectAllAction: ComponentProps<typeof Explorer>['hideSelectAllAction'];
|
|
9
14
|
onSelectionCompleted: (data: ExplorerSelectionIdsQuery) => void;
|
|
@@ -8,7 +8,7 @@ import { closeKitSnackBar, KitButton, KitSpace, AntModal } from 'aristid-ds';
|
|
|
8
8
|
// TODO: harmonize icon sources
|
|
9
9
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
10
10
|
import { faXmark } from '@fortawesome/free-solid-svg-icons';
|
|
11
|
-
import { FaPlus } from 'react-icons/fa';
|
|
11
|
+
import { FaExchangeAlt, FaPlus } from 'react-icons/fa';
|
|
12
12
|
import { useSharedTranslation } from '../../hooks/useSharedTranslation';
|
|
13
13
|
import { useExplorerSelectionIdsLazyQuery } from '../../_gqlTypes';
|
|
14
14
|
import { Explorer } from '../../components/Explorer';
|
|
@@ -47,7 +47,7 @@ const ModalMainStyledDiv = styled.div `
|
|
|
47
47
|
height: 100%;
|
|
48
48
|
position: relative;
|
|
49
49
|
`;
|
|
50
|
-
export const SelectRecordForLinkModal = ({ open, childLibraryId, selectionMode, hideSelectAllAction, onSelectionCompleted, onClose }) => {
|
|
50
|
+
export const SelectRecordForLinkModal = ({ className, open, childLibraryId, replacementMode, valuesList, allowFreeEntry, selectionMode, joinLibraryContext, hideSelectAllAction, onSelectionCompleted, onClose }) => {
|
|
51
51
|
const { t } = useSharedTranslation();
|
|
52
52
|
const explorerContainerRef = useRef(null);
|
|
53
53
|
const _handleClose = () => {
|
|
@@ -60,13 +60,17 @@ export const SelectRecordForLinkModal = ({ open, childLibraryId, selectionMode,
|
|
|
60
60
|
fetchPolicy: 'no-cache',
|
|
61
61
|
onCompleted: onSelectionCompleted
|
|
62
62
|
});
|
|
63
|
-
return (_jsx(StyledModal, { open: open, onCancel: _handleClose, destroyOnClose: true, closable: false, cancelText: t('global.cancel'), width: "90vw", centered: true, footer: _footer, children: _jsx(ModalMainStyledDiv, { ref: explorerContainerRef, children: _jsx(Explorer.EditSettingsContextProvider, { panelElement: () => explorerContainerRef.current ?? document.body, children: _jsx(Explorer, { entrypoint: {
|
|
63
|
+
return (_jsx(StyledModal, { className: className, open: open, onCancel: _handleClose, destroyOnClose: true, closable: false, cancelText: t('global.cancel'), width: "90vw", centered: true, footer: _footer, children: _jsx(ModalMainStyledDiv, { ref: explorerContainerRef, children: _jsx(Explorer.EditSettingsContextProvider, { panelElement: () => explorerContainerRef.current ?? document.body, children: _jsx(Explorer, { entrypoint: {
|
|
64
64
|
type: 'library',
|
|
65
|
-
libraryId: childLibraryId
|
|
66
|
-
|
|
65
|
+
libraryId: childLibraryId,
|
|
66
|
+
valuesList,
|
|
67
|
+
allowFreeEntry
|
|
68
|
+
}, showCreateOnNoResultOnly: true, selectionMode: selectionMode, hideSelectAllAction: hideSelectAllAction, massActions: [
|
|
67
69
|
{
|
|
68
|
-
label:
|
|
69
|
-
|
|
70
|
+
label: replacementMode
|
|
71
|
+
? t('explorer.massAction.replace-link')
|
|
72
|
+
: t('explorer.massAction.add-link'),
|
|
73
|
+
icon: replacementMode ? _jsx(FaExchangeAlt, {}) : _jsx(FaPlus, {}),
|
|
70
74
|
callback: async (massSelectionFilter) => {
|
|
71
75
|
await getRecordIdsFromFilters({
|
|
72
76
|
variables: {
|
|
@@ -76,6 +80,6 @@ export const SelectRecordForLinkModal = ({ open, childLibraryId, selectionMode,
|
|
|
76
80
|
});
|
|
77
81
|
}
|
|
78
82
|
}
|
|
79
|
-
], primaryActions: [], defaultActionsForItem: [], defaultMassActions: [], itemActions: [], defaultPrimaryActions: [] }) }) }) }));
|
|
83
|
+
], primaryActions: [], defaultActionsForItem: [], defaultMassActions: [], itemActions: [], defaultPrimaryActions: ['create'], joinLibraryContext: joinLibraryContext, showSearch: true, ignoreViewByDefault: true }) }) }) }));
|
|
80
84
|
};
|
|
81
85
|
//# sourceMappingURL=SelectRecordForLinkModal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectRecordForLinkModal.js","sourceRoot":"","sources":["../../../src/components/SelectRecordForLinkModal/SelectRecordForLinkModal.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAoC,MAAM,EAAC,MAAM,OAAO,CAAC;AAChE,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,gBAAgB,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC3E,+BAA+B;AAC/B,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,OAAO,EAAC,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectRecordForLinkModal.js","sourceRoot":"","sources":["../../../src/components/SelectRecordForLinkModal/SelectRecordForLinkModal.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
+
import { ChildrenAsRecordValuePermissionFilterInput } from '../../_gqlTypes';
|
|
2
3
|
import { ITreeNodeWithRecord } from '../../types/trees';
|
|
3
4
|
interface ISelectTreeNodeProps {
|
|
4
5
|
treeId: string;
|
|
5
|
-
|
|
6
|
+
childrenAsRecordValuePermissionFilter?: ChildrenAsRecordValuePermissionFilterInput;
|
|
6
7
|
onSelect: (node: ITreeNodeWithRecord, selected: boolean) => void;
|
|
7
8
|
onCheck?: (selection: ITreeNodeWithRecord[]) => void;
|
|
9
|
+
selectedNodes?: string[];
|
|
10
|
+
disabledNodes?: string[];
|
|
11
|
+
selectableLibraries?: string[];
|
|
8
12
|
multiple?: boolean;
|
|
13
|
+
checkStrictly?: boolean;
|
|
14
|
+
checkable?: boolean;
|
|
9
15
|
canSelectRoot?: boolean;
|
|
10
|
-
|
|
16
|
+
loadRecursively?: boolean;
|
|
11
17
|
}
|
|
12
18
|
export declare const SelectTreeNode: FunctionComponent<ISelectTreeNodeProps>;
|
|
13
19
|
export {};
|
|
@@ -8,15 +8,15 @@ import { useTreeDataQueryQuery } from '../../_gqlTypes';
|
|
|
8
8
|
import { ErrorDisplay } from '../..';
|
|
9
9
|
import useLang from '../../hooks/useLang';
|
|
10
10
|
import { SelectTreeNodeContent } from './SelectTreeNodeContent';
|
|
11
|
-
import {
|
|
12
|
-
export const SelectTreeNode = ({ treeId, onSelect, onCheck,
|
|
11
|
+
import { SelectTreeNodeContentSkeleton } from './SelectTreeNodeContentSkeleton';
|
|
12
|
+
export const SelectTreeNode = ({ treeId, childrenAsRecordValuePermissionFilter, onSelect, onCheck, selectedNodes, disabledNodes, selectableLibraries, multiple = false, checkStrictly = true, checkable = false, canSelectRoot = false, loadRecursively = false }) => {
|
|
13
13
|
const { lang } = useLang();
|
|
14
14
|
const { t } = useSharedTranslation();
|
|
15
15
|
const { loading, error, data } = useTreeDataQueryQuery({
|
|
16
16
|
variables: { treeId }
|
|
17
17
|
});
|
|
18
18
|
if (loading) {
|
|
19
|
-
return _jsx(
|
|
19
|
+
return _jsx(SelectTreeNodeContentSkeleton, {});
|
|
20
20
|
}
|
|
21
21
|
if (error) {
|
|
22
22
|
return _jsx(ErrorDisplay, { message: error.message });
|
|
@@ -24,7 +24,6 @@ export const SelectTreeNode = ({ treeId, onSelect, onCheck, selectedNode, multip
|
|
|
24
24
|
if (!data?.trees.list[0]) {
|
|
25
25
|
return _jsx(ErrorDisplay, { message: t('error.unknown_tree', { treeId }) });
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
return (_jsx(SelectTreeNodeContent, { treeData: { id: treeId, label }, onCheck: onCheck, onSelect: onSelect, multiple: multiple, selectedNode: selectedNode, canSelectRoot: canSelectRoot, selectableLibraries: selectableLibraries }));
|
|
27
|
+
return (_jsx(SelectTreeNodeContent, { treeData: { id: treeId, label: localizedTranslation(data.trees.list[0].label, lang) || treeId }, childrenAsRecordValuePermissionFilter: childrenAsRecordValuePermissionFilter, onCheck: onCheck, onSelect: onSelect, multiple: multiple, checkable: checkable, checkStrictly: checkStrictly, selectedNodes: selectedNodes, disabledNodes: disabledNodes, canSelectRoot: canSelectRoot, selectableLibraries: selectableLibraries, loadRecursively: loadRecursively }));
|
|
29
28
|
};
|
|
30
29
|
//# sourceMappingURL=SelectTreeNode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectTreeNode.js","sourceRoot":"","sources":["../../../src/components/SelectTreeNode/SelectTreeNode.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AAEjD,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,
|
|
1
|
+
{"version":3,"file":"SelectTreeNode.js","sourceRoot":"","sources":["../../../src/components/SelectTreeNode/SelectTreeNode.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AAEjD,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAA6C,qBAAqB,EAAC,MAAM,eAAe,CAAC;AAChG,OAAO,EAAC,YAAY,EAAC,MAAM,OAAO,CAAC;AACnC,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAE1C,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAC,6BAA6B,EAAC,MAAM,iCAAiC,CAAC;AAiB9E,MAAM,CAAC,MAAM,cAAc,GAA4C,CAAC,EACpE,MAAM,EACN,qCAAqC,EACrC,QAAQ,EACR,OAAO,EACP,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,QAAQ,GAAG,KAAK,EAChB,aAAa,GAAG,IAAI,EACpB,SAAS,GAAG,KAAK,EACjB,aAAa,GAAG,KAAK,EACrB,eAAe,GAAG,KAAK,EAC1B,EAAE,EAAE;IACD,MAAM,EAAC,IAAI,EAAC,GAAG,OAAO,EAAE,CAAC;IACzB,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,GAAG,qBAAqB,CAAC;QACjD,SAAS,EAAE,EAAC,MAAM,EAAC;KACtB,CAAC,CAAC;IAEH,IAAI,OAAO,EAAE,CAAC;QACV,OAAO,KAAC,6BAA6B,KAAG,CAAC;IAC7C,CAAC;IAED,IAAI,KAAK,EAAE,CAAC;QACR,OAAO,KAAC,YAAY,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,GAAI,CAAC;IACpD,CAAC;IAED,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;QACvB,OAAO,KAAC,YAAY,IAAC,OAAO,EAAE,CAAC,CAAC,oBAAoB,EAAE,EAAC,MAAM,EAAC,CAAC,GAAI,CAAC;IACxE,CAAC;IAED,OAAO,CACH,KAAC,qBAAqB,IAClB,QAAQ,EAAE,EAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,MAAM,EAAC,EAC7F,qCAAqC,EAAE,qCAAqC,EAC5E,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,mBAAmB,EACxC,eAAe,EAAE,eAAe,GAClC,CACL,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import { ITreeNodeWithRecord } from '../../types
|
|
2
|
+
import { ITreeNodeWithRecord } from '../../types';
|
|
3
|
+
import { ChildrenAsRecordValuePermissionFilterInput } from '../../_gqlTypes';
|
|
3
4
|
interface ISelectTreeNodeContentProps {
|
|
4
5
|
treeData: {
|
|
5
6
|
id: string;
|
|
6
7
|
label: string;
|
|
7
8
|
};
|
|
8
|
-
|
|
9
|
+
childrenAsRecordValuePermissionFilter?: ChildrenAsRecordValuePermissionFilterInput;
|
|
10
|
+
selectedNodes?: string[];
|
|
11
|
+
disabledNodes?: string[];
|
|
9
12
|
onSelect: (node: ITreeNodeWithRecord, selected: boolean) => void;
|
|
10
13
|
onCheck?: (selection: ITreeNodeWithRecord[]) => void;
|
|
11
14
|
multiple?: boolean;
|
|
15
|
+
checkable?: boolean;
|
|
16
|
+
checkStrictly?: boolean;
|
|
12
17
|
canSelectRoot?: boolean;
|
|
13
18
|
selectableLibraries?: string[];
|
|
19
|
+
loadRecursively?: boolean;
|
|
14
20
|
}
|
|
15
21
|
export declare const SelectTreeNodeContent: FunctionComponent<ISelectTreeNodeContentProps>;
|
|
16
22
|
export {};
|