@leav/ui 0.2.6 → 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 +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecordSkeleton.js +22 -5
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js +37 -0
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/{_hooks/useHandleSubmit → ValuesVersionSummary}/index.js +2 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/_types.d.ts +57 -25
- package/dist/components/RecordEdition/EditRecord/_types.js +6 -6
- package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.js +20 -10
- package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.js +2 -2
- package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.js +2 -2
- package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.js +2 -2
- package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.js +2 -2
- package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.js +8 -2
- package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useDeleteValueMutation.js +1 -1
- package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useSaveValueMutation.js +1 -1
- package/dist/components/RecordEdition/EditRecord/hooks/helpers/getPropertyCacheFieldName.js +2 -2
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.js +17 -13
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.js +29 -24
- package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.js +3 -3
- package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.d.ts +55 -37
- package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.js +96 -40
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.d.ts +88 -68
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.js +200 -58
- package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.js +42 -25
- package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js +40 -10
- package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.js +45 -19
- package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.js +11 -8
- package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.js +11 -8
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.js +37 -10
- package/dist/components/RecordEdition/EditRecord/shared/NoValue/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/UpdatedFieldIcon.js +13 -7
- package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.js +39 -26
- package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +10 -4
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.js +58 -30
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.js +9 -9
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.d.ts +7 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.js +35 -7
- package/dist/components/RecordEdition/EditRecord/uiElements/Container/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.js +32 -15
- package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.js +5 -5
- package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.js +25 -24
- package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.d.ts +12 -5
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js +10 -10
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.d.ts +10 -5
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.js +289 -84
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +6 -6
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +22 -15
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.js +295 -54
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.d.ts +9 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.js +178 -53
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js +13 -7
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js +17 -7
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js +48 -12
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js +52 -14
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.d.ts +8 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js +15 -6
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.d.ts +9 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js +19 -8
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js +21 -7
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.d.ts +9 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js +21 -7
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +16 -4
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +342 -85
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +44 -17
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.js +4 -4
- package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.d.ts +8 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.js +186 -49
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +18 -13
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.js +118 -30
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/index.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/index.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/index.js +2 -2
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecordBtn/index.js +1 -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.js +61 -17
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.js +56 -20
- package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.js +2 -2
- 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 +9 -9
- 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 +53 -41
- package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.js +61 -25
- package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.d.ts +2 -2
- package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.js +2 -2
- package/dist/components/RecordEdition/editRecordModalReducer/index.js +1 -1
- package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.d.ts +1 -1
- package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.js +3 -3
- 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 +2 -2
- package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/index.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/index.js +0 -5
- package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/useHandleDeleteValues.d.ts +0 -13
- package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/useHandleDeleteValues.js +0 -47
- package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/useHandleDeleteValues.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/index.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/useHandleSubmit.d.ts +0 -15
- package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/useHandleSubmit.js +0 -206
- package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/useHandleSubmit.js.map +0 -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
- package/dist/components/RecordEdition/_types.d.ts +0 -114
- package/dist/components/RecordEdition/_types.js +0 -12
- package/dist/components/RecordEdition/_types.js.map +0 -1
|
@@ -1 +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,EAA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N,CAAC;AAED,eAAe,kBAAkB,CAAC"}
|
|
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,QAAQ,CAAC;AAC5B,OAAO,KAAK,EAAE,EAAmB,SAAS,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AACjE,OAAO,MAAmB,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAAC,YAAY,EAAqB,MAAM,gBAAgB,CAAC;AAChE,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,cAAc,MAAM,+DAA+D,CAAC;AAC3F,OAAO,mBAAmB,MAAM,oEAAoE,CAAC;AACrG,OAAO,gBAAgB,MAAM,iEAAiE,CAAC;AAC/F,OAAO,eAAe,MAAM,gEAAgE,CAAC;AAC7F,OAAO,gBAAgB,MAAM,iEAAiE,CAAC;AAC/F,OAAO,sBAAsB,MAAM,uEAAuE,CAAC;AAC3G,OAAO,EACH,UAAU,EAIb,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAC,6BAA6B,EAAC,MAAM,4EAA4E,CAAC;AACzH,OAAO,EAAC,yBAAyB,EAAC,MAAM,+EAA+E,CAAC;AACxH,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EACH,eAAe,EAIlB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,uBAAuB,EAAC,MAAM,YAAY,CAA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KACG,CACX,EACA,SAAS,EAAE,EACX,CAAC,KAAK,CAAC,YAAY,IAAI,KAAC,YAAY,IAAC,OAAO,EAAE,YAAY,GAAI,KACpD,IACT,EACV,MAAC,cAAc,kBAAC,GAAG,EAAE,iBAAiB,iBACjC,UAAU,CAAC,SAAS,KAAI,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,WAAW,0CAAE,MAAM,CAAA,IAAI,CACvD,KAAC,UAAU,IACP,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,gBAAgB,GAC/B,CACL,EACA,UAAU,CAAC,SAAS,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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import {IDateRangeValue} from '@leav/utils';
|
|
3
|
+
import {RecordFormAttributeStandardAttributeFragment} from '../../../../../../../_gqlTypes';
|
|
4
4
|
export interface IValueOfValuesList {
|
|
5
5
|
value: string;
|
|
6
6
|
rawValue: string | IDateRangeValue;
|
|
@@ -13,5 +13,5 @@ interface IValuesListProps {
|
|
|
13
13
|
onValueSelect: (value: string | IDateRangeValue) => void;
|
|
14
14
|
onValueCopy: (value: string | IDateRangeValue) => void;
|
|
15
15
|
}
|
|
16
|
-
declare function ValuesList({
|
|
16
|
+
declare function ValuesList({attribute, valuesList: values, onValueCopy, onValueSelect}: IValuesListProps): JSX.Element;
|
|
17
17
|
export default ValuesList;
|
|
@@ -1,35 +1,62 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {jsxs as _jsxs, jsx as _jsx} from 'react/jsx-runtime';
|
|
2
2
|
// Copyright LEAV Solutions 2017
|
|
3
3
|
// This file is released under LGPL V3
|
|
4
4
|
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import {CopyOutlined} from '@ant-design/icons';
|
|
6
|
+
import {Button, Tooltip} from 'antd';
|
|
7
7
|
import styled from 'styled-components';
|
|
8
8
|
import List from '../../../../../../../components/List';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
const ListItem = styled.div
|
|
9
|
+
import {useSharedTranslation} from '../../../../../../../hooks/useSharedTranslation';
|
|
10
|
+
import {AttributeFormat} from '../../../../../../../_gqlTypes';
|
|
11
|
+
const ListItem = styled.div`
|
|
12
12
|
cursor: pointer;
|
|
13
13
|
display: flex;
|
|
14
14
|
justify-content: space-between;
|
|
15
15
|
width: 100%;
|
|
16
16
|
`;
|
|
17
|
-
function ValuesList({
|
|
18
|
-
const {
|
|
19
|
-
const _handleClick =
|
|
17
|
+
function ValuesList({attribute, valuesList: values, onValueCopy, onValueSelect}) {
|
|
18
|
+
const {t, i18n} = useSharedTranslation();
|
|
19
|
+
const _handleClick = item => {
|
|
20
20
|
onValueSelect(item.rawValue);
|
|
21
21
|
};
|
|
22
|
-
const renderItem =
|
|
23
|
-
const _handleCopy =
|
|
22
|
+
const renderItem = item => {
|
|
23
|
+
const _handleCopy = e => {
|
|
24
24
|
e.stopPropagation();
|
|
25
25
|
onValueCopy(item.rawValue);
|
|
26
26
|
};
|
|
27
|
-
const valueToDisplay =
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
+
});
|
|
31
50
|
};
|
|
32
|
-
return
|
|
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
|
+
});
|
|
33
60
|
}
|
|
34
61
|
export default ValuesList;
|
|
35
|
-
//# sourceMappingURL=ValuesList.js.map
|
|
62
|
+
//# sourceMappingURL=ValuesList.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
declare function TextBlock({
|
|
2
|
+
import {IFormTextBlockSettings} from '@leav/utils';
|
|
3
|
+
import {IFormElementProps} from '../../_types';
|
|
4
|
+
declare function TextBlock({element}: IFormElementProps<IFormTextBlockSettings>): JSX.Element;
|
|
5
5
|
export default TextBlock;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {jsx as _jsx} from 'react/jsx-runtime';
|
|
2
2
|
import ReactMarkdown from 'react-markdown';
|
|
3
|
-
function TextBlock({
|
|
4
|
-
return _jsx(ReactMarkdown, {
|
|
3
|
+
function TextBlock({element}) {
|
|
4
|
+
return _jsx(ReactMarkdown, {children: element.settings.content});
|
|
5
5
|
}
|
|
6
6
|
export default TextBlock;
|
|
7
|
-
//# sourceMappingURL=TextBlock.js.map
|
|
7
|
+
//# sourceMappingURL=TextBlock.js.map
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
declare function TreeField({
|
|
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;
|
|
5
10
|
export default TreeField;
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import {jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs} from 'react/jsx-runtime';
|
|
2
|
+
import {List, Popover, theme} from 'antd';
|
|
3
3
|
import Paragraph from 'antd/lib/typography/Paragraph';
|
|
4
|
-
import {
|
|
4
|
+
import {useContext, useEffect, useReducer} from 'react';
|
|
5
5
|
import styled from 'styled-components';
|
|
6
|
-
import {
|
|
6
|
+
import {themeVars} from '../../../../../antdTheme';
|
|
7
7
|
import Dimmer from '../../../../../components/Dimmer';
|
|
8
8
|
import ErrorMessage from '../../../../../components/ErrorMessage';
|
|
9
9
|
import CreationErrorContext from '../../../../../components/RecordEdition/EditRecordModal/creationErrorContext';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
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
14
|
import getActiveFieldValues from '../../helpers/getActiveFieldValues';
|
|
15
|
-
import {
|
|
16
|
-
import linkFieldReducer, {
|
|
15
|
+
import {useRecordEditionContext} from '../../hooks/useRecordEditionContext';
|
|
16
|
+
import linkFieldReducer, {
|
|
17
|
+
computeInitialState,
|
|
18
|
+
LinkFieldReducerActionsType
|
|
19
|
+
} from '../../reducers/linkFieldReducer/linkFieldReducer';
|
|
17
20
|
import AddValueBtn from '../../shared/AddValueBtn';
|
|
18
21
|
import DeleteAllValuesBtn from '../../shared/DeleteAllValuesBtn';
|
|
19
22
|
import FieldFooter from '../../shared/FieldFooter';
|
|
@@ -23,10 +26,10 @@ import UpdatedFieldIcon from '../../shared/UpdatedFieldIcon';
|
|
|
23
26
|
import ValueDetailsBtn from '../../shared/ValueDetailsBtn';
|
|
24
27
|
import ValuesVersionBtn from '../../shared/ValuesVersionBtn';
|
|
25
28
|
import ValuesVersionIndicator from '../../shared/ValuesVersionIndicator';
|
|
26
|
-
import {
|
|
29
|
+
import {APICallStatus, FieldScope} from '../../_types';
|
|
27
30
|
import TreeFieldValue from './TreeFieldValue';
|
|
28
31
|
import ValuesAdd from './ValuesAdd';
|
|
29
|
-
const Wrapper = styled.div
|
|
32
|
+
const Wrapper = styled.div`
|
|
30
33
|
position: relative;
|
|
31
34
|
border: 1px solid ${themeVars.borderColor};
|
|
32
35
|
margin-bottom: 1.5em;
|
|
@@ -44,7 +47,7 @@ const Wrapper = styled.div `
|
|
|
44
47
|
border-radius: ${p => p.$themeToken.borderRadius}px;
|
|
45
48
|
}
|
|
46
49
|
`;
|
|
47
|
-
const FieldLabel = styled(Paragraph)
|
|
50
|
+
const FieldLabel = styled(Paragraph)`
|
|
48
51
|
&& {
|
|
49
52
|
top: calc(50% - 0.9em);
|
|
50
53
|
font-size: 0.9em;
|
|
@@ -54,25 +57,37 @@ const FieldLabel = styled(Paragraph) `
|
|
|
54
57
|
margin-bottom: 0;
|
|
55
58
|
}
|
|
56
59
|
`;
|
|
57
|
-
function TreeField({
|
|
60
|
+
function TreeField({element, onValueSubmit, onValueDelete, onDeleteMultipleValues}) {
|
|
58
61
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
59
|
-
const {
|
|
60
|
-
const {
|
|
61
|
-
const {
|
|
62
|
+
const {token} = theme.useToken();
|
|
63
|
+
const {state: editRecordModalState, dispatch: editRecordModalDispatch} = useEditRecordModalReducer();
|
|
64
|
+
const {readOnly: isRecordReadOnly, record} = useRecordEditionContext();
|
|
62
65
|
const creationErrors = useContext(CreationErrorContext);
|
|
63
66
|
const isInCreationMode = record === null;
|
|
64
|
-
const [state, dispatch] = useReducer(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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
|
+
);
|
|
71
83
|
const attribute = state.attribute;
|
|
72
|
-
const isReadOnly =
|
|
84
|
+
const isReadOnly =
|
|
85
|
+
(attribute === null || attribute === void 0 ? void 0 : attribute.readonly) ||
|
|
86
|
+
isRecordReadOnly ||
|
|
87
|
+
!attribute.permissions.edit_value;
|
|
73
88
|
const activeValues = getActiveFieldValues(state);
|
|
74
89
|
const activeVersion = (_b = state.values[state.activeScope]) === null || _b === void 0 ? void 0 : _b.version;
|
|
75
|
-
const data = activeValues.map(val =>
|
|
90
|
+
const data = activeValues.map(val => Object.assign(Object.assign({}, val), {key: val.id_value}));
|
|
76
91
|
// Cancel value editing if value details panel is closed
|
|
77
92
|
useEffect(() => {
|
|
78
93
|
if (editRecordModalState.activeValue === null && state.isValuesAddVisible) {
|
|
@@ -87,10 +102,10 @@ function TreeField({ element, onValueSubmit, onValueDelete, onDeleteMultipleValu
|
|
|
87
102
|
});
|
|
88
103
|
}
|
|
89
104
|
}, [creationErrors, attribute.id]);
|
|
90
|
-
const renderItem =
|
|
105
|
+
const renderItem = value => {
|
|
91
106
|
var _a;
|
|
92
107
|
const _handleDelete = async () => {
|
|
93
|
-
const deleteRes = await onValueDelete({
|
|
108
|
+
const deleteRes = await onValueDelete({id_value: value.id_value}, attribute.id);
|
|
94
109
|
if (deleteRes.status === APICallStatus.SUCCESS) {
|
|
95
110
|
dispatch({
|
|
96
111
|
type: LinkFieldReducerActionsType.DELETE_VALUE,
|
|
@@ -107,7 +122,18 @@ function TreeField({ element, onValueSubmit, onValueDelete, onDeleteMultipleValu
|
|
|
107
122
|
return;
|
|
108
123
|
}
|
|
109
124
|
};
|
|
110
|
-
return
|
|
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
|
+
});
|
|
111
137
|
};
|
|
112
138
|
const canAddValue = !isReadOnly && (attribute.multiple_values || !activeValues.length);
|
|
113
139
|
const _handleAddValue = () => {
|
|
@@ -123,7 +149,7 @@ function TreeField({ element, onValueSubmit, onValueDelete, onDeleteMultipleValu
|
|
|
123
149
|
isValuesAddVisible: true
|
|
124
150
|
});
|
|
125
151
|
};
|
|
126
|
-
const _handleSubmitSelectTreeNodeModal = async
|
|
152
|
+
const _handleSubmitSelectTreeNodeModal = async treeNodes => {
|
|
127
153
|
var _a;
|
|
128
154
|
const valuesToSave = treeNodes.map(node => ({
|
|
129
155
|
attribute,
|
|
@@ -136,22 +162,38 @@ function TreeField({ element, onValueSubmit, onValueDelete, onDeleteMultipleValu
|
|
|
136
162
|
type: LinkFieldReducerActionsType.SET_ERROR_MESSAGE,
|
|
137
163
|
errorMessage: res.error
|
|
138
164
|
});
|
|
139
|
-
}
|
|
140
|
-
else if (res.values) {
|
|
165
|
+
} else if (res.values) {
|
|
141
166
|
const formattedValues = res.values.map(v => {
|
|
142
167
|
var _a;
|
|
143
|
-
return
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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
|
+
});
|
|
147
184
|
});
|
|
148
185
|
dispatch({
|
|
149
186
|
type: LinkFieldReducerActionsType.ADD_VALUES,
|
|
150
187
|
values: formattedValues
|
|
151
188
|
});
|
|
152
189
|
}
|
|
153
|
-
if (
|
|
154
|
-
|
|
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
|
+
);
|
|
155
197
|
const errorsMessage = res.errors.map(err => {
|
|
156
198
|
const linkedRecordLabel = selectedNodesById[err.input].title || selectedNodesById[err.input].id;
|
|
157
199
|
return `${linkedRecordLabel}: ${err.message}`;
|
|
@@ -160,8 +202,7 @@ function TreeField({ element, onValueSubmit, onValueDelete, onDeleteMultipleValu
|
|
|
160
202
|
type: LinkFieldReducerActionsType.SET_ERROR_MESSAGE,
|
|
161
203
|
errorMessage: errorsMessage
|
|
162
204
|
});
|
|
163
|
-
}
|
|
164
|
-
else {
|
|
205
|
+
} else {
|
|
165
206
|
dispatch({
|
|
166
207
|
type: LinkFieldReducerActionsType.SET_IS_VALUES_ADD_VISIBLE,
|
|
167
208
|
isValuesAddVisible: false
|
|
@@ -184,24 +225,65 @@ function TreeField({ element, onValueSubmit, onValueDelete, onDeleteMultipleValu
|
|
|
184
225
|
});
|
|
185
226
|
}
|
|
186
227
|
}
|
|
187
|
-
if (
|
|
228
|
+
if (
|
|
229
|
+
(_a = deleteRes === null || deleteRes === void 0 ? void 0 : deleteRes.errors) === null || _a === void 0
|
|
230
|
+
? void 0
|
|
231
|
+
: _a.length
|
|
232
|
+
) {
|
|
188
233
|
dispatch({
|
|
189
234
|
type: LinkFieldReducerActionsType.SET_ERROR_MESSAGE,
|
|
190
235
|
errorMessage: deleteRes.errors.map(err => err.message)
|
|
191
236
|
});
|
|
192
237
|
}
|
|
193
238
|
};
|
|
194
|
-
const _handleScopeChange =
|
|
239
|
+
const _handleScopeChange = scope => {
|
|
195
240
|
dispatch({
|
|
196
241
|
type: LinkFieldReducerActionsType.CHANGE_ACTIVE_SCOPE,
|
|
197
242
|
scope
|
|
198
243
|
});
|
|
199
244
|
};
|
|
200
245
|
const versions = {
|
|
201
|
-
[FieldScope.CURRENT]:
|
|
202
|
-
|
|
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
|
|
203
256
|
};
|
|
204
|
-
const ListFooter =
|
|
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
|
+
});
|
|
205
287
|
const _handleCloseValuesAdd = () => {
|
|
206
288
|
dispatch({
|
|
207
289
|
type: LinkFieldReducerActionsType.SET_IS_VALUES_ADD_VISIBLE,
|
|
@@ -217,9 +299,64 @@ function TreeField({ element, onValueSubmit, onValueDelete, onDeleteMultipleValu
|
|
|
217
299
|
type: LinkFieldReducerActionsType.CLEAR_ERROR_MESSAGE
|
|
218
300
|
});
|
|
219
301
|
};
|
|
220
|
-
return
|
|
221
|
-
|
|
222
|
-
|
|
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
|
+
});
|
|
223
360
|
}
|
|
224
361
|
export default TreeField;
|
|
225
|
-
//# sourceMappingURL=TreeField.js.map
|
|
362
|
+
//# sourceMappingURL=TreeField.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import {RecordFormAttributeTreeAttributeFragment} from '../../../../../../_gqlTypes';
|
|
3
|
+
import {IRecordPropertyTree} from '../../../../../../_queries/records/getRecordPropertiesQuery';
|
|
4
4
|
interface ITreeFieldValueProps {
|
|
5
5
|
value: IRecordPropertyTree;
|
|
6
6
|
attribute: RecordFormAttributeTreeAttributeFragment;
|
|
7
7
|
onDelete: () => void;
|
|
8
8
|
isReadOnly: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare function TreeFieldValue({
|
|
10
|
+
declare function TreeFieldValue({value, attribute, onDelete, isReadOnly}: ITreeFieldValueProps): JSX.Element;
|
|
11
11
|
export default TreeFieldValue;
|