@leav/ui 1.13.0-2d58210a → 1.13.0-488bbbdb
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.map +1 -1
- package/dist/__mocks__/common/attribute.js.map +1 -1
- package/dist/__mocks__/common/filter.js +0 -3
- package/dist/__mocks__/common/filter.js.map +1 -1
- package/dist/__mocks__/common/form.js +0 -3
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/__mocks__/common/import.js +0 -3
- package/dist/__mocks__/common/import.js.map +1 -1
- package/dist/__mocks__/common/label.js +0 -3
- package/dist/__mocks__/common/label.js.map +1 -1
- package/dist/__mocks__/common/library.js +0 -3
- package/dist/__mocks__/common/library.js.map +1 -1
- package/dist/__mocks__/common/record.js.map +1 -1
- package/dist/__mocks__/common/tree.js +0 -3
- package/dist/__mocks__/common/tree.js.map +1 -1
- package/dist/__mocks__/common/treeElements.js.map +1 -1
- package/dist/__mocks__/common/value.js.map +1 -1
- package/dist/__mocks__/common/versionProfile.js.map +1 -1
- package/dist/__mocks__/common/view.js +0 -3
- package/dist/__mocks__/common/view.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +0 -3
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +0 -3
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +0 -3
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
- package/dist/__mocks__/react-i18next.js +0 -3
- package/dist/__mocks__/react-i18next.js.map +1 -1
- package/dist/__mocks__/utils.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +115 -39
- package/dist/_gqlTypes/index.js +97 -30
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/applications/applicationDetailsFragment.js +0 -3
- package/dist/_queries/applications/applicationDetailsFragment.js.map +1 -1
- package/dist/_queries/applications/checkApplicationExistence.js +0 -3
- package/dist/_queries/applications/checkApplicationExistence.js.map +1 -1
- package/dist/_queries/applications/getApplicationDetails.js +0 -3
- package/dist/_queries/applications/getApplicationDetails.js.map +1 -1
- package/dist/_queries/applications/getApplicationsModulesQuery.js +0 -3
- package/dist/_queries/applications/getApplicationsModulesQuery.js.map +1 -1
- package/dist/_queries/applications/saveApplicationMutation.js +0 -3
- package/dist/_queries/applications/saveApplicationMutation.js.map +1 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js +0 -3
- package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
- package/dist/_queries/attributes/checkAttributeExistenceQuery.js +0 -3
- package/dist/_queries/attributes/checkAttributeExistenceQuery.js.map +1 -1
- package/dist/_queries/attributes/deleteAttributeMutation.js +0 -3
- package/dist/_queries/attributes/deleteAttributeMutation.js.map +1 -1
- package/dist/_queries/attributes/getAttributeByIdQuery.js +0 -3
- package/dist/_queries/attributes/getAttributeByIdQuery.js.map +1 -1
- package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js +0 -3
- package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js.map +1 -1
- package/dist/_queries/attributes/getAttributesByLib.js +0 -3
- package/dist/_queries/attributes/getAttributesByLib.js.map +1 -1
- package/dist/_queries/attributes/getAttributesQuery.js +0 -3
- package/dist/_queries/attributes/getAttributesQuery.js.map +1 -1
- package/dist/_queries/attributes/getVersionProfilesQuery.js +0 -3
- package/dist/_queries/attributes/getVersionProfilesQuery.js.map +1 -1
- package/dist/_queries/attributes/getVersionableAttributesByLibrary.js +0 -3
- package/dist/_queries/attributes/getVersionableAttributesByLibrary.js.map +1 -1
- package/dist/_queries/attributes/saveAttributeMutation.js +0 -3
- package/dist/_queries/attributes/saveAttributeMutation.js.map +1 -1
- package/dist/_queries/export/exportQuery.js +0 -3
- package/dist/_queries/export/exportQuery.js.map +1 -1
- package/dist/_queries/files/createDirectory.js +0 -3
- package/dist/_queries/files/createDirectory.js.map +1 -1
- package/dist/_queries/files/forcePreviewsGenerationMutation.js +0 -3
- package/dist/_queries/files/forcePreviewsGenerationMutation.js.map +1 -1
- package/dist/_queries/files/getDirectoryDataQuery.js +0 -3
- package/dist/_queries/files/getDirectoryDataQuery.js.map +1 -1
- package/dist/_queries/files/getUploadUpdates.js +0 -3
- package/dist/_queries/files/getUploadUpdates.js.map +1 -1
- package/dist/_queries/files/uploadMutation.js +0 -3
- package/dist/_queries/files/uploadMutation.js.map +1 -1
- package/dist/_queries/import/importExcel.js +0 -3
- package/dist/_queries/import/importExcel.js.map +1 -1
- package/dist/_queries/libraries/checkLibraryExistenceQuery.js +0 -3
- package/dist/_queries/libraries/checkLibraryExistenceQuery.js.map +1 -1
- package/dist/_queries/libraries/deleteLibraryMutation.js +0 -3
- package/dist/_queries/libraries/deleteLibraryMutation.js.map +1 -1
- package/dist/_queries/libraries/getLibrariesQuery.js +0 -3
- package/dist/_queries/libraries/getLibrariesQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryByIdQuery.js +0 -3
- package/dist/_queries/libraries/getLibraryByIdQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryPermissionsQuery.js +0 -3
- package/dist/_queries/libraries/getLibraryPermissionsQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js +0 -3
- package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js.map +1 -1
- package/dist/_queries/libraries/libraryDetailsFragment.js +0 -3
- package/dist/_queries/libraries/libraryDetailsFragment.js.map +1 -1
- package/dist/_queries/libraries/saveLibraryMutation.js +0 -3
- package/dist/_queries/libraries/saveLibraryMutation.js.map +1 -1
- package/dist/_queries/permissions/isAllowedQuery.js +0 -3
- package/dist/_queries/permissions/isAllowedQuery.js.map +1 -1
- package/dist/_queries/records/activateRecordsMutation.js +0 -3
- package/dist/_queries/records/activateRecordsMutation.js.map +1 -1
- package/dist/_queries/records/createRecordMutation.js +0 -3
- package/dist/_queries/records/createRecordMutation.js.map +1 -1
- package/dist/_queries/records/deactivateRecordsMutation.js +0 -3
- package/dist/_queries/records/deactivateRecordsMutation.js.map +1 -1
- package/dist/_queries/records/doesFileExistAsChild.js +0 -3
- package/dist/_queries/records/doesFileExistAsChild.js.map +1 -1
- package/dist/_queries/records/getFileDataQuery.js +0 -3
- package/dist/_queries/records/getFileDataQuery.js.map +1 -1
- package/dist/_queries/records/getRecordColumnsValues.js +0 -3
- package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js +0 -3
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/records/getRecordPropertiesQuery.js +0 -3
- package/dist/_queries/records/getRecordPropertiesQuery.js.map +1 -1
- package/dist/_queries/records/getRecordUpdatesSubscription.js +0 -3
- package/dist/_queries/records/getRecordUpdatesSubscription.js.map +1 -1
- package/dist/_queries/records/getRecordsFromLibraryQuery.js +0 -3
- package/dist/_queries/records/getRecordsFromLibraryQuery.js.map +1 -1
- package/dist/_queries/records/indexRecordsMutation.js +0 -3
- package/dist/_queries/records/indexRecordsMutation.js.map +1 -1
- package/dist/_queries/records/recordFormAttributeFragment.js +0 -3
- package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
- package/dist/_queries/tasks/cancelTaskMutation.js +0 -3
- package/dist/_queries/tasks/cancelTaskMutation.js.map +1 -1
- package/dist/_queries/trees/checkTreeExistenceQuery.js +0 -3
- package/dist/_queries/trees/checkTreeExistenceQuery.js.map +1 -1
- package/dist/_queries/trees/deleteTreeMutation.js +0 -3
- package/dist/_queries/trees/deleteTreeMutation.js.map +1 -1
- package/dist/_queries/trees/getTreeByIdQuery.js +0 -3
- package/dist/_queries/trees/getTreeByIdQuery.js.map +1 -1
- package/dist/_queries/trees/getTreeLibraries.js +0 -3
- package/dist/_queries/trees/getTreeLibraries.js.map +1 -1
- package/dist/_queries/trees/getTreesQuery.js +0 -3
- package/dist/_queries/trees/getTreesQuery.js.map +1 -1
- package/dist/_queries/trees/saveTreeMutation.js +0 -3
- package/dist/_queries/trees/saveTreeMutation.js.map +1 -1
- package/dist/_queries/trees/treeDetailsFragment.js +0 -3
- package/dist/_queries/trees/treeDetailsFragment.js.map +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js +0 -3
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/_queries/userData/getUserData.js +0 -3
- package/dist/_queries/userData/getUserData.js.map +1 -1
- package/dist/_queries/userData/saveUserData.js +0 -3
- package/dist/_queries/userData/saveUserData.js.map +1 -1
- package/dist/_queries/values/deleteValueMutation.js +0 -3
- package/dist/_queries/values/deleteValueMutation.js.map +1 -1
- package/dist/_queries/values/saveValueBatchMutation.js +0 -3
- package/dist/_queries/values/saveValueBatchMutation.js.map +1 -1
- package/dist/_queries/values/valueDetailsFragment.js +0 -3
- package/dist/_queries/values/valueDetailsFragment.js.map +1 -1
- package/dist/_queries/values/valuesVersionFragment.js +0 -3
- package/dist/_queries/values/valuesVersionFragment.js.map +1 -1
- package/dist/_queries/views/deleteViewMutation.js +0 -3
- package/dist/_queries/views/deleteViewMutation.js.map +1 -1
- package/dist/_queries/views/getViewById.js +0 -3
- package/dist/_queries/views/getViewById.js.map +1 -1
- package/dist/_queries/views/getViewsListQuery.js +0 -3
- package/dist/_queries/views/getViewsListQuery.js.map +1 -1
- package/dist/_queries/views/saveViewMutation.js +0 -3
- package/dist/_queries/views/saveViewMutation.js.map +1 -1
- package/dist/_queries/views/viewDetailsFragment.js +0 -3
- package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
- package/dist/_utils/__mocks__/isDevEnv.js +0 -3
- package/dist/_utils/__mocks__/isDevEnv.js.map +1 -1
- package/dist/_utils/attributeType.js +0 -3
- package/dist/_utils/attributeType.js.map +1 -1
- package/dist/_utils/getFiltersFromRequest.js +0 -3
- package/dist/_utils/getFiltersFromRequest.js.map +1 -1
- package/dist/_utils/getRequestFromFilter.js +0 -3
- package/dist/_utils/getRequestFromFilter.js.map +1 -1
- package/dist/_utils/index.js +0 -3
- package/dist/_utils/index.js.map +1 -1
- package/dist/_utils/interleaveElement.js +0 -3
- package/dist/_utils/interleaveElement.js.map +1 -1
- package/dist/_utils/isDevEnv.js +0 -3
- package/dist/_utils/isDevEnv.js.map +1 -1
- package/dist/_utils/typeguards.js.map +1 -1
- package/dist/antdTheme/index.js +0 -3
- package/dist/antdTheme/index.js.map +1 -1
- package/dist/antdTheme/types.js.map +1 -1
- package/dist/components/AttributePicker/AttributePicker.js +0 -3
- package/dist/components/AttributePicker/AttributePicker.js.map +1 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.js +0 -3
- package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/AttributePicker/AttributesList/index.js +0 -3
- package/dist/components/AttributePicker/AttributesList/index.js.map +1 -1
- package/dist/components/AttributePicker/index.js +0 -3
- package/dist/components/AttributePicker/index.js.map +1 -1
- package/dist/components/BasicButton/BasicButton.js +0 -3
- package/dist/components/BasicButton/BasicButton.js.map +1 -1
- package/dist/components/BasicButton/index.js +0 -3
- package/dist/components/BasicButton/index.js.map +1 -1
- package/dist/components/CreateDirectory/CreateDirectory.js +0 -3
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/CreateDirectory/index.js +0 -3
- package/dist/components/CreateDirectory/index.js.map +1 -1
- package/dist/components/Dimmer/Dimmer.js.map +1 -1
- package/dist/components/Dimmer/index.js +0 -3
- package/dist/components/Dimmer/index.js.map +1 -1
- package/dist/components/EditApplication/EditApplication.js +0 -3
- package/dist/components/EditApplication/EditApplication.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +0 -3
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +0 -3
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +0 -3
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js +0 -3
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js +0 -3
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/index.js +0 -3
- 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 +0 -3
- package/dist/components/EditApplication/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/index.js +0 -3
- package/dist/components/EditAttributeModal/EditAttribute/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.js +0 -3
- package/dist/components/EditAttributeModal/EditAttributeModal.js.map +1 -1
- package/dist/components/EditAttributeModal/index.js +0 -3
- package/dist/components/EditAttributeModal/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/index.js +0 -3
- package/dist/components/EditLibraryModal/EditLibrary/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.js +0 -3
- package/dist/components/EditLibraryModal/EditLibraryModal.js.map +1 -1
- package/dist/components/EditLibraryModal/index.js +0 -3
- package/dist/components/EditLibraryModal/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTree.js +0 -3
- package/dist/components/EditTreeModal/EditTree/EditTree.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +0 -3
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +0 -3
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +0 -3
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js +0 -3
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js +0 -3
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js +0 -3
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/index.js +0 -3
- package/dist/components/EditTreeModal/EditTree/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTreeModal.js +0 -3
- package/dist/components/EditTreeModal/EditTreeModal.js.map +1 -1
- package/dist/components/EditTreeModal/index.js +0 -3
- package/dist/components/EditTreeModal/index.js.map +1 -1
- package/dist/components/EntityCard/EntityCard.js +0 -3
- package/dist/components/EntityCard/EntityCard.js.map +1 -1
- package/dist/components/EntityCard/_types.js.map +1 -1
- package/dist/components/EntityCard/index.js +0 -3
- package/dist/components/EntityCard/index.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreview.js +0 -3
- package/dist/components/EntityPreview/EntityPreview.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +0 -3
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js +0 -3
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js +0 -3
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/index.js +0 -3
- package/dist/components/EntityPreview/EntityPreviewList/index.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +0 -3
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/index.js +0 -3
- 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 +0 -3
- package/dist/components/EntityPreview/index.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.js +0 -3
- package/dist/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +0 -3
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js +0 -3
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js.map +1 -1
- package/dist/components/ErrorBoundary/index.js +0 -3
- package/dist/components/ErrorBoundary/index.js.map +1 -1
- package/dist/components/ErrorDisplay/ErrorDisplay.js +0 -3
- package/dist/components/ErrorDisplay/ErrorDisplay.js.map +1 -1
- package/dist/components/ErrorDisplay/index.js +0 -3
- package/dist/components/ErrorDisplay/index.js.map +1 -1
- package/dist/components/ErrorMessage/ErrorMessage.js +0 -3
- package/dist/components/ErrorMessage/ErrorMessage.js.map +1 -1
- package/dist/components/ErrorMessage/index.js +0 -3
- package/dist/components/ErrorMessage/index.js.map +1 -1
- package/dist/components/Explorer/DataView.js +0 -3
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +5 -1
- package/dist/components/Explorer/Explorer.js +7 -3
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerFiltersAndSorts.js +0 -3
- package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -1
- package/dist/components/Explorer/ExplorerTitle.js +0 -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 +0 -3
- package/dist/components/Explorer/IdCard.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +0 -3
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/TableNameCell.js +0 -3
- package/dist/components/Explorer/TableNameCell.js.map +1 -1
- package/dist/components/Explorer/TableTagGroup.js +0 -3
- package/dist/components/Explorer/TableTagGroup.js.map +1 -1
- package/dist/components/Explorer/_constants.js +0 -3
- package/dist/components/Explorer/_constants.js.map +1 -1
- package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerCountData.js +0 -3
- package/dist/components/Explorer/_queries/useExplorerCountData.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js +0 -3
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +6 -0
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +0 -3
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +0 -3
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/ResultsCount.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/EditMonoDependencyWorkflowTreeAttribute.d.ts +8 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/EditMonoDependencyWorkflowTreeAttribute.js +34 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/EditMonoDependencyWorkflowTreeAttribute.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.d.ts +3 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js +12 -17
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/_types.d.ts +15 -3
- package/dist/components/Explorer/actions-mass/edit-attribute/_types.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useDependencyValues.d.ts +13 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useDependencyValues.js +44 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useDependencyValues.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useEditionMappingState.d.ts +13 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useEditionMappingState.js +70 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useEditionMappingState.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js +14 -20
- package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodesCandidates.d.ts +23 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodesCandidates.js +65 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodesCandidates.js.map +1 -0
- package/dist/components/Explorer/actions-mass/export/ExportProfileSelectionModal.js +0 -3
- package/dist/components/Explorer/actions-mass/export/ExportProfileSelectionModal.js.map +1 -1
- package/dist/components/Explorer/actions-mass/export/content/NoProfiles.js +0 -3
- package/dist/components/Explorer/actions-mass/export/content/NoProfiles.js.map +1 -1
- package/dist/components/Explorer/actions-mass/export/content/ProfilesSelection.js +0 -3
- package/dist/components/Explorer/actions-mass/export/content/ProfilesSelection.js.map +1 -1
- package/dist/components/Explorer/actions-mass/export/useGetLibraryExportProfiles.js +0 -3
- package/dist/components/Explorer/actions-mass/export/useGetLibraryExportProfiles.js.map +1 -1
- package/dist/components/Explorer/actions-mass/generate-previews/GeneratePreviewsModal.js +0 -3
- package/dist/components/Explorer/actions-mass/generate-previews/GeneratePreviewsModal.js.map +1 -1
- package/dist/components/Explorer/actions-mass/generate-previews/useGetPreviewSizesData.js +0 -3
- package/dist/components/Explorer/actions-mass/generate-previews/useGetPreviewSizesData.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +0 -3
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +0 -3
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js +16 -53
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.js +0 -3
- package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useGeneratePreviewsMassAction.js +0 -3
- package/dist/components/Explorer/actions-mass/useGeneratePreviewsMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js +0 -3
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +0 -3
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +0 -3
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/usePrimaryActions.js +0 -3
- package/dist/components/Explorer/actions-primary/usePrimaryActions.js.map +1 -1
- package/dist/components/Explorer/conditionsHelper.js +0 -3
- package/dist/components/Explorer/conditionsHelper.js.map +1 -1
- package/dist/components/Explorer/index.js +0 -3
- package/dist/components/Explorer/index.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.js +0 -3
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js +0 -3
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -1
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -1
- package/dist/components/Explorer/list-saved-views/SavedViews.js +0 -3
- package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +0 -3
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +0 -3
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
- 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 +0 -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 +0 -3
- 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 +4 -4
- 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.map +1 -1
- package/dist/components/Explorer/manage-view-settings/index.d.ts +1 -0
- package/dist/components/Explorer/manage-view-settings/index.js +1 -3
- package/dist/components/Explorer/manage-view-settings/index.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +0 -3
- 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 +0 -3
- 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.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js +0 -3
- 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 +0 -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 +0 -3
- 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 +0 -3
- 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.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.js +0 -3
- 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.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +0 -3
- 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 +0 -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 +0 -3
- 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 +0 -3
- 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 +0 -3
- 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 +0 -3
- 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.map +1 -1
- 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 +0 -3
- 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 +0 -3
- 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.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +7 -31
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +9 -20
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useColumnWidth.js +0 -3
- package/dist/components/Explorer/useColumnWidth.js.map +1 -1
- package/dist/components/Explorer/useLoadView.js +0 -3
- package/dist/components/Explorer/useLoadView.js.map +1 -1
- package/dist/components/Explorer/useNotifyFiltersChange.d.ts +15 -0
- package/dist/components/Explorer/useNotifyFiltersChange.js +23 -0
- package/dist/components/Explorer/useNotifyFiltersChange.js.map +1 -0
- package/dist/components/Explorer/usePagination.js +0 -3
- package/dist/components/Explorer/usePagination.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.js +0 -3
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/Explorer/useTableScrollableHeight.js +0 -3
- package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.js +0 -3
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/FieldsGroup/FieldsGroup.js +0 -3
- package/dist/components/FieldsGroup/FieldsGroup.js.map +1 -1
- package/dist/components/FieldsGroup/index.js +0 -3
- package/dist/components/FieldsGroup/index.js.map +1 -1
- package/dist/components/Filters/FiltersProvider.js.map +1 -1
- package/dist/components/Filters/_queries/treeFiltersDataQuery.js +0 -3
- package/dist/components/Filters/_queries/treeFiltersDataQuery.js.map +1 -1
- package/dist/components/Filters/_types.js.map +1 -1
- package/dist/components/Filters/conditionsHelper.js +0 -3
- package/dist/components/Filters/conditionsHelper.js.map +1 -1
- package/dist/components/Filters/context/filtersContext.js +0 -3
- package/dist/components/Filters/context/filtersContext.js.map +1 -1
- package/dist/components/Filters/context/filtersInitialState.js.map +1 -1
- package/dist/components/Filters/context/filtersReducer.d.ts +9 -1
- package/dist/components/Filters/context/filtersReducer.js +9 -8
- package/dist/components/Filters/context/filtersReducer.js.map +1 -1
- package/dist/components/Filters/context/useFiltersReducer.js +0 -3
- package/dist/components/Filters/context/useFiltersReducer.js.map +1 -1
- package/dist/components/Filters/context/useGetTreeFilters.js +0 -3
- package/dist/components/Filters/context/useGetTreeFilters.js.map +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js.map +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 +0 -3
- package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js.map +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.map +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 +0 -3
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +0 -3
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +0 -3
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js +0 -3
- package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js.map +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 +0 -3
- package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.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/smart-filter/SmartFilterAttributeDropdown.js +0 -3
- package/dist/components/Filters/filter-items/filter-type/smart-filter/SmartFilterAttributeDropdown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/smart-filter/useGetSmartFilterData.js +0 -3
- package/dist/components/Filters/filter-items/filter-type/smart-filter/useGetSmartFilterData.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/smart-filter/useSmartFilerSearch.js +0 -3
- package/dist/components/Filters/filter-items/filter-type/smart-filter/useSmartFilerSearch.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js +14 -4
- package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/tree/_queries/filterTreeDataQuery.js +0 -3
- package/dist/components/Filters/filter-items/filter-type/tree/_queries/filterTreeDataQuery.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.js +0 -3
- package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/tree/useTreeNodeSelection.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/tree/useTreePermissions.js +1 -4
- package/dist/components/Filters/filter-items/filter-type/tree/useTreePermissions.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js +0 -3
- package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/tree/utils/buildFlattenTreeMap.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/tree/utils/countSelectedTreeChildren.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/tree/utils/getSelectAllState.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js +0 -3
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Filters/filter-items/shared/EmptyValueCheckbox.js.map +1 -1
- package/dist/components/Filters/filter-items/shared/FilterTreeNodeTitle.js +0 -3
- package/dist/components/Filters/filter-items/shared/FilterTreeNodeTitle.js.map +1 -1
- package/dist/components/Filters/filter-items/shared/SelectAllCheckbox.js.map +1 -1
- package/dist/components/Filters/index.js +0 -3
- package/dist/components/Filters/index.js.map +1 -1
- package/dist/components/Filters/prepareFiltersForRequest.js +0 -3
- package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Filters/useFilters.js +0 -3
- package/dist/components/Filters/useFilters.js.map +1 -1
- package/dist/components/Filters/useFiltersContext.js +0 -3
- package/dist/components/Filters/useFiltersContext.js.map +1 -1
- package/dist/components/Filters/useTransformFilters.js +0 -3
- package/dist/components/Filters/useTransformFilters.js.map +1 -1
- package/dist/components/FloatingMenu/FloatingMenu.js +0 -3
- package/dist/components/FloatingMenu/FloatingMenu.js.map +1 -1
- package/dist/components/FloatingMenu/_types.js.map +1 -1
- package/dist/components/FloatingMenu/index.js +0 -3
- package/dist/components/FloatingMenu/index.js.map +1 -1
- package/dist/components/ImageLoading/ImageLoading.js +0 -3
- package/dist/components/ImageLoading/ImageLoading.js.map +1 -1
- package/dist/components/ImageLoading/index.js +0 -3
- package/dist/components/ImageLoading/index.js.map +1 -1
- package/dist/components/ImageMissing/ImageMissing.js +0 -3
- package/dist/components/ImageMissing/ImageMissing.js.map +1 -1
- package/dist/components/ImageMissing/index.js +0 -3
- package/dist/components/ImageMissing/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModal.js +0 -3
- package/dist/components/ImportModal/ImportModal.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js +0 -3
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js +0 -3
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js +0 -3
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js +0 -3
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +0 -3
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +0 -3
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js +0 -3
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +0 -3
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js +0 -3
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/index.js +0 -3
- package/dist/components/ImportModal/ImportModalConfigStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js +0 -3
- package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalDoneStep/index.js +0 -3
- package/dist/components/ImportModal/ImportModalDoneStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js +0 -3
- package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalProcessingStep/index.js +0 -3
- package/dist/components/ImportModal/ImportModalProcessingStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +0 -3
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/index.js +0 -3
- 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 +0 -3
- package/dist/components/ImportModal/importReducer/ImportReducerContext.js.map +1 -1
- package/dist/components/ImportModal/importReducer/importReducer.js +0 -3
- package/dist/components/ImportModal/importReducer/importReducer.js.map +1 -1
- package/dist/components/ImportModal/importReducer/index.js +0 -3
- package/dist/components/ImportModal/importReducer/index.js.map +1 -1
- package/dist/components/ImportModal/index.js +0 -3
- package/dist/components/ImportModal/index.js.map +1 -1
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +0 -3
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
- package/dist/components/LibraryPicker/LibrariesList/index.js +0 -3
- package/dist/components/LibraryPicker/LibrariesList/index.js.map +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.js +0 -3
- package/dist/components/LibraryPicker/LibraryPicker.js.map +1 -1
- package/dist/components/LibraryPicker/index.js +0 -3
- package/dist/components/LibraryPicker/index.js.map +1 -1
- package/dist/components/List/List.js +0 -3
- package/dist/components/List/List.js.map +1 -1
- package/dist/components/List/index.js +0 -3
- package/dist/components/List/index.js.map +1 -1
- package/dist/components/Loading/Loading.js +0 -3
- package/dist/components/Loading/Loading.js.map +1 -1
- package/dist/components/Loading/index.js +0 -3
- 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 +0 -3
- package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -1
- package/dist/components/Notifications/index.js +0 -3
- package/dist/components/Notifications/index.js.map +1 -1
- package/dist/components/RecordCard/RecordCard.js +0 -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 +0 -3
- package/dist/components/RecordCard/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +0 -3
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js +0 -3
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js +0 -3
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/index.js +0 -3
- package/dist/components/RecordEdition/EditRecord/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js +0 -3
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordBtn/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +0 -3
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/formConstants.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js +0 -3
- 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 +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/explorer/LinkFieldExplorer.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/explorer/LinkFieldExplorer.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/explorer/link-record/useExplorerLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/explorer/link-record/useLinkRecords.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/explorer/link-record/useLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/InputExtraAlignLeft.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/InputExtraAlignLeft.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/InputWrapper.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/InputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/Wrapper.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/Wrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/LinkFieldTags.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/LinkFieldTags.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/link-record/useLinkRecord.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/link-record/useLinkRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/unlink-all-records/useUnlinkAllRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +0 -3
- 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 +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +0 -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 +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js +0 -3
- 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.map +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 +0 -3
- 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 +0 -3
- 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.js +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +0 -3
- 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 +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +0 -3
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordModal/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js +0 -3
- package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +0 -3
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/ErrorComponent.js +0 -3
- package/dist/components/RecordEdition/EditRecordPage/ErrorComponent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/getInitialRecordValues.js +0 -3
- package/dist/components/RecordEdition/EditRecordPage/getInitialRecordValues.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/index.js +0 -3
- 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 +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js +0 -3
- 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 +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/index.js +0 -3
- package/dist/components/RecordEdition/EditRecordSidebar/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.js +0 -3
- package/dist/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSkeleton/index.js +0 -3
- 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 +0 -3
- package/dist/components/RecordEdition/constants.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js +0 -3
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/index.js +0 -3
- package/dist/components/RecordEdition/editRecordReducer/index.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js +0 -3
- package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js +0 -3
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +0 -3
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js +0 -3
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
- package/dist/components/RecordEdition/index.js +0 -3
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistory.js +0 -3
- package/dist/components/RecordHistory/RecordHistory.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistoryGoUpButton.js +0 -3
- package/dist/components/RecordHistory/RecordHistoryGoUpButton.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistoryLogEntry.js +0 -3
- package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
- package/dist/components/RecordHistory/_queries/recordHistoryQuery.js +0 -3
- package/dist/components/RecordHistory/_queries/recordHistoryQuery.js.map +1 -1
- package/dist/components/RecordHistory/_types.js.map +1 -1
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +0 -3
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
- package/dist/components/RecordHistory/index.js +0 -3
- package/dist/components/RecordHistory/index.js.map +1 -1
- package/dist/components/RecordHistory/utils/extendedAttribute.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js +0 -3
- 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 +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/_constants.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/_constants.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/index.js +0 -3
- package/dist/components/RecordPreviewWithModal/FileModal/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +0 -3
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/index.js +0 -3
- package/dist/components/RecordPreviewWithModal/index.js.map +1 -1
- package/dist/components/SearchModal/SearchModal.js.map +1 -1
- package/dist/components/SearchModal/index.js +0 -3
- package/dist/components/SearchModal/index.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +0 -3
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/index.js +0 -3
- package/dist/components/SelectRecordForLinkModal/index.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.js +0 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +0 -3
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -1
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +0 -3
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
- package/dist/components/SelectTreeNode/_queries/treeContentDataQuery.js +0 -3
- package/dist/components/SelectTreeNode/_queries/treeContentDataQuery.js.map +1 -1
- package/dist/components/SelectTreeNode/_types.js.map +1 -1
- package/dist/components/SelectTreeNode/index.js +0 -3
- package/dist/components/SelectTreeNode/index.js.map +1 -1
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js +0 -3
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -1
- package/dist/components/SelectTreeNodeModalOld/index.js +0 -3
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -1
- package/dist/components/ShowMore/ShowMore.js +0 -3
- package/dist/components/ShowMore/ShowMore.js.map +1 -1
- package/dist/components/ShowMore/index.js +0 -3
- package/dist/components/ShowMore/index.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +0 -3
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +0 -3
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js +0 -3
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/index.js +0 -3
- package/dist/components/SimpleErrorBoundary/index.js.map +1 -1
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js +0 -3
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js.map +1 -1
- package/dist/components/SubmitStateNotifier/_types.js.map +1 -1
- package/dist/components/SubmitStateNotifier/index.js +0 -3
- package/dist/components/SubmitStateNotifier/index.js.map +1 -1
- package/dist/components/TreePicker/TreePicker.js +0 -3
- package/dist/components/TreePicker/TreePicker.js.map +1 -1
- package/dist/components/TreePicker/TreesList/TreesList.js +0 -3
- package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
- package/dist/components/TreePicker/TreesList/index.js +0 -3
- package/dist/components/TreePicker/TreesList/index.js.map +1 -1
- package/dist/components/TreePicker/index.js +0 -3
- package/dist/components/TreePicker/index.js.map +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +0 -3
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/index.js +0 -3
- package/dist/components/TriggerPreviewsGenerationModal/index.js.map +1 -1
- package/dist/components/UploadFiles/UploadFiles.js +0 -3
- package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
- package/dist/components/UploadFiles/index.js +0 -3
- package/dist/components/UploadFiles/index.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +0 -3
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +0 -3
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/index.js +0 -3
- package/dist/components/ValuesVersionConfigurator/VersionTree/index.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/index.js +0 -3
- package/dist/components/ValuesVersionConfigurator/index.js.map +1 -1
- package/dist/components/index.js +0 -3
- package/dist/components/index.js.map +1 -1
- package/dist/constants.js +0 -3
- package/dist/constants.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js +0 -3
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/index.js +0 -3
- package/dist/contexts/EditRecordModalContext/index.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js +0 -3
- package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js.map +1 -1
- package/dist/contexts/LangContext/LangContext.js +0 -3
- package/dist/contexts/LangContext/LangContext.js.map +1 -1
- package/dist/contexts/LangContext/index.js +0 -3
- package/dist/contexts/LangContext/index.js.map +1 -1
- package/dist/contexts/LangContext/types.js.map +1 -1
- package/dist/contexts/UserContext/UserContext.js +0 -3
- package/dist/contexts/UserContext/UserContext.js.map +1 -1
- package/dist/contexts/UserContext/index.js +0 -3
- package/dist/contexts/UserContext/index.js.map +1 -1
- package/dist/contexts/UserContext/types.js.map +1 -1
- package/dist/contexts/index.js +0 -3
- package/dist/contexts/index.js.map +1 -1
- package/dist/gqlFragments/index.js +0 -3
- package/dist/gqlFragments/index.js.map +1 -1
- package/dist/gqlFragments/recordIdentityFragment.js +0 -3
- package/dist/gqlFragments/recordIdentityFragment.js.map +1 -1
- package/dist/gqlPossibleTypes/index.js.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +1 -3
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useAntdLocale/index.js +0 -3
- package/dist/hooks/useAntdLocale/index.js.map +1 -1
- package/dist/hooks/useAntdLocale/useAntdLocale.js.map +1 -1
- package/dist/hooks/useAppLang/index.js +0 -3
- package/dist/hooks/useAppLang/index.js.map +1 -1
- package/dist/hooks/useAppLang/useAppLang.js +0 -3
- package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
- package/dist/hooks/useAuth/index.js +0 -3
- package/dist/hooks/useAuth/index.js.map +1 -1
- package/dist/hooks/useAuth/useAuth.js +0 -3
- package/dist/hooks/useAuth/useAuth.js.map +1 -1
- package/dist/hooks/useCanEditRecord/index.js +0 -3
- package/dist/hooks/useCanEditRecord/index.js.map +1 -1
- package/dist/hooks/useCanEditRecord/useCanEditRecord.js +0 -3
- package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
- package/dist/hooks/useConfirmModal/__mocks__/index.js +0 -3
- package/dist/hooks/useConfirmModal/__mocks__/index.js.map +1 -1
- package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js +0 -3
- package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js.map +1 -1
- package/dist/hooks/useConfirmModal/index.js +0 -3
- package/dist/hooks/useConfirmModal/index.js.map +1 -1
- package/dist/hooks/useConfirmModal/useConfirmModal.js +0 -3
- package/dist/hooks/useConfirmModal/useConfirmModal.js.map +1 -1
- package/dist/hooks/useDebouncedValue/index.js +0 -3
- package/dist/hooks/useDebouncedValue/index.js.map +1 -1
- package/dist/hooks/useDebouncedValue/useDebouncedValue.js +0 -3
- package/dist/hooks/useDebouncedValue/useDebouncedValue.js.map +1 -1
- package/dist/hooks/useDelayedLoading/index.d.ts +1 -0
- package/dist/hooks/useDelayedLoading/index.js +2 -0
- package/dist/hooks/useDelayedLoading/index.js.map +1 -0
- package/dist/hooks/useDelayedLoading/useDelayedLoading.d.ts +17 -0
- package/dist/hooks/useDelayedLoading/useDelayedLoading.js +51 -0
- package/dist/hooks/useDelayedLoading/useDelayedLoading.js.map +1 -0
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js.map +1 -1
- package/dist/hooks/useExecuteSaveViewMutation/index.js +0 -3
- package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -1
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -1
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +0 -3
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js.map +1 -1
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +0 -3
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js.map +1 -1
- package/dist/hooks/useGetRecordForm/index.js +0 -3
- package/dist/hooks/useGetRecordForm/index.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useGetRecordIdCard/index.js +0 -3
- package/dist/hooks/useGetRecordIdCard/index.js.map +1 -1
- package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.js +0 -3
- package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.js.map +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/index.js +0 -3
- package/dist/hooks/useGetRecordUpdatesSubscription/index.js.map +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +0 -3
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js.map +1 -1
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +0 -3
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.d.ts +3 -1
- package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.js +0 -3
- package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +2 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +9 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.js +0 -3
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/types.d.ts +21 -2
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +1 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +0 -3
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js +29 -10
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.js +0 -3
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useNativePanelMessengerHandlers.d.ts +14 -0
- package/dist/hooks/useIFrameMessenger/useNativePanelMessengerHandlers.js +19 -0
- package/dist/hooks/useIFrameMessenger/useNativePanelMessengerHandlers.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +0 -3
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +1 -0
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js +0 -3
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js +0 -3
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -1
- package/dist/hooks/useLang/__mocks__/index.js +0 -3
- package/dist/hooks/useLang/__mocks__/index.js.map +1 -1
- package/dist/hooks/useLang/__mocks__/useLang.js +0 -3
- package/dist/hooks/useLang/__mocks__/useLang.js.map +1 -1
- package/dist/hooks/useLang/index.js +0 -3
- package/dist/hooks/useLang/index.js.map +1 -1
- package/dist/hooks/useLang/useLang.js +0 -3
- package/dist/hooks/useLang/useLang.js.map +1 -1
- package/dist/hooks/useLibraryVersionTrees/index.js +0 -3
- package/dist/hooks/useLibraryVersionTrees/index.js.map +1 -1
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js.map +1 -1
- package/dist/hooks/useLocalStorage/index.js +0 -3
- package/dist/hooks/useLocalStorage/index.js.map +1 -1
- package/dist/hooks/useLocalStorage/useLocalStorage.js +0 -3
- package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -1
- package/dist/hooks/useLoginChecker/index.js +0 -3
- package/dist/hooks/useLoginChecker/index.js.map +1 -1
- package/dist/hooks/useLoginChecker/useLoginChecker.js +0 -3
- package/dist/hooks/useLoginChecker/useLoginChecker.js.map +1 -1
- package/dist/hooks/useRecordsConsultationHistory/index.js +0 -3
- package/dist/hooks/useRecordsConsultationHistory/index.js.map +1 -1
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +0 -3
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js.map +1 -1
- package/dist/hooks/useRedirectToLogin/index.js +0 -3
- package/dist/hooks/useRedirectToLogin/index.js.map +1 -1
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +0 -3
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
- package/dist/hooks/useRefreshFieldValues/index.js +0 -3
- package/dist/hooks/useRefreshFieldValues/index.js.map +1 -1
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +0 -3
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
- package/dist/hooks/useSharedTranslation/__mocks__/index.js +0 -3
- package/dist/hooks/useSharedTranslation/__mocks__/index.js.map +1 -1
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
- package/dist/hooks/useSharedTranslation/index.js +0 -3
- package/dist/hooks/useSharedTranslation/index.js.map +1 -1
- package/dist/hooks/useSharedTranslation/useSharedTranslation.js +0 -3
- package/dist/hooks/useSharedTranslation/useSharedTranslation.js.map +1 -1
- package/dist/hooks/useUser/index.js +0 -3
- package/dist/hooks/useUser/index.js.map +1 -1
- package/dist/hooks/useUser/useUser.js +0 -3
- package/dist/hooks/useUser/useUser.js.map +1 -1
- package/dist/hooks/useValuesCacheUpdate/index.js +0 -3
- package/dist/hooks/useValuesCacheUpdate/index.js.map +1 -1
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +0 -3
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js.map +1 -1
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/dist/locales/en/shared.json +1 -0
- package/dist/locales/fr/shared.json +1 -0
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +0 -3
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js.map +1 -1
- package/dist/testing/MockedLangContextProvider/index.js +0 -3
- package/dist/testing/MockedLangContextProvider/index.js.map +1 -1
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +0 -3
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js.map +1 -1
- package/dist/testing/MockedUserContextProvider/index.js +0 -3
- package/dist/testing/MockedUserContextProvider/index.js.map +1 -1
- package/dist/testing/index.js +0 -3
- package/dist/testing/index.js.map +1 -1
- package/dist/types/attributes.js.map +1 -1
- package/dist/types/index.js +0 -3
- 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.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 +4 -9
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.d.ts +0 -12
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js +0 -24
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js.map +0 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.d.ts +0 -13
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js +0 -28
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditAttributeInfoForm.js","sourceRoot":"","sources":["../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAiB,aAAa,EAAC,MAAM,aAAa,CAAC;AACxE,OAAO,EAAC,IAAI,EAAqB,KAAK,EAAe,MAAM,EAAE,MAAM,EAAC,MAAM,MAAM,CAAC;AACjF,OAAc,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AACtC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAKH,eAAe,EACf,aAAa,EACb,gBAAgB,GACnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,mBAAmB,EAAC,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;;;;;;;;CAQvC,CAAC;AAEF,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAI/B,CAAC;AAEF,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;;;;;CAK5C,CAAC;AAoBF,SAAS,qBAAqB,CAAC,EAC3B,IAAI,EACJ,SAAS,EACT,aAAa,E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ACnC,KAAK,EAAE,KAAC,mBAAmB,IAAC,KAAK,EAAE,cAAc,CAAC,eAAe,CAAC,GAAI,GACxE,CACL,IACE,CACV,CAAC;AACN,CAAC;AAED,eAAe,qBAAqB,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 {idFormatRegex, type Override, slugifyString} from '@leav/utils';\nimport {Form, type FormInstance, Input, InputNumber, Select, Switch} from 'antd';\nimport React, {useState} from 'react';\nimport styled from 'styled-components';\nimport {useLang} from '../../../../../hooks';\nimport {useSharedTranslation} from '../../../../../hooks/useSharedTranslation';\nimport {\n type AttributeDetailsFragment,\n type AttributeDetailsLinkAttributeFragment,\n type AttributeDetailsStandardAttributeFragment,\n type AttributeDetailsTreeAttributeFragment,\n AttributeFormat,\n AttributeType,\n ValueVersionMode,\n} from '../../../../../_gqlTypes';\nimport FieldsGroup from '../../../../FieldsGroup';\nimport {SubmitStateNotifier} from '../../../../SubmitStateNotifier';\nimport {LinkedLibraryForm} from './LinkedLibraryForm';\nimport {LinkedTreeForm} from './LinkedTreeForm';\nimport {ValuesVersionsForm} from './ValuesVersionsForm';\n\nconst SwitchFormItem = styled(Form.Item)`\n .ant-form-item-extra {\n min-height: 0;\n position: absolute;\n left: 50px;\n top: 50%;\n transform: translateY(-50%);\n }\n`;\n\nconst SwitchWrapper = styled.div`\n display: flex;\n align-items: center;\n gap: 0.5rem;\n`;\n\nconst DescriptionFormItem = styled(Form.Item)`\n position: relative;\n .ant-form-item-extra {\n min-height: 0;\n }\n`;\n\ntype FormValues = Partial<\n Override<\n AttributeDetailsLinkAttributeFragment &\n AttributeDetailsStandardAttributeFragment &\n AttributeDetailsTreeAttributeFragment,\n {versions_conf: Override<AttributeDetailsFragment['versions_conf'], {profile: string}>}\n >\n>;\n\ninterface IEditAttributeInfoFormProps {\n form: FormInstance;\n attribute: AttributeDetailsFragment;\n loading: boolean;\n onSubmitField: (field: string, value: any) => Promise<void>;\n onCheckAttributeUniqueness: (value: string) => Promise<boolean>;\n readOnly?: boolean;\n}\n\nfunction EditAttributeInfoForm({\n form,\n attribute,\n onSubmitField,\n onCheckAttributeUniqueness,\n loading,\n readOnly: isReadOnly,\n}: IEditAttributeInfoFormProps): JSX.Element {\n const {t} = useSharedTranslation();\n const {availableLangs, defaultLang} = useLang();\n const currentType = Form.useWatch('type', form);\n const [hasIdBeenEdited, setHasIdBeenEdited] = useState(false);\n const [runningFieldsSubmit, setRunningFieldsSubmit] = useState<string[]>([]);\n const [processedFieldsSubmit, setProcessedFieldsSubmit] = useState<string[]>([]);\n\n const isEditing = !!attribute;\n const isTypeStandard = currentType === AttributeType.simple || currentType === AttributeType.advanced;\n const isTypeLink = currentType === AttributeType.simple_link || currentType === AttributeType.advanced_link;\n const isTypeTree = currentType === AttributeType.tree;\n const isTypeNotSimple = currentType !== AttributeType.simple && currentType !== AttributeType.simple_link;\n\n const _getRequiredMessage = (field: string) =>\n t('errors.field_required', {\n interpolation: {escapeValue: false},\n fieldName: t(`attributes.${field}`),\n });\n\n const _handleLabelChange = (labelLang: string) => (e: React.ChangeEvent<HTMLInputElement>) => {\n // If ID hasn't been edited manually, generate it from label\n if (!isEditing && labelLang === defaultLang && !hasIdBeenEdited) {\n form.setFieldsValue({id: slugifyString(e.target.value)});\n }\n };\n\n const _handleNumberChange = (field: string) => (value: number) => {\n form.setFieldsValue({[field]: value});\n };\n\n const _handleIdChange = () => {\n setHasIdBeenEdited(true);\n };\n\n const _handleAttributeUniquenessValidation = async (rule, value) => {\n if (value && (!isEditing || value !== formInitValues.id)) {\n const isAttributeUnique = await onCheckAttributeUniqueness(value);\n\n if (!isAttributeUnique) {\n throw new Error();\n }\n }\n };\n\n const _handleFieldSubmit = async (field: string, value: any) => {\n if (!isEditing) {\n return;\n }\n\n // Consider boolean fields as always touched\n if (!form.isFieldTouched(field) && typeof value !== 'boolean') {\n return;\n }\n\n setRunningFieldsSubmit([...runningFieldsSubmit, field]);\n\n await onSubmitField(field, value);\n setProcessedFieldsSubmit([...processedFieldsSubmit, field]);\n\n setRunningFieldsSubmit(runningFieldsSubmit.filter(f => f !== field));\n };\n\n const _handleSelectChange = (field: string) => (value: string) => _handleFieldSubmit(field, value);\n\n const _handleCheckboxChange = (field: string) => (value: boolean) => {\n _handleFieldSubmit(field, value);\n };\n\n const _handleVersionsConfChange = (field: string | string[], value: string | boolean) => {\n _handleFieldSubmit('versions_conf', value);\n };\n\n const _handleBlur = (field: string) => async (e: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n _handleFieldSubmit(field, e.target.value);\n };\n\n const _handleSubmitOnEnter =\n (field: string) => (e: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n // If shift is pressed, don't submit\n if (e.shiftKey || !isEditing) {\n return;\n }\n\n if (e.key === 'Enter') {\n e.preventDefault();\n\n _handleFieldSubmit(field, e.currentTarget.value);\n }\n };\n\n const {label: attributeLabel, description: attributeDescription, ...attributeSettings} = attribute ?? {};\n const label = attributeLabel\n ? {\n ...availableLangs.reduce((acc, availableLang) => {\n acc[`label_${availableLang}`] = attribute.label[availableLang] ?? '';\n return acc;\n }, {}),\n }\n : {};\n\n const description = attributeDescription\n ? {\n ...availableLangs.reduce((acc, availableLang) => {\n acc[`description_${availableLang}`] = attribute.description[availableLang] ?? '';\n return acc;\n }, {}),\n }\n : {};\n\n const formInitValues: FormValues = {\n type: AttributeType.simple,\n format: AttributeFormat.text,\n readonly: false,\n unique: false,\n ...attributeSettings,\n ...label,\n ...description,\n versions_conf: {\n versionable: attribute?.versions_conf?.versionable ?? false,\n mode: attribute?.versions_conf?.mode ?? ValueVersionMode.smart,\n profile: attribute?.versions_conf?.profile?.id ?? null,\n },\n };\n\n const typeSelectOptions = Object.values(AttributeType).map(b => ({\n key: b,\n value: b,\n label: t(`attributes.type_${b}`),\n }));\n\n const formatSelectOptions = Object.values(AttributeFormat).map(b => ({\n key: b,\n value: b,\n label: t(`attributes.format_${b}`),\n }));\n\n const _getFieldState = (field: string) => {\n if (runningFieldsSubmit.find(f => f === field)) {\n return 'processing';\n } else if (processedFieldsSubmit.find(f => f === field)) {\n return 'success';\n } else if (form.getFieldError(field).length) {\n return 'error';\n } else {\n return 'idle';\n }\n };\n\n return (\n <Form\n aria-label=\"application_form\"\n form={form}\n labelCol={{span: 6}}\n wrapperCol={{span: 24}}\n initialValues={formInitValues}\n labelWrap\n disabled={!isEditing && loading}\n >\n <FieldsGroup label={t('attributes.label')} key=\"attribute_label\">\n {availableLangs.map(availableLang => (\n <Form.Item\n key={`label_${availableLang}`}\n name={`label_${availableLang}`}\n label={availableLang.toLowerCase()}\n labelCol={{span: 2}}\n wrapperCol={{span: 22}}\n rules={[\n {required: availableLang === defaultLang, message: t('errors.default_language_required')},\n ]}\n style={{marginBottom: '0.5rem'}}\n >\n <Input\n aria-label={`label_${availableLang}`}\n onChange={_handleLabelChange(availableLang)}\n onBlur={_handleBlur(`label_${availableLang}`)}\n onKeyPress={_handleSubmitOnEnter(`label_${availableLang}`)}\n disabled={isReadOnly || !!runningFieldsSubmit.find(f => f === `label_${availableLang}`)}\n suffix={<SubmitStateNotifier state={_getFieldState(`label_${availableLang}`)} />}\n />\n </Form.Item>\n ))}\n </FieldsGroup>\n <FieldsGroup label={t('attributes.description')} key=\"attribute_description\">\n {availableLangs.map(availableLang => (\n <DescriptionFormItem\n key={`description_${availableLang}`}\n name={`description_${availableLang}`}\n label={availableLang.toLowerCase()}\n labelCol={{span: 2}}\n wrapperCol={{span: 22}}\n style={{marginBottom: '0.5rem'}}\n extra={\n <SubmitStateNotifier\n style={{position: 'absolute', top: '0.5rem', right: '0.5rem'}}\n state={_getFieldState(`description_${availableLang}`)}\n />\n }\n >\n <Input.TextArea\n aria-label={`description_${availableLang}`}\n onBlur={_handleBlur(`description_${availableLang}`)}\n onKeyDown={_handleSubmitOnEnter(`description_${availableLang}`)}\n disabled={isReadOnly}\n />\n </DescriptionFormItem>\n ))}\n </FieldsGroup>\n <Form.Item\n name=\"id\"\n key=\"id\"\n label={t('global.id')}\n validateTrigger={['onBlur', 'onChange', 'onSubmit']}\n rules={[\n {required: true, message: _getRequiredMessage('id')},\n {pattern: idFormatRegex, message: t('errors.invalid_id_format')},\n {\n validateTrigger: ['onBlur', 'onSubmit'],\n validator: _handleAttributeUniquenessValidation,\n message: t('errors.id_already_exists'),\n },\n ]}\n hasFeedback\n >\n <Input disabled={isReadOnly || isEditing} onChange={_handleIdChange} />\n </Form.Item>\n <Form.Item\n name=\"type\"\n key=\"type\"\n label={t('attributes.type')}\n validateTrigger={['onBlur', 'onChange', 'onSubmit']}\n rules={[{required: true, message: _getRequiredMessage('type')}]}\n hasFeedback\n >\n <Select options={typeSelectOptions} disabled={isReadOnly || isEditing} aria-label=\"\" />\n </Form.Item>\n {isTypeStandard && (\n <Form.Item\n name=\"format\"\n key=\"format\"\n label={t('attributes.format')}\n validateTrigger={['onBlur', 'onChange', 'onSubmit']}\n rules={[{required: true, message: _getRequiredMessage('format')}]}\n hasFeedback\n >\n <Select options={formatSelectOptions} disabled={isReadOnly || isEditing} aria-label=\"\" />\n </Form.Item>\n )}\n {isTypeLink && (\n <LinkedLibraryForm\n isReadOnly={isReadOnly}\n onChange={_handleSelectChange('linked_library')}\n extra={<SubmitStateNotifier state={_getFieldState('linked_library')} />}\n selected={form.getFieldValue('linked_library')?.id}\n />\n )}\n {isTypeTree && (\n <LinkedTreeForm\n isReadOnly={isReadOnly}\n onChange={_handleSelectChange('linked_tree')}\n extra={<SubmitStateNotifier state={_getFieldState('linked_tree')} />}\n selected={form.getFieldValue('linked_tree')?.id}\n />\n )}\n <SwitchFormItem\n name=\"readonly\"\n key=\"readonly\"\n label={t('attributes.readonly')}\n validateTrigger={['onChange', 'onSubmit']}\n valuePropName=\"checked\"\n extra={<SubmitStateNotifier state={_getFieldState('readonly')} />}\n >\n <Switch disabled={isReadOnly} onChange={_handleCheckboxChange('readonly')} />\n </SwitchFormItem>\n {form.getFieldValue('type') === AttributeType.simple && (\n <SwitchFormItem\n name=\"unique\"\n key=\"unique\"\n label={t('attributes.unique')}\n validateTrigger={['onChange', 'onSubmit']}\n valuePropName=\"checked\"\n extra={<SubmitStateNotifier state={_getFieldState('unique')} />}\n >\n <Switch disabled={isReadOnly} onChange={_handleCheckboxChange('unique')} />\n </SwitchFormItem>\n )}\n {isTypeNotSimple && (\n <SwitchFormItem\n name=\"multiple_values\"\n key=\"multiple_values\"\n label={t('attributes.multiple_values')}\n validateTrigger={['onChange', 'onSubmit']}\n valuePropName=\"checked\"\n extra={<SubmitStateNotifier state={_getFieldState('multiple_values')} />}\n >\n <Switch disabled={isReadOnly} onChange={_handleCheckboxChange('multiple_values')} />\n </SwitchFormItem>\n )}\n {isTypeNotSimple && (\n <ValuesVersionsForm\n isReadOnly={isReadOnly}\n isEditing={isEditing}\n onChange={_handleVersionsConfChange}\n extra={<SubmitStateNotifier state={_getFieldState('versions_conf')} />}\n />\n )}\n </Form>\n );\n}\n\nexport default EditAttributeInfoForm;\n"]}
|
|
1
|
+
{"version":3,"file":"EditAttributeInfoForm.js","sourceRoot":"","sources":["../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,aAAa,EAAiB,aAAa,EAAC,MAAM,aAAa,CAAC;AACxE,OAAO,EAAC,IAAI,EAAqB,KAAK,EAAe,MAAM,EAAE,MAAM,EAAC,MAAM,MAAM,CAAC;AACjF,OAAc,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AACtC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAKH,eAAe,EACf,aAAa,EACb,gBAAgB,GACnB,MAAM,0BAA0B,CAAC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AqB,CAAC,QAAQ,CAAC,GAAI,IANvE,QAAQ,CAOC,CACpB,EACA,eAAe,IAAI,CAChB,KAAC,cAAc,IACX,IAAI,EAAC,iBAAiB,EAEtB,KAAK,EAAE,CAAC,CAAC,4BAA4B,CAAC,EACtC,eAAe,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC,EACzC,aAAa,EAAC,SAAS,EACvB,KAAK,EAAE,KAAC,mBAAmB,IAAC,KAAK,EAAE,cAAc,CAAC,iBAAiB,CAAC,GAAI,YAExE,KAAC,MAAM,IAAC,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,qBAAqB,CAAC,iBAAiB,CAAC,GAAI,IANhF,iBAAiB,CAOR,CACpB,EACA,eAAe,IAAI,CAChB,KAAC,kBAAkB,IACf,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,yBAAyB,EACnC,KAAK,EAAE,KAAC,mBAAmB,IAAC,KAAK,EAAE,cAAc,CAAC,eAAe,CAAC,GAAI,GACxE,CACL,IACE,CACV,CAAC;AACN,CAAC;AAED,eAAe,qBAAqB,CAAC","sourcesContent":["import {idFormatRegex, type Override, slugifyString} from '@leav/utils';\nimport {Form, type FormInstance, Input, InputNumber, Select, Switch} from 'antd';\nimport React, {useState} from 'react';\nimport styled from 'styled-components';\nimport {useLang} from '../../../../../hooks';\nimport {useSharedTranslation} from '../../../../../hooks/useSharedTranslation';\nimport {\n type AttributeDetailsFragment,\n type AttributeDetailsLinkAttributeFragment,\n type AttributeDetailsStandardAttributeFragment,\n type AttributeDetailsTreeAttributeFragment,\n AttributeFormat,\n AttributeType,\n ValueVersionMode,\n} from '../../../../../_gqlTypes';\nimport FieldsGroup from '../../../../FieldsGroup';\nimport {SubmitStateNotifier} from '../../../../SubmitStateNotifier';\nimport {LinkedLibraryForm} from './LinkedLibraryForm';\nimport {LinkedTreeForm} from './LinkedTreeForm';\nimport {ValuesVersionsForm} from './ValuesVersionsForm';\n\nconst SwitchFormItem = styled(Form.Item)`\n .ant-form-item-extra {\n min-height: 0;\n position: absolute;\n left: 50px;\n top: 50%;\n transform: translateY(-50%);\n }\n`;\n\nconst SwitchWrapper = styled.div`\n display: flex;\n align-items: center;\n gap: 0.5rem;\n`;\n\nconst DescriptionFormItem = styled(Form.Item)`\n position: relative;\n .ant-form-item-extra {\n min-height: 0;\n }\n`;\n\ntype FormValues = Partial<\n Override<\n AttributeDetailsLinkAttributeFragment &\n AttributeDetailsStandardAttributeFragment &\n AttributeDetailsTreeAttributeFragment,\n {versions_conf: Override<AttributeDetailsFragment['versions_conf'], {profile: string}>}\n >\n>;\n\ninterface IEditAttributeInfoFormProps {\n form: FormInstance;\n attribute: AttributeDetailsFragment;\n loading: boolean;\n onSubmitField: (field: string, value: any) => Promise<void>;\n onCheckAttributeUniqueness: (value: string) => Promise<boolean>;\n readOnly?: boolean;\n}\n\nfunction EditAttributeInfoForm({\n form,\n attribute,\n onSubmitField,\n onCheckAttributeUniqueness,\n loading,\n readOnly: isReadOnly,\n}: IEditAttributeInfoFormProps): JSX.Element {\n const {t} = useSharedTranslation();\n const {availableLangs, defaultLang} = useLang();\n const currentType = Form.useWatch('type', form);\n const [hasIdBeenEdited, setHasIdBeenEdited] = useState(false);\n const [runningFieldsSubmit, setRunningFieldsSubmit] = useState<string[]>([]);\n const [processedFieldsSubmit, setProcessedFieldsSubmit] = useState<string[]>([]);\n\n const isEditing = !!attribute;\n const isTypeStandard = currentType === AttributeType.simple || currentType === AttributeType.advanced;\n const isTypeLink = currentType === AttributeType.simple_link || currentType === AttributeType.advanced_link;\n const isTypeTree = currentType === AttributeType.tree;\n const isTypeNotSimple = currentType !== AttributeType.simple && currentType !== AttributeType.simple_link;\n\n const _getRequiredMessage = (field: string) =>\n t('errors.field_required', {\n interpolation: {escapeValue: false},\n fieldName: t(`attributes.${field}`),\n });\n\n const _handleLabelChange = (labelLang: string) => (e: React.ChangeEvent<HTMLInputElement>) => {\n // If ID hasn't been edited manually, generate it from label\n if (!isEditing && labelLang === defaultLang && !hasIdBeenEdited) {\n form.setFieldsValue({id: slugifyString(e.target.value)});\n }\n };\n\n const _handleNumberChange = (field: string) => (value: number) => {\n form.setFieldsValue({[field]: value});\n };\n\n const _handleIdChange = () => {\n setHasIdBeenEdited(true);\n };\n\n const _handleAttributeUniquenessValidation = async (rule, value) => {\n if (value && (!isEditing || value !== formInitValues.id)) {\n const isAttributeUnique = await onCheckAttributeUniqueness(value);\n\n if (!isAttributeUnique) {\n throw new Error();\n }\n }\n };\n\n const _handleFieldSubmit = async (field: string, value: any) => {\n if (!isEditing) {\n return;\n }\n\n // Consider boolean fields as always touched\n if (!form.isFieldTouched(field) && typeof value !== 'boolean') {\n return;\n }\n\n setRunningFieldsSubmit([...runningFieldsSubmit, field]);\n\n await onSubmitField(field, value);\n setProcessedFieldsSubmit([...processedFieldsSubmit, field]);\n\n setRunningFieldsSubmit(runningFieldsSubmit.filter(f => f !== field));\n };\n\n const _handleSelectChange = (field: string) => (value: string) => _handleFieldSubmit(field, value);\n\n const _handleCheckboxChange = (field: string) => (value: boolean) => {\n _handleFieldSubmit(field, value);\n };\n\n const _handleVersionsConfChange = (field: string | string[], value: string | boolean) => {\n _handleFieldSubmit('versions_conf', value);\n };\n\n const _handleBlur = (field: string) => async (e: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n _handleFieldSubmit(field, e.target.value);\n };\n\n const _handleSubmitOnEnter =\n (field: string) => (e: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n // If shift is pressed, don't submit\n if (e.shiftKey || !isEditing) {\n return;\n }\n\n if (e.key === 'Enter') {\n e.preventDefault();\n\n _handleFieldSubmit(field, e.currentTarget.value);\n }\n };\n\n const {label: attributeLabel, description: attributeDescription, ...attributeSettings} = attribute ?? {};\n const label = attributeLabel\n ? {\n ...availableLangs.reduce((acc, availableLang) => {\n acc[`label_${availableLang}`] = attribute.label[availableLang] ?? '';\n return acc;\n }, {}),\n }\n : {};\n\n const description = attributeDescription\n ? {\n ...availableLangs.reduce((acc, availableLang) => {\n acc[`description_${availableLang}`] = attribute.description[availableLang] ?? '';\n return acc;\n }, {}),\n }\n : {};\n\n const formInitValues: FormValues = {\n type: AttributeType.simple,\n format: AttributeFormat.text,\n readonly: false,\n unique: false,\n ...attributeSettings,\n ...label,\n ...description,\n versions_conf: {\n versionable: attribute?.versions_conf?.versionable ?? false,\n mode: attribute?.versions_conf?.mode ?? ValueVersionMode.smart,\n profile: attribute?.versions_conf?.profile?.id ?? null,\n },\n };\n\n const typeSelectOptions = Object.values(AttributeType).map(b => ({\n key: b,\n value: b,\n label: t(`attributes.type_${b}`),\n }));\n\n const formatSelectOptions = Object.values(AttributeFormat).map(b => ({\n key: b,\n value: b,\n label: t(`attributes.format_${b}`),\n }));\n\n const _getFieldState = (field: string) => {\n if (runningFieldsSubmit.find(f => f === field)) {\n return 'processing';\n } else if (processedFieldsSubmit.find(f => f === field)) {\n return 'success';\n } else if (form.getFieldError(field).length) {\n return 'error';\n } else {\n return 'idle';\n }\n };\n\n return (\n <Form\n aria-label=\"application_form\"\n form={form}\n labelCol={{span: 6}}\n wrapperCol={{span: 24}}\n initialValues={formInitValues}\n labelWrap\n disabled={!isEditing && loading}\n >\n <FieldsGroup label={t('attributes.label')} key=\"attribute_label\">\n {availableLangs.map(availableLang => (\n <Form.Item\n key={`label_${availableLang}`}\n name={`label_${availableLang}`}\n label={availableLang.toLowerCase()}\n labelCol={{span: 2}}\n wrapperCol={{span: 22}}\n rules={[\n {required: availableLang === defaultLang, message: t('errors.default_language_required')},\n ]}\n style={{marginBottom: '0.5rem'}}\n >\n <Input\n aria-label={`label_${availableLang}`}\n onChange={_handleLabelChange(availableLang)}\n onBlur={_handleBlur(`label_${availableLang}`)}\n onKeyPress={_handleSubmitOnEnter(`label_${availableLang}`)}\n disabled={isReadOnly || !!runningFieldsSubmit.find(f => f === `label_${availableLang}`)}\n suffix={<SubmitStateNotifier state={_getFieldState(`label_${availableLang}`)} />}\n />\n </Form.Item>\n ))}\n </FieldsGroup>\n <FieldsGroup label={t('attributes.description')} key=\"attribute_description\">\n {availableLangs.map(availableLang => (\n <DescriptionFormItem\n key={`description_${availableLang}`}\n name={`description_${availableLang}`}\n label={availableLang.toLowerCase()}\n labelCol={{span: 2}}\n wrapperCol={{span: 22}}\n style={{marginBottom: '0.5rem'}}\n extra={\n <SubmitStateNotifier\n style={{position: 'absolute', top: '0.5rem', right: '0.5rem'}}\n state={_getFieldState(`description_${availableLang}`)}\n />\n }\n >\n <Input.TextArea\n aria-label={`description_${availableLang}`}\n onBlur={_handleBlur(`description_${availableLang}`)}\n onKeyDown={_handleSubmitOnEnter(`description_${availableLang}`)}\n disabled={isReadOnly}\n />\n </DescriptionFormItem>\n ))}\n </FieldsGroup>\n <Form.Item\n name=\"id\"\n key=\"id\"\n label={t('global.id')}\n validateTrigger={['onBlur', 'onChange', 'onSubmit']}\n rules={[\n {required: true, message: _getRequiredMessage('id')},\n {pattern: idFormatRegex, message: t('errors.invalid_id_format')},\n {\n validateTrigger: ['onBlur', 'onSubmit'],\n validator: _handleAttributeUniquenessValidation,\n message: t('errors.id_already_exists'),\n },\n ]}\n hasFeedback\n >\n <Input disabled={isReadOnly || isEditing} onChange={_handleIdChange} />\n </Form.Item>\n <Form.Item\n name=\"type\"\n key=\"type\"\n label={t('attributes.type')}\n validateTrigger={['onBlur', 'onChange', 'onSubmit']}\n rules={[{required: true, message: _getRequiredMessage('type')}]}\n hasFeedback\n >\n <Select options={typeSelectOptions} disabled={isReadOnly || isEditing} aria-label=\"\" />\n </Form.Item>\n {isTypeStandard && (\n <Form.Item\n name=\"format\"\n key=\"format\"\n label={t('attributes.format')}\n validateTrigger={['onBlur', 'onChange', 'onSubmit']}\n rules={[{required: true, message: _getRequiredMessage('format')}]}\n hasFeedback\n >\n <Select options={formatSelectOptions} disabled={isReadOnly || isEditing} aria-label=\"\" />\n </Form.Item>\n )}\n {isTypeLink && (\n <LinkedLibraryForm\n isReadOnly={isReadOnly}\n onChange={_handleSelectChange('linked_library')}\n extra={<SubmitStateNotifier state={_getFieldState('linked_library')} />}\n selected={form.getFieldValue('linked_library')?.id}\n />\n )}\n {isTypeTree && (\n <LinkedTreeForm\n isReadOnly={isReadOnly}\n onChange={_handleSelectChange('linked_tree')}\n extra={<SubmitStateNotifier state={_getFieldState('linked_tree')} />}\n selected={form.getFieldValue('linked_tree')?.id}\n />\n )}\n <SwitchFormItem\n name=\"readonly\"\n key=\"readonly\"\n label={t('attributes.readonly')}\n validateTrigger={['onChange', 'onSubmit']}\n valuePropName=\"checked\"\n extra={<SubmitStateNotifier state={_getFieldState('readonly')} />}\n >\n <Switch disabled={isReadOnly} onChange={_handleCheckboxChange('readonly')} />\n </SwitchFormItem>\n {form.getFieldValue('type') === AttributeType.simple && (\n <SwitchFormItem\n name=\"unique\"\n key=\"unique\"\n label={t('attributes.unique')}\n validateTrigger={['onChange', 'onSubmit']}\n valuePropName=\"checked\"\n extra={<SubmitStateNotifier state={_getFieldState('unique')} />}\n >\n <Switch disabled={isReadOnly} onChange={_handleCheckboxChange('unique')} />\n </SwitchFormItem>\n )}\n {isTypeNotSimple && (\n <SwitchFormItem\n name=\"multiple_values\"\n key=\"multiple_values\"\n label={t('attributes.multiple_values')}\n validateTrigger={['onChange', 'onSubmit']}\n valuePropName=\"checked\"\n extra={<SubmitStateNotifier state={_getFieldState('multiple_values')} />}\n >\n <Switch disabled={isReadOnly} onChange={_handleCheckboxChange('multiple_values')} />\n </SwitchFormItem>\n )}\n {isTypeNotSimple && (\n <ValuesVersionsForm\n isReadOnly={isReadOnly}\n isEditing={isEditing}\n onChange={_handleVersionsConfChange}\n extra={<SubmitStateNotifier state={_getFieldState('versions_conf')} />}\n />\n )}\n </Form>\n );\n}\n\nexport default EditAttributeInfoForm;\n"]}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
2
|
import { localizedTranslation } from '@leav/utils';
|
|
6
3
|
import { Button, Form, Space } from 'antd';
|
|
7
4
|
import { useState } from 'react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkedLibraryForm.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"LinkedLibraryForm.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AACzC,OAAO,EAAiB,QAAQ,EAAC,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAC,OAAO,EAAC,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAC,oBAAoB,EAAC,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAC,UAAU,EAAmB,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAC,aAAa,EAAC,MAAM,8BAA8B,CAAC;AAS3D,SAAS,iBAAiB,CAAC,EAAC,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAA0B;IACvF,MAAM,IAAI,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;IACpC,MAAM,aAAa,GAAG,IAAI,CAAC,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;IAC5D,MAAM,EAAC,CAAC,EAAC,G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,MAAM,EAAE,eAAe,EACvB,IAAI,EAAE,WAAW,CAAC,IAAI,EACtB,YAAY,EAAE,KAAK,EACnB,SAAS,EAAE,KAAK,GAClB,CACL,CAAC,CAAC,CAAC,CACA,CAAC,CAAC,kCAAkC,CAAC,CACxC,GACI,EACR,KAAK,EACL,mBAAmB,IAAI,CACpB,KAAC,aAAa,IACV,IAAI,EAAE,mBAAmB,EACzB,OAAO,EAAE,yBAAyB,EAClC,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EACpC,YAAY,SACd,CACL,IACG,IAjCJ,gBAAgB,CAkCZ,CACf,CAAC;AACN,CAAC;AAED,eAAe,iBAAiB,CAAC","sourcesContent":["import {localizedTranslation} from '@leav/utils';\nimport {Button, Form, Space} from 'antd';\nimport {type ReactNode, useState} from 'react';\nimport {type LibraryLightFragment} from '../../../../../../_gqlTypes';\nimport {PreviewSize} from '../../../../../../constants';\nimport {useLang} from '../../../../../../hooks';\nimport {useSharedTranslation} from '../../../../../../hooks/useSharedTranslation';\nimport {EntityCard, type IEntityData} from '../../../../../EntityCard';\nimport {LibraryPicker} from '../../../../../LibraryPicker';\n\ninterface ILinkedLibraryFormProps {\n onChange: (value: string) => void;\n extra?: ReactNode;\n isReadOnly: boolean;\n selected?: string;\n}\n\nfunction LinkedLibraryForm({onChange, isReadOnly, extra, selected}: ILinkedLibraryFormProps): JSX.Element {\n const form = Form.useFormInstance();\n const linkedLibrary = Form.useWatch('linked_library', form);\n const {t} = useSharedTranslation();\n const {lang} = useLang();\n const [isLibraryPickerOpen, setIsLibraryPickerOpen] = useState(false);\n\n const _handleOpenLibraryPicker = () => setIsLibraryPickerOpen(true);\n const _handleCloseLibraryPicker = () => setIsLibraryPickerOpen(false);\n\n const _handlePickLibrary = (selectedLibraries: LibraryLightFragment[]) => {\n const selection = selectedLibraries[0];\n form.setFieldsValue({linked_library: selection});\n _handleCloseLibraryPicker();\n onChange(selection.id);\n };\n\n const libraryIdentity: IEntityData = linkedLibrary\n ? {\n subLabel: linkedLibrary.id,\n label: localizedTranslation(linkedLibrary.label, lang),\n color: null,\n preview: null,\n }\n : null;\n\n return (\n <Form.Item\n name=\"linked_library\"\n key=\"linked_library\"\n label={t('attributes.linked_library')}\n validateTrigger={['onBlur', 'onChange', 'onSubmit']}\n hasFeedback\n >\n <Space>\n <Button\n disabled={isReadOnly}\n onClick={_handleOpenLibraryPicker}\n size={libraryIdentity ? 'large' : 'middle'}\n >\n {libraryIdentity ? (\n <EntityCard\n entity={libraryIdentity}\n size={PreviewSize.TINY}\n withSubLabel={false}\n withColor={false}\n />\n ) : (\n t('attributes.select_linked_library')\n )}\n </Button>\n {extra}\n {isLibraryPickerOpen && (\n <LibraryPicker\n open={isLibraryPickerOpen}\n onClose={_handleCloseLibraryPicker}\n onSubmit={_handlePickLibrary}\n multiple={false}\n selected={selected ? [selected] : []}\n showSelected\n />\n )}\n </Space>\n </Form.Item>\n );\n}\n\nexport default LinkedLibraryForm;\n"]}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
2
|
-
// This file is released under LGPL V3
|
|
3
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
1
|
export { default as LinkedLibraryForm } from './LinkedLibraryForm';
|
|
5
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,qBAAqB,CAAC","sourcesContent":["export {default as LinkedLibraryForm} from './LinkedLibraryForm';\n"]}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
2
|
import { localizedTranslation } from '@leav/utils';
|
|
6
3
|
import { Button, Form, Space } from 'antd';
|
|
7
4
|
import { useState } from 'react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkedTreeForm.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"LinkedTreeForm.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AACzC,OAAO,EAAiB,QAAQ,EAAC,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAC,OAAO,EAAC,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAC,oBAAoB,EAAC,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAC,UAAU,EAAmB,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AASrD,SAAS,c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,CAAC,EACnD,WAAW,kBAEX,MAAC,KAAK,eACF,KAAC,MAAM,IAAC,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,qBAAqB,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,YAChG,YAAY,CAAC,CAAC,CAAC,CACZ,KAAC,UAAU,IACP,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,WAAW,CAAC,IAAI,EACtB,YAAY,EAAE,KAAK,EACnB,SAAS,EAAE,KAAK,GAClB,CACL,CAAC,CAAC,CAAC,CACA,CAAC,CAAC,+BAA+B,CAAC,CACrC,GACI,EACR,KAAK,EACL,gBAAgB,IAAI,CACjB,KAAC,UAAU,IACP,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,sBAAsB,EAC/B,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EACpC,YAAY,SACd,CACL,IACG,IA7BJ,aAAa,CA8BT,CACf,CAAC;AACN,CAAC;AAED,eAAe,cAAc,CAAC","sourcesContent":["import {localizedTranslation} from '@leav/utils';\nimport {Button, Form, Space} from 'antd';\nimport {type ReactNode, useState} from 'react';\nimport {type TreeLightFragment} from '../../../../../../_gqlTypes';\nimport {PreviewSize} from '../../../../../../constants';\nimport {useLang} from '../../../../../../hooks';\nimport {useSharedTranslation} from '../../../../../../hooks/useSharedTranslation';\nimport {EntityCard, type IEntityData} from '../../../../../EntityCard';\nimport {TreePicker} from '../../../../../TreePicker';\n\ninterface ILinkedTreeFormProps {\n onChange: (value: string) => Promise<void>;\n extra?: ReactNode;\n isReadOnly: boolean;\n selected?: string;\n}\n\nfunction LinkedTreeForm({onChange, isReadOnly, extra, selected}: ILinkedTreeFormProps): JSX.Element {\n const form = Form.useFormInstance();\n const linkedTree = Form.useWatch('linked_tree', form);\n const {t} = useSharedTranslation();\n const {lang} = useLang();\n const [isTreePickerOpen, setIsTreePickerOpen] = useState(false);\n\n const _handleOpenTreePicker = () => setIsTreePickerOpen(true);\n const _handleCloseTreePicker = () => setIsTreePickerOpen(false);\n\n const _handlePickTree = async (selectedTrees: TreeLightFragment[]) => {\n const selection = selectedTrees[0];\n form.setFieldsValue({linked_tree: selection});\n _handleCloseTreePicker();\n onChange(selection.id);\n };\n\n const treeIdentity: IEntityData | null = linkedTree\n ? {\n subLabel: linkedTree.id,\n label: localizedTranslation(linkedTree.label, lang),\n color: null,\n preview: null,\n }\n : null;\n\n return (\n <Form.Item\n name=\"linked_tree\"\n key=\"linked_tree\"\n label={t('attributes.linked_tree')}\n validateTrigger={['onBlur', 'onChange', 'onSubmit']}\n hasFeedback\n >\n <Space>\n <Button disabled={isReadOnly} onClick={_handleOpenTreePicker} size={treeIdentity ? 'large' : 'middle'}>\n {treeIdentity ? (\n <EntityCard\n entity={treeIdentity}\n size={PreviewSize.TINY}\n withSubLabel={false}\n withColor={false}\n />\n ) : (\n t('attributes.select_linked_tree')\n )}\n </Button>\n {extra}\n {isTreePickerOpen && (\n <TreePicker\n open={isTreePickerOpen}\n onClose={_handleCloseTreePicker}\n onSubmit={_handlePickTree}\n multiple={false}\n selected={selected ? [selected] : []}\n showSelected\n />\n )}\n </Space>\n </Form.Item>\n );\n}\n\nexport default LinkedTreeForm;\n"]}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
2
|
-
// This file is released under LGPL V3
|
|
3
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
1
|
export { default as LinkedTreeForm } from './LinkedTreeForm';
|
|
5
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,cAAc,EAAC,MAAM,kBAAkB,CAAC","sourcesContent":["export {default as LinkedTreeForm} from './LinkedTreeForm';\n"]}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
2
|
import { localizedTranslation } from '@leav/utils';
|
|
6
3
|
import { Form, Select, Space, Switch } from 'antd';
|
|
7
4
|
import { ValueVersionMode, useGetVersionProfilesQuery } from '../../../../../../_gqlTypes';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValuesVersionsForm.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"ValuesVersionsForm.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAC,MAAM,MAAM,CAAC;AAEjD,OAAO,EAAC,gBAAgB,EAAE,0BAA0B,EAAC,MAAM,6BAA6B,CAAC;AACzF,OAAO,EAAC,O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1B,QAAQ,EAAE,UAAU,gBACT,EAAE,GACf,IATE,eAAe,CAUX,IACb,CACN,GACF,CACN,KA9C+B,2BAA2B,CA+CjD,CACjB,CAAC;AACN,CAAC;AAED,eAAe,kBAAkB,CAAC","sourcesContent":["import {localizedTranslation} from '@leav/utils';\nimport {Form, Select, Space, Switch} from 'antd';\nimport {type ReactNode} from 'react';\nimport {ValueVersionMode, useGetVersionProfilesQuery} from '../../../../../../_gqlTypes';\nimport {useLang} from '../../../../../../hooks';\nimport {useSharedTranslation} from '../../../../../../hooks/useSharedTranslation';\nimport FieldsGroup from '../../../../../FieldsGroup';\nimport {Loading} from '../../../../../Loading';\n\ninterface IValuesVersionsFormProps {\n onChange: (field: string | string[], value: string | boolean) => void;\n isReadOnly: boolean;\n isEditing: boolean;\n extra?: ReactNode;\n}\n\nfunction ValuesVersionsForm({isReadOnly, onChange, extra}: IValuesVersionsFormProps): JSX.Element {\n const form = Form.useFormInstance();\n const {t} = useSharedTranslation();\n const {lang} = useLang();\n const isVersionable = Form.useWatch(['versions_conf', 'versionable'], form);\n\n const {\n loading: profilesLoading,\n error: profilesError,\n data: profilesData,\n } = useGetVersionProfilesQuery({\n skip: !isVersionable,\n });\n\n const modeSelectOptions = Object.values(ValueVersionMode).map(mode => ({\n key: mode,\n label: t(`attributes.versions_mode_${mode}`),\n value: mode,\n }));\n\n const profilesSelectOptions = (profilesData?.versionProfiles?.list ?? []).map(profile => ({\n key: profile.id,\n label: localizedTranslation(profile.label, lang),\n value: profile.id,\n }));\n\n const _handleChange = (value: string | boolean) => {\n onChange('versions_conf', value);\n };\n\n const groupLabel = (\n <Space>\n {t('attributes.values_versions')}\n {extra}\n </Space>\n );\n\n return (\n <FieldsGroup label={groupLabel} key=\"attribute_values_versions\">\n <Form.Item\n name={['versions_conf', 'versionable']}\n key=\"versions_versionable\"\n label={t('attributes.versionable')}\n validateTrigger={['onChange', 'onSubmit']}\n valuePropName=\"checked\"\n >\n <Switch disabled={isReadOnly} onChange={_handleChange} />\n </Form.Item>\n {isVersionable && (\n <>\n {profilesLoading ? (\n <Loading />\n ) : (\n <>\n <Form.Item\n name={['versions_conf', 'profile']}\n key=\"versions_profile\"\n label={t('attributes.versions_profile')}\n validateTrigger={['onBlur', 'onChange', 'onSubmit']}\n >\n <Select\n onChange={_handleChange}\n options={profilesSelectOptions}\n disabled={isReadOnly}\n allowClear\n aria-label=\"\"\n />\n </Form.Item>\n <Form.Item\n name={['versions_conf', 'mode']}\n key=\"versions_mode\"\n label={t('attributes.versions_mode')}\n validateTrigger={['onBlur', 'onChange', 'onSubmit']}\n >\n <Select\n onChange={_handleChange}\n options={modeSelectOptions}\n disabled={isReadOnly}\n aria-label=\"\"\n />\n </Form.Item>\n </>\n )}\n </>\n )}\n </FieldsGroup>\n );\n}\n\nexport default ValuesVersionsForm;\n"]}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
2
|
-
// This file is released under LGPL V3
|
|
3
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
1
|
export { default as ValuesVersionsForm } from './ValuesVersionsForm';
|
|
5
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,kBAAkB,EAAC,MAAM,sBAAsB,CAAC","sourcesContent":["export {default as ValuesVersionsForm} from './ValuesVersionsForm';\n"]}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
2
|
-
// This file is released under LGPL V3
|
|
3
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
1
|
export { default as EditAttributeInfoForm } from './EditAttributeInfoForm';
|
|
5
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,yBAAyB,CAAC","sourcesContent":["export {default as EditAttributeInfoForm} from './EditAttributeInfoForm';\n"]}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
2
|
-
// This file is released under LGPL V3
|
|
3
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
1
|
export { default as EditAttributeInfo } from './EditAttributeInfo';
|
|
5
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,qBAAqB,CAAC","sourcesContent":["export {default as EditAttributeInfo} from './EditAttributeInfo';\n"]}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
2
|
-
// This file is released under LGPL V3
|
|
3
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
1
|
export { default as EditAttribute } from './EditAttribute';
|
|
5
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/EditAttributeModal/EditAttribute/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/EditAttributeModal/EditAttribute/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC","sourcesContent":["export {default as EditAttribute} from './EditAttribute';\n"]}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
2
|
// Copyright LEAV Solutions 2017
|
|
6
3
|
// This file is released under LGPL V3
|
|
7
4
|
import { gql, useApolloClient } from '@apollo/client';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditAttributeModal.js","sourceRoot":"","sources":["../../../src/components/EditAttributeModal/EditAttributeModal.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,gCAAgC;AAChC,sCAAsC;AAEtC,OAAO,EAAC,GAAG,EAAE,eAAe,EAAC,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,MAAM,EAAE,KAAK,EAAmB,UAAU,EAAC,MAAM,MAAM,CAAC;AAChE,OAAO,EAAC,QAAQ,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B,CAAC,IADf,QAAQ,CAEX,IATL,gBAAgB,CAUX,CAChB,CAAC,CAAC,CAAC,IAAI;YACR,KAAC,MAAM,IAAa,OAAO,EAAE,OAAO,YAC/B,CAAC,CAAC,cAAc,CAAC,IADV,OAAO,CAEV;SACZ;QACH,CAAC,CAAC;YACI,KAAC,MAAM,IAAc,OAAO,EAAE,OAAO,YAChC,CAAC,CAAC,eAAe,CAAC,IADX,QAAQ,CAEX;YACT,KAAC,MAAM,IAAc,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,YAC7E,CAAC,CAAC,eAAe,CAAC,IADX,QAAQ,CAEX;SACZ,CAAC;IAER,OAAO,CACH,KAAC,KAAK,IACF,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,cAAc,EACrB,KAAK,EAAE,KAAK,IAAI,GAAG,EACnB,MAAM,EAAE,OAAO,EACf,QAAQ,EAAE,OAAO,EACjB,MAAM,EAAE,EAAC,IAAI,EAAE,EAAC,MAAM,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,EAAC,EAAC,EAChE,QAAQ,kBAEP,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC,CAC5B,KAAC,OAAO,KAAG,CACd,CAAC,CAAC,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,CAAC,CAC7B,KAAC,YAAY,IAAC,OAAO,EAAE,oBAAoB,CAAC,KAAK,CAAC,OAAO,GAAI,CAChE,CAAC,CAAC,CAAC,CACA,KAAC,aAAa,IACV,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,wBAAwB,EAC7C,QAAQ,EAAE,UAAU,GACtB,CACL,GACG,CACX,CAAC;AACN,CAAC;AAED,eAAe,kBAAkB,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\n// Copyright LEAV Solutions 2017\n// This file is released under LGPL V3\n\nimport {gql, useApolloClient} from '@apollo/client';\nimport {localizedTranslation} from '@leav/utils';\nimport {Button, Modal, type ModalProps, Popconfirm} from 'antd';\nimport {useState} from 'react';\nimport {\n type AttributeDetailsFragment,\n PermissionsActions,\n PermissionTypes,\n useDeleteAttributeMutation,\n useIsAllowedQuery,\n} from '_ui/_gqlTypes';\nimport {useLang} from '../../hooks';\nimport {useSharedTranslation} from '../../hooks/useSharedTranslation';\nimport {extractPermissionFromQuery} from '../../_utils';\nimport {ErrorDisplay} from '../ErrorDisplay';\nimport {Loading} from '../Loading';\nimport EditAttribute from './EditAttribute/EditAttribute';\n\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\ninterface IEditAttributeModalModalProps {\n attributeId?: string;\n open: boolean;\n onPostCreate?: (attribute: AttributeDetailsFragment) => Promise<void>;\n onClose?: () => void;\n width?: ModalProps['width'];\n}\n\nfunction EditAttributeModal({\n open,\n attributeId,\n onClose,\n onPostCreate,\n width,\n}: IEditAttributeModalModalProps): JSX.Element {\n const {t} = useSharedTranslation();\n const {lang} = useLang();\n const apolloClient = useApolloClient();\n\n const isAllowedQueryResult = useIsAllowedQuery({\n fetchPolicy: 'cache-and-network',\n variables: {\n type: PermissionTypes.admin,\n actions: [PermissionsActions.admin_edit_attribute, PermissionsActions.admin_delete_attribute],\n },\n });\n const isReadOnly = !extractPermissionFromQuery(isAllowedQueryResult, PermissionsActions.admin_edit_attribute);\n const canDelete = extractPermissionFromQuery(isAllowedQueryResult, PermissionsActions.admin_delete_attribute);\n\n const [deleteAttribute] = useDeleteAttributeMutation();\n\n const [submitFunction, setSubmitFunction] = useState<() => Promise<AttributeDetailsFragment>>();\n const [submitLoading, setSubmitLoading] = useState(false);\n const isEditing = !!attributeId;\n\n const _handleSubmit = async () => {\n if (!submitFunction) {\n return;\n }\n setSubmitLoading(true);\n try {\n const savedAttribute = await submitFunction();\n await onPostCreate(savedAttribute);\n onClose();\n } catch (e) {\n console.error(e);\n } finally {\n setSubmitLoading(false);\n }\n };\n\n const _handleDelete = async () => {\n if (!attributeId) {\n return;\n }\n\n const deleteRes = await deleteAttribute({\n variables: {\n id: attributeId,\n },\n });\n\n // Remove library from apollo cache\n apolloClient.cache.evict({\n id: apolloClient.cache.identify(deleteRes.data.deleteAttribute),\n });\n\n onClose();\n };\n\n const _handleSetSubmitFunction = submitFunc => {\n setSubmitFunction(() => submitFunc);\n };\n\n let attributeLabel = t('attributes.new_attribute');\n\n if (isEditing) {\n // Try to find attribute in Apollo cache to get label\n const cacheIdentifyStd = apolloClient.cache.identify({__typename: 'StandardAttribute', id: attributeId});\n const cacheIdentifyLink = apolloClient.cache.identify({__typename: 'LinkAttribute', id: attributeId});\n const cacheIdentifyTree = apolloClient.cache.identify({__typename: 'TreeAttribute', id: attributeId});\n const fragment = gql`\n fragment AttributeLabel on Attribute {\n label\n }\n `;\n\n const cacheFragment = isEditing\n ? apolloClient.readFragment({id: cacheIdentifyStd, fragment}) ||\n apolloClient.readFragment({id: cacheIdentifyLink, fragment}) ||\n apolloClient.readFragment({id: cacheIdentifyTree, fragment}) ||\n null\n : null;\n\n // Get application label from apollo cache if present\n attributeLabel = cacheFragment ? localizedTranslation(cacheFragment.label, lang) : '';\n }\n\n const buttons = isEditing\n ? [\n canDelete ? (\n <Popconfirm\n key=\"delete_confirm\"\n title={t('attributes.delete_confirm')}\n description={t('attributes.delete_confirm_warning')}\n okText={t('global.submit')}\n cancelText={t('global.cancel')}\n onConfirm={_handleDelete}\n >\n <Button key=\"delete\" danger>\n {t('attributes.delete')}\n </Button>\n </Popconfirm>\n ) : null,\n <Button key=\"close\" onClick={onClose}>\n {t('global.close')}\n </Button>,\n ]\n : [\n <Button key=\"cancel\" onClick={onClose}>\n {t('global.cancel')}\n </Button>,\n <Button key=\"submit\" type=\"primary\" onClick={_handleSubmit} loading={submitLoading}>\n {t('global.submit')}\n </Button>,\n ];\n\n return (\n <Modal\n open={open}\n title={attributeLabel}\n width={width ?? 800}\n footer={buttons}\n onCancel={onClose}\n styles={{body: {height: 'calc(95vh - 15rem)', overflow: 'auto'}}}\n centered\n >\n {isAllowedQueryResult.loading ? (\n <Loading />\n ) : isAllowedQueryResult.error ? (\n <ErrorDisplay message={isAllowedQueryResult.error.message} />\n ) : (\n <EditAttribute\n attributeId={attributeId}\n onSetSubmitFunction={_handleSetSubmitFunction}\n readOnly={isReadOnly}\n />\n )}\n </Modal>\n );\n}\n\nexport default EditAttributeModal;\n"]}
|
|
1
|
+
{"version":3,"file":"EditAttributeModal.js","sourceRoot":"","sources":["../../../src/components/EditAttributeModal/EditAttributeModal.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AAEtC,OAAO,EAAC,GAAG,EAAE,eAAe,EAAC,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,MAAM,EAAE,KAAK,EAAmB,UAAU,EAAC,MAAM,MAAM,CAAC;AAChE,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEH,kBAAkB,EAClB,eAAe,EACf,0BAA0B,EAC1B,iBAAiB,GACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,oBAAoB,EAAC,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAC,0BAA0B,EAAC,MAAM,cAAc,CAAC;AACxD,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AACnC,OAAO,aAAa,MAAM,+BAA+B,CAAC;AAW1D,SAAS,kBAAkB,CAAC,EACxB,IAAI,EACJ,WAAW,EACX,OAAO,EACP,YAAY,EACZ,KAAK,GACuB;IAC5B,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,IAAI,EAAC,GAAG,OAAO,EA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E,EAAC,IAAI,EAAE,EAAC,MAAM,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,EAAC,EAAC,EAChE,QAAQ,kBAEP,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC,CAC5B,KAAC,OAAO,KAAG,CACd,CAAC,CAAC,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,CAAC,CAC7B,KAAC,YAAY,IAAC,OAAO,EAAE,oBAAoB,CAAC,KAAK,CAAC,OAAO,GAAI,CAChE,CAAC,CAAC,CAAC,CACA,KAAC,aAAa,IACV,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,wBAAwB,EAC7C,QAAQ,EAAE,UAAU,GACtB,CACL,GACG,CACX,CAAC;AACN,CAAC;AAED,eAAe,kBAAkB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017\n// This file is released under LGPL V3\n\nimport {gql, useApolloClient} from '@apollo/client';\nimport {localizedTranslation} from '@leav/utils';\nimport {Button, Modal, type ModalProps, Popconfirm} from 'antd';\nimport {useState} from 'react';\nimport {\n type AttributeDetailsFragment,\n PermissionsActions,\n PermissionTypes,\n useDeleteAttributeMutation,\n useIsAllowedQuery,\n} from '_ui/_gqlTypes';\nimport {useLang} from '../../hooks';\nimport {useSharedTranslation} from '../../hooks/useSharedTranslation';\nimport {extractPermissionFromQuery} from '../../_utils';\nimport {ErrorDisplay} from '../ErrorDisplay';\nimport {Loading} from '../Loading';\nimport EditAttribute from './EditAttribute/EditAttribute';\n\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\ninterface IEditAttributeModalModalProps {\n attributeId?: string;\n open: boolean;\n onPostCreate?: (attribute: AttributeDetailsFragment) => Promise<void>;\n onClose?: () => void;\n width?: ModalProps['width'];\n}\n\nfunction EditAttributeModal({\n open,\n attributeId,\n onClose,\n onPostCreate,\n width,\n}: IEditAttributeModalModalProps): JSX.Element {\n const {t} = useSharedTranslation();\n const {lang} = useLang();\n const apolloClient = useApolloClient();\n\n const isAllowedQueryResult = useIsAllowedQuery({\n fetchPolicy: 'cache-and-network',\n variables: {\n type: PermissionTypes.admin,\n actions: [PermissionsActions.admin_edit_attribute, PermissionsActions.admin_delete_attribute],\n },\n });\n const isReadOnly = !extractPermissionFromQuery(isAllowedQueryResult, PermissionsActions.admin_edit_attribute);\n const canDelete = extractPermissionFromQuery(isAllowedQueryResult, PermissionsActions.admin_delete_attribute);\n\n const [deleteAttribute] = useDeleteAttributeMutation();\n\n const [submitFunction, setSubmitFunction] = useState<() => Promise<AttributeDetailsFragment>>();\n const [submitLoading, setSubmitLoading] = useState(false);\n const isEditing = !!attributeId;\n\n const _handleSubmit = async () => {\n if (!submitFunction) {\n return;\n }\n setSubmitLoading(true);\n try {\n const savedAttribute = await submitFunction();\n await onPostCreate(savedAttribute);\n onClose();\n } catch (e) {\n console.error(e);\n } finally {\n setSubmitLoading(false);\n }\n };\n\n const _handleDelete = async () => {\n if (!attributeId) {\n return;\n }\n\n const deleteRes = await deleteAttribute({\n variables: {\n id: attributeId,\n },\n });\n\n // Remove library from apollo cache\n apolloClient.cache.evict({\n id: apolloClient.cache.identify(deleteRes.data.deleteAttribute),\n });\n\n onClose();\n };\n\n const _handleSetSubmitFunction = submitFunc => {\n setSubmitFunction(() => submitFunc);\n };\n\n let attributeLabel = t('attributes.new_attribute');\n\n if (isEditing) {\n // Try to find attribute in Apollo cache to get label\n const cacheIdentifyStd = apolloClient.cache.identify({__typename: 'StandardAttribute', id: attributeId});\n const cacheIdentifyLink = apolloClient.cache.identify({__typename: 'LinkAttribute', id: attributeId});\n const cacheIdentifyTree = apolloClient.cache.identify({__typename: 'TreeAttribute', id: attributeId});\n const fragment = gql`\n fragment AttributeLabel on Attribute {\n label\n }\n `;\n\n const cacheFragment = isEditing\n ? apolloClient.readFragment({id: cacheIdentifyStd, fragment}) ||\n apolloClient.readFragment({id: cacheIdentifyLink, fragment}) ||\n apolloClient.readFragment({id: cacheIdentifyTree, fragment}) ||\n null\n : null;\n\n // Get application label from apollo cache if present\n attributeLabel = cacheFragment ? localizedTranslation(cacheFragment.label, lang) : '';\n }\n\n const buttons = isEditing\n ? [\n canDelete ? (\n <Popconfirm\n key=\"delete_confirm\"\n title={t('attributes.delete_confirm')}\n description={t('attributes.delete_confirm_warning')}\n okText={t('global.submit')}\n cancelText={t('global.cancel')}\n onConfirm={_handleDelete}\n >\n <Button key=\"delete\" danger>\n {t('attributes.delete')}\n </Button>\n </Popconfirm>\n ) : null,\n <Button key=\"close\" onClick={onClose}>\n {t('global.close')}\n </Button>,\n ]\n : [\n <Button key=\"cancel\" onClick={onClose}>\n {t('global.cancel')}\n </Button>,\n <Button key=\"submit\" type=\"primary\" onClick={_handleSubmit} loading={submitLoading}>\n {t('global.submit')}\n </Button>,\n ];\n\n return (\n <Modal\n open={open}\n title={attributeLabel}\n width={width ?? 800}\n footer={buttons}\n onCancel={onClose}\n styles={{body: {height: 'calc(95vh - 15rem)', overflow: 'auto'}}}\n centered\n >\n {isAllowedQueryResult.loading ? (\n <Loading />\n ) : isAllowedQueryResult.error ? (\n <ErrorDisplay message={isAllowedQueryResult.error.message} />\n ) : (\n <EditAttribute\n attributeId={attributeId}\n onSetSubmitFunction={_handleSetSubmitFunction}\n readOnly={isReadOnly}\n />\n )}\n </Modal>\n );\n}\n\nexport default EditAttributeModal;\n"]}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
2
|
-
// This file is released under LGPL V3
|
|
3
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
1
|
export { default as EditAttributeModal } from './EditAttributeModal';
|
|
5
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/EditAttributeModal/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/EditAttributeModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,kBAAkB,EAAC,MAAM,sBAAsB,CAAC","sourcesContent":["export {default as EditAttributeModal} from './EditAttributeModal';\n"]}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
2
|
import { Tabs } from 'antd';
|
|
6
3
|
import styled from 'styled-components';
|
|
7
4
|
import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditLibrary.js","sourceRoot":"","sources":["../../../../src/components/EditLibraryModal/EditLibrary/EditLibrary.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"EditLibrary.js","sourceRoot":"","sources":["../../../../src/components/EditLibraryModal/EditLibrary/EditLibrary.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAuB,MAAM,MAAM,CAAC;AAChD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAC,eAAe,EAA4B,sBAAsB,EAAC,MAAM,oBAAoB,CAAC;AACrG,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AACtC,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,2BAA2B,EAAC,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAC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,EAAE,KAAC,iBAAiB,cAAE,eAAe,GAAqB;SACrE;QACD;YACI,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,CAAC,CAAC,sBAAsB,CAAC;YAChC,QAAQ,EAAE,CACN,KAAC,iBAAiB,cACd,KAAC,qBAAqB,IAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,GAAI,GACrD,CACvB;SACJ;QACD;YACI,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,CACH,2BACK,CAAC,CAAC,cAAc,IAAI,KAAC,eAAe,IAAC,IAAI,SAAG,EAC5C,CAAC,CAAC,sBAAsB,CAAC,IACvB,CACV;YACD,QAAQ,EAAE,CACN,KAAC,iBAAiB,cACd,KAAC,qBAAqB,IAClB,OAAO,EAAE,WAAW,EACpB,cAAc,EAAE,cAAc,EAC9B,QAAQ,EAAE,UAAU,GACtB,GACc,CACvB;SACJ;KACJ,CAAC;IAEF,IAAI,SAAS,IAAI,WAAW,CAAC,QAAQ,KAAK,eAAe,CAAC,KAAK,EAAE,CAAC;QAC9D,IAAI,CAAC,IAAI,CAAC;YACN,GAAG,EAAE,mBAAmB;YACxB,KAAK,EAAE,CAAC,CAAC,mCAAmC,CAAC;YAC7C,QAAQ,EAAE,CACN,KAAC,iBAAiB,cACd,KAAC,2BAA2B,IAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,GAAI,GAC3D,CACvB;SACJ,CAAC,CAAC;IACP,CAAC;IAED,OAAO,KAAC,IAAI,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC;AACjC,CAAC;AAED,eAAe,WAAW,CAAC","sourcesContent":["import {Tabs, type TabsProps, Spin} from 'antd';\nimport styled from 'styled-components';\nimport {useSharedTranslation} from '../../../hooks/useSharedTranslation';\nimport {LibraryBehavior, type SaveLibraryMutation, useGetLibraryByIdQuery} from '../../../_gqlTypes';\nimport {ErrorDisplay} from '../../ErrorDisplay';\nimport {Loading} from '../../Loading';\nimport {EditLibraryAttributes} from './EditLibraryAttributes';\nimport {EditLibraryInfo} from './EditLibraryInfo';\nimport {EditLibraryPreviewsSettings} from './EditLibraryPreviewsSettings';\nimport {EditLibraryIndexation} from './EditLibraryIndexation';\nimport {LoadingOutlined} from '@ant-design/icons';\n\ninterface IEditLibraryProps {\n libraryId?: string;\n onSetSubmitFunction?: (submitFunction: () => Promise<SaveLibraryMutation['saveLibrary']>) => void;\n readOnly?: boolean;\n indexationTask?: string;\n}\n\nconst TabContentWrapper = styled.div`\n height: calc(95vh - 15rem);\n overflow-y: auto;\n`;\n\nfunction EditLibrary({\n libraryId,\n onSetSubmitFunction,\n readOnly: isReadOnly,\n indexationTask,\n}: IEditLibraryProps): JSX.Element {\n const {t} = useSharedTranslation();\n const isEditing = !!libraryId;\n\n const {loading, error, data} = useGetLibraryByIdQuery({\n fetchPolicy: 'cache-and-network',\n variables: {\n id: libraryId,\n },\n skip: !libraryId,\n });\n\n if (loading) {\n return <Loading />;\n }\n\n if (error) {\n return <ErrorDisplay message={error.message} />;\n }\n\n const libraryData = data?.libraries?.list[0] ?? null;\n const libraryInfoComp = (\n <EditLibraryInfo library={libraryData} onSetSubmitFunction={onSetSubmitFunction} readOnly={isReadOnly} />\n );\n\n // If creating new library, return the form directly\n if (!isEditing) {\n return libraryInfoComp;\n }\n\n if (!libraryData) {\n return <ErrorDisplay message={t('libraries.unknown_library')} />;\n }\n\n const tabs: TabsProps['items'] = [\n {\n key: 'info',\n label: t('libraries.info'),\n children: <TabContentWrapper>{libraryInfoComp}</TabContentWrapper>,\n },\n {\n key: 'attributes',\n label: t('libraries.attributes'),\n children: (\n <TabContentWrapper>\n <EditLibraryAttributes library={libraryData} readOnly={isReadOnly} />\n </TabContentWrapper>\n ),\n },\n {\n key: 'Indexation',\n label: (\n <span>\n {!!indexationTask && <LoadingOutlined spin />}\n {t('libraries.indexation')}\n </span>\n ),\n children: (\n <TabContentWrapper>\n <EditLibraryIndexation\n library={libraryData}\n indexationTask={indexationTask}\n readOnly={isReadOnly}\n />\n </TabContentWrapper>\n ),\n },\n ];\n\n if (isEditing && libraryData.behavior === LibraryBehavior.files) {\n tabs.push({\n key: 'previews_settings',\n label: t('libraries.previews_settings.title'),\n children: (\n <TabContentWrapper>\n <EditLibraryPreviewsSettings library={libraryData} readOnly={isReadOnly} />\n </TabContentWrapper>\n ),\n });\n }\n\n return <Tabs items={tabs} />;\n}\n\nexport default EditLibrary;\n"]}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
2
|
import { ExpandAltOutlined } from '@ant-design/icons';
|
|
6
3
|
import { useState } from 'react';
|
|
7
4
|
import styled from 'styled-components';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributeCell.js","sourceRoot":"","sources":["../../../../../../../src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"AttributeCell.js","sourceRoot":"","sources":["../../../../../../../src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAC,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAC,UAAU,EAAmB,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AAGzD,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;CAQzB,CAAC;AAMF,SAAS,aAAa,CAAC,EAAC,SAAS,EAAsB;IACnD,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9D,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC5D,MAAM,qBAAqB,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;IAE9D,MAAM,iBAAiB,GAAgB;QACnC,KAAK,EAAE,SAAS,CAAC,KAAK;QACtB,QAAQ,EAAE,SAAS,CAAC,EAAE;QACtB,OAAO,EAAE,IAAI;QACb,KAAK,EAAE,IAAI;KACd,CAAC;IAEF,MAAM,WAAW,GAAG;QAChB;YACI,KAAK,EAAE,CAAC,CAAC,iBAAiB,CAAC;YAC3B,IAAI,EAAE,KAAC,iBAAiB,KAAG;YAC3B,OAAO,EAAE,oBAAoB;SAChC;KACJ,CAAC;IAEF,OAAO,CACH,MAAC,OAAO,eACJ,KAAC,UAAU,IAAC,MAAM,EAAE,iBAAiB,EAAE,IAAI,EAAE,WAAW,CAAC,KAAK,GAAI,EAClE,KAAC,YAAY,IAAC,OAAO,EAAE,WAAW,GAAI,EACrC,eAAe,IAAI,CAChB,KAAC,kBAAkB,IAAC,WAAW,EAAE,SAAS,CAAC,EAAE,EAAE,OAAO,EAAE,qBAAqB,EAAE,IAAI,EAAE,eAAe,GAAI,CAC3G,IACK,CACb,CAAC;AACN,CAAC;AAED,eAAe,aAAa,CAAC","sourcesContent":["import {ExpandAltOutlined} from '@ant-design/icons';\nimport {useState} from 'react';\nimport styled from 'styled-components';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {PreviewSize} from '../../../../../../constants';\nimport {EditAttributeModal} from '../../../../../EditAttributeModal';\nimport {EntityCard, type IEntityData} from '../../../../../EntityCard';\nimport {FloatingMenu} from '../../../../../FloatingMenu';\nimport {type AttributeListType} from '../AttributesList';\n\nconst Wrapper = styled.div`\n .floating-menu {\n display: none;\n }\n\n &:hover .floating-menu {\n display: block;\n }\n`;\n\ninterface IAttributeCellProps {\n attribute: AttributeListType;\n}\n\nfunction AttributeCell({attribute}: IAttributeCellProps): JSX.Element {\n const {t} = useSharedTranslation();\n const [isEditModalOpen, setIsEditModalOpen] = useState(false);\n\n const _handleOpenEditModal = () => setIsEditModalOpen(true);\n const _handleCloseEditModal = () => setIsEditModalOpen(false);\n\n const attributeIdentity: IEntityData = {\n label: attribute.label,\n subLabel: attribute.id,\n preview: null,\n color: null,\n };\n\n const menuActions = [\n {\n label: t('attributes.edit'),\n icon: <ExpandAltOutlined />,\n onClick: _handleOpenEditModal,\n },\n ];\n\n return (\n <Wrapper>\n <EntityCard entity={attributeIdentity} size={PreviewSize.SMALL} />\n <FloatingMenu actions={menuActions} />\n {isEditModalOpen && (\n <EditAttributeModal attributeId={attribute.id} onClose={_handleCloseEditModal} open={isEditModalOpen} />\n )}\n </Wrapper>\n );\n}\n\nexport default AttributeCell;\n"]}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
2
|
-
// This file is released under LGPL V3
|
|
3
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
1
|
export { default as AttributeCell } from './AttributeCell';
|
|
5
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC","sourcesContent":["export {default as AttributeCell} from './AttributeCell';\n"]}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
2
|
import { PlusOutlined, SearchOutlined } from '@ant-design/icons';
|
|
6
3
|
import { localizedTranslation } from '@leav/utils';
|
|
7
4
|
import { Table } from 'antd';
|