@centreon/ui 24.4.0-MON-191815.1 → 24.4.0-PR-for-test.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centreon/ui",
3
- "version": "24.4.0-MON-191815.1",
3
+ "version": "24.4.0-PR-for-test.0",
4
4
  "description": "Centreon UI Components",
5
5
  "scripts": {
6
6
  "update:deps": "pnpx npm-check-updates -i --format group",
@@ -1,7 +1,7 @@
1
1
  import { useCallback, useMemo } from 'react';
2
2
 
3
3
  import { FormikValues, useFormikContext } from 'formik';
4
- import { equals, isEmpty, path, split } from 'ramda';
4
+ import { path, equals, isEmpty, split } from 'ramda';
5
5
  import { useTranslation } from 'react-i18next';
6
6
 
7
7
  import {
@@ -51,15 +51,7 @@ export interface InputProps {
51
51
  getRenderedOptionText?: (option) => string | JSX.Element;
52
52
  getOptionLabel?: (option) => string;
53
53
  optionProperty?: string;
54
- disableSelectAll?: boolean;
55
54
  limitTags?: number;
56
- decoder?;
57
- };
58
- file?: {
59
- multiple?: boolean;
60
- accept?: string;
61
- maxFileSize?: number;
62
- CustomDropZoneContent: ({ files }) => JSX.Element;
63
55
  };
64
56
  custom?: {
65
57
  Component: React.ComponentType<InputPropsWithoutGroup>;
@@ -1,34 +1,34 @@
1
- import { useState, useEffect } from 'react';
1
+ import { useEffect, useState } from 'react';
2
2
 
3
3
  import {
4
4
  equals,
5
- prop,
6
- last,
5
+ has,
7
6
  isEmpty,
8
- map,
9
7
  isNil,
10
- pipe,
8
+ last,
9
+ map,
11
10
  not,
12
- has,
13
11
  omit,
12
+ pipe,
13
+ prop,
14
14
  uniqBy
15
15
  } from 'ramda';
16
16
 
17
17
  import { CircularProgress, useTheme } from '@mui/material';
18
18
 
19
19
  import { Props as AutocompleteFieldProps } from '..';
20
- import {
21
- useDebounce,
22
- useIntersectionObserver,
23
- useDeepCompare
24
- } from '../../../../utils';
25
20
  import { ListingModel, SelectEntry } from '../../../..';
26
- import Option from '../../Option';
27
21
  import {
28
22
  ConditionsSearchParameter,
29
23
  SearchParameter
30
24
  } from '../../../../api/buildListingEndpoint/models';
31
25
  import useFetchQuery from '../../../../api/useFetchQuery';
26
+ import {
27
+ useDebounce,
28
+ useDeepCompare,
29
+ useIntersectionObserver
30
+ } from '../../../../utils';
31
+ import Option from '../../Option';
32
32
 
33
33
  export interface ConnectedAutoCompleteFieldProps<TData> {
34
34
  allowUniqOption?: boolean;