@leav/ui 0.4.0 → 1.0.0-e073ed8e
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/README.md +1 -0
- package/dist/__mocks__/common/application.d.ts +3 -0
- package/dist/__mocks__/common/filter.d.ts +4 -0
- package/dist/__mocks__/common/form.js +5 -1
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/__mocks__/common/import.d.ts +2 -0
- package/dist/__mocks__/common/label.d.ts +4 -0
- package/dist/__mocks__/common/library.d.ts +109 -0
- package/dist/__mocks__/common/mockSearchContextProvider.d.ts +6 -0
- package/dist/__mocks__/common/record.d.ts +15 -0
- package/dist/__mocks__/common/tree.d.ts +3 -0
- package/dist/__mocks__/common/treeElements.d.ts +11 -0
- package/dist/__mocks__/common/value.d.ts +4 -0
- package/dist/__mocks__/common/value.js +0 -11
- package/dist/__mocks__/common/value.js.map +1 -1
- package/dist/__mocks__/common/versionProfile.d.ts +2 -0
- package/dist/__mocks__/common/view.d.ts +2 -0
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.d.ts +5 -0
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.d.ts +5 -0
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.d.ts +19 -0
- package/dist/__mocks__/react-i18next.d.ts +31 -0
- package/dist/_gqlTypes/index.d.ts +1753 -263
- package/dist/_gqlTypes/index.js +539 -42
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/applications/applicationDetailsFragment.d.ts +1 -0
- package/dist/_queries/applications/checkApplicationExistence.d.ts +1 -0
- package/dist/_queries/applications/getApplicationDetails.d.ts +1 -0
- package/dist/_queries/applications/getApplicationsModulesQuery.d.ts +1 -0
- package/dist/_queries/applications/saveApplicationMutation.d.ts +1 -0
- package/dist/_queries/attributes/attributeDetailsFragment.d.ts +1 -0
- package/dist/_queries/attributes/attributeDetailsFragment.js +1 -0
- package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
- package/dist/_queries/attributes/checkAttributeExistenceQuery.d.ts +1 -0
- package/dist/_queries/attributes/deleteAttributeMutation.d.ts +1 -0
- package/dist/_queries/attributes/getAttributeByIdQuery.d.ts +1 -0
- package/dist/_queries/attributes/getAttributeWithEmbeddedFields.d.ts +2 -0
- package/dist/_queries/attributes/getAttributesByLib.d.ts +1 -0
- package/dist/_queries/attributes/getAttributesQuery.d.ts +1 -0
- package/dist/_queries/attributes/getVersionProfilesQuery.d.ts +1 -0
- package/dist/_queries/attributes/getVersionableAttributesByLibrary.d.ts +1 -0
- package/dist/_queries/attributes/saveAttributeMutation.d.ts +1 -0
- package/dist/_queries/export/exportQuery.d.ts +1 -0
- package/dist/_queries/files/createDirectory.d.ts +1 -0
- package/dist/_queries/files/forcePreviewsGenerationMutation.d.ts +1 -0
- package/dist/_queries/files/getDirectoryDataQuery.d.ts +1 -0
- package/dist/_queries/files/getUploadUpdates.d.ts +1 -0
- package/dist/_queries/files/uploadMutation.d.ts +1 -0
- package/dist/_queries/import/importExcel.d.ts +1 -0
- package/dist/_queries/libraries/checkLibraryExistenceQuery.d.ts +1 -0
- package/dist/_queries/libraries/deleteLibraryMutation.d.ts +1 -0
- package/dist/_queries/libraries/getLibrariesQuery.d.ts +1 -0
- package/dist/_queries/libraries/getLibraryByIdQuery.d.ts +1 -0
- package/dist/_queries/libraries/getLibraryPermissionsQuery.d.ts +1 -0
- package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.d.ts +1 -0
- package/dist/_queries/libraries/libraryDetailsFragment.d.ts +1 -0
- package/dist/_queries/libraries/saveLibraryMutation.d.ts +1 -0
- package/dist/_queries/permissions/isAllowedQuery.d.ts +1 -0
- package/dist/_queries/records/activateRecordsMutation.d.ts +1 -0
- package/dist/_queries/records/activateRecordsMutation.js +15 -0
- package/dist/_queries/records/activateRecordsMutation.js.map +1 -0
- package/dist/_queries/records/createRecordMutation.d.ts +2 -0
- package/dist/_queries/records/deactivateRecordsMutation.d.ts +1 -0
- package/dist/_queries/records/doesFileExistAsChild.d.ts +1 -0
- package/dist/_queries/records/getFileDataQuery.d.ts +14 -0
- package/dist/_queries/records/getRecordFormQuery.d.ts +1 -0
- package/dist/_queries/records/getRecordFormQuery.js +13 -0
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/records/getRecordPropertiesQuery.d.ts +83 -0
- package/dist/_queries/records/getRecordUpdatesSubscription.d.ts +1 -0
- package/dist/_queries/records/getRecordsFromLibraryQuery.d.ts +22 -0
- package/dist/_queries/records/indexRecordsMutation.d.ts +1 -0
- package/dist/_queries/records/recordFormAttributeFragment.d.ts +1 -0
- package/dist/_queries/tasks/cancelTaskMutation.d.ts +1 -0
- package/dist/_queries/trees/checkTreeExistenceQuery.d.ts +1 -0
- package/dist/_queries/trees/deleteTreeMutation.d.ts +1 -0
- package/dist/_queries/trees/getTreeByIdQuery.d.ts +1 -0
- package/dist/_queries/trees/getTreeLibraries.d.ts +1 -0
- package/dist/_queries/trees/getTreesQuery.d.ts +1 -0
- package/dist/_queries/trees/saveTreeMutation.d.ts +1 -0
- package/dist/_queries/trees/treeDetailsFragment.d.ts +1 -0
- package/dist/_queries/trees/treeNodeChildrenQuery.d.ts +1 -0
- package/dist/_queries/trees/treeNodeChildrenQuery.js +12 -2
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/_queries/userData/getUserData.d.ts +1 -0
- package/dist/_queries/userData/saveUserData.d.ts +1 -0
- package/dist/_queries/values/deleteValueMutation.d.ts +1 -0
- package/dist/_queries/values/saveValueBatchMutation.d.ts +1 -0
- package/dist/_queries/values/valueDetailsFragment.d.ts +1 -0
- package/dist/_queries/values/valuesVersionFragment.d.ts +1 -0
- package/dist/_queries/views/deleteViewMutation.d.ts +8 -0
- package/dist/_queries/views/getViewById.d.ts +1 -0
- package/dist/_queries/views/getViewsListQuery.d.ts +1 -0
- package/dist/_queries/views/saveViewMutation.d.ts +2 -0
- package/dist/_queries/views/viewDetailsFragment.d.ts +2 -0
- package/dist/_utils/__mocks__/isDevEnv.d.ts +1 -0
- package/dist/_utils/attributeType.d.ts +2 -1
- package/dist/_utils/attributeType.js +2 -1
- package/dist/_utils/attributeType.js.map +1 -1
- package/dist/_utils/getFiltersFromRequest.d.ts +3 -0
- package/dist/_utils/getRequestFromFilter.d.ts +3 -0
- package/dist/_utils/index.d.ts +33 -0
- package/dist/_utils/isDevEnv.d.ts +1 -0
- package/dist/_utils/typeguards.d.ts +2 -0
- package/dist/antdTheme/types.d.ts +2 -0
- package/dist/components/AttributePicker/AttributePicker.d.ts +12 -0
- package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +10 -0
- package/dist/components/AttributePicker/AttributesList/index.d.ts +1 -0
- package/dist/components/AttributePicker/index.d.ts +1 -0
- package/dist/components/AttributesSelectionList/Attribute/Attribute.d.ts +3 -0
- package/dist/components/AttributesSelectionList/Attribute/index.d.ts +2 -0
- package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +10 -0
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.d.ts +7 -0
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.d.ts +2 -0
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.d.ts +2 -0
- package/dist/components/AttributesSelectionList/SelectedAttributesList/index.d.ts +2 -0
- package/dist/components/AttributesSelectionList/_types.d.ts +8 -0
- package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.d.ts +3 -0
- package/dist/components/AttributesSelectionList/index.d.ts +2 -0
- package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.d.ts +11 -0
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.d.ts +33 -0
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.d.ts +10 -0
- package/dist/components/AttributesSelectionList/sharedComponents.d.ts +803 -0
- package/dist/components/BasicButton/BasicButton.d.ts +7 -0
- package/dist/components/BasicButton/index.d.ts +1 -0
- package/dist/components/CreateDirectory/CreateDirectory.d.ts +9 -0
- package/dist/components/CreateDirectory/CreateDirectory.js +4 -4
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/CreateDirectory/index.d.ts +1 -0
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +10 -0
- package/dist/components/DeactivateRecordsModal/index.d.ts +1 -0
- package/dist/components/Dimmer/Dimmer.d.ts +5 -0
- package/dist/components/Dimmer/index.d.ts +2 -0
- package/dist/components/EditApplication/EditApplication.d.ts +3 -0
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.d.ts +7 -0
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +11 -0
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.d.ts +6 -0
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.d.ts +2 -0
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.d.ts +2 -0
- package/dist/components/EditApplication/EditApplicationInfo/index.d.ts +1 -0
- package/dist/components/EditApplication/_types.d.ts +8 -0
- package/dist/components/EditApplication/index.d.ts +2 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.d.ts +8 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.d.ts +8 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +12 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.d.ts +9 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.d.ts +9 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.d.ts +9 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttribute/index.d.ts +1 -0
- package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +11 -0
- package/dist/components/EditAttributeModal/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +9 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.d.ts +6 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.d.ts +15 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.d.ts +8 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js +3 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.d.ts +7 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.d.ts +8 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.d.ts +8 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +12 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.d.ts +7 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +10 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.d.ts +8 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +8 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibrary/index.d.ts +1 -0
- package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +12 -0
- package/dist/components/EditLibraryModal/index.d.ts +1 -0
- package/dist/components/EditTreeModal/EditTree/EditTree.d.ts +8 -0
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.d.ts +8 -0
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.d.ts +9 -0
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +8 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.d.ts +1 -0
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.d.ts +1 -0
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.d.ts +1 -0
- package/dist/components/EditTreeModal/EditTree/index.d.ts +1 -0
- package/dist/components/EditTreeModal/EditTreeModal.d.ts +11 -0
- package/dist/components/EditTreeModal/index.d.ts +1 -0
- package/dist/components/EntityCard/EntityCard.d.ts +16 -0
- package/dist/components/EntityCard/_types.d.ts +6 -0
- package/dist/components/EntityCard/index.d.ts +2 -0
- package/dist/components/EntityPreview/EntityPreview.d.ts +4 -0
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.d.ts +3 -0
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.d.ts +5 -0
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.d.ts +2 -0
- package/dist/components/EntityPreview/EntityPreviewList/index.d.ts +2 -0
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +3 -0
- package/dist/components/EntityPreview/EntityPreviewTile/index.d.ts +2 -0
- package/dist/components/EntityPreview/_types.d.ts +20 -0
- package/dist/components/EntityPreview/index.d.ts +2 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +15 -0
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.d.ts +9 -0
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +4 -3
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.d.ts +2 -0
- package/dist/components/ErrorBoundary/index.d.ts +1 -0
- package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +10 -0
- package/dist/components/ErrorDisplay/index.d.ts +1 -0
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +6 -0
- package/dist/components/ErrorMessage/index.d.ts +2 -0
- package/dist/components/Explorer/DataView.d.ts +2 -1
- package/dist/components/Explorer/DataView.js +32 -12
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +10 -6
- package/dist/components/Explorer/Explorer.js +40 -13
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.d.ts +2 -1
- package/dist/components/Explorer/ExplorerToolbar.js +15 -5
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/Explorer/IdCard.d.ts +7 -0
- package/dist/components/Explorer/IdCard.js +1 -1
- package/dist/components/Explorer/IdCard.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +22 -11
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/TableTagGroup.d.ts +0 -1
- package/dist/components/Explorer/TableTagGroup.js +3 -16
- package/dist/components/Explorer/TableTagGroup.js.map +1 -1
- package/dist/components/Explorer/_constants.d.ts +3 -0
- package/dist/components/Explorer/_constants.js +3 -0
- package/dist/components/Explorer/_constants.js.map +1 -1
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.d.ts +2 -2
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js +99 -31
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +4 -2
- package/dist/components/Explorer/_queries/useExplorerData.js +46 -31
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +82 -10
- package/dist/components/Explorer/_types.js +5 -0
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditItemAction.d.ts +2 -1
- package/dist/components/Explorer/actions-item/useEditItemAction.js +6 -4
- package/dist/components/Explorer/actions-item/useEditItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/{useRemoveItemAction.d.ts → useEditStatusItemAction.d.ts} +4 -2
- package/dist/components/Explorer/actions-item/{useRemoveItemAction.js → useEditStatusItemAction.js} +81 -24
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +22 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +42 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +2 -1
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +12 -3
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +6 -5
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +6 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +26 -21
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +7 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +7 -5
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/index.d.ts +9 -0
- package/dist/components/Explorer/link-item/LinkModal.d.ts +5 -0
- package/dist/components/Explorer/link-item/LinkModal.js +55 -5
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/link-item/{useLinkMassAction.d.ts → useAddLinkMassAction.d.ts} +1 -1
- package/dist/components/Explorer/link-item/{useLinkMassAction.js → useAddLinkMassAction.js} +2 -2
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +23 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +35 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -0
- package/dist/components/Explorer/list-saved-views/SavedViews.js +32 -42
- package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +4 -4
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +11 -9
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.d.ts +13 -3
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +81 -12
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.d.ts +8 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +21 -8
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js +9 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.d.ts +9 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js +131 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js +69 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +6 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +43 -4
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.d.ts +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/SidePanel.d.ts +2 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.d.ts +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +2 -2
- 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.d.ts +9 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +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 +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +29 -8
- 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 +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.d.ts +5 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +47 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.d.ts +5 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +48 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -0
- 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 +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.d.ts +4 -0
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.d.ts +10 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.d.ts +4 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.d.ts +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +6 -3
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +12 -3
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +87 -14
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useColumnWidth.js +2 -1
- package/dist/components/Explorer/useColumnWidth.js.map +1 -1
- package/dist/components/Explorer/useLoadView.d.ts +1 -1
- package/dist/components/Explorer/useLoadView.js +31 -35
- package/dist/components/Explorer/useLoadView.js.map +1 -1
- package/dist/components/Explorer/usePagination.d.ts +2 -1
- package/dist/components/Explorer/usePagination.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.d.ts +3 -1
- package/dist/components/Explorer/useSearchInput.js +4 -1
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.d.ts +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.js +44 -19
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/ExportModal/ExportModal.d.ts +10 -0
- package/dist/components/ExportModal/index.d.ts +1 -0
- package/dist/components/FieldsGroup/FieldsGroup.d.ts +9 -0
- package/dist/components/FieldsGroup/index.d.ts +2 -0
- package/dist/components/FloatingMenu/FloatingMenu.d.ts +10 -0
- package/dist/components/FloatingMenu/_types.d.ts +13 -0
- package/dist/components/FloatingMenu/index.d.ts +2 -0
- package/dist/components/ImageLoading/ImageLoading.d.ts +5 -0
- package/dist/components/ImageLoading/index.d.ts +1 -0
- package/dist/components/ImageMissing/ImageMissing.d.ts +5 -0
- package/dist/components/ImageMissing/index.d.ts +1 -0
- package/dist/components/ImportModal/ImportModal.d.ts +10 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.d.ts +8 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.d.ts +6 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.d.ts +7 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +10 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +12 -0
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalConfigStep/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.d.ts +5 -0
- package/dist/components/ImportModal/ImportModalDoneStep/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalProcessingStep/index.d.ts +2 -0
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.d.ts +6 -0
- package/dist/components/ImportModal/ImportModalSelectFileStep/index.d.ts +2 -0
- package/dist/components/ImportModal/_types.d.ts +34 -0
- package/dist/components/ImportModal/importReducer/ImportReducerContext.d.ts +10 -0
- package/dist/components/ImportModal/importReducer/importReducer.d.ts +38 -0
- package/dist/components/ImportModal/importReducer/index.d.ts +2 -0
- package/dist/components/ImportModal/index.d.ts +1 -0
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.d.ts +13 -0
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -0
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.d.ts +2 -0
- package/dist/components/LibraryItemsList/DisplayOptions/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.d.ts +2 -0
- package/dist/components/LibraryItemsList/DisplayTypeSelector/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +13 -0
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +1 -12
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.d.ts +13 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +3 -3
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.d.ts +7 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.d.ts +3 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.d.ts +3 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.d.ts +3 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.d.ts +3 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.d.ts +3 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.d.ts +8 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.d.ts +6 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.d.ts +14 -0
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.d.ts +3 -0
- package/dist/components/LibraryItemsList/IconViewType/IconViewType.d.ts +8 -0
- package/dist/components/LibraryItemsList/IconViewType/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsList.d.ts +14 -0
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.d.ts +16 -0
- package/dist/components/LibraryItemsList/LibraryItemsListContent/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.d.ts +6 -0
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.d.ts +8 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.d.ts +7 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.d.ts +8 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.d.ts +8 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.d.ts +9 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.d.ts +5 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.d.ts +5 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.d.ts +3 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.d.ts +12 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +4 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/types.d.ts +12 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.d.ts +6 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.d.ts +9 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.d.ts +2 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.d.ts +9 -0
- package/dist/components/LibraryItemsList/MenuItemList/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.d.ts +5 -0
- package/dist/components/LibraryItemsList/MenuItemListSelected/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuSelection/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/MenuView/MenuView.d.ts +6 -0
- package/dist/components/LibraryItemsList/MenuView/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/SearchItems/SearchItems.d.ts +2 -0
- package/dist/components/LibraryItemsList/SearchItems/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/Sidebar/Sidebar.d.ts +2 -0
- package/dist/components/LibraryItemsList/Sidebar/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.d.ts +6 -0
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.d.ts +2 -0
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.d.ts +3 -0
- package/dist/components/LibraryItemsList/TileDisplay/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.d.ts +2 -0
- package/dist/components/LibraryItemsList/VersionsPanel/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.d.ts +9 -0
- package/dist/components/LibraryItemsList/ViewPanel/EditView/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/ViewPanel/View/View.d.ts +9 -0
- package/dist/components/LibraryItemsList/ViewPanel/View/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.d.ts +2 -0
- package/dist/components/LibraryItemsList/ViewPanel/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/constants.d.ts +12 -0
- package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.d.ts +3 -0
- package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.d.ts +3 -0
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.d.ts +4 -0
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.d.ts +5 -0
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.d.ts +6 -0
- package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.d.ts +2 -0
- package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.d.ts +2 -0
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.d.ts +8 -0
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.d.ts +2 -0
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.d.ts +7 -0
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.d.ts +5 -0
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.d.ts +7 -0
- package/dist/components/LibraryItemsList/index.d.ts +1 -0
- package/dist/components/LibraryItemsList/manageItems.d.ts +11 -0
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.d.ts +7 -0
- 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.d.ts +2 -0
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.d.ts +12 -0
- package/dist/components/LibraryItemsList/shared/shared.utils.d.ts +4 -0
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +9 -0
- package/dist/components/LibraryPicker/LibrariesList/index.d.ts +1 -0
- package/dist/components/LibraryPicker/LibraryPicker.d.ts +11 -0
- package/dist/components/LibraryPicker/index.d.ts +1 -0
- package/dist/components/List/List.d.ts +12 -0
- package/dist/components/List/index.d.ts +2 -0
- package/dist/components/Loading/Loading.d.ts +5 -0
- package/dist/components/Loading/index.d.ts +1 -0
- package/dist/components/RecordCard/RecordCard.d.ts +3 -0
- package/dist/components/RecordCard/_types.d.ts +15 -0
- package/dist/components/RecordCard/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +4 -5
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +55 -238
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +43 -0
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +25 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordButtons/index.d.ts +2 -0
- package/dist/components/RecordEdition/{EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList → EditRecordButtons}/index.js +2 -2
- package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +25 -23
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +6 -11
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/formConstants.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/formConstants.js +1 -0
- package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/getActiveFieldValues.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/isCurrentVersion.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +28 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +35 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.d.ts +52 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.d.ts +10 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +13 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +6 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +40 -12
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +14 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +76 -92
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.d.ts +22 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js +85 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +24 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +76 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.d.ts +265 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js +13 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +47 -55
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +2 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +2 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -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 +5 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +64 -217
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.d.ts +265 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js +13 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +51 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +27 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +43 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +25 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +133 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/ComputeIndicator.d.ts +4 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/DeleteAllValuesButton.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +15 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +72 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +88 -50
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +53 -13
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +18 -12
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +3 -0
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordSidebar/index.d.ts +2 -0
- package/dist/components/RecordEdition/_types.d.ts +2 -0
- package/dist/components/RecordEdition/constants.d.ts +2 -0
- package/dist/components/RecordEdition/constants.js +6 -0
- package/dist/components/RecordEdition/constants.js.map +1 -0
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +30 -7
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +66 -6
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.d.ts +7 -0
- package/dist/components/RecordEdition/editRecordReducer/index.d.ts +2 -0
- package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.d.ts +1 -0
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.d.ts +1 -0
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.d.ts +2 -0
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.d.ts +2 -0
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js +3 -3
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
- package/dist/components/RecordEdition/index.d.ts +3 -0
- package/dist/components/RecordEdition/index.js +3 -0
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.d.ts +8 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.d.ts +3 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.d.ts +3 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.d.ts +6 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.d.ts +6 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.d.ts +3 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.d.ts +6 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.d.ts +3 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.d.ts +7 -0
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/_constants.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/FileModal/index.d.ts +2 -0
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.d.ts +9 -0
- package/dist/components/RecordPreviewWithModal/index.d.ts +1 -0
- package/dist/components/SearchModal/SearchModal.d.ts +10 -0
- package/dist/components/SearchModal/index.d.ts +1 -0
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +6 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +12 -8
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +8 -2
- package/dist/components/SelectTreeNode/SelectTreeNode.js +4 -5
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +8 -2
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +73 -51
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.d.ts +2 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js +17 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +9 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +8 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -0
- package/dist/components/SelectTreeNode/_types.d.ts +18 -0
- package/dist/components/SelectTreeNode/_types.js +2 -0
- package/dist/components/SelectTreeNode/_types.js.map +1 -0
- package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.d.ts → SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts} +1 -1
- package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.js → SelectTreeNodeModalOld/SelectTreeNodeModalOld.js} +5 -3
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
- package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
- package/dist/components/{RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd → SelectTreeNodeModalOld}/index.js +1 -2
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.d.ts +14 -0
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.d.ts +7 -0
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +6 -3
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.d.ts +2 -0
- package/dist/components/SimpleErrorBoundary/index.d.ts +1 -0
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.d.ts +7 -0
- package/dist/components/SubmitStateNotifier/_types.d.ts +1 -0
- package/dist/components/SubmitStateNotifier/index.d.ts +2 -0
- package/dist/components/TreePicker/TreePicker.d.ts +11 -0
- package/dist/components/TreePicker/TreesList/TreesList.d.ts +9 -0
- package/dist/components/TreePicker/TreesList/index.d.ts +1 -0
- package/dist/components/TreePicker/index.d.ts +1 -0
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +10 -0
- package/dist/components/TriggerPreviewsGenerationModal/index.d.ts +1 -0
- package/dist/components/UploadFiles/UploadFiles.d.ts +13 -0
- package/dist/components/UploadFiles/UploadFiles.js +4 -4
- package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
- package/dist/components/UploadFiles/index.d.ts +1 -0
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +9 -0
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.d.ts +10 -0
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/index.d.ts +2 -0
- package/dist/components/ValuesVersionConfigurator/index.d.ts +2 -0
- package/dist/components/index.d.ts +38 -0
- package/dist/components/index.js +1 -2
- package/dist/components/index.js.map +1 -1
- package/dist/constants.d.ts +3 -1
- package/dist/constants.js +3 -1
- package/dist/constants.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalContext.d.ts +5 -0
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.d.ts +2 -0
- package/dist/contexts/EditRecordModalContext/index.d.ts +2 -0
- package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.d.ts +1 -0
- package/dist/contexts/LangContext/LangContext.d.ts +2 -0
- package/dist/contexts/LangContext/LangContext.js +2 -2
- package/dist/contexts/LangContext/LangContext.js.map +1 -1
- package/dist/contexts/LangContext/index.d.ts +2 -0
- package/dist/contexts/LangContext/types.d.ts +6 -0
- package/dist/contexts/UserContext/UserContext.d.ts +3 -0
- package/dist/contexts/UserContext/index.d.ts +2 -0
- package/dist/contexts/UserContext/types.d.ts +9 -0
- package/dist/contexts/index.d.ts +2 -0
- package/dist/gqlFragments/index.d.ts +1 -0
- package/dist/gqlFragments/recordIdentityFragment.d.ts +1 -0
- package/dist/gqlPossibleTypes/index.d.ts +20 -0
- package/dist/hooks/index.d.ts +17 -0
- package/dist/hooks/index.js +3 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useAntdLocale/index.d.ts +1 -0
- package/dist/hooks/useAntdLocale/useAntdLocale.d.ts +3 -0
- package/dist/hooks/useAppLang/index.d.ts +1 -0
- package/dist/hooks/useAppLang/useAppLang.d.ts +5 -0
- package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
- package/dist/hooks/useAuth/index.d.ts +1 -0
- package/dist/hooks/useAuth/useAuth.d.ts +5 -0
- package/dist/hooks/useCanEditRecord/index.d.ts +1 -0
- package/dist/hooks/useCanEditRecord/useCanEditRecord.d.ts +8 -0
- package/dist/hooks/useDebouncedValue/index.d.ts +1 -0
- package/dist/hooks/useDebouncedValue/useDebouncedValue.d.ts +1 -0
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.d.ts +6 -0
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.d.ts +5 -0
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.d.ts +8 -0
- package/dist/hooks/useGetRecordForm/index.d.ts +2 -0
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +55 -0
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +3 -3
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/index.d.ts +1 -0
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.d.ts +4 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +15 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +121 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/schema.d.ts +21 -0
- package/dist/hooks/useIFrameMessenger/schema.js +76 -0
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/types.d.ts +120 -0
- package/dist/hooks/useIFrameMessenger/types.js +2 -0
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +19 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +108 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +7 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +13 -0
- package/dist/{components/RecordEdition/EditRecord/creationErrorContext.js → hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js} +2 -3
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useLang/__mocks__/index.d.ts +2 -0
- package/dist/hooks/useLang/__mocks__/useLang.d.ts +6 -0
- package/dist/hooks/useLang/index.d.ts +2 -0
- package/dist/hooks/useLang/useLang.d.ts +3 -0
- package/dist/hooks/useLibraryVersionTrees/index.d.ts +1 -0
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.d.ts +10 -0
- package/dist/hooks/useLocalStorage/index.d.ts +1 -0
- package/dist/hooks/useLocalStorage/useLocalStorage.d.ts +2 -0
- package/dist/hooks/useLoginChecker/index.d.ts +1 -0
- package/dist/hooks/useLoginChecker/useLoginChecker.d.ts +3 -0
- package/dist/hooks/useRecordsConsultationHistory/index.d.ts +2 -0
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.d.ts +1 -0
- package/dist/hooks/useRedirectToLogin/index.d.ts +1 -0
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.d.ts +3 -0
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
- package/dist/hooks/useRefreshFieldValues/index.d.ts +1 -0
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.d.ts +7 -0
- package/dist/hooks/useSharedTranslation/__mocks__/index.d.ts +1 -0
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.d.ts +7 -0
- package/dist/hooks/useSharedTranslation/index.d.ts +1 -0
- package/dist/hooks/useSharedTranslation/useSharedTranslation.d.ts +2 -0
- package/dist/hooks/useUser/index.d.ts +1 -0
- package/dist/hooks/useUser/useUser.d.ts +1 -0
- package/dist/hooks/useValuesCacheUpdate/index.d.ts +1 -0
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.d.ts +4 -0
- package/dist/index.d.ts +9 -0
- package/dist/locales/en/shared.json +34 -13
- package/dist/locales/fr/shared.json +33 -12
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.d.ts +4 -0
- package/dist/testing/MockedLangContextProvider/index.d.ts +2 -0
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.d.ts +4 -0
- package/dist/testing/MockedUserContextProvider/index.d.ts +2 -0
- package/dist/testing/index.d.ts +1 -0
- package/dist/types/attributes.d.ts +22 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/misc.d.ts +2 -0
- package/dist/types/records.d.ts +25 -0
- package/dist/types/scalars.d.ts +1 -0
- package/dist/types/search.d.ts +205 -0
- package/dist/types/trees.d.ts +18 -0
- package/dist/types/values.d.ts +7 -0
- package/package.json +23 -8
- package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +0 -1
- package/dist/components/Explorer/link-item/useLinkMassAction.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.d.ts +0 -10
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js +0 -75
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.d.ts +0 -5
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js +0 -28
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +0 -31
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js +0 -29
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.d.ts +0 -20
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +0 -53
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js +0 -111
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +0 -20
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +0 -71
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js +0 -58
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +0 -11
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +0 -50
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js +0 -215
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +0 -35
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +0 -50
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js +0 -106
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/index.d.ts +0 -1
- package/dist/components/SelectTreeNodeModal/index.js +0 -5
- package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
- /package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/ComputeIndicator.js +0 -0
- /package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/calculatedInheritedFlags.d.ts +0 -0
- /package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/calculatedInheritedFlags.js +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
+
// This file is released under LGPL V3
|
|
4
|
+
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
|
+
import { useSharedTranslation } from '../../../../hooks/useSharedTranslation';
|
|
6
|
+
import { KitButton, KitModal, KitTypography } from 'aristid-ds';
|
|
7
|
+
import { FaTimes, FaTrash } from 'react-icons/fa';
|
|
8
|
+
import { useViewSettingsContext } from '../store-view-settings/useViewSettingsContext';
|
|
9
|
+
import { useState } from 'react';
|
|
10
|
+
import { ViewSettingsActionTypes } from '../store-view-settings/viewSettingsReducer';
|
|
11
|
+
import useExecuteDeleteViewMutation from '../../../../hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation';
|
|
12
|
+
import { localizedTranslation } from '@leav/utils';
|
|
13
|
+
import { useLang } from '../../../../hooks';
|
|
14
|
+
import styled from 'styled-components';
|
|
15
|
+
const StyledButton = styled.button `
|
|
16
|
+
all: unset;
|
|
17
|
+
`;
|
|
18
|
+
export const useDeleteView = () => {
|
|
19
|
+
const { t } = useSharedTranslation();
|
|
20
|
+
const { availableLangs } = useLang();
|
|
21
|
+
const { deleteView } = useExecuteDeleteViewMutation();
|
|
22
|
+
const { dispatch } = useViewSettingsContext();
|
|
23
|
+
const [dataViewOnAction, setDataViewOnAction] = useState({ id: null, label: null });
|
|
24
|
+
const _onDeleteConfirm = async () => {
|
|
25
|
+
if (!dataViewOnAction.id) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
const { data } = await deleteView(dataViewOnAction.id);
|
|
29
|
+
if (data) {
|
|
30
|
+
dispatch({
|
|
31
|
+
type: ViewSettingsActionTypes.DELETE_VIEW,
|
|
32
|
+
payload: {
|
|
33
|
+
id: dataViewOnAction.id
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
setDataViewOnAction({ id: null, label: null });
|
|
38
|
+
};
|
|
39
|
+
const iconDelete = (viewItem) => (_jsx(StyledButton, { className: "delete", title: t('explorer.viewList.delete-view'), onClick: () => {
|
|
40
|
+
setDataViewOnAction({ id: viewItem.id, label: viewItem.label });
|
|
41
|
+
}, children: _jsx(FaTrash, {}) }));
|
|
42
|
+
return {
|
|
43
|
+
iconDelete,
|
|
44
|
+
deleteModal: dataViewOnAction.id && dataViewOnAction.label && (_jsx(KitModal, { appElement: document.body, title: t('explorer.viewList.confirm-delete-view'), isOpen: !!dataViewOnAction.id && !!dataViewOnAction.label, footer: _jsxs(_Fragment, { children: [_jsx(KitButton, { type: "secondary", onClick: () => setDataViewOnAction({ id: null, label: null }), icon: _jsx(FaTimes, {}), children: t('global.close') }), _jsx(KitButton, { type: "primary", danger: true, onClick: _onDeleteConfirm, icon: _jsx(FaTrash, {}), children: t('global.delete') })] }), children: _jsx(KitTypography.Text, { size: "fontSize3", weight: "medium", children: localizedTranslation(dataViewOnAction.label, availableLangs) }) }))
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=useDeleteView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDeleteView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useDeleteView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAC,OAAO,EAAE,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAiB,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAC,uBAAuB,EAAC,MAAM,4CAA4C,CAAC;AACnF,OAAO,4BAA4B,MAAM,qEAAqE,CAAC;AAC/G,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAGvC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAA;;CAEjC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE;IAC9B,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,cAAc,EAAC,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AQ,CAAC,IAAI,EACzB,KAAK,EAAE,CAAC,CAAC,uCAAuC,CAAC,EACjD,MAAM,EAAE,CAAC,CAAC,gBAAgB,CAAC,EAAE,IAAI,CAAC,CAAC,gBAAgB,CAAC,KAAK,EACzD,MAAM,EACF,8BACI,KAAC,SAAS,IACN,IAAI,EAAC,WAAW,EAChB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAC,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC,EAC3D,IAAI,EAAE,KAAC,OAAO,KAAG,YAEhB,CAAC,CAAC,cAAc,CAAC,GACV,EACZ,KAAC,SAAS,IAAC,IAAI,EAAC,SAAS,EAAC,MAAM,QAAC,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,KAAC,OAAO,KAAG,YACxE,CAAC,CAAC,eAAe,CAAC,GACX,IACb,YAGP,KAAC,aAAa,CAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,MAAM,EAAC,QAAQ,YAC/C,oBAAoB,CAAC,gBAAgB,CAAC,KAAK,EAAE,cAAc,CAAC,GAC5C,GACd,CACd;KACJ,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
+
// This file is released under LGPL V3
|
|
4
|
+
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
|
+
import { FaEdit } from 'react-icons/fa';
|
|
6
|
+
import { useViewSettingsContext } from '../store-view-settings/useViewSettingsContext';
|
|
7
|
+
import { useState } from 'react';
|
|
8
|
+
import { ViewSettingsActionTypes } from '../store-view-settings/viewSettingsReducer';
|
|
9
|
+
import useExecuteUpdateViewMutation from '../../_queries/useExecuteUpdateViewMutation';
|
|
10
|
+
import { LabelViewFormModal } from './LabelViewFormModal';
|
|
11
|
+
import styled from 'styled-components';
|
|
12
|
+
import { useSharedTranslation } from '../../../../hooks/useSharedTranslation';
|
|
13
|
+
const StyledButton = styled.button `
|
|
14
|
+
all: unset;
|
|
15
|
+
`;
|
|
16
|
+
export const useEditLabelView = () => {
|
|
17
|
+
const { t } = useSharedTranslation();
|
|
18
|
+
const { updateView } = useExecuteUpdateViewMutation();
|
|
19
|
+
const { dispatch } = useViewSettingsContext();
|
|
20
|
+
const [dataViewOnAction, setDataViewOnAction] = useState({ id: null, label: null });
|
|
21
|
+
const _onEditLabel = async (label) => {
|
|
22
|
+
if (!dataViewOnAction.id) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
const mappedView = {
|
|
26
|
+
id: dataViewOnAction.id,
|
|
27
|
+
label
|
|
28
|
+
};
|
|
29
|
+
const { data } = await updateView({
|
|
30
|
+
view: mappedView
|
|
31
|
+
});
|
|
32
|
+
if (data) {
|
|
33
|
+
dispatch({
|
|
34
|
+
type: ViewSettingsActionTypes.RENAME_VIEW,
|
|
35
|
+
payload: {
|
|
36
|
+
id: data.updateView.id,
|
|
37
|
+
label: data.updateView.label
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
const iconEditLabel = (viewItem) => (_jsx(StyledButton, { className: "edit", title: t('explorer.viewList.edit-view'), onClick: () => setDataViewOnAction({ id: viewItem.id, label: viewItem.label }), children: _jsx(FaEdit, {}) }));
|
|
43
|
+
return {
|
|
44
|
+
iconEditLabel,
|
|
45
|
+
editViewModal: dataViewOnAction.id && dataViewOnAction.label && (_jsx(LabelViewFormModal, { viewData: dataViewOnAction.label, isOpen: true, onSubmit: _onEditLabel, onClose: () => setDataViewOnAction({ id: null, label: null }) }))
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=useEditLabelView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEditLabelView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer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E,CAAC;YACP,QAAQ,CAAC;gBACL,IAAI,EAAE,uBAAuB,CAAC,WAAW;gBACzC,OAAO,EAAE;oBACL,EAAE,EAAE,IAAI,CAAC,UAAU,CAAC,EAAE;oBACtB,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;iBAC/B;aACJ,CAAC,CAAC;QACP,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG,CAAC,QAAmB,EAAE,EAAE,CAAC,CAC3C,KAAC,YAAY,IACT,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,CAAC,CAAC,6BAA6B,CAAC,EACvC,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAC,CAAC,YAE5E,KAAC,MAAM,KAAG,GACC,CAClB,CAAC;IAEF,OAAO;QACH,aAAa;QACb,aAAa,EAAE,gBAAgB,CAAC,EAAE,IAAI,gBAAgB,CAAC,KAAK,IAAI,CAC5D,KAAC,kBAAkB,IACf,QAAQ,EAAE,gBAAgB,CAAC,KAAK,EAChC,MAAM,QACN,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAC,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC,GAC7D,CACL;KACJ,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -14,7 +14,7 @@ export const useResetView = () => {
|
|
|
14
14
|
dispatch({ type: ViewSettingsActionTypes.RESTORE_INITIAL_VIEW_SETTINGS });
|
|
15
15
|
};
|
|
16
16
|
return {
|
|
17
|
-
resetViewButton: (_jsx(KitButton, { type: "action", icon: _jsx(FaUndo, {}), onClick: _resetView, children: t('explorer.reinit-view') }))
|
|
17
|
+
resetViewButton: (_jsx(KitButton, { type: "action", icon: _jsx(FaUndo, {}), onClick: _resetView, children: t('explorer.viewList.reinit-view') }))
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=useResetView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useResetView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useResetView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAC,uBAAuB,EAAC,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAEtC,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,EAAE;IAC7B,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,QAAQ,EAAC,GAAG,sBAAsB,EAAE,CAAC;IAE5C,MAAM,UAAU,GAAG,GAAG,EAAE;QACpB,QAAQ,CAAC,EAAC,IAAI,EAAE,uBAAuB,CAAC,6BAA6B,EAAC,CAAC,CAAC;IAC5E,CAAC,CAAC;IAEF,OAAO;QACH,eAAe,EAAE,CACb,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAC,MAAM,KAAG,EAAE,OAAO,EAAE,UAAU,YACzD,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useResetView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useResetView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAC,uBAAuB,EAAC,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAEtC,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,EAAE;IAC7B,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,QAAQ,EAAC,GAAG,sBAAsB,EAAE,CAAC;IAE5C,MAAM,UAAU,GAAG,GAAG,EAAE;QACpB,QAAQ,CAAC,EAAC,IAAI,EAAE,uBAAuB,CAAC,6BAA6B,EAAC,CAAC,CAAC;IAC5E,CAAC,CAAC;IAEF,OAAO;QACH,eAAe,EAAE,CACb,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAC,MAAM,KAAG,EAAE,OAAO,EAAE,UAAU,YACzD,CAAC,CAAC,+BAA+B,CAAC,GAC3B,CACf;KACJ,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -58,7 +58,7 @@ export const useShareView = () => {
|
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
return {
|
|
61
|
-
shareViewButton: !view.viewId || (isSharedView && !isOwnerView) ? null : (_jsx(KitButton, { type: "action", icon: _jsx(FaShare, {}), onClick: _toggleShareView, children: isSharedView ? t('explorer.unshare-view') : t('explorer.share-view') }))
|
|
61
|
+
shareViewButton: !view.viewId || (isSharedView && !isOwnerView) ? null : (_jsx(KitButton, { type: "action", icon: _jsx(FaShare, {}), onClick: _toggleShareView, children: isSharedView ? t('explorer.viewList.unshare-view') : t('explorer.viewList.share-view') }))
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
64
|
//# sourceMappingURL=useShareView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useShareView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useShareView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC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AAQ,CAAC;qBACvD;oBACD,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE,GAAG,CAAC,CAAC,EAAC,EAAE,EAAC,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE;iBACjE;aACJ,CAAC,CAAC;QACP,CAAC;IACL,CAAC,CAAC;IAEF,OAAO;QACH,eAAe,EACX,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,YAAY,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACpD,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAC,OAAO,KAAG,EAAE,OAAO,EAAE,gBAAgB,YAChE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useShareView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useShareView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC1C,OAAO,0BAA0B,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAC,uBAAuB,EAAC,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAC,+BAA+B,EAAC,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAC,mBAAmB,EAAC,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AAEzC,MAAM,CAAC,MAA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0 +1,10 @@
|
|
|
1
|
+
import { ComponentProps, FunctionComponent } from 'react';
|
|
2
|
+
import { KitButton, KitFilter } from 'aristid-ds';
|
|
3
|
+
interface IActiveFilterListItemProps {
|
|
4
|
+
attributeId: string;
|
|
5
|
+
isDraggable?: true;
|
|
6
|
+
filterChipProps: Pick<ComponentProps<typeof KitFilter>, 'label' | 'values' | 'expandable' | 'dropDownProps'>;
|
|
7
|
+
visibilityButtonProps: Pick<ComponentProps<typeof KitButton>, 'onClick' | 'icon' | 'title'>;
|
|
8
|
+
}
|
|
9
|
+
export declare const SortListItem: FunctionComponent<IActiveFilterListItemProps>;
|
|
10
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IViewSettingsState } from './viewSettingsReducer';
|
|
2
2
|
export declare const defaultPageSizeOptions: number[];
|
|
3
3
|
export declare const defaultMaxFilters = 3;
|
|
4
|
+
export declare const DefaultViewId: any;
|
|
4
5
|
export declare const viewSettingsInitialState: IViewSettingsState;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export const defaultPageSizeOptions = [20, 50
|
|
1
|
+
export const defaultPageSizeOptions = [20, 50];
|
|
2
2
|
export const defaultMaxFilters = 3;
|
|
3
|
+
export const DefaultViewId = null;
|
|
3
4
|
export const viewSettingsInitialState = {
|
|
4
5
|
libraryId: '',
|
|
5
6
|
viewType: 'table',
|
|
6
|
-
viewId:
|
|
7
|
+
viewId: DefaultViewId,
|
|
7
8
|
viewModified: false,
|
|
8
9
|
viewLabels: {},
|
|
9
10
|
savedViews: [],
|
|
@@ -15,6 +16,7 @@ export const viewSettingsInitialState = {
|
|
|
15
16
|
fulltextSearch: '',
|
|
16
17
|
sort: [],
|
|
17
18
|
pageSize: defaultPageSizeOptions[0],
|
|
19
|
+
filtersOperator: 'AND',
|
|
18
20
|
filters: [],
|
|
19
21
|
maxFilters: defaultMaxFilters,
|
|
20
22
|
massSelection: [],
|
|
@@ -30,6 +32,7 @@ export const viewSettingsInitialState = {
|
|
|
30
32
|
attributesIds: [],
|
|
31
33
|
sort: [],
|
|
32
34
|
filters: []
|
|
33
|
-
}
|
|
35
|
+
},
|
|
36
|
+
enableConfigureView: false
|
|
34
37
|
};
|
|
35
38
|
//# sourceMappingURL=viewSettingsInitialState.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewSettingsInitialState.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EAAE,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"viewSettingsInitialState.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAE/C,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAEnC,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;AAElC,MAAM,CAAC,MAAM,wBAAwB,GAAuB;IACxD,SAAS,EAAE,EAAE;IACb,QAAQ,EAAE,OAAO;IACjB,MAAM,EAAE,aAAa;IACrB,YAAY,EAAE,KAAK;IACnB,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,EAAE;IACd,UAAU,EAAE;QACR,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,EAAE;KAChB;IACD,aAAa,EAAE,EAAE;IACjB,cAAc,EAAE,EAAE;IAClB,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,sBAAsB,CAAC,CAAC,CAAC;IACnC,eAAe,EAAE,KAAK;IACtB,OAAO,EAAE,EAAE;IACX,UAAU,EAAE,iBAAiB;IAC7B,aAAa,EAAE,EAAE;IACjB,mBAAmB,EAAE;QACjB,QAAQ,EAAE,OAAO;QACjB,aAAa,EAAE,EAAE;QACjB,IAAI,EAAE,EAAE;QACR,QAAQ,EAAE,sBAAsB,CAAC,CAAC,CAAC;QACnC,OAAO,EAAE,EAAE;KACd;IACD,mBAAmB,EAAE;QACjB,QAAQ,EAAE,OAAO;QACjB,aAAa,EAAE,EAAE;QACjB,IAAI,EAAE,EAAE;QACR,OAAO,EAAE,EAAE;KACd;IACD,mBAAmB,EAAE,KAAK;CAC7B,CAAC"}
|
package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SortOrder } from '../../../../_gqlTypes';
|
|
2
|
-
import { DefaultViewSettings, Entrypoint, ExplorerFilter, IUserView, MassSelection } from '../../_types';
|
|
2
|
+
import { DefaultViewSettings, Entrypoint, ExplorerFilter, IExplorerFilterTree, IUserView, MassSelection } from '../../_types';
|
|
3
3
|
export type ViewType = 'table' | 'list' | 'timeline' | 'mosaic';
|
|
4
4
|
export declare const ViewSettingsActionTypes: {
|
|
5
5
|
readonly RESET: "RESET";
|
|
@@ -24,6 +24,7 @@ export declare const ViewSettingsActionTypes: {
|
|
|
24
24
|
readonly RESTORE_INITIAL_VIEW_SETTINGS: "RESTORE_INITIAL_VIEW_SETTINGS";
|
|
25
25
|
readonly UPDATE_VIEWS: "UPDATE_VIEWS";
|
|
26
26
|
readonly RENAME_VIEW: "RENAME_VIEW";
|
|
27
|
+
readonly DELETE_VIEW: "DELETE_VIEW";
|
|
27
28
|
readonly LOAD_VIEW: "LOAD_VIEW";
|
|
28
29
|
};
|
|
29
30
|
export interface IViewSettingsState {
|
|
@@ -41,11 +42,13 @@ export interface IViewSettingsState {
|
|
|
41
42
|
order: SortOrder;
|
|
42
43
|
}>;
|
|
43
44
|
pageSize: number;
|
|
45
|
+
filtersOperator: 'AND' | 'OR';
|
|
44
46
|
filters: ExplorerFilter[];
|
|
45
47
|
maxFilters: number;
|
|
46
48
|
initialViewSettings: Pick<IViewSettingsState, 'viewType' | 'attributesIds' | 'sort' | 'pageSize' | 'filters'>;
|
|
47
49
|
defaultViewSettings: DefaultViewSettings;
|
|
48
50
|
massSelection: MassSelection;
|
|
51
|
+
enableConfigureView?: boolean;
|
|
49
52
|
}
|
|
50
53
|
interface IViewSettingsActionChangePageSize {
|
|
51
54
|
type: typeof ViewSettingsActionTypes.CHANGE_PAGE_SIZE;
|
|
@@ -131,7 +134,7 @@ interface IViewSettingsActionRemoveFilter {
|
|
|
131
134
|
}
|
|
132
135
|
interface IViewSettingsActionChangeFilterConfig {
|
|
133
136
|
type: typeof ViewSettingsActionTypes.CHANGE_FILTER_CONFIG;
|
|
134
|
-
payload: ExplorerFilter;
|
|
137
|
+
payload: ExplorerFilter | IExplorerFilterTree;
|
|
135
138
|
}
|
|
136
139
|
interface IViewSettingsActionMoveFilter {
|
|
137
140
|
type: typeof ViewSettingsActionTypes.MOVE_FILTER;
|
|
@@ -163,6 +166,12 @@ interface IViewSettingsActionRenameView {
|
|
|
163
166
|
type: typeof ViewSettingsActionTypes.RENAME_VIEW;
|
|
164
167
|
payload: IViewDataPayload;
|
|
165
168
|
}
|
|
169
|
+
interface IViewSettingsActionDeleteView {
|
|
170
|
+
type: typeof ViewSettingsActionTypes.DELETE_VIEW;
|
|
171
|
+
payload: {
|
|
172
|
+
id: string;
|
|
173
|
+
};
|
|
174
|
+
}
|
|
166
175
|
export type IViewSettingsActionLoadViewPayload = Pick<IViewSettingsState, 'viewId' | 'viewLabels' | 'viewType' | 'attributesIds' | 'sort' | 'filters'>;
|
|
167
176
|
interface IViewSettingsActionLoadView {
|
|
168
177
|
type: typeof ViewSettingsActionTypes.LOAD_VIEW;
|
|
@@ -176,6 +185,6 @@ type Reducer<PAYLOAD extends {
|
|
|
176
185
|
payload: 'no_payload';
|
|
177
186
|
}> = PAYLOAD['payload'] extends 'no_payload' ? (state: IViewSettingsState) => IViewSettingsState : (state: IViewSettingsState, payload: PAYLOAD['payload']) => IViewSettingsState;
|
|
178
187
|
export declare const clearFulltextSearch: Reducer;
|
|
179
|
-
export type IViewSettingsAction = IViewSettingsActionResetAttributes | IViewSettingsActionAddAttribute | IViewSettingsActionRemoveAttribute | IViewSettingsActionMoveAttribute | IViewSettingsActionChangeViewType | IViewSettingsActionAddSort | IViewSettingsActionRemoveSort | IViewSettingsActionChangeSortOrder | IViewSettingsActionMoveSort | IViewSettingsActionChangePageSize | IViewSettingsActionChangeFulltextSearch | IViewSettingsActionClearFulltextSearch | IViewSettingsActionAddFilter | IViewSettingsActionResetFilter | IViewSettingsActionRemoveFilter | IViewSettingsActionChangeFilterConfig | IViewSettingsActionMoveFilter | IViewSettingsActionReset | IViewSettingsActionSetSelectedKeys | IViewSettingsActionRestoreInitialViewSettings | IViewSettingsActionUpdateViewListAndCurrentView | IViewSettingsActionRenameView | IViewSettingsActionLoadView;
|
|
188
|
+
export type IViewSettingsAction = IViewSettingsActionResetAttributes | IViewSettingsActionAddAttribute | IViewSettingsActionRemoveAttribute | IViewSettingsActionMoveAttribute | IViewSettingsActionChangeViewType | IViewSettingsActionAddSort | IViewSettingsActionRemoveSort | IViewSettingsActionChangeSortOrder | IViewSettingsActionMoveSort | IViewSettingsActionChangePageSize | IViewSettingsActionChangeFulltextSearch | IViewSettingsActionClearFulltextSearch | IViewSettingsActionAddFilter | IViewSettingsActionResetFilter | IViewSettingsActionRemoveFilter | IViewSettingsActionChangeFilterConfig | IViewSettingsActionMoveFilter | IViewSettingsActionReset | IViewSettingsActionSetSelectedKeys | IViewSettingsActionRestoreInitialViewSettings | IViewSettingsActionUpdateViewListAndCurrentView | IViewSettingsActionRenameView | IViewSettingsActionDeleteView | IViewSettingsActionLoadView;
|
|
180
189
|
export declare const viewSettingsReducer: (state: IViewSettingsState, action: IViewSettingsAction) => IViewSettingsState;
|
|
181
190
|
export {};
|
package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
4
|
import { v4 as uuid } from 'uuid';
|
|
5
5
|
import { AttributeFormat } from '../../../../_gqlTypes';
|
|
6
|
-
import { isExplorerFilterLink, isExplorerFilterStandard, isExplorerFilterThrough } from '../../_types';
|
|
7
|
-
import { hasOnlyNoValueConditions } from '../../conditionsHelper';
|
|
8
|
-
import { conditionsByFormat } from '../filter-items/filter-type/useConditionOptionsByType';
|
|
9
|
-
import { ThroughConditionFilter } from '../../../../types';
|
|
6
|
+
import { isExplorerFilterLink, isExplorerFilterStandard, isExplorerFilterThrough, isExplorerFilterTree, isExplorerFilterValueList } from '../../_types';
|
|
7
|
+
import { hasOnlyNoValueConditions, nullValueConditions } from '../../conditionsHelper';
|
|
8
|
+
import { conditionsByFormat, getFirstConditionByFilterType } from '../filter-items/filter-type/useConditionOptionsByType';
|
|
9
|
+
import { AttributeConditionFilter, ThroughConditionFilter } from '../../../../types';
|
|
10
|
+
import { DefaultViewId } from './viewSettingsInitialState';
|
|
11
|
+
import { isLinkAttribute } from '../../../../_utils/attributeType';
|
|
10
12
|
export const ViewSettingsActionTypes = {
|
|
11
13
|
RESET: 'RESET',
|
|
12
14
|
ADD_ATTRIBUTE: 'ADD_ATTRIBUTE',
|
|
@@ -30,6 +32,7 @@ export const ViewSettingsActionTypes = {
|
|
|
30
32
|
RESTORE_INITIAL_VIEW_SETTINGS: 'RESTORE_INITIAL_VIEW_SETTINGS',
|
|
31
33
|
UPDATE_VIEWS: 'UPDATE_VIEWS',
|
|
32
34
|
RENAME_VIEW: 'RENAME_VIEW',
|
|
35
|
+
DELETE_VIEW: 'DELETE_VIEW',
|
|
33
36
|
LOAD_VIEW: 'LOAD_VIEW'
|
|
34
37
|
};
|
|
35
38
|
const changePageSize = (state, payload) => ({
|
|
@@ -99,21 +102,38 @@ export const clearFulltextSearch = state => ({
|
|
|
99
102
|
...state,
|
|
100
103
|
fulltextSearch: ''
|
|
101
104
|
});
|
|
102
|
-
const addFilter = (state, payload) =>
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
const addFilter = (state, payload) => {
|
|
106
|
+
const hasValueList = payload.attribute.valuesList;
|
|
107
|
+
let condition = hasOnlyNoValueConditions(payload.attribute.format)
|
|
108
|
+
? null
|
|
109
|
+
: (conditionsByFormat[payload.attribute.format][0] ?? null);
|
|
110
|
+
if (hasValueList) {
|
|
111
|
+
condition = AttributeConditionFilter.EQUAL;
|
|
112
|
+
}
|
|
113
|
+
const filterToAdd = isExplorerFilterTree(payload)
|
|
114
|
+
? {
|
|
107
115
|
...payload,
|
|
108
116
|
id: uuid(),
|
|
117
|
+
field: Array.isArray(payload.field) ? payload.field : [payload.field],
|
|
109
118
|
condition: hasOnlyNoValueConditions(payload.attribute.format)
|
|
110
119
|
? null
|
|
111
|
-
: (
|
|
120
|
+
: getFirstConditionByFilterType(payload)[0],
|
|
112
121
|
value: null
|
|
113
122
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
123
|
+
: {
|
|
124
|
+
...payload,
|
|
125
|
+
field: isLinkAttribute(payload.attribute.type) ? `${payload.field}.id` : payload.field,
|
|
126
|
+
id: uuid(),
|
|
127
|
+
condition,
|
|
128
|
+
value: null,
|
|
129
|
+
valuesList: hasValueList ? payload.attribute.valuesList : undefined
|
|
130
|
+
};
|
|
131
|
+
return {
|
|
132
|
+
...state,
|
|
133
|
+
filters: [...state.filters, filterToAdd],
|
|
134
|
+
viewModified: true
|
|
135
|
+
};
|
|
136
|
+
};
|
|
117
137
|
const resetFilter = (state, payload) => ({
|
|
118
138
|
...state,
|
|
119
139
|
filters: state.filters.map(filter => {
|
|
@@ -122,6 +142,13 @@ const resetFilter = (state, payload) => ({
|
|
|
122
142
|
if (initialViewFilter) {
|
|
123
143
|
return initialViewFilter;
|
|
124
144
|
}
|
|
145
|
+
if (isExplorerFilterValueList(filter)) {
|
|
146
|
+
return {
|
|
147
|
+
...filter,
|
|
148
|
+
condition: null,
|
|
149
|
+
value: null
|
|
150
|
+
};
|
|
151
|
+
}
|
|
125
152
|
if (isExplorerFilterStandard(filter)) {
|
|
126
153
|
return {
|
|
127
154
|
...filter,
|
|
@@ -145,6 +172,13 @@ const resetFilter = (state, payload) => ({
|
|
|
145
172
|
value: null
|
|
146
173
|
};
|
|
147
174
|
}
|
|
175
|
+
if (isExplorerFilterTree(filter)) {
|
|
176
|
+
return {
|
|
177
|
+
...filter,
|
|
178
|
+
condition: null,
|
|
179
|
+
value: null
|
|
180
|
+
};
|
|
181
|
+
}
|
|
148
182
|
}
|
|
149
183
|
return filter;
|
|
150
184
|
})
|
|
@@ -156,7 +190,18 @@ const removeFilter = (state, payload) => ({
|
|
|
156
190
|
});
|
|
157
191
|
const changeFilterConfig = (state, payload) => ({
|
|
158
192
|
...state,
|
|
159
|
-
filters: state.filters.map(filter =>
|
|
193
|
+
filters: state.filters.map(filter => {
|
|
194
|
+
if (filter.id !== payload.id) {
|
|
195
|
+
return filter;
|
|
196
|
+
}
|
|
197
|
+
if (isExplorerFilterTree(filter) && payload.value && payload.value.length === 0) {
|
|
198
|
+
return { ...filter, ...payload, value: null };
|
|
199
|
+
}
|
|
200
|
+
if (isExplorerFilterValueList(filter) && filter.condition && nullValueConditions.includes(filter.condition)) {
|
|
201
|
+
return { ...filter, ...payload, value: null };
|
|
202
|
+
}
|
|
203
|
+
return { ...filter, ...payload };
|
|
204
|
+
}),
|
|
160
205
|
viewModified: true
|
|
161
206
|
});
|
|
162
207
|
const moveFilter = (state, payload) => {
|
|
@@ -200,6 +245,31 @@ const renameView = (state, payload) => ({
|
|
|
200
245
|
viewLabels: payload.label,
|
|
201
246
|
savedViews: state.savedViews.map(view => (view.id === payload.id ? { ...view, label: payload?.label } : view))
|
|
202
247
|
});
|
|
248
|
+
const deleteView = (state, payload) => {
|
|
249
|
+
const newSavedViews = [...state.savedViews];
|
|
250
|
+
const indexViewDeleted = newSavedViews.findIndex(view => view.id === payload.id);
|
|
251
|
+
// TODO use newES6 syntax (toSpliced)
|
|
252
|
+
if (indexViewDeleted !== -1) {
|
|
253
|
+
newSavedViews.splice(indexViewDeleted, 1);
|
|
254
|
+
}
|
|
255
|
+
if (state.viewId === payload.id) {
|
|
256
|
+
const defaultViewSettings = {
|
|
257
|
+
...state.defaultViewSettings,
|
|
258
|
+
viewId: DefaultViewId,
|
|
259
|
+
viewLabels: {},
|
|
260
|
+
viewModified: false
|
|
261
|
+
};
|
|
262
|
+
return {
|
|
263
|
+
...state,
|
|
264
|
+
...defaultViewSettings,
|
|
265
|
+
savedViews: newSavedViews
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
return {
|
|
269
|
+
...state,
|
|
270
|
+
savedViews: newSavedViews
|
|
271
|
+
};
|
|
272
|
+
};
|
|
203
273
|
const loadView = (state, payload) => ({
|
|
204
274
|
...state,
|
|
205
275
|
...payload,
|
|
@@ -280,6 +350,9 @@ export const viewSettingsReducer = (state, action) => {
|
|
|
280
350
|
case ViewSettingsActionTypes.RENAME_VIEW: {
|
|
281
351
|
return renameView(state, action.payload);
|
|
282
352
|
}
|
|
353
|
+
case ViewSettingsActionTypes.DELETE_VIEW: {
|
|
354
|
+
return deleteView(state, action.payload);
|
|
355
|
+
}
|
|
283
356
|
case ViewSettingsActionTypes.LOAD_VIEW: {
|
|
284
357
|
return loadView(state, action.payload);
|
|
285
358
|
}
|
package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewSettingsReducer.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,EAAE,IAAI,IAAI,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAY,eAAe,EAAC,MAAM,eAAe,CAAC;AACzD,OAAO,EAKH,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EAG1B,MAAM,cAAc,CAAC;A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KAAK,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,uBAAuB,CAAC,YAAY,CAAC,CAAC,CAAC;YACxC,OAAO,4BAA4B,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;QAC/D,CAAC;QACD,KAAK,uBAAuB,CAAC,WAAW,CAAC,CAAC,CAAC;YACvC,OAAO,UAAU,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC;YACrC,OAAO,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;QAC3C,CAAC;QACD;YACI,OAAO,KAAK,CAAC;IACrB,CAAC;AACL,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"viewSettingsReducer.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,EAAE,IAAI,IAAI,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,eAAe,EAAmC,MAAM,eAAe,CAAC;AAChF,OAAO,EAMH,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EAG5B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,wBAAwB,EAAE,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;AACrF,OAAO,EAAC,kBAAkB,EAAE,6BAA6B,EAAC,MAAM,uDAAuD,CAAC;AACxH,OAAO,EAAC,wBAAwB,EAAE,sBAAsB,EAAC,MAAM,WAAW,CAAC;AAC3E,OAAO,EAAC,aAAa,EAAC,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAIzD,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,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,WAAW,CAAC,CAAC,CAAC;YACvC,OAAO,UAAU,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,uBAAuB,CAAC,WAAW,CAAC,CAAC,CAAC;YACvC,OAAO,UAAU,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC;YACrC,OAAO,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;QAC3C,CAAC;QACD;YACI,OAAO,KAAK,CAAC;IACrB,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { isTypeStandard } from '@leav/utils';
|
|
5
5
|
import { useEffect, useRef, useState } from 'react';
|
|
6
6
|
import { AttributeFormat } from '../../_gqlTypes';
|
|
7
|
+
const minmimumWidthForOneLineActionHeader = 60;
|
|
7
8
|
const FieldColumnWidth = {
|
|
8
9
|
TINY: 125,
|
|
9
10
|
SMALL: 150,
|
|
@@ -43,7 +44,7 @@ export const useColumnWidth = () => {
|
|
|
43
44
|
ref,
|
|
44
45
|
getFieldColumnWidth: _getFieldColumWidth,
|
|
45
46
|
columnWidth,
|
|
46
|
-
actionsColumnHeaderWidth: columnWidth - lastColumnsInlinePadding
|
|
47
|
+
actionsColumnHeaderWidth: Math.max(columnWidth - lastColumnsInlinePadding, minmimumWidthForOneLineActionHeader)
|
|
47
48
|
};
|
|
48
49
|
};
|
|
49
50
|
//# sourceMappingURL=useColumnWidth.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useColumnWidth.js","sourceRoot":"","sources":["../../../src/components/Explorer/useColumnWidth.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAC,SAAS,EAAE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