@leav/ui 0.0.1-alpha-2 → 0.0.1-alpha-4
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.d.ts +1 -1
- package/dist/__mocks__/common/application.js +1 -1
- package/dist/__mocks__/common/attribute.d.ts +2 -2
- package/dist/__mocks__/common/attribute.js +1 -1
- package/dist/__mocks__/common/filter.d.ts +1 -1
- package/dist/__mocks__/common/filter.js +2 -2
- package/dist/__mocks__/common/form.d.ts +1 -1
- package/dist/__mocks__/common/form.js +2 -2
- package/dist/__mocks__/common/import.d.ts +1 -1
- package/dist/__mocks__/common/import.js +1 -1
- package/dist/__mocks__/common/library.d.ts +2 -2
- package/dist/__mocks__/common/library.js +1 -1
- package/dist/__mocks__/common/mockSearchContextProvider.d.ts +1 -1
- package/dist/__mocks__/common/mockSearchContextProvider.js +2 -2
- package/dist/__mocks__/common/tree.d.ts +1 -1
- package/dist/__mocks__/common/tree.js +1 -1
- package/dist/__mocks__/common/treeElements.d.ts +3 -3
- package/dist/__mocks__/common/versionProfile.d.ts +1 -1
- package/dist/__mocks__/common/view.d.ts +1 -1
- package/dist/__mocks__/common/view.js +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.d.ts +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +2 -2
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.d.ts +2 -2
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.d.ts +1 -1
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +1 -1
- package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js +1 -1
- package/dist/_queries/files/createDirectory.js +1 -1
- package/dist/_queries/files/getDirectoryDataQuery.js +1 -1
- package/dist/_queries/files/uploadMutation.js +1 -1
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.d.ts +3 -3
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.js +1 -1
- package/dist/_queries/records/deactivateRecordsMutation.js +1 -1
- package/dist/_queries/records/getFileDataQuery.d.ts +1 -1
- package/dist/_queries/records/getRecordColumnsValues.d.ts +1 -1
- package/dist/_queries/records/getRecordColumnsValues.js +1 -1
- package/dist/_queries/records/getRecordPropertiesQuery.d.ts +1 -1
- package/dist/_queries/records/getRecordPropertiesQuery.js +2 -2
- package/dist/_queries/records/getRecordsFromLibraryQuery.d.ts +2 -2
- package/dist/_queries/records/getRecordsFromLibraryQuery.js +3 -3
- package/dist/_queries/views/getViewById.js +1 -1
- package/dist/_queries/views/viewDetailsFragment.js +1 -1
- package/dist/_tests/testUtils.js +2 -2
- package/dist/_utils/getFiltersFromRequest.d.ts +2 -2
- package/dist/_utils/getFiltersFromRequest.js +3 -3
- package/dist/_utils/getRequestFromFilter.d.ts +2 -2
- package/dist/_utils/getRequestFromFilter.js +2 -2
- package/dist/_utils/index.d.ts +5 -5
- package/dist/_utils/index.js +3 -3
- package/dist/components/AttributePicker/AttributePicker.d.ts +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 +3 -3
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.d.ts +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/_types.d.ts +1 -1
- package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.d.ts +2 -2
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.d.ts +2 -2
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js +1 -1
- package/dist/components/CreateDirectory/CreateDirectory.d.ts +1 -1
- package/dist/components/CreateDirectory/CreateDirectory.js +2 -2
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +1 -1
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js +3 -3
- package/dist/components/EditApplication/EditApplication.js +1 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.js +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +1 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.js +1 -1
- package/dist/components/EditTreeModal/EditTreeModal.d.ts +1 -1
- package/dist/components/EditTreeModal/EditTreeModal.js +1 -1
- package/dist/components/EntityCard/EntityCard.js +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +1 -1
- package/dist/components/ErrorDisplay/ErrorDisplay.js +1 -1
- package/dist/components/ErrorMessage/ErrorMessage.js +1 -1
- package/dist/components/ExportModal/ExportModal.d.ts +1 -1
- package/dist/components/ExportModal/ExportModal.js +2 -2
- package/dist/components/FloatingMenu/FloatingMenu.js +1 -1
- package/dist/components/ImportModal/ImportModal.d.ts +1 -1
- package/dist/components/ImportModal/ImportModal.js +2 -2
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js +2 -2
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js +2 -2
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +4 -4
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +3 -3
- package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js +1 -1
- package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +2 -2
- package/dist/components/ImportModal/_types.d.ts +1 -1
- package/dist/components/ImportModal/importReducer/importReducer.js +1 -1
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +4 -4
- package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js +2 -2
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +6 -6
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +9 -9
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +7 -7
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +4 -4
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +4 -4
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +1 -1
- package/dist/components/LibraryItemsList/IconViewType/IconViewType.d.ts +1 -1
- package/dist/components/LibraryItemsList/IconViewType/IconViewType.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsList.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsList.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.d.ts +3 -3
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +9 -9
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js +4 -4
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +7 -7
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js +5 -5
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +6 -6
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +3 -3
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +6 -6
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +5 -5
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +6 -6
- package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.d.ts +1 -1
- package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.js +6 -6
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +5 -5
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +4 -4
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +3 -3
- package/dist/components/LibraryItemsList/MenuView/MenuView.d.ts +1 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.js +9 -9
- package/dist/components/LibraryItemsList/SearchItems/SearchItems.js +3 -3
- package/dist/components/LibraryItemsList/Sidebar/Sidebar.js +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.d.ts +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +10 -10
- package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +2 -2
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.d.ts +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +1 -1
- package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +5 -5
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.d.ts +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +6 -6
- package/dist/components/LibraryItemsList/ViewPanel/View/View.d.ts +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js +11 -11
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +11 -11
- package/dist/components/LibraryItemsList/constants.d.ts +2 -2
- package/dist/components/LibraryItemsList/constants.js +1 -1
- package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.d.ts +2 -2
- package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js +2 -2
- package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.d.ts +2 -2
- package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js +2 -2
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.d.ts +2 -2
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.d.ts +3 -3
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.d.ts +4 -4
- package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.d.ts +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.js +1 -1
- package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.d.ts +1 -1
- package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js +1 -1
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.d.ts +2 -2
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +4 -4
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +7 -7
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +3 -3
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +3 -3
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.d.ts +2 -2
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +3 -3
- package/dist/components/LibraryItemsList/manageItems.d.ts +2 -2
- package/dist/components/LibraryItemsList/manageItems.js +1 -1
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.d.ts +1 -1
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +5 -5
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.d.ts +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.d.ts +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.js +1 -1
- package/dist/components/List/List.js +1 -1
- package/dist/components/RecordCard/RecordCard.js +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +6 -6
- package/dist/components/RecordEdition/EditRecord/_types.d.ts +6 -6
- package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.js +3 -3
- package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.js +3 -3
- package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.js +3 -3
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.d.ts +6 -6
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.js +4 -4
- package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.spec.js +6 -6
- package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.js +3 -3
- package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js +2 -2
- package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/UpdatedFieldIcon.js +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.js +4 -4
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.js +4 -4
- package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.js +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.js +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.js +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js +5 -5
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.js +13 -13
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.js +13 -13
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.js +6 -6
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +15 -15
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +3 -3
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.js +8 -8
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +7 -7
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.js +8 -8
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/EditRecordModalHeader.js +1 -1
- package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/ValueInfo.js +6 -6
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.d.ts +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +4 -4
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js +1 -1
- package/dist/components/SearchModal/SearchModal.d.ts +1 -1
- package/dist/components/SearchModal/SearchModal.js +4 -4
- package/dist/components/SelectTreeNode/SelectTreeNode.js +2 -2
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js +1 -1
- package/dist/components/TreePicker/TreePicker.d.ts +1 -1
- package/dist/components/TreePicker/TreePicker.js +1 -1
- package/dist/components/TreePicker/TreesList/TreesList.d.ts +1 -1
- package/dist/components/TreePicker/TreesList/TreesList.js +4 -4
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +2 -2
- package/dist/components/UploadFiles/UploadFiles.d.ts +1 -1
- package/dist/components/UploadFiles/UploadFiles.js +3 -3
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +1 -1
- package/dist/contexts/UserContext/types.d.ts +1 -1
- package/dist/hooks/useCanEditRecord/useCanEditRecord.js +1 -1
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +1 -1
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js +2 -2
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.d.ts +1 -1
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +1 -1
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.d.ts +1 -1
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +1 -1
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +2 -2
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +2 -2
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.d.ts +2 -2
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +2 -2
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +1 -1
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.d.ts +1 -1
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +1 -1
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +1 -1
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.d.ts +2 -2
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +2 -2
- package/dist/hooks/useUser/useUser.d.ts +1 -1
- package/dist/hooks/useUser/useUser.js +1 -1
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.d.ts +2 -2
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +1 -1
- package/dist/libs/ui/tsconfig.tsbuildinfo +1 -0
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/attributes.d.ts +1 -1
- package/dist/types/search.d.ts +2 -2
- package/dist/types/search.js +1 -1
- package/dist/types/views.d.ts +1 -1
- package/package.json +14 -3
- package/apollo.apiKey.js.example +0 -7
- package/codegen.ts +0 -48
- package/graphql_codegen.ts +0 -19
- package/jest.config.js +0 -21
- package/scripts/createComponent.js +0 -79
- package/setupTests.ts +0 -21
- package/src/__mocks__/common/application.ts +0 -30
- package/src/__mocks__/common/attribute.ts +0 -164
- package/src/__mocks__/common/filter.ts +0 -41
- package/src/__mocks__/common/form.tsx +0 -291
- package/src/__mocks__/common/import.ts +0 -31
- package/src/__mocks__/common/label.ts +0 -7
- package/src/__mocks__/common/library.ts +0 -111
- package/src/__mocks__/common/mockSearchContextProvider.tsx +0 -23
- package/src/__mocks__/common/record.ts +0 -27
- package/src/__mocks__/common/tree.ts +0 -33
- package/src/__mocks__/common/treeElements.ts +0 -73
- package/src/__mocks__/common/value.ts +0 -48
- package/src/__mocks__/common/versionProfile.ts +0 -10
- package/src/__mocks__/common/view.ts +0 -28
- package/src/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.ts +0 -66
- package/src/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.ts +0 -42
- package/src/__mocks__/mockQuery/mockGetViewListQuery.ts +0 -52
- package/src/__mocks__/react-i18next.js +0 -73
- package/src/_gqlTypes/index.ts +0 -3853
- package/src/_queries/applications/applicationDetailsFragment.ts +0 -27
- package/src/_queries/applications/checkApplicationExistence.ts +0 -12
- package/src/_queries/applications/getApplicationDetails.ts +0 -16
- package/src/_queries/applications/getApplicationsModulesQuery.ts +0 -14
- package/src/_queries/applications/saveApplicationMutation.ts +0 -14
- package/src/_queries/attributes/attributeDetailsFragment.ts +0 -57
- package/src/_queries/attributes/checkAttributeExistenceQuery.ts +0 -12
- package/src/_queries/attributes/deleteAttributeMutation.ts +0 -12
- package/src/_queries/attributes/getAttributeByIdQuery.ts +0 -16
- package/src/_queries/attributes/getAttributeWithEmbeddedFields.ts +0 -32
- package/src/_queries/attributes/getAttributesByLib.ts +0 -48
- package/src/_queries/attributes/getAttributesQuery.ts +0 -19
- package/src/_queries/attributes/getVersionProfilesQuery.ts +0 -15
- package/src/_queries/attributes/getVersionableAttributesByLibrary.ts +0 -24
- package/src/_queries/attributes/saveAttributeMutation.ts +0 -14
- package/src/_queries/export/exportQuery.ts +0 -10
- package/src/_queries/files/createDirectory.ts +0 -14
- package/src/_queries/files/forcePreviewsGenerationMutation.ts +0 -22
- package/src/_queries/files/getDirectoryDataQuery.ts +0 -53
- package/src/_queries/files/getUploadUpdates.ts +0 -23
- package/src/_queries/files/uploadMutation.ts +0 -18
- package/src/_queries/import/importExcel.ts +0 -11
- package/src/_queries/libraries/checkLibraryExistenceQuery.ts +0 -12
- package/src/_queries/libraries/deleteLibraryMutation.ts +0 -12
- package/src/_queries/libraries/getLibrariesQuery.ts +0 -29
- package/src/_queries/libraries/getLibraryByIdQuery.ts +0 -16
- package/src/_queries/libraries/getLibraryDetailExtendQuery.ts +0 -259
- package/src/_queries/libraries/getLibraryPermissionsQuery.ts +0 -20
- package/src/_queries/libraries/getLibraryPreviewsSettingsQuery.ts +0 -29
- package/src/_queries/libraries/libraryDetailsFragment.ts +0 -87
- package/src/_queries/libraries/saveLibraryMutation.ts +0 -14
- package/src/_queries/permissions/isAllowedQuery.ts +0 -18
- package/src/_queries/records/createRecordMutation.ts +0 -26
- package/src/_queries/records/deactivateRecordsMutation.ts +0 -15
- package/src/_queries/records/doesFileExistAsChild.ts +0 -10
- package/src/_queries/records/getFileDataQuery.ts +0 -77
- package/src/_queries/records/getRecordColumnsValues.ts +0 -90
- package/src/_queries/records/getRecordFormQuery.ts +0 -62
- package/src/_queries/records/getRecordPropertiesQuery.ts +0 -165
- package/src/_queries/records/getRecordUpdatesSubscription.ts +0 -31
- package/src/_queries/records/getRecordsFromLibraryQuery.ts +0 -137
- package/src/_queries/records/indexRecordsMutation.ts +0 -10
- package/src/_queries/records/recordFormAttributeFragment.ts +0 -94
- package/src/_queries/tasks/cancelTaskMutation.ts +0 -10
- package/src/_queries/trees/checkTreeExistenceQuery.ts +0 -12
- package/src/_queries/trees/deleteTreeMutation.ts +0 -12
- package/src/_queries/trees/getTreeByIdQuery.ts +0 -16
- package/src/_queries/trees/getTreeLibraries.ts +0 -30
- package/src/_queries/trees/getTreesQuery.ts +0 -18
- package/src/_queries/trees/saveTreeMutation.ts +0 -14
- package/src/_queries/trees/treeDetailsFragment.ts +0 -24
- package/src/_queries/trees/treeNodeChildrenQuery.ts +0 -48
- package/src/_queries/userData/getUserData.ts +0 -13
- package/src/_queries/userData/saveUserData.ts +0 -13
- package/src/_queries/values/deleteValueMutation.ts +0 -14
- package/src/_queries/values/saveValueBatchMutation.ts +0 -34
- package/src/_queries/values/valueDetailsFragment.ts +0 -76
- package/src/_queries/values/valuesVersionFragment.ts +0 -23
- package/src/_queries/views/deleteViewMutation.ts +0 -23
- package/src/_queries/views/getViewById.ts +0 -16
- package/src/_queries/views/getViewsListQuery.ts +0 -17
- package/src/_queries/views/saveViewMutation.ts +0 -16
- package/src/_queries/views/viewDetailsFragment.ts +0 -59
- package/src/_tests/testUtils.tsx +0 -46
- package/src/_utils/getFiltersFromRequest.ts +0 -136
- package/src/_utils/getRequestFromFilter.ts +0 -61
- package/src/_utils/index.ts +0 -189
- package/src/antdTheme/index.ts +0 -108
- package/src/antdTheme/types.ts +0 -5
- package/src/components/AttributePicker/AttributePicker.test.tsx +0 -286
- package/src/components/AttributePicker/AttributePicker.tsx +0 -71
- package/src/components/AttributePicker/AttributesList/AttributesList.tsx +0 -330
- package/src/components/AttributePicker/AttributesList/index.ts +0 -4
- package/src/components/AttributePicker/index.ts +0 -4
- package/src/components/AttributesSelectionList/Attribute/Attribute.tsx +0 -67
- package/src/components/AttributesSelectionList/Attribute/index.ts +0 -5
- package/src/components/AttributesSelectionList/AttributesSelectionList.test.tsx +0 -115
- package/src/components/AttributesSelectionList/AttributesSelectionList.tsx +0 -132
- package/src/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.tsx +0 -69
- package/src/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.ts +0 -5
- package/src/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.tsx +0 -96
- package/src/components/AttributesSelectionList/SelectedAttributesList/index.ts +0 -5
- package/src/components/AttributesSelectionList/_types.ts +0 -16
- package/src/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.ts +0 -11
- package/src/components/AttributesSelectionList/index.ts +0 -5
- package/src/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.ts +0 -10
- package/src/components/AttributesSelectionList/reducer/attributesSelectionListReducer.test.tsx +0 -202
- package/src/components/AttributesSelectionList/reducer/attributesSelectionListReducer.tsx +0 -118
- package/src/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.ts +0 -16
- package/src/components/AttributesSelectionList/sharedComponents.tsx +0 -18
- package/src/components/BasicButton/BasicButton.test.tsx +0 -14
- package/src/components/BasicButton/BasicButton.tsx +0 -36
- package/src/components/BasicButton/index.ts +0 -4
- package/src/components/CreateDirectory/CreateDirectory.test.tsx +0 -291
- package/src/components/CreateDirectory/CreateDirectory.tsx +0 -222
- package/src/components/CreateDirectory/index.ts +0 -4
- package/src/components/DeactivateRecordsModal/DeactivateRecordsModal.test.tsx +0 -147
- package/src/components/DeactivateRecordsModal/DeactivateRecordsModal.tsx +0 -78
- package/src/components/DeactivateRecordsModal/index.ts +0 -4
- package/src/components/Dimmer/Dimmer.test.tsx +0 -21
- package/src/components/Dimmer/Dimmer.tsx +0 -27
- package/src/components/Dimmer/index.ts +0 -5
- package/src/components/EditApplication/EditApplication.test.tsx +0 -315
- package/src/components/EditApplication/EditApplication.tsx +0 -64
- package/src/components/EditApplication/EditApplicationInfo/EditApplicationInfo.tsx +0 -166
- package/src/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.tsx +0 -316
- package/src/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.tsx +0 -51
- package/src/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.ts +0 -5
- package/src/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.ts +0 -5
- package/src/components/EditApplication/EditApplicationInfo/index.ts +0 -4
- package/src/components/EditApplication/_types.ts +0 -12
- package/src/components/EditApplication/index.ts +0 -5
- package/src/components/EditAttributeModal/EditAttribute/EditAttribute.tsx +0 -68
- package/src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.tsx +0 -188
- package/src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.tsx +0 -382
- package/src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.tsx +0 -88
- package/src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.ts +0 -4
- package/src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.tsx +0 -84
- package/src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.ts +0 -4
- package/src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.tsx +0 -100
- package/src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.ts +0 -4
- package/src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.ts +0 -4
- package/src/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.ts +0 -4
- package/src/components/EditAttributeModal/EditAttribute/index.ts +0 -4
- package/src/components/EditAttributeModal/EditAttributeModal.test.tsx +0 -335
- package/src/components/EditAttributeModal/EditAttributeModal.tsx +0 -178
- package/src/components/EditAttributeModal/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/EditLibrary.tsx +0 -119
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.tsx +0 -61
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.tsx +0 -273
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.tsx +0 -52
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.test.tsx +0 -116
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.tsx +0 -56
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.tsx +0 -134
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.tsx +0 -159
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.tsx +0 -306
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.test.tsx +0 -85
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.tsx +0 -51
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.test.tsx +0 -76
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.tsx +0 -180
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.tsx +0 -182
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.tsx +0 -241
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibrary/index.ts +0 -4
- package/src/components/EditLibraryModal/EditLibraryModal.test.tsx +0 -346
- package/src/components/EditLibraryModal/EditLibraryModal.tsx +0 -178
- package/src/components/EditLibraryModal/index.ts +0 -4
- package/src/components/EditTreeModal/EditTree/EditTree.tsx +0 -68
- package/src/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.tsx +0 -171
- package/src/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.tsx +0 -216
- package/src/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.tsx +0 -239
- package/src/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.ts +0 -4
- package/src/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.ts +0 -4
- package/src/components/EditTreeModal/EditTree/EditTreeInfo/index.ts +0 -4
- package/src/components/EditTreeModal/EditTree/index.ts +0 -4
- package/src/components/EditTreeModal/EditTreeModal.test.tsx +0 -516
- package/src/components/EditTreeModal/EditTreeModal.tsx +0 -167
- package/src/components/EditTreeModal/index.ts +0 -4
- package/src/components/EntityCard/EntityCard.test.tsx +0 -50
- package/src/components/EntityCard/EntityCard.tsx +0 -177
- package/src/components/EntityCard/_types.ts +0 -9
- package/src/components/EntityCard/index.ts +0 -5
- package/src/components/EntityPreview/EntityPreview.test.tsx +0 -50
- package/src/components/EntityPreview/EntityPreview.tsx +0 -17
- package/src/components/EntityPreview/EntityPreviewList/EntityPreviewList.tsx +0 -106
- package/src/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.tsx +0 -34
- package/src/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.ts +0 -5
- package/src/components/EntityPreview/EntityPreviewList/index.ts +0 -5
- package/src/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.tsx +0 -105
- package/src/components/EntityPreview/EntityPreviewTile/index.ts +0 -5
- package/src/components/EntityPreview/_types.ts +0 -25
- package/src/components/EntityPreview/index.ts +0 -5
- package/src/components/ErrorBoundary/ErrorBoundary.test.tsx +0 -43
- package/src/components/ErrorBoundary/ErrorBoundary.tsx +0 -46
- package/src/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.tsx +0 -59
- package/src/components/ErrorBoundary/ErrorBoundaryContent/index.ts +0 -5
- package/src/components/ErrorBoundary/index.ts +0 -4
- package/src/components/ErrorDisplay/ErrorDisplay.test.tsx +0 -15
- package/src/components/ErrorDisplay/ErrorDisplay.tsx +0 -67
- package/src/components/ErrorDisplay/index.ts +0 -4
- package/src/components/ErrorMessage/ErrorMessage.test.tsx +0 -30
- package/src/components/ErrorMessage/ErrorMessage.tsx +0 -45
- package/src/components/ErrorMessage/index.ts +0 -5
- package/src/components/ExportModal/ExportModal.test.tsx +0 -44
- package/src/components/ExportModal/ExportModal.tsx +0 -205
- package/src/components/ExportModal/index.ts +0 -4
- package/src/components/FieldsGroup/FieldsGroup.test.tsx +0 -18
- package/src/components/FieldsGroup/FieldsGroup.tsx +0 -43
- package/src/components/FieldsGroup/index.ts +0 -5
- package/src/components/FloatingMenu/FloatingMenu.test.tsx +0 -81
- package/src/components/FloatingMenu/FloatingMenu.tsx +0 -94
- package/src/components/FloatingMenu/_types.ts +0 -20
- package/src/components/FloatingMenu/index.ts +0 -5
- package/src/components/ImageLoading/ImageLoading.tsx +0 -32
- package/src/components/ImageLoading/index.ts +0 -4
- package/src/components/ImageMissing/ImageMissing.tsx +0 -38
- package/src/components/ImageMissing/index.ts +0 -4
- package/src/components/ImportModal/ImportModal.tsx +0 -287
- package/src/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.tsx +0 -60
- package/src/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.ts +0 -5
- package/src/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.tsx +0 -37
- package/src/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.ts +0 -5
- package/src/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.tsx +0 -298
- package/src/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.tsx +0 -52
- package/src/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.ts +0 -5
- package/src/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.tsx +0 -155
- package/src/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.ts +0 -5
- package/src/components/ImportModal/ImportModalConfigStep/index.ts +0 -5
- package/src/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.tsx +0 -28
- package/src/components/ImportModal/ImportModalDoneStep/index.ts +0 -5
- package/src/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.tsx +0 -17
- package/src/components/ImportModal/ImportModalProcessingStep/index.ts +0 -5
- package/src/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.tsx +0 -212
- package/src/components/ImportModal/ImportModalSelectFileStep/index.ts +0 -5
- package/src/components/ImportModal/_types.ts +0 -44
- package/src/components/ImportModal/importReducer/ImportReducerContext.ts +0 -17
- package/src/components/ImportModal/importReducer/importReducer.test.ts +0 -125
- package/src/components/ImportModal/importReducer/importReducer.ts +0 -171
- package/src/components/ImportModal/importReducer/index.ts +0 -5
- package/src/components/ImportModal/index.ts +0 -4
- package/src/components/LibraryItemsList/DisplayOptions/DisplayOptions.tsx +0 -121
- package/src/components/LibraryItemsList/DisplayOptions/index.ts +0 -5
- package/src/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.test.tsx +0 -29
- package/src/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.tsx +0 -23
- package/src/components/LibraryItemsList/DisplayTypeSelector/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.tsx +0 -341
- package/src/components/LibraryItemsList/FiltersDropdown/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersPanel/Filter/Filter.test.tsx +0 -75
- package/src/components/LibraryItemsList/FiltersPanel/Filter/Filter.tsx +0 -544
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.tsx +0 -134
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.test.tsx +0 -38
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.tsx +0 -23
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.test.tsx +0 -14
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.tsx +0 -43
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.test.tsx +0 -14
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.tsx +0 -36
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.test.tsx +0 -14
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.tsx +0 -50
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.test.tsx +0 -16
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.tsx +0 -52
- package/src/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersPanel/Filter/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.tsx +0 -27
- package/src/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.test.tsx +0 -23
- package/src/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.tsx +0 -54
- package/src/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersPanel/FiltersOptions.tsx +0 -192
- package/src/components/LibraryItemsList/FiltersPanel/FiltersPanel.tsx +0 -190
- package/src/components/LibraryItemsList/FiltersPanel/index.ts +0 -5
- package/src/components/LibraryItemsList/FiltersPanel/mustHideValue.ts +0 -19
- package/src/components/LibraryItemsList/IconViewType/IconViewType.tsx +0 -24
- package/src/components/LibraryItemsList/IconViewType/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsList.test.tsx +0 -107
- package/src/components/LibraryItemsList/LibraryItemsList.tsx +0 -55
- package/src/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.tsx +0 -288
- package/src/components/LibraryItemsList/LibraryItemsListContent/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.tsx +0 -106
- package/src/components/LibraryItemsList/LibraryItemsListEmpty/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.test.tsx +0 -20
- package/src/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.tsx +0 -36
- package/src/components/LibraryItemsList/LibraryItemsListPagination/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.test.tsx +0 -39
- package/src/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.tsx +0 -70
- package/src/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.ts +0 -6
- package/src/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.test.tsx +0 -48
- package/src/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.tsx +0 -93
- package/src/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.tsx +0 -88
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.test.tsx +0 -75
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.tsx +0 -78
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.test.tsx +0 -38
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.tsx +0 -91
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.test.tsx +0 -13
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.tsx +0 -46
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.tsx +0 -33
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.tsx +0 -117
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsListTable/Cell/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.css +0 -3
- package/src/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.test.tsx +0 -45
- package/src/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.tsx +0 -144
- package/src/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsListTable/Header/Header.test.tsx +0 -73
- package/src/components/LibraryItemsList/LibraryItemsListTable/Header/Header.tsx +0 -197
- package/src/components/LibraryItemsList/LibraryItemsListTable/Header/index.ts +0 -5
- package/src/components/LibraryItemsList/LibraryItemsListTable/Table.test.tsx +0 -39
- package/src/components/LibraryItemsList/LibraryItemsListTable/Table.tsx +0 -328
- package/src/components/LibraryItemsList/LibraryItemsListTable/index.ts +0 -5
- package/src/components/LibraryItemsList/MenuItemList/MenuItemList.test.tsx +0 -75
- package/src/components/LibraryItemsList/MenuItemList/MenuItemList.tsx +0 -104
- package/src/components/LibraryItemsList/MenuItemList/index.ts +0 -5
- package/src/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.test.tsx +0 -29
- package/src/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.tsx +0 -107
- package/src/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.ts +0 -5
- package/src/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.test.tsx +0 -18
- package/src/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.tsx +0 -182
- package/src/components/LibraryItemsList/MenuItemListSelected/index.ts +0 -5
- package/src/components/LibraryItemsList/MenuSelection/MenuSelection.test.tsx +0 -16
- package/src/components/LibraryItemsList/MenuSelection/MenuSelection.tsx +0 -74
- package/src/components/LibraryItemsList/MenuSelection/index.ts +0 -5
- package/src/components/LibraryItemsList/MenuView/MenuView.test.tsx +0 -20
- package/src/components/LibraryItemsList/MenuView/MenuView.tsx +0 -248
- package/src/components/LibraryItemsList/MenuView/index.ts +0 -5
- package/src/components/LibraryItemsList/SearchItems/SearchItems.test.tsx +0 -20
- package/src/components/LibraryItemsList/SearchItems/SearchItems.tsx +0 -37
- package/src/components/LibraryItemsList/SearchItems/index.ts +0 -5
- package/src/components/LibraryItemsList/Sidebar/Sidebar.test.tsx +0 -66
- package/src/components/LibraryItemsList/Sidebar/Sidebar.tsx +0 -71
- package/src/components/LibraryItemsList/Sidebar/index.ts +0 -5
- package/src/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.test.tsx +0 -40
- package/src/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.tsx +0 -322
- package/src/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.ts +0 -5
- package/src/components/LibraryItemsList/TileDisplay/TileDisplay.test.tsx +0 -50
- package/src/components/LibraryItemsList/TileDisplay/TileDisplay.tsx +0 -75
- package/src/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.ts +0 -13
- package/src/components/LibraryItemsList/TileDisplay/index.ts +0 -5
- package/src/components/LibraryItemsList/VersionsPanel/VersionsPanel.test.tsx +0 -24
- package/src/components/LibraryItemsList/VersionsPanel/VersionsPanel.tsx +0 -85
- package/src/components/LibraryItemsList/VersionsPanel/index.ts +0 -5
- package/src/components/LibraryItemsList/ViewPanel/EditView/EditView.test.tsx +0 -41
- package/src/components/LibraryItemsList/ViewPanel/EditView/EditView.tsx +0 -176
- package/src/components/LibraryItemsList/ViewPanel/EditView/index.ts +0 -5
- package/src/components/LibraryItemsList/ViewPanel/View/View.test.tsx +0 -36
- package/src/components/LibraryItemsList/ViewPanel/View/View.tsx +0 -262
- package/src/components/LibraryItemsList/ViewPanel/View/index.ts +0 -5
- package/src/components/LibraryItemsList/ViewPanel/ViewPanel.test.tsx +0 -143
- package/src/components/LibraryItemsList/ViewPanel/ViewPanel.tsx +0 -299
- package/src/components/LibraryItemsList/ViewPanel/index.ts +0 -5
- package/src/components/LibraryItemsList/constants.ts +0 -24
- package/src/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.ts +0 -18
- package/src/components/LibraryItemsList/helpers/displayTypeToPreviewSize.ts +0 -15
- package/src/components/LibraryItemsList/helpers/extractAttributesFromLibrary.ts +0 -86
- package/src/components/LibraryItemsList/helpers/getFieldFromKey.ts +0 -50
- package/src/components/LibraryItemsList/helpers/getFieldsFromView.ts +0 -23
- package/src/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.ts +0 -14
- package/src/components/LibraryItemsList/helpers/getSortFieldByAttributeType.ts +0 -16
- package/src/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.test.tsx +0 -146
- package/src/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.tsx +0 -118
- package/src/components/LibraryItemsList/hooks/useSearchReducer/_types.ts +0 -80
- package/src/components/LibraryItemsList/hooks/useSearchReducer/index.ts +0 -6
- package/src/components/LibraryItemsList/hooks/useSearchReducer/searchContext.ts +0 -11
- package/src/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.test.ts +0 -380
- package/src/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.ts +0 -302
- package/src/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.ts +0 -9
- package/src/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.ts +0 -54
- package/src/components/LibraryItemsList/index.ts +0 -4
- package/src/components/LibraryItemsList/manageItems.test.ts +0 -367
- package/src/components/LibraryItemsList/manageItems.ts +0 -124
- package/src/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.test.tsx +0 -49
- package/src/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.tsx +0 -53
- package/src/components/LibraryItemsList/shared/DeactivateRecordBtn/index.ts +0 -5
- package/src/components/LibraryItemsList/shared/SelectCellsBtn.tsx +0 -50
- package/src/components/LibraryPicker/LibrariesList/LibrariesList.tsx +0 -211
- package/src/components/LibraryPicker/LibrariesList/index.ts +0 -4
- package/src/components/LibraryPicker/LibraryPicker.test.tsx +0 -207
- package/src/components/LibraryPicker/LibraryPicker.tsx +0 -62
- package/src/components/LibraryPicker/index.ts +0 -4
- package/src/components/List/List.test.tsx +0 -66
- package/src/components/List/List.tsx +0 -95
- package/src/components/List/index.ts +0 -5
- package/src/components/Loading/Loading.tsx +0 -23
- package/src/components/Loading/index.ts +0 -4
- package/src/components/RecordCard/RecordCard.test.tsx +0 -40
- package/src/components/RecordCard/RecordCard.tsx +0 -64
- package/src/components/RecordCard/_types.ts +0 -19
- package/src/components/RecordCard/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/EditRecord.test.tsx +0 -137
- package/src/components/RecordEdition/EditRecord/EditRecord.tsx +0 -140
- package/src/components/RecordEdition/EditRecord/EditRecordSkeleton.tsx +0 -29
- package/src/components/RecordEdition/EditRecord/_types.ts +0 -154
- package/src/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.test.tsx +0 -115
- package/src/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.tsx +0 -26
- package/src/components/RecordEdition/EditRecord/helpers/extractFormElements/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.ts +0 -8
- package/src/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.ts +0 -4
- package/src/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.ts +0 -4
- package/src/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.test.ts +0 -87
- package/src/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.ts +0 -27
- package/src/components/RecordEdition/EditRecord/hooks/__mocks__/useDeleteValueMutation.ts +0 -8
- package/src/components/RecordEdition/EditRecord/hooks/__mocks__/useSaveValueMutation.ts +0 -8
- package/src/components/RecordEdition/EditRecord/hooks/helpers/getPropertyCacheFieldName.ts +0 -4
- package/src/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.ts +0 -50
- package/src/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.ts +0 -75
- package/src/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.ts +0 -9
- package/src/components/RecordEdition/EditRecord/hooks/useSaveValueBatchMutation.test.ts +0 -134
- package/src/components/RecordEdition/EditRecord/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/reducers/linkFieldReducer/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.test.ts +0 -173
- package/src/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.ts +0 -205
- package/src/components/RecordEdition/EditRecord/reducers/standardFieldReducer/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.test.ts +0 -473
- package/src/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.ts +0 -434
- package/src/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.test.tsx +0 -27
- package/src/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.tsx +0 -36
- package/src/components/RecordEdition/EditRecord/shared/AddValueBtn/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.test.tsx +0 -25
- package/src/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.tsx +0 -48
- package/src/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.test.tsx +0 -26
- package/src/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.tsx +0 -40
- package/src/components/RecordEdition/EditRecord/shared/DeleteValueBtn/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.test.tsx +0 -17
- package/src/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.tsx +0 -42
- package/src/components/RecordEdition/EditRecord/shared/FieldFooter/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.test.tsx +0 -28
- package/src/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.tsx +0 -33
- package/src/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/shared/NoValue/NoValue.test.tsx +0 -29
- package/src/components/RecordEdition/EditRecord/shared/NoValue/NoValue.tsx +0 -56
- package/src/components/RecordEdition/EditRecord/shared/NoValue/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/UpdatedFieldIcon.tsx +0 -18
- package/src/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.test.tsx +0 -54
- package/src/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.tsx +0 -45
- package/src/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.test.tsx +0 -49
- package/src/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.tsx +0 -104
- package/src/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.tsx +0 -42
- package/src/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/Container/Container.test.tsx +0 -35
- package/src/components/RecordEdition/EditRecord/uiElements/Container/Container.tsx +0 -37
- package/src/components/RecordEdition/EditRecord/uiElements/Container/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.test.tsx +0 -35
- package/src/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.tsx +0 -82
- package/src/components/RecordEdition/EditRecord/uiElements/ErrorField/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.test.tsx +0 -25
- package/src/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.tsx +0 -14
- package/src/components/RecordEdition/EditRecord/uiElements/FormDivider/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.test.tsx +0 -35
- package/src/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.tsx +0 -50
- package/src/components/RecordEdition/EditRecord/uiElements/FormTabs/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.tsx +0 -60
- package/src/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.test.tsx +0 -593
- package/src/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.tsx +0 -494
- package/src/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.tsx +0 -16
- package/src/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.tsx +0 -83
- package/src/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.tsx +0 -419
- package/src/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/LinkField/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.test.tsx +0 -627
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.tsx +0 -320
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.tsx +0 -26
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.tsx +0 -38
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.tsx +0 -62
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.tsx +0 -67
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.tsx +0 -34
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.tsx +0 -53
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.tsx +0 -67
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.tsx +0 -44
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.tsx +0 -629
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.tsx +0 -79
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/StandardField/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.test.tsx +0 -15
- package/src/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.tsx +0 -13
- package/src/components/RecordEdition/EditRecord/uiElements/TextBlock/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.test.tsx +0 -249
- package/src/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.tsx +0 -349
- package/src/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.tsx +0 -68
- package/src/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.tsx +0 -198
- package/src/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/TreeField/index.ts +0 -5
- package/src/components/RecordEdition/EditRecord/uiElements/index.tsx +0 -27
- package/src/components/RecordEdition/EditRecordBtn/EditRecordBtn.test.tsx +0 -30
- package/src/components/RecordEdition/EditRecordBtn/EditRecordBtn.tsx +0 -52
- package/src/components/RecordEdition/EditRecordBtn/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordModal/EditRecordModal.test.tsx +0 -84
- package/src/components/RecordEdition/EditRecordModal/EditRecordModal.tsx +0 -531
- package/src/components/RecordEdition/EditRecordModal/EditRecordModalHeader/EditRecordModalHeader.tsx +0 -93
- package/src/components/RecordEdition/EditRecordModal/EditRecordModalHeader/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.tsx +0 -57
- package/src/components/RecordEdition/EditRecordModal/ValuesVersionSummary/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordModal/creationErrorContext.ts +0 -12
- package/src/components/RecordEdition/EditRecordModal/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.test.tsx +0 -159
- package/src/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.tsx +0 -33
- package/src/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.test.tsx +0 -36
- package/src/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.tsx +0 -46
- package/src/components/RecordEdition/EditRecordSidebar/PropertiesList/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.test.tsx +0 -50
- package/src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.tsx +0 -107
- package/src/components/RecordEdition/EditRecordSidebar/RecordSummary/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.tsx +0 -75
- package/src/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.tsx +0 -56
- package/src/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.tsx +0 -109
- package/src/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/ValueInfo.tsx +0 -106
- package/src/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/ValueMetadata.tsx +0 -96
- package/src/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordSidebar/ValueDetails/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.tsx +0 -91
- package/src/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.ts +0 -5
- package/src/components/RecordEdition/EditRecordSidebar/index.ts +0 -5
- package/src/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.test.ts +0 -174
- package/src/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.ts +0 -155
- package/src/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.ts +0 -15
- package/src/components/RecordEdition/editRecordModalReducer/index.ts +0 -5
- package/src/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.ts +0 -7
- package/src/components/RecordEdition/index.ts +0 -4
- package/src/components/RecordPreviewWithModal/FileModal/FileModal.test.tsx +0 -357
- package/src/components/RecordPreviewWithModal/FileModal/FileModal.tsx +0 -71
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.tsx +0 -27
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.ts +0 -5
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.tsx +0 -44
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.ts +0 -5
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.tsx +0 -103
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.tsx +0 -127
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.ts +0 -5
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.tsx +0 -52
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.ts +0 -5
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.tsx +0 -79
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.ts +0 -5
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.tsx +0 -33
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.ts +0 -5
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.ts +0 -11
- package/src/components/RecordPreviewWithModal/FileModal/FileModalContent/index.ts +0 -5
- package/src/components/RecordPreviewWithModal/FileModal/_constants.ts +0 -5
- package/src/components/RecordPreviewWithModal/FileModal/index.ts +0 -5
- package/src/components/RecordPreviewWithModal/RecordPreviewWithModal.test.tsx +0 -48
- package/src/components/RecordPreviewWithModal/RecordPreviewWithModal.tsx +0 -84
- package/src/components/RecordPreviewWithModal/index.ts +0 -4
- package/src/components/SearchModal/SearchModal.test.tsx +0 -38
- package/src/components/SearchModal/SearchModal.tsx +0 -85
- package/src/components/SearchModal/index.ts +0 -4
- package/src/components/SelectTreeNode/SelectTreeNode.test.tsx +0 -100
- package/src/components/SelectTreeNode/SelectTreeNode.tsx +0 -232
- package/src/components/SelectTreeNode/index.ts +0 -4
- package/src/components/SelectTreeNodeModal/SelectTreeNodeModal.test.tsx +0 -35
- package/src/components/SelectTreeNodeModal/SelectTreeNodeModal.tsx +0 -75
- package/src/components/SelectTreeNodeModal/index.ts +0 -5
- package/src/components/SimpleErrorBoundary/SimpleErrorBoundary.test.tsx +0 -24
- package/src/components/SimpleErrorBoundary/SimpleErrorBoundary.tsx +0 -39
- package/src/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.tsx +0 -41
- package/src/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.ts +0 -5
- package/src/components/SimpleErrorBoundary/index.ts +0 -4
- package/src/components/SubmitStateNotifier/SubmitStateNotifier.test.tsx +0 -13
- package/src/components/SubmitStateNotifier/SubmitStateNotifier.tsx +0 -83
- package/src/components/SubmitStateNotifier/_types.ts +0 -4
- package/src/components/SubmitStateNotifier/index.ts +0 -5
- package/src/components/TreePicker/TreePicker.test.tsx +0 -208
- package/src/components/TreePicker/TreePicker.tsx +0 -60
- package/src/components/TreePicker/TreesList/TreesList.tsx +0 -208
- package/src/components/TreePicker/TreesList/index.ts +0 -4
- package/src/components/TreePicker/index.ts +0 -4
- package/src/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.test.tsx +0 -161
- package/src/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.tsx +0 -146
- package/src/components/TriggerPreviewsGenerationModal/index.ts +0 -2
- package/src/components/UploadFiles/UploadFiles.test.tsx +0 -200
- package/src/components/UploadFiles/UploadFiles.tsx +0 -406
- package/src/components/UploadFiles/index.ts +0 -4
- package/src/components/ValuesVersionConfigurator/ValuesVersionConfigurator.test.tsx +0 -106
- package/src/components/ValuesVersionConfigurator/ValuesVersionConfigurator.tsx +0 -72
- package/src/components/ValuesVersionConfigurator/VersionTree/VersionTree.tsx +0 -125
- package/src/components/ValuesVersionConfigurator/VersionTree/index.ts +0 -5
- package/src/components/ValuesVersionConfigurator/index.ts +0 -5
- package/src/components/index.ts +0 -40
- package/src/constants.ts +0 -52
- package/src/contexts/LangContext/LangContext.tsx +0 -9
- package/src/contexts/LangContext/_types.ts +0 -9
- package/src/contexts/LangContext/index.ts +0 -5
- package/src/contexts/UserContext/UserContext.ts +0 -7
- package/src/contexts/UserContext/index.ts +0 -2
- package/src/contexts/UserContext/types.ts +0 -11
- package/src/contexts/index.ts +0 -5
- package/src/gqlFragments/index.ts +0 -4
- package/src/gqlFragments/recordIdentityFragment.ts +0 -21
- package/src/gqlPossibleTypes/index.ts +0 -28
- package/src/hooks/index.ts +0 -17
- package/src/hooks/useAntdLocale/index.ts +0 -4
- package/src/hooks/useAntdLocale/useAntdLocale.ts +0 -17
- package/src/hooks/useAppLang/index.ts +0 -4
- package/src/hooks/useAppLang/useAppLang.tsx +0 -39
- package/src/hooks/useAuth/index.ts +0 -4
- package/src/hooks/useAuth/useAuth.ts +0 -23
- package/src/hooks/useCanEditRecord/index.ts +0 -1
- package/src/hooks/useCanEditRecord/useCanEditRecord.test.tsx +0 -195
- package/src/hooks/useCanEditRecord/useCanEditRecord.ts +0 -71
- package/src/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.ts +0 -54
- package/src/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.ts +0 -29
- package/src/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.ts +0 -30
- package/src/hooks/useGetPreparedFileData/useGetPreparedFileData.ts +0 -54
- package/src/hooks/useGetRecordForm/index.ts +0 -5
- package/src/hooks/useGetRecordForm/useGetRecordForm.test.tsx +0 -159
- package/src/hooks/useGetRecordForm/useGetRecordForm.ts +0 -153
- package/src/hooks/useGetRecordUpdatesSubscription/index.ts +0 -4
- package/src/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.ts +0 -21
- package/src/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.ts +0 -82
- package/src/hooks/useLang/__mocks__/index.ts +0 -5
- package/src/hooks/useLang/__mocks__/useLang.tsx +0 -13
- package/src/hooks/useLang/index.ts +0 -5
- package/src/hooks/useLang/useLang.test.tsx +0 -34
- package/src/hooks/useLang/useLang.tsx +0 -17
- package/src/hooks/useLibraryVersionTrees/index.ts +0 -4
- package/src/hooks/useLibraryVersionTrees/useLibraryVersionTrees.test.tsx +0 -95
- package/src/hooks/useLibraryVersionTrees/useLibraryVersionTrees.ts +0 -35
- package/src/hooks/useLocalStorage/index.ts +0 -4
- package/src/hooks/useLocalStorage/useLocalStorage.ts +0 -23
- package/src/hooks/useRecordsConsultationHistory/index.ts +0 -5
- package/src/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.ts +0 -38
- package/src/hooks/useRefreshFieldValues/index.ts +0 -4
- package/src/hooks/useRefreshFieldValues/useRefreshFieldValues.test.tsx +0 -75
- package/src/hooks/useRefreshFieldValues/useRefreshFieldValues.ts +0 -63
- package/src/hooks/useRefreshToken/index.ts +0 -4
- package/src/hooks/useRefreshToken/useRefreshToken.ts +0 -34
- package/src/hooks/useSharedTranslation/__mocks__/index.ts +0 -4
- package/src/hooks/useSharedTranslation/__mocks__/useSharedTranslation.ts +0 -21
- package/src/hooks/useSharedTranslation/index.ts +0 -4
- package/src/hooks/useSharedTranslation/useSharedTranslation.ts +0 -45
- package/src/hooks/useUser/index.ts +0 -1
- package/src/hooks/useUser/useUser.test.tsx +0 -28
- package/src/hooks/useUser/useUser.ts +0 -15
- package/src/hooks/useValuesCacheUpdate/index.ts +0 -4
- package/src/hooks/useValuesCacheUpdate/useValuesCacheUpdate.ts +0 -56
- package/src/index.ts +0 -12
- package/src/locales/en/shared.json +0 -576
- package/src/locales/fr/shared.json +0 -578
- package/src/testing/MockedLangContextProvider/MockedLangContextProvider.tsx +0 -17
- package/src/testing/MockedLangContextProvider/index.ts +0 -5
- package/src/testing/MockedUserContextProvider/MockedUserContextProvider.tsx +0 -27
- package/src/testing/MockedUserContextProvider/index.ts +0 -5
- package/src/testing/index.ts +0 -4
- package/src/types/attributes.ts +0 -23
- package/src/types/index.ts +0 -8
- package/src/types/misc.ts +0 -3
- package/src/types/records.ts +0 -32
- package/src/types/scalars.ts +0 -4
- package/src/types/search.ts +0 -207
- package/src/types/trees.ts +0 -20
- package/src/types/values.ts +0 -8
- package/src/types/views.ts +0 -39
- package/tsconfig.build.json +0 -21
- package/tsconfig.json +0 -20
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { WithTypename } from '@leav/utils';
|
|
2
|
-
import { GetApplicationByIdQuery } from '
|
|
2
|
+
import { GetApplicationByIdQuery } from '../../_gqlTypes';
|
|
3
3
|
export declare const mockApplication: WithTypename<GetApplicationByIdQuery['applications']['list'][number]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ISelectedAttribute } from '
|
|
2
|
-
import { AttributeDetailsFragment, GetAttributesQuery, LibraryAttributesFragment, RecordFormAttributeFragment, RecordFormAttributeTreeAttributeFragment } from '
|
|
1
|
+
import { ISelectedAttribute } from '../../types/attributes';
|
|
2
|
+
import { AttributeDetailsFragment, GetAttributesQuery, LibraryAttributesFragment, RecordFormAttributeFragment, RecordFormAttributeTreeAttributeFragment } from '../../_gqlTypes';
|
|
3
3
|
export declare const mockLibraryAttribute: LibraryAttributesFragment;
|
|
4
4
|
export declare const mockAttributeSimple: GetAttributesQuery['attributes']['list'][0];
|
|
5
5
|
export declare const mockAttributeWithDetails: AttributeDetailsFragment;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFilterAttribute, IFilterTree, IQueryFilter } from '
|
|
1
|
+
import { IFilterAttribute, IFilterTree, IQueryFilter } from '../../types/search';
|
|
2
2
|
export declare const mockFilterAttribute: IFilterAttribute;
|
|
3
3
|
export declare const mockFilterTree: IFilterTree;
|
|
4
4
|
export declare const mockQueryFilter: IQueryFilter;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { AttributeConditionFilter, FilterType, TreeConditionFilter } from '
|
|
5
|
-
import { RecordFilterCondition, RecordFilterOperator } from '
|
|
4
|
+
import { AttributeConditionFilter, FilterType, TreeConditionFilter } from '../../types/search';
|
|
5
|
+
import { RecordFilterCondition, RecordFilterOperator } from '../../_gqlTypes';
|
|
6
6
|
import { mockAttributeWithDetails } from './attribute';
|
|
7
7
|
import { mockLibrarySimple } from './library';
|
|
8
8
|
export const mockFilterAttribute = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ICommonFieldsSettings, IFormDividerSettings, IFormTabsSettings } from '@leav/utils';
|
|
2
|
-
import { IRecordForm } from '
|
|
2
|
+
import { IRecordForm } from '../../hooks/useGetRecordForm';
|
|
3
3
|
import { FormElement, IFormElementProps } from '../../components/RecordEdition/EditRecord/_types';
|
|
4
4
|
import { IRecordPropertyTree } from '../../_queries/records/getRecordPropertiesQuery';
|
|
5
5
|
export declare const mockFormElementContainer: FormElement<{}>;
|
|
@@ -3,8 +3,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
// This file is released under LGPL V3
|
|
4
4
|
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
5
|
import { FormFieldTypes, FormUIElementTypes, TabsDirection } from '@leav/utils';
|
|
6
|
-
import { AttributeType, FormElementTypes, LibraryBehavior } from '
|
|
7
|
-
import { mockRecord } from '
|
|
6
|
+
import { AttributeType, FormElementTypes, LibraryBehavior } from '../../_gqlTypes';
|
|
7
|
+
import { mockRecord } from '../../__mocks__/common/record';
|
|
8
8
|
import { mockAttributeSimple, mockFormAttribute } from './attribute';
|
|
9
9
|
import { mockModifier } from './value';
|
|
10
10
|
import { mockVersionProfile } from './versionProfile';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ISheet } from '
|
|
1
|
+
import { ISheet } from '../../components/ImportModal/_types';
|
|
2
2
|
export declare const mockSheet: ISheet;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { ImportMode, ImportType } from '
|
|
4
|
+
import { ImportMode, ImportType } from '../../_gqlTypes';
|
|
5
5
|
import { mockAttributeWithDetails } from './attribute';
|
|
6
6
|
export const mockSheet = {
|
|
7
7
|
type: ImportType.STANDARD,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttributeFormat, AttributeType, GetLibraryByIdQuery, LibraryBehavior, LibraryLightFragment } from '
|
|
1
|
+
import { AttributeFormat, AttributeType, GetLibraryByIdQuery, LibraryBehavior, LibraryLightFragment } from '../../_gqlTypes';
|
|
2
2
|
export declare const mockLibrarySimple: LibraryLightFragment;
|
|
3
3
|
export declare const mockLibraryWithDetails: GetLibraryByIdQuery['libraries']['list'][0];
|
|
4
4
|
export declare const mockLibraryWithPreviewsSettings: {
|
|
@@ -65,7 +65,7 @@ export declare const mockLibraryWithPreviewsSettings: {
|
|
|
65
65
|
format?: AttributeFormat;
|
|
66
66
|
})[];
|
|
67
67
|
permissions_conf?: {
|
|
68
|
-
relation: import("
|
|
68
|
+
relation: import("../../_gqlTypes").PermissionsRelation;
|
|
69
69
|
permissionTreeAttributes: ({
|
|
70
70
|
id: string;
|
|
71
71
|
label?: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { AttributeFormat, AttributeType, LibraryBehavior } from '
|
|
4
|
+
import { AttributeFormat, AttributeType, LibraryBehavior } from '../../_gqlTypes';
|
|
5
5
|
export const mockLibrarySimple = {
|
|
6
6
|
id: 'my_library',
|
|
7
7
|
label: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { ISearchState } from '
|
|
2
|
+
import { ISearchState } from '../../components/LibraryItemsList/hooks/useSearchReducer/_types';
|
|
3
3
|
declare const MockSearchContextProvider: ({ state, children }: PropsWithChildren<{
|
|
4
4
|
state?: Partial<ISearchState>;
|
|
5
5
|
}>) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { SearchContext } from '
|
|
3
|
-
import { initialSearchState } from '
|
|
2
|
+
import { SearchContext } from '../../components/LibraryItemsList/hooks/useSearchReducer/searchContext';
|
|
3
|
+
import { initialSearchState } from '../../components/LibraryItemsList/hooks/useSearchReducer/searchReducer';
|
|
4
4
|
import { mockGetLibraryDetailExtendedElement } from '../mockQuery/mockGetLibraryDetailExtendedQuery';
|
|
5
5
|
const MockSearchContextProvider = ({ state, children }) => {
|
|
6
6
|
return (_jsx(SearchContext.Provider, Object.assign({ value: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { TreeBehavior } from '
|
|
4
|
+
import { TreeBehavior } from '../../_gqlTypes';
|
|
5
5
|
import { mockLibrarySimple } from './library';
|
|
6
6
|
export const mockTreeSimple = {
|
|
7
7
|
id: 'my_tree',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IRecordIdentity } from '
|
|
2
|
-
import { INavigationPath } from '
|
|
3
|
-
import { TreeNodeChildFragment } from '
|
|
1
|
+
import { IRecordIdentity } from '../../types/records';
|
|
2
|
+
import { INavigationPath } from '../../types/trees';
|
|
3
|
+
import { TreeNodeChildFragment } from '../../_gqlTypes';
|
|
4
4
|
export declare const mockTreeRecord: IRecordIdentity;
|
|
5
5
|
export declare const mockTreeRecordChild: IRecordIdentity;
|
|
6
6
|
export declare const mockTreeNodePermissions: TreeNodeChildFragment['permissions'] & {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GetVersionableAttributesByLibraryQuery } from '
|
|
1
|
+
import { GetVersionableAttributesByLibraryQuery } from '../../_gqlTypes';
|
|
2
2
|
export declare const mockVersionProfile: GetVersionableAttributesByLibraryQuery['attributes']['list'][0]['versions_conf']['profile'];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IView } from '
|
|
1
|
+
import { IView } from '../../types/views';
|
|
2
2
|
export declare const mockView: IView;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { SortOrder, ViewSizes, ViewTypes } from '
|
|
4
|
+
import { SortOrder, ViewSizes, ViewTypes } from '../../_gqlTypes';
|
|
5
5
|
export const mockView = {
|
|
6
6
|
id: 'id',
|
|
7
7
|
display: { type: ViewTypes.list, size: ViewSizes.MEDIUM },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IGetLibraryDetailExtendedQuery, IGetLibraryDetailExtendedVariables, ILibraryDetailExtended, ILibraryDetailExtendedDefaultView } from '
|
|
1
|
+
import { IGetLibraryDetailExtendedQuery, IGetLibraryDetailExtendedVariables, ILibraryDetailExtended, ILibraryDetailExtendedDefaultView } from '../../_queries/libraries/getLibraryDetailExtendQuery';
|
|
2
2
|
export declare const mockGetLibraryDetailExtendedDefaultView: ILibraryDetailExtendedDefaultView;
|
|
3
3
|
export declare const mockGetLibraryDetailExtendedElement: ILibraryDetailExtended;
|
|
4
4
|
export declare const mockGetLibraryDetailExtendedQuery: IGetLibraryDetailExtendedQuery;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { AttributeFormat, AttributeType, LibraryBehavior, ViewSizes, ViewTypes } from '
|
|
5
|
-
import { mockLabel } from '
|
|
4
|
+
import { AttributeFormat, AttributeType, LibraryBehavior, ViewSizes, ViewTypes } from '../../_gqlTypes';
|
|
5
|
+
import { mockLabel } from '../../__mocks__/common/label';
|
|
6
6
|
export const mockGetLibraryDetailExtendedDefaultView = {
|
|
7
7
|
id: 'defaultViewId',
|
|
8
8
|
description: { fr: 'default view', en: 'default view' },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IField } from '
|
|
2
|
-
import { IGetRecordsFromLibraryQuery, IGetRecordsFromLibraryQueryElement, IGetRecordsFromLibraryQueryVariables } from '
|
|
1
|
+
import { IField } from '../../types/search';
|
|
2
|
+
import { IGetRecordsFromLibraryQuery, IGetRecordsFromLibraryQueryElement, IGetRecordsFromLibraryQueryVariables } from '../../_queries/records/getRecordsFromLibraryQuery';
|
|
3
3
|
export declare const mockGetRecordsFromLibraryQueryElement: IGetRecordsFromLibraryQueryElement;
|
|
4
4
|
export declare const mockGetRecordsFromLibraryQuery: (libraryName: string, fields: IField[]) => IGetRecordsFromLibraryQuery;
|
|
5
5
|
export declare const mockGetRecordsFromLibraryQueryVar: IGetRecordsFromLibraryQueryVariables;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WithTypename } from '@leav/utils';
|
|
2
|
-
import { ViewDetailsFragment } from '
|
|
2
|
+
import { ViewDetailsFragment } from '../../_gqlTypes';
|
|
3
3
|
declare const mocksGetViewsListQuery: (libraryId: string) => {
|
|
4
4
|
request: {
|
|
5
5
|
query: import("graphql").DocumentNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { getViewsListQuery } from '
|
|
4
|
+
import { getViewsListQuery } from '../../_queries/views/getViewsListQuery';
|
|
5
5
|
import { mockView } from '../common/view';
|
|
6
6
|
const views = [
|
|
7
7
|
Object.assign(Object.assign({}, mockView), { __typename: 'View', created_by: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { gqlUnchecked } from '
|
|
4
|
+
import { gqlUnchecked } from '../../_utils';
|
|
5
5
|
export const getEmbeddedFields = (depth = 0) => {
|
|
6
6
|
return `
|
|
7
7
|
embedded_fields {
|
|
@@ -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 { gql } from '@apollo/client';
|
|
5
|
-
import { recordIdentityFragment } from '
|
|
5
|
+
import { recordIdentityFragment } from '../../gqlFragments';
|
|
6
6
|
export const createDirectoryMutation = gql `
|
|
7
7
|
${recordIdentityFragment}
|
|
8
8
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
@@ -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 { gql } from '@apollo/client';
|
|
5
|
-
import { recordIdentityFragment } from '
|
|
5
|
+
import { recordIdentityFragment } from '../../gqlFragments';
|
|
6
6
|
export const getDirectoryDataQuery = gql `
|
|
7
7
|
${recordIdentityFragment}
|
|
8
8
|
query GET_DIRECTORY_DATA($library: ID!, $directoryId: String!) {
|
|
@@ -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 { gql } from '@apollo/client';
|
|
5
|
-
import { recordIdentityFragment } from '
|
|
5
|
+
import { recordIdentityFragment } from '../../gqlFragments';
|
|
6
6
|
export const uploadMutation = gql `
|
|
7
7
|
${recordIdentityFragment}
|
|
8
8
|
mutation UPLOAD($library: String!, $nodeId: String!, $files: [FileInput!]!) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SystemTranslation } from '
|
|
2
|
-
import { AttributeConditionType, TreeConditionFilter } from '
|
|
3
|
-
import { AttributeFormat, AttributeType, LibraryBehavior, RecordFilterInput, RecordFilterOperator, SortOrder, ViewSizes, ViewTypes } from '
|
|
1
|
+
import { SystemTranslation } from '../../types/scalars';
|
|
2
|
+
import { AttributeConditionType, TreeConditionFilter } from '../../types/search';
|
|
3
|
+
import { AttributeFormat, AttributeType, LibraryBehavior, RecordFilterInput, RecordFilterOperator, SortOrder, ViewSizes, ViewTypes } from '../../_gqlTypes';
|
|
4
4
|
export interface ILibraryDetailExtendedFilter {
|
|
5
5
|
field?: string;
|
|
6
6
|
value?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { gqlUnchecked } from '
|
|
1
|
+
import { gqlUnchecked } from '../../_utils';
|
|
2
2
|
import { getEmbeddedFields } from '../attributes/getAttributeWithEmbeddedFields';
|
|
3
3
|
export const getLibraryDetailExtendedQuery = (depthEmbeddedFields) => gqlUnchecked `
|
|
4
4
|
query GET_LIBRARY_DETAIL_EXTENDED($libId: [ID!]) {
|
|
@@ -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 { gql } from '@apollo/client';
|
|
5
|
-
import { recordIdentityFragment } from '
|
|
5
|
+
import { recordIdentityFragment } from '../../gqlFragments';
|
|
6
6
|
export const deactivateRecordsMutation = gql `
|
|
7
7
|
${recordIdentityFragment}
|
|
8
8
|
mutation DEACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { gqlUnchecked } from '
|
|
4
|
+
import { gqlUnchecked } from '../../_utils';
|
|
5
5
|
import { recordIdentityFragment } from '../../gqlFragments';
|
|
6
6
|
const _getColumnQueryPart = (column) => `
|
|
7
7
|
${column}: property(attribute: "${column}") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttributeFormat, AttributeType, RecordFormAttributeLinkAttributeFragment, ValueVersionInput } from '
|
|
1
|
+
import { AttributeFormat, AttributeType, RecordFormAttributeLinkAttributeFragment, ValueVersionInput } from '../../_gqlTypes';
|
|
2
2
|
import { IRecordIdentityWhoAmI } from '../../types/records';
|
|
3
3
|
import { SystemTranslation } from '../../types/scalars';
|
|
4
4
|
import { IValueVersion } from '../../types/values';
|
|
@@ -2,8 +2,8 @@
|
|
|
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 { getGraphqlTypeFromLibraryName } from '@leav/utils';
|
|
5
|
-
import { RecordFilterCondition } from '
|
|
6
|
-
import { gqlUnchecked } from '
|
|
5
|
+
import { RecordFilterCondition } from '../../_gqlTypes';
|
|
6
|
+
import { gqlUnchecked } from '../../_utils';
|
|
7
7
|
import { recordIdentityFragment } from '../../gqlFragments';
|
|
8
8
|
import { valuesVersionDetailsFragment } from '../values/valuesVersionFragment';
|
|
9
9
|
const _getFieldLinkedLibraryPart = (field) => field.linkedLibrary
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IField, IQueryFilter } from '
|
|
2
|
-
import { RecordIdentityFragment, RecordSortInput, ValueVersionInput } from '
|
|
1
|
+
import { IField, IQueryFilter } from '../../types/search';
|
|
2
|
+
import { RecordIdentityFragment, RecordSortInput, ValueVersionInput } from '../../_gqlTypes';
|
|
3
3
|
export interface IGetRecordsFromLibraryQueryElement extends RecordIdentityFragment {
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { recordIdentityFragment } from '
|
|
5
|
-
import { AttributeType } from '
|
|
6
|
-
import { gqlUnchecked } from '
|
|
4
|
+
import { recordIdentityFragment } from '../../gqlFragments/recordIdentityFragment';
|
|
5
|
+
import { AttributeType } from '../../_gqlTypes';
|
|
6
|
+
import { gqlUnchecked } from '../../_utils';
|
|
7
7
|
const _handleType = (field) => {
|
|
8
8
|
let typePart;
|
|
9
9
|
switch (field.type) {
|
|
@@ -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 { gql } from '@apollo/client';
|
|
5
|
-
import { recordIdentityFragment } from '
|
|
5
|
+
import { recordIdentityFragment } from '../../gqlFragments/recordIdentityFragment';
|
|
6
6
|
import viewDetailsFragment from './viewDetailsFragment';
|
|
7
7
|
export const getViewByIdQuery = gql `
|
|
8
8
|
${recordIdentityFragment}
|
|
@@ -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 { gql } from '@apollo/client';
|
|
5
|
-
import { recordIdentityFragment } from '
|
|
5
|
+
import { recordIdentityFragment } from '../../gqlFragments';
|
|
6
6
|
const viewDetailsFragment = gql `
|
|
7
7
|
${recordIdentityFragment}
|
|
8
8
|
fragment ViewDetails on View {
|
package/dist/_tests/testUtils.js
CHANGED
|
@@ -7,8 +7,8 @@ import { InMemoryCache } from '@apollo/client';
|
|
|
7
7
|
import { MockedProvider } from '@apollo/client/testing';
|
|
8
8
|
import { render } from '@testing-library/react';
|
|
9
9
|
import { KitApp } from 'aristid-ds';
|
|
10
|
-
import { gqlPossibleTypes } from '
|
|
11
|
-
import MockedUserContextProvider from '
|
|
10
|
+
import { gqlPossibleTypes } from '../gqlPossibleTypes';
|
|
11
|
+
import MockedUserContextProvider from '../testing/MockedUserContextProvider';
|
|
12
12
|
import MockedLangContextProvider from '../testing/MockedLangContextProvider';
|
|
13
13
|
const Providers = ({ children, mocks, cacheSettings }) => {
|
|
14
14
|
const mockCache = new InMemoryCache(Object.assign({ possibleTypes: gqlPossibleTypes }, cacheSettings));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IAttribute, IFilter } from '
|
|
2
|
-
import { RecordFilterInput } from '
|
|
1
|
+
import { IAttribute, IFilter } from '../types/search';
|
|
2
|
+
import { RecordFilterInput } from '../_gqlTypes';
|
|
3
3
|
export declare const getFiltersFromRequest: (queryFilters: RecordFilterInput[], library: string, attributes: IAttribute[]) => IFilter[];
|
|
@@ -2,9 +2,9 @@
|
|
|
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 { isTypeLink } from '@leav/utils';
|
|
5
|
-
import { defaultLinkAttributeFilterFormat } from '
|
|
6
|
-
import { AttributeConditionFilter, FilterType, TreeConditionFilter } from '
|
|
7
|
-
import { AttributeType, RecordFilterCondition } from '
|
|
5
|
+
import { defaultLinkAttributeFilterFormat } from '../components/LibraryItemsList/constants';
|
|
6
|
+
import { AttributeConditionFilter, FilterType, TreeConditionFilter } from '../types/search';
|
|
7
|
+
import { AttributeType, RecordFilterCondition } from '../_gqlTypes';
|
|
8
8
|
const _isConditionWithNoValue = (condition) => {
|
|
9
9
|
return (condition === RecordFilterCondition.IS_EMPTY ||
|
|
10
10
|
condition === RecordFilterCondition.IS_NOT_EMPTY ||
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IFilter } from '
|
|
2
|
-
import { RecordFilterInput } from '
|
|
1
|
+
import { IFilter } from '../types/search';
|
|
2
|
+
import { RecordFilterInput } from '../_gqlTypes';
|
|
3
3
|
export declare const getRequestFromFilters: (filters: IFilter[]) => RecordFilterInput[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { AttributeConditionFilter, ThroughConditionFilter } from '
|
|
5
|
-
import { RecordFilterCondition, RecordFilterOperator } from '
|
|
4
|
+
import { AttributeConditionFilter, ThroughConditionFilter } from '../types/search';
|
|
5
|
+
import { RecordFilterCondition, RecordFilterOperator } from '../_gqlTypes';
|
|
6
6
|
export const getRequestFromFilters = (filters) => {
|
|
7
7
|
const queryFilters = filters
|
|
8
8
|
.filter(f => f.active)
|
package/dist/_utils/index.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { gql } from '@apollo/client';
|
|
|
2
2
|
import { IDateRangeValue, WithTypename } from '@leav/utils';
|
|
3
3
|
import { TFunction } from 'i18next';
|
|
4
4
|
import { SyntheticEvent } from 'react';
|
|
5
|
-
import { PreviewSize } from '
|
|
6
|
-
import { IAttribute } from '
|
|
7
|
-
import { IValueVersion } from '
|
|
8
|
-
import { IView } from '
|
|
9
|
-
import { PermissionsActions, RecordIdentityFragment, useIsAllowedQuery, ValueDetailsFragment, ValueVersionInput, ViewDetailsFragment } from '
|
|
5
|
+
import { PreviewSize } from '../constants';
|
|
6
|
+
import { IAttribute } from '../types/search';
|
|
7
|
+
import { IValueVersion } from '../types/values';
|
|
8
|
+
import { IView } from '../types/views';
|
|
9
|
+
import { PermissionsActions, RecordIdentityFragment, useIsAllowedQuery, ValueDetailsFragment, ValueVersionInput, ViewDetailsFragment } from '../_gqlTypes';
|
|
10
10
|
export declare const arrayValueVersionToObject: (version: ValueDetailsFragment['version']) => IValueVersion;
|
|
11
11
|
export declare const objectValueVersionToArray: (version: IValueVersion) => ValueVersionInput[];
|
|
12
12
|
export declare const extractPermissionFromQuery: (queryResult: ReturnType<typeof useIsAllowedQuery>, action: PermissionsActions, fallbackPermission?: boolean) => boolean;
|
package/dist/_utils/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { gql } from '@apollo/client';
|
|
2
2
|
import { isTypeLink, objectToNameValueArray, omit } from '@leav/utils';
|
|
3
|
-
import { defaultLinkAttributeFilterFormat } from '
|
|
4
|
-
import { PreviewSize } from '
|
|
5
|
-
import { AttributeType } from '
|
|
3
|
+
import { defaultLinkAttributeFilterFormat } from '../components/LibraryItemsList/constants';
|
|
4
|
+
import { PreviewSize } from '../constants';
|
|
5
|
+
import { AttributeType } from '../_gqlTypes';
|
|
6
6
|
import { getFiltersFromRequest } from './getFiltersFromRequest';
|
|
7
7
|
export const arrayValueVersionToObject = (version) => {
|
|
8
8
|
return version === null || version === void 0 ? void 0 : version.reduce((acc, value) => {
|
|
@@ -5,8 +5,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
import { localizedTranslation } from '@leav/utils';
|
|
6
6
|
import { Checkbox, Radio, Space } from 'antd';
|
|
7
7
|
import styled from 'styled-components';
|
|
8
|
-
import { themeVars } from '
|
|
9
|
-
import { useLang } from '
|
|
8
|
+
import { themeVars } from '../../../antdTheme';
|
|
9
|
+
import { useLang } from '../../../hooks';
|
|
10
10
|
import { attributeToSelectedAttribute } from '../helpers/attributeToSelectedAttribute';
|
|
11
11
|
import { AttributesSelectionListActionTypes } from '../reducer/attributesSelectionListReducer';
|
|
12
12
|
import { useAttributesSelectionListState } from '../reducer/attributesSelectionListStateContext';
|
|
@@ -6,9 +6,9 @@ import { localizedTranslation } from '@leav/utils';
|
|
|
6
6
|
import { Input, List, Spin } from 'antd';
|
|
7
7
|
import { useEffect, useReducer, useRef, useState } from 'react';
|
|
8
8
|
import styled from 'styled-components';
|
|
9
|
-
import { useLang } from '
|
|
10
|
-
import { useSharedTranslation } from '
|
|
11
|
-
import { useGetAttributesByLibQuery } from '
|
|
9
|
+
import { useLang } from '../../hooks';
|
|
10
|
+
import { useSharedTranslation } from '../../hooks/useSharedTranslation';
|
|
11
|
+
import { useGetAttributesByLibQuery } from '../../_gqlTypes';
|
|
12
12
|
import { ErrorDisplay } from '../ErrorDisplay';
|
|
13
13
|
import Attribute from './Attribute';
|
|
14
14
|
import attributeSelectionListReducer, { AttributesSelectionListActionTypes, initialState } from './reducer/attributesSelectionListReducer';
|
|
@@ -6,7 +6,7 @@ import { CloseOutlined, HolderOutlined } from '@ant-design/icons';
|
|
|
6
6
|
import { localizedTranslation } from '@leav/utils';
|
|
7
7
|
import { Button, Space } from 'antd';
|
|
8
8
|
import styled from 'styled-components';
|
|
9
|
-
import { useLang } from '
|
|
9
|
+
import { useLang } from '../../../../hooks';
|
|
10
10
|
import { AttributesSelectionListActionTypes } from '../../reducer/attributesSelectionListReducer';
|
|
11
11
|
import { useAttributesSelectionListState } from '../../reducer/attributesSelectionListStateContext';
|
|
12
12
|
import { SmallText, TextAttribute } from '../../sharedComponents';
|
package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js
CHANGED
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
5
|
import { DragDropContext, Draggable, Droppable } from 'react-beautiful-dnd';
|
|
6
6
|
import styled from 'styled-components';
|
|
7
|
-
import { infosCol } from '
|
|
7
|
+
import { infosCol } from '../../../components/LibraryItemsList/constants';
|
|
8
8
|
import { AttributesSelectionListActionTypes } from '../reducer/attributesSelectionListReducer';
|
|
9
9
|
import { useAttributesSelectionListState } from '../reducer/attributesSelectionListStateContext';
|
|
10
10
|
import SelectedAttribute from './SelectedAttribute/SelectedAttribute';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttributesByLibAttributeFragment, AttributesByLibAttributeLinkAttributeFragment, AttributesByLibAttributeTreeAttributeFragment } from '
|
|
1
|
+
import { AttributesByLibAttributeFragment, AttributesByLibAttributeLinkAttributeFragment, AttributesByLibAttributeTreeAttributeFragment } from '../../_gqlTypes';
|
|
2
2
|
export interface ICommonAttributeComponentProps {
|
|
3
3
|
attribute: AttributesByLibAttributeFragment;
|
|
4
4
|
library: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ISelectedAttribute } from '
|
|
2
|
-
import { AttributesByLibAttributeFragment } from '
|
|
1
|
+
import { ISelectedAttribute } from '../../../types/attributes';
|
|
2
|
+
import { AttributesByLibAttributeFragment } from '../../../_gqlTypes';
|
|
3
3
|
export declare const attributeToSelectedAttribute: (attribute: AttributesByLibAttributeFragment, otherProps: Pick<ISelectedAttribute, 'path' | 'library' | 'parentAttributeData' | 'embeddedFieldData'>) => ISelectedAttribute;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ISelectedAttribute } from '
|
|
2
|
-
import { AttributesByLibAttributeFragment } from '
|
|
1
|
+
import { ISelectedAttribute } from '../../../types/attributes';
|
|
2
|
+
import { AttributesByLibAttributeFragment } from '../../../_gqlTypes';
|
|
3
3
|
export interface IAttributesSelectionListState {
|
|
4
4
|
library: string;
|
|
5
5
|
multiple: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017
|
|
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
|
-
import { reorder } from '
|
|
4
|
+
import { reorder } from '../../../_utils';
|
|
5
5
|
export var AttributesSelectionListActionTypes;
|
|
6
6
|
(function (AttributesSelectionListActionTypes) {
|
|
7
7
|
AttributesSelectionListActionTypes["SET_ATTRIBUTES"] = "SET_ATTRIBUTES";
|