@leav/ui 1.4.0 → 1.4.1-148fd69b
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/_gqlTypes/index.d.ts +49 -8
- package/dist/_gqlTypes/index.js +45 -4
- 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/_queries/records/getRecordsFromLibraryQuery.d.ts +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 +14 -14
- 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 +30 -30
- 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 +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +2 -2
- 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 +4 -4
- 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 +12 -12
- 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 +10 -10
- 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 +5 -5
- 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 +4 -2
- package/dist/components/Explorer/Explorer.js +65 -51
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerFiltersAndSorts.d.ts +7 -0
- package/dist/components/Explorer/ExplorerFiltersAndSorts.js +44 -0
- package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -0
- package/dist/components/Explorer/ExplorerTitle.js +3 -3
- package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.d.ts +3 -1
- package/dist/components/Explorer/ExplorerToolbar.js +16 -47
- package/dist/components/Explorer/ExplorerToolbar.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.d.ts +1 -0
- package/dist/components/Explorer/_constants.js +3 -2
- package/dist/components/Explorer/_constants.js.map +1 -1
- package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js +2 -2
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +4 -3
- package/dist/components/Explorer/_queries/useExplorerData.js +20 -20
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +4 -117
- package/dist/components/Explorer/_types.js +1 -12
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.d.ts +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +45 -36
- 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 +24 -17
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.d.ts +3 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +24 -17
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.d.ts +17 -0
- package/dist/components/Explorer/actions-mass/useExportMassAction.js +100 -0
- package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useMassActions.d.ts +3 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js +16 -16
- 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 +3 -1
- package/dist/components/Explorer/actions-primary/usePrimaryActions.js +14 -10
- 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 +15 -15
- 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 +5 -5
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +3 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +2 -2
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.d.ts +2 -1
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +12 -12
- 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 +20 -8
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +3 -3
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +5 -5
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +5 -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 +10 -8
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +21 -9
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +18 -18
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +2 -2
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +3 -6
- 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 +8 -9
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +23 -147
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useColumnWidth.js +2 -2
- package/dist/components/Explorer/useLoadView.js +21 -14
- package/dist/components/Explorer/useLoadView.js.map +1 -1
- 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 +21 -26
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/Filters/FiltersProvider.d.ts +3 -0
- package/dist/components/Filters/FiltersProvider.js +8 -0
- package/dist/components/Filters/FiltersProvider.js.map +1 -0
- package/dist/components/Filters/_types.d.ts +130 -0
- package/dist/components/Filters/_types.js +14 -0
- package/dist/components/Filters/_types.js.map +1 -0
- package/dist/components/Filters/conditionsHelper.d.ts +2 -0
- package/dist/components/Filters/conditionsHelper.js +16 -0
- package/dist/components/Filters/conditionsHelper.js.map +1 -0
- package/dist/components/Filters/context/filtersContext.d.ts +6 -0
- package/dist/components/Filters/context/filtersContext.js +9 -0
- package/dist/components/Filters/context/filtersContext.js.map +1 -0
- package/dist/components/Filters/context/filtersInitialState.d.ts +2 -0
- package/dist/components/Filters/context/filtersInitialState.js +10 -0
- package/dist/components/Filters/context/filtersInitialState.js.map +1 -0
- package/dist/components/Filters/context/filtersReducer.d.ts +64 -0
- package/dist/components/Filters/context/filtersReducer.js +179 -0
- package/dist/components/Filters/context/filtersReducer.js.map +1 -0
- package/dist/components/Filters/context/useFiltersReducer.d.ts +13 -0
- package/dist/components/Filters/context/useFiltersReducer.js +68 -0
- package/dist/components/Filters/context/useFiltersReducer.js.map +1 -0
- package/dist/components/Filters/filter-items/CommonFilterItem.d.ts +8 -0
- package/dist/components/{Explorer/manage-view-settings/_shared → Filters/filter-items}/CommonFilterItem.js +7 -7
- package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -0
- package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js +35 -0
- package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ColorAttributeDropDown.js +2 -2
- package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateAttributeDropDown.js +6 -6
- package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateRangeAttributeDropDown.js +2 -2
- package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/EncryptedAttributeDropDown.js +2 -2
- package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ExtendedAttributeDropDown.js +2 -2
- package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -0
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.d.ts +3 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterDropDown.js +14 -14
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterDropdownContent.d.ts +3 -3
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterDropdownContent.js +8 -8
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterValueListDropDown.d.ts +3 -3
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterValueListDropDown.js +11 -11
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/LinkAttributeDropdown.js +13 -13
- package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/NumericAttributeDropDown.js +3 -3
- package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TextAttributeDropDown.js +3 -3
- package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TreeAttributeDropDown.js +12 -12
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -0
- package/dist/components/Filters/filter-items/filter-type/_types.d.ts +18 -0
- package/dist/components/Filters/filter-items/filter-type/_types.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/useConditionOptionsByType.d.ts +7 -7
- package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/useConditionOptionsByType.js +27 -27
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -0
- package/dist/components/Filters/index.d.ts +8 -0
- package/dist/components/Filters/index.js +12 -0
- package/dist/components/Filters/index.js.map +1 -0
- package/dist/components/Filters/prepareFiltersForRequest.d.ts +4 -0
- package/dist/components/{Explorer/_queries → Filters}/prepareFiltersForRequest.js +33 -32
- package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -0
- package/dist/components/Filters/useFilters.d.ts +1724 -0
- package/dist/components/Filters/useFilters.js +28 -0
- package/dist/components/Filters/useFilters.js.map +1 -0
- package/dist/components/Filters/useFiltersContext.d.ts +4 -0
- package/dist/components/Filters/useFiltersContext.js +13 -0
- package/dist/components/Filters/useFiltersContext.js.map +1 -0
- package/dist/components/{Explorer/manage-view-settings/_shared → Filters}/useTransformFilters.d.ts +9 -9
- package/dist/components/{Explorer/manage-view-settings/_shared → Filters}/useTransformFilters.js +22 -22
- package/dist/components/Filters/useTransformFilters.js.map +1 -0
- 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 +23 -23
- 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 +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.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/MenuItemList/MenuItemList.js +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +8 -21
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +13 -13
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +10 -10
- package/dist/components/LibraryItemsList/MenuView/MenuView.js +26 -26
- package/dist/components/LibraryItemsList/Sidebar/Sidebar.js +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +6 -6
- package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +3 -3
- 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/displayTypeToPreviewSize.d.ts +1 -1
- package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js +4 -4
- 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 +15 -15
- 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/InitNotificationsSubscription.d.ts +2 -0
- package/dist/components/Notifications/InitNotificationsSubscription.js +7 -0
- package/dist/components/Notifications/InitNotificationsSubscription.js.map +1 -0
- package/dist/components/Notifications/hooks/useNotificationSubscription.d.ts +4 -0
- package/dist/components/Notifications/hooks/useNotificationSubscription.js +33 -0
- package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -0
- package/dist/components/Notifications/index.d.ts +1 -0
- package/dist/components/{ExportModal → Notifications}/index.js +1 -1
- package/dist/components/Notifications/index.js.map +1 -0
- package/dist/components/RecordCard/RecordCard.d.ts +1 -1
- package/dist/components/RecordCard/RecordCard.js +6 -6
- 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 +15 -8
- 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 +19 -16
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +20 -12
- 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 +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +2 -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 +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 +21 -9
- 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 +3 -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 +6 -6
- 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.d.ts +2 -2
- 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 +4 -2
- package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +3 -2
- 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/_types.d.ts +2 -2
- 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/RecordEdition/hooks/useGetSubmitButtons.d.ts +2 -2
- 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 +2 -2
- 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 +18 -25
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +10 -5
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +49 -3
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
- package/dist/components/SelectTreeNode/_types.js +1 -0
- package/dist/components/SelectTreeNode/_types.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 +13 -13
- 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 +2 -1
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/constants.d.ts +6 -4
- package/dist/constants.js +8 -6
- 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.d.ts +3 -3
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +16 -20
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +88 -5
- package/dist/hooks/useIFrameMessenger/schema.js +49 -57
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/types.d.ts +33 -31
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +2 -2
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +2 -2
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +2 -2
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +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 +29 -5
- package/dist/locales/fr/shared.json +29 -5
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +1 -1
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +3 -3
- package/dist/types/search.d.ts +5 -5
- package/dist/types/search.js +7 -7
- package/dist/types/search.js.map +1 -1
- package/package.json +4 -4
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.d.ts +0 -4
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.d.ts +0 -6
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +0 -27
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.d.ts +0 -3
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/LinkAttributeDropdown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +0 -18
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +0 -1
- package/dist/components/ExportModal/ExportModal.d.ts +0 -10
- package/dist/components/ExportModal/ExportModal.js +0 -123
- package/dist/components/ExportModal/ExportModal.js.map +0 -1
- package/dist/components/ExportModal/index.d.ts +0 -1
- package/dist/components/ExportModal/index.js.map +0 -1
- /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/BooleanAttributeDropdown.d.ts +0 -0
- /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ColorAttributeDropDown.d.ts +0 -0
- /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateAttributeDropDown.d.ts +0 -0
- /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateRangeAttributeDropDown.d.ts +0 -0
- /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/EncryptedAttributeDropDown.d.ts +0 -0
- /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ExtendedAttributeDropDown.d.ts +0 -0
- /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/LinkAttributeDropdown.d.ts +0 -0
- /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/NumericAttributeDropDown.d.ts +0 -0
- /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TextAttributeDropDown.d.ts +0 -0
- /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TreeAttributeDropDown.d.ts +0 -0
- /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/_types.js +0 -0
|
@@ -9,10 +9,10 @@ import { Table } from 'antd';
|
|
|
9
9
|
import { KitButton, KitInput, KitTag } from 'aristid-ds';
|
|
10
10
|
import { useEffect, useRef, useState } from 'react';
|
|
11
11
|
import styled from 'styled-components';
|
|
12
|
-
import { defaultPaginationPageSize, PreviewSize, tagColorByAttributeFormat, tagColorByAttributeType } from '../../../constants';
|
|
12
|
+
import { defaultPaginationPageSize, PreviewSize, tagColorByAttributeFormat, tagColorByAttributeType, } from '../../../constants';
|
|
13
13
|
import { useLang } from '../../../hooks';
|
|
14
14
|
import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
|
|
15
|
-
import { AttributeFormat, AttributesSortableFields, AttributeType, PermissionsActions, PermissionTypes, SortOrder, useGetAttributesQuery, useIsAllowedQuery } from '../../../_gqlTypes';
|
|
15
|
+
import { AttributeFormat, AttributesSortableFields, AttributeType, PermissionsActions, PermissionTypes, SortOrder, useGetAttributesQuery, useIsAllowedQuery, } from '../../../_gqlTypes';
|
|
16
16
|
import { getAttributesQuery } from '../../../_queries/attributes/getAttributesQuery';
|
|
17
17
|
import { extractPermissionFromQuery } from '../../../_utils';
|
|
18
18
|
import { EditAttributeModal } from '../../EditAttributeModal';
|
|
@@ -28,7 +28,7 @@ const HeaderWrapper = styled.div `
|
|
|
28
28
|
flex-grow: 1;
|
|
29
29
|
}
|
|
30
30
|
`;
|
|
31
|
-
function AttributesList({ onSelect, selected = [], multiple = true, showCreateButton = true, baseFilters }) {
|
|
31
|
+
function AttributesList({ onSelect, selected = [], multiple = true, showCreateButton = true, baseFilters, }) {
|
|
32
32
|
const { t } = useSharedTranslation();
|
|
33
33
|
const { lang } = useLang();
|
|
34
34
|
const inputRef = useRef(null);
|
|
@@ -41,21 +41,21 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
|
|
|
41
41
|
variables: {
|
|
42
42
|
pagination: {
|
|
43
43
|
limit: pageSize,
|
|
44
|
-
offset: (currentPage - 1) * pageSize
|
|
44
|
+
offset: (currentPage - 1) * pageSize,
|
|
45
45
|
},
|
|
46
46
|
sort,
|
|
47
47
|
filters: {
|
|
48
48
|
...filters,
|
|
49
|
-
...baseFilters
|
|
50
|
-
}
|
|
51
|
-
}
|
|
49
|
+
...baseFilters,
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
52
|
});
|
|
53
53
|
const isAllowedQueryResult = useIsAllowedQuery({
|
|
54
54
|
fetchPolicy: 'cache-and-network',
|
|
55
55
|
variables: {
|
|
56
56
|
type: PermissionTypes.admin,
|
|
57
|
-
actions: [PermissionsActions.admin_create_attribute]
|
|
58
|
-
}
|
|
57
|
+
actions: [PermissionsActions.admin_create_attribute],
|
|
58
|
+
},
|
|
59
59
|
});
|
|
60
60
|
const canCreate = showCreateButton && extractPermissionFromQuery(isAllowedQueryResult, PermissionsActions.admin_create_attribute);
|
|
61
61
|
const [selectedRowKeys, setSelectedRowKeys] = useState(selected);
|
|
@@ -79,7 +79,7 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
|
|
|
79
79
|
const _handleSearchSubmit = (e) => {
|
|
80
80
|
setFilters({
|
|
81
81
|
...filters,
|
|
82
|
-
label: `%${e.currentTarget.value}
|
|
82
|
+
label: `%${e.currentTarget.value}%`,
|
|
83
83
|
});
|
|
84
84
|
};
|
|
85
85
|
const _handleSearchChange = (e) => {
|
|
@@ -100,9 +100,9 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
|
|
|
100
100
|
data: {
|
|
101
101
|
attributes: {
|
|
102
102
|
...allAttributesData.attributes,
|
|
103
|
-
list: [newAttribute, ...allAttributesData.attributes.list]
|
|
104
|
-
}
|
|
105
|
-
}
|
|
103
|
+
list: [newAttribute, ...allAttributesData.attributes.list],
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
const newSelection = [...selectedRowKeys, newAttribute.id];
|
|
@@ -116,7 +116,7 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
|
|
|
116
116
|
if (relevantSorter.column && relevantSorter.order) {
|
|
117
117
|
const newSort = {
|
|
118
118
|
field: AttributesSortableFields[relevantSorter.columnKey],
|
|
119
|
-
order: relevantSorter.order === 'ascend' ? SortOrder.asc : SortOrder.desc
|
|
119
|
+
order: relevantSorter.order === 'ascend' ? SortOrder.asc : SortOrder.desc,
|
|
120
120
|
};
|
|
121
121
|
setSort(newSort);
|
|
122
122
|
}
|
|
@@ -140,10 +140,10 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
|
|
|
140
140
|
label: attribute.label,
|
|
141
141
|
subLabel: attribute.id,
|
|
142
142
|
preview: null,
|
|
143
|
-
color: null
|
|
143
|
+
color: null,
|
|
144
144
|
};
|
|
145
|
-
return _jsx(EntityCard, { entity: attributeIdentity, size: PreviewSize.
|
|
146
|
-
}
|
|
145
|
+
return _jsx(EntityCard, { entity: attributeIdentity, size: PreviewSize.SMALL });
|
|
146
|
+
},
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
title: t('attributes.type'),
|
|
@@ -152,20 +152,20 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
|
|
|
152
152
|
width: '150px',
|
|
153
153
|
render: (type) => (_jsx(KitTag, { style: {
|
|
154
154
|
borderColor: tagColorByAttributeType[type][0],
|
|
155
|
-
backgroundColor: tagColorByAttributeType[type][1]
|
|
155
|
+
backgroundColor: tagColorByAttributeType[type][1],
|
|
156
156
|
}, idCardProps: {
|
|
157
|
-
description: t(`attributes.type_${type}`)
|
|
157
|
+
description: t(`attributes.type_${type}`),
|
|
158
158
|
} })),
|
|
159
159
|
filters: Object.values(AttributeType).map(type => ({
|
|
160
160
|
text: t(`attributes.type_${type}`),
|
|
161
|
-
value: type
|
|
161
|
+
value: type,
|
|
162
162
|
})),
|
|
163
163
|
onFilter: (value, record) => record.type === value,
|
|
164
164
|
sorter: (a, b) => {
|
|
165
165
|
const aTypeLabel = t(`attributes.type_${a.type}`);
|
|
166
166
|
const bTypeLabel = t(`attributes.type_${b.type}`);
|
|
167
167
|
return aTypeLabel.localeCompare(bTypeLabel);
|
|
168
|
-
}
|
|
168
|
+
},
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
title: t('attributes.format'),
|
|
@@ -174,21 +174,21 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
|
|
|
174
174
|
width: '150px',
|
|
175
175
|
render: (format) => format ? (_jsx(KitTag, { style: {
|
|
176
176
|
borderColor: tagColorByAttributeFormat[format][0],
|
|
177
|
-
backgroundColor: tagColorByAttributeFormat[format][1]
|
|
177
|
+
backgroundColor: tagColorByAttributeFormat[format][1],
|
|
178
178
|
}, idCardProps: {
|
|
179
|
-
description: t(`attributes.format_${format}`)
|
|
179
|
+
description: t(`attributes.format_${format}`),
|
|
180
180
|
} })) : null,
|
|
181
181
|
filters: Object.values(AttributeFormat).map(format => ({
|
|
182
182
|
text: t(`attributes.format_${format}`),
|
|
183
|
-
value: format
|
|
183
|
+
value: format,
|
|
184
184
|
})),
|
|
185
185
|
onFilter: (value, record) => record.format === value,
|
|
186
186
|
sorter: (a, b) => {
|
|
187
187
|
const aFormatLabel = t(`attributes.format_${a.format}`);
|
|
188
188
|
const bFormatLabel = t(`attributes.format_${b.format}`);
|
|
189
189
|
return aFormatLabel.localeCompare(bFormatLabel);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
192
|
];
|
|
193
193
|
useEffect(() => {
|
|
194
194
|
// To avoid temporary display of "no data" when pagination changes
|
|
@@ -199,7 +199,7 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
|
|
|
199
199
|
? [...data.attributes.list].map(attribute => ({
|
|
200
200
|
...attribute,
|
|
201
201
|
key: attribute.id,
|
|
202
|
-
label: localizedTranslation(attribute.label, lang)
|
|
202
|
+
label: localizedTranslation(attribute.label, lang),
|
|
203
203
|
}))
|
|
204
204
|
: [];
|
|
205
205
|
setTableData(newTableData);
|
|
@@ -215,15 +215,15 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
|
|
|
215
215
|
return (_jsxs(_Fragment, { children: [_jsx(Table, { loading: loading, size: "middle", rowSelection: {
|
|
216
216
|
type: multiple ? 'checkbox' : 'radio',
|
|
217
217
|
selectedRowKeys,
|
|
218
|
-
onChange: _handleSelectionChange
|
|
218
|
+
onChange: _handleSelectionChange,
|
|
219
219
|
}, columns: columns, dataSource: tableData, bordered: true, pagination: {
|
|
220
220
|
position: ['bottomCenter'],
|
|
221
221
|
pageSize,
|
|
222
222
|
current: currentPage,
|
|
223
223
|
total: data?.attributes?.totalCount ?? 0,
|
|
224
|
-
showTotal: total => t('global.total_count', { total })
|
|
224
|
+
showTotal: total => t('global.total_count', { total }),
|
|
225
225
|
}, scroll: { y: 'calc(95vh - 20rem)' }, title: () => tableHeader, onRow: record => ({
|
|
226
|
-
onClick: () => _handleRowClick(record)
|
|
226
|
+
onClick: () => _handleRowClick(record),
|
|
227
227
|
}), onChange: _handleChange }), isNewAttributeModalOpen && (_jsx(EditAttributeModal, { open: isNewAttributeModalOpen, onClose: _handleCloseNewAttribute, onPostCreate: _handlePostCreate, width: 790 }))] }));
|
|
228
228
|
}
|
|
229
229
|
export default AttributesList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributesList.js","sourceRoot":"","sources":["../../../../src/components/AttributePicker/AttributesList/AttributesList.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,YAAY,EAAE,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAC,oBAAoB,EAAgB,MAAM,aAAa,CAAC;AAChE,OAAO,EAAC,KAAK,EAAoD,MAAM,MAAM,CAAC;AAE9E,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAC,MAAM,YAAY,CAAC;AACvD,OAAO,EAAW,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC5D,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EACH,yBAAyB,EACzB,WAAW,EACX,yBAAyB,EACzB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"AttributesList.js","sourceRoot":"","sources":["../../../../src/components/AttributePicker/AttributesList/AttributesList.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,YAAY,EAAE,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAC,oBAAoB,EAAgB,MAAM,aAAa,CAAC;AAChE,OAAO,EAAC,KAAK,EAAoD,MAAM,MAAM,CAAC;AAE9E,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAC,MAAM,YAAY,CAAC;AACvD,OAAO,EAAW,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC5D,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EACH,yBAAyB,EACzB,WAAW,EACX,yBAAyB,EACzB,uBAAuB,GAC1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAEH,eAAe,EACf,wBAAwB,EACxB,aAAa,EAGb,kBAAkB,EAClB,eAAe,EACf,SAAS,EACT,qBAAqB,EACrB,iBAAiB,GACpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,kBAAkB,EAAC,MAAM,iDAAiD,CAAC;AACnF,OAAO,EAAC,0BAA0B,EAAC,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAC,UAAU,EAAmB,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAEhD,MAAM,aAAa,GAAG,MA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cAAc,CAAC;oBAC1B,QAAQ;oBACR,OAAO,EAAE,WAAW;oBACpB,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,IAAI,CAAC;oBACxC,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,oBAAoB,EAAE,EAAC,KAAK,EAAC,CAAC;iBACvD,EACD,MAAM,EAAE,EAAC,CAAC,EAAE,oBAAoB,EAAC,EACjC,KAAK,EAAE,GAAG,EAAE,CAAC,WAAW,EACxB,KAAK,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;oBACd,OAAO,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC;iBACzC,CAAC,EACF,QAAQ,EAAE,aAAa,GACzB,EACD,uBAAuB,IAAI,CACxB,KAAC,kBAAkB,IACf,IAAI,EAAE,uBAAuB,EAC7B,OAAO,EAAE,wBAAwB,EACjC,YAAY,EAAE,iBAAiB,EAC/B,KAAK,EAAE,GAAG,GACZ,CACL,IACF,CACN,CAAC;AACN,CAAC;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -38,8 +38,8 @@ function Attribute({ attribute, path, library, parentAttribute }) {
|
|
|
38
38
|
attribute: attributeToSelectedAttribute(attribute, {
|
|
39
39
|
path: attributePath,
|
|
40
40
|
library,
|
|
41
|
-
parentAttributeData: parentAttribute
|
|
42
|
-
})
|
|
41
|
+
parentAttributeData: parentAttribute,
|
|
42
|
+
}),
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
const label = localizedTranslation(attribute.label, lang);
|
|
@@ -6,5 +6,5 @@ interface IAttributesSelectionListProps {
|
|
|
6
6
|
canExpandExtendedAttributes?: boolean;
|
|
7
7
|
onSelectionChange: (selectedAttributes: ISelectedAttribute[]) => void;
|
|
8
8
|
}
|
|
9
|
-
declare function AttributesSelectionList({ library, multiple, selectedAttributes, canExpandExtendedAttributes, onSelectionChange }: IAttributesSelectionListProps): JSX.Element;
|
|
9
|
+
declare function AttributesSelectionList({ library, multiple, selectedAttributes, canExpandExtendedAttributes, onSelectionChange, }: IAttributesSelectionListProps): JSX.Element;
|
|
10
10
|
export default AttributesSelectionList;
|
|
@@ -11,7 +11,7 @@ import { useSharedTranslation } from '../../hooks/useSharedTranslation';
|
|
|
11
11
|
import { useGetAttributesByLibQuery } from '../../_gqlTypes';
|
|
12
12
|
import { ErrorDisplay } from '../ErrorDisplay';
|
|
13
13
|
import Attribute from './Attribute';
|
|
14
|
-
import attributeSelectionListReducer, { AttributesSelectionListActionTypes, initialState } from './reducer/attributesSelectionListReducer';
|
|
14
|
+
import attributeSelectionListReducer, { AttributesSelectionListActionTypes, initialState, } from './reducer/attributesSelectionListReducer';
|
|
15
15
|
import { AttributesSelectionListStateContext } from './reducer/attributesSelectionListStateContext';
|
|
16
16
|
import SelectedAttributesList from './SelectedAttributesList';
|
|
17
17
|
import { CustomForm } from './sharedComponents';
|
|
@@ -25,7 +25,7 @@ const Wrapper = styled.div `
|
|
|
25
25
|
grid-template-columns: repeat(${props => (props.$multiple ? 2 : 1)}, 1fr);
|
|
26
26
|
grid-column-gap: 0.3rem;
|
|
27
27
|
`;
|
|
28
|
-
function AttributesSelectionList({ library, multiple = true, selectedAttributes = [], canExpandExtendedAttributes = true, onSelectionChange }) {
|
|
28
|
+
function AttributesSelectionList({ library, multiple = true, selectedAttributes = [], canExpandExtendedAttributes = true, onSelectionChange, }) {
|
|
29
29
|
const { t } = useSharedTranslation();
|
|
30
30
|
const searchRef = useRef(null);
|
|
31
31
|
const { lang } = useLang();
|
|
@@ -35,19 +35,19 @@ function AttributesSelectionList({ library, multiple = true, selectedAttributes
|
|
|
35
35
|
library,
|
|
36
36
|
multiple,
|
|
37
37
|
selectedAttributes,
|
|
38
|
-
canExpandExtendedAttributes
|
|
38
|
+
canExpandExtendedAttributes,
|
|
39
39
|
});
|
|
40
40
|
// Retrieve attributes list
|
|
41
41
|
const { loading, error } = useGetAttributesByLibQuery({
|
|
42
42
|
variables: {
|
|
43
|
-
library
|
|
43
|
+
library,
|
|
44
44
|
},
|
|
45
45
|
onCompleted: data => {
|
|
46
46
|
dispatch({
|
|
47
47
|
type: AttributesSelectionListActionTypes.SET_ATTRIBUTES,
|
|
48
|
-
attributes: data.attributes?.list || []
|
|
48
|
+
attributes: data.attributes?.list || [],
|
|
49
49
|
});
|
|
50
|
-
}
|
|
50
|
+
},
|
|
51
51
|
});
|
|
52
52
|
useEffect(() => {
|
|
53
53
|
onSelectionChange(state.selectedAttributes);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributesSelectionList.js","sourceRoot":"","sources":["../../../src/components/AttributesSelectionList/AttributesSelectionList.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,MAAM,CAAC;AACvC,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC9D,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,0BAA0B,EAAC,MAAM,eAAe,CAAC;AACzD,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,6BAA6B,EAAE,EAClC,kCAAkC,EAClC,YAAY,
|
|
1
|
+
{"version":3,"file":"AttributesSelectionList.js","sourceRoot":"","sources":["../../../src/components/AttributesSelectionList/AttributesSelectionList.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,KAAK,E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AAC,CAAC,CAAC;IAClG,CAAC,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,mCAAmC,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAC,YAClE,MAAC,OAAO,iBAAY,KAAK,CAAC,QAAQ,aAC9B,MAAC,WAAW,mBAAa,iBAAiB,aACtC,KAAC,UAAU,cACP,KAAC,KAAK,CAAC,MAAM,IACT,WAAW,EAAE,CAAC,CAAC,wBAAwB,CAAC,gBAC7B,QAAQ,EACnB,GAAG,EAAE,SAAS,EACd,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,GAClE,GACO,EACZ,KAAK,CAAC,CAAC,CAAC,CACL,KAAC,YAAY,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,GAAI,CAC3C,CAAC,CAAC,CAAC,CACA,KAAC,IAAI,cACA,cAAc,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,CAC7B,KAAC,SAAS,IAEN,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,CAAC,EACR,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,EAAE,IAJF,SAAS,CAAC,EAAE,CAKnB,CACL,CAAC,GACC,CACV,IACS,EACb,QAAQ,IAAI,KAAC,sBAAsB,mBAAa,0BAA0B,GAAG,IACxE,GACiC,CAClD,CAAC;AACN,CAAC;AAED,eAAe,uBAAuB,CAAC"}
|
|
@@ -30,7 +30,7 @@ const SelectedAttribute = ({ selectedAttribute, handleProps }) => {
|
|
|
30
30
|
const _handleUnselectAttribute = () => {
|
|
31
31
|
dispatch({
|
|
32
32
|
type: AttributesSelectionListActionTypes.TOGGLE_ATTRIBUTE_SELECTION,
|
|
33
|
-
attribute: selectedAttribute
|
|
33
|
+
attribute: selectedAttribute,
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
36
|
return (_jsxs(_Fragment, { children: [_jsx(DragHandle, { ...handleProps, children: _jsx(HolderOutlined, {}) }), _jsxs(Content, { direction: "vertical", children: [_jsx(TextAttribute, { children: label ?? selectedAttribute.id }), label && (_jsx("div", { children: _jsx(SmallText, { children: selectedAttribute.id }) }))] }), _jsx(CloseWrapper, { children: _jsx(Button, { icon: _jsx(CloseOutlined, {}), size: "small", onClick: _handleUnselectAttribute }) })] }));
|
package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js
CHANGED
|
@@ -46,7 +46,7 @@ function SelectedAttributesList() {
|
|
|
46
46
|
dispatch({
|
|
47
47
|
type: AttributesSelectionListActionTypes.MOVE_SELECTED_ATTRIBUTE,
|
|
48
48
|
from: result.source.index,
|
|
49
|
-
to: result.destination.index
|
|
49
|
+
to: result.destination.index,
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
52
|
return (_jsx(WrapperItemSelected, { children: _jsx(DragDropContext, { onDragEnd: _onDragEnd, children: _jsx(Droppable, { droppableId: "list-attributes-selected", children: provided => (_jsxs("div", { ref: provided.innerRef, ...provided.droppableProps, children: [selection.map((selectedAttribute, index) => selectedAttribute.path !== infosCol && (_jsx(Draggable, { index: index, draggableId: selectedAttribute.path, children: dragProvided => (_jsx(CustomCard, { ref: dragProvided.innerRef, ...dragProvided.draggableProps, children: _jsx(SelectedAttribute, { selectedAttribute: selectedAttribute, handleProps: dragProvided.dragHandleProps }) })) }, selectedAttribute.path))), provided.placeholder] })) }) }) }));
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
import pick from 'lodash/pick';
|
|
5
5
|
export const attributeToSelectedAttribute = (attribute, otherProps) => ({
|
|
6
6
|
...pick(attribute, ['id', 'label', 'format', 'type', 'multiple_values']),
|
|
7
|
-
...otherProps
|
|
7
|
+
...otherProps,
|
|
8
8
|
});
|
|
9
9
|
//# sourceMappingURL=attributeToSelectedAttribute.js.map
|
|
@@ -5,6 +5,6 @@ import { mockSelectedAttributeA } from '../../../../__mocks__/common/attribute';
|
|
|
5
5
|
import { initialState } from '../attributesSelectionListReducer';
|
|
6
6
|
export const useAttributesSelectionListState = () => ({
|
|
7
7
|
state: { ...initialState, selectedAttributes: [mockSelectedAttributeA] },
|
|
8
|
-
dispatch: jest.fn()
|
|
8
|
+
dispatch: jest.fn(),
|
|
9
9
|
});
|
|
10
10
|
//# sourceMappingURL=attributesSelectionListStateContext.js.map
|
|
@@ -15,7 +15,7 @@ export const initialState = {
|
|
|
15
15
|
canExpandExtendedAttributes: true,
|
|
16
16
|
selectedAttributes: [],
|
|
17
17
|
expandedAttributePath: '',
|
|
18
|
-
attributes: []
|
|
18
|
+
attributes: [],
|
|
19
19
|
};
|
|
20
20
|
const attributeSelectionListReducer = (state, action) => {
|
|
21
21
|
switch (action.type) {
|
|
@@ -50,7 +50,7 @@ const attributeSelectionListReducer = (state, action) => {
|
|
|
50
50
|
}
|
|
51
51
|
return {
|
|
52
52
|
...state,
|
|
53
|
-
selectedAttributes: newSelection
|
|
53
|
+
selectedAttributes: newSelection,
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
case AttributesSelectionListActionTypes.MOVE_SELECTED_ATTRIBUTE: {
|
|
@@ -68,7 +68,7 @@ const attributeSelectionListReducer = (state, action) => {
|
|
|
68
68
|
newSelection = reorder(newSelection, from, to);
|
|
69
69
|
return {
|
|
70
70
|
...state,
|
|
71
|
-
selectedAttributes: newSelection
|
|
71
|
+
selectedAttributes: newSelection,
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
}
|
package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file is released under LGPL V3
|
|
3
3
|
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
4
|
import React, { useContext } from 'react';
|
|
5
|
-
import { initialState } from './attributesSelectionListReducer';
|
|
5
|
+
import { initialState, } from './attributesSelectionListReducer';
|
|
6
6
|
export const AttributesSelectionListStateContext = React.createContext({ state: initialState, dispatch: () => initialState });
|
|
7
7
|
export const useAttributesSelectionListState = () => useContext(AttributesSelectionListStateContext);
|
|
8
8
|
//# sourceMappingURL=attributesSelectionListStateContext.js.map
|
package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attributesSelectionListStateContext.js","sourceRoot":"","sources":["../../../../src/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,KAAK,EAAE,EAAgB,UAAU,EAAC,MAAM,OAAO,CAAC;AACvD,OAAO,EAGH,YAAY,
|
|
1
|
+
{"version":3,"file":"attributesSelectionListStateContext.js","sourceRoot":"","sources":["../../../../src/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,KAAK,EAAE,EAAgB,UAAU,EAAC,MAAM,OAAO,CAAC;AACvD,OAAO,EAGH,YAAY,GACf,MAAM,kCAAkC,CAAC;AAE1C,MAAM,CAAC,MAAM,mCAAmC,GAAG,KAAK,CAAC,aAAa,CAGnE,EAAC,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,YAAY,EAAC,CAAC,CAAC;AAExD,MAAM,CAAC,MAAM,+BAA+B,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,mCAAmC,CAAC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
import { App, Button, Input, Modal, Steps, theme } from 'antd';
|
|
6
6
|
import { useState } from 'react';
|
|
7
7
|
import { useSharedTranslation } from '../../hooks/useSharedTranslation';
|
|
8
|
-
import { TreeBehavior, useCreateDirectoryMutation, useDoesFileExistAsChildLazyQuery, useGetTreeLibrariesQuery } from '../../_gqlTypes';
|
|
8
|
+
import { TreeBehavior, useCreateDirectoryMutation, useDoesFileExistAsChildLazyQuery, useGetTreeLibrariesQuery, } from '../../_gqlTypes';
|
|
9
9
|
import { SelectTreeNode } from '../SelectTreeNode';
|
|
10
10
|
function CreateDirectory({ defaultSelectedKey, libraryId, onCompleted, onClose }) {
|
|
11
11
|
const { t } = useSharedTranslation();
|
|
@@ -17,26 +17,26 @@ function CreateDirectory({ defaultSelectedKey, libraryId, onCompleted, onClose }
|
|
|
17
17
|
const [treeId, setTreeId] = useState();
|
|
18
18
|
const { modal } = App.useApp();
|
|
19
19
|
const [runDoesFileExistAsChild] = useDoesFileExistAsChildLazyQuery({
|
|
20
|
-
fetchPolicy: 'no-cache'
|
|
20
|
+
fetchPolicy: 'no-cache',
|
|
21
21
|
});
|
|
22
22
|
const _checkDirectoryExists = async (parentNode, name) => {
|
|
23
23
|
const isFileExists = await runDoesFileExistAsChild({
|
|
24
24
|
variables: {
|
|
25
25
|
treeId,
|
|
26
26
|
parentNode: parentNode !== treeId ? parentNode : null,
|
|
27
|
-
filename: name
|
|
28
|
-
}
|
|
27
|
+
filename: name,
|
|
28
|
+
},
|
|
29
29
|
});
|
|
30
30
|
return isFileExists.data.doesFileExistAsChild;
|
|
31
31
|
};
|
|
32
32
|
useGetTreeLibrariesQuery({
|
|
33
33
|
variables: {
|
|
34
|
-
library: libraryId
|
|
34
|
+
library: libraryId,
|
|
35
35
|
},
|
|
36
36
|
onCompleted: getTreeLibrariesData => {
|
|
37
37
|
const linkedTree = getTreeLibrariesData.trees.list.filter(tree => tree.system && tree.behavior === TreeBehavior.files)[0];
|
|
38
38
|
setTreeId(linkedTree.id);
|
|
39
|
-
}
|
|
39
|
+
},
|
|
40
40
|
});
|
|
41
41
|
const [runCreateDirectory, { loading }] = useCreateDirectoryMutation({
|
|
42
42
|
fetchPolicy: 'no-cache',
|
|
@@ -48,7 +48,7 @@ function CreateDirectory({ defaultSelectedKey, libraryId, onCompleted, onClose }
|
|
|
48
48
|
},
|
|
49
49
|
onError: err => {
|
|
50
50
|
setStatus('error');
|
|
51
|
-
}
|
|
51
|
+
},
|
|
52
52
|
});
|
|
53
53
|
const _handleCreateClick = async () => {
|
|
54
54
|
if (await _checkDirectoryExists(selectedNodeKey, directoryName)) {
|
|
@@ -60,8 +60,8 @@ function CreateDirectory({ defaultSelectedKey, libraryId, onCompleted, onClose }
|
|
|
60
60
|
variables: {
|
|
61
61
|
library: libraryId,
|
|
62
62
|
nodeId: selectedNodeKey,
|
|
63
|
-
name: directoryName
|
|
64
|
-
}
|
|
63
|
+
name: directoryName,
|
|
64
|
+
},
|
|
65
65
|
});
|
|
66
66
|
_onClose();
|
|
67
67
|
};
|
|
@@ -70,7 +70,7 @@ function CreateDirectory({ defaultSelectedKey, libraryId, onCompleted, onClose }
|
|
|
70
70
|
onClose();
|
|
71
71
|
};
|
|
72
72
|
const contentStyle = {
|
|
73
|
-
marginTop: 16
|
|
73
|
+
marginTop: 16,
|
|
74
74
|
};
|
|
75
75
|
const next = () => {
|
|
76
76
|
setCurrentStep(currentStep + 1);
|
|
@@ -93,7 +93,7 @@ function CreateDirectory({ defaultSelectedKey, libraryId, onCompleted, onClose }
|
|
|
93
93
|
open: true,
|
|
94
94
|
title: t('create_directory.duplicate_modal.title'),
|
|
95
95
|
okText: t('global.ok'),
|
|
96
|
-
content: _jsx("p", { children: t('create_directory.duplicate_modal.message', { directoryName }) })
|
|
96
|
+
content: _jsx("p", { children: t('create_directory.duplicate_modal.message', { directoryName }) }),
|
|
97
97
|
});
|
|
98
98
|
};
|
|
99
99
|
const steps = [
|
|
@@ -101,13 +101,13 @@ function CreateDirectory({ defaultSelectedKey, libraryId, onCompleted, onClose }
|
|
|
101
101
|
title: t('create_directory.select_path_step_title'),
|
|
102
102
|
content: (_jsx("div", { "data-testid": "select-tree-node", style: {
|
|
103
103
|
borderRadius: token.borderRadiusLG,
|
|
104
|
-
border: `1px dashed ${token.colorBorder}
|
|
105
|
-
}, children: treeId && libraryId && (_jsx(SelectTreeNode, { treeId: treeId, onSelect: onSelectPath, selectedNodes: [selectedNodeKey], canSelectRoot: true, selectableLibraries: [libraryId] })) }))
|
|
104
|
+
border: `1px dashed ${token.colorBorder}`,
|
|
105
|
+
}, children: treeId && libraryId && (_jsx(SelectTreeNode, { treeId: treeId, onSelect: onSelectPath, selectedNodes: [selectedNodeKey], canSelectRoot: true, selectableLibraries: [libraryId] })) })),
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
title: t('create_directory.choose_name_step_title'),
|
|
109
|
-
content: (_jsx(Input, { "data-testid": "directory-name-input", placeholder: t('create_directory.directory_name'), value: directoryName, onChange: e => setDirectoryName(e.target.value) }))
|
|
110
|
-
}
|
|
109
|
+
content: (_jsx(Input, { "data-testid": "directory-name-input", placeholder: t('create_directory.directory_name'), value: directoryName, onChange: e => setDirectoryName(e.target.value) })),
|
|
110
|
+
},
|
|
111
111
|
];
|
|
112
112
|
const items = steps.map(item => ({ key: item.title, title: item.title }));
|
|
113
113
|
return (_jsxs(Modal, { "data-testid": "create-directory-modal", title: t('create_directory.title'), open: true, width: "70rem", onCancel: _onClose, footer: _jsxs("div", { style: { marginTop: 50 }, children: [currentStep > 0 && (_jsx(Button, { "data-testid": "prev-btn", onClick: () => prev(), children: t('create_directory.previous') })), currentStep < steps.length - 1 && (_jsx(Button, { "data-testid": "next-btn", disabled: !selectedNodeKey, type: "primary", onClick: () => next(), children: t('create_directory.next') })), currentStep > 0 && (_jsx(Button, { "data-testid": "create-btn", loading: loading, disabled: !directoryName, className: "submit-btn", title: "Create", type: "primary", onClick: _handleCreateClick, children: t('create_directory.create_step_title') }))] }), children: [_jsx(Steps, { status: status, current: currentStep, items: items }), _jsx("div", { style: contentStyle, children: steps[currentStep].content })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDirectory.js","sourceRoot":"","sources":["../../../src/components/CreateDirectory/CreateDirectory.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;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,CAAC,CAAC,OAAO,GAAO,IACxD,CACX,CAAC;AACN,CAAC;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -6,5 +6,5 @@ interface IDeactivateRecordsModalProps {
|
|
|
6
6
|
filters?: IFilter[];
|
|
7
7
|
onClose: () => void;
|
|
8
8
|
}
|
|
9
|
-
declare function DeactivateRecordsModal({ library, onClose, open, selection, filters }: IDeactivateRecordsModalProps): JSX.Element;
|
|
9
|
+
declare function DeactivateRecordsModal({ library, onClose, open, selection, filters, }: IDeactivateRecordsModalProps): JSX.Element;
|
|
10
10
|
export default DeactivateRecordsModal;
|
|
@@ -10,7 +10,7 @@ import { ErrorDisplay } from '../ErrorDisplay';
|
|
|
10
10
|
import useSearchReducer from '../LibraryItemsList/hooks/useSearchReducer';
|
|
11
11
|
import { SearchActionTypes } from '../LibraryItemsList/hooks/useSearchReducer/searchReducer';
|
|
12
12
|
import { Loading } from '../Loading';
|
|
13
|
-
function DeactivateRecordsModal({ library, onClose, open, selection, filters }) {
|
|
13
|
+
function DeactivateRecordsModal({ library, onClose, open, selection, filters, }) {
|
|
14
14
|
const { t } = useSharedTranslation();
|
|
15
15
|
const { dispatch: searchDispatch } = useSearchReducer();
|
|
16
16
|
const hasSelectedAll = selection.allSelected;
|
|
@@ -18,8 +18,8 @@ function DeactivateRecordsModal({ library, onClose, open, selection, filters })
|
|
|
18
18
|
variables: {
|
|
19
19
|
libraryId: library,
|
|
20
20
|
recordsIds: hasSelectedAll ? null : selection.selected.map(record => record.id),
|
|
21
|
-
filters: hasSelectedAll ? getRequestFromFilters(filters) : null
|
|
22
|
-
}
|
|
21
|
+
filters: hasSelectedAll ? getRequestFromFilters(filters) : null,
|
|
22
|
+
},
|
|
23
23
|
});
|
|
24
24
|
const _handleOk = async () => {
|
|
25
25
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeactivateRecordsModal.js","sourceRoot":"","sources":["../../../src/components/DeactivateRecordsModal/DeactivateRecordsModal.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAEtE,OAAO,EAAC,KAAK,EAAC,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,qBAAqB,EAAC,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAC,iBAAiB,EAAC,MAAM,0DAA0D,CAAC;AAC3F,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AAUnC,SAAS,sBAAsB,CAAC,EAC5B,OAAO,EACP,OAAO,EACP,IAAI,EACJ,SAAS,EACT,OAAO,
|
|
1
|
+
{"version":3,"file":"DeactivateRecordsModal.js","sourceRoot":"","sources":["../../../src/components/DeactivateRecordsModal/DeactivateRecordsModal.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAEtE,OAAO,EAAC,KAAK,EAAC,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,qBAAqB,EAAC,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAC,iBAAiB,EAAC,MAAM,0DAA0D,CAAC;AAC3F,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AAUnC,SAAS,sBAAsB,CAAC,EAC5B,OAAO,EACP,OAAO,EACP,IAAI,EACJ,SAAS,EACT,OAAO,GACoB;IAC3B,MAAM,EAAC,CAAC,EAA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AAI,EACV,QAAQ,QACR,QAAQ,QACR,aAAa,EAAE,EAAC,SAAS,EAAE,YAAY,EAAC,EACxC,cAAc,mBAEb,OAAO,IAAI,KAAC,OAAO,mBAAa,SAAS,GAAG,EAC5C,CAAC,OAAO,IAAI,KAAK,IAAI,KAAC,YAAY,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,GAAI,EAC7D,CAAC,MAAM,IAAI,CAAC,CAAC,8BAA8B,CAAC,IACzC,CACX,CAAC;AACN,CAAC;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type IEditApplicationProps } from './_types';
|
|
2
|
-
declare function EditApplication({ applicationId, onSetSubmitFunction, tabContentStyle, additionalTabs, activeTab }: IEditApplicationProps): JSX.Element;
|
|
2
|
+
declare function EditApplication({ applicationId, onSetSubmitFunction, tabContentStyle, additionalTabs, activeTab, }: IEditApplicationProps): JSX.Element;
|
|
3
3
|
export default EditApplication;
|
|
@@ -12,14 +12,14 @@ import { EditApplicationInfo } from './EditApplicationInfo';
|
|
|
12
12
|
const TabContentWrapper = styled.div `
|
|
13
13
|
${props => props.$style}
|
|
14
14
|
`;
|
|
15
|
-
function EditApplication({ applicationId, onSetSubmitFunction, tabContentStyle, additionalTabs = [], activeTab = 'info' }) {
|
|
15
|
+
function EditApplication({ applicationId, onSetSubmitFunction, tabContentStyle, additionalTabs = [], activeTab = 'info', }) {
|
|
16
16
|
const { t } = useSharedTranslation();
|
|
17
17
|
const isEditing = !!applicationId;
|
|
18
18
|
const { loading, error, data } = useGetApplicationByIdQuery({
|
|
19
19
|
variables: {
|
|
20
|
-
id: applicationId
|
|
20
|
+
id: applicationId,
|
|
21
21
|
},
|
|
22
|
-
skip: !applicationId
|
|
22
|
+
skip: !applicationId,
|
|
23
23
|
});
|
|
24
24
|
if (loading) {
|
|
25
25
|
return _jsx(Loading, {});
|
|
@@ -37,9 +37,9 @@ function EditApplication({ applicationId, onSetSubmitFunction, tabContentStyle,
|
|
|
37
37
|
{
|
|
38
38
|
key: 'info',
|
|
39
39
|
label: t('applications.info'),
|
|
40
|
-
tabContent: _jsx(TabContentWrapper, { style: tabContentStyle, children: appInfoComp })
|
|
40
|
+
tabContent: _jsx(TabContentWrapper, { style: tabContentStyle, children: appInfoComp }),
|
|
41
41
|
},
|
|
42
|
-
...additionalTabs
|
|
42
|
+
...additionalTabs,
|
|
43
43
|
];
|
|
44
44
|
return _jsx(KitTabs, { items: tabs, defaultKey: activeTab });
|
|
45
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditApplication.js","sourceRoot":"","sources":["../../../src/components/EditApplication/EditApplication.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AAEnC,OAAO,MAAwB,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,0BAA0B,EAAC,MAAM,eAAe,CAAC;AACzD,OAAO,EAAC,oBAAoB,EAAC,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAG1D,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAsB;MACpD,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM;CAC1B,CAAC;AAEF,SAAS,eAAe,CAAC,EACrB,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,cAAc,GAAG,EAAE,EACnB,SAAS,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"EditApplication.js","sourceRoot":"","sources":["../../../src/components/EditApplication/EditApplication.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AA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