@leav/ui 1.2.1 → 1.3.0-3867cf90
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 +2 -2
- package/dist/__mocks__/common/application.js.map +1 -1
- package/dist/__mocks__/common/attribute.d.ts +2 -2
- package/dist/__mocks__/common/filter.d.ts +1 -1
- package/dist/__mocks__/common/form.d.ts +4 -4
- package/dist/__mocks__/common/import.d.ts +1 -1
- package/dist/__mocks__/common/library.d.ts +1 -1
- package/dist/__mocks__/common/mockSearchContextProvider.d.ts +2 -2
- package/dist/__mocks__/common/mockSearchContextProvider.js.map +1 -1
- package/dist/__mocks__/common/record.d.ts +1 -1
- package/dist/__mocks__/common/tree.d.ts +1 -1
- package/dist/__mocks__/common/tree.js.map +1 -1
- package/dist/__mocks__/common/treeElements.d.ts +3 -3
- package/dist/__mocks__/common/value.d.ts +2 -2
- package/dist/__mocks__/common/versionProfile.d.ts +1 -1
- package/dist/__mocks__/common/versionProfile.js.map +1 -1
- package/dist/__mocks__/common/view.d.ts +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.d.ts +1 -1
- package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.d.ts +2 -2
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.d.ts +2 -2
- package/dist/_gqlTypes/index.d.ts +9 -6
- package/dist/_gqlTypes/index.js +4 -6
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.d.ts +3 -3
- package/dist/_queries/records/getFileDataQuery.d.ts +2 -2
- package/dist/_queries/records/getRecordColumnsValues.d.ts +2 -2
- package/dist/_queries/records/getRecordPropertiesQuery.d.ts +4 -4
- package/dist/_queries/records/getRecordsFromLibraryQuery.d.ts +3 -3
- package/dist/_queries/records/getRecordsFromLibraryQuery.js.map +1 -1
- package/dist/_utils/getFiltersFromRequest.d.ts +2 -2
- package/dist/_utils/getFiltersFromRequest.js.map +1 -1
- package/dist/_utils/getRequestFromFilter.d.ts +2 -2
- package/dist/_utils/getRequestFromFilter.js.map +1 -1
- package/dist/_utils/index.d.ts +7 -7
- package/dist/_utils/index.js.map +1 -1
- package/dist/_utils/typeguards.d.ts +1 -1
- package/dist/antdTheme/index.d.ts +1 -1
- package/dist/antdTheme/types.d.ts +1 -1
- package/dist/components/AttributePicker/AttributePicker.d.ts +1 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +1 -1
- package/dist/components/AttributePicker/AttributesList/AttributesList.js +8 -2
- package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/AttributesSelectionList/Attribute/Attribute.d.ts +1 -1
- package/dist/components/AttributesSelectionList/Attribute/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.d.ts +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/SelectedAttributesList/index.js.map +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/index.js.map +1 -1
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.d.ts +2 -2
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.d.ts +2 -2
- package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js.map +1 -1
- package/dist/components/BasicButton/BasicButton.d.ts +1 -1
- package/dist/components/BasicButton/BasicButton.js.map +1 -1
- package/dist/components/CreateDirectory/CreateDirectory.d.ts +1 -1
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +1 -1
- package/dist/components/Dimmer/index.js.map +1 -1
- package/dist/components/EditApplication/EditApplication.d.ts +1 -1
- package/dist/components/EditApplication/EditApplication.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.d.ts +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +2 -2
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.d.ts +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js.map +1 -1
- package/dist/components/EditApplication/_types.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +2 -2
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.d.ts +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +2 -2
- package/dist/components/EditAttributeModal/EditAttributeModal.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.d.ts +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +8 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +2 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +2 -2
- package/dist/components/EditLibraryModal/EditLibraryModal.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTree.d.ts +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTree.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.d.ts +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +2 -2
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.d.ts +2 -2
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTreeModal.d.ts +2 -2
- package/dist/components/EditTreeModal/EditTreeModal.js.map +1 -1
- package/dist/components/EntityCard/EntityCard.d.ts +2 -2
- package/dist/components/EntityCard/EntityCard.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreview.d.ts +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.d.ts +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewList/index.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js.map +1 -1
- package/dist/components/EntityPreview/EntityPreviewTile/index.js.map +1 -1
- package/dist/components/EntityPreview/_types.d.ts +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.d.ts +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js.map +1 -1
- package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +1 -1
- package/dist/components/ErrorMessage/index.js.map +1 -1
- package/dist/components/Explorer/DataView.d.ts +0 -1
- package/dist/components/Explorer/DataView.js +30 -63
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +5 -7
- package/dist/components/Explorer/Explorer.js +5 -12
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerTitle.d.ts +2 -2
- package/dist/components/Explorer/ExplorerToolbar.d.ts +1 -1
- package/dist/components/Explorer/ExplorerToolbar.js +11 -4
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/Explorer/IdCard.d.ts +2 -2
- package/dist/components/Explorer/IdCard.js +1 -1
- package/dist/components/Explorer/IdCard.js.map +1 -1
- package/dist/components/Explorer/TableCell.d.ts +2 -2
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/TableNameCell.d.ts +7 -0
- package/dist/components/Explorer/TableNameCell.js +65 -0
- package/dist/components/Explorer/TableNameCell.js.map +1 -0
- package/dist/components/Explorer/TableTagGroup.d.ts +2 -2
- package/dist/components/Explorer/_constants.d.ts +2 -1
- package/dist/components/Explorer/_constants.js +1 -0
- package/dist/components/Explorer/_constants.js.map +1 -1
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.d.ts +2 -2
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.d.ts +2 -2
- package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +2 -2
- package/dist/components/Explorer/_types.d.ts +11 -8
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.d.ts +3 -3
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +2 -2
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +4 -4
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.d.ts +3 -3
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.d.ts +3 -3
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +9 -9
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +15 -13
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +3 -3
- package/dist/components/Explorer/actions-primary/usePrimaryActions.d.ts +2 -2
- package/dist/components/Explorer/link-item/LinkModal.d.ts +3 -3
- package/dist/components/Explorer/link-item/LinkModal.js +1 -1
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/link-item/useAddLinkMassAction.d.ts +3 -3
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +3 -3
- package/dist/components/Explorer/list-saved-views/SavedViews.d.ts +1 -1
- package/dist/components/Explorer/list-saved-views/SavedViews.js +26 -2
- package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +21 -6
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +8 -10
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +6 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js +5 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/LinkAttributeDropdown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js +8 -7
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +13 -3
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.d.ts +4 -4
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.d.ts +1 -2
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +0 -2
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +3 -4
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useColumnWidth.d.ts +1 -1
- package/dist/components/Explorer/useLoadView.js.map +1 -1
- package/dist/components/Explorer/usePagination.d.ts +3 -3
- package/dist/components/Explorer/usePagination.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.d.ts +3 -3
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.d.ts +2 -2
- package/dist/components/ExportModal/ExportModal.d.ts +1 -1
- package/dist/components/ExportModal/ExportModal.js.map +1 -1
- package/dist/components/FieldsGroup/FieldsGroup.d.ts +1 -1
- package/dist/components/FieldsGroup/FieldsGroup.js.map +1 -1
- package/dist/components/FieldsGroup/index.js.map +1 -1
- package/dist/components/FloatingMenu/FloatingMenu.d.ts +2 -2
- package/dist/components/FloatingMenu/FloatingMenu.js.map +1 -1
- package/dist/components/FloatingMenu/_types.d.ts +1 -1
- package/dist/components/ImportModal/ImportModal.d.ts +1 -1
- package/dist/components/ImportModal/ImportModal.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalDoneStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalProcessingStep/index.js.map +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.d.ts +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/index.js.map +1 -1
- package/dist/components/ImportModal/_types.d.ts +1 -1
- package/dist/components/ImportModal/importReducer/ImportReducerContext.d.ts +1 -1
- package/dist/components/ImportModal/importReducer/ImportReducerContext.js.map +1 -1
- package/dist/components/ImportModal/importReducer/importReducer.d.ts +1 -1
- package/dist/components/ImportModal/importReducer/importReducer.js.map +1 -1
- package/dist/components/ImportModal/importReducer/index.js.map +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.d.ts +2 -2
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayOptions/index.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.d.ts +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/index.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.d.ts +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js.map +1 -1
- package/dist/components/LibraryItemsList/IconViewType/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsList.d.ts +4 -4
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.d.ts +5 -5
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/types.d.ts +2 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.d.ts +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.d.ts +2 -2
- package/dist/components/LibraryItemsList/MenuItemList/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuItemListSelected/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuSelection/index.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.d.ts +1 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuView/index.js.map +1 -1
- package/dist/components/LibraryItemsList/SearchItems/index.js.map +1 -1
- package/dist/components/LibraryItemsList/Sidebar/Sidebar.js.map +1 -1
- package/dist/components/LibraryItemsList/Sidebar/index.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js.map +1 -1
- package/dist/components/LibraryItemsList/TileDisplay/index.js.map +1 -1
- package/dist/components/LibraryItemsList/VersionsPanel/index.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.d.ts +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/View.d.ts +2 -2
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/index.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/index.js.map +1 -1
- package/dist/components/LibraryItemsList/constants.d.ts +1 -1
- package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.d.ts +1 -1
- package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.d.ts +2 -2
- package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldFromKey.d.ts +3 -3
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.d.ts +4 -4
- package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.d.ts +1 -1
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.d.ts +2 -2
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +9 -9
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.d.ts +2 -2
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +5 -5
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.d.ts +1 -1
- package/dist/components/LibraryItemsList/manageItems.d.ts +2 -2
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.d.ts +2 -2
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js.map +1 -1
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +1 -1
- package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
- package/dist/components/LibraryPicker/LibraryPicker.d.ts +1 -1
- package/dist/components/List/List.d.ts +1 -1
- package/dist/components/List/List.js.map +1 -1
- package/dist/components/List/index.js.map +1 -1
- package/dist/components/RecordCard/RecordCard.d.ts +1 -1
- package/dist/components/RecordCard/RecordCard.js.map +1 -1
- package/dist/components/RecordCard/_types.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +5 -5
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +5 -5
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +10 -10
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/getActiveFieldValues.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/isCurrentVersion.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +4 -12
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +5 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.d.ts +5 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +27 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +6 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +5 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +5 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.d.ts +14 -0
- package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js +22 -0
- package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/AttributeSummary.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSkeleton/index.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +3 -3
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.d.ts +2 -2
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/index.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.d.ts +1 -1
- package/dist/components/RecordHistory/RecordHistory.d.ts +2 -2
- package/dist/components/RecordHistory/RecordHistory.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistoryGoUpButton.d.ts +1 -1
- package/dist/components/RecordHistory/RecordHistoryGoUpButton.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistoryLogEntry.d.ts +2 -2
- package/dist/components/RecordHistory/_types.d.ts +1 -1
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.d.ts +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.d.ts +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.d.ts +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.d.ts +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.d.ts +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.d.ts +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.d.ts +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.d.ts +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.d.ts +2 -2
- package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/FileModal/index.js.map +1 -1
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.d.ts +3 -3
- package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js.map +1 -1
- package/dist/components/SearchModal/SearchModal.d.ts +2 -2
- package/dist/components/SearchModal/SearchModal.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -2
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +43 -22
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +3 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +3 -3
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.d.ts +1 -1
- package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +1 -1
- package/dist/components/SelectTreeNode/_types.d.ts +3 -3
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts +2 -2
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -1
- package/dist/components/ShowMore/ShowMore.d.ts +1 -1
- package/dist/components/ShowMore/ShowMore.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.d.ts +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.d.ts +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js.map +1 -1
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.d.ts +1 -1
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js +3 -1
- package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js.map +1 -1
- package/dist/components/TreePicker/TreePicker.d.ts +1 -1
- package/dist/components/TreePicker/TreesList/TreesList.d.ts +1 -1
- package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +1 -1
- package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
- package/dist/components/UploadFiles/UploadFiles.d.ts +1 -1
- package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.d.ts +2 -2
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/index.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/index.js.map +1 -1
- package/dist/constants.d.ts +7 -2
- package/dist/constants.js +1 -2
- package/dist/constants.js.map +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalContext.d.ts +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.d.ts +1 -1
- package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -1
- package/dist/contexts/LangContext/LangContext.d.ts +1 -1
- package/dist/contexts/UserContext/UserContext.d.ts +1 -1
- package/dist/contexts/UserContext/types.d.ts +1 -1
- package/dist/gqlPossibleTypes/index.d.ts +1 -1
- package/dist/hooks/useAntdLocale/useAntdLocale.d.ts +1 -1
- package/dist/hooks/useAppLang/useAppLang.js +2 -1
- package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
- package/dist/hooks/useAuth/useAuth.js +2 -1
- package/dist/hooks/useAuth/useAuth.js.map +1 -1
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.d.ts +2 -2
- package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js.map +1 -1
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.d.ts +2 -2
- package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.d.ts +1 -1
- package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.d.ts +2 -2
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +4 -4
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.d.ts +1 -1
- package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js.map +1 -1
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.d.ts +3 -3
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +2 -2
- package/dist/hooks/useIFrameMessenger/schema.js +3 -3
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/types.d.ts +2 -2
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +1 -1
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +1 -1
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
- package/dist/hooks/useLang/__mocks__/index.js.map +1 -1
- package/dist/hooks/useLang/__mocks__/useLang.js.map +1 -1
- package/dist/hooks/useLang/index.js.map +1 -1
- package/dist/hooks/useLang/useLang.d.ts +1 -1
- package/dist/hooks/useLang/useLang.js.map +1 -1
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.d.ts +2 -2
- package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js.map +1 -1
- package/dist/hooks/useLoginChecker/useLoginChecker.js +2 -1
- package/dist/hooks/useLoginChecker/useLoginChecker.js.map +1 -1
- package/dist/hooks/useRecordsConsultationHistory/index.js.map +1 -1
- package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.d.ts +2 -2
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.d.ts +1 -1
- package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.d.ts +2 -2
- package/dist/locales/en/shared.json +3 -1
- package/dist/locales/fr/shared.json +3 -1
- package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js.map +1 -1
- package/dist/testing/MockedLangContextProvider/index.js.map +1 -1
- package/dist/testing/MockedUserContextProvider/index.js.map +1 -1
- package/dist/types/attributes.d.ts +3 -3
- package/dist/types/records.d.ts +2 -2
- package/dist/types/trees.d.ts +2 -2
- package/dist/types/views.d.ts +4 -4
- package/package.json +4 -4
- package/dist/components/Explorer/actions-item/useEditItemAction.d.ts +0 -19
- package/dist/components/Explorer/actions-item/useEditItemAction.js +0 -57
- package/dist/components/Explorer/actions-item/useEditItemAction.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FetchResult } from '@apollo/client';
|
|
2
|
-
import { SaveViewMutation, SaveViewMutationVariables } from '../../_gqlTypes';
|
|
1
|
+
import { type FetchResult } from '@apollo/client';
|
|
2
|
+
import { type SaveViewMutation, type SaveViewMutationVariables } from '../../_gqlTypes';
|
|
3
3
|
export interface IUseSaveViewMutationHook {
|
|
4
4
|
saveView: (variables: SaveViewMutationVariables) => Promise<FetchResult<SaveViewMutation>>;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IGetLibraryDetailExtendedQuery, IGetLibraryDetailExtendedVariables } from '../../_queries/libraries/getLibraryDetailExtendQuery';
|
|
1
|
+
import { type IGetLibraryDetailExtendedQuery, type IGetLibraryDetailExtendedVariables } from '../../_queries/libraries/getLibraryDetailExtendQuery';
|
|
2
2
|
export interface IUseGetLibraryDetailExtendedQueryHookParams {
|
|
3
3
|
library: string;
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QueryResult } from '@apollo/client';
|
|
2
|
-
import { IFileDataWithPreviewsStatus } from '../../_queries/records/getFileDataQuery';
|
|
1
|
+
import { type QueryResult } from '@apollo/client';
|
|
2
|
+
import { type IFileDataWithPreviewsStatus } from '../../_queries/records/getFileDataQuery';
|
|
3
3
|
export interface IUseGetFileDataQueryHook {
|
|
4
4
|
loading: boolean;
|
|
5
5
|
error: QueryResult['error'];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ApolloError } from '@apollo/client';
|
|
2
|
-
import { Override } from '@leav/utils';
|
|
3
|
-
import { IValueVersion } from '../../types/values';
|
|
4
|
-
import { RecordFormElementFragment, RecordFormQuery, RecordFormQueryResult, ValueDetailsLinkValueFragment, ValueDetailsTreeValueFragment, ValueDetailsValueFragment } from '../../_gqlTypes';
|
|
1
|
+
import { type ApolloError } from '@apollo/client';
|
|
2
|
+
import { type Override } from '@leav/utils';
|
|
3
|
+
import { type IValueVersion } from '../../types/values';
|
|
4
|
+
import { type RecordFormElementFragment, type RecordFormQuery, type RecordFormQueryResult, type ValueDetailsLinkValueFragment, type ValueDetailsTreeValueFragment, type ValueDetailsValueFragment } from '../../_gqlTypes';
|
|
5
5
|
export type RecordFormElementsValueStandardValue = Override<ValueDetailsValueFragment, {
|
|
6
6
|
version?: IValueVersion;
|
|
7
7
|
metadata?: Array<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetRecordForm.js","sourceRoot":"","sources":["../../../src/hooks/useGetRecordForm/useGetRecordForm.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"useGetRecordForm.js","sourceRoot":"","sources":["../../../src/hooks/useGetRecordForm/useGetRecordForm.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,sBAAsB,EAAgB,MAAM,aAAa,CAAC;AAClE,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAE/B,OAAO,EAIH,kBAAkB,EAIrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,yBAAyB,EAAC,MAAM,YAAY,CAAC;AAkErD,MAAM,gBAAgB,GAAG,CAAC,EACtB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,OAAO,EAMV,EAAyB,EAAE;IACxB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAqB,IAAI,CAAC,CAAC;IAEvE,MAAM,cAAc,GAAG,OAAO;QAC1B,CAAC,CAAC,sBAAsB,CAAC,OAAO,CAAC;aAC1B,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,K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,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAC3B,OAAO,CAAC;QACJ,SAAS;QACT,QAAQ;QACR,MAAM;QACN,OAAO,EAAE,cAAc;KAC1B,CAAC,CAAC;IAEP,kHAAkH;IAClH,2BAA2B;IAC3B,OAAO,EAAC,OAAO,EAAE,OAAO,IAAI,CAAC,CAAC,UAAU,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAC,CAAC;AACxG,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RecordUpdateFilterInput } from '../../_gqlTypes';
|
|
1
|
+
import { type RecordUpdateFilterInput } from '../../_gqlTypes';
|
|
2
2
|
export declare const useGetRecordUpdatesSubscription: (filters: RecordUpdateFilterInput, skip?: boolean) => import("@apollo/client").SubscriptionResult<import("../../_gqlTypes").RecordUpdateSubscription, import("../../_gqlTypes").Exact<{
|
|
3
3
|
filters?: import("../../_gqlTypes").InputMaybe<RecordUpdateFilterInput>;
|
|
4
4
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetRecordUpdatesSubscription.js","sourceRoot":"","sources":["../../../src/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,
|
|
1
|
+
{"version":3,"file":"useGetRecordUpdatesSubscription.js","sourceRoot":"","sources":["../../../src/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAA+B,2BAA2B,EAAC,MAAM,eAAe,CAAC;AAExF,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,OAAgC,EAAE,IAAc,EAAE,EAAE;IAChG,MAAM,iBAAiB,GAAG,oBAAoB,EAAE,CAAC;IAEjD,OAAO,2BAA2B,CAAC;QAC/B,IAAI;QACJ,SAAS,EAAE,EAAC,OAAO,EAAC;QACpB,MAAM,EAAE,CAAC,EAAC,IAAI,EAAC,EAAE,EAAE;YACf,MAAM,EAAC,MAAM,EAAE,aAAa,EAAC,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC;YACvD,iBAAiB,CACb,MAAM,CAAC,MAAM,EACb,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CACtC,CAAC;QACN,CAAC;KACJ,CAAC,CAAC;AACP,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QueryResult } from '@apollo/client';
|
|
2
|
-
import { Override } from '@leav/utils';
|
|
3
|
-
import { GetRecordColumnsValuesRecord, IGetRecordColumnsValues } from '../../_queries/records/getRecordColumnsValues';
|
|
1
|
+
import { type QueryResult } from '@apollo/client';
|
|
2
|
+
import { type Override } from '@leav/utils';
|
|
3
|
+
import { type GetRecordColumnsValuesRecord, type IGetRecordColumnsValues } from '../../_queries/records/getRecordColumnsValues';
|
|
4
4
|
export interface IColumnsValuesByRecord {
|
|
5
5
|
[recordId: string]: GetRecordColumnsValuesRecord;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetRecordValuesQuery.js","sourceRoot":"","sources":["../../../src/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAEtE,OAAO,
|
|
1
|
+
{"version":3,"file":"useGetRecordValuesQuery.js","sourceRoot":"","sources":["../../../src/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.ts"],"names":[],"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D,sBAAsB,CAAC,OAAO,CAAC,EAAE;QAC/G,SAAS,EAAE;YACP,OAAO,EAAE,SAAS;YAClB,kDAAkD;YAClD,OAAO,EAAE,wBAAwB,CAAC,SAAS,CAAC;SAC/C;QACD,IAAI,EAAE,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM;QAChE,WAAW,EAAE,IAAI,CAAC,EAAE;YAChB,MAAM,SAAS,GAA2B,mBAAmB,CAAC,IAAI,CAAC,CAAC;YACpE,YAAY,CAAC,SAAS,CAAC,CAAC;QAC5B,CAAC;KACJ,CAAC,CAAC;IAEH,MAAM,aAAa,GAAG,KAAK,EAAE,gBAA0B,EAAE,EAAE;QACvD,MAAM,eAAe,GAAG;YACpB,OAAO,EAAE,wBAAwB,CAAC,gBAAgB,IAAI,EAAE,CAAC;SAC5D,CAAC;QAEF,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;QAEzD,MAAM,SAAS,GAA2B,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QAChF,YAAY,CAAC,EAAC,GAAG,SAAS,EAAE,GAAG,SAAS,EAAC,CAAC,CAAC;QAE3C,OAAO,WAAW,CAAC;IACvB,CAAC,CAAC;IAEF,aAAa;IACb,OAAO;QACH,GAAG,KAAK;QACR,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,OAAO,SAAS,KAAK,SAAS;QACxD,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,aAAa;KACzB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -10,15 +10,15 @@ export declare const LibraryExplorerPropsSchema: z.ZodObject<{
|
|
|
10
10
|
freezeView: z.ZodOptional<z.ZodBoolean>;
|
|
11
11
|
showAttributeLabels: z.ZodOptional<z.ZodBoolean>;
|
|
12
12
|
creationFormId: z.ZodOptional<z.ZodString>;
|
|
13
|
-
editionFormId: z.ZodOptional<z.ZodString>;
|
|
14
13
|
noPagination: z.ZodOptional<z.ZodLiteral<true>>;
|
|
15
14
|
showActionsLabels: z.ZodOptional<z.ZodBoolean>;
|
|
16
15
|
defaultPrimaryActions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">]>>>;
|
|
17
|
-
defaultActionsForItem: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"
|
|
16
|
+
defaultActionsForItem: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"replaceLink">, z.ZodLiteral<"remove">, z.ZodLiteral<"activate">]>>>;
|
|
18
17
|
defaultMassActions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"deactivate">]>>>;
|
|
19
18
|
}, z.core.$strip>;
|
|
20
19
|
export declare const ItemActionsSchema: z.ZodArray<z.ZodObject<{
|
|
21
20
|
where: z.ZodUnion<readonly [z.ZodLiteral<"popup">, z.ZodLiteral<"slider">, z.ZodLiteral<"fullpage">]>;
|
|
22
21
|
what: z.ZodLazy<any>;
|
|
22
|
+
useItemActionOnRowClick: z.ZodOptional<z.ZodBoolean>;
|
|
23
23
|
}, z.core.$strip>>;
|
|
24
24
|
export declare const PanelSchema: any;
|
|
@@ -13,7 +13,6 @@ const CommonExplorerPropsSchema = z.object({
|
|
|
13
13
|
freezeView: z.boolean().optional(),
|
|
14
14
|
showAttributeLabels: z.boolean().optional(),
|
|
15
15
|
creationFormId: z.string().optional(),
|
|
16
|
-
editionFormId: z.string().optional(),
|
|
17
16
|
noPagination: z.literal(true).optional(),
|
|
18
17
|
showActionsLabels: z.boolean().optional()
|
|
19
18
|
});
|
|
@@ -21,13 +20,14 @@ const LinkExplorerPropsSchema = CommonExplorerPropsSchema;
|
|
|
21
20
|
export const LibraryExplorerPropsSchema = CommonExplorerPropsSchema.extend({
|
|
22
21
|
defaultPrimaryActions: z.array(z.union([z.literal('create')])).optional(),
|
|
23
22
|
defaultActionsForItem: z
|
|
24
|
-
.array(z.union([z.literal('
|
|
23
|
+
.array(z.union([z.literal('replaceLink'), z.literal('remove'), z.literal('activate')]))
|
|
25
24
|
.optional(),
|
|
26
25
|
defaultMassActions: z.array(z.union([z.literal('deactivate')])).optional()
|
|
27
26
|
});
|
|
28
27
|
export const ItemActionsSchema = z.array(z.object({
|
|
29
28
|
where: z.union([z.literal('popup'), z.literal('slider'), z.literal('fullpage')]),
|
|
30
|
-
what: z.lazy(() => PanelSchema)
|
|
29
|
+
what: z.lazy(() => PanelSchema),
|
|
30
|
+
useItemActionOnRowClick: z.boolean().optional()
|
|
31
31
|
}));
|
|
32
32
|
export const PanelSchema = z.lazy(() => z
|
|
33
33
|
.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/hooks/useIFrameMessenger/schema.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAE9C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AACxC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AACzC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,QAAQ,EAAE,CAAC;AAE1F,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAClC,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IA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CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;gBAC/B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;gBAClB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;aACxB,CAAC;SACL,CAAC;KACL,CAAC;IACF,CAAC,CAAC,MAAM,CAAC;QACL,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,CAAC;QAC5C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACnC,CAAC;CACL,CAAC,CACL,CACR,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type RefObject, type ComponentProps, type Key, type JSXElementConstructor } from 'react';
|
|
2
|
-
import * as z from 'zod/v4';
|
|
2
|
+
import type * as z from 'zod/v4';
|
|
3
3
|
import { type KitNotification } from 'aristid-ds';
|
|
4
4
|
import { type IKitConfirmDialog } from 'aristid-ds/dist/Kit/Feedback/Modal/types';
|
|
5
5
|
import { type ToastedAlertProps } from 'aristid-ds/dist/Kit/Feedback/Alert/types';
|
|
6
6
|
import { type EditRecordModal } from '../../components';
|
|
7
|
-
import { ItemActionsSchema, type PanelIdSchema, PanelSchema } from '../../hooks/useIFrameMessenger/schema';
|
|
7
|
+
import { type ItemActionsSchema, type PanelIdSchema, type PanelSchema } from '../../hooks/useIFrameMessenger/schema';
|
|
8
8
|
export declare const packetId = "__fromIframeMessenger";
|
|
9
9
|
export interface IEncodedMessage {
|
|
10
10
|
payload: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AddMessageToPanelMessageHandler, type IUseIFrameMessengerOptions } from './types';
|
|
1
|
+
import { type AddMessageToPanelMessageHandler, type IUseIFrameMessengerOptions } from './types';
|
|
2
2
|
export { IUseIFrameMessengerOptions };
|
|
3
3
|
/**
|
|
4
4
|
* This is the core of `useIFrameMessenger`. Should be used for top-level apps, such as **app-studio**.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IFrameMessengerClient.js","sourceRoot":"","sources":["../../../src/hooks/useIFrameMessengerClient/IFrameMessengerClient.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,
|
|
1
|
+
{"version":3,"file":"IFrameMessengerClient.js","sourceRoot":"","sources":["../../../src/hooks/useIFrameMessengerClient/IFrameMessengerClient.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAyC,SAAS,EAAC,MAAM,OAAO,CAAC;AACxE,OAAO,EAAC,kBAAkB,EAAC,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAO5E,MAAM,CAAC,MAAM,qBAAqB,GAAkD,CAAC,EAAC,QAAQ,EAAE,EAAE,EAAC,EAAE,EAAE;IACnG,MAAM,eAAe,GAAG,kBAAkB,CAAC,EAAC,EAAE,EAAC,CAAC,CAAC;IAEjD,SAAS,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;IAExD,OAAO,CACH,KAAC,4BAA4B,CAAC,QAAQ,IAAC,KAAK,EAAE,eAAe,YACxD,QAAQ,GAC2B,CAC3C,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/hooks/useLang/__mocks__/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,OAAO,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/hooks/useLang/__mocks__/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLang.js","sourceRoot":"","sources":["../../../../src/hooks/useLang/__mocks__/useLang.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAEtE,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"useLang.js","sourceRoot":"","sources":["../../../../src/hooks/useLang/__mocks__/useLang.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAEtE,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,CAAC;IACvB,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;IAC5B,WAAW,EAAE,IAAI;CACpB,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/useLang/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,OAAO,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/useLang/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLang.js","sourceRoot":"","sources":["../../../src/hooks/useLang/useLang.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,
|
|
1
|
+
{"version":3,"file":"useLang.js","sourceRoot":"","sources":["../../../src/hooks/useLang/useLang.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,EAAoB,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAE1E,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,5 +1,5 @@
|
|
|
1
|
-
import { ApolloError } from '@apollo/client';
|
|
2
|
-
import { GetVersionableAttributesByLibraryQuery } from '../../_gqlTypes';
|
|
1
|
+
import { type ApolloError } from '@apollo/client';
|
|
2
|
+
import { type 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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLibraryVersionTrees.js","sourceRoot":"","sources":["../../../src/hooks/useLibraryVersionTrees/useLibraryVersionTrees.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"useLibraryVersionTrees.js","sourceRoot":"","sources":["../../../src/hooks/useLibraryVersionTrees/useLibraryVersionTrees.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8C,yCAAyC,EAAC,MAAM,eAAe,CAAC;AAWrH,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,10 +1,11 @@
|
|
|
1
1
|
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
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 { GLOBAL_BASE_URL } from '../../constants';
|
|
4
5
|
export default function useLoginChecker() {
|
|
5
6
|
return {
|
|
6
7
|
loginChecker: async () => {
|
|
7
|
-
const res = await fetch(
|
|
8
|
+
const res = await fetch(`${GLOBAL_BASE_URL}/auth/login-checker`, {
|
|
8
9
|
method: 'POST',
|
|
9
10
|
headers: { 'Content-Type': 'application/json' }
|
|
10
11
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLoginChecker.js","sourceRoot":"","sources":["../../../src/hooks/useLoginChecker/useLoginChecker.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,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;
|
|
1
|
+
{"version":3,"file":"useLoginChecker.js","sourceRoot":"","sources":["../../../src/hooks/useLoginChecker/useLoginChecker.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAE9C,MAAM,CAAC,OAAO,UAAU,eAAe;IACnC,OAAO;QACH,YAAY,EAAE,KAAK,IAAI,EAAE;YACrB,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,eAAe,qBAAqB,EAAE;gBAC7D,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":"index.js","sourceRoot":"","sources":["../../../src/hooks/useRecordsConsultationHistory/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,6BAA6B,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/useRecordsConsultationHistory/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,6BAA6B,MAAM,iCAAiC,CAAC;AAE5E,eAAe,6BAA6B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IValueVersion } from '../../types/values';
|
|
2
|
-
import { RecordProperty } from '../../_queries/records/getRecordPropertiesQuery';
|
|
1
|
+
import { type IValueVersion } from '../../types/values';
|
|
2
|
+
import { type RecordProperty } from '../../_queries/records/getRecordPropertiesQuery';
|
|
3
3
|
export interface IUseRefetchFieldValuesHook {
|
|
4
4
|
fetchValues: (version?: IValueVersion) => Promise<RecordProperty[]>;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRecordIdentityWhoAmI } from '../../types/records';
|
|
2
|
-
import { ValueDetailsFragment } from '../../_gqlTypes';
|
|
1
|
+
import { type IRecordIdentityWhoAmI } from '../../types/records';
|
|
2
|
+
import { type ValueDetailsFragment } from '../../_gqlTypes';
|
|
3
3
|
export type IValuesCacheUpdateHook = (record: IRecordIdentityWhoAmI, savedValues: ValueDetailsFragment[]) => void;
|
|
4
4
|
export default function (): IValuesCacheUpdateHook;
|
|
@@ -731,7 +731,9 @@
|
|
|
731
731
|
"save-view-as": "Save as...",
|
|
732
732
|
"share-view": "Share",
|
|
733
733
|
"unshare-view": "Unshare",
|
|
734
|
-
"reinit-view": "Reset"
|
|
734
|
+
"reinit-view": "Reset",
|
|
735
|
+
"copy-id": "Copy view Id",
|
|
736
|
+
"copied": "Copied"
|
|
735
737
|
},
|
|
736
738
|
"massAction": {
|
|
737
739
|
"itemsTotal_one": "{{count, number}} item",
|
|
@@ -731,7 +731,9 @@
|
|
|
731
731
|
"save-view-as": "Enregistrer sous...",
|
|
732
732
|
"share-view": "Partager",
|
|
733
733
|
"unshare-view": "Retirer le partage",
|
|
734
|
-
"reinit-view": "Réinitialiser"
|
|
734
|
+
"reinit-view": "Réinitialiser",
|
|
735
|
+
"copy-id": "Copier l'Id de la vue",
|
|
736
|
+
"copied": "Copié"
|
|
735
737
|
},
|
|
736
738
|
"massAction": {
|
|
737
739
|
"itemsTotal_one": "{{count, number}} élément",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MockedLangContextProvider.js","sourceRoot":"","sources":["../../../src/testing/MockedLangContextProvider/MockedLangContextProvider.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,
|
|
1
|
+
{"version":3,"file":"MockedLangContextProvider.js","sourceRoot":"","sources":["../../../src/testing/MockedLangContextProvider/MockedLangContextProvider.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAoB,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAE1E,SAAS,yBAAyB,CAAC,EAAC,QAAQ,EAAC;IACzC,MAAM,SAAS,GAAiB;QAC5B,IAAI,EAAE,CAAC,IAAI,CAAC;QACZ,cAAc,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QAC5B,WAAW,EAAE,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,EAAE,EAAE;KACrB,CAAC;IAEF,OAAO,KAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,SAAS,YAAG,QAAQ,GAAwB,CAAC;AACrF,CAAC;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/testing/MockedLangContextProvider/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/testing/MockedLangContextProvider/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AAEpE,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/testing/MockedUserContextProvider/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/testing/MockedUserContextProvider/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AAEpE,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AttributeFormat, AttributeType } from '../_gqlTypes';
|
|
2
|
-
import { SystemTranslation } from './scalars';
|
|
3
|
-
import { IAttribute, IParentAttributeData, ITreeData } from './search';
|
|
1
|
+
import { type AttributeFormat, type AttributeType } from '../_gqlTypes';
|
|
2
|
+
import { type SystemTranslation } from './scalars';
|
|
3
|
+
import { type IAttribute, type IParentAttributeData, type ITreeData } from './search';
|
|
4
4
|
export interface ISelectedAttribute {
|
|
5
5
|
id: string;
|
|
6
6
|
library: string;
|
package/dist/types/records.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IPreviewScalar } from '@leav/utils';
|
|
2
|
-
import { SystemTranslation } from './scalars';
|
|
1
|
+
import { type IPreviewScalar } from '@leav/utils';
|
|
2
|
+
import { type SystemTranslation } from './scalars';
|
|
3
3
|
export interface IRecordIdentityLibrary {
|
|
4
4
|
id: string;
|
|
5
5
|
label?: SystemTranslation | null;
|
package/dist/types/trees.d.ts
CHANGED
package/dist/types/views.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SortOrder, ViewSizes, ViewTypes } from '../_gqlTypes';
|
|
2
|
-
import { SystemTranslation } from './scalars';
|
|
3
|
-
import { IFilter } from './search';
|
|
4
|
-
import { IValueVersion } from './values';
|
|
1
|
+
import { type SortOrder, type ViewSizes, type ViewTypes } from '../_gqlTypes';
|
|
2
|
+
import { type SystemTranslation } from './scalars';
|
|
3
|
+
import { type IFilter } from './search';
|
|
4
|
+
import { type IValueVersion } from './values';
|
|
5
5
|
export interface IView {
|
|
6
6
|
id: string;
|
|
7
7
|
library?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leav/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0-3867cf90",
|
|
4
4
|
"description": "Shared React components and hooks",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepublishOnly": "yarn build",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@types/react-table": "7.7.12",
|
|
46
46
|
"@types/uuid": "^9",
|
|
47
47
|
"antd": "5.22.2",
|
|
48
|
-
"aristid-ds": "14.0.0-
|
|
48
|
+
"aristid-ds": "14.0.0-17151f9",
|
|
49
49
|
"babel-jest": "29.3.1",
|
|
50
50
|
"commander": "9.5.0",
|
|
51
51
|
"graphql": "16.6.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@ant-design/icons": ">=5.2",
|
|
68
68
|
"@apollo/client": ">=3.8.1",
|
|
69
69
|
"antd": "5.22.2",
|
|
70
|
-
"aristid-ds": "14.0.0-
|
|
70
|
+
"aristid-ds": "14.0.0-17151f9",
|
|
71
71
|
"dayjs": "^1.11.13",
|
|
72
72
|
"i18next": "22.5",
|
|
73
73
|
"react": "18.2.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@ckeditor/ckeditor5-react": "6.1.0",
|
|
83
83
|
"@dnd-kit/core": "6.1.0",
|
|
84
84
|
"@dnd-kit/sortable": "8.0.0",
|
|
85
|
-
"@leav/utils": "1.
|
|
85
|
+
"@leav/utils": "1.3.0",
|
|
86
86
|
"@uidotdev/usehooks": "2.4.1",
|
|
87
87
|
"dompurify": "3.2.4",
|
|
88
88
|
"html-react-parser": "4.2.2",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FeatureHook, IItemAction } from '../_types';
|
|
2
|
-
/**
|
|
3
|
-
* Hook used to get the action for `<DataView />` component.
|
|
4
|
-
*
|
|
5
|
-
* When the mutation for editing is done, the Apollo cache will be refreshed (`Record` and `RecordIdentity`)
|
|
6
|
-
* from only edited record.
|
|
7
|
-
*
|
|
8
|
-
* It returns also two parts : one for the action button call - one for displaying the modal required by the action.
|
|
9
|
-
*
|
|
10
|
-
* @param isEnabled - whether the action is present
|
|
11
|
-
*/
|
|
12
|
-
export declare const useEditItemAction: ({ isEnabled, formId, onEdit, refetch }: FeatureHook<{
|
|
13
|
-
onEdit?: IItemAction["callback"];
|
|
14
|
-
formId?: string;
|
|
15
|
-
refetch: () => void;
|
|
16
|
-
}>) => {
|
|
17
|
-
editItemAction: IItemAction;
|
|
18
|
-
editItemModal: JSX.Element;
|
|
19
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
|
-
import { useMemo, useState } from 'react';
|
|
6
|
-
import { FaEye } from 'react-icons/fa';
|
|
7
|
-
import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
|
|
8
|
-
import { EditRecordModal } from '../../../components/RecordEdition/EditRecordModal';
|
|
9
|
-
import { RecordFilterCondition, useExplorerLibraryDataLazyQuery } from '../../../_gqlTypes';
|
|
10
|
-
import { EDIT_RECORD_MODAL_CLASSNAME } from '../_constants';
|
|
11
|
-
/**
|
|
12
|
-
* Hook used to get the action for `<DataView />` component.
|
|
13
|
-
*
|
|
14
|
-
* When the mutation for editing is done, the Apollo cache will be refreshed (`Record` and `RecordIdentity`)
|
|
15
|
-
* from only edited record.
|
|
16
|
-
*
|
|
17
|
-
* It returns also two parts : one for the action button call - one for displaying the modal required by the action.
|
|
18
|
-
*
|
|
19
|
-
* @param isEnabled - whether the action is present
|
|
20
|
-
*/
|
|
21
|
-
export const useEditItemAction = ({ isEnabled, formId, onEdit, refetch }) => {
|
|
22
|
-
const { t } = useSharedTranslation();
|
|
23
|
-
const [refreshItem] = useExplorerLibraryDataLazyQuery({ fetchPolicy: 'network-only' });
|
|
24
|
-
const [editingItem, setEditingItem] = useState(null);
|
|
25
|
-
const _editItemAction = {
|
|
26
|
-
label: t('explorer.edit-item'),
|
|
27
|
-
icon: _jsx(FaEye, {}),
|
|
28
|
-
callback: item => {
|
|
29
|
-
setEditingItem(item);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
const _handleEditModalClose = (item) => {
|
|
33
|
-
refetch();
|
|
34
|
-
refreshItem({
|
|
35
|
-
variables: {
|
|
36
|
-
libraryId: item.libraryId,
|
|
37
|
-
attributeIds: ['id'], // TODO: get list of displayed attributes stored in the view
|
|
38
|
-
pagination: { limit: 1 },
|
|
39
|
-
filters: [
|
|
40
|
-
{
|
|
41
|
-
condition: RecordFilterCondition.EQUAL,
|
|
42
|
-
field: 'id',
|
|
43
|
-
value: item.itemId
|
|
44
|
-
}
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
onEdit?.(item);
|
|
49
|
-
setEditingItem(null);
|
|
50
|
-
};
|
|
51
|
-
const editAction = useMemo(() => ({
|
|
52
|
-
editItemAction: isEnabled ? _editItemAction : null,
|
|
53
|
-
editItemModal: isEnabled && editingItem !== null ? (_jsx(EditRecordModal, { className: EDIT_RECORD_MODAL_CLASSNAME, open: true, editionFormId: formId, record: editingItem.whoAmI, library: editingItem.libraryId, onClose: () => _handleEditModalClose(editingItem) })) : null
|
|
54
|
-
}), [isEnabled, editingItem]);
|
|
55
|
-
return editAction;
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=useEditItemAction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useEditItemAction.js","sourceRoot":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