@leav/ui 1.4.1-ce4ec267 → 1.4.1-ce88e1f7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__mocks__/common/application.js +4 -4
- package/dist/__mocks__/common/attribute.js +34 -34
- package/dist/__mocks__/common/attribute.js.map +1 -1
- package/dist/__mocks__/common/filter.js +4 -4
- package/dist/__mocks__/common/filter.js.map +1 -1
- package/dist/__mocks__/common/form.js +58 -58
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/__mocks__/common/import.js +5 -5
- package/dist/__mocks__/common/label.js +1 -1
- package/dist/__mocks__/common/library.js +25 -25
- package/dist/__mocks__/common/library.js.map +1 -1
- package/dist/__mocks__/common/mockSearchContextProvider.js +1 -1
- package/dist/__mocks__/common/record.js +3 -3
- package/dist/__mocks__/common/tree.js +7 -7
- package/dist/__mocks__/common/treeElements.js +14 -14
- package/dist/__mocks__/common/value.js +6 -6
- package/dist/__mocks__/common/versionProfile.js +1 -1
- package/dist/__mocks__/common/view.js +5 -5
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +10 -10
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +5 -5
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +12 -12
- package/dist/__mocks__/react-i18next.js +6 -6
- package/dist/_gqlTypes/index.d.ts +0 -5
- package/dist/_gqlTypes/index.js +2 -8
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/export/exportQuery.js +2 -2
- package/dist/_queries/records/getRecordPropertiesQuery.js +1 -1
- package/dist/_queries/records/getRecordPropertiesQuery.js.map +1 -1
- package/dist/_utils/getFiltersFromRequest.js +9 -9
- package/dist/_utils/getFiltersFromRequest.js.map +1 -1
- package/dist/_utils/getRequestFromFilter.js +5 -5
- package/dist/_utils/index.js +10 -10
- package/dist/_utils/index.js.map +1 -1
- package/dist/antdTheme/index.js +6 -6
- package/dist/antdTheme/index.js.map +1 -1
- package/dist/components/AttributePicker/AttributePicker.d.ts +1 -1
- package/dist/components/AttributePicker/AttributePicker.js +1 -1
- package/dist/components/AttributePicker/AttributePicker.js.map +1 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +1 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.js +29 -29
- package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/AttributesSelectionList/Attribute/Attribute.js +2 -2
- package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +1 -1
- package/dist/components/AttributesSelectionList/AttributesSelectionList.js +6 -6
- package/dist/components/AttributesSelectionList/AttributesSelectionList.js.map +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js +1 -1
- package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js +1 -1
- package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js +1 -1
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js +3 -3
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js +1 -1
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js.map +1 -1
- package/dist/components/CreateDirectory/CreateDirectory.js +15 -15
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +1 -1
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js +3 -3
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js.map +1 -1
- package/dist/components/EditApplication/EditApplication.d.ts +1 -1
- package/dist/components/EditApplication/EditApplication.js +5 -5
- package/dist/components/EditApplication/EditApplication.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +18 -18
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +13 -13
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +4 -4
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +20 -20
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +12 -12
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js +4 -4
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.js +9 -9
- package/dist/components/EditAttributeModal/EditAttributeModal.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +8 -8
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +3 -3
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +20 -20
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js +6 -6
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js +9 -9
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js +19 -19
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +18 -18
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js +6 -6
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +7 -7
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js +13 -13
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +10 -10
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.js +11 -11
- package/dist/components/EditLibraryModal/EditLibraryModal.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTree.js +4 -4
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +20 -20
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +8 -8
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +9 -9
- package/dist/components/EditTreeModal/EditTreeModal.js +8 -8
- package/dist/components/EditTreeModal/EditTreeModal.js.map +1 -1
- package/dist/components/EntityCard/EntityCard.d.ts +1 -1
- package/dist/components/EntityCard/EntityCard.js +2 -2
- package/dist/components/EntityCard/EntityCard.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +2 -2
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +1 -1
- package/dist/components/ErrorDisplay/ErrorDisplay.js +5 -5
- package/dist/components/ErrorDisplay/ErrorDisplay.js.map +1 -1
- package/dist/components/Explorer/DataView.js +8 -8
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +1 -1
- package/dist/components/Explorer/Explorer.js +19 -19
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerTitle.js +3 -3
- package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +11 -11
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/TableNameCell.js +4 -4
- package/dist/components/Explorer/_constants.js +2 -2
- package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js +2 -2
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js +19 -19
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.d.ts +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +28 -28
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +3 -3
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +13 -13
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +12 -12
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.js +20 -15
- package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.d.ts +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js +13 -13
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +2 -2
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -13
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -3
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/usePrimaryActions.d.ts +1 -1
- package/dist/components/Explorer/actions-primary/usePrimaryActions.js +3 -3
- package/dist/components/Explorer/actions-primary/usePrimaryActions.js.map +1 -1
- package/dist/components/Explorer/conditionsHelper.js +1 -1
- package/dist/components/Explorer/link-item/LinkModal.js +11 -11
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/link-item/useAddLinkMassAction.d.ts +1 -1
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js +5 -5
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -1
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +1 -1
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +5 -5
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -1
- package/dist/components/Explorer/list-saved-views/SavedViews.js +3 -3
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +2 -2
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +5 -5
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +2 -2
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +3 -3
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +13 -13
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +2 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +3 -3
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +2 -2
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +6 -6
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +7 -7
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +3 -3
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +5 -5
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +6 -6
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +8 -8
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +18 -18
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +2 -2
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +4 -4
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +23 -23
- package/dist/components/Explorer/useColumnWidth.js +2 -2
- package/dist/components/Explorer/useLoadView.js +11 -11
- package/dist/components/Explorer/usePagination.js +3 -3
- package/dist/components/Explorer/useSearchInput.d.ts +1 -1
- package/dist/components/Explorer/useSearchInput.js +3 -3
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.js +23 -23
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/Filters/_types.js +1 -1
- package/dist/components/Filters/_types.js.map +1 -1
- package/dist/components/Filters/conditionsHelper.js +1 -1
- package/dist/components/Filters/context/filtersContext.js +1 -1
- package/dist/components/Filters/context/filtersInitialState.js +1 -1
- package/dist/components/Filters/context/filtersReducer.js +16 -16
- package/dist/components/Filters/context/filtersReducer.js.map +1 -1
- package/dist/components/Filters/context/useFiltersReducer.d.ts +1 -1
- package/dist/components/Filters/context/useFiltersReducer.js +9 -9
- package/dist/components/Filters/context/useFiltersReducer.js.map +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js +6 -6
- package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js +3 -3
- package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +5 -5
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +3 -3
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +7 -7
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js +7 -7
- package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +2 -2
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js +14 -14
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Filters/prepareFiltersForRequest.js +22 -22
- package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Filters/useFilters.js +4 -4
- package/dist/components/Filters/useTransformFilters.d.ts +1 -1
- package/dist/components/Filters/useTransformFilters.js +17 -17
- package/dist/components/Filters/useTransformFilters.js.map +1 -1
- package/dist/components/FloatingMenu/FloatingMenu.js +2 -2
- package/dist/components/ImageMissing/ImageMissing.js +1 -1
- package/dist/components/ImportModal/ImportModal.js +16 -16
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +14 -14
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +7 -7
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js.map +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +7 -7
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
- package/dist/components/ImportModal/importReducer/ImportReducerContext.js +1 -1
- package/dist/components/ImportModal/importReducer/importReducer.js +15 -15
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +9 -9
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +22 -22
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +13 -13
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +4 -4
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +3 -3
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +15 -15
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +7 -7
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsList.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsList.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +15 -15
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +7 -7
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +6 -6
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +12 -12
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +7 -7
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +8 -21
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +11 -11
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +9 -9
- package/dist/components/LibraryItemsList/MenuView/MenuView.js +20 -20
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +5 -5
- package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +1 -1
- package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +2 -2
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +5 -5
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js +8 -8
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +8 -8
- package/dist/components/LibraryItemsList/constants.js +1 -1
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +4 -4
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +2 -2
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +6 -6
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +18 -18
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +9 -9
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js.map +1 -1
- package/dist/components/LibraryItemsList/manageItems.js +1 -1
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +2 -2
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +1 -1
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +13 -13
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.d.ts +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.js +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.js.map +1 -1
- package/dist/components/List/List.js +1 -1
- package/dist/components/Notifications/hooks/useNotificationSubscription.js +2 -2
- package/dist/components/RecordCard/RecordCard.d.ts +1 -1
- package/dist/components/RecordCard/RecordCard.js +3 -3
- package/dist/components/RecordCard/RecordCard.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +16 -17
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +7 -7
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js +6 -6
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js +19 -19
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js +7 -7
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +6 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js +12 -12
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +15 -15
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +8 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +9 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +7 -7
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +19 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +6 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +8 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +4 -4
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +17 -4
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +9 -9
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +6 -6
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +4 -4
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +16 -16
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +3 -3
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +10 -10
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +1 -1
- package/dist/components/RecordHistory/RecordHistory.js +2 -2
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.d.ts +1 -1
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +8 -8
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +8 -8
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +2 -2
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +1 -1
- package/dist/components/SearchModal/SearchModal.js +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +12 -12
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +1 -0
- package/dist/components/SelectTreeNode/SelectTreeNode.js +3 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +1 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +11 -11
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +1 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +2 -2
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js +3 -3
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +1 -1
- package/dist/components/TreePicker/TreePicker.d.ts +1 -1
- package/dist/components/TreePicker/TreePicker.js +1 -1
- package/dist/components/TreePicker/TreePicker.js.map +1 -1
- package/dist/components/TreePicker/TreesList/TreesList.js +12 -12
- package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +7 -7
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
- package/dist/components/UploadFiles/UploadFiles.d.ts +1 -1
- package/dist/components/UploadFiles/UploadFiles.js +25 -25
- package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +1 -1
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +3 -3
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +0 -1
- package/dist/components/index.js.map +1 -1
- package/dist/constants.d.ts +2 -0
- package/dist/constants.js +4 -2
- package/dist/constants.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js +2 -2
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -1
- package/dist/gqlPossibleTypes/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useAntdLocale/useAntdLocale.js +1 -1
- package/dist/hooks/useAuth/useAuth.js +1 -1
- package/dist/hooks/useCanEditRecord/useCanEditRecord.js +8 -8
- package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +3 -3
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js +8 -8
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -1
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +3 -3
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js.map +1 -1
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +3 -3
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +11 -11
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +1 -1
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +5 -5
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +4 -4
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +12 -3
- package/dist/hooks/useIFrameMessenger/schema.js +14 -16
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +2 -2
- package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +1 -1
- package/dist/hooks/useLoginChecker/useLoginChecker.js +2 -2
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +3 -3
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +8 -8
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
- package/dist/hooks/useSharedTranslation/useSharedTranslation.js +3 -3
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +2 -2
- package/dist/locales/en/shared.json +4 -1
- package/dist/locales/fr/shared.json +4 -1
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +1 -1
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +3 -3
- package/dist/types/search.js +2 -2
- package/dist/types/search.js.map +1 -1
- package/package.json +2 -2
- package/dist/components/ExportModal/ExportModal.d.ts +0 -10
- package/dist/components/ExportModal/ExportModal.js +0 -123
- package/dist/components/ExportModal/ExportModal.js.map +0 -1
- package/dist/components/ExportModal/index.d.ts +0 -1
- package/dist/components/ExportModal/index.js +0 -5
- package/dist/components/ExportModal/index.js.map +0 -1
|
@@ -13,7 +13,7 @@ function MenuSelection() {
|
|
|
13
13
|
const { state: searchState, dispatch: searchDispatch } = useSearchReducer();
|
|
14
14
|
const selectAll = () => {
|
|
15
15
|
searchDispatch({
|
|
16
|
-
type: SearchActionTypes.SELECT_ALL
|
|
16
|
+
type: SearchActionTypes.SELECT_ALL,
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
19
|
const selectVisible = () => {
|
|
@@ -25,14 +25,14 @@ function MenuSelection() {
|
|
|
25
25
|
{
|
|
26
26
|
id: record.whoAmI.id,
|
|
27
27
|
library: record.whoAmI.library.id,
|
|
28
|
-
label: record.whoAmI.label
|
|
29
|
-
}
|
|
28
|
+
label: record.whoAmI.label,
|
|
29
|
+
},
|
|
30
30
|
];
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
searchDispatch({
|
|
34
34
|
type: SearchActionTypes.SET_SELECTION,
|
|
35
|
-
selected
|
|
35
|
+
selected,
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
return (_jsx("span", { "data-testid": "dropdown-menu-selection", children: _jsx(Dropdown, { menu: {
|
|
@@ -41,17 +41,17 @@ function MenuSelection() {
|
|
|
41
41
|
? {
|
|
42
42
|
key: 'select_all',
|
|
43
43
|
onClick: selectAll,
|
|
44
|
-
label: t('items-menu-dropdown.select-all', { nb: searchState.totalCount })
|
|
44
|
+
label: t('items-menu-dropdown.select-all', { nb: searchState.totalCount }),
|
|
45
45
|
}
|
|
46
46
|
: null,
|
|
47
47
|
{
|
|
48
48
|
key: 'select',
|
|
49
49
|
onClick: selectVisible,
|
|
50
|
-
label: t('items-menu-dropdown.select-visible', { nb: searchState.records.length })
|
|
51
|
-
}
|
|
52
|
-
]
|
|
50
|
+
label: t('items-menu-dropdown.select-visible', { nb: searchState.records.length }),
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
53
|
}, children: _jsx(Button, { icon: _jsx(DownOutlined, {}), children: t('items-list-row.nb-elements', {
|
|
54
|
-
nbItems: searchState.totalCount
|
|
54
|
+
nbItems: searchState.totalCount,
|
|
55
55
|
}) }) }) }));
|
|
56
56
|
}
|
|
57
57
|
export default MenuSelection;
|
|
@@ -47,7 +47,7 @@ function MenuView({ library }) {
|
|
|
47
47
|
searchDispatch({
|
|
48
48
|
type: SearchActionTypes.SET_SIDEBAR,
|
|
49
49
|
sidebarType: SidebarContentType.VIEW,
|
|
50
|
-
visible
|
|
50
|
+
visible,
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
53
|
const _toggleShowFilters = () => {
|
|
@@ -55,7 +55,7 @@ function MenuView({ library }) {
|
|
|
55
55
|
searchDispatch({
|
|
56
56
|
type: SearchActionTypes.SET_SIDEBAR,
|
|
57
57
|
sidebarType: SidebarContentType.FILTERS,
|
|
58
|
-
visible
|
|
58
|
+
visible,
|
|
59
59
|
});
|
|
60
60
|
};
|
|
61
61
|
const _toggleShowVersions = () => {
|
|
@@ -63,19 +63,19 @@ function MenuView({ library }) {
|
|
|
63
63
|
searchDispatch({
|
|
64
64
|
type: SearchActionTypes.SET_SIDEBAR,
|
|
65
65
|
sidebarType: SidebarContentType.VERSIONS,
|
|
66
|
-
visible
|
|
66
|
+
visible,
|
|
67
67
|
});
|
|
68
68
|
};
|
|
69
69
|
const _resetView = () => {
|
|
70
70
|
searchDispatch({
|
|
71
71
|
type: SearchActionTypes.CHANGE_VIEW,
|
|
72
|
-
view: searchState.view.current
|
|
72
|
+
view: searchState.view.current,
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
75
|
const _getNewViewFromSearchState = () => ({
|
|
76
76
|
library: library.id,
|
|
77
77
|
label: {
|
|
78
|
-
[defaultLang]: t('view.add-view.title', { lng: defaultLang })
|
|
78
|
+
[defaultLang]: t('view.add-view.title', { lng: defaultLang }),
|
|
79
79
|
},
|
|
80
80
|
display: searchState.display,
|
|
81
81
|
shared: false,
|
|
@@ -85,11 +85,11 @@ function MenuView({ library }) {
|
|
|
85
85
|
? objectToNameValueArray(searchState.valuesVersions)
|
|
86
86
|
.map(version => ({
|
|
87
87
|
treeId: version?.name ?? null,
|
|
88
|
-
treeNode: version?.value?.id ?? null
|
|
88
|
+
treeNode: version?.value?.id ?? null,
|
|
89
89
|
}))
|
|
90
90
|
.filter(v => v.treeId !== null && v.treeNode !== null)
|
|
91
91
|
: null,
|
|
92
|
-
attributes: searchState.fields?.map(f => f.key) ?? []
|
|
92
|
+
attributes: searchState.fields?.map(f => f.key) ?? [],
|
|
93
93
|
});
|
|
94
94
|
const _saveView = async () => {
|
|
95
95
|
if (searchState.view.current.id !== defaultView.id) {
|
|
@@ -102,32 +102,32 @@ function MenuView({ library }) {
|
|
|
102
102
|
description: searchState.view.current.description,
|
|
103
103
|
shared: searchState.view.current.shared,
|
|
104
104
|
color: searchState.view.current.color,
|
|
105
|
-
sort: searchState.sort ?? null
|
|
106
|
-
}
|
|
105
|
+
sort: searchState.sort ?? null,
|
|
106
|
+
},
|
|
107
107
|
});
|
|
108
108
|
searchDispatch({
|
|
109
109
|
type: SearchActionTypes.SET_VIEW_SYNC,
|
|
110
|
-
sync: true
|
|
110
|
+
sync: true,
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
const _handleAddView = async (viewType) => {
|
|
115
115
|
const newView = {
|
|
116
116
|
..._getNewViewFromSearchState(),
|
|
117
|
-
display: { ...searchState.display, type: viewType }
|
|
117
|
+
display: { ...searchState.display, type: viewType },
|
|
118
118
|
};
|
|
119
119
|
// save view in backend
|
|
120
120
|
const newViewRes = await addView({
|
|
121
|
-
view: newView
|
|
121
|
+
view: newView,
|
|
122
122
|
});
|
|
123
123
|
await updateViewsOrder({
|
|
124
124
|
key: PREFIX_USER_VIEWS_ORDER_KEY + newView.library,
|
|
125
125
|
value: [...searchState.userViewsOrder, newViewRes.data.saveView.id],
|
|
126
|
-
global: false
|
|
126
|
+
global: false,
|
|
127
127
|
});
|
|
128
128
|
searchDispatch({
|
|
129
129
|
type: SearchActionTypes.CHANGE_VIEW,
|
|
130
|
-
view: prepareView(newViewRes.data.saveView, searchState.attributes, searchState.library.id, userData?.userId)
|
|
130
|
+
view: prepareView(newViewRes.data.saveView, searchState.attributes, searchState.library.id, userData?.userId),
|
|
131
131
|
});
|
|
132
132
|
};
|
|
133
133
|
const menu = {
|
|
@@ -141,17 +141,17 @@ function MenuView({ library }) {
|
|
|
141
141
|
key: 'list',
|
|
142
142
|
onClick: () => _handleAddView(ViewTypes.list),
|
|
143
143
|
icon: _jsx(MenuOutlined, {}),
|
|
144
|
-
label: t('view.type-list')
|
|
144
|
+
label: t('view.type-list'),
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
key: 'cards',
|
|
148
148
|
onClick: () => _handleAddView(ViewTypes.cards),
|
|
149
149
|
icon: _jsx(AppstoreFilled, {}),
|
|
150
|
-
label: t('view.type-cards')
|
|
151
|
-
}
|
|
152
|
-
]
|
|
153
|
-
}
|
|
154
|
-
]
|
|
150
|
+
label: t('view.type-cards'),
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
155
|
};
|
|
156
156
|
return (_jsxs(Space, { size: "large", children: [_jsxs(Button.Group, { children: [_jsx(Tooltip, { title: localizedTranslation(searchState.view.current?.label, lang) || t('select-view.default-view'), children: _jsx(ViewButton, { icon: _jsx(IconViewType, { style: { marginRight: '8px' }, type: searchState.view.current.display.type }), "data-testid": "dropdown-view-options", onClick: _toggleShowView, children: _jsx(ViewLabel, { children: localizedTranslation(searchState.view.current?.label, lang) ||
|
|
157
157
|
t('select-view.default-view') }) }) }), _jsx(Button, { disabled: searchState.view.sync, icon: _jsx(GrUndo, {}), onClick: _resetView, style: { paddingTop: '6px' } }), _jsx(Button, { icon: _jsx(SaveFilled, {}), onClick: _saveView, disabled: searchState.view.sync ||
|
|
@@ -163,11 +163,11 @@ function ItemTileDisplay({ item }) {
|
|
|
163
163
|
const newSelected = {
|
|
164
164
|
id: item.whoAmI.id,
|
|
165
165
|
library: item.whoAmI.library.id,
|
|
166
|
-
label: item.whoAmI.label
|
|
166
|
+
label: item.whoAmI.label,
|
|
167
167
|
};
|
|
168
168
|
searchDispatch({
|
|
169
169
|
type: SearchActionTypes.TOGGLE_RECORD_SELECTION,
|
|
170
|
-
record: newSelected
|
|
170
|
+
record: newSelected,
|
|
171
171
|
});
|
|
172
172
|
};
|
|
173
173
|
useEffect(() => {
|
|
@@ -185,12 +185,12 @@ function ItemTileDisplay({ item }) {
|
|
|
185
185
|
const itemPreviewSize = getItemPreviewSize(previewSize);
|
|
186
186
|
return (_jsxs(_Fragment, { children: [editRecord && (_jsx(EditRecordModal, { open: editRecord, record: item.whoAmI, library: item.whoAmI.library.id, onClose: _handleClose })), _jsx(Item, { "$previewSize": itemPreviewSize, size: "small", onClick: selectedToggle, onDoubleClick: () => setEditRecord(true), cover: _jsxs(ImageWrapper, { children: [_jsx(EntityPreview, { label: item.whoAmI.label || item.whoAmI.id, image: String(item.whoAmI.preview?.[previewSize] ?? ''), tile: true, style: {
|
|
187
187
|
width: itemPreviewSize,
|
|
188
|
-
height: itemPreviewSize
|
|
188
|
+
height: itemPreviewSize,
|
|
189
189
|
}, placeholderStyle: {
|
|
190
190
|
width: itemPreviewSize,
|
|
191
|
-
height: itemPreviewSize
|
|
191
|
+
height: itemPreviewSize,
|
|
192
192
|
}, imageStyle: {
|
|
193
|
-
background: mustShowTransparency ? themeVars.checkerBoard : 'transparent'
|
|
193
|
+
background: mustShowTransparency ? themeVars.checkerBoard : 'transparent',
|
|
194
194
|
} }), _jsx(ActionsWrapper, { children: isChecked || isSelectActive ? (_jsxs(Selection, { checked: isChecked, children: [_jsxs(SelectionActions, { children: [_jsx(SelectCellsBtn, { selectionType: SelectCellsBtnType.ONLY, text: t('items-list-row.select-only'), record: item.whoAmI, size: "small" }), _jsx(SelectCellsBtn, { selectionType: SelectCellsBtnType.ALL, text: t('items-list-row.select-all'), record: item.whoAmI, size: "small" })] }), isChecked && (_jsx(CheckedIconWrapper, { className: "checked-icon", children: _jsx(CheckCircleFilled, {}) }))] })) : (_jsxs(Actions, { className: "actions", children: [_jsx(Tooltip, { title: t('global.select'), children: _jsx(Button, { shape: "circle", icon: _jsx(CheckOutlined, {}), onClick: _handleSelect }) }, "select"), _jsx(Tooltip, { title: t('global.edit'), children: _jsx(EditRecordBtn, { shape: "circle", record: item.whoAmI, valuesVersion: searchState.valuesVersions }) }, "edit"), canDeleteRecord ? (_jsx(Tooltip, { title: t('global.delete'), children: _jsx(DeactivateRecordBtn, { record: item.whoAmI }) }, "delete")) : (
|
|
195
195
|
// Keep this empty div for styling purpose
|
|
196
196
|
_jsx("div", {}))] })) })] }), children: _jsx(Card.Meta, { title: _jsx(Paragraph, { ellipsis: { rows: 1, tooltip: true }, style: { marginBottom: 0, fontSize: previewSize === PreviewSize.SMALL ? '.8em' : '1em' }, children: item.whoAmI.label || item.whoAmI.id }) }) })] }));
|
|
@@ -41,7 +41,7 @@ function TileDisplay() {
|
|
|
41
41
|
const _handleClick = () => {
|
|
42
42
|
searchDispatch({
|
|
43
43
|
type: SearchActionTypes.SET_SELECTION,
|
|
44
|
-
selected: []
|
|
44
|
+
selected: [],
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
47
|
return (_jsxs(_Fragment, { children: [_jsx(Wrapper, { "$size": itemPreviewSize, onClick: _handleClick, children: searchState.loading ? (_jsx(LoadingWrapper, { children: _jsx(Spin, { size: "large" }) })) : (_jsx(_Fragment, { children: searchState.records.map(record => (_jsx(ItemTileDisplay, { item: record }, record.whoAmI.id))) })) }), _jsx(Footer, { children: _jsx(LibraryItemsListPagination, {}) })] }));
|
|
@@ -5,7 +5,7 @@ import { PreviewSize } from '../../../../constants';
|
|
|
5
5
|
const itemPreviewSize = {
|
|
6
6
|
[PreviewSize.SMALL]: '100px',
|
|
7
7
|
[PreviewSize.MEDIUM]: '200px',
|
|
8
|
-
[PreviewSize.BIG]: '300px'
|
|
8
|
+
[PreviewSize.BIG]: '300px',
|
|
9
9
|
};
|
|
10
10
|
export default (size) => itemPreviewSize[size];
|
|
11
11
|
//# sourceMappingURL=getItemPreviewSize.js.map
|
|
@@ -51,13 +51,13 @@ function VersionsPanel() {
|
|
|
51
51
|
const { state: searchState, dispatch: searchDispatch } = useSearchReducer();
|
|
52
52
|
const _handleHidePanel = () => {
|
|
53
53
|
searchDispatch({
|
|
54
|
-
type: SearchActionTypes.TOGGLE_SIDEBAR
|
|
54
|
+
type: SearchActionTypes.TOGGLE_SIDEBAR,
|
|
55
55
|
});
|
|
56
56
|
};
|
|
57
57
|
const _handleVersionChange = (version) => {
|
|
58
58
|
searchDispatch({
|
|
59
59
|
type: SearchActionTypes.SET_VALUES_VERSIONS,
|
|
60
|
-
valuesVersions: version
|
|
60
|
+
valuesVersions: version,
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
return (_jsxs(Wrapper, { children: [_jsxs(Header, { children: [_jsx("span", { children: t('values_version.title') }), _jsx(Button, { onClick: _handleHidePanel, icon: _jsx(FontAwesomeIcon, { icon: faAngleLeft }) })] }), _jsx(ValuesVersionConfigurator, { libraryId: searchState.library.id, selectedVersion: searchState.valuesVersions, onVersionChange: _handleVersionChange })] }));
|
|
@@ -37,7 +37,7 @@ function EditView({ visible, onClose, view, libraryId }) {
|
|
|
37
37
|
label: values.label,
|
|
38
38
|
description: !Object.values(values.description).every(x => x === '') ? values.description : null,
|
|
39
39
|
filters: getRequestFromFilters(view.filters),
|
|
40
|
-
sort: view.sort
|
|
40
|
+
sort: view.sort,
|
|
41
41
|
};
|
|
42
42
|
try {
|
|
43
43
|
// save view in backend
|
|
@@ -53,7 +53,7 @@ function EditView({ visible, onClose, view, libraryId }) {
|
|
|
53
53
|
await updateViewsOrder({
|
|
54
54
|
key: PREFIX_USER_VIEWS_ORDER_KEY + searchState.library.id,
|
|
55
55
|
value: userViewsOrder,
|
|
56
|
-
global: false
|
|
56
|
+
global: false,
|
|
57
57
|
});
|
|
58
58
|
const sharedViewsOrder = !values.shared
|
|
59
59
|
? searchState.sharedViewsOrder.filter(id => id !== view.id)
|
|
@@ -61,7 +61,7 @@ function EditView({ visible, onClose, view, libraryId }) {
|
|
|
61
61
|
await updateViewsOrder({
|
|
62
62
|
key: PREFIX_SHARED_VIEWS_ORDER_KEY + searchState.library.id,
|
|
63
63
|
value: sharedViewsOrder,
|
|
64
|
-
global: false
|
|
64
|
+
global: false,
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
if (view.id === searchState.view.current.id) {
|
|
@@ -72,8 +72,8 @@ function EditView({ visible, onClose, view, libraryId }) {
|
|
|
72
72
|
label: values.label,
|
|
73
73
|
description: !Object.values(values.description).every(x => x === '') ? values.description : null,
|
|
74
74
|
display: { type: values.type, size: view.display.size },
|
|
75
|
-
shared: values.shared
|
|
76
|
-
}
|
|
75
|
+
shared: values.shared,
|
|
76
|
+
},
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
setConfirmLoading(false);
|
|
@@ -79,7 +79,7 @@ function View({ view, onEdit, handleProps }) {
|
|
|
79
79
|
await updateViewsOrder({
|
|
80
80
|
key: (view.shared ? PREFIX_SHARED_VIEWS_ORDER_KEY : PREFIX_USER_VIEWS_ORDER_KEY) + searchState.library.id,
|
|
81
81
|
value: newOrder,
|
|
82
|
-
global: false
|
|
82
|
+
global: false,
|
|
83
83
|
});
|
|
84
84
|
if (view.id === searchState.view.current.id) {
|
|
85
85
|
searchDispatch({ type: SearchActionTypes.CHANGE_VIEW, view: defaultView });
|
|
@@ -93,26 +93,26 @@ function View({ view, onEdit, handleProps }) {
|
|
|
93
93
|
...omit(view, ['id', 'owner']),
|
|
94
94
|
library: searchState.library.id,
|
|
95
95
|
label: {
|
|
96
|
-
[defaultLang]: `${localizedTranslation(view.label, lang)} (${t('global.copy')})
|
|
96
|
+
[defaultLang]: `${localizedTranslation(view.label, lang)} (${t('global.copy')})`,
|
|
97
97
|
},
|
|
98
98
|
filters: getRequestFromFilters(view.filters),
|
|
99
99
|
display: {
|
|
100
100
|
size: ViewSizes.MEDIUM,
|
|
101
|
-
type: ViewTypes.list
|
|
101
|
+
type: ViewTypes.list,
|
|
102
102
|
},
|
|
103
103
|
valuesVersions: objectToNameValueArray(view.valuesVersions).map(version => ({
|
|
104
104
|
treeId: version.name,
|
|
105
|
-
treeNode: version.value.id
|
|
105
|
+
treeNode: version.value.id,
|
|
106
106
|
})),
|
|
107
|
-
shared: false
|
|
107
|
+
shared: false,
|
|
108
108
|
};
|
|
109
109
|
const newViewRes = await saveView({
|
|
110
|
-
view: newView
|
|
110
|
+
view: newView,
|
|
111
111
|
});
|
|
112
112
|
await updateViewsOrder({
|
|
113
113
|
key: PREFIX_USER_VIEWS_ORDER_KEY + newView.library,
|
|
114
114
|
value: [...searchState.userViewsOrder, newViewRes.data.saveView.id],
|
|
115
|
-
global: false
|
|
115
|
+
global: false,
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
118
|
catch (e) {
|
|
@@ -137,7 +137,7 @@ function View({ view, onEdit, handleProps }) {
|
|
|
137
137
|
rows: ROWS_DESCRIPTION,
|
|
138
138
|
expandable: true,
|
|
139
139
|
onExpand: _onExpand,
|
|
140
|
-
symbol: t('view.see-more')
|
|
140
|
+
symbol: t('view.see-more'),
|
|
141
141
|
}, style: { marginBottom: 0 }, children: localizedTranslation(view.description, lang) }, description.key), description.expand && (_jsx("a", { href: "!#", onClick: ev => {
|
|
142
142
|
ev.preventDefault();
|
|
143
143
|
_onClose();
|
|
@@ -108,26 +108,26 @@ function ViewPanel() {
|
|
|
108
108
|
const { updateViewsOrder } = useUpdateViewsOrderMutation(searchState.library.id);
|
|
109
109
|
const getViewsList = useGetViewsListQuery({
|
|
110
110
|
variables: {
|
|
111
|
-
libraryId: searchState?.library?.id || ''
|
|
112
|
-
}
|
|
111
|
+
libraryId: searchState?.library?.id || '',
|
|
112
|
+
},
|
|
113
113
|
});
|
|
114
114
|
const getOrderDataQuery = useGetUserDataQuery({
|
|
115
115
|
variables: {
|
|
116
116
|
keys: [
|
|
117
117
|
PREFIX_USER_VIEWS_ORDER_KEY + searchState.library.id,
|
|
118
|
-
PREFIX_SHARED_VIEWS_ORDER_KEY + searchState.library.id
|
|
119
|
-
]
|
|
118
|
+
PREFIX_SHARED_VIEWS_ORDER_KEY + searchState.library.id,
|
|
119
|
+
],
|
|
120
120
|
},
|
|
121
121
|
onCompleted: d => {
|
|
122
122
|
searchDispatch({
|
|
123
123
|
type: SearchActionTypes.SET_USER_VIEWS_ORDER,
|
|
124
|
-
userViewsOrder: d.userData?.data[PREFIX_USER_VIEWS_ORDER_KEY + searchState.library.id] || []
|
|
124
|
+
userViewsOrder: d.userData?.data[PREFIX_USER_VIEWS_ORDER_KEY + searchState.library.id] || [],
|
|
125
125
|
});
|
|
126
126
|
searchDispatch({
|
|
127
127
|
type: SearchActionTypes.SET_SHARED_VIEWS_ORDER,
|
|
128
|
-
sharedViewsOrder: d.userData?.data[PREFIX_SHARED_VIEWS_ORDER_KEY + searchState.library.id] || []
|
|
128
|
+
sharedViewsOrder: d.userData?.data[PREFIX_SHARED_VIEWS_ORDER_KEY + searchState.library.id] || [],
|
|
129
129
|
});
|
|
130
|
-
}
|
|
130
|
+
},
|
|
131
131
|
});
|
|
132
132
|
if (getViewsList.loading) {
|
|
133
133
|
return _jsx(Loading, {});
|
|
@@ -173,7 +173,7 @@ function ViewPanel() {
|
|
|
173
173
|
await updateViewsOrder({
|
|
174
174
|
key: keyToUpdate,
|
|
175
175
|
value: orderedViews,
|
|
176
|
-
global: false
|
|
176
|
+
global: false,
|
|
177
177
|
});
|
|
178
178
|
};
|
|
179
179
|
userViews.sort(_sortViewFunction(searchState.userViewsOrder));
|
|
@@ -11,7 +11,7 @@ export const defaultView = {
|
|
|
11
11
|
owner: true,
|
|
12
12
|
display: { type: ViewTypes.list, size: ViewSizes.MEDIUM },
|
|
13
13
|
shared: false,
|
|
14
|
-
filters: []
|
|
14
|
+
filters: [],
|
|
15
15
|
};
|
|
16
16
|
export const formatNotUsingCondition = [AttributeFormat.boolean];
|
|
17
17
|
export const defaultLinkAttributeFilterFormat = AttributeFormat.text;
|
|
@@ -19,8 +19,8 @@ export default (library) => library.attributes.reduce((acc, attribute) => {
|
|
|
19
19
|
linkedLibrary: attribute.linked_library,
|
|
20
20
|
linkedTree: attribute.linked_tree,
|
|
21
21
|
library: library.id,
|
|
22
|
-
embedded_fields: attribute.embedded_fields
|
|
23
|
-
}
|
|
22
|
+
embedded_fields: attribute.embedded_fields,
|
|
23
|
+
},
|
|
24
24
|
];
|
|
25
25
|
// case attribute is a linked attribute
|
|
26
26
|
if ((attribute.type === AttributeType.simple_link || attribute.type === AttributeType.advanced_link) &&
|
|
@@ -35,7 +35,7 @@ export default (library) => library.attributes.reduce((acc, attribute) => {
|
|
|
35
35
|
isMultiple: linkedAttribute.multiple_values,
|
|
36
36
|
linkedLibrary: attribute.linked_library,
|
|
37
37
|
linkedTree: attribute.linked_tree,
|
|
38
|
-
library: linkedLibraryId
|
|
38
|
+
library: linkedLibraryId,
|
|
39
39
|
}));
|
|
40
40
|
newAttributes.push(...newLinkedAttributes);
|
|
41
41
|
}
|
|
@@ -51,7 +51,7 @@ export default (library) => library.attributes.reduce((acc, attribute) => {
|
|
|
51
51
|
label: linkedAttribute.label,
|
|
52
52
|
isLink: isTypeLink(linkedAttribute.type),
|
|
53
53
|
isMultiple: linkedAttribute.multiple_values,
|
|
54
|
-
library: linkedLibraryId
|
|
54
|
+
library: linkedLibraryId,
|
|
55
55
|
}));
|
|
56
56
|
})
|
|
57
57
|
.flat();
|
|
@@ -15,7 +15,7 @@ export default (fieldKey, library, attributes, lang) => {
|
|
|
15
15
|
if (parentAttribute) {
|
|
16
16
|
parentAttributeData = {
|
|
17
17
|
id: parentAttribute.id,
|
|
18
|
-
type: parentAttribute.type
|
|
18
|
+
type: parentAttribute.type,
|
|
19
19
|
};
|
|
20
20
|
recordLibrary = splitKey[1];
|
|
21
21
|
}
|
|
@@ -33,7 +33,7 @@ export default (fieldKey, library, attributes, lang) => {
|
|
|
33
33
|
type: attribute.type,
|
|
34
34
|
multipleValues: attribute.isMultiple,
|
|
35
35
|
parentAttributeData,
|
|
36
|
-
recordLibrary
|
|
36
|
+
recordLibrary,
|
|
37
37
|
};
|
|
38
38
|
return field;
|
|
39
39
|
};
|
|
@@ -32,11 +32,11 @@ const useLibraryView = (library) => {
|
|
|
32
32
|
? [
|
|
33
33
|
{
|
|
34
34
|
field: library.defaultView.sort.field,
|
|
35
|
-
order: library.defaultView.sort.order
|
|
36
|
-
}
|
|
35
|
+
order: library.defaultView.sort.order,
|
|
36
|
+
},
|
|
37
37
|
]
|
|
38
38
|
: null,
|
|
39
|
-
attributes: (library.defaultView.attributes ?? []).map(attr => attr.id)
|
|
39
|
+
attributes: (library.defaultView.attributes ?? []).map(attr => attr.id),
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
// Will be used to get view details for last used view
|
|
@@ -58,7 +58,7 @@ const useLibraryView = (library) => {
|
|
|
58
58
|
}
|
|
59
59
|
setError(err);
|
|
60
60
|
setIsLoading(false);
|
|
61
|
-
}
|
|
61
|
+
},
|
|
62
62
|
});
|
|
63
63
|
// First of all, get last used view from user data
|
|
64
64
|
useGetUserDataQuery({
|
|
@@ -87,12 +87,12 @@ const useLibraryView = (library) => {
|
|
|
87
87
|
// Unable to load any other view, keep default view
|
|
88
88
|
setError(err);
|
|
89
89
|
setIsLoading(false);
|
|
90
|
-
}
|
|
90
|
+
},
|
|
91
91
|
});
|
|
92
92
|
return {
|
|
93
93
|
loading: isLoading,
|
|
94
94
|
error,
|
|
95
|
-
view
|
|
95
|
+
view,
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
98
|
export default useLibraryView;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import getFieldsFromView from '../../../../components/LibraryItemsList/helpers/getFieldsFromView';
|
|
2
|
-
import { SearchMode, SidebarContentType } from '../../../../types/search';
|
|
2
|
+
import { SearchMode, SidebarContentType, } from '../../../../types/search';
|
|
3
3
|
import { ViewSizes, ViewTypes } from '../../../../_gqlTypes';
|
|
4
4
|
import { defaultView } from '../../constants';
|
|
5
5
|
export var SearchActionTypes;
|
|
@@ -55,14 +55,14 @@ export const initialSearchState = {
|
|
|
55
55
|
lang: null,
|
|
56
56
|
sideBar: {
|
|
57
57
|
visible: false,
|
|
58
|
-
type: SidebarContentType.FILTERS
|
|
58
|
+
type: SidebarContentType.FILTERS,
|
|
59
59
|
},
|
|
60
60
|
selection: {
|
|
61
61
|
selected: [],
|
|
62
|
-
allSelected: false
|
|
62
|
+
allSelected: false,
|
|
63
63
|
},
|
|
64
64
|
showTransparency: false,
|
|
65
|
-
mode: SearchMode.SEARCH
|
|
65
|
+
mode: SearchMode.SEARCH,
|
|
66
66
|
};
|
|
67
67
|
const checkSync = (state, toCheck) => {
|
|
68
68
|
let isSync = true;
|
|
@@ -90,7 +90,7 @@ const searchReducer = (state, action) => {
|
|
|
90
90
|
filters: action.type !== SearchActionTypes.SET_FILTERS,
|
|
91
91
|
display: action.type !== SearchActionTypes.SET_DISPLAY,
|
|
92
92
|
fields: action.type !== SearchActionTypes.SET_FIELDS,
|
|
93
|
-
valuesVersions: action.type !== SearchActionTypes.SET_VALUES_VERSIONS
|
|
93
|
+
valuesVersions: action.type !== SearchActionTypes.SET_VALUES_VERSIONS,
|
|
94
94
|
});
|
|
95
95
|
switch (action.type) {
|
|
96
96
|
case SearchActionTypes.UPDATE_RESULT: {
|
|
@@ -99,7 +99,7 @@ const searchReducer = (state, action) => {
|
|
|
99
99
|
records: action.records ?? state.records,
|
|
100
100
|
totalCount: action.totalCount ?? state.totalCount,
|
|
101
101
|
errors: action.errors ?? [],
|
|
102
|
-
loading: false
|
|
102
|
+
loading: false,
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
case SearchActionTypes.SET_PAGINATION:
|
|
@@ -132,13 +132,13 @@ const searchReducer = (state, action) => {
|
|
|
132
132
|
view: {
|
|
133
133
|
current: action.view,
|
|
134
134
|
reload: true,
|
|
135
|
-
sync: true
|
|
135
|
+
sync: true,
|
|
136
136
|
},
|
|
137
137
|
fields: getFieldsFromView(action.view, state.library, state.lang),
|
|
138
138
|
filters: action.view.filters,
|
|
139
139
|
sort: action.view.sort,
|
|
140
140
|
display: action.view.display,
|
|
141
|
-
valuesVersions: action.view.valuesVersions
|
|
141
|
+
valuesVersions: action.view.valuesVersions,
|
|
142
142
|
};
|
|
143
143
|
case SearchActionTypes.SET_VIEW_RELOAD:
|
|
144
144
|
return { ...state, view: { ...state.view, reload: action.reload } };
|
|
@@ -160,13 +160,13 @@ const searchReducer = (state, action) => {
|
|
|
160
160
|
return {
|
|
161
161
|
...state,
|
|
162
162
|
filters: state.filters.map(f => ({ ...f, active: false })),
|
|
163
|
-
loading: true
|
|
163
|
+
loading: true,
|
|
164
164
|
};
|
|
165
165
|
case SearchActionTypes.ENABLE_FILTERS:
|
|
166
166
|
return {
|
|
167
167
|
...state,
|
|
168
168
|
filters: state.filters.map(f => ({ ...f, active: true })),
|
|
169
|
-
loading: true
|
|
169
|
+
loading: true,
|
|
170
170
|
};
|
|
171
171
|
case SearchActionTypes.APPLY_FILTERS:
|
|
172
172
|
// Reset pagination when applying filters as this may lead to unexpected behavior
|
|
@@ -174,7 +174,7 @@ const searchReducer = (state, action) => {
|
|
|
174
174
|
return {
|
|
175
175
|
...state,
|
|
176
176
|
offset: 0,
|
|
177
|
-
loading: true
|
|
177
|
+
loading: true,
|
|
178
178
|
};
|
|
179
179
|
case SearchActionTypes.SET_VALUES_VERSIONS: {
|
|
180
180
|
isSync =
|
|
@@ -182,7 +182,7 @@ const searchReducer = (state, action) => {
|
|
|
182
182
|
return {
|
|
183
183
|
...state,
|
|
184
184
|
view: { ...state.view, sync: isSync },
|
|
185
|
-
valuesVersions: { ...state.valuesVersions, ...action.valuesVersions }
|
|
185
|
+
valuesVersions: { ...state.valuesVersions, ...action.valuesVersions },
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
case SearchActionTypes.TOGGLE_TRANSPARENCY:
|
|
@@ -201,24 +201,24 @@ const searchReducer = (state, action) => {
|
|
|
201
201
|
...state.selection,
|
|
202
202
|
selected: currentlySelected
|
|
203
203
|
? state.selection.selected.filter(s => s.id !== action.record.id)
|
|
204
|
-
: [...state.selection.selected, action.record]
|
|
205
|
-
}
|
|
204
|
+
: [...state.selection.selected, action.record],
|
|
205
|
+
},
|
|
206
206
|
};
|
|
207
207
|
case SearchActionTypes.SELECT_ALL:
|
|
208
208
|
return {
|
|
209
209
|
...state,
|
|
210
210
|
selection: {
|
|
211
211
|
selected: [],
|
|
212
|
-
allSelected: true
|
|
213
|
-
}
|
|
212
|
+
allSelected: true,
|
|
213
|
+
},
|
|
214
214
|
};
|
|
215
215
|
case SearchActionTypes.CLEAR_SELECTION:
|
|
216
216
|
return {
|
|
217
217
|
...state,
|
|
218
218
|
selection: {
|
|
219
219
|
selected: [],
|
|
220
|
-
allSelected: false
|
|
221
|
-
}
|
|
220
|
+
allSelected: false,
|
|
221
|
+
},
|
|
222
222
|
};
|
|
223
223
|
default:
|
|
224
224
|
return state;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchReducer.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.ts"],"names":[],"mappings":"AAIA,OAAO,iBAAiB,MAAM,2DAA2D,CAAC;AAC1F,OAAO,EAKH,UAAU,EACV,kBAAkB,
|
|
1
|
+
{"version":3,"file":"searchReducer.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.ts"],"names":[],"mappings":"A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