@leav/ui 0.3.5-e362870 → 0.3.6-0a4efa6
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/attribute.js +0 -1
- package/dist/__mocks__/common/attribute.js.map +1 -1
- package/dist/__mocks__/common/form.d.ts +4 -4
- package/dist/__mocks__/common/form.js +2 -0
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/__mocks__/common/library.d.ts +31 -31
- package/dist/__mocks__/common/value.js +2 -2
- package/dist/__mocks__/common/value.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
- package/dist/__mocks__/react-i18next.d.ts +9 -9
- package/dist/__mocks__/react-i18next.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +668 -595
- package/dist/_gqlTypes/index.js +51 -5
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js +0 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.d.ts +1 -1
- package/dist/_queries/records/getFileDataQuery.d.ts +1 -1
- package/dist/_queries/records/getRecordColumnsValues.d.ts +2 -2
- package/dist/_queries/records/getRecordPropertiesQuery.d.ts +24 -14
- package/dist/_queries/records/getRecordPropertiesQuery.js +10 -4
- package/dist/_queries/records/getRecordPropertiesQuery.js.map +1 -1
- package/dist/_queries/records/getRecordsFromLibraryQuery.d.ts +1 -1
- package/dist/_queries/records/getRecordsFromLibraryQuery.js +1 -0
- package/dist/_queries/records/getRecordsFromLibraryQuery.js.map +1 -1
- package/dist/_queries/values/valueDetailsFragment.js +8 -5
- package/dist/_queries/values/valueDetailsFragment.js.map +1 -1
- package/dist/_utils/__mocks__/isDevEnv.d.ts +1 -0
- package/dist/_utils/__mocks__/{isDevelopmentHelper.js → isDevEnv.js} +2 -2
- package/dist/_utils/__mocks__/isDevEnv.js.map +1 -0
- package/dist/_utils/getFiltersFromRequest.js +1 -1
- package/dist/_utils/getFiltersFromRequest.js.map +1 -1
- package/dist/_utils/getRequestFromFilter.js.map +1 -1
- package/dist/_utils/index.d.ts +1 -1
- package/dist/_utils/index.js +1 -1
- package/dist/_utils/index.js.map +1 -1
- package/dist/_utils/isDevEnv.d.ts +1 -0
- package/dist/_utils/{isDevelopmentHelper.js → isDevEnv.js} +2 -2
- package/dist/_utils/isDevEnv.js.map +1 -0
- package/dist/_utils/typeguards.d.ts +2 -0
- package/dist/_utils/typeguards.js +2 -0
- package/dist/_utils/typeguards.js.map +1 -0
- package/dist/antdTheme/index.js +1 -1
- package/dist/antdTheme/index.js.map +1 -1
- package/dist/antdTheme/types.d.ts +1 -1
- package/dist/components/AttributePicker/AttributePicker.d.ts +0 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +0 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/AttributesSelectionList/Attribute/Attribute.d.ts +0 -1
- package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +0 -1
- package/dist/components/AttributesSelectionList/AttributesSelectionList.js.map +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.d.ts +0 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.d.ts +0 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js.map +1 -1
- package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.d.ts +1 -1
- package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.d.ts +0 -1
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.d.ts +1 -1
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js.map +1 -1
- package/dist/components/AttributesSelectionList/sharedComponents.d.ts +302 -305
- package/dist/components/BasicButton/BasicButton.d.ts +0 -1
- package/dist/components/CreateDirectory/CreateDirectory.d.ts +0 -1
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +0 -1
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js.map +1 -1
- package/dist/components/Dimmer/Dimmer.d.ts +0 -1
- package/dist/components/EditApplication/EditApplication.d.ts +0 -1
- package/dist/components/EditApplication/EditApplication.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.d.ts +0 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +0 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.d.ts +0 -1
- package/dist/components/EditApplication/_types.d.ts +0 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.d.ts +0 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.d.ts +0 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +0 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +0 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.d.ts +1 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +0 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTree.d.ts +0 -1
- package/dist/components/EditTreeModal/EditTree/EditTree.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.d.ts +0 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +1 -2
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTreeModal.d.ts +0 -1
- package/dist/components/EditTreeModal/EditTreeModal.js.map +1 -1
- package/dist/components/EntityCard/EntityCard.d.ts +0 -1
- package/dist/components/EntityCard/EntityCard.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreview.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.d.ts +0 -1
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.d.ts +0 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +0 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js.map +1 -1
- package/dist/components/EntityPreview/_types.d.ts +0 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +0 -1
- package/dist/components/Explorer/DataView.d.ts +9 -0
- package/dist/components/Explorer/DataView.js +53 -0
- package/dist/components/Explorer/DataView.js.map +1 -0
- package/dist/components/Explorer/Explorer.d.ts +9 -0
- package/dist/components/Explorer/Explorer.js +14 -0
- package/dist/components/Explorer/Explorer.js.map +1 -0
- package/dist/components/Explorer/index.d.ts +1 -0
- package/dist/{hooks/useRefreshToken → components/Explorer}/index.js +1 -1
- package/dist/components/Explorer/index.js.map +1 -0
- package/dist/components/Explorer/tsconfig.json +6 -0
- package/dist/components/Explorer/types.d.ts +13 -0
- package/dist/components/Explorer/types.js +2 -0
- package/dist/components/Explorer/types.js.map +1 -0
- package/dist/components/Explorer/useDeactivateAction.d.ts +9 -0
- package/dist/components/Explorer/useDeactivateAction.js +41 -0
- package/dist/components/Explorer/useDeactivateAction.js.map +1 -0
- package/dist/components/Explorer/useEditAction.d.ts +9 -0
- package/dist/components/Explorer/useEditAction.js +41 -0
- package/dist/components/Explorer/useEditAction.js.map +1 -0
- package/dist/components/Explorer/useExplorerData.d.ts +5 -0
- package/dist/components/Explorer/useExplorerData.js +21 -0
- package/dist/components/Explorer/useExplorerData.js.map +1 -0
- package/dist/components/ExportModal/ExportModal.d.ts +0 -1
- package/dist/components/ExportModal/ExportModal.js.map +1 -1
- package/dist/components/FloatingMenu/FloatingMenu.d.ts +0 -1
- package/dist/components/FloatingMenu/_types.d.ts +1 -2
- package/dist/components/ImageLoading/ImageLoading.d.ts +0 -1
- package/dist/components/ImageMissing/ImageMissing.d.ts +0 -1
- package/dist/components/ImportModal/ImportModal.d.ts +0 -1
- package/dist/components/ImportModal/ImportModal.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.d.ts +0 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.d.ts +0 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.d.ts +0 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +0 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +0 -1
- package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.d.ts +0 -1
- package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.d.ts +0 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.d.ts +0 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +22 -6
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
- package/dist/components/ImportModal/importReducer/ImportReducerContext.d.ts +0 -1
- package/dist/components/ImportModal/importReducer/importReducer.d.ts +1 -1
- package/dist/components/ImportModal/importReducer/importReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.d.ts +0 -1
- package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.d.ts +0 -1
- package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +4 -4
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.d.ts +0 -3
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +4 -14
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.d.ts +2 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js +16 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js.map +1 -0
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js.map +1 -1
- package/dist/components/LibraryItemsList/IconViewType/IconViewType.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsList.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +3 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/types.d.ts +6 -6
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.d.ts +0 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.d.ts +0 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.d.ts +0 -1
- package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.d.ts +0 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
- package/dist/components/LibraryItemsList/SearchItems/SearchItems.d.ts +0 -1
- package/dist/components/LibraryItemsList/Sidebar/Sidebar.d.ts +0 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.d.ts +0 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +2 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.d.ts +0 -1
- package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.d.ts +0 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.d.ts +0 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/View.d.ts +0 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.d.ts +0 -1
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +2 -2
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.d.ts +0 -1
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.d.ts +1 -1
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js.map +1 -1
- package/dist/components/LibraryItemsList/manageItems.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.d.ts +0 -1
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.d.ts +1 -5
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +1 -5
- package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/shared.utils.d.ts +4 -0
- package/dist/components/LibraryItemsList/shared/shared.utils.js +9 -0
- package/dist/components/LibraryItemsList/shared/shared.utils.js.map +1 -0
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +0 -1
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.d.ts +0 -1
- package/dist/components/List/List.d.ts +0 -1
- package/dist/components/List/List.js.map +1 -1
- package/dist/components/Loading/Loading.d.ts +0 -1
- package/dist/components/RecordCard/RecordCard.d.ts +0 -1
- package/dist/components/RecordCard/_types.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +6 -2
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordSkeleton.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +19 -16
- package/dist/components/RecordEdition/EditRecordContent/_types.js +5 -5
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +38 -23
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/isCurrentVersion.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js +8 -8
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.d.ts +30 -11
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js +70 -17
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js +9 -0
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js +7 -0
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.d.ts +2 -3
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.js +2 -8
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +4 -5
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js +8 -8
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.d.ts +2 -3
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +4 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +5 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +21 -10
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.d.ts +10 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +58 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.d.ts +15 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +76 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.d.ts +15 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +72 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.d.ts +15 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +91 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +37 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +42 -21
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +49 -15
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.d.ts +15 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +82 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +3 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +32 -30
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.d.ts +13 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js +82 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js +45 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js +137 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.js +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +1 -2
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +96 -99
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/ValueInfo.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/ValueInfo.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/ValueMetadata.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.d.ts +0 -1
- package/dist/components/RecordEdition/_types.d.ts +2 -2
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +2 -2
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.d.ts +1 -1
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModal.d.ts +0 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.d.ts +0 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.d.ts +0 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.d.ts +0 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.d.ts +0 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.d.ts +0 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.d.ts +0 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.d.ts +0 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js.map +1 -1
- package/dist/components/SearchModal/SearchModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +0 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.d.ts +0 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.d.ts +6 -6
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +2 -2
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.d.ts +0 -1
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js.map +1 -1
- package/dist/components/SubmitStateNotifier/_types.d.ts +1 -1
- package/dist/components/TreePicker/TreePicker.d.ts +0 -1
- package/dist/components/TreePicker/TreesList/TreesList.d.ts +0 -1
- package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +0 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
- package/dist/components/UploadFiles/UploadFiles.d.ts +0 -1
- package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +0 -1
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.d.ts +0 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalContext.d.ts +5 -0
- package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js +7 -0
- package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js.map +1 -0
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.d.ts +2 -0
- package/dist/{components/LibraryItemsList/LibraryItemsListTable/EditRecordModalContext.js → contexts/EditRecordModalContext/EditRecordModalProvider.js} +6 -9
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -0
- package/dist/contexts/EditRecordModalContext/index.d.ts +2 -0
- package/dist/contexts/EditRecordModalContext/index.js +6 -0
- package/dist/contexts/EditRecordModalContext/index.js.map +1 -0
- package/dist/contexts/EditRecordModalContext/tsconfig.json +6 -0
- package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.d.ts +1 -0
- package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js +7 -0
- package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js.map +1 -0
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.js +2 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
- package/dist/hooks/useAuth/useAuth.js +1 -1
- package/dist/hooks/useAuth/useAuth.js.map +1 -1
- package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js.map +1 -1
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +6 -6
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.d.ts +1 -1
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.d.ts +1 -1
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
- package/dist/hooks/useLang/useLang.d.ts +1 -1
- package/dist/hooks/useLang/useLang.js +2 -2
- package/dist/hooks/useLang/useLang.js.map +1 -1
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.d.ts +1 -1
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js.map +1 -1
- package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -1
- package/dist/hooks/useLoginChecker/index.d.ts +1 -0
- package/dist/hooks/useLoginChecker/index.js +5 -0
- package/dist/hooks/{useRefreshToken → useLoginChecker}/index.js.map +1 -1
- package/dist/hooks/useLoginChecker/useLoginChecker.d.ts +3 -0
- package/dist/hooks/useLoginChecker/useLoginChecker.js +17 -0
- package/dist/hooks/useLoginChecker/useLoginChecker.js.map +1 -0
- package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js.map +1 -1
- package/dist/hooks/useRedirectToLogin/index.d.ts +1 -0
- package/dist/hooks/useRedirectToLogin/index.js +5 -0
- package/dist/hooks/useRedirectToLogin/index.js.map +1 -0
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.d.ts +3 -0
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +15 -0
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -0
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +7 -2
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.d.ts +1 -1
- package/dist/hooks/useSharedTranslation/useSharedTranslation.js.map +1 -1
- package/dist/hooks/useUser/useUser.js.map +1 -1
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.d.ts +1 -1
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js.map +1 -1
- package/dist/locales/en/shared.json +7 -0
- package/dist/locales/fr/shared.json +7 -0
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.d.ts +0 -1
- package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.d.ts +0 -1
- package/dist/types/misc.d.ts +2 -2
- package/dist/types/scalars.d.ts +1 -1
- package/dist/types/search.d.ts +4 -4
- package/package.json +6 -5
- package/dist/_utils/__mocks__/isDevelopmentHelper.d.ts +0 -1
- package/dist/_utils/__mocks__/isDevelopmentHelper.js.map +0 -1
- package/dist/_utils/isDevelopmentHelper.d.ts +0 -1
- package/dist/_utils/isDevelopmentHelper.js.map +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/EditRecordModalContext.d.ts +0 -7
- package/dist/components/LibraryItemsList/LibraryItemsListTable/EditRecordModalContext.js.map +0 -1
- package/dist/hooks/useRefreshToken/index.d.ts +0 -1
- package/dist/hooks/useRefreshToken/useRefreshToken.d.ts +0 -3
- package/dist/hooks/useRefreshToken/useRefreshToken.js +0 -27
- package/dist/hooks/useRefreshToken/useRefreshToken.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCanEditRecord.js","sourceRoot":"","sources":["../../../src/hooks/useCanEditRecord/useCanEditRecord.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,kBAAkB,EAAE,eAAe,EAAE,6BAA6B,EAAE,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAQpH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,OAAqB,EAAE,QAAiB,EAAyB,EAAE;IAChG,MAAM,cAAc,GAAG,CAAC,QAAQ,CAAC;IAEjC,uDAAuD;IACvD,MAAM,EACF,OAAO,EAAE,wBAAwB,EACjC,KAAK,EAAE,sBAAsB,EAC7B,IAAI,EAAE,qBAAqB,EAC9B,GAAG,iBAAiB,CAAC;QAClB,SAAS,EAAE;YACP,IAAI,EAAE,eAAe,CAAC,MAAM;YAC5B,OAAO,EAAE,OAAO,CAAC,EAAE;YACnB,MAAM,EAAE;gBACJ,QAAQ;aACX;YACD,OAAO,EAAE;gBACL,kBAAkB,CAAC,aAAa;gBAChC,kBAAkB,CAAC,aAAa;gBAChC,kBAAkB,CAAC,WAAW;gBAC9B,kBAAkB,CAAC,aAAa;aACnC;SACJ;QACD,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,mBAAmB;KACnC,CAAC,CAAC;IAEH,4DAA4D;IAC5D,MAAM,EACF,OAAO,EAAE,yBAAyB,EAClC,KAAK,EAAE,uBAAuB,EAC9B,IAAI,EAAE,sBAAsB,EAC/B,GAAG,6BAA6B,CAAC;QAC9B,SAAS,EAAE,EAAC,SAAS,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,EAAC;QACpC,IAAI,EAAE,CAAC,cAAc;QACrB,WAAW,EAAE,mBAAmB;KACnC,CAAC,CAAC;IAEH,I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AAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAC,CAAC;IAC9D,CAAC;IAED,MAAM,sBAAsB,GAAG,sBAAsB,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACzE,MAAM,qBAAqB,GAA4C,qBAAqB,EAAE,SAAS,CAAC,MAAM,CAC1G,CAAC,WAAW,EAAE,IAAI,EAAE,EAAE;QAClB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;QACtC,OAAO,WAAW,CAAC;IACvB,CAAC,EACD,EAAE,CACL,CAAC;IAEF,OAAO;QACH,OAAO,EAAE,wBAAwB,IAAI,yBAAyB;QAC9D,OAAO,EAAE,cAAc;YACnB,CAAC,CAAC,sBAAsB,EAAE,WAAW,CAAC,aAAa;YACnD,CAAC,CAAC,qBAAqB,EAAE,aAAa;QAC1C,UAAU,EAAE,cAAc;YACtB,CAAC,CAAC,CAAC,sBAAsB,EAAE,WAAW,CAAC,aAAa;YACpD,CAAC,CAAC,CAAC,qBAAqB,EAAE,WAAW;KAC5C,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExecuteAddViewMutation.js","sourceRoot":"","sources":["../../../src/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.ts"],"names":[],"mappings":"AAIA,OAAO,EAKH,kBAAkB,EACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,iBAAiB,EAAC,MAAM,sCAAsC,CAAC;AAMvE,MAAM,CAAC,OAAO,UAAU,yBAAyB;IAC7C,MAAM,CAAC,cAAc,CAAC,GAAG,kBAAkB,EAAE,CAAC;IAE9C,OAAO;QACH,OAAO,CAAC,SAAS;YACb,OAAO,cAAc,CAAC;gBAClB,SAAS;gBACT,MAAM,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE;oBACvC,IAAI,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"useExecuteAddViewMutation.js","sourceRoot":"","sources":["../../../src/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.ts"],"names":[],"mappings":"AAIA,OAAO,EAKH,kBAAkB,EACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,iBAAiB,EAAC,MAAM,sCAAsC,CAAC;AAMvE,MAAM,CAAC,OAAO,UAAU,yBAAyB;IAC7C,MAAM,CAAC,cAAc,CAAC,GAAG,kBAAkB,EAAE,CAAC;IAE9C,OAAO;QACH,OAAO,CAAC,SAAS;YACb,OAAO,cAAc,CAAC;gBAClB,SAAS;gBACT,MAAM,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE;oBACvC,IAAI,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;wBAC5B,OAAO,CAAC,iBAAiB;oBAC7B,CAAC;oBAED,MAAM,aAAa,GAAG;wBAClB,KAAK,EAAE,iBAAiB;wBACxB,SAAS,EAAE;4BACP,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO;yBAC5C;qBACJ,CAAC;oBAEF,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAgD,aAAa,CAAC,CAAC;oBAEhG,IAAI,SAAS,EAAE,CAAC;wBACZ,KAAK,CAAC,UAAU,CAAgD;4BAC5D,GAAG,aAAa;4BAChB,IAAI,EAAE;gCACF,KAAK,EAAE;oCACH,IAAI,EAAE,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC;oCAC7D,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC;iCAC7C;6BACJ;yBACJ,CAAC,CAAC;oBACP,CAAC;gBACL,CAAC;aACJ,CAAC,CAAC;QACP,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetPreparedFileData.js","sourceRoot":"","sources":["../../../src/hooks/useGetPreparedFileData/useGetPreparedFileData.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AAGtE,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAC,mBAAmB,EAAC,MAAM,eAAe,CAAC;AASlD,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,SAAiB,EAAE,MAAc;IAC5E,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,EAA+B,CAAC;IAExE,MAAM,EAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAC,GAAG,mBAAmB,CAAC;QAC/C,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,CAAC,MAAM;QACb,SAAS,EAAE,EAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,uBAAuB,EAAE,GAAG,SAAS,kBAAkB,EAAC;KACnG,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"useGetPreparedFileData.js","sourceRoot":"","sources":["../../../src/hooks/useGetPreparedFileData/useGetPreparedFileData.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AAGtE,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAC,mBAAmB,EAAC,MAAM,eAAe,CAAC;AASlD,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,SAAiB,EAAE,MAAc;IAC5E,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,EAA+B,CAAC;IAExE,MAAM,EAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAC,GAAG,mBAAmB,CAAC;QAC/C,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE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../../types/values';
|
|
4
4
|
import { RecordFormElementFragment, RecordFormQuery, RecordFormQueryResult, ValueDetailsLinkValueFragment, ValueDetailsTreeValueFragment, ValueDetailsValueFragment } from '../../_gqlTypes';
|
|
5
|
-
export
|
|
5
|
+
export type RecordFormElementsValueStandardValue = Override<ValueDetailsValueFragment, {
|
|
6
6
|
version?: IValueVersion;
|
|
7
7
|
metadata?: Array<{
|
|
8
8
|
name: string;
|
|
@@ -11,7 +11,7 @@ export declare type RecordFormElementsValueStandardValue = Override<ValueDetails
|
|
|
11
11
|
}>;
|
|
12
12
|
}>;
|
|
13
13
|
}>;
|
|
14
|
-
export
|
|
14
|
+
export type RecordFormElementsValueLinkValue = Override<ValueDetailsLinkValueFragment, {
|
|
15
15
|
version?: IValueVersion;
|
|
16
16
|
metadata?: Array<{
|
|
17
17
|
name: string;
|
|
@@ -20,7 +20,7 @@ export declare type RecordFormElementsValueLinkValue = Override<ValueDetailsLink
|
|
|
20
20
|
}>;
|
|
21
21
|
}>;
|
|
22
22
|
}>;
|
|
23
|
-
export
|
|
23
|
+
export type RecordFormElementsValueTreeValue = Override<ValueDetailsTreeValueFragment, {
|
|
24
24
|
version?: IValueVersion;
|
|
25
25
|
metadata?: Array<{
|
|
26
26
|
name: string;
|
|
@@ -29,11 +29,11 @@ export declare type RecordFormElementsValueTreeValue = Override<ValueDetailsTree
|
|
|
29
29
|
}>;
|
|
30
30
|
}>;
|
|
31
31
|
}>;
|
|
32
|
-
export
|
|
33
|
-
export
|
|
32
|
+
export type RecordFormElementsValue = RecordFormElementsValueStandardValue | RecordFormElementsValueLinkValue | RecordFormElementsValueTreeValue;
|
|
33
|
+
export type RecordFormElement = Override<RecordFormElementFragment, {
|
|
34
34
|
values: RecordFormElementsValue[];
|
|
35
35
|
}>;
|
|
36
|
-
export
|
|
36
|
+
export type IRecordForm = Override<RecordFormQuery['recordForm'], {
|
|
37
37
|
elements: RecordFormElement[];
|
|
38
38
|
}>;
|
|
39
39
|
export interface IUseGetRecordFormHook {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { RecordUpdateFilterInput } from '../../_gqlTypes';
|
|
2
2
|
export declare const useGetRecordUpdatesSubscription: (filters: RecordUpdateFilterInput, skip?: boolean) => import("@apollo/client").SubscriptionResult<import("../../_gqlTypes").RecordUpdateSubscription, import("../../_gqlTypes").Exact<{
|
|
3
|
-
filters?: RecordUpdateFilterInput
|
|
3
|
+
filters?: import("../../_gqlTypes").InputMaybe<RecordUpdateFilterInput>;
|
|
4
4
|
}>>;
|
|
@@ -4,7 +4,7 @@ import { GetRecordColumnsValuesRecord, IGetRecordColumnsValues } from '../../_qu
|
|
|
4
4
|
export interface IColumnsValuesByRecord {
|
|
5
5
|
[recordId: string]: GetRecordColumnsValuesRecord;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type IUseGetRecordColumnsValuesQueryHook = Override<QueryResult<IGetRecordColumnsValues>, {
|
|
8
8
|
data: IColumnsValuesByRecord;
|
|
9
9
|
}>;
|
|
10
10
|
export declare const useGetRecordValuesQuery: (libraryId: string, columns: string[], recordIds: string[]) => IUseGetRecordColumnsValuesQueryHook;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetRecordValuesQuery.js","sourceRoot":"","sources":["../../../src/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AAEtE,OAAO,EAAc,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAErD,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,qBAAqB,EAAqB,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAC7F,OAAO,EACH,sBAAsB,EAIzB,MAAM,+CAA+C,CAAC;AAWvD,MAAM,wBAAwB,GAAG,CAAC,SAAmB,EAAuB,EAAE,CAC1E,SAAS,CAAC,MAAM,CAAC,CAAC,UAA+B,EAAE,QAAgB,EAA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react';
|
|
5
5
|
import { LangContext } from '../../contexts/LangContext';
|
|
6
|
-
|
|
6
|
+
const useLang = () => {
|
|
7
7
|
const lang = useContext(LangContext);
|
|
8
8
|
if (!lang) {
|
|
9
9
|
throw new Error('useLang must be used inside a <LangContext.Provider />');
|
|
10
10
|
}
|
|
11
11
|
return lang;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
13
|
export default useLang;
|
|
14
14
|
//# sourceMappingURL=useLang.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLang.js","sourceRoot":"","sources":["../../../src/hooks/useLang/useLang.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,EAAe,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAErE,
|
|
1
|
+
{"version":3,"file":"useLang.js","sourceRoot":"","sources":["../../../src/hooks/useLang/useLang.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,EAAe,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAErE,MAAM,OAAO,GAAG,GAAiB,EAAE;IAC/B,MAAM,IAAI,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;IAErC,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;IAC9E,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApolloError } from '@apollo/client';
|
|
2
2
|
import { GetVersionableAttributesByLibraryQuery } from '../../_gqlTypes';
|
|
3
|
-
|
|
3
|
+
type ProfileTree = GetVersionableAttributesByLibraryQuery['attributes']['list'][0]['versions_conf']['profile']['trees'][0];
|
|
4
4
|
export interface IUseLibraryVersionProfilesHook {
|
|
5
5
|
loading: boolean;
|
|
6
6
|
error: ApolloError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLibraryVersionTrees.js","sourceRoot":"","sources":["../../../src/hooks/useLibraryVersionTrees/useLibraryVersionTrees.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,yCAAyC,EAAC,MAAM,eAAe,CAAC;AAUhH,eAAe,CAAC,SAAiB,EAAkC,EAAE;IACjE,MAAM,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,GAAG,yCAAyC,CAAC;QACrE,SAAS,EAAE,EAAC,SAAS,EAAC;KACzB,CAAC,CAAC;IACH,IAAI,KAAK,GAAkB,EAAE,CAAC;IAE9B,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"useLibraryVersionTrees.js","sourceRoot":"","sources":["../../../src/hooks/useLibraryVersionTrees/useLibraryVersionTrees.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,yCAAyC,EAAC,MAAM,eAAe,CAAC;AAUhH,eAAe,CAAC,SAAiB,EAAkC,EAAE;IACjE,MAAM,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,GAAG,yCAAyC,CAAC;QACrE,SAAS,EAAE,EAAC,SAAS,EAAC;KACzB,CAAC,CAAC;IACH,IAAI,KAAK,GAAkB,EAAE,CAAC;IAE9B,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;QACxC,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,EAAE;YAC5E,MAAM,OAAO,GAAG,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC;YACjD,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE,KAAK,IAAI,EAAE,EAAE,CAAC;gBACtC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;YAC7B,CAAC;YAED,OAAO,QAAQ,CAAC;QACpB,CAAC,EAAE,EAAE,CAAC,CAAC;QAEP,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC;IAED,OAAO,EAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAC,CAAC;AACnC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocalStorage.js","sourceRoot":"","sources":["../../../src/hooks/useLocalStorage/useLocalStorage.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAE1C,SAAS,eAAe,CAAI,GAAW,EAAE,YAAe;IACpD,MAAM,gBAAgB,GAAG,GAAM,EAAE;QAC7B,uBAAuB;QACvB,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACxC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"useLocalStorage.js","sourceRoot":"","sources":["../../../src/hooks/useLocalStorage/useLocalStorage.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAE1C,SAAS,eAAe,CAAI,GAAW,EAAE,YAAe;IACpD,MAAM,gBAAgB,GAAG,GAAM,EAAE;QAC7B,uBAAuB;QACvB,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACxC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAM,CAAC;QACvC,OAAO,OAAO,IAAI,YAAY,CAAC;IACnC,CAAC,CAAC;IAEF,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAI,GAAG,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAAC;IAEhE,SAAS,CAAC,GAAG,EAAE;QACX,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IACrD,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;IAEjB,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;AAC7B,CAAC;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './useLoginChecker';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/useLoginChecker/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright LEAV Solutions 2017
|
|
2
|
+
// This file is released under LGPL V3
|
|
3
|
+
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
|
+
export default function useLoginChecker() {
|
|
5
|
+
return {
|
|
6
|
+
loginChecker: async () => {
|
|
7
|
+
const res = await fetch('/auth/login-checker', {
|
|
8
|
+
method: 'POST',
|
|
9
|
+
headers: { 'Content-Type': 'application/json' }
|
|
10
|
+
});
|
|
11
|
+
if (!res.ok) {
|
|
12
|
+
throw new Error(res.statusText, { cause: res });
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=useLoginChecker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLoginChecker.js","sourceRoot":"","sources":["../../../src/hooks/useLoginChecker/useLoginChecker.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,MAAM,CAAC,OAAO,UAAU,eAAe;IACnC,OAAO;QACH,YAAY,EAAE,KAAK,IAAI,EAAE;YACrB,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,qBAAqB,EAAE;gBAC3C,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,EAAC,cAAc,EAAE,kBAAkB,EAAC;aAChD,CAAC,CAAC;YAEH,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;gBACV,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,GAAG,EAAC,CAAC,CAAC;YAClD,CAAC;QACL,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRecordsConsultationHistory.js","sourceRoot":"","sources":["../../../src/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,mBAAmB,EAAE,uBAAuB,EAAC,MAAM,eAAe,CAAC;AAE3E,MAAM,wBAAwB,GAAG,sBAAsB,CAAC;AACxD,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,CAAC,OAAO,CAAC,KAAK,WAAW,SAAwB,EAAE,QAAuB;IAC5E,MAAM,UAAU,GAAG,GAAG,wBAAwB,IAAI,SAAS,EAAE,CAAC;IAC9D,MAAM,CAAC,mCAAmC,CAAC,GAAG,uBAAuB,EAAE,CAAC;IAExE,mBAAmB,CAAC;QAChB,IAAI,EAAE,CAAC,SAAS,IAAI,CAAC,QAAQ;QAC7B,SAAS,EAAE,EAAC,IAAI,EAAE,CAAC,UAAU,CAAC,EAAC;QAC/B,WAAW,EAAE,KAAK,EAAC,IAAI,EAAC,EAAE;YACtB,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YAE1F,MAAM,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YAEtC,IAAI,GAAG,KAAK,CAAC,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"useRecordsConsultationHistory.js","sourceRoot":"","sources":["../../../src/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,mBAAmB,EAAE,uBAAuB,EAAC,MAAM,eAAe,CAAC;AAE3E,MAAM,wBAAwB,GAAG,sBAAsB,CAAC;AACxD,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,CAAC,OAAO,CAAC,KAAK,WAAW,SAAwB,EAAE,QAAuB;IAC5E,MAAM,UAAU,GAAG,GAAG,wBAAwB,IAAI,SAAS,EAAE,CAAC;IAC9D,MAAM,CAAC,mCAAmC,CAAC,GAAG,uBAAuB,EAAE,CAAC;IAExE,mBAAmB,CAAC;QAChB,IAAI,EAAE,CAAC,SAAS,IAAI,CAAC,QAAQ;QAC7B,SAAS,EAAE,EAAC,IAAI,EAAE,CAAC,UAAU,CAAC,EAAC;QAC/B,WAAW,EAAE,KAAK,EAAC,IAAI,EAAC,EAAE;YACtB,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YAE1F,MAAM,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YAEtC,IAAI,GAAG,KAAK,CAAC,CAAC,EAAE,CAAC;gBACb,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;YAC3B,CAAC;iBAAM,IAAI,OAAO,CAAC,MAAM,IAAI,cAAc,EAAE,CAAC;gBAC1C,OAAO,CAAC,GAAG,EAAE,CAAC;YAClB,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YAE1B,MAAM,mCAAmC,CAAC;gBACtC,SAAS,EAAE;oBACP,GAAG,EAAE,UAAU;oBACf,KAAK,EAAE,OAAO;oBACd,MAAM,EAAE,KAAK;iBAChB;aACJ,CAAC,CAAC;QACP,CAAC;KACJ,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './useRedirectToLogin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/useRedirectToLogin/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Copyright LEAV Solutions 2017
|
|
2
|
+
// This file is released under LGPL V3
|
|
3
|
+
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
|
+
import { isDevEnv } from '../../_utils/isDevEnv';
|
|
5
|
+
export default function useRedirectToLogin() {
|
|
6
|
+
return {
|
|
7
|
+
redirectToLogin: async () => {
|
|
8
|
+
if (isDevEnv()) {
|
|
9
|
+
return window.location.replace(`${window.location.origin}/app/login/?dest=${window.location.pathname}`);
|
|
10
|
+
}
|
|
11
|
+
return window.location.reload();
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=useRedirectToLogin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRedirectToLogin.js","sourceRoot":"","sources":["../../../src/hooks/useRedirectToLogin/useRedirectToLogin.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,qBAAqB,CAAC;AAE7C,MAAM,CAAC,OAAO,UAAU,kBAAkB;IACtC,OAAO;QACH,eAAe,EAAE,KAAK,IAAI,EAAE;YACxB,IAAI,QAAQ,EAAE,EAAE,CAAC;gBACb,OAAO,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,oBAAoB,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;YAC5G,CAAC;YACD,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QACpC,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { useLazyQuery } from '@apollo/client';
|
|
|
5
5
|
import { objectToNameValueArray } from '@leav/utils';
|
|
6
6
|
import { getRecordPropertiesQuery } from '../../_queries/records/getRecordPropertiesQuery';
|
|
7
7
|
import { arrayValueVersionToObject } from '../../_utils';
|
|
8
|
+
import { hasTypename } from '../../_utils/typeguards';
|
|
8
9
|
const useRefreshFieldValues = (libraryId, attributeId, recordId) => {
|
|
9
10
|
const [getRecordProperty] = useLazyQuery(getRecordPropertiesQuery([
|
|
10
11
|
{
|
|
@@ -28,9 +29,13 @@ const useRefreshFieldValues = (libraryId, attributeId, recordId) => {
|
|
|
28
29
|
return null;
|
|
29
30
|
}
|
|
30
31
|
const values = res.data.records.list[0][attributeId].map(value => {
|
|
31
|
-
|
|
32
|
+
// Clear off __typename
|
|
33
|
+
const data = { ...value };
|
|
34
|
+
if (hasTypename(data)) {
|
|
35
|
+
delete data.__typename;
|
|
36
|
+
}
|
|
32
37
|
return {
|
|
33
|
-
...
|
|
38
|
+
...data,
|
|
34
39
|
version: arrayValueVersionToObject(value.version ?? [])
|
|
35
40
|
};
|
|
36
41
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRefreshFieldValues.js","sourceRoot":"","sources":["../../../src/hooks/useRefreshFieldValues/useRefreshFieldValues.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,sBAAsB,EAAC,MAAM,aAAa,CAAC;AAEnD,OAAO,EACH,wBAAwB,EAI3B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAC,yBAAyB,EAAC,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"useRefreshFieldValues.js","sourceRoot":"","sources":["../../../src/hooks/useRefreshFieldValues/useRefreshFieldValues.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,sBAAsB,EAAC,MAAM,aAAa,CAAC;AAEnD,OAAO,EACH,wBAAwB,EAI3B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAC,yBAAyB,EAAC,MAAM,YAAY,CAAC;AACrD,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAMlD,MAAM,qBAAqB,GAAG,CAC1B,SAAiB,EACjB,WAAmB,EACnB,QAAgB,EACU,EAAE;IAC5B,MAAM,CAAC,iBAAiB,CAAC,GAAG,YAAY,CACpC,wBAAwB,CAAC;QACrB;YACI,WAAW;SACd;KACJ,CAAC,EACF;QACI,WAAW,EAAE,cAAc;KAC9B,CACJ,CAAC;IAEF,OAAO;QACH,WAAW,EAAE,KAAK,EAAE,OAAuB,EAAE,EAAE;YAC3C,MAAM,GAAG,GAAG,MAAM,iBAAiB,CAAC;gBAChC,SAAS,EAAE;oBACP,OAAO,EAAE,SAAS;oBAClB,QAAQ;oBACR,OAAO,EAAE,OAAO;wBACZ,CAAC,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAC,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,EAAE,EAAC,CAAC,CAAC;wBACtF,CAAC,CAAC,IAAI;iBACb;aACJ,CAAC,CAAC;YAEH,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBAChC,OAAO,IAAI,CAAC;YAChB,CAAC;YAED,MAAM,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;gBAC7D,uBAAuB;gBACvB,MAAM,IAAI,GAAG,EAAC,GAAG,KAAK,EAAC,CAAC;gBACxB,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;oBACpB,OAAO,IAAI,CAAC,UAAU,CAAC;gBAC3B,CAAC;gBAED,OAAO;oBACH,GAAG,IAAI;oBACP,OAAO,EAAE,yBAAyB,CAAC,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC;iBAC1D,CAAC;YACN,CAAC,CAAC,CAAC;YACH,OAAO,MAAM,CAAC;QAClB,CAAC;KACJ,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSharedTranslation.js","sourceRoot":"","sources":["../../../src/hooks/useSharedTranslation/useSharedTranslation.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,UAAU,EAAE,OAAO,EAAC,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAC,gBAAgB,EAAE,cAAc,EAAC,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAC9C,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAE9C,MAAM,oBAAoB,GAAG,GAAG,EAAE;IAC9B,MAAM,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;IAE5C,MAAM,IAAI,GAAG,OAAO,CAChB,GAAG,EAAE,CACD,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,cAAc,CACxC;QACI,GAAG,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;QACxB,WAAW,EAAE,WAAW,CAAC,WAAW;QACpC,EAAE,EAAE,CAAC,QAAQ,CAAC;QACd,SAAS,EAAE,QAAQ;QACnB,SAAS,EAAE;YACP,EAAE,EAAE,EAAC,MAAM,EAAE,EAAE,EAAC;YAChB,EAAE,EAAE,EAAC,MAAM,EAAE,EAAE,EAAC;SACnB;QACD,KAAK,EAAE;YACH,WAAW,EAAE,IAAI;SACpB;KACJ,EACD,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;QACP,IAAI,GAAG,EAAE;
|
|
1
|
+
{"version":3,"file":"useSharedTranslation.js","sourceRoot":"","sources":["../../../src/hooks/useSharedTranslation/useSharedTranslation.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,UAAU,EAAE,OAAO,EAAC,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAC,gBAAgB,EAAE,cAAc,EAAC,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAC9C,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAE9C,MAAM,oBAA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+
{"version":3,"file":"useUser.js","sourceRoot":"","sources":["../../../src/hooks/useUser/useUser.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AAErD,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,EAAE;IACxB,MAAM,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;IAE5C,IAAI,CAAC,WAAW,EAAE,CAAC;QACf,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;IAC9E,CAAC;IAED,OAAO,WAAW,CAAC;AACvB,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IRecordIdentityWhoAmI } from '../../types/records';
|
|
2
2
|
import { ValueDetailsFragment } from '../../_gqlTypes';
|
|
3
|
-
export
|
|
3
|
+
export type IValuesCacheUpdateHook = (record: IRecordIdentityWhoAmI, savedValues: ValueDetailsFragment[]) => void;
|
|
4
4
|
export default function (): IValuesCacheUpdateHook;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useValuesCacheUpdate.js","sourceRoot":"","sources":["../../../src/hooks/useValuesCacheUpdate/useValuesCacheUpdate.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAQ/C,OAAO,EAAC,yBAAyB,EAAC,MAAM,YAAY,CAAC;AAIrD,MAAM,CAAC,OAAO;IACV,MAAM,EAAC,KAAK,EAAC,GAAG,eAAe,EAAE,CAAC;IAElC,OAAO,CAAC,MAAM,EAAE,WAAW,EAAE,EAAE;QAC3B,MAAM,kBAAkB,GAAG,EAAC,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,EAAC,GAAG,MAAM,EAAC,EAAE,UAAU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,YAAY,CAAC;oBAC7C,CAAC;yBAAM,CAAC;wBACJ,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;oBACrC,CAAC;gBACL,CAAC;qBAAM,CAAC;oBACJ,yBAAyB;oBACzB,OAAO,YAAY,CAAC;gBACxB,CAAC;YACL,CAAC,CAAC;YAEF,KAAK,CAAC,MAAM,CAAuB;gBAC/B,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,kBAAkB,CAAC;gBACtC,SAAS,EAAE,IAAI;gBACf,MAAM,EAAE;oBACJ,CAAC,sBAAsB,CAAC,EAAE,iBAAiB;oBAC3C,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE,iBAAiB;iBAC/C;aACJ,CAAC,CAAC;QACP,CAAC;IACL,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -455,6 +455,7 @@
|
|
|
455
455
|
"cancel_confirm_modal_question": "Are you sure?",
|
|
456
456
|
"record_select": "Select a record",
|
|
457
457
|
"inherited_input_helper": "Inherited value: {{- inheritedValue}}",
|
|
458
|
+
"calculated_input_helper": "Calculated value: {{- calculatedValue}}",
|
|
458
459
|
"date_range_from_to": "from {{- from}} to {{- to}}",
|
|
459
460
|
"link_search_result_count": "Results ({{count}}/{{total}})",
|
|
460
461
|
"suggestions_count": "Suggestions ({{count}})"
|
|
@@ -591,5 +592,11 @@
|
|
|
591
592
|
"all-selected-enabled": "All selected mode enabled",
|
|
592
593
|
"all-selected-disabled": "All selected mode disabled",
|
|
593
594
|
"unselect-all": "Unselect All"
|
|
595
|
+
},
|
|
596
|
+
"explorer": {
|
|
597
|
+
"actions": "Actions",
|
|
598
|
+
"more-actions": "Show more",
|
|
599
|
+
"deactivateItem": "Deactivate item",
|
|
600
|
+
"editItem": "Edit item"
|
|
594
601
|
}
|
|
595
602
|
}
|
|
@@ -455,6 +455,7 @@
|
|
|
455
455
|
"cancel_confirm_modal_question": "Êtes-vous sûr(e) ?",
|
|
456
456
|
"record_select": "Sélectionnez un élément",
|
|
457
457
|
"inherited_input_helper": "Valeur héritée : {{- inheritedValue }}",
|
|
458
|
+
"calculated_input_helper": "Valeur calculée : {{- calculatedValue}}",
|
|
458
459
|
"date_range_from_to": "du {{- from}} au {{- to}}",
|
|
459
460
|
"link_search_result_count": "Résultats ({{count}}/{{total}})",
|
|
460
461
|
"suggestions_count": "Suggestions ({{count}})"
|
|
@@ -591,5 +592,11 @@
|
|
|
591
592
|
"all-selected-enabled": "Tout sélectionné actif",
|
|
592
593
|
"all-selected-disabled": "Tout sélectionné inactif",
|
|
593
594
|
"unselect-all": "Tout désélectionner"
|
|
595
|
+
},
|
|
596
|
+
"explorer": {
|
|
597
|
+
"actions": "Actions",
|
|
598
|
+
"more-actions": "Voir plus",
|
|
599
|
+
"deactivateItem": "Désactiver l’élément",
|
|
600
|
+
"editItem": "Éditer l’élément"
|
|
594
601
|
}
|
|
595
602
|
}
|
package/dist/types/misc.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type ValueOf<T> = T[keyof T];
|
|
2
|
+
export type ILang = string[];
|
package/dist/types/scalars.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SystemTranslation = Record<string, string | null>;
|
package/dist/types/search.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ILibraryDetailExtendedAttributeParentLinkedLibrary, ILibraryDetailExten
|
|
|
5
5
|
import { ValueOf } from './misc';
|
|
6
6
|
import { IRecordIdentityWhoAmI } from './records';
|
|
7
7
|
import { SystemTranslation } from './scalars';
|
|
8
|
-
export
|
|
8
|
+
export type ExtendFormat = string | {
|
|
9
9
|
[key: string]: ExtendFormat[];
|
|
10
10
|
};
|
|
11
11
|
export interface IParentAttributeData {
|
|
@@ -43,7 +43,7 @@ export interface IFieldTypeTree extends IFieldBase {
|
|
|
43
43
|
recordLibrary?: string;
|
|
44
44
|
treeData?: ITreeData;
|
|
45
45
|
}
|
|
46
|
-
export
|
|
46
|
+
export type IField = IFieldTypeBasic | IFieldTypeLink | IFieldTypeTree;
|
|
47
47
|
export interface IQueryFilter {
|
|
48
48
|
field?: string;
|
|
49
49
|
value?: string;
|
|
@@ -62,7 +62,7 @@ export interface IItemBase {
|
|
|
62
62
|
whoAmI: IRecordIdentityWhoAmI;
|
|
63
63
|
index: number;
|
|
64
64
|
}
|
|
65
|
-
export
|
|
65
|
+
export type IItem = IItemBase;
|
|
66
66
|
export declare enum FilterType {
|
|
67
67
|
ATTRIBUTE = "ATTRIBUTE",
|
|
68
68
|
TREE = "TREE",
|
|
@@ -111,7 +111,7 @@ export declare const AttributeConditionFilter: {
|
|
|
111
111
|
VALUES_COUNT_LOWER_THAN: RecordFilterCondition.VALUES_COUNT_LOWER_THAN;
|
|
112
112
|
YESTERDAY: RecordFilterCondition.YESTERDAY;
|
|
113
113
|
};
|
|
114
|
-
export
|
|
114
|
+
export type AttributeConditionType = ValueOf<typeof AttributeConditionFilter>;
|
|
115
115
|
export interface IAttribute {
|
|
116
116
|
id: string;
|
|
117
117
|
library: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leav/ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6-0a4efa6",
|
|
4
4
|
"description": "Shared React components and hooks",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepublishOnly": "yarn build",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"@testing-library/react": "14.0.0",
|
|
32
32
|
"@testing-library/react-hooks": "8.0.1",
|
|
33
33
|
"@testing-library/user-event": "14.4.3",
|
|
34
|
+
"@total-typescript/ts-reset": "0.6.1",
|
|
34
35
|
"@types/dompurify": "3.0.3",
|
|
35
36
|
"@types/jest": "29.0.2",
|
|
36
37
|
"@types/object-path": "0.11.1",
|
|
@@ -44,13 +45,13 @@
|
|
|
44
45
|
"jest-styled-components": "7.1.1",
|
|
45
46
|
"ts-jest": "29.0.1",
|
|
46
47
|
"tsc-alias": "1.8.8",
|
|
47
|
-
"typescript": "
|
|
48
|
+
"typescript": "5.5.3"
|
|
48
49
|
},
|
|
49
50
|
"peerDependencies": {
|
|
50
51
|
"@ant-design/icons": ">=5.2",
|
|
51
52
|
"@apollo/client": ">=3.8.1",
|
|
52
53
|
"antd": "5.15.3",
|
|
53
|
-
"aristid-ds": "
|
|
54
|
+
"aristid-ds": "10.1.0-c112384",
|
|
54
55
|
"dayjs": "^1.11.10",
|
|
55
56
|
"i18next": "22.5",
|
|
56
57
|
"react": "18.2.0",
|
|
@@ -63,8 +64,8 @@
|
|
|
63
64
|
"dependencies": {
|
|
64
65
|
"@ckeditor/ckeditor5-build-inline": "39.0.1",
|
|
65
66
|
"@ckeditor/ckeditor5-react": "6.1.0",
|
|
66
|
-
"@leav/utils": "0.0.
|
|
67
|
-
"dompurify": "3.
|
|
67
|
+
"@leav/utils": "0.0.3",
|
|
68
|
+
"dompurify": "3.1.3",
|
|
68
69
|
"html-react-parser": "4.2.2",
|
|
69
70
|
"i18next-resources-to-backend": "1.1.4",
|
|
70
71
|
"moment": "2.30.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isDevelopmentHelper: () => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isDevelopmentHelper.js","sourceRoot":"","sources":["../../../src/_utils/__mocks__/isDevelopmentHelper.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isDevelopmentHelper: () => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isDevelopmentHelper.js","sourceRoot":"","sources":["../../src/_utils/isDevelopmentHelper.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
2
|
-
import { IEditRecordModalProps } from '../../../components/RecordEdition/EditRecordModal/EditRecordModal';
|
|
3
|
-
export interface IEditRecordContextType {
|
|
4
|
-
editRecord: (props: IEditRecordModalProps) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const EditRecordModalProvider: FunctionComponent;
|
|
7
|
-
export declare const useEditRecordModalContext: () => IEditRecordContextType;
|
package/dist/components/LibraryItemsList/LibraryItemsListTable/EditRecordModalContext.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditRecordModalContext.js","sourceRoot":"","sources":["../../../../src/components/LibraryItemsList/LibraryItemsListTable/EditRecordModalContext.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAqB,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACnG,OAAO,EAAC,eAAe,EAAwB,MAAM,8DAA8D,CAAC;AAMpH,MAAM,sBAAsB,GAAG,aAAa,CAAyB;IACjE,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;CACzB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAsB,KAAK,CAAC,EAAE;IAC9D,MAAM,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,GAAG,QAAQ,CAA+B,IAAI,CAAC,CAAC;IAErG,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;QAC9B,oBAAoB,EAAE,OAAO,EAAE,CAAC;QAEhC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC,EAAE,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,CAAC,CAAC;IAEpD,MAAM,KAAK,GAAG,OAAO,CACjB,GAAG,EAAE,CAAC,CAAC;QACH,UAAU,EAAE,WAAW,CAAC,EAAE;YACtB,uBAAuB,CAAC,WAAW,CAAC,CAAC;QACzC,CAAC;KACJ,CAAC,EACF,CAAC,uBAAuB,CAAC,CAC5B,CAAC;IAEF,OAAO,CACH,MAAC,sBAAsB,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,aACxC,KAAK,CAAC,QAAQ,EACd,oBAAoB,IAAI,CACrB,KAAC,eAAe,OAAK,oBAAoB,EAAE,IAAI,EAAE,oBAAoB,KAAK,IAAI,EAAE,OAAO,EAAE,QAAQ,GAAI,CACxG,IAC6B,CACrC,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './useRefreshToken';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// Copyright LEAV Solutions 2017
|
|
2
|
-
// This file is released under LGPL V3
|
|
3
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
|
-
import { isDevelopmentHelper } from '../../_utils/isDevelopmentHelper';
|
|
5
|
-
const _redirectToLogin = () => window.location.replace(`${window.location.origin}/app/login/?dest=${window.location.pathname}`);
|
|
6
|
-
export default function useRefreshToken() {
|
|
7
|
-
return {
|
|
8
|
-
refreshToken: async (autoReload = true) => {
|
|
9
|
-
const res = await fetch('/auth/refresh', {
|
|
10
|
-
method: 'POST',
|
|
11
|
-
headers: { 'Content-Type': 'application/json' }
|
|
12
|
-
});
|
|
13
|
-
// If we didn't get a 2xx response, reload the page and let the back handle auth, unless we explicitly
|
|
14
|
-
// ask not to reload (e.g. in login app)
|
|
15
|
-
if (!res.ok) {
|
|
16
|
-
if (autoReload) {
|
|
17
|
-
if (isDevelopmentHelper()) {
|
|
18
|
-
return _redirectToLogin();
|
|
19
|
-
}
|
|
20
|
-
return window.location.reload();
|
|
21
|
-
}
|
|
22
|
-
throw new Error(res.statusText, { cause: res });
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=useRefreshToken.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRefreshToken.js","sourceRoot":"","sources":["../../../src/hooks/useRefreshToken/useRefreshToken.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,mBAAmB,EAAC,MAAM,gCAAgC,CAAC;AAEnE,MAAM,gBAAgB,GAAG,GAAG,EAAE,CAC1B,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,oBAAoB,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;AAErG,MAAM,CAAC,OAAO,UAAU,eAAe;IACnC,OAAO;QACH,YAAY,EAAE,KAAK,EAAE,aAAsB,IAAI,EAAE,EAAE;YAC/C,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,eAAe,EAAE;gBACrC,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,EAAC,cAAc,EAAE,kBAAkB,EAAC;aAChD,CAAC,CAAC;YAEH,sGAAsG;YACtG,wCAAwC;YACxC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE;gBACT,IAAI,UAAU,EAAE;oBACZ,IAAI,mBAAmB,EAAE,EAAE;wBACvB,OAAO,gBAAgB,EAAE,CAAC;qBAC7B;oBACD,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;iBACnC;gBAED,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,GAAG,EAAC,CAAC,CAAC;aACjD;QACL,CAAC;KACJ,CAAC;AACN,CAAC"}
|