@leav/ui 1.4.1-e108e817 → 1.4.1-e9a7d5f9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__mocks__/common/application.js +4 -4
- package/dist/__mocks__/common/application.js.map +1 -1
- package/dist/__mocks__/common/attribute.js +34 -34
- package/dist/__mocks__/common/attribute.js.map +1 -1
- package/dist/__mocks__/common/filter.js +4 -4
- package/dist/__mocks__/common/filter.js.map +1 -1
- package/dist/__mocks__/common/form.js +58 -58
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/__mocks__/common/import.js +5 -5
- package/dist/__mocks__/common/import.js.map +1 -1
- package/dist/__mocks__/common/label.js +1 -1
- package/dist/__mocks__/common/label.js.map +1 -1
- package/dist/__mocks__/common/library.js +25 -25
- package/dist/__mocks__/common/library.js.map +1 -1
- package/dist/__mocks__/common/mockSearchContextProvider.js +1 -1
- package/dist/__mocks__/common/mockSearchContextProvider.js.map +1 -1
- package/dist/__mocks__/common/record.js +3 -3
- package/dist/__mocks__/common/record.js.map +1 -1
- package/dist/__mocks__/common/tree.js +7 -7
- package/dist/__mocks__/common/tree.js.map +1 -1
- package/dist/__mocks__/common/treeElements.js +14 -14
- package/dist/__mocks__/common/treeElements.js.map +1 -1
- package/dist/__mocks__/common/value.js +6 -6
- package/dist/__mocks__/common/value.js.map +1 -1
- package/dist/__mocks__/common/versionProfile.js +1 -1
- package/dist/__mocks__/common/versionProfile.js.map +1 -1
- package/dist/__mocks__/common/view.js +5 -5
- package/dist/__mocks__/common/view.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +10 -10
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +5 -5
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +12 -12
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
- package/dist/__mocks__/react-i18next.js +6 -6
- package/dist/__mocks__/react-i18next.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +0 -5
- package/dist/_gqlTypes/index.js +2 -8
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/applications/applicationDetailsFragment.js.map +1 -1
- package/dist/_queries/applications/checkApplicationExistence.js.map +1 -1
- package/dist/_queries/applications/getApplicationDetails.js.map +1 -1
- package/dist/_queries/applications/getApplicationsModulesQuery.js.map +1 -1
- package/dist/_queries/applications/saveApplicationMutation.js.map +1 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
- package/dist/_queries/attributes/checkAttributeExistenceQuery.js.map +1 -1
- package/dist/_queries/attributes/deleteAttributeMutation.js.map +1 -1
- package/dist/_queries/attributes/getAttributeByIdQuery.js.map +1 -1
- package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js.map +1 -1
- package/dist/_queries/attributes/getAttributesByLib.js.map +1 -1
- package/dist/_queries/attributes/getAttributesQuery.js.map +1 -1
- package/dist/_queries/attributes/getVersionProfilesQuery.js.map +1 -1
- package/dist/_queries/attributes/getVersionableAttributesByLibrary.js.map +1 -1
- package/dist/_queries/attributes/saveAttributeMutation.js.map +1 -1
- package/dist/_queries/export/exportQuery.js +2 -2
- package/dist/_queries/export/exportQuery.js.map +1 -1
- package/dist/_queries/files/createDirectory.js.map +1 -1
- package/dist/_queries/files/forcePreviewsGenerationMutation.js.map +1 -1
- package/dist/_queries/files/getDirectoryDataQuery.js.map +1 -1
- package/dist/_queries/files/getUploadUpdates.js.map +1 -1
- package/dist/_queries/files/uploadMutation.js.map +1 -1
- package/dist/_queries/import/importExcel.js.map +1 -1
- package/dist/_queries/libraries/checkLibraryExistenceQuery.js.map +1 -1
- package/dist/_queries/libraries/deleteLibraryMutation.js.map +1 -1
- package/dist/_queries/libraries/getLibrariesQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryByIdQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryPermissionsQuery.js.map +1 -1
- package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js.map +1 -1
- package/dist/_queries/libraries/libraryDetailsFragment.js.map +1 -1
- package/dist/_queries/libraries/saveLibraryMutation.js.map +1 -1
- package/dist/_queries/permissions/isAllowedQuery.js.map +1 -1
- package/dist/_queries/records/activateRecordsMutation.js.map +1 -1
- package/dist/_queries/records/createRecordMutation.js.map +1 -1
- package/dist/_queries/records/deactivateRecordsMutation.js.map +1 -1
- package/dist/_queries/records/doesFileExistAsChild.js.map +1 -1
- package/dist/_queries/records/getFileDataQuery.js.map +1 -1
- package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/records/getRecordPropertiesQuery.js +1 -1
- package/dist/_queries/records/getRecordPropertiesQuery.js.map +1 -1
- package/dist/_queries/records/getRecordUpdatesSubscription.js.map +1 -1
- package/dist/_queries/records/getRecordsFromLibraryQuery.js.map +1 -1
- package/dist/_queries/records/indexRecordsMutation.js.map +1 -1
- package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
- package/dist/_queries/tasks/cancelTaskMutation.js.map +1 -1
- package/dist/_queries/trees/checkTreeExistenceQuery.js.map +1 -1
- package/dist/_queries/trees/deleteTreeMutation.js.map +1 -1
- package/dist/_queries/trees/getTreeByIdQuery.js.map +1 -1
- package/dist/_queries/trees/getTreeLibraries.js.map +1 -1
- package/dist/_queries/trees/getTreesQuery.js.map +1 -1
- package/dist/_queries/trees/saveTreeMutation.js.map +1 -1
- package/dist/_queries/trees/treeDetailsFragment.js.map +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/_queries/userData/getUserData.js.map +1 -1
- package/dist/_queries/userData/saveUserData.js.map +1 -1
- package/dist/_queries/values/deleteValueMutation.js.map +1 -1
- package/dist/_queries/values/saveValueBatchMutation.js.map +1 -1
- package/dist/_queries/values/valueDetailsFragment.js.map +1 -1
- package/dist/_queries/values/valuesVersionFragment.js.map +1 -1
- package/dist/_queries/views/deleteViewMutation.js.map +1 -1
- package/dist/_queries/views/getViewById.js.map +1 -1
- package/dist/_queries/views/getViewsListQuery.js.map +1 -1
- package/dist/_queries/views/saveViewMutation.js.map +1 -1
- package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
- package/dist/_utils/__mocks__/isDevEnv.js.map +1 -1
- package/dist/_utils/attributeType.js.map +1 -1
- package/dist/_utils/getFiltersFromRequest.js +9 -9
- package/dist/_utils/getFiltersFromRequest.js.map +1 -1
- package/dist/_utils/getRequestFromFilter.js +5 -5
- package/dist/_utils/getRequestFromFilter.js.map +1 -1
- package/dist/_utils/index.js +10 -10
- package/dist/_utils/index.js.map +1 -1
- package/dist/_utils/interleaveElement.js.map +1 -1
- package/dist/_utils/isDevEnv.js.map +1 -1
- package/dist/_utils/typeguards.js.map +1 -1
- package/dist/antdTheme/index.js +6 -6
- package/dist/antdTheme/index.js.map +1 -1
- package/dist/antdTheme/types.js.map +1 -1
- package/dist/components/AttributePicker/AttributePicker.d.ts +1 -1
- package/dist/components/AttributePicker/AttributePicker.js +1 -1
- package/dist/components/AttributePicker/AttributePicker.js.map +1 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +1 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.js +29 -29
- package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/AttributePicker/AttributesList/index.js.map +1 -1
- package/dist/components/AttributePicker/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/Attribute/Attribute.js +2 -2
- package/dist/components/AttributesSelectionList/Attribute/Attribute.js.map +1 -1
- package/dist/components/AttributesSelectionList/Attribute/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +1 -1
- package/dist/components/AttributesSelectionList/AttributesSelectionList.js +6 -6
- package/dist/components/AttributesSelectionList/AttributesSelectionList.js.map +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js.map +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js.map +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/_types.js.map +1 -1
- package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js +1 -1
- package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js.map +1 -1
- package/dist/components/AttributesSelectionList/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js +1 -1
- package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js.map +1 -1
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js +3 -3
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js.map +1 -1
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js +1 -1
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js.map +1 -1
- package/dist/components/AttributesSelectionList/sharedComponents.js.map +1 -1
- package/dist/components/BasicButton/BasicButton.js.map +1 -1
- package/dist/components/BasicButton/index.js.map +1 -1
- package/dist/components/CreateDirectory/CreateDirectory.js +15 -15
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/CreateDirectory/index.js.map +1 -1
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +1 -1
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js +3 -3
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js.map +1 -1
- package/dist/components/DeactivateRecordsModal/index.js.map +1 -1
- package/dist/components/Dimmer/Dimmer.js.map +1 -1
- package/dist/components/Dimmer/index.js.map +1 -1
- package/dist/components/EditApplication/EditApplication.d.ts +1 -1
- package/dist/components/EditApplication/EditApplication.js +5 -5
- package/dist/components/EditApplication/EditApplication.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +18 -18
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +13 -13
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/index.js.map +1 -1
- package/dist/components/EditApplication/_types.js.map +1 -1
- package/dist/components/EditApplication/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +4 -4
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +20 -20
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +12 -12
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js +4 -4
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/index.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.js +9 -9
- package/dist/components/EditAttributeModal/EditAttributeModal.js.map +1 -1
- package/dist/components/EditAttributeModal/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +8 -8
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +3 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +20 -20
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js +6 -6
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js +9 -9
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js +19 -19
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +18 -18
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js +6 -6
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +7 -7
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js +13 -13
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +10 -10
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/index.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.js +11 -11
- package/dist/components/EditLibraryModal/EditLibraryModal.js.map +1 -1
- package/dist/components/EditLibraryModal/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTree.js +4 -4
- package/dist/components/EditTreeModal/EditTree/EditTree.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +20 -20
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +8 -8
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +9 -9
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/index.js.map +1 -1
- package/dist/components/EditTreeModal/EditTreeModal.js +8 -8
- package/dist/components/EditTreeModal/EditTreeModal.js.map +1 -1
- package/dist/components/EditTreeModal/index.js.map +1 -1
- package/dist/components/EntityCard/EntityCard.d.ts +1 -1
- package/dist/components/EntityCard/EntityCard.js +2 -2
- package/dist/components/EntityCard/EntityCard.js.map +1 -1
- package/dist/components/EntityCard/_types.js.map +1 -1
- package/dist/components/EntityCard/index.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreview.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +2 -2
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/index.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/index.js.map +1 -1
- package/dist/components/EntityPreview/_types.js.map +1 -1
- package/dist/components/EntityPreview/index.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js.map +1 -1
- package/dist/components/ErrorBoundary/index.js.map +1 -1
- package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +1 -1
- package/dist/components/ErrorDisplay/ErrorDisplay.js +5 -5
- package/dist/components/ErrorDisplay/ErrorDisplay.js.map +1 -1
- package/dist/components/ErrorDisplay/index.js.map +1 -1
- package/dist/components/ErrorMessage/ErrorMessage.js.map +1 -1
- package/dist/components/ErrorMessage/index.js.map +1 -1
- package/dist/components/Explorer/DataView.js +8 -8
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +1 -1
- package/dist/components/Explorer/Explorer.js +19 -19
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -1
- package/dist/components/Explorer/ExplorerTitle.js +3 -3
- package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/Explorer/IdCard.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +11 -11
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/TableNameCell.js +4 -4
- package/dist/components/Explorer/TableNameCell.js.map +1 -1
- package/dist/components/Explorer/TableTagGroup.js.map +1 -1
- package/dist/components/Explorer/_constants.js +2 -2
- package/dist/components/Explorer/_constants.js.map +1 -1
- package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js +2 -2
- package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js +19 -19
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.d.ts +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +28 -28
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +3 -3
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +13 -13
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +12 -12
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.js +13 -13
- package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js +13 -13
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +2 -2
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -13
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -3
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/usePrimaryActions.d.ts +1 -1
- package/dist/components/Explorer/actions-primary/usePrimaryActions.js +3 -3
- package/dist/components/Explorer/actions-primary/usePrimaryActions.js.map +1 -1
- package/dist/components/Explorer/conditionsHelper.js +1 -1
- package/dist/components/Explorer/conditionsHelper.js.map +1 -1
- package/dist/components/Explorer/index.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.js +11 -11
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/link-item/useAddLinkMassAction.d.ts +1 -1
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js +5 -5
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -1
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +1 -1
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +5 -5
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -1
- package/dist/components/Explorer/list-saved-views/SavedViews.js +3 -3
- package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +2 -2
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +5 -5
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +2 -2
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +3 -3
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +13 -13
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/index.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +2 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +3 -3
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +2 -2
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +6 -6
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +7 -7
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +3 -3
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +5 -5
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +6 -6
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +8 -8
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +18 -18
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +2 -2
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +4 -4
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +23 -23
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useColumnWidth.js +2 -2
- package/dist/components/Explorer/useColumnWidth.js.map +1 -1
- package/dist/components/Explorer/useLoadView.js +11 -11
- package/dist/components/Explorer/useLoadView.js.map +1 -1
- package/dist/components/Explorer/usePagination.js +3 -3
- package/dist/components/Explorer/usePagination.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.d.ts +1 -1
- package/dist/components/Explorer/useSearchInput.js +3 -3
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.js +23 -23
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/FieldsGroup/FieldsGroup.js.map +1 -1
- package/dist/components/FieldsGroup/index.js.map +1 -1
- package/dist/components/Filters/FiltersProvider.js.map +1 -1
- package/dist/components/Filters/_types.js +1 -1
- package/dist/components/Filters/_types.js.map +1 -1
- package/dist/components/Filters/conditionsHelper.js +1 -1
- package/dist/components/Filters/conditionsHelper.js.map +1 -1
- package/dist/components/Filters/context/filtersContext.js +1 -1
- package/dist/components/Filters/context/filtersContext.js.map +1 -1
- package/dist/components/Filters/context/filtersInitialState.js +1 -1
- package/dist/components/Filters/context/filtersInitialState.js.map +1 -1
- package/dist/components/Filters/context/filtersReducer.js +16 -16
- package/dist/components/Filters/context/filtersReducer.js.map +1 -1
- package/dist/components/Filters/context/useFiltersReducer.d.ts +1 -1
- package/dist/components/Filters/context/useFiltersReducer.js +9 -9
- package/dist/components/Filters/context/useFiltersReducer.js.map +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.js +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js +6 -6
- package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js +3 -3
- package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +5 -5
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +3 -3
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +7 -7
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js +7 -7
- package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +2 -2
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/_types.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js +14 -14
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Filters/index.js.map +1 -1
- package/dist/components/Filters/prepareFiltersForRequest.js +22 -22
- package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Filters/useFilters.js +4 -4
- package/dist/components/Filters/useFilters.js.map +1 -1
- package/dist/components/Filters/useFiltersContext.js.map +1 -1
- package/dist/components/Filters/useTransformFilters.d.ts +1 -1
- package/dist/components/Filters/useTransformFilters.js +17 -17
- package/dist/components/Filters/useTransformFilters.js.map +1 -1
- package/dist/components/FloatingMenu/FloatingMenu.js +2 -2
- package/dist/components/FloatingMenu/FloatingMenu.js.map +1 -1
- package/dist/components/FloatingMenu/_types.js.map +1 -1
- package/dist/components/FloatingMenu/index.js.map +1 -1
- package/dist/components/ImageLoading/ImageLoading.js.map +1 -1
- package/dist/components/ImageLoading/index.js.map +1 -1
- package/dist/components/ImageMissing/ImageMissing.js +1 -1
- package/dist/components/ImageMissing/ImageMissing.js.map +1 -1
- package/dist/components/ImageMissing/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModal.js +16 -16
- package/dist/components/ImportModal/ImportModal.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +14 -14
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +7 -7
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalDoneStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalProcessingStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +7 -7
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/index.js.map +1 -1
- package/dist/components/ImportModal/_types.js.map +1 -1
- package/dist/components/ImportModal/importReducer/ImportReducerContext.js +1 -1
- package/dist/components/ImportModal/importReducer/ImportReducerContext.js.map +1 -1
- package/dist/components/ImportModal/importReducer/importReducer.js +15 -15
- package/dist/components/ImportModal/importReducer/importReducer.js.map +1 -1
- package/dist/components/ImportModal/importReducer/index.js.map +1 -1
- package/dist/components/ImportModal/index.js.map +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/index.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +9 -9
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayOptions/index.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +22 -22
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +13 -13
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +4 -4
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/filterUtils.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +3 -3
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +15 -15
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +7 -7
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js.map +1 -1
- package/dist/components/LibraryItemsList/IconViewType/IconViewType.js.map +1 -1
- package/dist/components/LibraryItemsList/IconViewType/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsList.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsList.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +15 -15
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +7 -7
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/types.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +6 -6
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +12 -12
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +7 -7
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemList/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +8 -21
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +11 -11
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +9 -9
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuSelection/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.js +20 -20
- package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuView/index.js.map +1 -1
- package/dist/components/LibraryItemsList/SearchItems/SearchItems.js.map +1 -1
- package/dist/components/LibraryItemsList/SearchItems/index.js.map +1 -1
- package/dist/components/LibraryItemsList/Sidebar/Sidebar.js.map +1 -1
- package/dist/components/LibraryItemsList/Sidebar/index.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +5 -5
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/index.js.map +1 -1
- package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +2 -2
- package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js.map +1 -1
- package/dist/components/LibraryItemsList/VersionsPanel/index.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +5 -5
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js +8 -8
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/index.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +8 -8
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/index.js.map +1 -1
- package/dist/components/LibraryItemsList/constants.js +1 -1
- package/dist/components/LibraryItemsList/constants.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +4 -4
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +2 -2
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +6 -6
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +18 -18
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +9 -9
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js.map +1 -1
- package/dist/components/LibraryItemsList/index.js.map +1 -1
- package/dist/components/LibraryItemsList/manageItems.js +1 -1
- package/dist/components/LibraryItemsList/manageItems.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +2 -2
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/sharedUtils.js.map +1 -1
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +1 -1
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +13 -13
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
- package/dist/components/LibraryPicker/LibrariesList/index.js.map +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.d.ts +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.js +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.js.map +1 -1
- package/dist/components/LibraryPicker/index.js.map +1 -1
- package/dist/components/List/List.js +1 -1
- package/dist/components/List/List.js.map +1 -1
- package/dist/components/List/index.js.map +1 -1
- package/dist/components/Loading/Loading.js.map +1 -1
- package/dist/components/Loading/index.js.map +1 -1
- package/dist/components/Notifications/InitNotificationsSubscription.js.map +1 -1
- package/dist/components/Notifications/hooks/useNotificationSubscription.js +2 -2
- package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -1
- package/dist/components/Notifications/index.js.map +1 -1
- package/dist/components/RecordCard/RecordCard.d.ts +1 -1
- package/dist/components/RecordCard/RecordCard.js +3 -3
- package/dist/components/RecordCard/RecordCard.js.map +1 -1
- package/dist/components/RecordCard/_types.js.map +1 -1
- package/dist/components/RecordCard/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +16 -17
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +7 -7
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/getActiveFieldValues.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/isCurrentVersion.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js +6 -6
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js +19 -19
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js +7 -7
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +6 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js +12 -12
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +15 -15
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +8 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +9 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +7 -7
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +19 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +6 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +8 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +4 -4
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js +1 -1
- package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +3 -3
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/AttributeSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +9 -9
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +6 -6
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +4 -4
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +16 -16
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +3 -3
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSkeleton/index.js.map +1 -1
- package/dist/components/RecordEdition/_types.js.map +1 -1
- package/dist/components/RecordEdition/constants.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +10 -10
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/index.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistory.js +2 -2
- package/dist/components/RecordHistory/RecordHistory.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistoryGoUpButton.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
- package/dist/components/RecordHistory/_types.js.map +1 -1
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.d.ts +1 -1
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +8 -8
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
- package/dist/components/RecordHistory/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +8 -8
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +2 -2
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/_constants.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +1 -1
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/index.js.map +1 -1
- package/dist/components/SearchModal/SearchModal.js +1 -1
- package/dist/components/SearchModal/SearchModal.js.map +1 -1
- package/dist/components/SearchModal/index.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +12 -12
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/index.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +1 -0
- package/dist/components/SelectTreeNode/SelectTreeNode.js +3 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +1 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +11 -11
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -1
- package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +1 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +2 -2
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
- package/dist/components/SelectTreeNode/_types.js.map +1 -1
- package/dist/components/SelectTreeNode/index.js.map +1 -1
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js +3 -3
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -1
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -1
- package/dist/components/ShowMore/ShowMore.js.map +1 -1
- package/dist/components/ShowMore/index.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/index.js.map +1 -1
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js.map +1 -1
- package/dist/components/SubmitStateNotifier/_types.js.map +1 -1
- package/dist/components/SubmitStateNotifier/index.js.map +1 -1
- package/dist/components/TreePicker/TreePicker.d.ts +1 -1
- package/dist/components/TreePicker/TreePicker.js +1 -1
- package/dist/components/TreePicker/TreePicker.js.map +1 -1
- package/dist/components/TreePicker/TreesList/TreesList.js +12 -12
- package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
- package/dist/components/TreePicker/TreesList/index.js.map +1 -1
- package/dist/components/TreePicker/index.js.map +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +7 -7
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/index.js.map +1 -1
- package/dist/components/UploadFiles/UploadFiles.d.ts +1 -1
- package/dist/components/UploadFiles/UploadFiles.js +25 -25
- package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
- package/dist/components/UploadFiles/index.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +1 -1
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +3 -3
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/index.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/index.js.map +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +0 -1
- package/dist/components/index.js.map +1 -1
- package/dist/constants.js +2 -2
- package/dist/constants.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js +2 -2
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/index.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js.map +1 -1
- package/dist/contexts/LangContext/LangContext.js.map +1 -1
- package/dist/contexts/LangContext/index.js.map +1 -1
- package/dist/contexts/LangContext/types.js.map +1 -1
- package/dist/contexts/UserContext/UserContext.js.map +1 -1
- package/dist/contexts/UserContext/index.js.map +1 -1
- package/dist/contexts/UserContext/types.js.map +1 -1
- package/dist/contexts/index.js.map +1 -1
- package/dist/gqlFragments/index.js.map +1 -1
- package/dist/gqlFragments/recordIdentityFragment.js.map +1 -1
- package/dist/gqlPossibleTypes/index.js +1 -1
- package/dist/gqlPossibleTypes/index.js.map +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useAntdLocale/index.js.map +1 -1
- package/dist/hooks/useAntdLocale/useAntdLocale.js +1 -1
- package/dist/hooks/useAntdLocale/useAntdLocale.js.map +1 -1
- package/dist/hooks/useAppLang/index.js.map +1 -1
- package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
- package/dist/hooks/useAuth/index.js.map +1 -1
- package/dist/hooks/useAuth/useAuth.js +1 -1
- package/dist/hooks/useAuth/useAuth.js.map +1 -1
- package/dist/hooks/useCanEditRecord/index.js.map +1 -1
- package/dist/hooks/useCanEditRecord/useCanEditRecord.js +8 -8
- package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
- package/dist/hooks/useDebouncedValue/index.js.map +1 -1
- package/dist/hooks/useDebouncedValue/useDebouncedValue.js.map +1 -1
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +3 -3
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js.map +1 -1
- package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -1
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js +8 -8
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -1
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +3 -3
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js.map +1 -1
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +3 -3
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js.map +1 -1
- package/dist/hooks/useGetRecordForm/index.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +11 -11
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/index.js.map +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js.map +1 -1
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +5 -5
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +4 -4
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +3 -0
- package/dist/hooks/useIFrameMessenger/schema.js +11 -10
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +2 -2
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -1
- package/dist/hooks/useLang/__mocks__/index.js.map +1 -1
- package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
- package/dist/hooks/useLang/__mocks__/useLang.js.map +1 -1
- package/dist/hooks/useLang/index.js.map +1 -1
- package/dist/hooks/useLang/useLang.js.map +1 -1
- package/dist/hooks/useLibraryVersionTrees/index.js.map +1 -1
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +1 -1
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js.map +1 -1
- package/dist/hooks/useLocalStorage/index.js.map +1 -1
- package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -1
- package/dist/hooks/useLoginChecker/index.js.map +1 -1
- package/dist/hooks/useLoginChecker/useLoginChecker.js +2 -2
- package/dist/hooks/useLoginChecker/useLoginChecker.js.map +1 -1
- package/dist/hooks/useRecordsConsultationHistory/index.js.map +1 -1
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +3 -3
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js.map +1 -1
- package/dist/hooks/useRedirectToLogin/index.js.map +1 -1
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
- package/dist/hooks/useRefreshFieldValues/index.js.map +1 -1
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +8 -8
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
- package/dist/hooks/useSharedTranslation/__mocks__/index.js.map +1 -1
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
- package/dist/hooks/useSharedTranslation/index.js.map +1 -1
- package/dist/hooks/useSharedTranslation/useSharedTranslation.js +3 -3
- package/dist/hooks/useSharedTranslation/useSharedTranslation.js.map +1 -1
- package/dist/hooks/useUser/index.js.map +1 -1
- package/dist/hooks/useUser/useUser.js.map +1 -1
- package/dist/hooks/useValuesCacheUpdate/index.js.map +1 -1
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +2 -2
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +1 -1
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js.map +1 -1
- package/dist/testing/MockedLangContextProvider/index.js.map +1 -1
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +3 -3
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js.map +1 -1
- package/dist/testing/MockedUserContextProvider/index.js.map +1 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/types/attributes.js.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/misc.js.map +1 -1
- package/dist/types/records.js.map +1 -1
- package/dist/types/scalars.js.map +1 -1
- package/dist/types/search.js +2 -2
- package/dist/types/search.js.map +1 -1
- package/dist/types/trees.js.map +1 -1
- package/dist/types/values.js.map +1 -1
- package/dist/types/views.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/ExportModal/ExportModal.d.ts +0 -10
- package/dist/components/ExportModal/ExportModal.js +0 -123
- package/dist/components/ExportModal/ExportModal.js.map +0 -1
- package/dist/components/ExportModal/index.d.ts +0 -1
- package/dist/components/ExportModal/index.js +0 -5
- package/dist/components/ExportModal/index.js.map +0 -1
|
@@ -10,7 +10,7 @@ import styled from 'styled-components';
|
|
|
10
10
|
import { themeVars } from '../../../antdTheme';
|
|
11
11
|
import { useLang } from '../../../hooks';
|
|
12
12
|
import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
|
|
13
|
-
import { AttributeType, ImportType } from '../../../_gqlTypes';
|
|
13
|
+
import { AttributeType, ImportType, } from '../../../_gqlTypes';
|
|
14
14
|
import { ImportReducerActionTypes } from '../importReducer/importReducer';
|
|
15
15
|
import { useImportReducerContext } from '../importReducer/ImportReducerContext';
|
|
16
16
|
import ImportKeysSelector from './ImportKeysSelector';
|
|
@@ -42,14 +42,14 @@ function ImportModalConfigStep({ libraries, onGetAttributes }) {
|
|
|
42
42
|
attributes: attrs,
|
|
43
43
|
mapping: [],
|
|
44
44
|
linkAttribute: null,
|
|
45
|
-
keyToAttributes: null
|
|
45
|
+
keyToAttributes: null,
|
|
46
46
|
});
|
|
47
47
|
};
|
|
48
48
|
const _handleImportTypeSelect = (sheetIndex, type) => {
|
|
49
49
|
_changeSheetProperty(sheetIndex, {
|
|
50
50
|
type,
|
|
51
51
|
linkAttribute: null,
|
|
52
|
-
keyToAttributes: null
|
|
52
|
+
keyToAttributes: null,
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
55
|
const _handleImportModeSelect = (sheetIndex, mode) => {
|
|
@@ -77,7 +77,7 @@ function ImportModalConfigStep({ libraries, onGetAttributes }) {
|
|
|
77
77
|
.includes(sheet.treeLinkLibrary)
|
|
78
78
|
? sheet.treeLinkLibrary
|
|
79
79
|
: null
|
|
80
|
-
: null
|
|
80
|
+
: null,
|
|
81
81
|
});
|
|
82
82
|
};
|
|
83
83
|
const _handleMappingSelect = (sheetIndex, selectedMappingIndex, attributeId) => {
|
|
@@ -130,32 +130,32 @@ function ImportModalConfigStep({ libraries, onGetAttributes }) {
|
|
|
130
130
|
verticalAlign: 'top',
|
|
131
131
|
background: rowIndex === displayedRows.length // Set background color on last row (= mapping row)
|
|
132
132
|
? themeVars.secondaryBg
|
|
133
|
-
: themeVars.defaultBg
|
|
134
|
-
}
|
|
133
|
+
: themeVars.defaultBg,
|
|
134
|
+
},
|
|
135
135
|
});
|
|
136
136
|
const selectKeyOptions = [
|
|
137
137
|
{
|
|
138
138
|
value: KeysValues.IMPORT,
|
|
139
|
-
label: (_jsxs(_Fragment, { children: [_jsx(KeyOutlined, {}), " ", t('import.import_key')] }))
|
|
140
|
-
}
|
|
139
|
+
label: (_jsxs(_Fragment, { children: [_jsx(KeyOutlined, {}), " ", t('import.import_key')] })),
|
|
140
|
+
},
|
|
141
141
|
];
|
|
142
142
|
if (sheet.type === ImportType.LINK) {
|
|
143
143
|
selectKeyOptions.push({
|
|
144
144
|
value: KeysValues.LINK,
|
|
145
|
-
label: (_jsxs(_Fragment, { children: [_jsx(LinkOutlined, {}), " ", t('import.link_key')] }))
|
|
145
|
+
label: (_jsxs(_Fragment, { children: [_jsx(LinkOutlined, {}), " ", t('import.link_key')] })),
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
const sheetColumns = Object.keys(sheet.data[0]).map((col, index) => ({
|
|
149
149
|
title: col,
|
|
150
150
|
dataIndex: col,
|
|
151
151
|
onCell: _setStyleOnMappingRow,
|
|
152
|
-
render: value => (_jsx(KitTypography.AdvancedParagraph, { ellipsis: { rows: 2 }, children: value }))
|
|
152
|
+
render: value => (_jsx(KitTypography.AdvancedParagraph, { ellipsis: { rows: 2 }, children: value })),
|
|
153
153
|
}));
|
|
154
154
|
sheetColumns.unshift({
|
|
155
155
|
title: _jsx(_Fragment, {}),
|
|
156
156
|
dataIndex: '__root',
|
|
157
157
|
onCell: _setStyleOnMappingRow,
|
|
158
|
-
width: '250px'
|
|
158
|
+
width: '250px',
|
|
159
159
|
});
|
|
160
160
|
const sheetData = displayedRows.map((row, index) => ({ ...row, key: index }));
|
|
161
161
|
// Mapping row
|
|
@@ -169,11 +169,11 @@ function ImportModalConfigStep({ libraries, onGetAttributes }) {
|
|
|
169
169
|
: (sheet?.attributes ?? []).filter(a => a?.type === AttributeType.simple || a?.type === AttributeType.advanced)).map(a => ({
|
|
170
170
|
value: a.id,
|
|
171
171
|
key: a.id,
|
|
172
|
-
label: localizedTranslation(a.label, lang) || a.id
|
|
172
|
+
label: localizedTranslation(a.label, lang) || a.id,
|
|
173
173
|
}));
|
|
174
174
|
allCols[col] = (_jsxs(Space, { direction: "vertical", style: { width: '100%' }, children: [_jsx(KitSelect, { style: { width: '100%' }, placeholder: t('import.do_not_import'), value: sheet.mapping?.[idx], allowClear: true, onClear: () => _handleMappingSelect(sheetIndex, idx, null), onSelect: id => _handleMappingSelect(sheetIndex, idx, id), options: attributeSelectOptions }), _jsx(ImportKeysSelector, { sheet: sheet, columnIndex: idx, onChange: _handleSelectKey(idx) })] }));
|
|
175
175
|
return allCols;
|
|
176
|
-
}, {})
|
|
176
|
+
}, {}),
|
|
177
177
|
};
|
|
178
178
|
sheetData.push(mappingRow);
|
|
179
179
|
}
|
|
@@ -181,7 +181,7 @@ function ImportModalConfigStep({ libraries, onGetAttributes }) {
|
|
|
181
181
|
label: sheet.name,
|
|
182
182
|
key: String(sheetIndex),
|
|
183
183
|
icon: isSheetIgnored ? _jsx(WarningOutlined, { style: { color: themeVars.errorColor } }) : undefined,
|
|
184
|
-
tabContent: (_jsxs(SheetWrapper, { children: [_jsx(ImportSheetSettings, { sheetIndex: sheetIndex, libraries: libraries, onLibrarySelect: _handleLibrarySelect, onImportTypeSelect: _handleImportTypeSelect, onImportModeSelect: _handleImportModeSelect, onLinkAttributeSelect: _handleLinkAttributeSelect, onTreeLinkLibrarySelect: _handleTreeLinkLibrarySelect }), !isSheetIgnored && (_jsx(Table, { title: () => _jsx(Typography.Title, { level: 5, children: t('import.data_overview') }), columns: sheetColumns, dataSource: sheetData, size: "small", tableLayout: "auto", pagination: { hideOnSinglePage: true }, style: { width: '100%', overflow: 'auto' } }))] }))
|
|
184
|
+
tabContent: (_jsxs(SheetWrapper, { children: [_jsx(ImportSheetSettings, { sheetIndex: sheetIndex, libraries: libraries, onLibrarySelect: _handleLibrarySelect, onImportTypeSelect: _handleImportTypeSelect, onImportModeSelect: _handleImportModeSelect, onLinkAttributeSelect: _handleLinkAttributeSelect, onTreeLinkLibrarySelect: _handleTreeLinkLibrarySelect }), !isSheetIgnored && (_jsx(Table, { title: () => _jsx(Typography.Title, { level: 5, children: t('import.data_overview') }), columns: sheetColumns, dataSource: sheetData, size: "small", tableLayout: "auto", pagination: { hideOnSinglePage: true }, style: { width: '100%', overflow: 'auto' } }))] })),
|
|
185
185
|
};
|
|
186
186
|
});
|
|
187
187
|
return _jsx(KitTabs, { items: tabItems });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportModalConfigStep.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,WAAW,EAAE,YAAY,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,KAAK,EAAE,KAAK,EAAE,UAAU,EAAC,MAAM,MAAM,CAAC;AAE9C,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAC7D,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAIH,aAAa,EAEb,UAAU,EAEb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,wBAAwB,EAAC,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAE9E,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAOxD,IAAK,UAGJ;AAHD,WAAK,UAAU;IACX,mCAAqB,CAAA;IACrB,+BAAiB,CAAA;AACrB,CAAC,EAHI,UAAU,KAAV,UAAU,QAGd;AAED,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAA;;;;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AAY,EACrB,UAAU,EAAE,SAAS,EACrB,IAAI,EAAC,OAAO,EACZ,WAAW,EAAC,MAAM,EAClB,UAAU,EAAE,EAAC,gBAAgB,EAAE,IAAI,EAAC,EACpC,KAAK,EAAE,EAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAC,GAC1C,CACL,IACU,CAClB;SACJ,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,OAAO,KAAC,OAAO,IAAC,KAAK,EAAE,QAAQ,GAAI,CAAC;AACxC,CAAC;AAED,eAAe,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ImportModalConfigStep.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,WAAW,EAAE,YAAY,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,KAAK,EAAE,KAAK,EAAE,UAAU,EAAC,MAAM,MAAM,CAAC;AAE9C,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAC7D,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAIH,aAAa,EAEb,UAAU,GAEb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,wBAAwB,EAAC,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAE9E,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;A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uBAAuB,EAAE,4BAA4B,GACvD,EACD,CAAC,cAAc,IAAI,CAChB,KAAC,KAAK,IACF,KAAK,EAAE,GAAG,EAAE,CAAC,KAAC,UAAU,CAAC,KAAK,IAAC,KAAK,EAAE,CAAC,YAAG,CAAC,CAAC,sBAAsB,CAAC,GAAoB,EACvF,OAAO,EAAE,YAAY,EACrB,UAAU,EAAE,SAAS,EACrB,IAAI,EAAC,OAAO,EACZ,WAAW,EAAC,MAAM,EAClB,UAAU,EAAE,EAAC,gBAAgB,EAAE,IAAI,EAAC,EACpC,KAAK,EAAE,EAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAC,GAC1C,CACL,IACU,CAClB;SACJ,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,OAAO,KAAC,OAAO,IAAC,KAAK,EAAE,QAAQ,GAAI,CAAC;AACxC,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 {KeyOutlined, LinkOutlined, WarningOutlined} from '@ant-design/icons';\nimport {localizedTranslation} from '@leav/utils';\nimport {Space, Table, Typography} from 'antd';\nimport {type ColumnsType} from 'antd/lib/table';\nimport {KitSelect, KitTabs, KitTypography} from 'aristid-ds';\nimport styled from 'styled-components';\nimport {themeVars} from '_ui/antdTheme';\nimport {useLang} from '_ui/hooks';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {\n type AttributesByLibAttributeFragment,\n type AttributesByLibAttributeLinkAttributeFragment,\n type AttributesByLibAttributeTreeAttributeFragment,\n AttributeType,\n type ImportMode,\n ImportType,\n type LibraryLightFragment,\n} from '_ui/_gqlTypes';\nimport {ImportReducerActionTypes} from '../importReducer/importReducer';\nimport {useImportReducerContext} from '../importReducer/ImportReducerContext';\nimport {type ISheet} from '../_types';\nimport ImportKeysSelector from './ImportKeysSelector';\nimport ImportMappingRowTitle from './ImportMappingRowTitle';\nimport ImportSheetSettings from './ImportSheetSettings';\n\ninterface IImportModalConfigStepProps {\n libraries: LibraryLightFragment[];\n onGetAttributes: (library: string) => Promise<AttributesByLibAttributeFragment[]>;\n}\n\nenum KeysValues {\n IMPORT = 'import_key',\n LINK = 'link_key',\n}\n\nconst SheetWrapper = styled.div`\n width: 100%;\n display: flex;\n flex-direction: column;\n`;\n\nfunction ImportModalConfigStep({libraries, onGetAttributes}: IImportModalConfigStepProps): JSX.Element {\n const {lang} = useLang();\n const {t} = useSharedTranslation();\n const {state, dispatch} = useImportReducerContext();\n const {sheets} = state;\n\n const _changeSheetProperty = (sheetIndex: number, values: Partial<ISheet>) => {\n sheets[sheetIndex] = {...sheets[sheetIndex], ...values};\n dispatch({type: ImportReducerActionTypes.SET_SHEETS, sheets: [...sheets]});\n };\n\n const _handleLibrarySelect = async (sheetIndex: number, lib: string) => {\n const attrs = await onGetAttributes(lib);\n\n _changeSheetProperty(sheetIndex, {\n library: lib,\n attributes: attrs,\n mapping: [],\n linkAttribute: null,\n keyToAttributes: null,\n });\n };\n\n const _handleImportTypeSelect = (sheetIndex: number, type: ImportType) => {\n _changeSheetProperty(sheetIndex, {\n type,\n linkAttribute: null,\n keyToAttributes: null,\n });\n };\n\n const _handleImportModeSelect = (sheetIndex: number, mode: ImportMode) => {\n _changeSheetProperty(sheetIndex, {mode});\n };\n\n const _handleLinkAttributeSelect = async (sheetIndex: number, linkAttribute: string) => {\n const sheet = sheets[sheetIndex];\n const linkAttributeProps = sheet.attributes.find(a => a.id === linkAttribute) as\n | AttributesByLibAttributeLinkAttributeFragment\n | AttributesByLibAttributeTreeAttributeFragment;\n\n const library =\n linkAttributeProps.type === AttributeType.tree\n ? sheet.treeLinkLibrary\n : (linkAttributeProps as AttributesByLibAttributeLinkAttributeFragment)?.linked_library?.id;\n\n let keyToAttributes = [];\n if (library) {\n keyToAttributes = await onGetAttributes(library);\n }\n\n const mapping = sheet.mapping;\n\n _changeSheetProperty(sheetIndex, {\n linkAttribute,\n linkAttributeProps,\n mapping,\n keyToAttributes,\n treeLinkLibrary:\n linkAttributeProps.type === AttributeType.tree\n ? (linkAttributeProps as AttributesByLibAttributeTreeAttributeFragment).linked_tree.libraries\n .map(l => l.library.id)\n .includes(sheet.treeLinkLibrary)\n ? sheet.treeLinkLibrary\n : null\n : null,\n });\n };\n\n const _handleMappingSelect = (sheetIndex: number, selectedMappingIndex: number, attributeId: string | null) => {\n const sheet = sheets[sheetIndex];\n let mapping = [...sheet.mapping];\n mapping[selectedMappingIndex] = attributeId;\n\n // Prevent mapping the same attribute twice\n // We may have the same attribute twice only if one is used as \"keyTo\". Otherwise, it's forbidden\n mapping = mapping.map((mappingAttribute, columnIndex) => {\n if (\n columnIndex !== selectedMappingIndex &&\n mappingAttribute === attributeId &&\n sheet.keyToColumnIndex !== columnIndex &&\n sheet.keyToColumnIndex !== selectedMappingIndex\n ) {\n return null;\n }\n\n return mappingAttribute;\n });\n\n _changeSheetProperty(sheetIndex, {mapping});\n };\n\n //TODO: fix import selectors width?\n\n const _handleTreeLinkLibrarySelect = async (sheetIndex: number, treeLinkLibrary: string) => {\n const keyToAttributes = treeLinkLibrary ? await onGetAttributes(treeLinkLibrary) : null;\n _changeSheetProperty(sheetIndex, {treeLinkLibrary, keyToAttributes});\n };\n\n const tabItems = sheets.map((sheet, sheetIndex) => {\n const isSheetIgnored = sheet.type === ImportType.IGNORE;\n const displayedRows = sheet.data.slice(0, 3);\n const _handleSelectKey = (columnIndex: number) => (keyType: 'key' | 'keyTo', value: boolean) => {\n const newProps: Partial<ISheet> = {};\n const colId = sheet.mapping[columnIndex];\n const changedProp = keyType;\n const otherPropToCheck = keyType === 'key' ? 'keyTo' : 'key';\n const changedPropColumnIndex = keyType === 'key' ? 'keyColumnIndex' : 'keyToColumnIndex';\n const otherPropToCheckColumnIndex = keyType === 'key' ? 'keyToColumnIndex' : 'keyColumnIndex';\n\n newProps[changedProp] = value ? colId : null;\n newProps[changedPropColumnIndex] = value ? columnIndex : null;\n\n if (sheet[otherPropToCheckColumnIndex] === columnIndex) {\n newProps[otherPropToCheck] = null;\n newProps[otherPropToCheckColumnIndex] = null;\n }\n\n // If changing keyTo, empty mapping for this column as mappable attributes are not the same\n if (keyType === 'keyTo') {\n newProps.mapping = [...sheet.mapping];\n newProps.mapping[columnIndex] = null;\n }\n\n _changeSheetProperty(sheetIndex, newProps);\n };\n\n const _setStyleOnMappingRow = (_, rowIndex) => ({\n style: {\n verticalAlign: 'top',\n background:\n rowIndex === displayedRows.length // Set background color on last row (= mapping row)\n ? themeVars.secondaryBg\n : themeVars.defaultBg,\n },\n });\n\n const selectKeyOptions = [\n {\n value: KeysValues.IMPORT,\n label: (\n <>\n <KeyOutlined /> {t('import.import_key')}\n </>\n ),\n },\n ];\n\n if (sheet.type === ImportType.LINK) {\n selectKeyOptions.push({\n value: KeysValues.LINK,\n label: (\n <>\n <LinkOutlined /> {t('import.link_key')}\n </>\n ),\n });\n }\n\n const sheetColumns: ColumnsType<object> = Object.keys(sheet.data[0]).map((col, index) => ({\n title: col,\n dataIndex: col,\n onCell: _setStyleOnMappingRow,\n render: value => (\n <KitTypography.AdvancedParagraph ellipsis={{rows: 2}}>{value}</KitTypography.AdvancedParagraph>\n ),\n }));\n\n sheetColumns.unshift({\n title: <></>,\n dataIndex: '__root',\n onCell: _setStyleOnMappingRow,\n width: '250px',\n });\n\n const sheetData = displayedRows.map((row, index) => ({...row, key: index}));\n\n // Mapping row\n if (sheet.type && sheet.library && (sheet.type !== ImportType.LINK || sheet.linkAttribute)) {\n const mappingRow = {\n key: sheetData.length,\n __root: <ImportMappingRowTitle sheet={sheet} />,\n ...Object.keys(sheet.data[0]).reduce((allCols, col, idx) => {\n const attributeSelectOptions = (\n sheet.keyToColumnIndex === idx\n ? (sheet?.keyToAttributes ?? [])\n : (sheet?.attributes ?? []).filter(\n a => a?.type === AttributeType.simple || a?.type === AttributeType.advanced,\n )\n ).map(a => ({\n value: a.id,\n key: a.id,\n label: localizedTranslation(a.label, lang) || a.id,\n }));\n\n allCols[col] = (\n <Space direction=\"vertical\" style={{width: '100%'}}>\n <KitSelect\n style={{width: '100%'}}\n placeholder={t('import.do_not_import')}\n value={sheet.mapping?.[idx]}\n allowClear\n onClear={() => _handleMappingSelect(sheetIndex, idx, null)}\n onSelect={id => _handleMappingSelect(sheetIndex, idx, id)}\n options={attributeSelectOptions}\n />\n <ImportKeysSelector sheet={sheet} columnIndex={idx} onChange={_handleSelectKey(idx)} />\n </Space>\n );\n\n return allCols;\n }, {}),\n };\n sheetData.push(mappingRow);\n }\n\n return {\n label: sheet.name,\n key: String(sheetIndex),\n icon: isSheetIgnored ? <WarningOutlined style={{color: themeVars.errorColor}} /> : undefined,\n tabContent: (\n <SheetWrapper>\n <ImportSheetSettings\n sheetIndex={sheetIndex}\n libraries={libraries}\n onLibrarySelect={_handleLibrarySelect}\n onImportTypeSelect={_handleImportTypeSelect}\n onImportModeSelect={_handleImportModeSelect}\n onLinkAttributeSelect={_handleLinkAttributeSelect}\n onTreeLinkLibrarySelect={_handleTreeLinkLibrarySelect}\n />\n {!isSheetIgnored && (\n <Table\n title={() => <Typography.Title level={5}>{t('import.data_overview')}</Typography.Title>}\n columns={sheetColumns}\n dataSource={sheetData}\n size=\"small\"\n tableLayout=\"auto\"\n pagination={{hideOnSinglePage: true}}\n style={{width: '100%', overflow: 'auto'}}\n />\n )}\n </SheetWrapper>\n ),\n };\n });\n\n return <KitTabs items={tabItems} />;\n}\n\nexport default ImportModalConfigStep;\n"]}
|
|
@@ -6,5 +6,5 @@ interface IImportScheduleModalProps {
|
|
|
6
6
|
onValidateScheduleImport: () => void;
|
|
7
7
|
onChangeScheduleDate: (date: dayjs.Dayjs) => void;
|
|
8
8
|
}
|
|
9
|
-
declare function ImportScheduleModal({ isModalOpen, scheduleDate, onCancelImportScheduleModal, onChangeScheduleDate, onValidateScheduleImport }: IImportScheduleModalProps): JSX.Element;
|
|
9
|
+
declare function ImportScheduleModal({ isModalOpen, scheduleDate, onCancelImportScheduleModal, onChangeScheduleDate, onValidateScheduleImport, }: IImportScheduleModalProps): JSX.Element;
|
|
10
10
|
export default ImportScheduleModal;
|
package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js
CHANGED
|
@@ -4,7 +4,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
4
4
|
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
5
|
import { DatePicker, Modal } from 'antd';
|
|
6
6
|
import { useSharedTranslation } from '../../../../hooks/useSharedTranslation';
|
|
7
|
-
function ImportScheduleModal({ isModalOpen, scheduleDate, onCancelImportScheduleModal, onChangeScheduleDate, onValidateScheduleImport }) {
|
|
7
|
+
function ImportScheduleModal({ isModalOpen, scheduleDate, onCancelImportScheduleModal, onChangeScheduleDate, onValidateScheduleImport, }) {
|
|
8
8
|
const { t } = useSharedTranslation();
|
|
9
9
|
const _onChange = (d, dateString) => {
|
|
10
10
|
onChangeScheduleDate(d);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportScheduleModal.js","sourceRoot":"","sources":["../../../../../src/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AAEvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAUpE,SAAS,mBAAmB,CAAC,EACzB,WAAW,EACX,YAAY,EACZ,2BAA2B,EAC3B,oBAAoB,EACpB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"ImportScheduleModal.js","sourceRoot":"","sources":["../../../../../src/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AAEvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAUpE,SAAS,mBAAmB,CAAC,EACzB,WAAW,EACX,YAAY,EACZ,2BAA2B,EAC3B,oBAAoB,EACpB,wBAAwB,GACA;IACxB,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,MAAM,SAAS,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE;QAChC,oBAAoB,CAAC,CAAC,CAAC,CAAC;IAC5B,CAAC,CAAC;IAEF,MAAM,QAAQ,GAAG,KAAK,IAAI,EAAE;QACxB,wBAAwB,EAAE,CAAC;IAC/B,CAAC,CAAC;IAEF,MAAM,YAAY,GAAG,GAAG,EAAE;QACtB,2BAA2B,EAAE,CAAC;IAClC,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,KAAK,IACF,KAAK,EAAE,CAAC,CAAC,8BAA8B,CAAC,EACxC,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE,CAAC,CAAC,wBAAwB,CAAC,EACnC,UAAU,EAAE,CAAC,CAAC,eAAe,CAAC,EAC9B,IAAI,EAAE,QAAQ,EACd,QAAQ,EAAE,YAAY,EACtB,aAAa,EAAE,EAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,EAAC,YAEhD,KAAC,UAAU,IAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAC,MAAM,EAAC,QAAQ,SAAG,GAClF,CACX,CAAC;AACN,CAAC;AAED,eAAe,mBAAmB,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 {DatePicker, Modal} from 'antd';\nimport type dayjs from 'dayjs';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\n\ninterface IImportScheduleModalProps {\n isModalOpen: boolean;\n scheduleDate: dayjs.Dayjs;\n onCancelImportScheduleModal: () => void;\n onValidateScheduleImport: () => void;\n onChangeScheduleDate: (date: dayjs.Dayjs) => void;\n}\n\nfunction ImportScheduleModal({\n isModalOpen,\n scheduleDate,\n onCancelImportScheduleModal,\n onChangeScheduleDate,\n onValidateScheduleImport,\n}: IImportScheduleModalProps): JSX.Element {\n const {t} = useSharedTranslation();\n\n const _onChange = (d, dateString) => {\n onChangeScheduleDate(d);\n };\n\n const handleOk = async () => {\n onValidateScheduleImport();\n };\n\n const handleCancel = () => {\n onCancelImportScheduleModal();\n };\n\n return (\n <Modal\n title={t('import.import_schedule_title')}\n open={isModalOpen}\n okText={t('import.import_schedule')}\n cancelText={t('global.cancel')} // FIXME:\n onOk={handleOk}\n onCancel={handleCancel}\n okButtonProps={{disabled: scheduleDate === null}}\n >\n <DatePicker defaultValue={scheduleDate} onChange={_onChange} picker=\"date\" showTime />\n </Modal>\n );\n}\n\nexport default ImportScheduleModal;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,eAAe,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,eAAe,mBAAmB,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 ImportScheduleModal from './ImportScheduleModal';\n\nexport default ImportScheduleModal;\n"]}
|
|
@@ -8,5 +8,5 @@ interface IImportSettingsProps {
|
|
|
8
8
|
onLinkAttributeSelect: (sheetIndex: number, attribute: string) => void;
|
|
9
9
|
onTreeLinkLibrarySelect: (sheetIndex: number, library: string) => void;
|
|
10
10
|
}
|
|
11
|
-
declare function ImportSheetSettings({ sheetIndex, libraries, onLibrarySelect, onImportTypeSelect, onImportModeSelect, onLinkAttributeSelect, onTreeLinkLibrarySelect }: IImportSettingsProps): JSX.Element;
|
|
11
|
+
declare function ImportSheetSettings({ sheetIndex, libraries, onLibrarySelect, onImportTypeSelect, onImportModeSelect, onLinkAttributeSelect, onTreeLinkLibrarySelect, }: IImportSettingsProps): JSX.Element;
|
|
12
12
|
export default ImportSheetSettings;
|
package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js
CHANGED
|
@@ -8,7 +8,7 @@ import { KitSelect } from 'aristid-ds';
|
|
|
8
8
|
import styled from 'styled-components';
|
|
9
9
|
import useLang from '../../../../hooks/useLang';
|
|
10
10
|
import { useSharedTranslation } from '../../../../hooks/useSharedTranslation';
|
|
11
|
-
import { AttributeType, ImportMode, ImportType } from '../../../../_gqlTypes';
|
|
11
|
+
import { AttributeType, ImportMode, ImportType, } from '../../../../_gqlTypes';
|
|
12
12
|
import { useImportReducerContext } from '../../importReducer/ImportReducerContext';
|
|
13
13
|
const isLinkAttribute = (attribute) => attribute.type === AttributeType.simple_link ||
|
|
14
14
|
attribute.type === AttributeType.advanced_link ||
|
|
@@ -19,7 +19,7 @@ const SettingsWrapper = styled(Space) `
|
|
|
19
19
|
font-weight: bold;
|
|
20
20
|
}
|
|
21
21
|
`;
|
|
22
|
-
function ImportSheetSettings({ sheetIndex, libraries, onLibrarySelect, onImportTypeSelect, onImportModeSelect, onLinkAttributeSelect, onTreeLinkLibrarySelect }) {
|
|
22
|
+
function ImportSheetSettings({ sheetIndex, libraries, onLibrarySelect, onImportTypeSelect, onImportModeSelect, onLinkAttributeSelect, onTreeLinkLibrarySelect, }) {
|
|
23
23
|
const { lang } = useLang();
|
|
24
24
|
const { t } = useSharedTranslation();
|
|
25
25
|
const { state } = useImportReducerContext();
|
|
@@ -30,28 +30,28 @@ function ImportSheetSettings({ sheetIndex, libraries, onLibrarySelect, onImportT
|
|
|
30
30
|
[]).map(treeLib => ({
|
|
31
31
|
key: treeLib.library.id,
|
|
32
32
|
value: treeLib.library.id,
|
|
33
|
-
label: localizedTranslation(treeLib.library.label, lang)
|
|
33
|
+
label: localizedTranslation(treeLib.library.label, lang),
|
|
34
34
|
}))
|
|
35
35
|
: null;
|
|
36
36
|
const typeOptions = Object.values(ImportType).map(type => ({
|
|
37
37
|
key: type,
|
|
38
38
|
value: type,
|
|
39
|
-
label: t(`import.types.${type}`)
|
|
39
|
+
label: t(`import.types.${type}`),
|
|
40
40
|
}));
|
|
41
41
|
const modeOptions = Object.values(ImportMode).map(mode => ({
|
|
42
42
|
key: mode,
|
|
43
43
|
value: mode,
|
|
44
|
-
label: t(`import.modes.${mode}`)
|
|
44
|
+
label: t(`import.modes.${mode}`),
|
|
45
45
|
}));
|
|
46
46
|
const librariesOptions = libraries.map(l => ({
|
|
47
47
|
key: l.id,
|
|
48
48
|
value: l.id,
|
|
49
|
-
label: localizedTranslation(l.label, lang) || l.id
|
|
49
|
+
label: localizedTranslation(l.label, lang) || l.id,
|
|
50
50
|
}));
|
|
51
51
|
const linkAttributeOptions = sheet.attributes.filter(isLinkAttribute).map(a => ({
|
|
52
52
|
key: a.id,
|
|
53
53
|
value: a.id,
|
|
54
|
-
label: localizedTranslation(a.label, lang) || a.id
|
|
54
|
+
label: localizedTranslation(a.label, lang) || a.id,
|
|
55
55
|
}));
|
|
56
56
|
return (_jsx(Form, { layout: "vertical", children: _jsxs(SettingsWrapper, { direction: "horizontal", size: "middle", wrap: true, children: [_jsx(Form.Item, { label: t('import.type'), required: true, children: _jsx(KitSelect, { style: { minWidth: 200 }, defaultValue: sheet.type, placeholder: t('import.select_type'), onChange: value => onImportTypeSelect(sheetIndex, value), options: typeOptions }) }), !isSheetIgnored && (_jsxs(_Fragment, { children: [_jsx(Form.Item, { label: t('import.mode'), required: true, children: _jsx(KitSelect, { style: { minWidth: 240 }, defaultValue: sheet.mode, placeholder: t('import.select_mode'), onChange: value => onImportModeSelect(sheetIndex, value), options: modeOptions }) }), _jsx(Form.Item, { label: t('import.library'), required: true, children: _jsx(KitSelect, { style: { minWidth: 200 }, defaultValue: sheet.library ?? state.defaultLibrary, placeholder: t('import.select_library'), onChange: value => onLibrarySelect(sheetIndex, value), options: librariesOptions }) }), sheet.type === ImportType.LINK && sheet.library && (_jsx(Form.Item, { label: t('import.link_attribute'), required: true, children: _jsx(KitSelect, { style: { minWidth: 200 }, defaultValue: sheet.linkAttribute, value: sheet.linkAttribute, placeholder: t('import.select_link_attribute'), onChange: value => onLinkAttributeSelect(sheetIndex, value), options: linkAttributeOptions }) })), sheet.type === ImportType.LINK && sheet.linkAttributeProps?.type === AttributeType.tree && (_jsx(Form.Item, { label: t('import.tree_link_library'), required: true, children: _jsx(KitSelect, { style: { minWidth: 200 }, value: sheet.treeLinkLibrary, placeholder: t('import.select_library'), onChange: value => onTreeLinkLibrarySelect(sheetIndex, value), options: selectTreeLinkLibraryOptions }) }))] }))] }) }));
|
|
57
57
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportSheetSettings.js","sourceRoot":"","sources":["../../../../../src/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,IAAI,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AACjC,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,O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AAK,CAAC,IAAI,KAAK,UAAU,CAAC,IAAI,IAAI,KAAK,CAAC,OAAO,IAAI,CAChD,KAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAE,CAAC,CAAC,uBAAuB,CAAC,EAAE,QAAQ,kBAClD,KAAC,SAAS,IACN,KAAK,EAAE,EAAC,QAAQ,EAAE,GAAG,EAAC,EACtB,YAAY,EAAE,KAAK,CAAC,aAAa,EACjC,KAAK,EAAE,KAAK,CAAC,aAAa,EAC1B,WAAW,EAAE,CAAC,CAAC,8BAA8B,CAAC,EAC9C,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,UAAU,EAAE,KAAK,CAAC,EAC3D,OAAO,EAAE,oBAAoB,GAC/B,GACM,CACf,EACA,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,IAAI,IAAI,KAAK,CAAC,kBAAkB,EAAE,IAAI,KAAK,aAAa,CAAC,IAAI,IAAI,CACxF,KAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAE,CAAC,CAAC,0BAA0B,CAAC,EAAE,QAAQ,kBACrD,KAAC,SAAS,IACN,KAAK,EAAE,EAAC,QAAQ,EAAE,GAAG,EAAC,EACtB,KAAK,EAAE,KAAK,CAAC,eAAe,EAC5B,WAAW,EAAE,CAAC,CAAC,uBAAuB,CAAC,EACvC,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,UAAU,EAAE,KAAK,CAAC,EAC7D,OAAO,EAAE,4BAA4B,GACvC,GACM,CACf,IACF,CACN,IACa,GACf,CACV,CAAC;AACN,CAAC;AAED,eAAe,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ImportSheetSettings.js","sourceRoot":"","sources":["../../../../../src/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAA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ristid 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 {localizedTranslation} from '@leav/utils';\nimport {Form, Space} from 'antd';\nimport {KitSelect} from 'aristid-ds';\nimport styled from 'styled-components';\nimport useLang from '_ui/hooks/useLang';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {\n type AttributesByLibAttributeFragment,\n type AttributesByLibAttributeTreeAttributeFragment,\n AttributeType,\n ImportMode,\n ImportType,\n type LibraryLightFragment,\n} from '_ui/_gqlTypes';\nimport {useImportReducerContext} from '../../importReducer/ImportReducerContext';\n\ninterface IImportSettingsProps {\n sheetIndex: number;\n libraries: LibraryLightFragment[];\n onLibrarySelect: (sheetIndex: number, library: string) => void;\n onImportTypeSelect: (sheetIndex: number, type: ImportType) => void;\n onImportModeSelect: (sheetIndex: number, mode: ImportMode) => void;\n onLinkAttributeSelect: (sheetIndex: number, attribute: string) => void;\n onTreeLinkLibrarySelect: (sheetIndex: number, library: string) => void;\n}\n\nconst isLinkAttribute = (attribute: AttributesByLibAttributeFragment): boolean =>\n attribute.type === AttributeType.simple_link ||\n attribute.type === AttributeType.advanced_link ||\n attribute.type === AttributeType.tree;\n\nconst SettingsWrapper = styled(Space)`\n && .ant-form-item-label {\n padding: 0;\n font-weight: bold;\n }\n`;\n\nfunction ImportSheetSettings({\n sheetIndex,\n libraries,\n onLibrarySelect,\n onImportTypeSelect,\n onImportModeSelect,\n onLinkAttributeSelect,\n onTreeLinkLibrarySelect,\n}: IImportSettingsProps): JSX.Element {\n const {lang} = useLang();\n const {t} = useSharedTranslation();\n const {state} = useImportReducerContext();\n const sheet = state.sheets[sheetIndex];\n const isSheetIgnored = sheet.type === ImportType.IGNORE;\n\n const selectTreeLinkLibraryOptions =\n sheet.type === ImportType.LINK && sheet.linkAttributeProps?.type === AttributeType.tree\n ? (\n (sheet.linkAttributeProps as AttributesByLibAttributeTreeAttributeFragment)?.linked_tree?.libraries ??\n []\n ).map(treeLib => ({\n key: treeLib.library.id,\n value: treeLib.library.id,\n label: localizedTranslation(treeLib.library.label, lang),\n }))\n : null;\n\n const typeOptions = Object.values(ImportType).map(type => ({\n key: type,\n value: type,\n label: t(`import.types.${type}`),\n }));\n\n const modeOptions = Object.values(ImportMode).map(mode => ({\n key: mode,\n value: mode,\n label: t(`import.modes.${mode}`),\n }));\n\n const librariesOptions = libraries.map(l => ({\n key: l.id,\n value: l.id,\n label: localizedTranslation(l.label, lang) || l.id,\n }));\n\n const linkAttributeOptions = sheet.attributes.filter(isLinkAttribute).map(a => ({\n key: a.id,\n value: a.id,\n label: localizedTranslation(a.label, lang) || a.id,\n }));\n\n return (\n <Form layout=\"vertical\">\n <SettingsWrapper direction=\"horizontal\" size=\"middle\" wrap>\n <Form.Item label={t('import.type')} required>\n <KitSelect\n style={{minWidth: 200}}\n defaultValue={sheet.type}\n placeholder={t('import.select_type')}\n onChange={value => onImportTypeSelect(sheetIndex, value)}\n options={typeOptions}\n />\n </Form.Item>\n {!isSheetIgnored && (\n <>\n <Form.Item label={t('import.mode')} required>\n <KitSelect\n style={{minWidth: 240}}\n defaultValue={sheet.mode}\n placeholder={t('import.select_mode')}\n onChange={value => onImportModeSelect(sheetIndex, value)}\n options={modeOptions}\n />\n </Form.Item>\n <Form.Item label={t('import.library')} required>\n <KitSelect\n style={{minWidth: 200}}\n defaultValue={sheet.library ?? state.defaultLibrary}\n placeholder={t('import.select_library')}\n onChange={value => onLibrarySelect(sheetIndex, value)}\n options={librariesOptions}\n />\n </Form.Item>\n {sheet.type === ImportType.LINK && sheet.library && (\n <Form.Item label={t('import.link_attribute')} required>\n <KitSelect\n style={{minWidth: 200}}\n defaultValue={sheet.linkAttribute}\n value={sheet.linkAttribute}\n placeholder={t('import.select_link_attribute')}\n onChange={value => onLinkAttributeSelect(sheetIndex, value)}\n options={linkAttributeOptions}\n />\n </Form.Item>\n )}\n {sheet.type === ImportType.LINK && sheet.linkAttributeProps?.type === AttributeType.tree && (\n <Form.Item label={t('import.tree_link_library')} required>\n <KitSelect\n style={{minWidth: 200}}\n value={sheet.treeLinkLibrary}\n placeholder={t('import.select_library')}\n onChange={value => onTreeLinkLibrarySelect(sheetIndex, value)}\n options={selectTreeLinkLibraryOptions}\n />\n </Form.Item>\n )}\n </>\n )}\n </SettingsWrapper>\n </Form>\n );\n}\n\nexport default ImportSheetSettings;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,eAAe,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,eAAe,mBAAmB,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 ImportSheetSettings from './ImportSheetSettings';\n\nexport default ImportSheetSettings;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalConfigStep/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAE5D,eAAe,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalConfigStep/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAE5D,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 ImportModalConfigStep from './ImportModalConfigStep';\n\nexport default ImportModalConfigStep;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportModalDoneStep.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,MAAM,EAAC,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAM9E,SAAS,mBAAmB,CAAC,EAAC,kBAAkB,EAA4B;IACxE,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,MAAM,EAAC,KAAK,EAAC,GAAG,uBAAuB,EAAE,CAAC;IAC1C,MAAM,EAAC,WAAW,EAAC,GAAG,KAAK,CAAC;IAE5B,OAAO,CACH,KAAC,MAAM,IACH,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,EACzC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,EACzE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,gCAAgC,CAAC,EACzE,KAAK,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,GAC/C,CACL,CAAC;AACN,CAAC;AAED,eAAe,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ImportModalDoneStep.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,MAAM,EAAC,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAM9E,SAAS,mBAAmB,CAAC,EAAC,kBAAkB,EAA4B;IACxE,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,MAAM,EAAC,KAAK,EAAC,GAAG,uBAAuB,EAAE,CAAC;IAC1C,MAAM,EAAC,WAAW,EAAC,GAAG,KAAK,CAAC;IAE5B,OAAO,CACH,KAAC,MAAM,IACH,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,EACzC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,EACzE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,gCAAgC,CAAC,EACzE,KAAK,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,GAC/C,CACL,CAAC;AACN,CAAC;AAED,eAAe,mBAAmB,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 {Result} from 'antd';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {useImportReducerContext} from '../importReducer/ImportReducerContext';\n\ninterface IImportModalDoneStepProps {\n resultExtraButtons?: JSX.Element[];\n}\n\nfunction ImportModalDoneStep({resultExtraButtons}: IImportModalDoneStepProps): JSX.Element {\n const {t} = useSharedTranslation();\n\n const {state} = useImportReducerContext();\n const {importError} = state;\n\n return (\n <Result\n status={importError ? 'error' : 'success'}\n title={importError ? t('import.import_failure') : t('import.import_done')}\n subTitle={importError ? importError : t('import.import_done_description')}\n extra={!importError ? resultExtraButtons : []}\n />\n );\n}\n\nexport default ImportModalDoneStep;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalDoneStep/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,eAAe,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalDoneStep/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,eAAe,mBAAmB,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 ImportModalDoneStep from './ImportModalDoneStep';\n\nexport default ImportModalDoneStep;\n"]}
|
package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportModalProcessingStep.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAA;;CAEjC,CAAC;AAEF,SAAS,yBAAyB;IAC9B,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,OAAO,KAAC,eAAe,oBAAc,YAAY,YAAE,CAAC,CAAC,mBAAmB,CAAC,GAAG,KAAK,GAAmB,CAAC;AACzG,CAAC;AAED,eAAe,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ImportModalProcessingStep.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAA;;CAEjC,CAAC;AAEF,SAAS,yBAAyB;IAC9B,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,OAAO,KAAC,eAAe,oBAAc,YAAY,YAAE,CAAC,CAAC,mBAAmB,CAAC,GAAG,KAAK,GAAmB,CAAC;AACzG,CAAC;AAED,eAAe,yBAAyB,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 styled from 'styled-components';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\n\nconst CenteredWrapper = styled.div`\n text-align: center;\n`;\n\nfunction ImportModalProcessingStep(): JSX.Element {\n const {t} = useSharedTranslation();\n\n return <CenteredWrapper data-test-id=\"processing\">{t('global.processing') + '...'}</CenteredWrapper>;\n}\n\nexport default ImportModalProcessingStep;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalProcessingStep/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AAEpE,eAAe,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalProcessingStep/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AAEpE,eAAe,yBAAyB,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 ImportModalProcessingStep from './ImportModalProcessingStep';\n\nexport default ImportModalProcessingStep;\n"]}
|
|
@@ -8,7 +8,7 @@ import { KitAlert, KitUpload, useKitNotification } from 'aristid-ds';
|
|
|
8
8
|
import { useState } from 'react';
|
|
9
9
|
import { read as xlsxRead, utils as xlsxUtils } from 'xlsx';
|
|
10
10
|
import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
|
|
11
|
-
import { AttributeType, ImportMode, ImportType } from '../../../_gqlTypes';
|
|
11
|
+
import { AttributeType, ImportMode, ImportType, } from '../../../_gqlTypes';
|
|
12
12
|
import { ImportReducerActionTypes } from '../importReducer/importReducer';
|
|
13
13
|
import { useImportReducerContext } from '../importReducer/ImportReducerContext';
|
|
14
14
|
const defaultType = ImportType.STANDARD;
|
|
@@ -26,7 +26,7 @@ function ImportModalSelectFileStep({ onGetAttributes }) {
|
|
|
26
26
|
// Use the sheet_to_json method to convert excel to json data
|
|
27
27
|
const sheetData = xlsxUtils.sheet_to_json(workbook.Sheets[sheetName], {
|
|
28
28
|
blankrows: false,
|
|
29
|
-
defval: null
|
|
29
|
+
defval: null,
|
|
30
30
|
});
|
|
31
31
|
// if sheet is empty we skip it
|
|
32
32
|
if (!sheetData.length) {
|
|
@@ -96,7 +96,7 @@ function ImportModalSelectFileStep({ onGetAttributes }) {
|
|
|
96
96
|
keyToAttributes: sKeyToAttributes,
|
|
97
97
|
treeLinkLibrary: sTreeLinkLibrary,
|
|
98
98
|
data: sheetData.length ? sheetData : null,
|
|
99
|
-
mapping: sMapping
|
|
99
|
+
mapping: sMapping,
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
102
|
else {
|
|
@@ -110,7 +110,7 @@ function ImportModalSelectFileStep({ onGetAttributes }) {
|
|
|
110
110
|
mode: defaultMode,
|
|
111
111
|
attributes,
|
|
112
112
|
mapping: [],
|
|
113
|
-
data: sheetData.length ? sheetData : null
|
|
113
|
+
data: sheetData.length ? sheetData : null,
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -145,7 +145,7 @@ function ImportModalSelectFileStep({ onGetAttributes }) {
|
|
|
145
145
|
const errorMessage = error?.message ?? t('error.error_occurred');
|
|
146
146
|
kitNotification.error({
|
|
147
147
|
message: t('error.error_occurred'),
|
|
148
|
-
description: errorMessage
|
|
148
|
+
description: errorMessage,
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
};
|
|
@@ -158,12 +158,12 @@ function ImportModalSelectFileStep({ onGetAttributes }) {
|
|
|
158
158
|
reader.onerror = e => {
|
|
159
159
|
kitNotification.error({
|
|
160
160
|
message: t('error.error_occurred'),
|
|
161
|
-
description: reader.error?.message ?? ''
|
|
161
|
+
description: reader.error?.message ?? '',
|
|
162
162
|
});
|
|
163
163
|
};
|
|
164
164
|
// Prevent default upload. We'll handle it ourselves later on
|
|
165
165
|
return false;
|
|
166
|
-
}
|
|
166
|
+
},
|
|
167
167
|
};
|
|
168
168
|
return (_jsxs(Space, { direction: "vertical", style: { width: '100%' }, children: [_jsx(Spin, { spinning: loading, children: _jsx(KitUpload.Dragger, { ...draggerProps }) }), _jsx(KitAlert, { message: t('import.first_line_info'), type: "info", showIcon: true })] }));
|
|
169
169
|
}
|
package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportModalSelectFileStep.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,qBAAqB,EAAC,MAAM,aAAa,CAAC;AAClD,OAAO,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAE,kBAAkB,EAAC,MAAM,YAAY,CAAC;AAEnE,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,IAAI,IAAI,QAAQ,EAAE,KAAK,IAAI,SAAS,EAAC,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAGH,aAAa,EACb,UAAU,EACV,UAAU,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,wBAAwB,EAAC,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAO9E,MAAM,WAAW,GAAG,UAAU,CAAC,QAAQ,CAAC;AACxC,MAAM,WAAW,GAAG,UAAU,CAAC,MAAM,CAAC;AAEtC,SAAS,yBAAyB,CAAC,EAAC,eAAe,EAAmC;IAClF,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,eAAe,EAAC,GAAG,kBAAkB,EAAE,CAAC;IAE/C,MAAM,EAAC,KAAK,EAAE,QAAQ,EAAC,GAAG,uBAAuB,EAAE,CAAC;IACpD,MAAM,EAAC,IAAI,EAAC,GAAG,KAAK,CAAC;IAErB,MAAM,YAAY,G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AAE,MAAM,CAAC,KAAK,EAAE,OAAO,IAAI,EAAE;iBAC3C,CAAC,CAAC;YACP,CAAC,CAAC;YAEF,6DAA6D;YAC7D,OAAO,KAAK,CAAC;QACjB,CAAC;KACJ,CAAC;IAEF,OAAO,CACH,MAAC,KAAK,IAAC,SAAS,EAAC,UAAU,EAAC,KAAK,EAAE,EAAC,KAAK,EAAE,MAAM,EAAC,aAC9C,KAAC,IAAI,IAAC,QAAQ,EAAE,OAAO,YACnB,KAAC,SAAS,CAAC,OAAO,OAAK,YAAY,GAAI,GACpC,EACP,KAAC,QAAQ,IAAC,OAAO,EAAE,CAAC,CAAC,wBAAwB,CAAC,EAAE,IAAI,EAAC,MAAM,EAAC,QAAQ,SAAG,IACnE,CACX,CAAC;AACN,CAAC;AAED,eAAe,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ImportModalSelectFileStep.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,qBAAqB,EAAC,MAAM,aAAa,CAAC;AAClD,OAAO,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAE,kBAAkB,EAAC,MAAM,YAAY,CAAC;AAEnE,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,IAAI,IAAI,QAAQ,EAAE,KAAK,IAAI,SAAS,EAAC,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAGH,aAAa,EACb,UAAU,EACV,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,wBAAwB,EAAC,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCA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EAAE,YAAY;qBAC5B,CAAC,CAAC;gBACP,CAAC;YACL,CAAC,CAAC;YAEF,MAAM,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;gBACrB,UAAU,CAAC,IAAI,CAAC,CAAC;YACrB,CAAC,CAAC;YAEF,MAAM,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE;gBACnB,UAAU,CAAC,KAAK,CAAC,CAAC;YACtB,CAAC,CAAC;YAEF,MAAM,CAAC,OAAO,GAAG,CAAC,CAAC,EAAE;gBACjB,eAAe,CAAC,KAAK,CAAC;oBAClB,OAAO,EAAE,CAAC,CAAC,sBAAsB,CAAC;oBAClC,WAAW,EAAE,MAAM,CAAC,KAAK,EAAE,OAAO,IAAI,EAAE;iBAC3C,CAAC,CAAC;YACP,CAAC,CAAC;YAEF,6DAA6D;YAC7D,OAAO,KAAK,CAAC;QACjB,CAAC;KACJ,CAAC;IAEF,OAAO,CACH,MAAC,KAAK,IAAC,SAAS,EAAC,UAAU,EAAC,KAAK,EAAE,EAAC,KAAK,EAAE,MAAM,EAAC,aAC9C,KAAC,IAAI,IAAC,QAAQ,EAAE,OAAO,YACnB,KAAC,SAAS,CAAC,OAAO,OAAK,YAAY,GAAI,GACpC,EACP,KAAC,QAAQ,IAAC,OAAO,EAAE,CAAC,CAAC,wBAAwB,CAAC,EAAE,IAAI,EAAC,MAAM,EAAC,QAAQ,SAAG,IACnE,CACX,CAAC;AACN,CAAC;AAED,eAAe,yBAAyB,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 {extractArgsFromString} from '@leav/utils';\nimport {message, Space, Spin} from 'antd';\nimport {KitAlert, KitUpload, useKitNotification} from 'aristid-ds';\nimport {type IKitDragger} from 'aristid-ds/dist/Kit/DataEntry/Upload/types';\nimport {useState} from 'react';\nimport {read as xlsxRead, utils as xlsxUtils} from 'xlsx';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {\n type AttributesByLibAttributeFragment,\n type AttributesByLibAttributeLinkAttributeFragment,\n AttributeType,\n ImportMode,\n ImportType,\n} from '_ui/_gqlTypes';\nimport {ImportReducerActionTypes} from '../importReducer/importReducer';\nimport {useImportReducerContext} from '../importReducer/ImportReducerContext';\nimport {type ISheet} from '../_types';\n\ninterface IImportModalSelectFileStepsProps {\n onGetAttributes: (library: string) => Promise<AttributesByLibAttributeFragment[]>;\n}\n\nconst defaultType = ImportType.STANDARD;\nconst defaultMode = ImportMode.upsert;\n\nfunction ImportModalSelectFileStep({onGetAttributes}: IImportModalSelectFileStepsProps): JSX.Element {\n const {t} = useSharedTranslation();\n const {kitNotification} = useKitNotification();\n\n const {state, dispatch} = useImportReducerContext();\n const {file} = state;\n\n const _setFileData = async content => {\n const workbook = xlsxRead(content, {type: 'binary'});\n\n const s: ISheet[] = [];\n\n for (const sheetName in workbook.Sheets) {\n if (workbook.Sheets.hasOwnProperty(sheetName)) {\n // Use the sheet_to_json method to convert excel to json data\n const sheetData: Array<{[col: string]: string}> = xlsxUtils.sheet_to_json(workbook.Sheets[sheetName], {\n blankrows: false,\n defval: null,\n });\n\n // if sheet is empty we skip it\n if (!sheetData.length) {\n continue;\n }\n\n // get columns' name\n const sheetColumns = Object.keys(sheetData[0]);\n\n // match only first line cells (A1, B1, etc.)\n const firstRowAddresses = Object.keys(workbook.Sheets[sheetName]).filter(\n k => !!k.match(/\\b[A-Z]+1\\b/g),\n );\n\n const isMapped = !!workbook.Sheets[sheetName][firstRowAddresses[0]]?.c;\n\n // Mapping is present.\n if (isMapped) {\n const comments: string[] = [];\n\n for (const address of firstRowAddresses) {\n // get first line comments and delete \"\\n\" characters\n comments.push(workbook.Sheets[sheetName][address].c?.[0]?.t?.replace(/\\n/g, ' ') || null);\n }\n\n const params = extractArgsFromString(comments[0]);\n\n const sType = params.type ?? defaultType;\n const sLibrary = params.library;\n const sLinkAttribute = params.linkAttribute;\n const sMode = params.mode ?? defaultMode;\n let sMapping = [];\n const sTreeLinkLibrary = params.treeLinkLibrary;\n let sKeyColumnIndex: number;\n let sKeyToColumnIndex: number;\n\n let sKeyToAttributes: AttributesByLibAttributeFragment[] = [];\n\n const attributes = await onGetAttributes(sLibrary);\n\n // Extract mapping, keyIndex and keyToIndex from all columns comments\n for (const [index, comm] of comments.entries()) {\n const commArgs = extractArgsFromString(comm);\n sMapping.push(String(commArgs.id) ?? null);\n\n if (commArgs.key) {\n sKeyColumnIndex = index;\n }\n\n if (commArgs.keyTo) {\n sKeyToColumnIndex = index;\n }\n }\n\n const linkAttributeProps =\n sKeyToColumnIndex && sLinkAttribute\n ? (attributes.find(\n a => a.id === sLinkAttribute,\n ) as AttributesByLibAttributeLinkAttributeFragment)\n : null;\n\n if (linkAttributeProps && (linkAttributeProps.type !== AttributeType.tree || sTreeLinkLibrary)) {\n const keyToLibrary =\n linkAttributeProps.type === AttributeType.tree\n ? sTreeLinkLibrary\n : linkAttributeProps?.linked_library?.id;\n sKeyToAttributes = await onGetAttributes(keyToLibrary);\n }\n\n // Check if all mapping attributes actually exist\n sMapping = sMapping.map((mappingAttribute, index) => {\n const attributesToCheck = index === sKeyToColumnIndex ? sKeyToAttributes : attributes;\n return attributesToCheck.find(attribute => attribute.id === mappingAttribute)\n ? mappingAttribute\n : null;\n });\n\n s.push({\n name: sheetName,\n attributes,\n columns: sheetColumns,\n type: ImportType[sType],\n mode: ImportMode[sMode],\n library: sLibrary,\n linkAttribute: sLinkAttribute,\n linkAttributeProps,\n keyColumnIndex: sKeyColumnIndex,\n keyToColumnIndex: sKeyToColumnIndex,\n keyToAttributes: sKeyToAttributes,\n treeLinkLibrary: sTreeLinkLibrary,\n data: sheetData.length ? sheetData : null,\n mapping: sMapping,\n });\n } else {\n const sLibrary = state.defaultLibrary;\n const attributes = await onGetAttributes(sLibrary);\n\n s.push({\n name: sheetName,\n library: sLibrary,\n columns: sheetColumns,\n type: defaultType,\n mode: defaultMode,\n attributes,\n mapping: [],\n data: sheetData.length ? sheetData : null,\n });\n }\n }\n }\n\n if (!s.length || s.every(sheet => sheet.data === null)) {\n message.error(t('import.empty_file'));\n return false;\n }\n\n dispatch({type: ImportReducerActionTypes.SET_SHEETS, sheets: s});\n\n return true;\n };\n\n const [loading, setLoading] = useState(false);\n\n const draggerProps: IKitDragger = {\n name: 'file',\n multiple: false,\n accept: '.xlsx',\n description: t('import.file_selection_restriction', {allowedFormat: '.xlsx'}),\n title: file?.name ?? t('import.file_selection_instruction'),\n beforeUpload: fileToImport => {\n // Read file to read mapping and display a preview on next step\n const reader = new FileReader();\n reader.readAsBinaryString(fileToImport);\n\n reader.onload = async e => {\n try {\n const res = await _setFileData(reader.result);\n\n if (res) {\n dispatch({type: ImportReducerActionTypes.SET_FILE, file: fileToImport});\n }\n dispatch({type: ImportReducerActionTypes.SET_OK_BTN, okBtn: res});\n } catch (error) {\n const errorMessage = error?.message ?? t('error.error_occurred');\n kitNotification.error({\n message: t('error.error_occurred'),\n description: errorMessage,\n });\n }\n };\n\n reader.onloadstart = e => {\n setLoading(true);\n };\n\n reader.onloadend = e => {\n setLoading(false);\n };\n\n reader.onerror = e => {\n kitNotification.error({\n message: t('error.error_occurred'),\n description: reader.error?.message ?? '',\n });\n };\n\n // Prevent default upload. We'll handle it ourselves later on\n return false;\n },\n };\n\n return (\n <Space direction=\"vertical\" style={{width: '100%'}}>\n <Spin spinning={loading}>\n <KitUpload.Dragger {...draggerProps} />\n </Spin>\n <KitAlert message={t('import.first_line_info')} type=\"info\" showIcon />\n </Space>\n );\n}\n\nexport default ImportModalSelectFileStep;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalSelectFileStep/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AAEpE,eAAe,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/ImportModalSelectFileStep/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AAEpE,eAAe,yBAAyB,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 ImportModalSelectFileStep from './ImportModalSelectFileStep';\n\nexport default ImportModalSelectFileStep;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../src/components/ImportModal/_types.ts"],"names":[],"mappings":"AA4BA,MAAM,CAAN,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,2DAAe,CAAA;IACf,iDAAU,CAAA;IACV,yDAAc,CAAA;IACd,6CAAQ,CAAA;AACZ,CAAC,EALW,WAAW,KAAX,WAAW,QAKtB;AAED,MAAM,CAAN,IAAY,kBAQX;AARD,WAAY,kBAAkB;IAC1B,mCAAa,CAAA;IACb,mCAAa,CAAA;IACb,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,uDAAiC,CAAA;IACjC,uCAAiB,CAAA;IACjB,iCAAW,CAAA;AACf,CAAC,EARW,kBAAkB,KAAlB,kBAAkB,QAQ7B"}
|
|
1
|
+
{"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../src/components/ImportModal/_types.ts"],"names":[],"mappings":"AA4BA,MAAM,CAAN,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,2DAAe,CAAA;IACf,iDAAU,CAAA;IACV,yDAAc,CAAA;IACd,6CAAQ,CAAA;AACZ,CAAC,EALW,WAAW,KAAX,WAAW,QAKtB;AAED,MAAM,CAAN,IAAY,kBAQX;AARD,WAAY,kBAAkB;IAC1B,mCAAa,CAAA;IACb,mCAAa,CAAA;IACb,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,uDAAiC,CAAA;IACjC,uCAAiB,CAAA;IACjB,iCAAW,CAAA;AACf,CAAC,EARW,kBAAkB,KAAlB,kBAAkB,QAQ7B","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 {\n type AttributesByLibAttributeFragment,\n type AttributesByLibAttributeLinkAttributeFragment,\n type AttributesByLibAttributeTreeAttributeFragment,\n type ImportMode,\n type ImportType,\n} from '_ui/_gqlTypes';\n\nexport interface ISheet {\n name: string;\n columns: string[];\n data: Array<{[col: string]: string}>;\n attributes: AttributesByLibAttributeFragment[];\n mapping: Array<string | null>;\n type?: ImportType;\n mode?: ImportMode;\n library?: string;\n linkAttribute?: string;\n linkAttributeProps?: AttributesByLibAttributeLinkAttributeFragment | AttributesByLibAttributeTreeAttributeFragment;\n keyColumnIndex?: number;\n keyToAttributes?: AttributesByLibAttributeFragment[];\n keyToColumnIndex?: number;\n treeLinkLibrary?: string;\n}\n\nexport enum ImportSteps {\n SELECT_FILE = 0,\n CONFIG = 1,\n PROCESSING = 2,\n DONE = 3,\n}\n\nexport enum SheetSettingsError {\n TYPE = 'TYPE',\n MODE = 'MODE',\n LIBRARY = 'LIBRARY',\n MAPPING = 'MAPPING',\n LINK_ATTRIBUTE = 'LINK_ATTRIBUTE',\n KEY_TO = 'KEY_TO',\n KEY = 'KEY',\n}\n"]}
|
|
@@ -5,7 +5,7 @@ import { createContext, useContext } from 'react';
|
|
|
5
5
|
import { initialState } from './importReducer';
|
|
6
6
|
const ImportReducerContext = createContext({
|
|
7
7
|
state: initialState,
|
|
8
|
-
dispatch: () => initialState
|
|
8
|
+
dispatch: () => initialState,
|
|
9
9
|
});
|
|
10
10
|
export default ImportReducerContext;
|
|
11
11
|
export const useImportReducerContext = () => useContext(ImportReducerContext);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportReducerContext.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/importReducer/ImportReducerContext.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAE,UAAU,EAAC,MAAM,OAAO,CAAC;AAChD,OAAO,EAAqD,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAEjG,MAAM,oBAAoB,GAAG,aAAa,CAGvC;IACC,KAAK,EAAE,YAAY;IACnB,QAAQ,EAAE,GAAG,EAAE,CAAC,YAAY;CAC/B,CAAC,CAAC;AAEH,eAAe,oBAAoB,CAAC;AAEpC,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"ImportReducerContext.js","sourceRoot":"","sources":["../../../../src/components/ImportModal/importReducer/ImportReducerContext.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAE,UAAU,EAAC,MAAM,OAAO,CAAC;AAChD,OAAO,EAAqD,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAEjG,MAAM,oBAAoB,GAAG,aAAa,CAGvC;IACC,KAAK,EAAE,YAAY;IACnB,QAAQ,EAAE,GAAG,EAAE,CAAC,YAAY;CAC/B,CAAC,CAAC;AAEH,eAAe,oBAAoB,CAAC;AAEpC,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {createContext, useContext} from 'react';\nimport {type IImportReducerState, type ImportReducerAction, initialState} from './importReducer';\n\nconst ImportReducerContext = createContext<{\n state: IImportReducerState;\n dispatch: React.Dispatch<ImportReducerAction>;\n}>({\n state: initialState,\n dispatch: () => initialState,\n});\n\nexport default ImportReducerContext;\n\nexport const useImportReducerContext = () => useContext(ImportReducerContext);\n"]}
|
|
@@ -18,7 +18,7 @@ export const initialState = {
|
|
|
18
18
|
currentStep: ImportSteps.SELECT_FILE,
|
|
19
19
|
okBtn: false,
|
|
20
20
|
importError: null,
|
|
21
|
-
settingsError: {}
|
|
21
|
+
settingsError: {},
|
|
22
22
|
};
|
|
23
23
|
const _getSheetErrors = (sheet) => {
|
|
24
24
|
if (sheet.type === ImportType.IGNORE) {
|
|
@@ -27,38 +27,38 @@ const _getSheetErrors = (sheet) => {
|
|
|
27
27
|
const checks = [
|
|
28
28
|
{
|
|
29
29
|
error: SheetSettingsError.TYPE,
|
|
30
|
-
condition: !sheet.type
|
|
30
|
+
condition: !sheet.type,
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
error: SheetSettingsError.MODE,
|
|
34
|
-
condition: !sheet.mode
|
|
34
|
+
condition: !sheet.mode,
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
error: SheetSettingsError.LIBRARY,
|
|
38
|
-
condition: !sheet.library
|
|
38
|
+
condition: !sheet.library,
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
error: SheetSettingsError.MAPPING,
|
|
42
|
-
condition: sheet.type && !(sheet?.mapping ?? []).filter(mappingCol => !!mappingCol).length
|
|
42
|
+
condition: sheet.type && !(sheet?.mapping ?? []).filter(mappingCol => !!mappingCol).length,
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
error: SheetSettingsError.LINK_ATTRIBUTE,
|
|
46
|
-
condition: sheet.type === ImportType.LINK && !sheet.linkAttribute
|
|
46
|
+
condition: sheet.type === ImportType.LINK && !sheet.linkAttribute,
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
error: SheetSettingsError.KEY,
|
|
50
50
|
condition: (sheet.mode === ImportMode.update || sheet.type === ImportType.LINK) &&
|
|
51
51
|
(typeof sheet.keyColumnIndex === 'undefined' ||
|
|
52
52
|
sheet.keyColumnIndex === null ||
|
|
53
|
-
!sheet.mapping[sheet.keyColumnIndex])
|
|
53
|
+
!sheet.mapping[sheet.keyColumnIndex]),
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
error: SheetSettingsError.KEY_TO,
|
|
57
57
|
condition: sheet.type === ImportType.LINK &&
|
|
58
58
|
(typeof sheet.keyToColumnIndex === 'undefined' ||
|
|
59
59
|
sheet.keyToColumnIndex === null ||
|
|
60
|
-
!sheet.mapping[sheet.keyToColumnIndex])
|
|
61
|
-
}
|
|
60
|
+
!sheet.mapping[sheet.keyToColumnIndex]),
|
|
61
|
+
},
|
|
62
62
|
];
|
|
63
63
|
return checks.reduce((errors, check) => {
|
|
64
64
|
if (check.condition) {
|
|
@@ -82,18 +82,18 @@ const importReducer = (state, action) => {
|
|
|
82
82
|
...state,
|
|
83
83
|
sheets: action.sheets,
|
|
84
84
|
settingsError,
|
|
85
|
-
okBtn: !Object.keys(settingsError).length
|
|
85
|
+
okBtn: !Object.keys(settingsError).length,
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
case ImportReducerActionTypes.SET_FILE: {
|
|
89
89
|
return {
|
|
90
90
|
...state,
|
|
91
|
-
file: action.file
|
|
91
|
+
file: action.file,
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
case ImportReducerActionTypes.SET_CURRENT_STEP: {
|
|
95
95
|
let stateChanges = {
|
|
96
|
-
currentStep: action.currentStep
|
|
96
|
+
currentStep: action.currentStep,
|
|
97
97
|
};
|
|
98
98
|
if (action.currentStep === ImportSteps.CONFIG) {
|
|
99
99
|
const settingsError = _getSettingsErrors(state.sheets);
|
|
@@ -101,19 +101,19 @@ const importReducer = (state, action) => {
|
|
|
101
101
|
}
|
|
102
102
|
return {
|
|
103
103
|
...state,
|
|
104
|
-
...stateChanges
|
|
104
|
+
...stateChanges,
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
case ImportReducerActionTypes.SET_OK_BTN: {
|
|
108
108
|
return {
|
|
109
109
|
...state,
|
|
110
|
-
okBtn: action.okBtn
|
|
110
|
+
okBtn: action.okBtn,
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
case ImportReducerActionTypes.SET_IMPORT_ERROR: {
|
|
114
114
|
return {
|
|
115
115
|
...state,
|
|
116
|
-
importError: action.importError
|
|
116
|
+
importError: action.importError,
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
default:
|