@leav/ui 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__mocks__/common/application.d.ts +2 -2
- package/dist/__mocks__/common/application.js +2 -2
- package/dist/__mocks__/common/attribute.d.ts +8 -2
- package/dist/__mocks__/common/filter.d.ts +1 -1
- package/dist/__mocks__/common/filter.js +13 -9
- package/dist/__mocks__/common/import.d.ts +1 -1
- package/dist/__mocks__/common/import.js +5 -5
- package/dist/__mocks__/common/label.d.ts +3 -1
- package/dist/__mocks__/common/label.js +2 -2
- package/dist/__mocks__/common/library.d.ts +82 -67
- package/dist/__mocks__/common/library.js +11 -9
- package/dist/__mocks__/common/mockSearchContextProvider.d.ts +6 -3
- package/dist/__mocks__/common/mockSearchContextProvider.js +23 -10
- package/dist/__mocks__/common/record.d.ts +2 -2
- package/dist/__mocks__/common/record.js +2 -2
- package/dist/__mocks__/common/tree.d.ts +1 -1
- package/dist/__mocks__/common/tree.js +3 -3
- package/dist/__mocks__/common/treeElements.d.ts +3 -3
- package/dist/__mocks__/common/treeElements.js +6 -4
- package/dist/__mocks__/common/versionProfile.d.ts +1 -1
- package/dist/__mocks__/common/versionProfile.js +2 -2
- package/dist/__mocks__/common/view.d.ts +1 -1
- package/dist/__mocks__/common/view.js +3 -3
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.d.ts +6 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +5 -5
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.d.ts +10 -3
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +3 -3
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.d.ts +6 -4
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +11 -6
- package/dist/__mocks__/react-i18next.d.ts +5 -9
- package/dist/__mocks__/react-i18next.js +10 -11
- package/dist/_gqlTypes/index.d.ts +5169 -4482
- package/dist/_queries/applications/applicationDetailsFragment.d.ts +1 -1
- package/dist/_queries/applications/applicationDetailsFragment.js +4 -4
- package/dist/_queries/applications/checkApplicationExistence.d.ts +1 -1
- package/dist/_queries/applications/checkApplicationExistence.js +3 -3
- package/dist/_queries/applications/getApplicationDetails.d.ts +1 -1
- package/dist/_queries/applications/getApplicationDetails.js +4 -4
- package/dist/_queries/applications/getApplicationsModulesQuery.d.ts +1 -1
- package/dist/_queries/applications/getApplicationsModulesQuery.js +3 -3
- package/dist/_queries/applications/saveApplicationMutation.d.ts +1 -1
- package/dist/_queries/applications/saveApplicationMutation.js +4 -4
- package/dist/_queries/attributes/attributeDetailsFragment.d.ts +1 -1
- package/dist/_queries/attributes/checkAttributeExistenceQuery.d.ts +1 -1
- package/dist/_queries/attributes/checkAttributeExistenceQuery.js +3 -3
- package/dist/_queries/attributes/deleteAttributeMutation.d.ts +1 -1
- package/dist/_queries/attributes/deleteAttributeMutation.js +3 -3
- package/dist/_queries/attributes/getAttributeByIdQuery.d.ts +1 -1
- package/dist/_queries/attributes/getAttributeByIdQuery.js +4 -4
- package/dist/_queries/attributes/getAttributeWithEmbeddedFields.d.ts +1 -1
- package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js +4 -4
- package/dist/_queries/attributes/getAttributesByLib.d.ts +1 -1
- package/dist/_queries/attributes/getAttributesByLib.js +3 -3
- package/dist/_queries/attributes/getAttributesQuery.d.ts +1 -1
- package/dist/_queries/attributes/getAttributesQuery.js +3 -3
- package/dist/_queries/attributes/getVersionProfilesQuery.d.ts +1 -1
- package/dist/_queries/attributes/getVersionProfilesQuery.js +3 -3
- package/dist/_queries/attributes/getVersionableAttributesByLibrary.d.ts +1 -1
- package/dist/_queries/attributes/getVersionableAttributesByLibrary.js +3 -3
- package/dist/_queries/attributes/saveAttributeMutation.d.ts +1 -1
- package/dist/_queries/attributes/saveAttributeMutation.js +4 -4
- package/dist/_queries/export/exportQuery.d.ts +1 -1
- package/dist/_queries/export/exportQuery.js +3 -3
- package/dist/_queries/files/createDirectory.d.ts +1 -1
- package/dist/_queries/files/createDirectory.js +4 -4
- package/dist/_queries/files/forcePreviewsGenerationMutation.d.ts +1 -1
- package/dist/_queries/files/forcePreviewsGenerationMutation.js +3 -3
- package/dist/_queries/files/getDirectoryDataQuery.d.ts +1 -1
- package/dist/_queries/files/getDirectoryDataQuery.js +4 -4
- package/dist/_queries/files/getUploadUpdates.d.ts +1 -1
- package/dist/_queries/files/getUploadUpdates.js +3 -3
- package/dist/_queries/files/uploadMutation.d.ts +1 -1
- package/dist/_queries/files/uploadMutation.js +4 -4
- package/dist/_queries/import/importExcel.d.ts +1 -1
- package/dist/_queries/import/importExcel.js +3 -3
- package/dist/_queries/libraries/checkLibraryExistenceQuery.d.ts +1 -1
- package/dist/_queries/libraries/checkLibraryExistenceQuery.js +3 -3
- package/dist/_queries/libraries/deleteLibraryMutation.d.ts +1 -1
- package/dist/_queries/libraries/deleteLibraryMutation.js +3 -3
- package/dist/_queries/libraries/getLibrariesQuery.d.ts +1 -1
- package/dist/_queries/libraries/getLibrariesQuery.js +3 -3
- package/dist/_queries/libraries/getLibraryByIdQuery.d.ts +1 -1
- package/dist/_queries/libraries/getLibraryByIdQuery.js +4 -4
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.d.ts +13 -4
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.js +4 -4
- package/dist/_queries/libraries/getLibraryPermissionsQuery.d.ts +1 -1
- package/dist/_queries/libraries/getLibraryPermissionsQuery.js +3 -3
- package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.d.ts +1 -1
- package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js +3 -3
- package/dist/_queries/libraries/libraryDetailsFragment.d.ts +1 -1
- package/dist/_queries/libraries/libraryDetailsFragment.js +4 -4
- package/dist/_queries/libraries/saveLibraryMutation.d.ts +1 -1
- package/dist/_queries/libraries/saveLibraryMutation.js +4 -4
- package/dist/_queries/permissions/isAllowedQuery.d.ts +1 -1
- package/dist/_queries/permissions/isAllowedQuery.js +3 -3
- package/dist/_queries/records/createRecordMutation.d.ts +1 -1
- package/dist/_queries/records/createRecordMutation.js +4 -4
- package/dist/_queries/records/deactivateRecordsMutation.d.ts +1 -1
- package/dist/_queries/records/deactivateRecordsMutation.js +4 -4
- package/dist/_queries/records/doesFileExistAsChild.d.ts +1 -1
- package/dist/_queries/records/doesFileExistAsChild.js +3 -3
- package/dist/_queries/records/getFileDataQuery.d.ts +10 -7
- package/dist/_queries/records/getFileDataQuery.js +4 -4
- package/dist/_queries/records/getRecordColumnsValues.d.ts +3 -3
- package/dist/_queries/records/getRecordColumnsValues.js +6 -6
- package/dist/_queries/records/getRecordFormQuery.d.ts +1 -1
- package/dist/_queries/records/getRecordFormQuery.js +5 -5
- package/dist/_queries/records/getRecordPropertiesQuery.d.ts +10 -5
- package/dist/_queries/records/getRecordPropertiesQuery.js +13 -12
- package/dist/_queries/records/getRecordUpdatesSubscription.d.ts +1 -1
- package/dist/_queries/records/getRecordUpdatesSubscription.js +5 -5
- package/dist/_queries/records/getRecordsFromLibraryQuery.d.ts +7 -4
- package/dist/_queries/records/getRecordsFromLibraryQuery.js +7 -8
- package/dist/_queries/records/indexRecordsMutation.d.ts +1 -1
- package/dist/_queries/records/indexRecordsMutation.js +3 -3
- package/dist/_queries/records/recordFormAttributeFragment.d.ts +1 -1
- package/dist/_queries/records/recordFormAttributeFragment.js +3 -3
- package/dist/_queries/tasks/cancelTaskMutation.d.ts +1 -1
- package/dist/_queries/tasks/cancelTaskMutation.js +3 -3
- package/dist/_queries/trees/checkTreeExistenceQuery.d.ts +1 -1
- package/dist/_queries/trees/checkTreeExistenceQuery.js +3 -3
- package/dist/_queries/trees/deleteTreeMutation.d.ts +1 -1
- package/dist/_queries/trees/deleteTreeMutation.js +3 -3
- package/dist/_queries/trees/getTreeByIdQuery.d.ts +1 -1
- package/dist/_queries/trees/getTreeByIdQuery.js +4 -4
- package/dist/_queries/trees/getTreeLibraries.d.ts +1 -1
- package/dist/_queries/trees/getTreeLibraries.js +3 -3
- package/dist/_queries/trees/getTreesQuery.d.ts +1 -1
- package/dist/_queries/trees/getTreesQuery.js +3 -3
- package/dist/_queries/trees/saveTreeMutation.d.ts +1 -1
- package/dist/_queries/trees/saveTreeMutation.js +4 -4
- package/dist/_queries/trees/treeDetailsFragment.d.ts +1 -1
- package/dist/_queries/trees/treeDetailsFragment.js +3 -3
- package/dist/_queries/trees/treeNodeChildrenQuery.d.ts +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js +4 -4
- package/dist/_queries/userData/getUserData.d.ts +1 -1
- package/dist/_queries/userData/getUserData.js +3 -3
- package/dist/_queries/userData/saveUserData.d.ts +1 -1
- package/dist/_queries/userData/saveUserData.js +3 -3
- package/dist/_queries/values/deleteValueMutation.d.ts +1 -1
- package/dist/_queries/values/deleteValueMutation.js +4 -4
- package/dist/_queries/values/saveValueBatchMutation.d.ts +1 -1
- package/dist/_queries/values/saveValueBatchMutation.js +4 -4
- package/dist/_queries/values/valueDetailsFragment.d.ts +1 -1
- package/dist/_queries/values/valueDetailsFragment.js +5 -5
- package/dist/_queries/values/valuesVersionFragment.d.ts +1 -1
- package/dist/_queries/values/valuesVersionFragment.js +3 -3
- package/dist/_queries/views/deleteViewMutation.d.ts +1 -1
- package/dist/_queries/views/deleteViewMutation.js +3 -3
- package/dist/_queries/views/getViewById.d.ts +1 -1
- package/dist/_queries/views/getViewById.js +4 -4
- package/dist/_queries/views/getViewsListQuery.d.ts +1 -1
- package/dist/_queries/views/getViewsListQuery.js +3 -3
- package/dist/_queries/views/saveViewMutation.d.ts +1 -1
- package/dist/_queries/views/saveViewMutation.js +3 -3
- package/dist/_queries/views/viewDetailsFragment.d.ts +1 -1
- package/dist/_queries/views/viewDetailsFragment.js +4 -4
- package/dist/_utils/getFiltersFromRequest.d.ts +7 -3
- package/dist/_utils/getFiltersFromRequest.js +76 -31
- package/dist/_utils/getRequestFromFilter.d.ts +2 -2
- package/dist/_utils/getRequestFromFilter.js +63 -42
- package/dist/_utils/index.d.ts +36 -13
- package/dist/_utils/index.js +93 -38
- package/dist/antdTheme/index.d.ts +3 -3
- package/dist/antdTheme/types.d.ts +1 -1
- package/dist/antdTheme/types.js +1 -1
- package/dist/components/AttributePicker/AttributePicker.d.ts +10 -2
- package/dist/components/AttributePicker/AttributePicker.js +46 -11
- package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +8 -2
- package/dist/components/AttributePicker/AttributesList/AttributesList.js +141 -47
- package/dist/components/AttributePicker/AttributesList/index.d.ts +1 -1
- package/dist/components/AttributePicker/AttributesList/index.js +2 -2
- package/dist/components/AttributePicker/index.d.ts +1 -1
- package/dist/components/AttributePicker/index.js +2 -2
- package/dist/components/AttributesSelectionList/Attribute/Attribute.d.ts +2 -2
- package/dist/components/AttributesSelectionList/Attribute/Attribute.js +38 -17
- package/dist/components/AttributesSelectionList/Attribute/index.js +1 -1
- package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +8 -2
- package/dist/components/AttributesSelectionList/AttributesSelectionList.js +97 -24
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.d.ts +2 -2
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js +41 -16
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.js +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js +64 -10
- package/dist/components/AttributesSelectionList/SelectedAttributesList/index.js +1 -1
- package/dist/components/AttributesSelectionList/_types.d.ts +5 -1
- package/dist/components/AttributesSelectionList/_types.js +1 -1
- package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.d.ts +6 -3
- package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js +3 -2
- package/dist/components/AttributesSelectionList/index.js +1 -1
- package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.d.ts +2 -2
- package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js +4 -4
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.d.ts +28 -21
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js +13 -16
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.d.ts +2 -2
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js +7 -4
- package/dist/components/AttributesSelectionList/sharedComponents.d.ts +842 -803
- package/dist/components/AttributesSelectionList/sharedComponents.js +4 -4
- package/dist/components/BasicButton/BasicButton.d.ts +2 -2
- package/dist/components/BasicButton/BasicButton.js +19 -18
- package/dist/components/BasicButton/index.d.ts +1 -1
- package/dist/components/BasicButton/index.js +2 -2
- package/dist/components/CreateDirectory/CreateDirectory.d.ts +7 -2
- package/dist/components/CreateDirectory/CreateDirectory.js +125 -22
- package/dist/components/CreateDirectory/index.d.ts +1 -1
- package/dist/components/CreateDirectory/index.js +2 -2
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +8 -2
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js +41 -18
- package/dist/components/DeactivateRecordsModal/index.d.ts +1 -1
- package/dist/components/DeactivateRecordsModal/index.js +2 -2
- package/dist/components/Dimmer/Dimmer.d.ts +1 -1
- package/dist/components/Dimmer/Dimmer.js +5 -5
- package/dist/components/Dimmer/index.js +1 -1
- package/dist/components/EditApplication/EditApplication.d.ts +8 -2
- package/dist/components/EditApplication/EditApplication.js +29 -17
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.d.ts +2 -2
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +68 -34
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +9 -3
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +244 -72
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.d.ts +2 -2
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +41 -26
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/index.d.ts +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/index.js +2 -2
- package/dist/components/EditApplication/_types.d.ts +1 -1
- package/dist/components/EditApplication/_types.js +1 -1
- package/dist/components/EditApplication/index.d.ts +1 -1
- package/dist/components/EditApplication/index.js +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.d.ts +6 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +28 -18
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.d.ts +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +102 -44
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +10 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +389 -77
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.d.ts +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js +68 -21
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.d.ts +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +68 -21
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.d.ts +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js +94 -16
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/index.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/index.js +2 -2
- package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +9 -3
- package/dist/components/EditAttributeModal/EditAttributeModal.js +84 -34
- package/dist/components/EditAttributeModal/index.d.ts +1 -1
- package/dist/components/EditAttributeModal/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +7 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +48 -26
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.d.ts +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +24 -13
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.d.ts +14 -6
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +118 -39
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.d.ts +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js +32 -11
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.d.ts +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js +27 -13
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.d.ts +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js +89 -22
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.d.ts +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js +85 -46
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +10 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +245 -76
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.d.ts +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js +22 -18
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +8 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +241 -34
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.d.ts +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js +114 -41
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +6 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +122 -34
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/index.js +2 -2
- package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +10 -3
- package/dist/components/EditLibraryModal/EditLibraryModal.js +88 -33
- package/dist/components/EditLibraryModal/index.d.ts +1 -1
- package/dist/components/EditLibraryModal/index.js +2 -2
- package/dist/components/EditTreeModal/EditTree/EditTree.d.ts +2 -2
- package/dist/components/EditTreeModal/EditTree/EditTree.js +28 -18
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.d.ts +2 -2
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +85 -47
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +10 -3
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +169 -58
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.d.ts +3 -3
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +210 -30
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.d.ts +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js +2 -2
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.d.ts +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js +2 -2
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.d.ts +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js +2 -2
- package/dist/components/EditTreeModal/EditTree/index.d.ts +1 -1
- package/dist/components/EditTreeModal/EditTree/index.js +2 -2
- package/dist/components/EditTreeModal/EditTreeModal.d.ts +3 -3
- package/dist/components/EditTreeModal/EditTreeModal.js +84 -31
- package/dist/components/EditTreeModal/index.d.ts +1 -1
- package/dist/components/EditTreeModal/index.js +2 -2
- package/dist/components/EntityCard/EntityCard.d.ts +14 -4
- package/dist/components/EntityCard/EntityCard.js +99 -22
- package/dist/components/EntityCard/_types.js +1 -1
- package/dist/components/EntityCard/index.d.ts +1 -1
- package/dist/components/EntityCard/index.js +2 -2
- package/dist/components/EntityPreview/EntityPreview.d.ts +1 -1
- package/dist/components/EntityPreview/EntityPreview.js +2 -2
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.d.ts +2 -2
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +66 -23
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.d.ts +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js +8 -8
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/index.js +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +9 -2
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +48 -16
- package/dist/components/EntityPreview/EntityPreviewTile/index.js +1 -1
- package/dist/components/EntityPreview/_types.d.ts +2 -2
- package/dist/components/EntityPreview/_types.js +1 -1
- package/dist/components/EntityPreview/index.d.ts +1 -1
- package/dist/components/EntityPreview/index.js +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundary.js +8 -4
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.d.ts +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +50 -12
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js +1 -1
- package/dist/components/ErrorBoundary/index.d.ts +1 -1
- package/dist/components/ErrorBoundary/index.js +2 -2
- package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +3 -3
- package/dist/components/ErrorDisplay/ErrorDisplay.js +22 -13
- package/dist/components/ErrorDisplay/index.d.ts +1 -1
- package/dist/components/ErrorDisplay/index.js +2 -2
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +1 -1
- package/dist/components/ErrorMessage/ErrorMessage.js +31 -10
- package/dist/components/ErrorMessage/index.js +1 -1
- package/dist/components/ExportModal/ExportModal.d.ts +2 -2
- package/dist/components/ExportModal/ExportModal.js +116 -47
- package/dist/components/ExportModal/index.d.ts +1 -1
- package/dist/components/ExportModal/index.js +2 -2
- package/dist/components/FieldsGroup/FieldsGroup.d.ts +2 -2
- package/dist/components/FieldsGroup/FieldsGroup.js +13 -7
- package/dist/components/FieldsGroup/index.js +1 -1
- package/dist/components/FloatingMenu/FloatingMenu.d.ts +3 -3
- package/dist/components/FloatingMenu/FloatingMenu.js +84 -22
- package/dist/components/FloatingMenu/_types.d.ts +1 -1
- package/dist/components/FloatingMenu/_types.js +1 -1
- package/dist/components/FloatingMenu/index.d.ts +1 -1
- package/dist/components/FloatingMenu/index.js +2 -2
- package/dist/components/ImageLoading/ImageLoading.d.ts +1 -1
- package/dist/components/ImageLoading/ImageLoading.js +6 -6
- package/dist/components/ImageLoading/index.d.ts +1 -1
- package/dist/components/ImageLoading/index.js +2 -2
- package/dist/components/ImageMissing/ImageMissing.d.ts +1 -1
- package/dist/components/ImageMissing/ImageMissing.js +19 -7
- package/dist/components/ImageMissing/index.d.ts +1 -1
- package/dist/components/ImageMissing/index.js +2 -2
- package/dist/components/ImportModal/ImportModal.d.ts +8 -2
- package/dist/components/ImportModal/ImportModal.js +208 -75
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.d.ts +2 -2
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js +40 -11
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.d.ts +2 -2
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js +40 -13
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.d.ts +2 -2
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +135 -58
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +7 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +34 -7
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +10 -2
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +149 -22
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/index.js +1 -1
- package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js +15 -10
- package/dist/components/ImportModal/ImportModalDoneStep/index.js +1 -1
- package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js +9 -6
- package/dist/components/ImportModal/ImportModalProcessingStep/index.js +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.d.ts +2 -2
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +70 -34
- package/dist/components/ImportModal/ImportModalSelectFileStep/index.js +1 -1
- package/dist/components/ImportModal/_types.d.ts +14 -8
- package/dist/components/ImportModal/_types.js +12 -12
- package/dist/components/ImportModal/importReducer/ImportReducerContext.d.ts +2 -2
- package/dist/components/ImportModal/importReducer/ImportReducerContext.js +3 -3
- package/dist/components/ImportModal/importReducer/importReducer.d.ts +27 -22
- package/dist/components/ImportModal/importReducer/importReducer.js +32 -18
- package/dist/components/ImportModal/importReducer/index.js +1 -1
- package/dist/components/ImportModal/index.d.ts +1 -1
- package/dist/components/ImportModal/index.js +2 -2
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +58 -20
- package/dist/components/LibraryItemsList/DisplayOptions/index.js +1 -1
- package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js +5 -5
- package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +14 -3
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +128 -70
- package/dist/components/LibraryItemsList/FiltersDropdown/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.d.ts +4 -4
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +279 -102
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +104 -43
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.js +12 -7
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js +32 -11
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js +22 -9
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js +15 -9
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js +17 -10
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.d.ts +3 -3
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js +37 -17
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +28 -14
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.d.ts +11 -5
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +45 -39
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +166 -48
- package/dist/components/LibraryItemsList/FiltersPanel/index.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +3 -3
- package/dist/components/LibraryItemsList/IconViewType/IconViewType.d.ts +2 -2
- package/dist/components/LibraryItemsList/IconViewType/IconViewType.js +8 -8
- package/dist/components/LibraryItemsList/IconViewType/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsList.d.ts +4 -4
- package/dist/components/LibraryItemsList/LibraryItemsList.js +16 -8
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.d.ts +5 -5
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +140 -69
- package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js +20 -8
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.d.ts +3 -3
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +39 -14
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.d.ts +3 -3
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +67 -23
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js +45 -17
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.d.ts +3 -3
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +34 -14
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js +16 -8
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.js +6 -6
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.d.ts +3 -3
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +64 -25
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +114 -35
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +105 -54
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +171 -75
- package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js +1 -1
- package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.d.ts +2 -2
- package/dist/components/LibraryItemsList/MenuItemList/index.js +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +43 -24
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.d.ts +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +86 -37
- package/dist/components/LibraryItemsList/MenuItemListSelected/index.js +1 -1
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +52 -26
- package/dist/components/LibraryItemsList/MenuSelection/index.js +1 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.d.ts +2 -2
- package/dist/components/LibraryItemsList/MenuView/MenuView.js +171 -42
- package/dist/components/LibraryItemsList/MenuView/index.js +1 -1
- package/dist/components/LibraryItemsList/SearchItems/SearchItems.js +20 -11
- package/dist/components/LibraryItemsList/SearchItems/index.js +1 -1
- package/dist/components/LibraryItemsList/Sidebar/Sidebar.js +20 -8
- package/dist/components/LibraryItemsList/Sidebar/index.js +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.d.ts +2 -2
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +31 -12
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.d.ts +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +3 -3
- package/dist/components/LibraryItemsList/TileDisplay/index.js +1 -1
- package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +28 -14
- package/dist/components/LibraryItemsList/VersionsPanel/index.js +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.d.ts +2 -2
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +133 -21
- package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/View.d.ts +3 -3
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js +194 -52
- package/dist/components/LibraryItemsList/ViewPanel/View/index.js +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +226 -55
- package/dist/components/LibraryItemsList/ViewPanel/index.js +1 -1
- package/dist/components/LibraryItemsList/constants.d.ts +7 -7
- package/dist/components/LibraryItemsList/constants.js +5 -5
- package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.d.ts +2 -2
- package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js +4 -4
- package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.d.ts +5 -3
- package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js +4 -4
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.d.ts +2 -2
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +56 -52
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.d.ts +9 -4
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +3 -3
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.d.ts +4 -4
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js +7 -7
- package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.d.ts +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.js +8 -6
- package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.d.ts +1 -1
- package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js +3 -3
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.d.ts +5 -3
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +35 -18
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +11 -8
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.js +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.js +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.d.ts +2 -2
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js +3 -3
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +138 -110
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +186 -92
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.d.ts +2 -2
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.js +3 -3
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.d.ts +13 -3
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +16 -9
- package/dist/components/LibraryItemsList/index.d.ts +1 -1
- package/dist/components/LibraryItemsList/index.js +2 -2
- package/dist/components/LibraryItemsList/manageItems.d.ts +3 -3
- package/dist/components/LibraryItemsList/manageItems.js +14 -11
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.d.ts +3 -3
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +31 -25
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js +1 -1
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.d.ts +6 -6
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +32 -24
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +2 -2
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +131 -51
- package/dist/components/LibraryPicker/LibrariesList/index.d.ts +1 -1
- package/dist/components/LibraryPicker/LibrariesList/index.js +2 -2
- package/dist/components/LibraryPicker/LibraryPicker.d.ts +9 -2
- package/dist/components/LibraryPicker/LibraryPicker.js +33 -10
- package/dist/components/LibraryPicker/index.d.ts +1 -1
- package/dist/components/LibraryPicker/index.js +2 -2
- package/dist/components/List/List.d.ts +10 -2
- package/dist/components/List/List.js +78 -38
- package/dist/components/List/index.js +1 -1
- package/dist/components/Loading/Loading.js +4 -4
- package/dist/components/Loading/index.d.ts +1 -1
- package/dist/components/Loading/index.js +2 -2
- package/dist/components/RecordCard/RecordCard.d.ts +13 -2
- package/dist/components/RecordCard/RecordCard.js +40 -10
- package/dist/components/RecordCard/_types.d.ts +3 -3
- package/dist/components/RecordCard/_types.js +1 -1
- package/dist/components/RecordCard/index.d.ts +1 -1
- package/dist/components/RecordCard/index.js +2 -2
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +2 -2
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecordSkeleton.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecord/EditRecordSkeleton.js +30 -0
- package/dist/components/RecordEdition/EditRecord/EditRecordSkeleton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/_types.d.ts +141 -0
- package/dist/components/RecordEdition/EditRecord/_types.js +12 -0
- package/dist/components/RecordEdition/EditRecord/_types.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.js +21 -0
- package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.js +4 -0
- package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.js +5 -0
- package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.js +5 -0
- package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.js +27 -0
- package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useDeleteValueMutation.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useDeleteValueMutation.js +9 -0
- package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useDeleteValueMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useSaveValueMutation.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useSaveValueMutation.js +9 -0
- package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useSaveValueMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/hooks/helpers/getPropertyCacheFieldName.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/hooks/helpers/getPropertyCacheFieldName.js +5 -0
- package/dist/components/RecordEdition/EditRecord/hooks/helpers/getPropertyCacheFieldName.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.js +44 -0
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.js +67 -0
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.js +7 -0
- package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.d.ts +70 -0
- package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.js +166 -0
- package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.d.ts +120 -0
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.js +342 -0
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.d.ts +10 -0
- package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.js +48 -0
- package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js +51 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.js +52 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.js +31 -0
- package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.js +25 -0
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.js +60 -0
- package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/NoValue/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/shared/NoValue/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/shared/NoValue/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/UpdatedFieldIcon.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/UpdatedFieldIcon.js +19 -0
- package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/UpdatedFieldIcon.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.js +55 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +20 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.js +96 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.js +34 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.js +42 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/Container/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/Container/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/Container/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.js +80 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.js +9 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.js +58 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.d.ts +21 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js +29 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.d.ts +18 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.js +518 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +11 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.d.ts +14 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +59 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.d.ts +10 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.js +455 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.js +335 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js +20 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js +32 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js +59 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js +67 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.d.ts +10 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js +28 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js +43 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js +65 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js +40 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +26 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +680 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +17 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +62 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.js +7 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.d.ts +10 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.js +362 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +55 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.d.ts +10 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.js +197 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/index.js +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/index.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/index.js +24 -0
- package/dist/components/RecordEdition/EditRecord/uiElements/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecordBtn/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +3 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +3 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +2 -2
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/EditRecordModalHeader.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/EditRecordModalHeader.js +98 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/EditRecordModalHeader.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/index.js +6 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.js +73 -0
- package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/index.js +6 -0
- package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.js +7 -0
- package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +2 -2
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +27 -8
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +7 -7
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +112 -28
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.js +18 -12
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.js +19 -11
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/index.js +1 -1
- package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.d.ts +78 -0
- package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.js +103 -0
- package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.js.map +1 -0
- package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.d.ts +7 -0
- package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.js +10 -0
- package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.js.map +1 -0
- package/dist/components/RecordEdition/editRecordModalReducer/index.d.ts +2 -0
- package/dist/components/RecordEdition/editRecordModalReducer/index.js +6 -0
- package/dist/components/RecordEdition/editRecordModalReducer/index.js.map +1 -0
- package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.d.ts +1 -0
- package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.js +7 -0
- package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.js.map +1 -0
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +1 -0
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +2 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.d.ts +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +49 -15
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.d.ts +2 -2
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js +21 -7
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.d.ts +2 -2
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js +28 -9
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.d.ts +2 -2
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +34 -15
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.d.ts +2 -2
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +97 -25
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.d.ts +2 -2
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +32 -14
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.d.ts +2 -2
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js +39 -17
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.d.ts +2 -2
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js +22 -8
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.d.ts +2 -2
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/_constants.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/index.js +1 -1
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.d.ts +3 -3
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +66 -25
- package/dist/components/RecordPreviewWithModal/index.d.ts +1 -1
- package/dist/components/RecordPreviewWithModal/index.js +2 -2
- package/dist/components/SearchModal/SearchModal.d.ts +2 -2
- package/dist/components/SearchModal/SearchModal.js +60 -22
- package/dist/components/SearchModal/index.d.ts +1 -1
- package/dist/components/SearchModal/index.js +2 -2
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +11 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js +63 -28
- package/dist/components/SelectTreeNode/index.d.ts +1 -1
- package/dist/components/SelectTreeNode/index.js +2 -2
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.d.ts +10 -3
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js +45 -12
- package/dist/components/SelectTreeNodeModal/index.js +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +4 -4
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.d.ts +2 -2
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +21 -7
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js +1 -1
- package/dist/components/SimpleErrorBoundary/index.d.ts +1 -1
- package/dist/components/SimpleErrorBoundary/index.js +2 -2
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.d.ts +2 -2
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js +26 -10
- package/dist/components/SubmitStateNotifier/_types.js +1 -1
- package/dist/components/SubmitStateNotifier/index.d.ts +1 -1
- package/dist/components/SubmitStateNotifier/index.js +2 -2
- package/dist/components/TreePicker/TreePicker.d.ts +2 -2
- package/dist/components/TreePicker/TreePicker.js +34 -10
- package/dist/components/TreePicker/TreesList/TreesList.d.ts +2 -2
- package/dist/components/TreePicker/TreesList/TreesList.js +110 -50
- package/dist/components/TreePicker/TreesList/index.d.ts +1 -1
- package/dist/components/TreePicker/TreesList/index.js +2 -2
- package/dist/components/TreePicker/index.d.ts +1 -1
- package/dist/components/TreePicker/index.js +2 -2
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +8 -2
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +90 -32
- package/dist/components/TriggerPreviewsGenerationModal/index.d.ts +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/index.js +2 -2
- package/dist/components/UploadFiles/UploadFiles.d.ts +8 -2
- package/dist/components/UploadFiles/UploadFiles.js +244 -62
- package/dist/components/UploadFiles/index.d.ts +1 -1
- package/dist/components/UploadFiles/index.js +2 -2
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +7 -2
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +57 -19
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.d.ts +3 -3
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +54 -20
- package/dist/components/ValuesVersionConfigurator/VersionTree/index.js +1 -1
- package/dist/components/ValuesVersionConfigurator/index.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/constants.d.ts +14 -14
- package/dist/constants.js +9 -9
- package/dist/contexts/LangContext/LangContext.d.ts +1 -1
- package/dist/contexts/LangContext/LangContext.js +1 -1
- package/dist/contexts/LangContext/index.d.ts +1 -1
- package/dist/contexts/LangContext/index.js +2 -2
- package/dist/contexts/LangContext/types.js +1 -1
- package/dist/contexts/UserContext/UserContext.d.ts +1 -1
- package/dist/contexts/UserContext/UserContext.js +1 -1
- package/dist/contexts/UserContext/index.d.ts +1 -1
- package/dist/contexts/UserContext/index.js +2 -2
- package/dist/contexts/UserContext/types.d.ts +1 -1
- package/dist/contexts/UserContext/types.js +1 -1
- package/dist/contexts/index.js +1 -1
- package/dist/gqlFragments/index.d.ts +1 -1
- package/dist/gqlFragments/index.js +2 -2
- package/dist/gqlFragments/recordIdentityFragment.d.ts +1 -1
- package/dist/gqlFragments/recordIdentityFragment.js +3 -3
- package/dist/gqlPossibleTypes/index.d.ts +1 -1
- package/dist/gqlPossibleTypes/index.js +1 -1
- package/dist/hooks/index.d.ts +13 -13
- package/dist/hooks/index.js +14 -14
- package/dist/hooks/useAntdLocale/index.d.ts +1 -1
- package/dist/hooks/useAntdLocale/index.js +2 -2
- package/dist/hooks/useAntdLocale/useAntdLocale.d.ts +1 -1
- package/dist/hooks/useAntdLocale/useAntdLocale.js +2 -2
- package/dist/hooks/useAppLang/index.d.ts +1 -1
- package/dist/hooks/useAppLang/index.js +2 -2
- package/dist/hooks/useAppLang/useAppLang.js +12 -11
- package/dist/hooks/useAuth/index.d.ts +1 -1
- package/dist/hooks/useAuth/index.js +2 -2
- package/dist/hooks/useAuth/useAuth.js +3 -3
- package/dist/hooks/useCanEditRecord/index.d.ts +1 -1
- package/dist/hooks/useCanEditRecord/index.js +2 -2
- package/dist/hooks/useCanEditRecord/useCanEditRecord.d.ts +6 -3
- package/dist/hooks/useCanEditRecord/useCanEditRecord.js +37 -15
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +2 -2
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js +12 -8
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.d.ts +2 -2
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +4 -4
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.d.ts +10 -2
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +4 -4
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.d.ts +2 -2
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +23 -10
- package/dist/hooks/useGetRecordForm/index.d.ts +1 -1
- package/dist/hooks/useGetRecordForm/index.js +2 -2
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +75 -36
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +38 -19
- package/dist/hooks/useGetRecordUpdatesSubscription/index.d.ts +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/index.js +2 -2
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.d.ts +10 -4
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +10 -7
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.d.ts +14 -7
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +30 -20
- package/dist/hooks/useLang/__mocks__/index.js +1 -1
- package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
- package/dist/hooks/useLang/index.js +1 -1
- package/dist/hooks/useLang/useLang.d.ts +1 -1
- package/dist/hooks/useLang/useLang.js +3 -3
- package/dist/hooks/useLibraryVersionTrees/index.d.ts +1 -1
- package/dist/hooks/useLibraryVersionTrees/index.js +2 -2
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.d.ts +2 -2
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +26 -9
- package/dist/hooks/useLocalStorage/index.d.ts +1 -1
- package/dist/hooks/useLocalStorage/index.js +2 -2
- package/dist/hooks/useLocalStorage/useLocalStorage.js +2 -2
- package/dist/hooks/useRecordsConsultationHistory/index.js +1 -1
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +5 -6
- package/dist/hooks/useRefreshFieldValues/index.d.ts +1 -1
- package/dist/hooks/useRefreshFieldValues/index.js +2 -2
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.d.ts +7 -3
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +31 -25
- package/dist/hooks/useRefreshToken/index.d.ts +1 -1
- package/dist/hooks/useRefreshToken/index.js +2 -2
- package/dist/hooks/useRefreshToken/useRefreshToken.js +5 -5
- package/dist/hooks/useSharedTranslation/__mocks__/index.d.ts +1 -1
- package/dist/hooks/useSharedTranslation/__mocks__/index.js +2 -2
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.d.ts +1 -1
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
- package/dist/hooks/useSharedTranslation/index.d.ts +1 -1
- package/dist/hooks/useSharedTranslation/index.js +2 -2
- package/dist/hooks/useSharedTranslation/useSharedTranslation.d.ts +1 -1
- package/dist/hooks/useSharedTranslation/useSharedTranslation.js +29 -22
- package/dist/hooks/useUser/index.d.ts +1 -1
- package/dist/hooks/useUser/index.js +2 -2
- package/dist/hooks/useUser/useUser.d.ts +1 -1
- package/dist/hooks/useUser/useUser.js +3 -3
- package/dist/hooks/useValuesCacheUpdate/index.d.ts +1 -1
- package/dist/hooks/useValuesCacheUpdate/index.js +2 -2
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.d.ts +6 -3
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +16 -11
- package/dist/index.js +1 -1
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.d.ts +1 -3
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +5 -5
- package/dist/testing/MockedLangContextProvider/index.js +1 -1
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.d.ts +1 -3
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +13 -8
- package/dist/testing/MockedUserContextProvider/index.js +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +2 -2
- package/dist/types/attributes.d.ts +3 -3
- package/dist/types/attributes.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/misc.js +1 -1
- package/dist/types/records.d.ts +2 -2
- package/dist/types/records.js +1 -1
- package/dist/types/scalars.js +1 -1
- package/dist/types/search.d.ts +38 -27
- package/dist/types/search.js +19 -19
- package/dist/types/trees.d.ts +2 -2
- package/dist/types/trees.js +1 -1
- package/dist/types/values.js +1 -1
- package/dist/types/views.d.ts +4 -4
- package/dist/types/views.js +1 -1
- package/package.json +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.d.ts +0 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js +0 -30
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StandardFieldValue.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAE,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAE3E,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAY,OAAO,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AAC1E,OAAO,MAAM,MAAM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AS,IAAI,CACrB,MAAC,cAAc,eACX,KAAC,MAAM,kBAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,EAAC,UAAU,EAAE,MAAM,EAAC,gBACnE,CAAC,CAAC,eAAe,CAAC,IACd,EACR,CAAC,CAAC,mBAAmB,IAAI,gBAAgB,CAAC,IAAI,CAC3C,KAAC,MAAM,kBAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,kBAAkB,gBAC1D,CAAC,CAAC,eAAe,CAAC,IACd,CACZ,IACY,CACpB,KACY,IACV,GACR,IACG,IACf,CACN,CAAC;AACN,CAAC;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import {IDateRangeValue} from '@leav/utils';
|
|
3
|
+
import {RecordFormAttributeStandardAttributeFragment} from '../../../../../../../_gqlTypes';
|
|
4
|
+
export interface IValueOfValuesList {
|
|
5
|
+
value: string;
|
|
6
|
+
rawValue: string | IDateRangeValue;
|
|
7
|
+
isNewValue: boolean;
|
|
8
|
+
canCopy: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface IValuesListProps {
|
|
11
|
+
attribute: RecordFormAttributeStandardAttributeFragment;
|
|
12
|
+
valuesList: IValueOfValuesList[];
|
|
13
|
+
onValueSelect: (value: string | IDateRangeValue) => void;
|
|
14
|
+
onValueCopy: (value: string | IDateRangeValue) => void;
|
|
15
|
+
}
|
|
16
|
+
declare function ValuesList({attribute, valuesList: values, onValueCopy, onValueSelect}: IValuesListProps): JSX.Element;
|
|
17
|
+
export default ValuesList;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import {jsxs as _jsxs, jsx as _jsx} from 'react/jsx-runtime';
|
|
2
|
+
// Copyright LEAV Solutions 2017
|
|
3
|
+
// This file is released under LGPL V3
|
|
4
|
+
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
|
+
import {CopyOutlined} from '@ant-design/icons';
|
|
6
|
+
import {Button, Tooltip} from 'antd';
|
|
7
|
+
import styled from 'styled-components';
|
|
8
|
+
import List from '../../../../../../../components/List';
|
|
9
|
+
import {useSharedTranslation} from '../../../../../../../hooks/useSharedTranslation';
|
|
10
|
+
import {AttributeFormat} from '../../../../../../../_gqlTypes';
|
|
11
|
+
const ListItem = styled.div`
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
width: 100%;
|
|
16
|
+
`;
|
|
17
|
+
function ValuesList({attribute, valuesList: values, onValueCopy, onValueSelect}) {
|
|
18
|
+
const {t, i18n} = useSharedTranslation();
|
|
19
|
+
const _handleClick = item => {
|
|
20
|
+
onValueSelect(item.rawValue);
|
|
21
|
+
};
|
|
22
|
+
const renderItem = item => {
|
|
23
|
+
const _handleCopy = e => {
|
|
24
|
+
e.stopPropagation();
|
|
25
|
+
onValueCopy(item.rawValue);
|
|
26
|
+
};
|
|
27
|
+
const valueToDisplay =
|
|
28
|
+
attribute.format === AttributeFormat.date
|
|
29
|
+
? new Intl.DateTimeFormat(i18n.language).format(new Date(Number(item.value) * 1000))
|
|
30
|
+
: item.value;
|
|
31
|
+
return _jsxs(ListItem, {
|
|
32
|
+
children: [
|
|
33
|
+
_jsxs('span', {children: [valueToDisplay, item.isNewValue && ` (${t('record_edition.new_value')})`]}),
|
|
34
|
+
item.canCopy &&
|
|
35
|
+
_jsx(
|
|
36
|
+
Tooltip,
|
|
37
|
+
Object.assign(
|
|
38
|
+
{title: t('record_edition.copy_value')},
|
|
39
|
+
{
|
|
40
|
+
children: _jsx(Button, {
|
|
41
|
+
icon: _jsx(CopyOutlined, {}),
|
|
42
|
+
shape: 'circle',
|
|
43
|
+
onClick: _handleCopy
|
|
44
|
+
})
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
)
|
|
48
|
+
]
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
return _jsx(List, {
|
|
52
|
+
dataSource: values,
|
|
53
|
+
bordered: true,
|
|
54
|
+
size: 'small',
|
|
55
|
+
maxHeight: 250,
|
|
56
|
+
locale: {emptyText: t('record_edition.no_matching_value')},
|
|
57
|
+
renderItemContent: renderItem,
|
|
58
|
+
onItemClick: _handleClick
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
export default ValuesList;
|
|
62
|
+
//# sourceMappingURL=ValuesList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValuesList.js","sourceRoot":"","sources":["../../../../../../../../src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAC,MAAM,EAAE,OAAO,EAAC,MAAM,MAAM,CAAC;AAErC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,eAAe,EAA+C,MAAM,eAAe,CAAC;AAe5F,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;CAK1B,CAAC;AAEF,SAAS,UAAU,CAAC,EAAC,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAmB;IAC7F,MAAM,EAAC,CAAC,EAAE,IAAI,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACzC,MAAM,YAAY,GAAG,CAAC,IAAwB,EAAE,EAAE;QAC9C,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACjC,CAAC,CAAC;IAEF,MAAM,UAAU,GAAG,CAAC,IAAwB,EAAE,EAAE;QAC5C,MAAM,WAAW,GAAG,CAAC,CAAiB,EAAE,EAAE;YACtC,CAAC,CAAC,eAAe,EAAE,CAAC;YAEpB,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC/B,CAAC,CAAC;QAEF,MAAM,cAAc,GAChB,SAAS,CAAC,MAAM,KAAK,eAAe,CAAC,IAAI;YACrC,CAAC,CAAC,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;YACpF,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;QAErB,OAAO,CACH,MAAC,QAAQ,eACL,2BACK,cAAc,EACd,IAAI,CAAC,UAAU,IAAI,KAAK,CAAC,CAAC,0BAA0B,CAAC,GAAG,IACtD,EACN,IAAI,CAAC,OAAO,IAAI,CACb,KAAC,OAAO,kBAAC,KAAK,EAAE,CAAC,CAAC,2BAA2B,CAAC,gBAC1C,KAAC,MAAM,IAAC,IAAI,EAAE,KAAC,YAAY,KAAG,EAAE,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAE,WAAW,GAAI,IACjE,CACb,IACM,CACd,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,IAAI,IACD,UAAU,EAAE,MAAM,EAClB,QAAQ,QACR,IAAI,EAAC,OAAO,EACZ,SAAS,EAAE,GAAG,EACd,MAAM,EAAE,EAAC,SAAS,EAAE,CAAC,CAAC,kCAAkC,CAAC,EAAC,EAC1D,iBAAiB,EAAE,UAAU,EAC7B,WAAW,EAAE,YAAY,GAC3B,CACL,CAAC;AACN,CAAC;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Copyright LEAV Solutions 2017
|
|
2
|
+
// This file is released under LGPL V3
|
|
3
|
+
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
|
+
import StandardFieldValue from './StandardFieldValue';
|
|
5
|
+
export default StandardFieldValue;
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecord/uiElements/StandardField/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextBlock.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.tsx"],"names":[],"mappings":";AAKA,OAAO,aAAa,MAAM,gBAAgB,CAAC;AAG3C,SAAS,SAAS,CAAC,EAAC,OAAO,EAA4C;IACnE,OAAO,KAAC,aAAa,cAAE,OAAO,CAAC,QAAQ,CAAC,OAAO,GAAiB,CAAC;AACrE,CAAC;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecord/uiElements/TextBlock/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import {ICommonFieldsSettings} from '@leav/utils';
|
|
3
|
+
import {IFormElementProps} from '../../_types';
|
|
4
|
+
declare function TreeField({
|
|
5
|
+
element,
|
|
6
|
+
onValueSubmit,
|
|
7
|
+
onValueDelete,
|
|
8
|
+
onDeleteMultipleValues
|
|
9
|
+
}: IFormElementProps<ICommonFieldsSettings>): JSX.Element;
|
|
10
|
+
export default TreeField;
|
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
import {jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs} from 'react/jsx-runtime';
|
|
2
|
+
import {List, Popover, theme} from 'antd';
|
|
3
|
+
import Paragraph from 'antd/lib/typography/Paragraph';
|
|
4
|
+
import {useContext, useEffect, useReducer} from 'react';
|
|
5
|
+
import styled from 'styled-components';
|
|
6
|
+
import {themeVars} from '../../../../../antdTheme';
|
|
7
|
+
import Dimmer from '../../../../../components/Dimmer';
|
|
8
|
+
import ErrorMessage from '../../../../../components/ErrorMessage';
|
|
9
|
+
import CreationErrorContext from '../../../../../components/RecordEdition/EditRecordModal/creationErrorContext';
|
|
10
|
+
import {EditRecordReducerActionsTypes} from '../../../../../components/RecordEdition/editRecordModalReducer/editRecordModalReducer';
|
|
11
|
+
import {useEditRecordModalReducer} from '../../../../../components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer';
|
|
12
|
+
import {useRefreshFieldValues} from '../../../../../hooks/useRefreshFieldValues';
|
|
13
|
+
import {arrayValueVersionToObject} from '../../../../../_utils';
|
|
14
|
+
import getActiveFieldValues from '../../helpers/getActiveFieldValues';
|
|
15
|
+
import {useRecordEditionContext} from '../../hooks/useRecordEditionContext';
|
|
16
|
+
import linkFieldReducer, {
|
|
17
|
+
computeInitialState,
|
|
18
|
+
LinkFieldReducerActionsType
|
|
19
|
+
} from '../../reducers/linkFieldReducer/linkFieldReducer';
|
|
20
|
+
import AddValueBtn from '../../shared/AddValueBtn';
|
|
21
|
+
import DeleteAllValuesBtn from '../../shared/DeleteAllValuesBtn';
|
|
22
|
+
import FieldFooter from '../../shared/FieldFooter';
|
|
23
|
+
import InheritedFieldLabel from '../../shared/InheritedFieldLabel';
|
|
24
|
+
import NoValue from '../../shared/NoValue';
|
|
25
|
+
import UpdatedFieldIcon from '../../shared/UpdatedFieldIcon';
|
|
26
|
+
import ValueDetailsBtn from '../../shared/ValueDetailsBtn';
|
|
27
|
+
import ValuesVersionBtn from '../../shared/ValuesVersionBtn';
|
|
28
|
+
import ValuesVersionIndicator from '../../shared/ValuesVersionIndicator';
|
|
29
|
+
import {APICallStatus, FieldScope} from '../../_types';
|
|
30
|
+
import TreeFieldValue from './TreeFieldValue';
|
|
31
|
+
import ValuesAdd from './ValuesAdd';
|
|
32
|
+
const Wrapper = styled.div`
|
|
33
|
+
position: relative;
|
|
34
|
+
border: 1px solid ${themeVars.borderColor};
|
|
35
|
+
margin-bottom: 1.5em;
|
|
36
|
+
border-radius: ${p => p.$themeToken.borderRadius}px;
|
|
37
|
+
background: ${themeVars.defaultBg};
|
|
38
|
+
z-index: ${p => (p.$isValuesAddVisible ? 1 : 'auto')};
|
|
39
|
+
|
|
40
|
+
.ant-list-items {
|
|
41
|
+
max-height: 320px;
|
|
42
|
+
overflow-y: auto;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ant-list-footer {
|
|
46
|
+
padding: 0;
|
|
47
|
+
border-radius: ${p => p.$themeToken.borderRadius}px;
|
|
48
|
+
}
|
|
49
|
+
`;
|
|
50
|
+
const FieldLabel = styled(Paragraph)`
|
|
51
|
+
&& {
|
|
52
|
+
top: calc(50% - 0.9em);
|
|
53
|
+
font-size: 0.9em;
|
|
54
|
+
padding: 0 0.5em;
|
|
55
|
+
color: ${themeVars.secondaryTextColor};
|
|
56
|
+
z-index: 1;
|
|
57
|
+
margin-bottom: 0;
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
60
|
+
function TreeField({element, onValueSubmit, onValueDelete, onDeleteMultipleValues}) {
|
|
61
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
62
|
+
const {token} = theme.useToken();
|
|
63
|
+
const {state: editRecordModalState, dispatch: editRecordModalDispatch} = useEditRecordModalReducer();
|
|
64
|
+
const {readOnly: isRecordReadOnly, record} = useRecordEditionContext();
|
|
65
|
+
const creationErrors = useContext(CreationErrorContext);
|
|
66
|
+
const isInCreationMode = record === null;
|
|
67
|
+
const [state, dispatch] = useReducer(
|
|
68
|
+
linkFieldReducer,
|
|
69
|
+
computeInitialState({
|
|
70
|
+
element,
|
|
71
|
+
formVersion: editRecordModalState.valuesVersion,
|
|
72
|
+
isRecordReadOnly,
|
|
73
|
+
record
|
|
74
|
+
})
|
|
75
|
+
);
|
|
76
|
+
const {fetchValues} = useRefreshFieldValues(
|
|
77
|
+
(_a = record === null || record === void 0 ? void 0 : record.library) === null || _a === void 0
|
|
78
|
+
? void 0
|
|
79
|
+
: _a.id,
|
|
80
|
+
state.attribute.id,
|
|
81
|
+
record === null || record === void 0 ? void 0 : record.id
|
|
82
|
+
);
|
|
83
|
+
const attribute = state.attribute;
|
|
84
|
+
const isReadOnly =
|
|
85
|
+
(attribute === null || attribute === void 0 ? void 0 : attribute.readonly) ||
|
|
86
|
+
isRecordReadOnly ||
|
|
87
|
+
!attribute.permissions.edit_value;
|
|
88
|
+
const activeValues = getActiveFieldValues(state);
|
|
89
|
+
const activeVersion = (_b = state.values[state.activeScope]) === null || _b === void 0 ? void 0 : _b.version;
|
|
90
|
+
const data = activeValues.map(val => Object.assign(Object.assign({}, val), {key: val.id_value}));
|
|
91
|
+
// Cancel value editing if value details panel is closed
|
|
92
|
+
useEffect(() => {
|
|
93
|
+
if (editRecordModalState.activeValue === null && state.isValuesAddVisible) {
|
|
94
|
+
_handleCloseValuesAdd();
|
|
95
|
+
}
|
|
96
|
+
}, [editRecordModalState.activeValue]);
|
|
97
|
+
useEffect(() => {
|
|
98
|
+
if (creationErrors[attribute.id]) {
|
|
99
|
+
dispatch({
|
|
100
|
+
type: LinkFieldReducerActionsType.SET_ERROR_MESSAGE,
|
|
101
|
+
errorMessage: creationErrors[attribute.id].map(err => err.message).join(' ')
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
}, [creationErrors, attribute.id]);
|
|
105
|
+
const renderItem = value => {
|
|
106
|
+
var _a;
|
|
107
|
+
const _handleDelete = async () => {
|
|
108
|
+
const deleteRes = await onValueDelete({id_value: value.id_value}, attribute.id);
|
|
109
|
+
if (deleteRes.status === APICallStatus.SUCCESS) {
|
|
110
|
+
dispatch({
|
|
111
|
+
type: LinkFieldReducerActionsType.DELETE_VALUE,
|
|
112
|
+
idValue: value.id_value
|
|
113
|
+
});
|
|
114
|
+
if (!isInCreationMode) {
|
|
115
|
+
const freshValues = await fetchValues(state.values[state.activeScope].version);
|
|
116
|
+
dispatch({
|
|
117
|
+
type: LinkFieldReducerActionsType.REFRESH_VALUES,
|
|
118
|
+
formVersion: editRecordModalState.valuesVersion,
|
|
119
|
+
values: freshValues
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
return _jsxs(_Fragment, {
|
|
126
|
+
children: [
|
|
127
|
+
((_a = attribute.versions_conf) === null || _a === void 0 ? void 0 : _a.versionable) &&
|
|
128
|
+
_jsx(ValuesVersionIndicator, {activeScope: state.activeScope}),
|
|
129
|
+
_jsx(TreeFieldValue, {
|
|
130
|
+
value: value,
|
|
131
|
+
attribute: attribute,
|
|
132
|
+
onDelete: _handleDelete,
|
|
133
|
+
isReadOnly: isReadOnly
|
|
134
|
+
})
|
|
135
|
+
]
|
|
136
|
+
});
|
|
137
|
+
};
|
|
138
|
+
const canAddValue = !isReadOnly && (attribute.multiple_values || !activeValues.length);
|
|
139
|
+
const _handleAddValue = () => {
|
|
140
|
+
editRecordModalDispatch({
|
|
141
|
+
type: EditRecordReducerActionsTypes.SET_ACTIVE_VALUE,
|
|
142
|
+
value: {
|
|
143
|
+
attribute,
|
|
144
|
+
value: null
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
dispatch({
|
|
148
|
+
type: LinkFieldReducerActionsType.SET_IS_VALUES_ADD_VISIBLE,
|
|
149
|
+
isValuesAddVisible: true
|
|
150
|
+
});
|
|
151
|
+
};
|
|
152
|
+
const _handleSubmitSelectTreeNodeModal = async treeNodes => {
|
|
153
|
+
var _a;
|
|
154
|
+
const valuesToSave = treeNodes.map(node => ({
|
|
155
|
+
attribute,
|
|
156
|
+
idValue: null,
|
|
157
|
+
value: node
|
|
158
|
+
}));
|
|
159
|
+
const res = await onValueSubmit(valuesToSave, activeVersion);
|
|
160
|
+
if (res.status === APICallStatus.ERROR) {
|
|
161
|
+
dispatch({
|
|
162
|
+
type: LinkFieldReducerActionsType.SET_ERROR_MESSAGE,
|
|
163
|
+
errorMessage: res.error
|
|
164
|
+
});
|
|
165
|
+
} else if (res.values) {
|
|
166
|
+
const formattedValues = res.values.map(v => {
|
|
167
|
+
var _a;
|
|
168
|
+
return Object.assign(Object.assign({}, v), {
|
|
169
|
+
version: arrayValueVersionToObject(v.version),
|
|
170
|
+
metadata:
|
|
171
|
+
(_a = v.metadata) === null || _a === void 0
|
|
172
|
+
? void 0
|
|
173
|
+
: _a.map(metadata => {
|
|
174
|
+
var _a;
|
|
175
|
+
return Object.assign(Object.assign({}, metadata), {
|
|
176
|
+
value: Object.assign(Object.assign({}, metadata.value), {
|
|
177
|
+
version: arrayValueVersionToObject(
|
|
178
|
+
(_a = metadata.value.version) !== null && _a !== void 0 ? _a : []
|
|
179
|
+
)
|
|
180
|
+
})
|
|
181
|
+
});
|
|
182
|
+
})
|
|
183
|
+
});
|
|
184
|
+
});
|
|
185
|
+
dispatch({
|
|
186
|
+
type: LinkFieldReducerActionsType.ADD_VALUES,
|
|
187
|
+
values: formattedValues
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
if (
|
|
191
|
+
(_a = res === null || res === void 0 ? void 0 : res.errors) === null || _a === void 0 ? void 0 : _a.length
|
|
192
|
+
) {
|
|
193
|
+
const selectedNodesById = treeNodes.reduce(
|
|
194
|
+
(acc, cur) => Object.assign(Object.assign({}, acc), {[cur.id]: cur}),
|
|
195
|
+
{}
|
|
196
|
+
);
|
|
197
|
+
const errorsMessage = res.errors.map(err => {
|
|
198
|
+
const linkedRecordLabel = selectedNodesById[err.input].title || selectedNodesById[err.input].id;
|
|
199
|
+
return `${linkedRecordLabel}: ${err.message}`;
|
|
200
|
+
});
|
|
201
|
+
dispatch({
|
|
202
|
+
type: LinkFieldReducerActionsType.SET_ERROR_MESSAGE,
|
|
203
|
+
errorMessage: errorsMessage
|
|
204
|
+
});
|
|
205
|
+
} else {
|
|
206
|
+
dispatch({
|
|
207
|
+
type: LinkFieldReducerActionsType.SET_IS_VALUES_ADD_VISIBLE,
|
|
208
|
+
isValuesAddVisible: false
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
const _handleDeleteAllValues = async () => {
|
|
213
|
+
var _a;
|
|
214
|
+
const deleteRes = await onDeleteMultipleValues(attribute.id, activeValues, activeVersion);
|
|
215
|
+
if (deleteRes.status === APICallStatus.SUCCESS) {
|
|
216
|
+
dispatch({
|
|
217
|
+
type: LinkFieldReducerActionsType.DELETE_ALL_VALUES
|
|
218
|
+
});
|
|
219
|
+
if (!isInCreationMode) {
|
|
220
|
+
const freshValues = await fetchValues(state.values[state.activeScope].version);
|
|
221
|
+
dispatch({
|
|
222
|
+
type: LinkFieldReducerActionsType.REFRESH_VALUES,
|
|
223
|
+
formVersion: editRecordModalState.valuesVersion,
|
|
224
|
+
values: freshValues
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
if (
|
|
229
|
+
(_a = deleteRes === null || deleteRes === void 0 ? void 0 : deleteRes.errors) === null || _a === void 0
|
|
230
|
+
? void 0
|
|
231
|
+
: _a.length
|
|
232
|
+
) {
|
|
233
|
+
dispatch({
|
|
234
|
+
type: LinkFieldReducerActionsType.SET_ERROR_MESSAGE,
|
|
235
|
+
errorMessage: deleteRes.errors.map(err => err.message)
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
const _handleScopeChange = scope => {
|
|
240
|
+
dispatch({
|
|
241
|
+
type: LinkFieldReducerActionsType.CHANGE_ACTIVE_SCOPE,
|
|
242
|
+
scope
|
|
243
|
+
});
|
|
244
|
+
};
|
|
245
|
+
const versions = {
|
|
246
|
+
[FieldScope.CURRENT]:
|
|
247
|
+
(_d = (_c = state.values[FieldScope.CURRENT]) === null || _c === void 0 ? void 0 : _c.version) !== null &&
|
|
248
|
+
_d !== void 0
|
|
249
|
+
? _d
|
|
250
|
+
: null,
|
|
251
|
+
[FieldScope.INHERITED]:
|
|
252
|
+
(_f = (_e = state.values[FieldScope.INHERITED]) === null || _e === void 0 ? void 0 : _e.version) !== null &&
|
|
253
|
+
_f !== void 0
|
|
254
|
+
? _f
|
|
255
|
+
: null
|
|
256
|
+
};
|
|
257
|
+
const ListFooter = _jsxs(FieldFooter, {
|
|
258
|
+
children: [
|
|
259
|
+
_jsxs('div', {
|
|
260
|
+
children: [
|
|
261
|
+
((_g = attribute === null || attribute === void 0 ? void 0 : attribute.versions_conf) === null ||
|
|
262
|
+
_g === void 0
|
|
263
|
+
? void 0
|
|
264
|
+
: _g.versionable) &&
|
|
265
|
+
_jsx(ValuesVersionBtn, {
|
|
266
|
+
versions: versions,
|
|
267
|
+
activeScope: state.activeScope,
|
|
268
|
+
onScopeChange: _handleScopeChange,
|
|
269
|
+
basic: true
|
|
270
|
+
}),
|
|
271
|
+
!isReadOnly &&
|
|
272
|
+
!!activeValues.length &&
|
|
273
|
+
_jsx(DeleteAllValuesBtn, {onDelete: _handleDeleteAllValues}),
|
|
274
|
+
_jsx(ValueDetailsBtn, {attribute: attribute, value: null, size: 'small', basic: true})
|
|
275
|
+
]
|
|
276
|
+
}),
|
|
277
|
+
!!activeValues.length &&
|
|
278
|
+
canAddValue &&
|
|
279
|
+
_jsx(AddValueBtn, {
|
|
280
|
+
activeScope: state.activeScope,
|
|
281
|
+
onClick: _handleAddValue,
|
|
282
|
+
disabled: state.isValuesAddVisible,
|
|
283
|
+
linkField: true
|
|
284
|
+
})
|
|
285
|
+
]
|
|
286
|
+
});
|
|
287
|
+
const _handleCloseValuesAdd = () => {
|
|
288
|
+
dispatch({
|
|
289
|
+
type: LinkFieldReducerActionsType.SET_IS_VALUES_ADD_VISIBLE,
|
|
290
|
+
isValuesAddVisible: false
|
|
291
|
+
});
|
|
292
|
+
editRecordModalDispatch({
|
|
293
|
+
type: EditRecordReducerActionsTypes.SET_ACTIVE_VALUE,
|
|
294
|
+
value: null
|
|
295
|
+
});
|
|
296
|
+
};
|
|
297
|
+
const _handleCloseError = () => {
|
|
298
|
+
dispatch({
|
|
299
|
+
type: LinkFieldReducerActionsType.CLEAR_ERROR_MESSAGE
|
|
300
|
+
});
|
|
301
|
+
};
|
|
302
|
+
return _jsxs(_Fragment, {
|
|
303
|
+
children: [
|
|
304
|
+
state.isValuesAddVisible && _jsx(Dimmer, {onClick: _handleCloseValuesAdd}),
|
|
305
|
+
_jsxs(
|
|
306
|
+
Wrapper,
|
|
307
|
+
Object.assign(
|
|
308
|
+
{$isValuesAddVisible: state.isValuesAddVisible, $themeToken: token},
|
|
309
|
+
{
|
|
310
|
+
children: [
|
|
311
|
+
_jsxs(
|
|
312
|
+
FieldLabel,
|
|
313
|
+
Object.assign(
|
|
314
|
+
{ellipsis: {rows: 1, tooltip: true}},
|
|
315
|
+
{
|
|
316
|
+
children: [
|
|
317
|
+
element.settings.label,
|
|
318
|
+
editRecordModalState.externalUpdate.updatedValues[
|
|
319
|
+
attribute === null || attribute === void 0 ? void 0 : attribute.id
|
|
320
|
+
] && _jsx(UpdatedFieldIcon, {}),
|
|
321
|
+
state.activeScope === FieldScope.INHERITED &&
|
|
322
|
+
_jsx(InheritedFieldLabel, {
|
|
323
|
+
version: state.values[FieldScope.INHERITED].version
|
|
324
|
+
})
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
)
|
|
328
|
+
),
|
|
329
|
+
_jsx(List, {
|
|
330
|
+
dataSource: data,
|
|
331
|
+
renderItem: renderItem,
|
|
332
|
+
split: true,
|
|
333
|
+
locale: {
|
|
334
|
+
emptyText: _jsx(NoValue, {
|
|
335
|
+
canAddValue: canAddValue,
|
|
336
|
+
onAddValue: _handleAddValue,
|
|
337
|
+
linkField: true
|
|
338
|
+
})
|
|
339
|
+
},
|
|
340
|
+
footer: ListFooter
|
|
341
|
+
}),
|
|
342
|
+
state.isValuesAddVisible &&
|
|
343
|
+
_jsx(ValuesAdd, {
|
|
344
|
+
attribute: attribute,
|
|
345
|
+
onAdd: _handleSubmitSelectTreeNodeModal,
|
|
346
|
+
onClose: _handleCloseValuesAdd
|
|
347
|
+
})
|
|
348
|
+
]
|
|
349
|
+
}
|
|
350
|
+
)
|
|
351
|
+
),
|
|
352
|
+
state.errorMessage &&
|
|
353
|
+
_jsx(Popover, {
|
|
354
|
+
placement: 'bottomLeft',
|
|
355
|
+
open: !!state.errorMessage,
|
|
356
|
+
content: _jsx(ErrorMessage, {error: state.errorMessage, onClose: _handleCloseError})
|
|
357
|
+
})
|
|
358
|
+
]
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
export default TreeField;
|
|
362
|
+
//# sourceMappingURL=TreeField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeField.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AAE1C,OAAO,SAAS,MAAM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AS,CAAC,CAAC,OAAO,GAAI,CAC/E,KACQ,EACb,KAAC,IAAI,IACD,UAAU,EAAE,IAAI,EAChB,UAAU,EAAE,UAAU,EACtB,KAAK,QACL,MAAM,EAAE;4BACJ,SAAS,EAAE,KAAC,OAAO,IAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,SAAG;yBAC1F,EACD,MAAM,EAAE,UAAU,GACpB,EACD,KAAK,CAAC,kBAAkB,IAAI,CACzB,KAAC,SAAS,IACN,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,gCAAgC,EACvC,OAAO,EAAE,qBAAqB,GAChC,CACL,KACK,EACT,KAAK,CAAC,YAAY,IAAI,CACnB,KAAC,OAAO,IACJ,SAAS,EAAC,YAAY,EACtB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,EAC1B,OAAO,EAAE,KAAC,YAAY,IAAC,KAAK,EAAE,KAAK,CAAC,YAAY,EAAE,OAAO,EAAE,iBAAiB,GAAI,GACzE,CACd,IACF,CACN,CAAC;AACN,CAAC;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import {RecordFormAttributeTreeAttributeFragment} from '../../../../../../_gqlTypes';
|
|
3
|
+
import {IRecordPropertyTree} from '../../../../../../_queries/records/getRecordPropertiesQuery';
|
|
4
|
+
interface ITreeFieldValueProps {
|
|
5
|
+
value: IRecordPropertyTree;
|
|
6
|
+
attribute: RecordFormAttributeTreeAttributeFragment;
|
|
7
|
+
onDelete: () => void;
|
|
8
|
+
isReadOnly: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare function TreeFieldValue({value, attribute, onDelete, isReadOnly}: ITreeFieldValueProps): JSX.Element;
|
|
11
|
+
export default TreeFieldValue;
|