@leav/ui 1.4.1-e0350ae1 → 1.4.1-e9a7d5f9
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.js +4 -4
- package/dist/__mocks__/common/application.js.map +1 -1
- package/dist/__mocks__/common/attribute.js +34 -34
- package/dist/__mocks__/common/attribute.js.map +1 -1
- package/dist/__mocks__/common/filter.js +4 -4
- package/dist/__mocks__/common/filter.js.map +1 -1
- package/dist/__mocks__/common/form.js +58 -58
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/__mocks__/common/import.js +5 -5
- package/dist/__mocks__/common/import.js.map +1 -1
- package/dist/__mocks__/common/label.js +1 -1
- package/dist/__mocks__/common/label.js.map +1 -1
- package/dist/__mocks__/common/library.js +25 -25
- package/dist/__mocks__/common/library.js.map +1 -1
- package/dist/__mocks__/common/mockSearchContextProvider.js +1 -1
- package/dist/__mocks__/common/mockSearchContextProvider.js.map +1 -1
- package/dist/__mocks__/common/record.js +3 -3
- package/dist/__mocks__/common/record.js.map +1 -1
- package/dist/__mocks__/common/tree.js +7 -7
- package/dist/__mocks__/common/tree.js.map +1 -1
- package/dist/__mocks__/common/treeElements.js +14 -14
- package/dist/__mocks__/common/treeElements.js.map +1 -1
- package/dist/__mocks__/common/value.js +6 -6
- package/dist/__mocks__/common/value.js.map +1 -1
- package/dist/__mocks__/common/versionProfile.js +1 -1
- package/dist/__mocks__/common/versionProfile.js.map +1 -1
- package/dist/__mocks__/common/view.js +5 -5
- package/dist/__mocks__/common/view.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +10 -10
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +5 -5
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +12 -12
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
- package/dist/__mocks__/react-i18next.js +6 -6
- package/dist/__mocks__/react-i18next.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +0 -5
- package/dist/_gqlTypes/index.js +2 -8
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/applications/applicationDetailsFragment.js.map +1 -1
- package/dist/_queries/applications/checkApplicationExistence.js.map +1 -1
- package/dist/_queries/applications/getApplicationDetails.js.map +1 -1
- package/dist/_queries/applications/getApplicationsModulesQuery.js.map +1 -1
- package/dist/_queries/applications/saveApplicationMutation.js.map +1 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
- package/dist/_queries/attributes/checkAttributeExistenceQuery.js.map +1 -1
- package/dist/_queries/attributes/deleteAttributeMutation.js.map +1 -1
- package/dist/_queries/attributes/getAttributeByIdQuery.js.map +1 -1
- package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js.map +1 -1
- package/dist/_queries/attributes/getAttributesByLib.js.map +1 -1
- package/dist/_queries/attributes/getAttributesQuery.js.map +1 -1
- package/dist/_queries/attributes/getVersionProfilesQuery.js.map +1 -1
- package/dist/_queries/attributes/getVersionableAttributesByLibrary.js.map +1 -1
- package/dist/_queries/attributes/saveAttributeMutation.js.map +1 -1
- package/dist/_queries/export/exportQuery.js +2 -2
- package/dist/_queries/export/exportQuery.js.map +1 -1
- package/dist/_queries/files/createDirectory.js.map +1 -1
- package/dist/_queries/files/forcePreviewsGenerationMutation.js.map +1 -1
- package/dist/_queries/files/getDirectoryDataQuery.js.map +1 -1
- package/dist/_queries/files/getUploadUpdates.js.map +1 -1
- package/dist/_queries/files/uploadMutation.js.map +1 -1
- package/dist/_queries/import/importExcel.js.map +1 -1
- package/dist/_queries/libraries/checkLibraryExistenceQuery.js.map +1 -1
- package/dist/_queries/libraries/deleteLibraryMutation.js.map +1 -1
- package/dist/_queries/libraries/getLibrariesQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryByIdQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryPermissionsQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js.map +1 -1
- package/dist/_queries/libraries/libraryDetailsFragment.js.map +1 -1
- package/dist/_queries/libraries/saveLibraryMutation.js.map +1 -1
- package/dist/_queries/permissions/isAllowedQuery.js.map +1 -1
- package/dist/_queries/records/activateRecordsMutation.js.map +1 -1
- package/dist/_queries/records/createRecordMutation.js.map +1 -1
- package/dist/_queries/records/deactivateRecordsMutation.js.map +1 -1
- package/dist/_queries/records/doesFileExistAsChild.js.map +1 -1
- package/dist/_queries/records/getFileDataQuery.js.map +1 -1
- package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/records/getRecordPropertiesQuery.js +1 -1
- package/dist/_queries/records/getRecordPropertiesQuery.js.map +1 -1
- package/dist/_queries/records/getRecordUpdatesSubscription.js.map +1 -1
- package/dist/_queries/records/getRecordsFromLibraryQuery.js.map +1 -1
- package/dist/_queries/records/indexRecordsMutation.js.map +1 -1
- package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
- package/dist/_queries/tasks/cancelTaskMutation.js.map +1 -1
- package/dist/_queries/trees/checkTreeExistenceQuery.js.map +1 -1
- package/dist/_queries/trees/deleteTreeMutation.js.map +1 -1
- package/dist/_queries/trees/getTreeByIdQuery.js.map +1 -1
- package/dist/_queries/trees/getTreeLibraries.js.map +1 -1
- package/dist/_queries/trees/getTreesQuery.js.map +1 -1
- package/dist/_queries/trees/saveTreeMutation.js.map +1 -1
- package/dist/_queries/trees/treeDetailsFragment.js.map +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/_queries/userData/getUserData.js.map +1 -1
- package/dist/_queries/userData/saveUserData.js.map +1 -1
- package/dist/_queries/values/deleteValueMutation.js.map +1 -1
- package/dist/_queries/values/saveValueBatchMutation.js.map +1 -1
- package/dist/_queries/values/valueDetailsFragment.js.map +1 -1
- package/dist/_queries/values/valuesVersionFragment.js.map +1 -1
- package/dist/_queries/views/deleteViewMutation.js.map +1 -1
- package/dist/_queries/views/getViewById.js.map +1 -1
- package/dist/_queries/views/getViewsListQuery.js.map +1 -1
- package/dist/_queries/views/saveViewMutation.js.map +1 -1
- package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
- package/dist/_utils/__mocks__/isDevEnv.js.map +1 -1
- package/dist/_utils/attributeType.js.map +1 -1
- package/dist/_utils/getFiltersFromRequest.js +9 -9
- package/dist/_utils/getFiltersFromRequest.js.map +1 -1
- package/dist/_utils/getRequestFromFilter.js +5 -5
- package/dist/_utils/getRequestFromFilter.js.map +1 -1
- package/dist/_utils/index.js +10 -10
- package/dist/_utils/index.js.map +1 -1
- package/dist/_utils/interleaveElement.js.map +1 -1
- package/dist/_utils/isDevEnv.js.map +1 -1
- package/dist/_utils/typeguards.js.map +1 -1
- package/dist/antdTheme/index.js +6 -6
- package/dist/antdTheme/index.js.map +1 -1
- package/dist/antdTheme/types.js.map +1 -1
- package/dist/components/AttributePicker/AttributePicker.d.ts +1 -1
- package/dist/components/AttributePicker/AttributePicker.js +1 -1
- package/dist/components/AttributePicker/AttributePicker.js.map +1 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +1 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.js +29 -29
- package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/AttributePicker/AttributesList/index.js.map +1 -1
- package/dist/components/AttributePicker/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/Attribute/Attribute.js +2 -2
- package/dist/components/AttributesSelectionList/Attribute/Attribute.js.map +1 -1
- package/dist/components/AttributesSelectionList/Attribute/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +1 -1
- package/dist/components/AttributesSelectionList/AttributesSelectionList.js +6 -6
- package/dist/components/AttributesSelectionList/AttributesSelectionList.js.map +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js.map +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js.map +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/_types.js.map +1 -1
- package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js +1 -1
- package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js.map +1 -1
- package/dist/components/AttributesSelectionList/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js +1 -1
- package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js.map +1 -1
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js +3 -3
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js.map +1 -1
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js +1 -1
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js.map +1 -1
- package/dist/components/AttributesSelectionList/sharedComponents.js.map +1 -1
- package/dist/components/BasicButton/BasicButton.js.map +1 -1
- package/dist/components/BasicButton/index.js.map +1 -1
- package/dist/components/CreateDirectory/CreateDirectory.js +15 -15
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/CreateDirectory/index.js.map +1 -1
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +1 -1
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js +3 -3
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js.map +1 -1
- package/dist/components/DeactivateRecordsModal/index.js.map +1 -1
- package/dist/components/Dimmer/Dimmer.js.map +1 -1
- package/dist/components/Dimmer/index.js.map +1 -1
- package/dist/components/EditApplication/EditApplication.d.ts +1 -1
- package/dist/components/EditApplication/EditApplication.js +5 -5
- package/dist/components/EditApplication/EditApplication.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +18 -18
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +13 -13
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/index.js.map +1 -1
- package/dist/components/EditApplication/_types.js.map +1 -1
- package/dist/components/EditApplication/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +4 -4
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +20 -20
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +12 -12
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js +4 -4
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.js +9 -9
- package/dist/components/EditAttributeModal/EditAttributeModal.js.map +1 -1
- package/dist/components/EditAttributeModal/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +8 -8
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +3 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +20 -20
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js +6 -6
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js +9 -9
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js +19 -19
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +18 -18
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js +6 -6
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +7 -7
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js +13 -13
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +10 -10
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.js +11 -11
- package/dist/components/EditLibraryModal/EditLibraryModal.js.map +1 -1
- package/dist/components/EditLibraryModal/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTree.js +4 -4
- package/dist/components/EditTreeModal/EditTree/EditTree.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +20 -20
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +8 -8
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +9 -9
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTreeModal.js +8 -8
- package/dist/components/EditTreeModal/EditTreeModal.js.map +1 -1
- package/dist/components/EditTreeModal/index.js.map +1 -1
- package/dist/components/EntityCard/EntityCard.d.ts +1 -1
- package/dist/components/EntityCard/EntityCard.js +2 -2
- package/dist/components/EntityCard/EntityCard.js.map +1 -1
- package/dist/components/EntityCard/_types.js.map +1 -1
- package/dist/components/EntityCard/index.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreview.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +2 -2
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/index.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/index.js.map +1 -1
- package/dist/components/EntityPreview/_types.js.map +1 -1
- package/dist/components/EntityPreview/index.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js.map +1 -1
- package/dist/components/ErrorBoundary/index.js.map +1 -1
- package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +1 -1
- package/dist/components/ErrorDisplay/ErrorDisplay.js +5 -5
- package/dist/components/ErrorDisplay/ErrorDisplay.js.map +1 -1
- package/dist/components/ErrorDisplay/index.js.map +1 -1
- package/dist/components/ErrorMessage/ErrorMessage.js.map +1 -1
- package/dist/components/ErrorMessage/index.js.map +1 -1
- package/dist/components/Explorer/DataView.js +8 -8
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +1 -1
- package/dist/components/Explorer/Explorer.js +19 -19
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -1
- package/dist/components/Explorer/ExplorerTitle.js +3 -3
- package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/Explorer/IdCard.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +11 -11
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/TableNameCell.js +4 -4
- package/dist/components/Explorer/TableNameCell.js.map +1 -1
- package/dist/components/Explorer/TableTagGroup.js.map +1 -1
- package/dist/components/Explorer/_constants.js +2 -2
- package/dist/components/Explorer/_constants.js.map +1 -1
- package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js +2 -2
- package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js +19 -19
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.d.ts +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +28 -28
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +3 -3
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +13 -13
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +12 -12
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.js +20 -15
- package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js +13 -13
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +2 -2
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -13
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -3
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/usePrimaryActions.d.ts +1 -1
- package/dist/components/Explorer/actions-primary/usePrimaryActions.js +3 -3
- package/dist/components/Explorer/actions-primary/usePrimaryActions.js.map +1 -1
- package/dist/components/Explorer/conditionsHelper.js +1 -1
- package/dist/components/Explorer/conditionsHelper.js.map +1 -1
- package/dist/components/Explorer/index.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.js +11 -11
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/link-item/useAddLinkMassAction.d.ts +1 -1
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js +5 -5
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -1
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +1 -1
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +5 -5
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -1
- package/dist/components/Explorer/list-saved-views/SavedViews.js +3 -3
- package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +2 -2
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +5 -5
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +2 -2
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +3 -3
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +13 -13
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/index.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +2 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +3 -3
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +2 -2
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +6 -6
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +7 -7
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +3 -3
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +5 -5
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +6 -6
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +8 -8
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +18 -18
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +2 -2
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +4 -4
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +23 -23
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useColumnWidth.js +2 -2
- package/dist/components/Explorer/useColumnWidth.js.map +1 -1
- package/dist/components/Explorer/useLoadView.js +11 -11
- package/dist/components/Explorer/useLoadView.js.map +1 -1
- package/dist/components/Explorer/usePagination.js +3 -3
- package/dist/components/Explorer/usePagination.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.d.ts +1 -1
- package/dist/components/Explorer/useSearchInput.js +3 -3
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.js +23 -23
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/FieldsGroup/FieldsGroup.js.map +1 -1
- package/dist/components/FieldsGroup/index.js.map +1 -1
- package/dist/components/Filters/FiltersProvider.js.map +1 -1
- package/dist/components/Filters/_types.js +1 -1
- package/dist/components/Filters/_types.js.map +1 -1
- package/dist/components/Filters/conditionsHelper.js +1 -1
- package/dist/components/Filters/conditionsHelper.js.map +1 -1
- package/dist/components/Filters/context/filtersContext.js +1 -1
- package/dist/components/Filters/context/filtersContext.js.map +1 -1
- package/dist/components/Filters/context/filtersInitialState.js +1 -1
- package/dist/components/Filters/context/filtersInitialState.js.map +1 -1
- package/dist/components/Filters/context/filtersReducer.js +16 -16
- package/dist/components/Filters/context/filtersReducer.js.map +1 -1
- package/dist/components/Filters/context/useFiltersReducer.d.ts +1 -1
- package/dist/components/Filters/context/useFiltersReducer.js +9 -9
- package/dist/components/Filters/context/useFiltersReducer.js.map +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.js +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js +6 -6
- package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js +3 -3
- package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +5 -5
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +3 -3
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +7 -7
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js +7 -7
- package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +2 -2
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/_types.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js +14 -14
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Filters/index.js.map +1 -1
- package/dist/components/Filters/prepareFiltersForRequest.js +22 -22
- package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Filters/useFilters.js +4 -4
- package/dist/components/Filters/useFilters.js.map +1 -1
- package/dist/components/Filters/useFiltersContext.js.map +1 -1
- package/dist/components/Filters/useTransformFilters.d.ts +1 -1
- package/dist/components/Filters/useTransformFilters.js +17 -17
- package/dist/components/Filters/useTransformFilters.js.map +1 -1
- package/dist/components/FloatingMenu/FloatingMenu.js +2 -2
- package/dist/components/FloatingMenu/FloatingMenu.js.map +1 -1
- package/dist/components/FloatingMenu/_types.js.map +1 -1
- package/dist/components/FloatingMenu/index.js.map +1 -1
- package/dist/components/ImageLoading/ImageLoading.js.map +1 -1
- package/dist/components/ImageLoading/index.js.map +1 -1
- package/dist/components/ImageMissing/ImageMissing.js +1 -1
- package/dist/components/ImageMissing/ImageMissing.js.map +1 -1
- package/dist/components/ImageMissing/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModal.js +16 -16
- package/dist/components/ImportModal/ImportModal.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +14 -14
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +7 -7
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalDoneStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalProcessingStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +7 -7
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/index.js.map +1 -1
- package/dist/components/ImportModal/_types.js.map +1 -1
- package/dist/components/ImportModal/importReducer/ImportReducerContext.js +1 -1
- package/dist/components/ImportModal/importReducer/ImportReducerContext.js.map +1 -1
- package/dist/components/ImportModal/importReducer/importReducer.js +15 -15
- package/dist/components/ImportModal/importReducer/importReducer.js.map +1 -1
- package/dist/components/ImportModal/importReducer/index.js.map +1 -1
- package/dist/components/ImportModal/index.js.map +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/index.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +9 -9
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayOptions/index.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +22 -22
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +13 -13
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +4 -4
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/filterUtils.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +3 -3
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +15 -15
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +7 -7
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js.map +1 -1
- package/dist/components/LibraryItemsList/IconViewType/IconViewType.js.map +1 -1
- package/dist/components/LibraryItemsList/IconViewType/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsList.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsList.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +15 -15
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +7 -7
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/types.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +6 -6
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +12 -12
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +7 -7
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemList/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +8 -21
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +11 -11
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +9 -9
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuSelection/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.js +20 -20
- package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuView/index.js.map +1 -1
- package/dist/components/LibraryItemsList/SearchItems/SearchItems.js.map +1 -1
- package/dist/components/LibraryItemsList/SearchItems/index.js.map +1 -1
- package/dist/components/LibraryItemsList/Sidebar/Sidebar.js.map +1 -1
- package/dist/components/LibraryItemsList/Sidebar/index.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +5 -5
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/index.js.map +1 -1
- package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +2 -2
- package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js.map +1 -1
- package/dist/components/LibraryItemsList/VersionsPanel/index.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +5 -5
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js +8 -8
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/index.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +8 -8
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/index.js.map +1 -1
- package/dist/components/LibraryItemsList/constants.js +1 -1
- package/dist/components/LibraryItemsList/constants.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +4 -4
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +2 -2
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +6 -6
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +18 -18
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +9 -9
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js.map +1 -1
- package/dist/components/LibraryItemsList/index.js.map +1 -1
- package/dist/components/LibraryItemsList/manageItems.js +1 -1
- package/dist/components/LibraryItemsList/manageItems.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +2 -2
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/sharedUtils.js.map +1 -1
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +1 -1
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +13 -13
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
- package/dist/components/LibraryPicker/LibrariesList/index.js.map +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.d.ts +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.js +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.js.map +1 -1
- package/dist/components/LibraryPicker/index.js.map +1 -1
- package/dist/components/List/List.js +1 -1
- package/dist/components/List/List.js.map +1 -1
- package/dist/components/List/index.js.map +1 -1
- package/dist/components/Loading/Loading.js.map +1 -1
- package/dist/components/Loading/index.js.map +1 -1
- package/dist/components/Notifications/InitNotificationsSubscription.js.map +1 -1
- package/dist/components/Notifications/hooks/useNotificationSubscription.js +2 -2
- package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -1
- package/dist/components/Notifications/index.js.map +1 -1
- package/dist/components/RecordCard/RecordCard.d.ts +1 -1
- package/dist/components/RecordCard/RecordCard.js +3 -3
- package/dist/components/RecordCard/RecordCard.js.map +1 -1
- package/dist/components/RecordCard/_types.js.map +1 -1
- package/dist/components/RecordCard/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +16 -17
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +7 -7
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/getActiveFieldValues.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/isCurrentVersion.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js +6 -6
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js +19 -19
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js +7 -7
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +6 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js +12 -12
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +15 -15
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +8 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +9 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +7 -7
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +19 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +6 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +8 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +4 -4
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js +1 -1
- package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +17 -4
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/AttributeSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +9 -9
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +6 -6
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +4 -4
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +16 -16
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +3 -3
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSkeleton/index.js.map +1 -1
- package/dist/components/RecordEdition/_types.js.map +1 -1
- package/dist/components/RecordEdition/constants.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +10 -10
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/index.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistory.js +2 -2
- package/dist/components/RecordHistory/RecordHistory.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistoryGoUpButton.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
- package/dist/components/RecordHistory/_types.js.map +1 -1
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.d.ts +1 -1
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +8 -8
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
- package/dist/components/RecordHistory/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +8 -8
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +2 -2
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/_constants.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +1 -1
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/index.js.map +1 -1
- package/dist/components/SearchModal/SearchModal.js +1 -1
- package/dist/components/SearchModal/SearchModal.js.map +1 -1
- package/dist/components/SearchModal/index.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +12 -12
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/index.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +1 -0
- package/dist/components/SelectTreeNode/SelectTreeNode.js +3 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +1 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +11 -11
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -1
- package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +1 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +2 -2
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
- package/dist/components/SelectTreeNode/_types.js.map +1 -1
- package/dist/components/SelectTreeNode/index.js.map +1 -1
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js +3 -3
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -1
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -1
- package/dist/components/ShowMore/ShowMore.js.map +1 -1
- package/dist/components/ShowMore/index.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/index.js.map +1 -1
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js.map +1 -1
- package/dist/components/SubmitStateNotifier/_types.js.map +1 -1
- package/dist/components/SubmitStateNotifier/index.js.map +1 -1
- package/dist/components/TreePicker/TreePicker.d.ts +1 -1
- package/dist/components/TreePicker/TreePicker.js +1 -1
- package/dist/components/TreePicker/TreePicker.js.map +1 -1
- package/dist/components/TreePicker/TreesList/TreesList.js +12 -12
- package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
- package/dist/components/TreePicker/TreesList/index.js.map +1 -1
- package/dist/components/TreePicker/index.js.map +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +7 -7
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/index.js.map +1 -1
- package/dist/components/UploadFiles/UploadFiles.d.ts +1 -1
- package/dist/components/UploadFiles/UploadFiles.js +25 -25
- package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
- package/dist/components/UploadFiles/index.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +1 -1
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +3 -3
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/index.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/index.js.map +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +0 -1
- package/dist/components/index.js.map +1 -1
- package/dist/constants.d.ts +2 -0
- package/dist/constants.js +4 -2
- package/dist/constants.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js +2 -2
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/index.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js.map +1 -1
- package/dist/contexts/LangContext/LangContext.js.map +1 -1
- package/dist/contexts/LangContext/index.js.map +1 -1
- package/dist/contexts/LangContext/types.js.map +1 -1
- package/dist/contexts/UserContext/UserContext.js.map +1 -1
- package/dist/contexts/UserContext/index.js.map +1 -1
- package/dist/contexts/UserContext/types.js.map +1 -1
- package/dist/contexts/index.js.map +1 -1
- package/dist/gqlFragments/index.js.map +1 -1
- package/dist/gqlFragments/recordIdentityFragment.js.map +1 -1
- package/dist/gqlPossibleTypes/index.js +1 -1
- package/dist/gqlPossibleTypes/index.js.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useAntdLocale/index.js.map +1 -1
- package/dist/hooks/useAntdLocale/useAntdLocale.js +1 -1
- package/dist/hooks/useAntdLocale/useAntdLocale.js.map +1 -1
- package/dist/hooks/useAppLang/index.js.map +1 -1
- package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
- package/dist/hooks/useAuth/index.js.map +1 -1
- package/dist/hooks/useAuth/useAuth.js +1 -1
- package/dist/hooks/useAuth/useAuth.js.map +1 -1
- package/dist/hooks/useCanEditRecord/index.js.map +1 -1
- package/dist/hooks/useCanEditRecord/useCanEditRecord.js +8 -8
- package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
- package/dist/hooks/useDebouncedValue/index.js.map +1 -1
- package/dist/hooks/useDebouncedValue/useDebouncedValue.js.map +1 -1
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +3 -3
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js.map +1 -1
- package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -1
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js +8 -8
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -1
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +3 -3
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js.map +1 -1
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +3 -3
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js.map +1 -1
- package/dist/hooks/useGetRecordForm/index.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +11 -11
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/index.js.map +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js.map +1 -1
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +5 -5
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +4 -4
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +15 -3
- package/dist/hooks/useIFrameMessenger/schema.js +15 -16
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +2 -2
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -1
- package/dist/hooks/useLang/__mocks__/index.js.map +1 -1
- package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
- package/dist/hooks/useLang/__mocks__/useLang.js.map +1 -1
- package/dist/hooks/useLang/index.js.map +1 -1
- package/dist/hooks/useLang/useLang.js.map +1 -1
- package/dist/hooks/useLibraryVersionTrees/index.js.map +1 -1
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +1 -1
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js.map +1 -1
- package/dist/hooks/useLocalStorage/index.js.map +1 -1
- package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -1
- package/dist/hooks/useLoginChecker/index.js.map +1 -1
- package/dist/hooks/useLoginChecker/useLoginChecker.js +2 -2
- package/dist/hooks/useLoginChecker/useLoginChecker.js.map +1 -1
- package/dist/hooks/useRecordsConsultationHistory/index.js.map +1 -1
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +3 -3
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js.map +1 -1
- package/dist/hooks/useRedirectToLogin/index.js.map +1 -1
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
- package/dist/hooks/useRefreshFieldValues/index.js.map +1 -1
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +8 -8
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
- package/dist/hooks/useSharedTranslation/__mocks__/index.js.map +1 -1
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
- package/dist/hooks/useSharedTranslation/index.js.map +1 -1
- package/dist/hooks/useSharedTranslation/useSharedTranslation.js +3 -3
- package/dist/hooks/useSharedTranslation/useSharedTranslation.js.map +1 -1
- package/dist/hooks/useUser/index.js.map +1 -1
- package/dist/hooks/useUser/useUser.js.map +1 -1
- package/dist/hooks/useValuesCacheUpdate/index.js.map +1 -1
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +2 -2
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/locales/en/shared.json +4 -1
- package/dist/locales/fr/shared.json +4 -1
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +1 -1
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js.map +1 -1
- package/dist/testing/MockedLangContextProvider/index.js.map +1 -1
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +3 -3
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js.map +1 -1
- package/dist/testing/MockedUserContextProvider/index.js.map +1 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/types/attributes.js.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/misc.js.map +1 -1
- package/dist/types/records.js.map +1 -1
- package/dist/types/scalars.js.map +1 -1
- package/dist/types/search.js +2 -2
- package/dist/types/search.js.map +1 -1
- package/dist/types/trees.js.map +1 -1
- package/dist/types/values.js.map +1 -1
- package/dist/types/views.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/ExportModal/ExportModal.d.ts +0 -10
- package/dist/components/ExportModal/ExportModal.js +0 -123
- package/dist/components/ExportModal/ExportModal.js.map +0 -1
- package/dist/components/ExportModal/index.d.ts +0 -1
- package/dist/components/ExportModal/index.js +0 -5
- package/dist/components/ExportModal/index.js.map +0 -1
|
@@ -10,7 +10,7 @@ import { type IViewSettingsState } from '../manage-view-settings';
|
|
|
10
10
|
* @param actions - list of actions to be display as one button: the primary action button
|
|
11
11
|
* @param hideFirstActionLabel - allows to hide its label when only one primary action
|
|
12
12
|
*/
|
|
13
|
-
export declare const usePrimaryActionsButton: ({ view, actions, hideFirstActionLabel }: {
|
|
13
|
+
export declare const usePrimaryActionsButton: ({ view, actions, hideFirstActionLabel, }: {
|
|
14
14
|
view: IViewSettingsState;
|
|
15
15
|
actions: IPrimaryAction[];
|
|
16
16
|
hideFirstActionLabel: boolean;
|
|
@@ -16,16 +16,16 @@ import { faPlus } from '@fortawesome/free-solid-svg-icons';
|
|
|
16
16
|
* @param actions - list of actions to be display as one button: the primary action button
|
|
17
17
|
* @param hideFirstActionLabel - allows to hide its label when only one primary action
|
|
18
18
|
*/
|
|
19
|
-
export const usePrimaryActionsButton = ({ view, actions, hideFirstActionLabel }) => {
|
|
19
|
+
export const usePrimaryActionsButton = ({ view, actions, hideFirstActionLabel, }) => {
|
|
20
20
|
const [firstAction] = actions;
|
|
21
21
|
return {
|
|
22
|
-
primaryButton: actions.length === 0 ? null : actions.length === 1 ? (_jsx(KitButton, { type: "primary", size: "m", icon: firstAction.icon, disabled: firstAction.disabled || view.massSelection === MASS_SELECTION_ALL, onClick: firstAction.callback, children: !hideFirstActionLabel && firstAction.label })) : (_jsx(KitDropDown, { menu: { items: mapPrimaryActionsToMenuItems(actions, view) }, trigger: ['click'], children: _jsx(KitButton, { type: "primary", size: "m", icon: _jsx(FontAwesomeIcon, { icon: faPlus }), disabled: view.massSelection === MASS_SELECTION_ALL, role: "dropdown-trigger" }) }))
|
|
22
|
+
primaryButton: actions.length === 0 ? null : actions.length === 1 ? (_jsx(KitButton, { type: "primary", size: "m", icon: firstAction.icon, disabled: firstAction.disabled || view.massSelection === MASS_SELECTION_ALL, onClick: firstAction.callback, children: !hideFirstActionLabel && firstAction.label })) : (_jsx(KitDropDown, { menu: { items: mapPrimaryActionsToMenuItems(actions, view) }, trigger: ['click'], children: _jsx(KitButton, { type: "primary", size: "m", icon: _jsx(FontAwesomeIcon, { icon: faPlus }), disabled: view.massSelection === MASS_SELECTION_ALL, role: "dropdown-trigger" }) })),
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
const mapPrimaryActionsToMenuItems = (actions, view) => actions.map((action, index) => ({
|
|
26
26
|
key: index,
|
|
27
27
|
label: action.label,
|
|
28
28
|
disabled: action.disabled || view.massSelection === MASS_SELECTION_ALL,
|
|
29
|
-
onClick: action.callback
|
|
29
|
+
onClick: action.callback,
|
|
30
30
|
}));
|
|
31
31
|
//# sourceMappingURL=usePrimaryActions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePrimaryActions.js","sourceRoot":"","sources":["../../../../src/components/Explorer/actions-primary/usePrimaryActions.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAE,WAAW,EAAC,MAAM,YAAY,CAAC;AAGlD,OAAO,EAAC,kBAAkB,EAAC,MAAM,eAAe,CAAC;AACjD,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,MAAM,EAAC,MAAM,mCAAmC,CAAC;AAEzD;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EACpC,IAAI,EACJ,OAAO,EACP,oBAAoB,
|
|
1
|
+
{"version":3,"file":"usePrimaryActions.js","sourceRoot":"","sources":["../../../../src/components/Explorer/actions-primary/usePrimaryActions.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAE,WAAW,EAAC,MAAM,YAAY,CAAC;AAGlD,OAAO,EAAC,kBAAkB,EAAC,MAAM,eAAe,CAAC;AACjD,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,MAAM,EAAC,MAAM,mCAAmC,CAAC;AAEzD;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAA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M,CAAC,QAAQ;CAC3B,CAAC,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {KitButton, KitDropDown} from 'aristid-ds';\nimport {type IPrimaryAction} from '../_types';\nimport {type IViewSettingsState} from '../manage-view-settings';\nimport {MASS_SELECTION_ALL} from '../_constants';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {faPlus} from '@fortawesome/free-solid-svg-icons';\n\n/**\n * Hook used to get the primary actions for `<DataView />` component.\n *\n * Based on default actions and custom actions, it returns a primary with first action as \"main\" action and the others\n * in the dropdown accessible via a split button.\n *\n * @param view - list of actions to be display as one button: the primary action button\n * @param actions - list of actions to be display as one button: the primary action button\n * @param hideFirstActionLabel - allows to hide its label when only one primary action\n */\nexport const usePrimaryActionsButton = ({\n view,\n actions,\n hideFirstActionLabel,\n}: {\n view: IViewSettingsState;\n actions: IPrimaryAction[];\n hideFirstActionLabel: boolean;\n}) => {\n const [firstAction] = actions;\n\n return {\n primaryButton:\n actions.length === 0 ? null : actions.length === 1 ? (\n <KitButton\n type=\"primary\"\n size=\"m\"\n icon={firstAction.icon}\n disabled={firstAction.disabled || view.massSelection === MASS_SELECTION_ALL}\n onClick={firstAction.callback}\n >\n {!hideFirstActionLabel && firstAction.label}\n </KitButton>\n ) : (\n <KitDropDown menu={{items: mapPrimaryActionsToMenuItems(actions, view)}} trigger={['click']}>\n <KitButton\n type=\"primary\"\n size=\"m\"\n icon={<FontAwesomeIcon icon={faPlus} />}\n disabled={view.massSelection === MASS_SELECTION_ALL}\n role=\"dropdown-trigger\"\n />\n </KitDropDown>\n ),\n };\n};\n\nconst mapPrimaryActionsToMenuItems = (actions: IPrimaryAction[], view: IViewSettingsState) =>\n actions.map((action, index) => ({\n key: index,\n label: action.label,\n disabled: action.disabled || view.massSelection === MASS_SELECTION_ALL,\n onClick: action.callback,\n }));\n"]}
|
|
@@ -11,6 +11,6 @@ export const nullValueConditions = [
|
|
|
11
11
|
AttributeConditionFilter.TOMORROW,
|
|
12
12
|
AttributeConditionFilter.YESTERDAY,
|
|
13
13
|
AttributeConditionFilter.LAST_MONTH,
|
|
14
|
-
AttributeConditionFilter.NEXT_MONTH
|
|
14
|
+
AttributeConditionFilter.NEXT_MONTH,
|
|
15
15
|
];
|
|
16
16
|
//# sourceMappingURL=conditionsHelper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionsHelper.js","sourceRoot":"","sources":["../../../src/components/Explorer/conditionsHelper.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAC,wBAAwB,EAAC,MAAM,WAAW,CAAC;AAEnD,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,eAAuB,EAAW,EAAE,CACzE,CAAC,eAAe,CAAC,KAAK,EAAE,eAAe,CAAC,UAAU,EAAE,eAAe,CAAC,SAAS,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAC7G,eAAe,CAClB,CAAC;AAEN,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAC/B,wBAAwB,CAAC,QAAQ;IACjC,wBAAwB,CAAC,YAAY;IACrC,wBAAwB,CAAC,KAAK;IAC9B,wBAAwB,CAAC,QAAQ;IACjC,wBAAwB,CAAC,SAAS;IAClC,wBAAwB,CAAC,UAAU;IACnC,wBAAwB,CAAC,UAAU;CACtC,CAAC"}
|
|
1
|
+
{"version":3,"file":"conditionsHelper.js","sourceRoot":"","sources":["../../../src/components/Explorer/conditionsHelper.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAC,wBAAwB,EAAC,MAAM,WAAW,CAAC;AAEnD,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,eAAuB,EAAW,EAAE,CACzE,CAAC,eAAe,CAAC,KAAK,EAAE,eAAe,CAAC,UAAU,EAAE,eAAe,CAAC,SAAS,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAC7G,eAAe,CAClB,CAAC;AAEN,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAC/B,wBAAwB,CAAC,QAAQ;IACjC,wBAAwB,CAAC,YAAY;IACrC,wBAAwB,CAAC,KAAK;IAC9B,wBAAwB,CAAC,QAAQ;IACjC,wBAAwB,CAAC,SAAS;IAClC,wBAAwB,CAAC,UAAU;IACnC,wBAAwB,CAAC,UAAU;CACtC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {AttributeFormat} from '_ui/_gqlTypes';\nimport {AttributeConditionFilter} from '_ui/types';\n\nexport const hasOnlyNoValueConditions = (attributeFormat: string): boolean =>\n [AttributeFormat.color, AttributeFormat.date_range, AttributeFormat.encrypted, AttributeFormat.extended].includes(\n attributeFormat,\n );\n\nexport const nullValueConditions = [\n AttributeConditionFilter.IS_EMPTY,\n AttributeConditionFilter.IS_NOT_EMPTY,\n AttributeConditionFilter.TODAY,\n AttributeConditionFilter.TOMORROW,\n AttributeConditionFilter.YESTERDAY,\n AttributeConditionFilter.LAST_MONTH,\n AttributeConditionFilter.NEXT_MONTH,\n];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Explorer/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,IAAI,gBAAgB,EAAC,MAAM,YAAY,CAAC;AACxD,OAAO,EAAC,eAAe,EAAE,SAAS,EAAE,2BAA2B,EAAC,MAAM,wBAAwB,CAAC;AAQ/F,MAAM,CAAC,MAAM,QAAQ,GAAG,gBAAkD,CAAC;AAC3E,QAAQ,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;AACnE,QAAQ,CAAC,eAAe,GAAG,eAAe,CAAC;AAC3C,QAAQ,CAAC,iBAAiB,GAAG,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Explorer/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,IAAI,gBAAgB,EAAC,MAAM,YAAY,CAAC;AACxD,OAAO,EAAC,eAAe,EAAE,SAAS,EAAE,2BAA2B,EAAC,MAAM,wBAAwB,CAAC;AAQ/F,MAAM,CAAC,MAAM,QAAQ,GAAG,gBAAkD,CAAC;AAC3E,QAAQ,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;AACnE,QAAQ,CAAC,eAAe,GAAG,eAAe,CAAC;AAC3C,QAAQ,CAAC,iBAAiB,GAAG,SAAS,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {Explorer as InternalExplorer} from './Explorer';\nimport {useEditSettings, SidePanel, EditSettingsContextProvider} from './manage-view-settings';\n\ntype CompoundedComponent = typeof InternalExplorer & {\n useEditSettings: typeof useEditSettings;\n EditSettingsContextProvider: typeof EditSettingsContextProvider;\n SettingsSidePanel: typeof SidePanel;\n};\n\nexport const Explorer = InternalExplorer as unknown as CompoundedComponent;\nExplorer.EditSettingsContextProvider = EditSettingsContextProvider;\nExplorer.useEditSettings = useEditSettings;\nExplorer.SettingsSidePanel = SidePanel;\n"]}
|
|
@@ -11,7 +11,7 @@ import { useReplaceLinkMassAction } from './useReplaceLinkMassAction';
|
|
|
11
11
|
import { LINK_RECORDS_MODAL_CLASSNAME } from '../_constants';
|
|
12
12
|
import { SelectTreeNodeModal } from '../../../components';
|
|
13
13
|
import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
|
|
14
|
-
export const LinkModal = ({ open, linkId, joinLibraryContext, isMultivalue, onLink, onReplace, onClose }) => {
|
|
14
|
+
export const LinkModal = ({ open, linkId, joinLibraryContext, isMultivalue, onLink, onReplace, onClose, }) => {
|
|
15
15
|
const { t } = useSharedTranslation();
|
|
16
16
|
const { view } = useViewSettingsContext();
|
|
17
17
|
const linkedLibraryId = joinLibraryContext &&
|
|
@@ -24,21 +24,21 @@ export const LinkModal = ({ open, linkId, joinLibraryContext, isMultivalue, onLi
|
|
|
24
24
|
const { data: attributeData } = useExplorerLinkAttributeQuery({
|
|
25
25
|
skip: view.entrypoint.type !== 'link',
|
|
26
26
|
variables: {
|
|
27
|
-
id: view.entrypoint.linkAttributeId
|
|
28
|
-
}
|
|
27
|
+
id: view.entrypoint.linkAttributeId,
|
|
28
|
+
},
|
|
29
29
|
});
|
|
30
30
|
const { createLinks } = useAddLinkMassAction({
|
|
31
31
|
store: { view },
|
|
32
32
|
linkAttributeId: view.entrypoint.linkAttributeId,
|
|
33
33
|
onLink,
|
|
34
|
-
closeModal: onClose
|
|
34
|
+
closeModal: onClose,
|
|
35
35
|
});
|
|
36
36
|
const { replaceLink } = useReplaceLinkMassAction({
|
|
37
37
|
store: { view },
|
|
38
38
|
linkAttributeId: view.entrypoint.linkAttributeId,
|
|
39
39
|
linkId,
|
|
40
40
|
onReplace,
|
|
41
|
-
closeModal: onClose
|
|
41
|
+
closeModal: onClose,
|
|
42
42
|
});
|
|
43
43
|
const linkAttributeData = attributeData?.attributes?.list[0];
|
|
44
44
|
const isValuesListEnabled = linkAttributeData && 'valuesList' in linkAttributeData && linkAttributeData.valuesList?.enable;
|
|
@@ -47,8 +47,8 @@ export const LinkModal = ({ open, linkId, joinLibraryContext, isMultivalue, onLi
|
|
|
47
47
|
return linkedTreeId ? (_jsx(SelectTreeNodeModal, { open: true, attribute: {
|
|
48
48
|
multiple_values: isMultivalue,
|
|
49
49
|
linked_tree: {
|
|
50
|
-
id: linkedTreeId
|
|
51
|
-
}
|
|
50
|
+
id: linkedTreeId,
|
|
51
|
+
},
|
|
52
52
|
}, title: t(isMultivalue ? 'tree-node-selection.title_many' : 'tree-node-selection.title'),
|
|
53
53
|
// We can select new node(s), ignoring current value(s).
|
|
54
54
|
// Selected element might be duplicated in link attribute in backend for now.
|
|
@@ -57,15 +57,15 @@ export const LinkModal = ({ open, linkId, joinLibraryContext, isMultivalue, onLi
|
|
|
57
57
|
if (isReplacement) {
|
|
58
58
|
replaceLink({
|
|
59
59
|
records: {
|
|
60
|
-
list: nodeIds.map(id => ({ id }))
|
|
61
|
-
}
|
|
60
|
+
list: nodeIds.map(id => ({ id })),
|
|
61
|
+
},
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
else {
|
|
65
65
|
createLinks({
|
|
66
66
|
records: {
|
|
67
|
-
list: nodeIds.map(id => ({ id }))
|
|
68
|
-
}
|
|
67
|
+
list: nodeIds.map(id => ({ id })),
|
|
68
|
+
},
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
} })) : (_jsx(SelectRecordForLinkModal, { className: LINK_RECORDS_MODAL_CLASSNAME, open: open, childLibraryId: linkedLibraryId || view.libraryId, onSelectionCompleted: isReplacement ? replaceLink : createLinks, replacementMode: isReplacement, selectionMode: isReplacement || !isMultivalue ? 'simple' : 'multiple', hideSelectAllAction: (isReplacement || !isMultivalue) && view.entrypoint.type === 'link', valuesList: valuesList, allowFreeEntry: allowFreeEntry, onClose: onClose }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkModal.js","sourceRoot":"","sources":["../../../../src/components/Explorer/link-item/LinkModal.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAyB,OAAO,EAAC,MAAM,OAAO,CAAC;AACtD,OAAO,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CAAC;iBAAM,CAAC;gBACJ,WAAW,CAAC;oBACR,OAAO,EAAE;wBACL,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAC,EAAE,EAAC,CAAC,CAAC;qBAClC;iBACJ,CAAC,CAAC;YACP,CAAC;QACL,CAAC,GACH,CACL,CAAC,CAAC,CAAC,CACA,KAAC,wBAAwB,IACrB,SAAS,EAAE,4BAA4B,EACvC,IAAI,EAAE,IAAI,EACV,cAAc,EAAE,eAAe,IAAI,IAAI,CAAC,SAAS,EACjD,oBAAoB,EAAE,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,EAC/D,eAAe,EAAE,aAAa,EAC9B,aAAa,EAAE,aAAa,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,EACrE,mBAAmB,EAAE,CAAC,aAAa,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,MAAM,EACxF,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,OAAO,GAClB,CACL,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type FunctionComponent, useMemo} from 'react';\nimport {type JoinLibraryContextFragment, useExplorerLinkAttributeQuery} from '_ui/_gqlTypes';\nimport {type ISubmitMultipleResult} from '_ui/components/RecordEdition/EditRecordContent/_types';\nimport {SelectRecordForLinkModal} from '_ui/components/SelectRecordForLinkModal';\nimport {type IEntrypointLink} from '../_types';\nimport {useAddLinkMassAction} from './useAddLinkMassAction';\nimport {useViewSettingsContext} from '../manage-view-settings/store-view-settings/useViewSettingsContext';\nimport {useReplaceLinkMassAction} from './useReplaceLinkMassAction';\nimport {LINK_RECORDS_MODAL_CLASSNAME} from '../_constants';\nimport {SelectTreeNodeModal} from '_ui/components';\nimport {ITreeNodeWithRecord} from '_ui/types';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\n\ninterface ILinkModalProps {\n open: boolean;\n linkId?: string;\n joinLibraryContext?: JoinLibraryContextFragment;\n isMultivalue: boolean;\n onClose: () => void;\n onLink?: (saveValuesResult: ISubmitMultipleResult) => void;\n onReplace?: (replaceValuesResult: ISubmitMultipleResult) => void;\n}\n\nexport const LinkModal: FunctionComponent<ILinkModalProps> = ({\n open,\n linkId,\n joinLibraryContext,\n isMultivalue,\n onLink,\n onReplace,\n onClose,\n}) => {\n const {t} = useSharedTranslation();\n const {view} = useViewSettingsContext();\n const linkedLibraryId =\n joinLibraryContext &&\n 'linked_library' in joinLibraryContext.mandatoryAttribute &&\n joinLibraryContext.mandatoryAttribute.linked_library?.id;\n const linkedTreeId =\n joinLibraryContext &&\n 'linked_tree' in joinLibraryContext.mandatoryAttribute &&\n joinLibraryContext.mandatoryAttribute.linked_tree?.id;\n\n const isReplacement = !!linkId;\n\n const {data: attributeData} = useExplorerLinkAttributeQuery({\n skip: view.entrypoint.type !== 'link',\n variables: {\n id: (view.entrypoint as IEntrypointLink).linkAttributeId,\n },\n });\n\n const {createLinks} = useAddLinkMassAction({\n store: {view},\n linkAttributeId: (view.entrypoint as IEntrypointLink).linkAttributeId,\n onLink,\n closeModal: onClose,\n });\n\n const {replaceLink} = useReplaceLinkMassAction({\n store: {view},\n linkAttributeId: (view.entrypoint as IEntrypointLink).linkAttributeId,\n linkId,\n onReplace,\n closeModal: onClose,\n });\n\n const linkAttributeData = attributeData?.attributes?.list[0];\n const isValuesListEnabled =\n linkAttributeData && 'valuesList' in linkAttributeData && linkAttributeData.valuesList?.enable;\n\n const valuesList = useMemo(\n () => (isValuesListEnabled ? linkAttributeData.valuesList?.linkedValues?.map(value => value.id) : undefined),\n [isValuesListEnabled, linkAttributeData],\n );\n const allowFreeEntry = useMemo(\n () => (isValuesListEnabled ? Boolean(linkAttributeData.valuesList?.allowFreeEntry) : true),\n [isValuesListEnabled, linkAttributeData],\n );\n\n return linkedTreeId ? (\n <SelectTreeNodeModal\n open\n attribute={{\n multiple_values: isMultivalue,\n linked_tree: {\n id: linkedTreeId,\n },\n }}\n title={t(isMultivalue ? 'tree-node-selection.title_many' : 'tree-node-selection.title')}\n // We can select new node(s), ignoring current value(s).\n // Selected element might be duplicated in link attribute in backend for now.\n backendValues={[]}\n onClose={onClose}\n onConfirm={selectedNodes => {\n const nodeIds = selectedNodes.map(node => node.id);\n if (isReplacement) {\n replaceLink({\n records: {\n list: nodeIds.map(id => ({id})),\n },\n });\n } else {\n createLinks({\n records: {\n list: nodeIds.map(id => ({id})),\n },\n });\n }\n }}\n />\n ) : (\n <SelectRecordForLinkModal\n className={LINK_RECORDS_MODAL_CLASSNAME}\n open={open}\n childLibraryId={linkedLibraryId || view.libraryId}\n onSelectionCompleted={isReplacement ? replaceLink : createLinks}\n replacementMode={isReplacement}\n selectionMode={isReplacement || !isMultivalue ? 'simple' : 'multiple'}\n hideSelectAllAction={(isReplacement || !isMultivalue) && view.entrypoint.type === 'link'}\n valuesList={valuesList}\n allowFreeEntry={allowFreeEntry}\n onClose={onClose}\n />\n );\n};\n"]}
|
|
@@ -9,7 +9,7 @@ import { type IViewSettingsState } from '../manage-view-settings';
|
|
|
9
9
|
* @param onLink - callback to let outside world know about linking feedback
|
|
10
10
|
* @param closeModal - callback to close the link modal
|
|
11
11
|
*/
|
|
12
|
-
export declare const useAddLinkMassAction: ({ store: { view }, linkAttributeId, onLink, closeModal }: {
|
|
12
|
+
export declare const useAddLinkMassAction: ({ store: { view }, linkAttributeId, onLink, closeModal, }: {
|
|
13
13
|
store: {
|
|
14
14
|
view: IViewSettingsState;
|
|
15
15
|
};
|
|
@@ -10,7 +10,7 @@ import useSaveValueBatchMutation from '../../../components/RecordEdition/EditRec
|
|
|
10
10
|
* @param onLink - callback to let outside world know about linking feedback
|
|
11
11
|
* @param closeModal - callback to close the link modal
|
|
12
12
|
*/
|
|
13
|
-
export const useAddLinkMassAction = ({ store: { view }, linkAttributeId, onLink, closeModal }) => {
|
|
13
|
+
export const useAddLinkMassAction = ({ store: { view }, linkAttributeId, onLink, closeModal, }) => {
|
|
14
14
|
const { saveValues } = useSaveValueBatchMutation();
|
|
15
15
|
return {
|
|
16
16
|
createLinks: async (data) => {
|
|
@@ -18,17 +18,17 @@ export const useAddLinkMassAction = ({ store: { view }, linkAttributeId, onLink,
|
|
|
18
18
|
const values = data.records.list.map(({ id }) => ({
|
|
19
19
|
attribute: linkAttributeId,
|
|
20
20
|
idValue: null,
|
|
21
|
-
value: id
|
|
21
|
+
value: id,
|
|
22
22
|
}));
|
|
23
23
|
const saveValuesResult = await saveValues({
|
|
24
24
|
id: entrypoint.parentRecordId,
|
|
25
25
|
library: {
|
|
26
|
-
id: entrypoint.parentLibraryId
|
|
27
|
-
}
|
|
26
|
+
id: entrypoint.parentLibraryId,
|
|
27
|
+
},
|
|
28
28
|
}, values);
|
|
29
29
|
onLink?.(saveValuesResult);
|
|
30
30
|
closeModal();
|
|
31
|
-
}
|
|
31
|
+
},
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=useAddLinkMassAction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAddLinkMassAction.js","sourceRoot":"","sources":["../../../../src/components/Explorer/link-item/useAddLinkMassAction.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,yBAAyB,MAAM,uFAAuF,CAAC;AAM9H;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACjC,KAAK,EAAE,EAAC,IAAI,EAAC,EACb,eAAe,EACf,MAAM,EACN,UAAU,
|
|
1
|
+
{"version":3,"file":"useAddLinkMassAction.js","sourceRoot":"","sources":["../../../../src/components/Explorer/link-item/useAddLinkMassAction.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,yBAAyB,MAAM,uFAAuF,CAAC;AAM9H;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACjC,KAAK,EAAE,EAAC,IAAI,EAAC,EACb,eAAe,EACf,MAAM,EACN,UAAU,GAQb,EAAE,EAAE;IACD,MAAM,EAAC,UAAU,EAAC,GAAG,yBAAyB,EAAE,CAAC;IAEjD,OAAO;QACH,WAAW,EAAE,KAAK,EAAE,IAA+B,EAAE,EAAE;YACnD,MAAM,UAAU,GAAG,IAAI,CAAC,UAA6B,CAAC;YACtD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAC,EAAE,EAAC,EAAE,EAAE,CAAC,CAAC;gBAC5C,SAAS,EAAE,eAAe;gBAC1B,OAAO,EAAE,IAAI;gBACb,KAAK,EAAE,EAAE;aACZ,CAAC,CAAC,CAAC;YAEJ,MAAM,gBAAgB,GAAG,MAAM,UAAU,CACrC;gBACI,EAAE,EAAE,UAAU,CAAC,cAAc;gBAC7B,OAAO,EAAE;oBACL,EAAE,EAAE,UAAU,CAAC,eAAe;iBACjC;aACJ,EACD,MAAM,CACT,CAAC;YACF,MAAM,EAAE,CAAC,gBAAgB,CAAC,CAAC;YAC3B,UAAU,EAAE,CAAC;QACjB,CAAC;KACJ,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport useSaveValueBatchMutation from '_ui/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation';\nimport {type ISubmitMultipleResult} from '_ui/components/RecordEdition/EditRecordContent/_types';\nimport {type ExplorerSelectionIdsQuery} from '_ui/_gqlTypes';\nimport {type IEntrypointLink} from '../_types';\nimport {type IViewSettingsState} from '../manage-view-settings';\n\n/**\n * Hook used to link records\n *\n * @param view - represent the current view\n * @param linkAttributeId - attribute that represent the link\n * @param onLink - callback to let outside world know about linking feedback\n * @param closeModal - callback to close the link modal\n */\nexport const useAddLinkMassAction = ({\n store: {view},\n linkAttributeId,\n onLink,\n closeModal,\n}: {\n store: {\n view: IViewSettingsState;\n };\n linkAttributeId: string;\n onLink?: (saveValuesResult: ISubmitMultipleResult) => void;\n closeModal: () => void;\n}) => {\n const {saveValues} = useSaveValueBatchMutation();\n\n return {\n createLinks: async (data: ExplorerSelectionIdsQuery) => {\n const entrypoint = view.entrypoint as IEntrypointLink;\n const values = data.records.list.map(({id}) => ({\n attribute: linkAttributeId,\n idValue: null,\n value: id,\n }));\n\n const saveValuesResult = await saveValues(\n {\n id: entrypoint.parentRecordId,\n library: {\n id: entrypoint.parentLibraryId,\n },\n },\n values,\n );\n onLink?.(saveValuesResult);\n closeModal();\n },\n };\n};\n"]}
|
|
@@ -10,7 +10,7 @@ import { type IViewSettingsState } from '../manage-view-settings';
|
|
|
10
10
|
* @param onReplace - callback to let outside world know about replacing feedback
|
|
11
11
|
* @param closeModal - callback to close the link modal
|
|
12
12
|
*/
|
|
13
|
-
export declare const useReplaceLinkMassAction: ({ store: { view }, linkAttributeId, linkId, onReplace, closeModal }: {
|
|
13
|
+
export declare const useReplaceLinkMassAction: ({ store: { view }, linkAttributeId, linkId, onReplace, closeModal, }: {
|
|
14
14
|
store: {
|
|
15
15
|
view: IViewSettingsState;
|
|
16
16
|
};
|
|
@@ -8,7 +8,7 @@ import useSaveValueBatchMutation from '../../../components/RecordEdition/EditRec
|
|
|
8
8
|
* @param onReplace - callback to let outside world know about replacing feedback
|
|
9
9
|
* @param closeModal - callback to close the link modal
|
|
10
10
|
*/
|
|
11
|
-
export const useReplaceLinkMassAction = ({ store: { view }, linkAttributeId, linkId, onReplace, closeModal }) => {
|
|
11
|
+
export const useReplaceLinkMassAction = ({ store: { view }, linkAttributeId, linkId, onReplace, closeModal, }) => {
|
|
12
12
|
const { saveValues } = useSaveValueBatchMutation();
|
|
13
13
|
return {
|
|
14
14
|
replaceLink: async (data) => {
|
|
@@ -19,17 +19,17 @@ export const useReplaceLinkMassAction = ({ store: { view }, linkAttributeId, lin
|
|
|
19
19
|
const values = data.records.list.map(({ id }) => ({
|
|
20
20
|
attribute: linkAttributeId,
|
|
21
21
|
idValue: linkId,
|
|
22
|
-
value: id
|
|
22
|
+
value: id,
|
|
23
23
|
}));
|
|
24
24
|
const replaceValuesResult = await saveValues({
|
|
25
25
|
id: entrypoint.parentRecordId,
|
|
26
26
|
library: {
|
|
27
|
-
id: entrypoint.parentLibraryId
|
|
28
|
-
}
|
|
27
|
+
id: entrypoint.parentLibraryId,
|
|
28
|
+
},
|
|
29
29
|
}, values);
|
|
30
30
|
onReplace?.(replaceValuesResult);
|
|
31
31
|
closeModal();
|
|
32
|
-
}
|
|
32
|
+
},
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=useReplaceLinkMassAction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReplaceLinkMassAction.js","sourceRoot":"","sources":["../../../../src/components/Explorer/link-item/useReplaceLinkMassAction.tsx"],"names":[],"mappings":"AAIA,OAAO,yBAAyB,MAAM,uFAAuF,CAAC;AAK9H;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,EACrC,KAAK,EAAE,EAAC,IAAI,EAAC,EACb,eAAe,EACf,MAAM,EACN,SAAS,EACT,UAAU,
|
|
1
|
+
{"version":3,"file":"useReplaceLinkMassAction.js","sourceRoot":"","sources":["../../../../src/components/Explorer/link-item/useReplaceLinkMassAction.tsx"],"names":[],"mappings":"AAIA,OAAO,yBAAyB,MAAM,uFAAuF,CAAC;AAK9H;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,EACrC,KAAK,EAAE,EAAC,IAAI,EAAC,EACb,eAAe,EACf,MAAM,EACN,SAAS,EACT,UAAU,GASb,EAAE,EAAE;IACD,MAAM,EAAC,UAAU,EAAC,GAAG,yBAAyB,EAAE,CAAC;IAEjD,OAAO;QACH,WAAW,EAAE,KAAK,EAAE,IAA+B,EAAE,EAAE;YACnD,IAAI,CAAC,MAAM,EAAE,CAAC;gBACV,OAAO;YACX,CAAC;YACD,MAAM,UAAU,GAAG,IAAI,CAAC,UAA6B,CAAC;YACtD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAC,EAAE,EAAC,EAAE,EAAE,CAAC,CAAC;gBAC5C,SAAS,EAAE,eAAe;gBAC1B,OAAO,EAAE,MAAM;gBACf,KAAK,EAAE,EAAE;aACZ,CAAC,CAAC,CAAC;YAEJ,MAAM,mBAAmB,GAAG,MAAM,UAAU,CACxC;gBACI,EAAE,EAAE,UAAU,CAAC,cAAc;gBAC7B,OAAO,EAAE;oBACL,EAAE,EAAE,UAAU,CAAC,eAAe;iBACjC;aACJ,EACD,MAAM,CACT,CAAC;YACF,SAAS,EAAE,CAAC,mBAAmB,CAAC,CAAC;YACjC,UAAU,EAAE,CAAC;QACjB,CAAC;KACJ,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type ExplorerSelectionIdsQuery} from '_ui/_gqlTypes';\nimport useSaveValueBatchMutation from '_ui/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation';\nimport {type ISubmitMultipleResult} from '_ui/components/RecordEdition/EditRecordContent/_types';\nimport {type IEntrypointLink} from '../_types';\nimport {type IViewSettingsState} from '../manage-view-settings';\n\n/**\n * Hook used to replace link\n *\n * @param view - represent the current view\n * @param linkAttributeId - attribute that represent the link\n * @param linkId - concerned link item\n * @param onReplace - callback to let outside world know about replacing feedback\n * @param closeModal - callback to close the link modal\n */\nexport const useReplaceLinkMassAction = ({\n store: {view},\n linkAttributeId,\n linkId,\n onReplace,\n closeModal,\n}: {\n store: {\n view: IViewSettingsState;\n };\n linkAttributeId: string;\n linkId?: string;\n onReplace?: (replaceValuesResult: ISubmitMultipleResult) => void;\n closeModal: () => void;\n}) => {\n const {saveValues} = useSaveValueBatchMutation();\n\n return {\n replaceLink: async (data: ExplorerSelectionIdsQuery) => {\n if (!linkId) {\n return;\n }\n const entrypoint = view.entrypoint as IEntrypointLink;\n const values = data.records.list.map(({id}) => ({\n attribute: linkAttributeId,\n idValue: linkId,\n value: id,\n }));\n\n const replaceValuesResult = await saveValues(\n {\n id: entrypoint.parentRecordId,\n library: {\n id: entrypoint.parentLibraryId,\n },\n },\n values,\n );\n onReplace?.(replaceValuesResult);\n closeModal();\n },\n };\n};\n"]}
|
|
@@ -81,7 +81,7 @@ export const SavedViews = () => {
|
|
|
81
81
|
const sharedViews = view.savedViews.filter(viewItem => viewItem.shared);
|
|
82
82
|
const myViews = view.savedViews.filter(viewItem => !viewItem.shared);
|
|
83
83
|
const _selectedViewClass = (viewId) => classNames({
|
|
84
|
-
selected: view.viewId === viewId
|
|
84
|
+
selected: view.viewId === viewId,
|
|
85
85
|
});
|
|
86
86
|
useEffect(() => {
|
|
87
87
|
setCurrentView(view.savedViews.find(viewItem => view.viewId === viewItem.id) ?? undefined);
|
|
@@ -96,7 +96,7 @@ export const SavedViews = () => {
|
|
|
96
96
|
kitNotification.info({
|
|
97
97
|
message: `Id : ${viewItem?.id}`,
|
|
98
98
|
description: t('explorer.viewList.copied'),
|
|
99
|
-
duration: 3
|
|
99
|
+
duration: 3,
|
|
100
100
|
});
|
|
101
101
|
}, children: _jsx(IoCopy, {}) }))] }), _jsx(StyledIconsDiv, { children: _jsxs(KitSpace, { children: [iconEditLabel(viewItem), iconDelete(viewItem)] }) })] }, viewItem.id)))] }), _jsxs(StyleKitRadioGroup, { onChange: _onClickLoadView, value: currentView?.id, children: [_jsx(KitTypography.Title, { level: "h4", children: t('explorer.viewList.shared-views') }), sharedViews.length === 0 ? (_jsx(KitTypography.Text, { size: "fontSize5", children: t('explorer.viewList.no-shared-views') })) : (sharedViews.map(viewItem => (_jsxs(StyledViewDiv, { className: _selectedViewClass(viewItem.id), children: [_jsxs(KitRadio, { value: viewItem.id, children: [localizedTranslation(viewItem.label, availableLangs), viewItem?.id && (_jsx(StyledCopySpan, { title: `${t('explorer.viewList.copy-id')} : ${viewItem?.id}`, onClick: async (e) => {
|
|
102
102
|
e.preventDefault();
|
|
@@ -105,7 +105,7 @@ export const SavedViews = () => {
|
|
|
105
105
|
kitNotification.info({
|
|
106
106
|
message: `Id : ${viewItem?.id}`,
|
|
107
107
|
description: t('explorer.viewList.copied'),
|
|
108
|
-
duration: 3
|
|
108
|
+
duration: 3,
|
|
109
109
|
});
|
|
110
110
|
}, children: _jsx(IoCopy, {}) }))] }), isOwnerView(viewItem.ownerId) ? (_jsx(StyledIconsDiv, { children: _jsxs(KitSpace, { children: [iconEditLabel(viewItem), iconDelete(viewItem)] }) })) : null] }, viewItem.id))))] })] }), _jsx(ViewActionsButtons, {})] })] }));
|
|
111
111
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SavedViews.js","sourceRoot":"","sources":["../../../../src/components/Explorer/list-saved-views/SavedViews.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAA8C,SAAS,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACvF,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,kBAAkB,EAAC,MAAM,YAAY,CAAC;AACjF,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,sBAAsB,EAAC,MAAM,oEAAoE,CAAC;AAC1G,OAAO,EAAC,oBAAoB,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AE,CAAC,CAAC,0BAA0B,CAAC;gEAC1C,QAAQ,EAAE,CAAC;6DACd,CAAC,CAAC;wDACP,CAAC,YAED,KAAC,MAAM,KAAG,GACG,CACpB,IACM,EACV,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAC7B,KAAC,cAAc,cACX,MAAC,QAAQ,eACJ,aAAa,CAAC,QAAQ,CAAC,EACvB,UAAU,CAAC,QAAQ,CAAC,IACd,GACE,CACpB,CAAC,CAAC,CAAC,IAAI,KA5BoD,QAAQ,CAAC,EAAE,CA6B3D,CACnB,CAAC,CACL,IACgB,IACJ,EACrB,KAAC,kBAAkB,KAAG,IACA,IAC3B,CACN,CAAC;AACN,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"SavedViews.js","sourceRoot":"","sources":["../../../../src/components/Explorer/list-saved-views/SavedViews.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAA8C,SAAS,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACvF,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,kBAAkB,EAAC,MAAM,YAAY,CAAC;AACjF,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,sBAAsB,EAAC,MAAM,oEAAoE,CAAC;AAC1G,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,kBAAkB,EAAC,MAAM,sDAAsD,CAAC;AACxF,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,iDAAiD,CAAC;AAC9E,OAAO,EAAC,gBAAgB,EA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C,CAAC,CAAC,IAAI,KA5BoD,QAAQ,CAAC,EAAE,CA6B3D,CACnB,CAAC,CACL,IACgB,IACJ,EACrB,KAAC,kBAAkB,KAAG,IACA,IAC3B,CACN,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type ComponentProps, type FunctionComponent, useEffect, useState} from 'react';\nimport styled from 'styled-components';\nimport {KitRadio, KitSpace, KitTypography, useKitNotification} from 'aristid-ds';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {useViewSettingsContext} from '../manage-view-settings/store-view-settings/useViewSettingsContext';\nimport {localizedTranslation} from '@leav/utils';\nimport {useLang} from '_ui/hooks';\nimport {ViewActionsButtons} from '../manage-view-settings/save-view/ViewActionsButtons';\nimport {useLoadView} from '../useLoadView';\nimport {type Radio} from 'antd';\nimport {useMeQuery} from '_ui/_gqlTypes';\nimport {useDeleteView} from '../manage-view-settings/save-view/useDeleteView';\nimport {useEditLabelView} from '../manage-view-settings/save-view/useEditLabelView';\nimport {IoCopy} from 'react-icons/io5';\nimport {type IUserView} from '../_types';\nimport classNames from 'classnames';\nimport {DefaultViewId} from '../manage-view-settings/store-view-settings/viewSettingsInitialState';\n\nconst ContentWrapperStyledDiv = styled.div`\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n`;\n\nconst StyledListViewsDiv = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nconst StyleKitRadioGroup = styled(KitRadio.Group)`\n padding: calc(var(--general-spacing-s) * 1px) 0;\n margin: 0 0 calc(var(--general-spacing-xs) * 1px) 0;\n color: var(--general-utilities-text-primary);\n gap: calc(var(--general-spacing-xs) * 1px);\n`;\n\nconst StyledViewDiv = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: calc(var(--general-spacing-xs) * 1px);\n border-radius: calc(var(--general-border-radius-xs) * 1px);\n\n &.selected,\n &:has(label:hover),\n &:has(svg:hover) {\n background: var(--general-utilities-main-light);\n }\n`;\n\nconst StyledIconsDiv = styled.div`\n .edit,\n .delete {\n font-size: calc(var(--general-typography-fontSize5) * 1px);\n flex: 0 0 auto;\n cursor: pointer;\n display: inline-block;\n }\n\n .edit {\n color: var(--general-utilities-main-default);\n }\n\n .delete {\n color: var(--general-utilities-error-default);\n }\n`;\n\nconst StyledCopySpan = styled.span`\n margin-left: calc(var(--general-spacing-xs) * 1px);\n color: var(--general-colors-neutral-grey-400);\n`;\n\nexport const SavedViews: FunctionComponent = () => {\n const {t} = useSharedTranslation();\n const {kitNotification} = useKitNotification();\n const {availableLangs} = useLang();\n const {view} = useViewSettingsContext();\n const {loadView} = useLoadView();\n const {iconDelete, deleteModal} = useDeleteView();\n const {iconEditLabel, editViewModal} = useEditLabelView();\n\n const [currentView, setCurrentView] = useState<IUserView | undefined>(\n view.savedViews.find(viewItem => view.viewId === viewItem.id) ?? undefined,\n );\n\n const {data: userData} = useMeQuery();\n\n const isOwnerView = (ownerId: string | null) => ownerId === userData?.me?.whoAmI?.id;\n\n const sharedViews = view.savedViews.filter(viewItem => viewItem.shared);\n const myViews = view.savedViews.filter(viewItem => !viewItem.shared);\n\n const _selectedViewClass = (viewId: string | null) =>\n classNames({\n selected: view.viewId === viewId,\n });\n\n useEffect(() => {\n setCurrentView(view.savedViews.find(viewItem => view.viewId === viewItem.id) ?? undefined);\n }, [view.viewId]);\n\n const _onClickLoadView: ComponentProps<typeof Radio>['onChange'] = e => {\n loadView(e.target.value);\n };\n\n return (\n <>\n {editViewModal}\n {deleteModal}\n <ContentWrapperStyledDiv>\n <StyledListViewsDiv>\n <StyleKitRadioGroup onChange={_onClickLoadView} value={currentView?.id}>\n <KitTypography.Title level=\"h4\">{t('explorer.viewList.my-views')}</KitTypography.Title>\n <StyledViewDiv className={_selectedViewClass(DefaultViewId)}>\n <KitRadio value={undefined}>{t('explorer.viewList.default-view')}</KitRadio>\n </StyledViewDiv>\n {myViews.map(viewItem => (\n <StyledViewDiv className={_selectedViewClass(viewItem.id)} key={viewItem.id}>\n <KitRadio value={viewItem.id}>\n {localizedTranslation(viewItem.label, availableLangs)}\n {viewItem?.id && (\n <StyledCopySpan\n title={`${t('explorer.viewList.copy-id')} : ${viewItem?.id}`}\n onClick={async e => {\n e.preventDefault();\n e.stopPropagation();\n await navigator.clipboard.writeText(viewItem.id || '');\n kitNotification.info({\n message: `Id : ${viewItem?.id}`,\n description: t('explorer.viewList.copied'),\n duration: 3,\n });\n }}\n >\n <IoCopy />\n </StyledCopySpan>\n )}\n </KitRadio>\n <StyledIconsDiv>\n <KitSpace>\n {iconEditLabel(viewItem)}\n {iconDelete(viewItem)}\n </KitSpace>\n </StyledIconsDiv>\n </StyledViewDiv>\n ))}\n </StyleKitRadioGroup>\n <StyleKitRadioGroup onChange={_onClickLoadView} value={currentView?.id}>\n <KitTypography.Title level=\"h4\">{t('explorer.viewList.shared-views')}</KitTypography.Title>\n {sharedViews.length === 0 ? (\n <KitTypography.Text size=\"fontSize5\">\n {t('explorer.viewList.no-shared-views')}\n </KitTypography.Text>\n ) : (\n sharedViews.map(viewItem => (\n <StyledViewDiv className={_selectedViewClass(viewItem.id)} key={viewItem.id}>\n <KitRadio value={viewItem.id}>\n {localizedTranslation(viewItem.label, availableLangs)}\n {viewItem?.id && (\n <StyledCopySpan\n title={`${t('explorer.viewList.copy-id')} : ${viewItem?.id}`}\n onClick={async e => {\n e.preventDefault();\n e.stopPropagation();\n await navigator.clipboard.writeText(viewItem.id || '');\n kitNotification.info({\n message: `Id : ${viewItem?.id}`,\n description: t('explorer.viewList.copied'),\n duration: 3,\n });\n }}\n >\n <IoCopy />\n </StyledCopySpan>\n )}\n </KitRadio>\n {isOwnerView(viewItem.ownerId) ? (\n <StyledIconsDiv>\n <KitSpace>\n {iconEditLabel(viewItem)}\n {iconDelete(viewItem)}\n </KitSpace>\n </StyledIconsDiv>\n ) : null}\n </StyledViewDiv>\n ))\n )}\n </StyleKitRadioGroup>\n </StyledListViewsDiv>\n <ViewActionsButtons />\n </ContentWrapperStyledDiv>\n </>\n );\n};\n"]}
|
|
@@ -70,12 +70,12 @@ const StyledDragHandle = styled.span `
|
|
|
70
70
|
const StyledEmptyIcon = styled.div `
|
|
71
71
|
width: calc(var(--general-spacing-s) * 1px);
|
|
72
72
|
`;
|
|
73
|
-
export const ColumnItem = ({ itemId, dragHandler, title, visible, onVisibilityClick, locked = false }) => {
|
|
73
|
+
export const ColumnItem = ({ itemId, dragHandler, title, visible, onVisibilityClick, locked = false, }) => {
|
|
74
74
|
const { t } = useSharedTranslation();
|
|
75
75
|
const { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable({ id: itemId });
|
|
76
76
|
const style = {
|
|
77
77
|
transform: CSS.Transform.toString(transform),
|
|
78
|
-
transition
|
|
78
|
+
transition,
|
|
79
79
|
};
|
|
80
80
|
const _handleClick = () => onVisibilityClick?.();
|
|
81
81
|
const visibilityButtonLabel = visible ? t('explorer.hide') : t('explorer.show');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnItem.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/_shared/ColumnItem.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACzD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,GAAG,EAAC,MAAM,oBAAoB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,MAAM,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAA;;CAE7C,CAAC;AAEF,MAAM,uBAAuB,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;;;;;;;;;;;;UAkB/B,WAAW;;;;;;;;;;;;;;;;;;;;;CAqBpB,CAAC;AAEF,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;;CAGhC,CAAC;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;;;CAGxC,CAAC;AAEF,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,CAAA;;;CAGlC,CAAC;AAEF,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAwB;;cAE9C,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC;CAC/D,CAAC;AAEF,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAA;;CAEjC,CAAC;AAYF,MAAM,CAAC,MAAM,UAAU,GAAwC,CAAC,EAC5D,MAAM,EACN,WAAW,EACX,KAAK,EACL,OAAO,EACP,iBAAiB,EACjB,MAAM,GAAG,KAAK,
|
|
1
|
+
{"version":3,"file":"ColumnItem.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/_shared/ColumnItem.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACzD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,GAAG,EAAC,MAAM,oBAAoB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,MAAM,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,IAAI,CA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C,eAAe,CAAC,CAAC;IAEhF,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,CAAC,KAAC,YAAY,KAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAC,WAAW,KAAG,CAAC,CAAC,CAAC,KAAC,cAAc,KAAG,CAAC;IAElG,OAAO,CACH,MAAC,uBAAuB,IAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,aACjD,WAAW,CAAC,CAAC,CAAC,CACX,KAAC,gBAAgB,OAAK,UAAU,KAAM,SAAS,iBAAe,UAAU,YACnE,WAAW,GACG,CACtB,CAAC,CAAC,CAAC,CACA,KAAC,eAAe,KAAG,CACtB,EACD,KAAC,aAAa,CAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,QAAQ,QAAC,SAAS,EAAC,OAAO,YAC1D,KAAK,GACW,EACrB,iBACI,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,qBAAqB,gBAChB,qBAAqB,YAEhC,cAAc,GACV,IACa,CAC7B,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {KitTypography} from 'aristid-ds';\nimport {type FunctionComponent, type ReactNode} from 'react';\nimport {FaEye, FaEyeSlash, FaLock} from 'react-icons/fa';\nimport styled from 'styled-components';\nimport {useSortable} from '@dnd-kit/sortable';\nimport {CSS} from '@dnd-kit/utilities';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\n\nconst StyledValue = styled(KitTypography.Text)`\n color: var(--general-utilities-disabled);\n`;\n\nconst StyledConfigurationItem = styled.li`\n color: var(--general-utilities-text-primary);\n display: flex;\n width: 100%;\n height: 40px;\n padding: 0 calc(var(--general-spacing-xs) * 1px);\n align-items: center;\n gap: calc(var(--general-spacing-xs) * 1px);\n border-radius: calc(var(--general-spacing-xs) * 1px);\n text-align: left;\n\n &:first-child {\n margin-top: calc(var(--general-spacing-xs) * 1px);\n }\n\n &:hover {\n background: var(--general-utilities-main-light);\n\n ${StyledValue} {\n color: var(--general-utilities-text-primary);\n }\n }\n\n .title {\n flex: 1 1 auto;\n }\n\n > svg {\n flex: 0 0 calc(var(--general-spacing-s) * 1px);\n }\n\n > button {\n border: none;\n background: transparent;\n padding: 0;\n &:not([disabled]) {\n cursor: pointer;\n }\n }\n`;\n\nconst StyledFaEye = styled(FaEye)`\n display: flex;\n color: currentColor;\n`;\n\nconst StyledEyeSlash = styled(FaEyeSlash)`\n display: flex;\n color: var(--general-utilities-disabled);\n`;\n\nconst StyledLocked = styled(FaLock)`\n display: flex;\n color: var(--general-utilities-disabled);\n`;\n\nconst StyledDragHandle = styled.span<{$isDragging: boolean}>`\n display: flex;\n cursor: ${props => (props.$isDragging ? 'grabbing' : 'grab')};\n`;\n\nconst StyledEmptyIcon = styled.div`\n width: calc(var(--general-spacing-s) * 1px);\n`;\n\ninterface IColumnItemProps {\n itemId: string;\n dragHandler?: ReactNode;\n visible: boolean;\n title: string;\n onVisibilityClick?: () => void;\n value?: string;\n locked?: boolean;\n}\n\nexport const ColumnItem: FunctionComponent<IColumnItemProps> = ({\n itemId,\n dragHandler,\n title,\n visible,\n onVisibilityClick,\n locked = false,\n}) => {\n const {t} = useSharedTranslation();\n const {attributes, listeners, setNodeRef, transform, transition, isDragging} = useSortable({id: itemId});\n const style = {\n transform: CSS.Transform.toString(transform),\n transition,\n };\n\n const _handleClick = () => onVisibilityClick?.();\n\n const visibilityButtonLabel = visible ? t('explorer.hide') : t('explorer.show');\n\n const visibilityIcon = locked ? <StyledLocked /> : visible ? <StyledFaEye /> : <StyledEyeSlash />;\n\n return (\n <StyledConfigurationItem ref={setNodeRef} style={style}>\n {dragHandler ? (\n <StyledDragHandle {...attributes} {...listeners} $isDragging={isDragging}>\n {dragHandler}\n </StyledDragHandle>\n ) : (\n <StyledEmptyIcon />\n )}\n <KitTypography.Text size=\"fontSize5\" ellipsis className=\"title\">\n {title}\n </KitTypography.Text>\n <button\n disabled={locked}\n onClick={_handleClick}\n title={visibilityButtonLabel}\n aria-label={visibilityButtonLabel}\n >\n {visibilityIcon}\n </button>\n </StyledConfigurationItem>\n );\n};\n"]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
4
|
import { useMemo, useState } from 'react';
|
|
5
5
|
import { useDebouncedValue } from '../../../../hooks/useDebouncedValue';
|
|
6
|
-
import { useGetAttributesByLibWithPermissionsQuery } from '../../../../_gqlTypes';
|
|
6
|
+
import { useGetAttributesByLibWithPermissionsQuery, } from '../../../../_gqlTypes';
|
|
7
7
|
import { localizedTranslation } from '@leav/utils';
|
|
8
8
|
import { useLang } from '../../../../hooks';
|
|
9
9
|
const sanitize = (str) => str
|
|
@@ -16,7 +16,7 @@ const _mapping = (data, availableLanguages) => data?.attributes?.list.reduce((ac
|
|
|
16
16
|
acc[attribute.id] = {
|
|
17
17
|
...attribute,
|
|
18
18
|
label,
|
|
19
|
-
index: `${sanitize(attribute.id)} ${sanitize(label)}
|
|
19
|
+
index: `${sanitize(attribute.id)} ${sanitize(label)}`,
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
return acc;
|
|
@@ -27,8 +27,8 @@ export const useAttributeDetailsData = (libraryId) => {
|
|
|
27
27
|
const { lang: availableLanguages } = useLang();
|
|
28
28
|
const { data } = useGetAttributesByLibWithPermissionsQuery({
|
|
29
29
|
variables: {
|
|
30
|
-
library: libraryId
|
|
31
|
-
}
|
|
30
|
+
library: libraryId,
|
|
31
|
+
},
|
|
32
32
|
});
|
|
33
33
|
const attributeDetailsById = _mapping(data, availableLanguages);
|
|
34
34
|
const searchFilteredColumns = useMemo(() => {
|
|
@@ -63,7 +63,7 @@ export const useAttributeDetailsData = (libraryId) => {
|
|
|
63
63
|
return {
|
|
64
64
|
attributeDetailsById,
|
|
65
65
|
searchFilteredColumnsIds,
|
|
66
|
-
onSearchChanged
|
|
66
|
+
onSearchChanged,
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
//# sourceMappingURL=useAttributeDetailsData.js.map
|
package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAttributeDetailsData.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAmB,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAC,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EACH,yCAAyC,
|
|
1
|
+
{"version":3,"file":"useAttributeDetailsData.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAmB,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAC,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EACH,yCAAyC,GAG5C,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAQlC,MAAM,QAAQ,GAAG,CAAC,GAAW,EAAE,EAAE,CAC7B,GAAG;KACE,SAAS,CAAC,KAAK,CAAC;KAChB,OAAO,CAAC,iBAAiB,EAAE,EAAE,CAAC;KAC9B,WAAW,EAAE,CAAC;AAEvB,MAAM,QAAQ,GAAG,CACb,IAAwD,EACxD,kBAA4B,EAChB,EAAE,CACd,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,MAAM,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AC;QAED,MAAM,YAAY,GAAG,QAAQ,CAAC,oBAAoB,CAAC,CAAC;QAEpD,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE;YACtC,IAAI,oBAAoB,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;gBAC9D,GAAG,CAAC,QAAQ,CAAC,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;YACnD,CAAC;YACD,OAAO,GAAG,CAAC;QACf,CAAC,EAAE,EAAE,CAAC,CAAC;IACX,CAAC,EAAE,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAC,CAAC;IACjD,MAAM,wBAAwB,GAAG,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;IAEpE,MAAM,eAAe,GAAG,CAAC,KAAoC,EAAE,EAAE;QAC7D,MAAM,uBAAuB,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,oBAAoB,CAAC,MAAM,GAAG,CAAC,CAAC;QACjG,IAAI,uBAAuB,EAAE,CAAC;YAC1B,OAAO;QACX,CAAC;QACD,cAAc,CAAC,GAAG,EAAE;YAChB,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAChC,OAAO,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;YAC9B,CAAC;YACD,OAAO,EAAE,CAAC;QACd,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;IAEF,OAAO;QACH,oBAAoB;QACpB,wBAAwB;QACxB,eAAe;KAClB,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type ChangeEvent, useMemo, useState} from 'react';\nimport {useDebouncedValue} from '_ui/hooks/useDebouncedValue';\nimport {\n useGetAttributesByLibWithPermissionsQuery,\n type GetAttributesByLibWithPermissionsQuery,\n type AttributeDetailsFragment,\n} from '_ui/_gqlTypes';\nimport {localizedTranslation} from '@leav/utils';\nimport {useLang} from '_ui/hooks';\n\ninterface IColumnsById {\n [attributeId: string]: AttributeDetailsFragment & {\n index: string;\n };\n}\n\nconst sanitize = (str: string) =>\n str\n .normalize('NFD')\n .replace(/\\p{Diacritic}/gu, '')\n .toLowerCase();\n\nconst _mapping = (\n data: GetAttributesByLibWithPermissionsQuery | undefined,\n availableLanguages: string[],\n): IColumnsById =>\n data?.attributes?.list.reduce<IColumnsById>((acc, {permissions, ...attribute}) => {\n if (permissions.access_attribute) {\n const label = localizedTranslation(attribute.label, availableLanguages);\n acc[attribute.id] = {\n ...attribute,\n label,\n index: `${sanitize(attribute.id)} ${sanitize(label)}`,\n };\n }\n return acc;\n }, {}) ?? {};\n\nexport const useAttributeDetailsData = (libraryId: string) => {\n const [searchInput, setSearchInput] = useState('');\n const debouncedSearchInput = useDebouncedValue(searchInput, 300);\n\n const {lang: availableLanguages} = useLang();\n const {data} = useGetAttributesByLibWithPermissionsQuery({\n variables: {\n library: libraryId,\n },\n });\n const attributeDetailsById = _mapping(data, availableLanguages);\n\n const searchFilteredColumns = useMemo(() => {\n const columnIds = Object.keys(attributeDetailsById);\n if (columnIds.length === 0) {\n return {};\n }\n if (debouncedSearchInput === '') {\n return attributeDetailsById;\n }\n\n const searchString = sanitize(debouncedSearchInput);\n\n return columnIds.reduce((acc, columnId) => {\n if (attributeDetailsById[columnId].index.includes(searchString)) {\n acc[columnId] = attributeDetailsById[columnId];\n }\n return acc;\n }, {});\n }, [debouncedSearchInput, attributeDetailsById]);\n const searchFilteredColumnsIds = Object.keys(searchFilteredColumns);\n\n const onSearchChanged = (event: ChangeEvent<HTMLInputElement>) => {\n const shouldIgnoreInputChange = event.target.value.length < 3 && debouncedSearchInput.length < 3;\n if (shouldIgnoreInputChange) {\n return;\n }\n setSearchInput(() => {\n if (event.target.value.length > 2) {\n return event.target.value;\n }\n return '';\n });\n };\n\n return {\n attributeDetailsById,\n searchFilteredColumnsIds,\n onSearchChanged,\n };\n};\n"]}
|
|
@@ -19,8 +19,8 @@ export const ConfigureDisplay = ({ libraryId }) => {
|
|
|
19
19
|
dispatch({
|
|
20
20
|
type: ViewSettingsActionTypes.CHANGE_VIEW_TYPE,
|
|
21
21
|
payload: {
|
|
22
|
-
viewType: event.target.value
|
|
23
|
-
}
|
|
22
|
+
viewType: event.target.value,
|
|
23
|
+
},
|
|
24
24
|
});
|
|
25
25
|
};
|
|
26
26
|
return (_jsxs(StyledWrapperDiv, { children: [_jsx(SelectViewType, { value: view.viewType, onChange: _handleViewTypeChange }), view.viewType === 'table' && _jsx(SelectVisibleAttributes, { libraryId: libraryId })] }));
|
package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigureDisplay.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.tsx"],"names":[],"mappings":";AAIA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAC,uBAAuB,EAAC,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAC,sBAAsB,EAAC,MAAM,iDAAiD,CAAC;AACvF,OAAO,EAAC,uBAAuB,EAAC,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAE1D,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;CAQlC,CAAC;AAMF,MAAM,CAAC,MAAM,gBAAgB,GAA8C,CAAC,EAAC,SAAS,EAAC,EAAE,EAAE;IACvF,MAAM,EAAC,IAAI,EAAE,QAAQ,EAAC,GAAG,sBAAsB,EAAE,CAAC;IAElD,MAAM,qBAAqB,GAAgC,KAAK,CAAC,EAAE;QAC/D,QAAQ,CAAC;YACL,IAAI,EAAE,uBAAuB,CAAC,gBAAgB;YAC9C,OAAO,EAAE;gBACL,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK;aAC/B;SACJ,CAAC,CAAC;IACP,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,gBAAgB,eACb,KAAC,cAAc,IAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,qBAAqB,GAAI,EACxE,IAAI,CAAC,QAAQ,KAAK,OAAO,IAAI,KAAC,uBAAuB,IAAC,SAAS,EAAE,SAAS,GAAI,IAChE,CACtB,CAAC;AACN,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"ConfigureDisplay.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.tsx"],"names":[],"mappings":";AAIA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAC,uBAAuB,EAAC,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAC,sBAAsB,EAAC,MAAM,iDAAiD,CAAC;AACvF,OAAO,EAAC,uBAAuB,EAAC,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAE1D,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;CAQlC,CAAC;AAMF,MAAM,CAAC,MAAM,gBAAgB,GAA8C,CAAC,EAAC,SAAS,EAAC,EAAE,EAAE;IACvF,MAAM,EAAC,IAAI,EAAE,QAAQ,EAAC,GAAG,sBAAsB,EAAE,CAAC;IAElD,MAAM,qBAAqB,GAAgC,KAAK,CAAC,EAAE;QAC/D,QAAQ,CAAC;YACL,IAAI,EAAE,uBAAuB,CAAC,gBAAgB;YAC9C,OAAO,EAAE;gBACL,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK;aAC/B;SACJ,CAAC,CAAC;IACP,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,gBAAgB,eACb,KAAC,cAAc,IAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,qBAAqB,GAAI,EACxE,IAAI,CAAC,QAAQ,KAAK,OAAO,IAAI,KAAC,uBAAuB,IAAC,SAAS,EAAE,SAAS,GAAI,IAChE,CACtB,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type FunctionComponent} from 'react';\nimport styled from 'styled-components';\nimport {type RadioGroupProps} from 'aristid-ds/dist/Kit/DataEntry/Radio';\nimport {ViewSettingsActionTypes} from './../store-view-settings/viewSettingsReducer';\nimport {useViewSettingsContext} from './../store-view-settings/useViewSettingsContext';\nimport {SelectVisibleAttributes} from './attributes/SelectVisibleAttributes';\nimport {SelectViewType} from './view-type/SelectViewType';\n\nconst StyledWrapperDiv = styled.div`\n display: flex;\n flex-direction: column;\n gap: calc(var(--general-spacing-l) * 1px);\n\n .ant-radio-wrapper {\n padding: calc(var(--general-spacing-xs) * 1px);\n }\n`;\n\ninterface IConfigureDisplayProps {\n libraryId: string;\n}\n\nexport const ConfigureDisplay: FunctionComponent<IConfigureDisplayProps> = ({libraryId}) => {\n const {view, dispatch} = useViewSettingsContext();\n\n const _handleViewTypeChange: RadioGroupProps['onChange'] = event => {\n dispatch({\n type: ViewSettingsActionTypes.CHANGE_VIEW_TYPE,\n payload: {\n viewType: event.target.value,\n },\n });\n };\n\n return (\n <StyledWrapperDiv>\n <SelectViewType value={view.viewType} onChange={_handleViewTypeChange} />\n {view.viewType === 'table' && <SelectVisibleAttributes libraryId={libraryId} />}\n </StyledWrapperDiv>\n );\n};\n"]}
|
|
@@ -5,7 +5,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
import { useSharedTranslation } from '../../../../../hooks/useSharedTranslation';
|
|
6
6
|
import { KitInput, KitTypography } from 'aristid-ds';
|
|
7
7
|
import styled from 'styled-components';
|
|
8
|
-
import { closestCenter, DndContext, KeyboardSensor, PointerSensor, useSensor, useSensors } from '@dnd-kit/core';
|
|
8
|
+
import { closestCenter, DndContext, KeyboardSensor, PointerSensor, useSensor, useSensors, } from '@dnd-kit/core';
|
|
9
9
|
import { SortableContext, sortableKeyboardCoordinates, verticalListSortingStrategy } from '@dnd-kit/sortable';
|
|
10
10
|
import { FaGripLines } from 'react-icons/fa';
|
|
11
11
|
import { ColumnItem } from '../../_shared/ColumnItem';
|
|
@@ -27,10 +27,10 @@ const invisibleListTitle = 'invisibleListTitle';
|
|
|
27
27
|
export const SelectVisibleAttributes = ({ libraryId }) => {
|
|
28
28
|
const { t } = useSharedTranslation();
|
|
29
29
|
const sensors = useSensors(useSensor(PointerSensor), useSensor(KeyboardSensor, {
|
|
30
|
-
coordinateGetter: sortableKeyboardCoordinates
|
|
30
|
+
coordinateGetter: sortableKeyboardCoordinates,
|
|
31
31
|
}));
|
|
32
32
|
// TODO: make naming great again
|
|
33
|
-
const { view: { attributesIds: orderedVisibleColumns }, dispatch } = useViewSettingsContext();
|
|
33
|
+
const { view: { attributesIds: orderedVisibleColumns }, dispatch, } = useViewSettingsContext();
|
|
34
34
|
const { attributeDetailsById, searchFilteredColumnsIds, onSearchChanged } = useAttributeDetailsData(libraryId);
|
|
35
35
|
const _toggleColumnVisibility = (columnId) => () => {
|
|
36
36
|
const actionType = orderedVisibleColumns.includes(columnId)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectVisibleAttributes.js","sourceRoot":"","sources":["../../../../../../src/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAEnD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EACH,aAAa,EACb,UAAU,EAEV,cAAc,EACd,aAAa,EACb,SAAS,EACT,UAAU,
|
|
1
|
+
{"version":3,"file":"SelectVisibleAttributes.js","sourceRoot":"","sources":["../../../../../../src/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAEnD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EACH,aAAa,EACb,UAAU,EAEV,cAAc,EACd,aAAa,EACb,SAAS,EACT,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,eAAe,EAAE,2BAA2B,EAAE,2BAA2B,EAAC,MAAM,mBAAmB,CAAC;AAC5G,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAC,uBAAuB,EAAC,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAC,sBAAsB,EAAC,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAE9E,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAA;;;CAGjC,CAAC;AAEF,MAAM,UAAU,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;CAK3B,CAAC;AAEF,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AAC5C,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AAMhD,MAAM,CAAC,MAAM,uBAAuB,GAAqD,CAAC,EAAC,SAAS,EAAC,EAAE,EAAE;IACrG,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EA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BAAkB,YAC1C,wBAAwB;qBACpB,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,qBAAqB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;qBAC7D,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CACb,KAAC,UAAU,IAEP,MAAM,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC,EAAE,EACzC,OAAO,EAAE,KAAK,EACd,KAAK,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC,KAAK,EAC3C,iBAAiB,EAAE,uBAAuB,CAAC,QAAQ,CAAC,IAJ/C,oBAAoB,CAAC,QAAQ,CAAC,CAAC,EAAE,CAKxC,CACL,CAAC,GACG,IACX,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {KitInput, KitTypography} from 'aristid-ds';\nimport {type FunctionComponent} from 'react';\nimport styled from 'styled-components';\nimport {\n closestCenter,\n DndContext,\n type DragEndEvent,\n KeyboardSensor,\n PointerSensor,\n useSensor,\n useSensors,\n} from '@dnd-kit/core';\nimport {SortableContext, sortableKeyboardCoordinates, verticalListSortingStrategy} from '@dnd-kit/sortable';\nimport {FaGripLines} from 'react-icons/fa';\nimport {ColumnItem} from '../../_shared/ColumnItem';\nimport {ViewSettingsActionTypes} from '../../store-view-settings/viewSettingsReducer';\nimport {useViewSettingsContext} from '../../store-view-settings/useViewSettingsContext';\nimport {useAttributeDetailsData} from '../../_shared/useAttributeDetailsData';\n\nconst StyledListTitle = styled.div`\n margin-top: calc(var(--general-spacing-s) * 1px);\n font-weight: var(--general-typography-boldFontWeight);\n`;\n\nconst StyledList = styled.ul`\n padding: 0;\n margin: 0;\n list-style: none;\n color: var(--general-utilities-text-primary);\n`;\n\nconst visibleListTitle = 'visibleListTitle';\nconst invisibleListTitle = 'invisibleListTitle';\n\ninterface ISelectVisibleAttributesProps {\n libraryId: string;\n}\n\nexport const SelectVisibleAttributes: FunctionComponent<ISelectVisibleAttributesProps> = ({libraryId}) => {\n const {t} = useSharedTranslation();\n\n const sensors = useSensors(\n useSensor(PointerSensor),\n useSensor(KeyboardSensor, {\n coordinateGetter: sortableKeyboardCoordinates,\n }),\n );\n\n // TODO: make naming great again\n const {\n view: {attributesIds: orderedVisibleColumns},\n dispatch,\n } = useViewSettingsContext();\n\n const {attributeDetailsById, searchFilteredColumnsIds, onSearchChanged} = useAttributeDetailsData(libraryId);\n\n const _toggleColumnVisibility = (columnId: string) => () => {\n const actionType = orderedVisibleColumns.includes(columnId)\n ? ViewSettingsActionTypes.REMOVE_ATTRIBUTE\n : ViewSettingsActionTypes.ADD_ATTRIBUTE;\n\n dispatch({type: actionType, payload: {attributeId: columnId}});\n };\n\n const _handleDragEnd = ({active: draggedElement, over: dropTarget}: DragEndEvent) => {\n const indexFrom = orderedVisibleColumns.indexOf(String(draggedElement.id));\n const indexTo = orderedVisibleColumns.indexOf(String(dropTarget?.id));\n\n if (!dropTarget || indexFrom === indexTo || indexTo === -1) {\n return;\n }\n\n dispatch({type: ViewSettingsActionTypes.MOVE_ATTRIBUTE, payload: {indexFrom, indexTo}});\n };\n\n return (\n <div>\n <KitTypography.Title level=\"h4\">{t('explorer.columns')}</KitTypography.Title>\n <KitInput placeholder={String(t('global.search'))} onChange={onSearchChanged} allowClear />\n <StyledListTitle id={visibleListTitle}>{t('explorer.visible-columns')}</StyledListTitle>\n <StyledList aria-labelledby={visibleListTitle}>\n <DndContext sensors={sensors} collisionDetection={closestCenter} onDragEnd={_handleDragEnd}>\n <SortableContext items={orderedVisibleColumns} strategy={verticalListSortingStrategy}>\n <ColumnItem itemId=\"\" title={t('record_edition.whoAmI')} visible={false} locked />\n {orderedVisibleColumns\n .filter(columnId => searchFilteredColumnsIds.includes(columnId))\n .map(columnId => (\n <ColumnItem\n key={columnId}\n itemId={attributeDetailsById[columnId].id}\n title={attributeDetailsById[columnId].label}\n visible\n onVisibilityClick={_toggleColumnVisibility(columnId)}\n dragHandler={<FaGripLines />}\n />\n ))}\n </SortableContext>\n </DndContext>\n </StyledList>\n <StyledListTitle id={invisibleListTitle}>{t('explorer.invisible-columns')}</StyledListTitle>\n <StyledList aria-labelledby={invisibleListTitle}>\n {searchFilteredColumnsIds\n .filter(columnId => !orderedVisibleColumns.includes(columnId))\n .map(columnId => (\n <ColumnItem\n key={attributeDetailsById[columnId].id}\n itemId={attributeDetailsById[columnId].id}\n visible={false}\n title={attributeDetailsById[columnId].label}\n onVisibilityClick={_toggleColumnVisibility(columnId)}\n />\n ))}\n </StyledList>\n </div>\n );\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectViewType.js","sourceRoot":"","sources":["../../../../../../src/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAC,MAAM,YAAY,CAAC;AAStD,MAAM,CAAC,MAAM,cAAc,GAA4C,CAAC,EAAC,KAAK,EAAE,QAAQ,EAAC,EAAE,EAAE;IACzF,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,MAAM,aAAa,GAAG,KAAC,MAAM,IAAC,IAAI,EAAC,WAAW,EAAC,WAAW,EAAE,EAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,EAAC,GAAI,CAAC;IAEjH,OAAO,CACH,KAAC,QAAQ,CAAC,KAAK,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,YAC5C,MAAC,QAAQ,IAAC,SAAS,EAAC,UAAU,EAAC,IAAI,EAAE,CAAC,aAClC,KAAC,QAAQ,IAAC,KAAK,EAAC,MAAM,EAAC,QAAQ,kBAC3B,MAAC,QAAQ,eACJ,CAAC,CAAC,yBAAyB,CAAC,OAAG,aAAa,IACtC,GACJ,EACX,KAAC,QAAQ,IAAC,KAAK,EAAC,OAAO,YAAE,CAAC,CAAC,0BAA0B,CAAC,GAAY,EAClE,KAAC,QAAQ,IAAC,KAAK,EAAC,QAAQ,EAAC,QAAQ,kBAC7B,MAAC,QAAQ,eACJ,CAAC,CAAC,2BAA2B,CAAC,OAAG,aAAa,IACxC,GACJ,EACX,KAAC,QAAQ,IAAC,KAAK,EAAC,UAAU,EAAC,QAAQ,kBAC/B,MAAC,QAAQ,eACJ,CAAC,CAAC,6BAA6B,CAAC,OAAG,aAAa,IAC1C,GACJ,IACJ,GACE,CACpB,CAAC;AACN,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"SelectViewType.js","sourceRoot":"","sources":["../../../../../../src/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAC,MAAM,YAAY,CAAC;AAStD,MAAM,CAAC,MAAM,cAAc,GAA4C,CAAC,EAAC,KAAK,EAAE,QAAQ,EAAC,EAAE,EAAE;IACzF,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,MAAM,aAAa,GAAG,KAAC,MAAM,IAAC,IAAI,EAAC,WAAW,EAAC,WAAW,EAAE,EAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,EAAC,GAAI,CAAC;IAEjH,OAAO,CACH,KAAC,QAAQ,CAAC,KAAK,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,YAC5C,MAAC,QAAQ,IAAC,SAAS,EAAC,UAAU,EAAC,IAAI,EAAE,CAAC,aAClC,KAAC,QAAQ,IAAC,KAAK,EAAC,MAAM,EAAC,QAAQ,kBAC3B,MAAC,QAAQ,eACJ,CAAC,CAAC,yBAAyB,CAAC,OAAG,aAAa,IACtC,GACJ,EACX,KAAC,QAAQ,IAAC,KAAK,EAAC,OAAO,YAAE,CAAC,CAAC,0BAA0B,CAAC,GAAY,EAClE,KAAC,QAAQ,IAAC,KAAK,EAAC,QAAQ,EAAC,QAAQ,kBAC7B,MAAC,QAAQ,eACJ,CAAC,CAAC,2BAA2B,CAAC,OAAG,aAAa,IACxC,GACJ,EACX,KAAC,QAAQ,IAAC,KAAK,EAAC,UAAU,EAAC,QAAQ,kBAC/B,MAAC,QAAQ,eACJ,CAAC,CAAC,6BAA6B,CAAC,OAAG,aAAa,IAC1C,GACJ,IACJ,GACE,CACpB,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {KitRadio, KitSpace, KitTag} from 'aristid-ds';\nimport {type RadioGroupProps} from 'aristid-ds/dist/Kit/DataEntry/Radio';\nimport {type FunctionComponent} from 'react';\n\ninterface ISelectViewTypeProps {\n value: string;\n onChange: RadioGroupProps['onChange'];\n}\n\nexport const SelectViewType: FunctionComponent<ISelectViewTypeProps> = ({value, onChange}) => {\n const {t} = useSharedTranslation();\n\n const comingSoonTag = <KitTag type=\"secondary\" idCardProps={{description: String(t('explorer.coming-soon'))}} />;\n\n return (\n <KitRadio.Group value={value} onChange={onChange}>\n <KitSpace direction=\"vertical\" size={0}>\n <KitRadio value=\"list\" disabled>\n <KitSpace>\n {t('explorer.view-type-list')} {comingSoonTag}\n </KitSpace>\n </KitRadio>\n <KitRadio value=\"table\">{t('explorer.view-type-table')}</KitRadio>\n <KitRadio value=\"mosaic\" disabled>\n <KitSpace>\n {t('explorer.view-type-mosaic')} {comingSoonTag}\n </KitSpace>\n </KitRadio>\n <KitRadio value=\"planning\" disabled>\n <KitSpace>\n {t('explorer.view-type-planning')} {comingSoonTag}\n </KitSpace>\n </KitRadio>\n </KitSpace>\n </KitRadio.Group>\n );\n};\n"]}
|