@gridsuite/commons-ui 0.89.1 → 0.89.2

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.
Files changed (126) hide show
  1. package/dist/_mocks_/svg.d.ts +0 -1
  2. package/dist/components/authentication/AuthenticationRouter.d.ts +0 -1
  3. package/dist/components/authentication/AuthenticationRouterErrorDisplay.d.ts +0 -1
  4. package/dist/components/authentication/SignInCallbackHandler.d.ts +0 -1
  5. package/dist/components/authentication/SilentRenewCallbackHandler.d.ts +0 -1
  6. package/dist/components/authentication/authenticationType.d.ts +0 -1
  7. package/dist/components/authentication/utils/authService.d.ts +0 -1
  8. package/dist/components/authentication/utils/userManagerMock.d.ts +0 -1
  9. package/dist/components/cardErrorBoundary/CardErrorBoundary.d.ts +0 -1
  10. package/dist/components/checkBoxList/CheckBoxList.d.ts +0 -1
  11. package/dist/components/checkBoxList/CheckBoxListItem.d.ts +0 -1
  12. package/dist/components/checkBoxList/CheckBoxListItems.d.ts +0 -1
  13. package/dist/components/checkBoxList/ClickableCheckBoxItem.d.ts +0 -1
  14. package/dist/components/checkBoxList/ClickableRowItem.d.ts +0 -1
  15. package/dist/components/checkBoxList/DraggableCheckBoxListItem.d.ts +0 -1
  16. package/dist/components/checkBoxList/DraggableClickableCheckBoxItem.d.ts +0 -1
  17. package/dist/components/checkBoxList/DraggableClickableRowItem.d.ts +0 -1
  18. package/dist/components/checkBoxList/checkBoxList.type.d.ts +0 -1
  19. package/dist/components/contingencyList/criteriaBased/CriteriaBasedForm.d.ts +0 -1
  20. package/dist/components/contingencyList/criteriaBased/criteriaBasedUtils.d.ts +0 -1
  21. package/dist/components/customAGGrid/customAggrid.d.ts +0 -1
  22. package/dist/components/customAGGrid/customAggrid.style.d.ts +0 -1
  23. package/dist/components/dialogs/customMuiDialog/CustomMuiDialog.d.ts +0 -1
  24. package/dist/components/dialogs/elementCreationDialog/ElementCreationDialog.d.ts +0 -1
  25. package/dist/components/dialogs/modifyElementSelection/ModifyElementSelection.d.ts +0 -1
  26. package/dist/components/directoryItemSelector/DirectoryItemSelector.d.ts +0 -1
  27. package/dist/components/elementSearch/elementItem/EquipmentItem.d.ts +0 -1
  28. package/dist/components/elementSearch/elementSearchDialog/ElementSearchDialog.d.ts +0 -1
  29. package/dist/components/elementSearch/elementSearchInput/ElementSearchInput.d.ts +0 -1
  30. package/dist/components/elementSearch/tagRenderer/TagRenderer.d.ts +0 -1
  31. package/dist/components/expandableGroup/ExpandableGroup.d.ts +0 -1
  32. package/dist/components/filter/FilterCreationDialog.d.ts +0 -1
  33. package/dist/components/filter/FilterForm.d.ts +0 -1
  34. package/dist/components/filter/HeaderFilterForm.d.ts +0 -1
  35. package/dist/components/filter/constants/FilterConstants.d.ts +0 -1
  36. package/dist/components/filter/expert/ExpertFilterEditionDialog.d.ts +0 -1
  37. package/dist/components/filter/expert/ExpertFilterForm.d.ts +0 -1
  38. package/dist/components/filter/expert/expertFilter.type.d.ts +0 -1
  39. package/dist/components/filter/expert/expertFilterConstants.d.ts +0 -1
  40. package/dist/components/filter/expert/expertFilterUtils.d.ts +0 -1
  41. package/dist/components/filter/explicitNaming/ExplicitNamingFilterEditionDialog.d.ts +0 -1
  42. package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.d.ts +0 -1
  43. package/dist/components/filter/filter.type.d.ts +0 -1
  44. package/dist/components/filter/utils/filterApi.d.ts +0 -1
  45. package/dist/components/filter/utils/filterFormUtils.d.ts +0 -1
  46. package/dist/components/flatParameters/FlatParameters.d.ts +0 -1
  47. package/dist/components/inputs/SelectClearable.d.ts +0 -1
  48. package/dist/components/inputs/reactHookForm/DirectoryItemsInput.d.ts +0 -1
  49. package/dist/components/inputs/reactHookForm/agGridTable/BottomRightButtons.d.ts +0 -1
  50. package/dist/components/inputs/reactHookForm/agGridTable/CustomAgGridTable.d.ts +0 -1
  51. package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/numericEditor.d.ts +0 -1
  52. package/dist/components/inputs/reactHookForm/autocompleteInputs/AutocompleteInput.d.ts +0 -1
  53. package/dist/components/inputs/reactHookForm/booleans/BooleanInput.d.ts +0 -1
  54. package/dist/components/inputs/reactHookForm/booleans/CheckboxInput.d.ts +0 -1
  55. package/dist/components/inputs/reactHookForm/booleans/RadioInput.d.ts +0 -1
  56. package/dist/components/inputs/reactHookForm/booleans/SwitchInput.d.ts +0 -1
  57. package/dist/components/inputs/reactHookForm/errorManagement/ErrorInput.d.ts +0 -1
  58. package/dist/components/inputs/reactHookForm/errorManagement/FieldErrorAlert.d.ts +0 -1
  59. package/dist/components/inputs/reactHookForm/errorManagement/MidFormError.d.ts +0 -1
  60. package/dist/components/inputs/reactHookForm/numbers/FloatInput.d.ts +0 -1
  61. package/dist/components/inputs/reactHookForm/numbers/IntegerInput.d.ts +0 -1
  62. package/dist/components/inputs/reactHookForm/numbers/RangeInput.d.ts +0 -1
  63. package/dist/components/inputs/reactHookForm/numbers/SliderInput.d.ts +0 -1
  64. package/dist/components/inputs/reactHookForm/provider/CustomFormProvider.d.ts +0 -1
  65. package/dist/components/inputs/reactHookForm/provider/useCustomFormContext.d.ts +0 -1
  66. package/dist/components/inputs/reactHookForm/selectInputs/MuiSelectInput.d.ts +0 -1
  67. package/dist/components/inputs/reactHookForm/selectInputs/SelectInput.d.ts +0 -1
  68. package/dist/components/inputs/reactHookForm/text/DescriptionField.d.ts +0 -1
  69. package/dist/components/inputs/reactHookForm/text/ExpandingTextField.d.ts +0 -1
  70. package/dist/components/inputs/reactHookForm/text/TextInput.d.ts +0 -1
  71. package/dist/components/inputs/reactHookForm/text/UniqueNameInput.d.ts +0 -1
  72. package/dist/components/inputs/reactHookForm/utils/CancelButton.d.ts +0 -1
  73. package/dist/components/inputs/reactHookForm/utils/HelperPreviousValue.d.ts +0 -1
  74. package/dist/components/inputs/reactHookForm/utils/SubmitButton.d.ts +0 -1
  75. package/dist/components/inputs/reactHookForm/utils/TextFieldWithAdornment.d.ts +0 -1
  76. package/dist/components/inputs/reactHookForm/utils/functions.d.ts +0 -1
  77. package/dist/components/inputs/reactQueryBuilder/AddButton.d.ts +0 -1
  78. package/dist/components/inputs/reactQueryBuilder/AutocompleteWithFavorites.d.ts +0 -1
  79. package/dist/components/inputs/reactQueryBuilder/CombinatorSelector.d.ts +0 -1
  80. package/dist/components/inputs/reactQueryBuilder/CountryValueEditor.d.ts +0 -1
  81. package/dist/components/inputs/reactQueryBuilder/CustomReactQueryBuilder.d.ts +0 -1
  82. package/dist/components/inputs/reactQueryBuilder/ElementValueEditor.d.ts +0 -1
  83. package/dist/components/inputs/reactQueryBuilder/FieldSelector.d.ts +0 -1
  84. package/dist/components/inputs/reactQueryBuilder/OperatorSelector.d.ts +0 -1
  85. package/dist/components/inputs/reactQueryBuilder/PropertyValueEditor.d.ts +0 -1
  86. package/dist/components/inputs/reactQueryBuilder/RemoveButton.d.ts +0 -1
  87. package/dist/components/inputs/reactQueryBuilder/TextValueEditor.d.ts +0 -1
  88. package/dist/components/inputs/reactQueryBuilder/TranslatedValueEditor.d.ts +0 -1
  89. package/dist/components/inputs/reactQueryBuilder/ValueEditor.d.ts +0 -1
  90. package/dist/components/inputs/reactQueryBuilder/ValueSelector.d.ts +0 -1
  91. package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts +0 -1
  92. package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts +0 -1
  93. package/dist/components/inputs/reactQueryBuilder/hooks/useConvertValue.d.ts +0 -1
  94. package/dist/components/inputs/reactQueryBuilder/hooks/useValid.d.ts +0 -1
  95. package/dist/components/multipleSelectionDialog/MultipleSelectionDialog.d.ts +0 -1
  96. package/dist/components/notifications/NotificationsProvider.d.ts +0 -1
  97. package/dist/components/notifications/hooks/useListenerManager.d.ts +0 -1
  98. package/dist/components/overflowableText/OverflowableText.d.ts +0 -1
  99. package/dist/components/snackbarProvider/SnackbarProvider.d.ts +0 -1
  100. package/dist/components/topBar/AboutDialog.d.ts +0 -1
  101. package/dist/components/topBar/GridLogo.d.ts +0 -1
  102. package/dist/components/topBar/MessageBanner.d.ts +0 -1
  103. package/dist/components/topBar/TopBar.d.ts +0 -1
  104. package/dist/components/topBar/UserInformationDialog.d.ts +0 -1
  105. package/dist/components/treeViewFinder/TreeViewFinder.d.ts +0 -1
  106. package/dist/hooks/customStates/useStateBoolean.d.ts +0 -1
  107. package/dist/hooks/customStates/useStateNumber.d.ts +0 -1
  108. package/dist/hooks/useCustomFilterOptions.d.ts +0 -1
  109. package/dist/hooks/useModificationLabelComputer.d.ts +0 -1
  110. package/dist/hooks/usePredefinedProperties.d.ts +0 -1
  111. package/dist/hooks/useSnackMessage.d.ts +0 -1
  112. package/dist/redux/actions/authActions.d.ts +0 -1
  113. package/dist/redux/commonStore.d.ts +0 -1
  114. package/dist/services/appsMetadata.d.ts +0 -1
  115. package/dist/services/directory.d.ts +0 -1
  116. package/dist/services/explore.d.ts +0 -1
  117. package/dist/services/study.d.ts +0 -1
  118. package/dist/services/userAdmin.d.ts +0 -1
  119. package/dist/utils/conversionUtils.d.ts +0 -1
  120. package/dist/utils/mapper/equipmentTypesForPredefinedPropertiesMapper.d.ts +0 -1
  121. package/dist/utils/mapper/getFileIcon.d.ts +0 -1
  122. package/dist/utils/styles.d.ts +0 -1
  123. package/dist/utils/types/equipmentType.d.ts +0 -1
  124. package/dist/utils/types/metadata.d.ts +0 -1
  125. package/dist/utils/types/types.d.ts +0 -1
  126. package/package.json +10 -10
@@ -1,4 +1,3 @@
1
1
  import { SVGProps } from 'react';
2
-
3
2
  declare const SvgrMock: import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
4
3
  export default SvgrMock;
@@ -1,3 +1,2 @@
1
1
  import { AuthenticationRouterProps } from './authenticationType';
2
-
3
2
  export declare function AuthenticationRouter({ userManager, signInCallbackError, authenticationRouterError, showAuthenticationRouterLogin, dispatch, navigate, location, }: Readonly<AuthenticationRouterProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { AuthenticationRouterErrorState, AuthenticationRouterProps, UserManagerState } from './authenticationType';
2
-
3
2
  type AuthenticationRouterErrorDisplayProps = {
4
3
  errorState: AuthenticationRouterErrorState;
5
4
  instance: UserManagerState['instance'];
@@ -1,5 +1,4 @@
1
1
  import { UserManager } from 'oidc-client';
2
-
3
2
  export interface SignInCallbackHandlerProps {
4
3
  userManager: UserManager | null;
5
4
  handleSignInCallback: () => void;
@@ -1,5 +1,4 @@
1
1
  import { UserManager } from 'oidc-client';
2
-
3
2
  export interface SilentRenewCallbackHandlerProps {
4
3
  userManager: UserManager | null;
5
4
  handleSilentRenewCallback: () => void;
@@ -2,7 +2,6 @@ import { UserManager } from 'oidc-client';
2
2
  import { Dispatch } from 'react';
3
3
  import { Location, NavigateFunction } from 'react-router';
4
4
  import { AuthenticationActions } from '../../redux/actions/authActions';
5
-
6
5
  export type AuthenticationRouterErrorState = {
7
6
  userName?: string;
8
7
  userValidationError?: {
@@ -2,7 +2,6 @@ import { Dispatch } from 'react';
2
2
  import { Location, NavigateFunction } from 'react-router';
3
3
  import { Log, User, UserManager } from 'oidc-client';
4
4
  import { AuthenticationActions } from '../../../redux/actions/authActions';
5
-
6
5
  type UserValidationFunc = (user: User) => Promise<boolean>;
7
6
  type IdpSettingsGetter = () => Promise<IdpSettings>;
8
7
  export type IdpSettings = {
@@ -1,5 +1,4 @@
1
1
  import { MetadataService, OidcClientSettings, SigninRequest, SigninResponse, SignoutRequest, SignoutResponse, User, UserManager, UserManagerEvents, UserManagerSettings } from 'oidc-client';
2
-
3
2
  declare class Events implements UserManagerEvents {
4
3
  userLoadedCallbacks: UserManagerEvents.UserLoadedCallback[];
5
4
  load(): void;
@@ -1,6 +1,5 @@
1
1
  import { IconButtonProps } from '@mui/material';
2
2
  import { Component, ErrorInfo, PropsWithChildren } from 'react';
3
-
4
3
  export interface ExpandMoreProps extends IconButtonProps {
5
4
  expand: boolean;
6
5
  }
@@ -1,3 +1,2 @@
1
1
  import { CheckboxListProps } from './checkBoxList.type';
2
-
3
2
  export declare function CheckBoxList<T>({ isDndDragAndDropActive, onDragStart, onDragEnd, isDragDisable, sx, ...props }: CheckboxListProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { CheckBoxListItemProps } from './checkBoxList.type';
2
-
3
2
  export declare function CheckBoxListItem<T>({ item, sx, secondaryAction, getItemId, divider, onItemClick, isItemClickable, ...props }: Readonly<CheckBoxListItemProps<T>>): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { CheckBoxListItemsProps } from './checkBoxList.type';
2
-
3
2
  export declare function CheckBoxListItems<T>({ items, selectedItems, onSelectionChange, getItemId, sx, secondaryAction, addSelectAllCheckbox, selectAllCheckBoxLabel, getItemLabel, isDisabled, isDndDragAndDropActive, isDragDisable, divider, onItemClick, isItemClickable, ...props }: Readonly<CheckBoxListItemsProps<T>>): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { ClickableCheckBoxItemProps } from './checkBoxList.type';
2
-
3
2
  export declare function ClickableCheckBoxItem({ sx, label, ...props }: ClickableCheckBoxItemProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { ClickableRowItemProps } from './checkBoxList.type';
2
-
3
2
  export declare function ClickableRowItem({ sx, disabled, label, onClick, onItemClick, isItemClickable, ...props }: Readonly<ClickableRowItemProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { DraggableCheckBoxListItemProps } from './checkBoxList.type';
2
-
3
2
  export declare function DraggableCheckBoxListItem<T>({ item, sx, secondaryAction, getItemId, isDragDisable, provided, divider, onItemClick, isItemClickable, ...props }: Readonly<DraggableCheckBoxListItemProps<T>>): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { DraggableClickableCheckBoxItemProps } from './checkBoxList.type';
2
-
3
2
  export declare function DraggableClickableCheckBoxItem({ sx, disabled, provided, isHighlighted, label, ...props }: Readonly<DraggableClickableCheckBoxItemProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { DraggableClickableRowItemProps } from './checkBoxList.type';
2
-
3
2
  export declare function DraggableClickableRowItem({ sx, disabled, onClick, provided, isHighlighted, label, onItemClick, isItemClickable, ...props }: Readonly<DraggableClickableRowItemProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
2
  import { DraggableProvided, DragStart, DropResult } from 'react-beautiful-dnd';
3
3
  import { SxProps, Theme } from '@mui/material';
4
-
5
4
  export type CheckBoxListItemSx = {
6
5
  checkBoxIcon?: SxProps<Theme>;
7
6
  label?: SxProps<Theme>;
@@ -1,6 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { FormEquipment } from '../../filter/utils/filterFormUtils';
3
-
4
3
  export interface CriteriaBasedFormProps {
5
4
  equipments: Record<string, FormEquipment>;
6
5
  defaultValues: Record<string, any>;
@@ -2,7 +2,6 @@ import { ObjectSchema } from 'yup';
2
2
  import { FieldConstants } from '../../../utils/constants/fieldConstants';
3
3
  import { default as yup } from '../../../utils/yupConfig';
4
4
  import { RangeInputData } from '../../inputs/reactHookForm/numbers/RangeInput';
5
-
6
5
  export type CriteriaBasedData = {
7
6
  [FieldConstants.COUNTRIES]?: string[];
8
7
  [FieldConstants.COUNTRIES_1]?: string[];
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { AgGridReact, AgGridReactProps } from 'ag-grid-react';
3
-
4
3
  interface CustomAGGGridStyleProps {
5
4
  shouldHidePinnedHeaderRightBorder?: boolean;
6
5
  showOverlay?: boolean;
@@ -1,6 +1,5 @@
1
1
  import { Theme } from '@mui/material';
2
2
  import { SystemStyleObject } from '@mui/system';
3
-
4
3
  export declare const CUSTOM_AGGRID_THEME = "custom-aggrid-theme";
5
4
  export declare const styles: {
6
5
  grid: (theme: Theme) => SystemStyleObject<Theme>;
@@ -1,7 +1,6 @@
1
1
  import { MouseEvent, ReactNode } from 'react';
2
2
  import { FieldErrors, FieldValues, SubmitHandler, UseFormReturn } from 'react-hook-form';
3
3
  import { ObjectSchema } from 'yup';
4
-
5
4
  export interface CustomMuiDialogProps<T extends FieldValues = FieldValues> {
6
5
  open: boolean;
7
6
  formSchema: ObjectSchema<T>;
@@ -1,6 +1,5 @@
1
1
  import { UUID } from 'crypto';
2
2
  import { ElementAttributes, ElementType, FieldConstants } from '../../../utils';
3
-
4
3
  interface FormData {
5
4
  [FieldConstants.NAME]: string;
6
5
  [FieldConstants.DESCRIPTION]: string;
@@ -1,6 +1,5 @@
1
1
  import { UUID } from 'crypto';
2
2
  import { ElementType } from '../../../utils/types/elementType';
3
-
4
3
  export interface ModifyElementSelectionProps {
5
4
  elementType: ElementType;
6
5
  dialogOpeningButtonLabel: string;
@@ -1,7 +1,6 @@
1
1
  import { UUID } from 'crypto';
2
2
  import { TreeViewFinderProps } from '../treeViewFinder/TreeViewFinder';
3
3
  import { ElementAttributes } from '../../utils';
4
-
5
4
  export interface DirectoryItemSelectorProps extends TreeViewFinderProps {
6
5
  types: string[];
7
6
  equipmentTypes?: string[];
@@ -1,7 +1,6 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
2
  import { EquipmentInfos } from '../../../utils/types/equipmentType';
3
3
  import { TagRenderer } from '../tagRenderer/TagRenderer';
4
-
5
4
  export interface EquipmentItemProps {
6
5
  inputValue: string;
7
6
  suffixRenderer?: typeof TagRenderer;
@@ -1,5 +1,4 @@
1
1
  import { ElementSearchInputProps } from '../elementSearchInput/ElementSearchInput';
2
-
3
2
  export interface ElementSearchDialogProps<T> extends ElementSearchInputProps<T> {
4
3
  onClose?: () => void;
5
4
  open: boolean;
@@ -1,6 +1,5 @@
1
1
  import { AutocompleteProps, AutocompleteRenderInputParams } from '@mui/material';
2
2
  import { HTMLAttributes, ReactNode } from 'react';
3
-
4
3
  export type RenderElementProps<T> = HTMLAttributes<HTMLLIElement> & {
5
4
  element: T;
6
5
  inputValue: string;
@@ -1,6 +1,5 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
2
  import { EquipmentInfos } from '../../../utils/types/equipmentType';
3
-
4
3
  export interface TagRendererProps {
5
4
  element: EquipmentInfos;
6
5
  classes?: {
@@ -1,5 +1,4 @@
1
1
  import { PropsWithChildren, ReactNode } from 'react';
2
-
3
2
  export interface ExpandableGroupProps extends PropsWithChildren {
4
3
  renderHeader: ReactNode;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { UUID } from 'crypto';
2
-
3
2
  export interface FilterCreationDialogProps {
4
3
  open: boolean;
5
4
  onClose: () => void;
@@ -1,3 +1,2 @@
1
1
  import { FilterFormProps } from './HeaderFilterForm';
2
-
3
2
  export declare function FilterForm({ sourceFilterForExplicitNamingConversion, creation, activeDirectory, }: Readonly<FilterFormProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { UUID } from 'crypto';
2
2
  import { default as yup } from '../../utils/yupConfig';
3
-
4
3
  export declare const filterStyles: {
5
4
  textField: {
6
5
  minWidth: string;
@@ -1,5 +1,4 @@
1
1
  import { ItemSelectionForCopy } from '../filter.type';
2
-
3
2
  export declare const DISTRIBUTION_KEY = "distributionKey";
4
3
  export declare const FilterType: {
5
4
  EXPERT: {
@@ -1,3 +1,2 @@
1
1
  import { FilterEditionProps } from '../filter.type';
2
-
3
2
  export declare function ExpertFilterEditionDialog({ id, name, titleId, open, onClose, broadcastChannel, itemSelectionForCopy, getFilterById, setItemSelectionForCopy, activeDirectory, language, description, }: Readonly<FilterEditionProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { FieldType } from '../../../utils/types/fieldType';
2
-
3
2
  import * as yup from 'yup';
4
3
  export declare const rqbQuerySchemaValidator: (schema: yup.Schema) => yup.Schema<any, any, any, "">;
5
4
  export declare const expertFilterSchema: {
@@ -1,7 +1,6 @@
1
1
  import { FullField } from 'react-querybuilder';
2
2
  import { UUID } from 'crypto';
3
3
  import { FieldType } from '../../../utils/types/fieldType';
4
-
5
4
  export declare enum OperatorType {
6
5
  EQUALS = "EQUALS",
7
6
  NOT_EQUALS = "NOT_EQUALS",
@@ -1,7 +1,6 @@
1
1
  import { Field } from 'react-querybuilder';
2
2
  import { CombinatorType, DataType, OperatorType } from './expertFilter.type';
3
3
  import { FieldType } from '../../../utils/types/fieldType';
4
-
5
4
  export declare enum RULES {
6
5
  EMPTY_RULE = "emptyRule",
7
6
  EMPTY_GROUP = "emptyGroup",
@@ -1,7 +1,6 @@
1
1
  import { QueryValidator, RuleGroupType, RuleGroupTypeAny } from 'react-querybuilder';
2
2
  import { IntlShape } from 'react-intl';
3
3
  import { RuleGroupTypeExport } from './expertFilter.type';
4
-
5
4
  export declare const getOperators: (fieldName: string, intl: IntlShape) => {
6
5
  name: string;
7
6
  label: string;
@@ -1,3 +1,2 @@
1
1
  import { FilterEditionProps } from '../filter.type';
2
-
3
2
  export declare function ExplicitNamingFilterEditionDialog({ id, name, titleId, open, onClose, broadcastChannel, itemSelectionForCopy, setItemSelectionForCopy, getFilterById, activeDirectory, language, description, }: Readonly<FilterEditionProps>): import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,6 @@ import { UUID } from 'crypto';
2
2
  import { FieldConstants } from '../../../utils/constants/fieldConstants';
3
3
  import { default as yup } from '../../../utils/yupConfig';
4
4
  import { DISTRIBUTION_KEY } from '../constants/FilterConstants';
5
-
6
5
  export declare const explicitNamingFilterSchema: {
7
6
  filterEquipmentsAttributes: yup.ArraySchema<{
8
7
  equipmentID?: string | null | undefined;
@@ -3,7 +3,6 @@ import { FieldConstants } from '../../utils';
3
3
  import { RuleGroupTypeExport } from './expert/expertFilter.type';
4
4
  import { EXPERT_FILTER_QUERY } from './expert/expertFilterConstants';
5
5
  import { FILTER_EQUIPMENTS_ATTRIBUTES } from './explicitNaming/ExplicitNamingFilterConstants';
6
-
7
6
  /**
8
7
  * Represent an item/object in directories.
9
8
  */
@@ -1,4 +1,3 @@
1
1
  import { UUID } from 'crypto';
2
-
3
2
  export declare const saveExplicitNamingFilter: (tableValues: any[], isFilterCreation: boolean, equipmentType: string, name: string, description: string, id: string | null, setCreateFilterErr: (value?: string) => void, handleClose: () => void, activeDirectory?: UUID, token?: string) => void;
4
3
  export declare const saveExpertFilter: (id: string | null, query: any, equipmentType: string, name: string, description: string, isFilterCreation: boolean, activeDirectory: UUID | undefined | null, onClose: () => void, onError: (message: string) => void, token?: string) => void;
@@ -1,6 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import { EquipmentType } from '../../../utils/types/equipmentType';
3
-
4
3
  export type FormField = {
5
4
  renderer: FunctionComponent<any>;
6
5
  props: {
@@ -1,5 +1,4 @@
1
1
  import { TextFieldProps } from '@mui/material';
2
-
3
2
  export declare function extractDefault(paramDescription: Parameter): any;
4
3
  export type Parameter = {
5
4
  type: 'BOOLEAN' | 'DOUBLE' | 'INTEGER' | 'STRING_LIST' | 'STRING';
@@ -1,5 +1,4 @@
1
1
  import { AutocompleteProps } from '@mui/material/Autocomplete/Autocomplete';
2
-
3
2
  type SelectOption = {
4
3
  id: string;
5
4
  label?: string;
@@ -1,5 +1,4 @@
1
1
  import { ElementAttributes } from '../../../utils';
2
-
3
2
  export declare const NAME = "name";
4
3
  export interface DirectoryItemsInputProps {
5
4
  label: string | undefined;
@@ -1,5 +1,4 @@
1
1
  import { FieldValues, UseFieldArrayReturn } from 'react-hook-form';
2
-
3
2
  export interface BottomRightButtonsProps {
4
3
  name: string;
5
4
  disableUp: boolean;
@@ -1,5 +1,4 @@
1
1
  import { AgGridReactProps } from 'ag-grid-react';
2
-
3
2
  export interface CustomAgGridTableProps {
4
3
  name: string;
5
4
  columnDefs: any;
@@ -1,5 +1,4 @@
1
1
  import { ICellEditorComp, ICellEditorParams } from 'ag-grid-community';
2
-
3
2
  /**
4
3
  * This is a modified version of the cell editor proposed by AGGrid itself :
5
4
  * https://www.ag-grid.com/javascript-data-grid/component-cell-editor/#cell-editor-example
@@ -1,6 +1,5 @@
1
1
  import { AutocompleteProps, TextFieldProps } from '@mui/material';
2
2
  import { Option } from '../../../../utils/types/types';
3
-
4
3
  export interface AutocompleteInputProps extends Omit<AutocompleteProps<Option, boolean | undefined, boolean | undefined, boolean | undefined>, 'value' | 'onChange' | 'renderInput'> {
5
4
  name: string;
6
5
  options: Option[];
@@ -1,5 +1,4 @@
1
1
  import { Checkbox, CheckboxProps, Switch, SwitchProps } from '@mui/material';
2
-
3
2
  export interface BooleanInputProps {
4
3
  name: string;
5
4
  label?: string;
@@ -1,5 +1,4 @@
1
1
  import { CheckboxProps } from '@mui/material';
2
-
3
2
  export interface CheckboxInputProps {
4
3
  name: string;
5
4
  label?: string;
@@ -1,5 +1,4 @@
1
1
  import { RadioGroupProps } from '@mui/material';
2
-
3
2
  type RadioOptions = Array<{
4
3
  id: string;
5
4
  label: string;
@@ -1,5 +1,4 @@
1
1
  import { SwitchProps } from '@mui/material';
2
-
3
2
  export interface SwitchInputProps {
4
3
  name: string;
5
4
  label?: string;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export type ErrorMessage = {
4
3
  id: string;
5
4
  value: string;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export interface FieldErrorAlertProps {
4
3
  message: string | React.ReactNode;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export type MidFormErrorProps = {
4
3
  message: string | ReactNode;
5
4
  };
@@ -1,4 +1,3 @@
1
1
  import { TextInputProps } from '../text/TextInput';
2
-
3
2
  export type FloatInputProps = Omit<TextInputProps, 'outputTransform' | 'inputTransform' | 'acceptValue'>;
4
3
  export declare function FloatInput(props: FloatInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { TextInputProps } from '../text/TextInput';
2
-
3
2
  export declare function IntegerInput(props: TextInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { ObjectSchema } from 'yup';
2
2
  import { FieldConstants } from '../../../../utils/constants/fieldConstants';
3
-
4
3
  export declare const RangeType: {
5
4
  readonly EQUALITY: {
6
5
  readonly id: "EQUALITY";
@@ -1,5 +1,4 @@
1
1
  import { SliderProps } from '@mui/material';
2
-
3
2
  export interface SliderInputProps extends SliderProps {
4
3
  name: string;
5
4
  onValueChanged?: (value: number | number[]) => void;
@@ -1,7 +1,6 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { FieldValues, UseFormReturn } from 'react-hook-form';
3
3
  import { ObjectSchema } from 'yup';
4
-
5
4
  type CustomFormContextProps<TFieldValues extends FieldValues = FieldValues> = {
6
5
  removeOptional?: boolean;
7
6
  validationSchema: ObjectSchema<TFieldValues>;
@@ -1,3 +1,2 @@
1
1
  import { MergedFormContextProps } from './CustomFormProvider';
2
-
3
2
  export declare const useCustomFormContext: () => MergedFormContextProps;
@@ -1,5 +1,4 @@
1
1
  import { SelectProps } from '@mui/material';
2
-
3
2
  export type MuiSelectInputProps = SelectProps & {
4
3
  name: string;
5
4
  options: {
@@ -1,6 +1,5 @@
1
1
  import { AutocompleteInputProps } from '../autocompleteInputs/AutocompleteInput';
2
2
  import { Option } from '../../../../utils/types/types';
3
-
4
3
  export interface SelectInputProps extends Omit<AutocompleteInputProps, 'outputTransform' | 'inputTransform' | 'readOnly' | 'getOptionLabel'> {
5
4
  options: Option[];
6
5
  }
@@ -1,5 +1,4 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
-
3
2
  export interface DescriptionFieldProps {
4
3
  expandingTextSx?: SxProps<Theme>;
5
4
  }
@@ -1,6 +1,5 @@
1
1
  import { TextFieldProps } from '@mui/material';
2
2
  import { TextInputProps } from './TextInput';
3
-
4
3
  export interface ExpandingTextFieldProps extends TextInputProps {
5
4
  name: string;
6
5
  maxCharactersNumber?: number;
@@ -2,7 +2,6 @@ import { ReactElement } from 'react';
2
2
  import { TextFieldProps } from '@mui/material';
3
3
  import { TextFieldWithAdornmentProps } from '../utils/TextFieldWithAdornment';
4
4
  import { Input } from '../../../../utils/types/types';
5
-
6
5
  export interface TextInputProps {
7
6
  name: string;
8
7
  label?: string;
@@ -1,7 +1,6 @@
1
1
  import { SxProps, TextFieldProps, Theme } from '@mui/material';
2
2
  import { UUID } from 'crypto';
3
3
  import { ElementType } from '../../../../utils';
4
-
5
4
  export interface UniqueNameInputProps {
6
5
  name: string;
7
6
  label?: string;
@@ -1,3 +1,2 @@
1
1
  import { ButtonProps } from '@mui/material';
2
-
3
2
  export declare function CancelButton(inProps: Readonly<Omit<ButtonProps, 'children'>>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { Input } from '../../../../utils';
2
-
3
2
  export interface HelperPreviousValueProps {
4
3
  previousValue?: Input;
5
4
  isNodeBuilt?: boolean;
@@ -1,3 +1,2 @@
1
1
  import { ButtonProps } from '@mui/material';
2
-
3
2
  export declare function SubmitButton(buttonProps: Readonly<ButtonProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { TextFieldProps } from '@mui/material';
2
2
  import { Input } from '../../../../utils/types/types';
3
-
4
3
  export type TextFieldWithAdornmentProps = TextFieldProps & {
5
4
  value: Input;
6
5
  adornmentPosition?: string;
@@ -1,5 +1,4 @@
1
1
  import { ReactElement } from 'react';
2
-
3
2
  export declare function genHelperError(...errors: any[]): {
4
3
  error: boolean;
5
4
  helperText: import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ActionWithRulesAndAddersProps } from 'react-querybuilder';
2
-
3
2
  interface ActionWithRulesAndAddersWithLabelProps extends ActionWithRulesAndAddersProps {
4
3
  label: string;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { AutocompleteProps } from '@mui/material/Autocomplete/Autocomplete';
2
-
3
2
  interface AutocompleteWithFavoritesProps<Value> extends Omit<AutocompleteProps<Value, boolean, false, boolean>, 'multiple' | 'renderInput' | 'renderGroup' | 'groupBy'> {
4
3
  favorites: Value[];
5
4
  valid: boolean;
@@ -1,3 +1,2 @@
1
1
  import { CombinatorSelectorProps } from 'react-querybuilder';
2
-
3
2
  export declare function CombinatorSelector(props: CombinatorSelectorProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { ValueEditorProps } from 'react-querybuilder';
2
-
3
2
  export declare function CountryValueEditor(props: ValueEditorProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { Field } from 'react-querybuilder';
2
-
3
2
  export interface CustomReactQueryBuilderProps {
4
3
  name: string;
5
4
  fields: Field[];
@@ -1,5 +1,4 @@
1
1
  import { ElementAttributes } from '../../../utils';
2
-
3
2
  interface ElementValueEditorProps {
4
3
  name: string;
5
4
  elementType: string;
@@ -1,3 +1,2 @@
1
1
  import { ValueSelectorProps } from 'react-querybuilder';
2
-
3
2
  export declare function FieldSelector(props: Readonly<ValueSelectorProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { ValueSelectorProps } from 'react-querybuilder';
2
-
3
2
  export declare function OperatorSelector(props: Readonly<ValueSelectorProps>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,6 +1,5 @@
1
1
  import { ValueEditorProps } from 'react-querybuilder';
2
2
  import { EquipmentType } from '../../../utils';
3
-
4
3
  interface ExpertFilterPropertyProps {
5
4
  equipmentType: EquipmentType;
6
5
  valueEditorProps: ValueEditorProps;
@@ -1,3 +1,2 @@
1
1
  import { ActionWithRulesProps } from 'react-querybuilder';
2
-
3
2
  export declare function RemoveButton(props: ActionWithRulesProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { ValueEditorProps } from 'react-querybuilder';
2
-
3
2
  export declare function TextValueEditor(props: ValueEditorProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { ValueEditorProps } from 'react-querybuilder';
2
-
3
2
  export declare function TranslatedValueEditor(props: ValueEditorProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { ValueEditorProps } from 'react-querybuilder';
2
-
3
2
  export declare function ValueEditor(props: ValueEditorProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,2 @@
1
1
  import { ValueSelectorProps } from 'react-querybuilder';
2
-
3
2
  export declare function ValueSelector(props: ValueSelectorProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
1
  import { ValueEditorProps } from 'react-querybuilder';
2
2
  import { CompositeField } from '../../../filter/expert/expertFilter.type';
3
-
4
3
  export declare function GroupValueEditor(props: ValueEditorProps<CompositeField>): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { ValueEditorProps } from 'react-querybuilder';
2
2
  import { CompositeRule } from '../../../filter/expert/expertFilter.type';
3
-
4
3
  type RuleValueEditorProps = ValueEditorProps & {
5
4
  rule?: CompositeRule;
6
5
  handleOnChangeRule: (rule: CompositeRule) => void;
@@ -1,5 +1,4 @@
1
1
  import { ValueEditorProps } from 'react-querybuilder';
2
-
3
2
  /**
4
3
  * Hook that convert a value of RQB from any to any[] and vice versa when the operator changes
5
4
  * PS : can be extended to manage more than the IN operator
@@ -1,5 +1,4 @@
1
1
  import { ValueEditorProps } from 'react-querybuilder';
2
-
3
2
  /**
4
3
  * Hook that return if a field of RQB is valid or not
5
4
  */
@@ -1,5 +1,4 @@
1
1
  import { CheckboxListProps } from '../checkBoxList';
2
-
3
2
  export interface MultipleSelectionDialogProps<T> extends CheckboxListProps<T> {
4
3
  open: boolean;
5
4
  handleClose: () => void;
@@ -1,5 +1,4 @@
1
1
  import { PropsWithChildren } from 'react';
2
-
3
2
  export type NotificationsProviderProps = {
4
3
  urls: Record<string, string | undefined>;
5
4
  };
@@ -1,5 +1,4 @@
1
1
  import { ListenerEventWS, ListenerOnReopen } from '../contexts/NotificationsContext';
2
-
3
2
  export declare const useListenerManager: <TListener extends ListenerEventWS | ListenerOnReopen, TMessage extends MessageEvent>(urls: Record<string, string | undefined>) => {
4
3
  addListener: (urlKey: string, listener: TListener) => void;
5
4
  removeListener: (urlKey: string, id: string) => void;
@@ -1,7 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { BoxProps, SxProps, Theme } from '@mui/material';
3
3
  import { Style } from 'node:util';
4
-
5
4
  export interface OverflowableTextProps extends BoxProps {
6
5
  text?: ReactNode;
7
6
  maxLineCount?: number;
@@ -1,3 +1,2 @@
1
1
  import { SnackbarProviderProps } from 'notistack';
2
-
3
2
  export declare function SnackbarProvider(props: SnackbarProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  declare const moduleTypeSort: {
4
3
  app: number;
5
4
  server: number;
@@ -1,6 +1,5 @@
1
1
  import { SxProps } from '@mui/material';
2
2
  import { ReactNode } from 'react';
3
-
4
3
  export interface GridLogoProps extends Omit<LogoTextProps, 'style'> {
5
4
  appLogo: ReactNode;
6
5
  }
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export interface MessageBannerProps {
4
3
  children: ReactNode;
5
4
  }
@@ -5,7 +5,6 @@ import { AboutDialogProps } from './AboutDialog';
5
5
  import { LogoutProps } from '../authentication/Logout';
6
6
  import { Metadata } from '../../utils';
7
7
  import { DARK_THEME, LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM, LIGHT_THEME } from '../../utils/constants/browserConstants';
8
-
9
8
  export type GsLangUser = typeof LANG_ENGLISH | typeof LANG_FRENCH;
10
9
  export type GsLang = GsLangUser | typeof LANG_SYSTEM;
11
10
  export type GsTheme = typeof LIGHT_THEME | typeof DARK_THEME;
@@ -1,5 +1,4 @@
1
1
  import { User } from 'oidc-client';
2
-
3
2
  interface UserInformationDialogProps {
4
3
  openDialog: boolean;
5
4
  onClose: () => void;
@@ -1,7 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { ButtonProps, ModalProps } from '@mui/material';
3
3
  import { TreeViewClasses } from '@mui/x-tree-view';
4
-
5
4
  export declare const generateTreeViewFinderClass: (className: string) => string;
6
5
  export interface TreeViewFinderNodeProps {
7
6
  id: string;
@@ -1,5 +1,4 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
-
3
2
  export type UseStateBooleanReturn = {
4
3
  value: boolean;
5
4
  setTrue: () => void;
@@ -1,5 +1,4 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
-
3
2
  export type UseStateNumberReturn = {
4
3
  value: number;
5
4
  setValue: Dispatch<SetStateAction<number>>;
@@ -1,5 +1,4 @@
1
1
  import { FilterOptionsState } from '@mui/material';
2
-
3
2
  /**
4
3
  * Hook used to add custom filterOptions, use only when freeSolo = true
5
4
  */
@@ -1,5 +1,4 @@
1
1
  import { UUID } from 'crypto';
2
-
3
2
  export interface NetworkModificationMetadata {
4
3
  uuid: UUID;
5
4
  type: string;
@@ -1,5 +1,4 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
2
  import { PredefinedProperties } from '../utils/types/types';
3
3
  import { EquipmentType } from '../utils';
4
-
5
4
  export declare const usePredefinedProperties: (initialType: EquipmentType | null) => [PredefinedProperties, Dispatch<SetStateAction<EquipmentType | null>>];
@@ -1,5 +1,4 @@
1
1
  import { OptionsObject, closeSnackbar as closeSnackbarFromNotistack } from 'notistack';
2
-
3
2
  interface SnackInputs extends Omit<OptionsObject, 'variant' | 'style'> {
4
3
  messageTxt?: string;
5
4
  messageId?: string;
@@ -1,5 +1,4 @@
1
1
  import { User } from 'oidc-client';
2
-
3
2
  export interface Action<T> {
4
3
  type: T;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { User } from 'oidc-client';
2
-
3
2
  export type CommonStoreState = {
4
3
  user: User | null;
5
4
  };
@@ -1,5 +1,4 @@
1
1
  import { Metadata, StudyMetadata } from '../utils';
2
-
3
2
  export type UrlString = `${string}://${string}` | `/${string}` | `./${string}`;
4
3
  export type Url = UrlString | URL;
5
4
  export type Env = {
@@ -1,6 +1,5 @@
1
1
  import { UUID } from 'crypto';
2
2
  import { ElementAttributes } from '../utils';
3
-
4
3
  export declare function fetchRootFolders(types: string[]): Promise<ElementAttributes[]>;
5
4
  export declare function fetchDirectoryContent(directoryUuid: UUID, types?: string[]): Promise<ElementAttributes[]>;
6
5
  export declare function fetchDirectoryElementPath(elementUuid: UUID): Promise<ElementAttributes[]>;
@@ -1,7 +1,6 @@
1
1
  import { UUID } from 'crypto';
2
2
  import { ElementAttributes } from '../utils/types/types';
3
3
  import { NewFilterType } from '../components/filter/filter.type';
4
-
5
4
  export declare function createFilter(newFilter: NewFilterType, name: string, description: string, parentDirectoryUuid: UUID | undefined | null, token?: string): Promise<Response>;
6
5
  export declare function saveFilter(filter: NewFilterType, name: string, description: string, token?: string): Promise<Response>;
7
6
  export declare function fetchElementsInfos(ids: UUID[], elementTypes?: string[], equipmentTypes?: string[]): Promise<ElementAttributes[]>;
@@ -1,3 +1,2 @@
1
1
  import { UUID } from 'crypto';
2
-
3
2
  export declare function exportFilter(studyUuid: UUID, filterUuid?: UUID, token?: string): Promise<any>;
@@ -1,4 +1,3 @@
1
1
  import { UserDetail } from '../utils/types/types';
2
-
3
2
  declare function fetchUserDetails(user: string): Promise<UserDetail>;
4
3
  export default fetchUserDetails;
@@ -1,5 +1,4 @@
1
1
  import { FieldType } from './types/fieldType';
2
-
3
2
  export declare const GRIDSUITE_DEFAULT_PRECISION: number;
4
3
  export declare const roundToPrecision: (num: number, precision: number) => number;
5
4
  export declare const roundToDefaultPrecision: (num: number) => number;
@@ -1,3 +1,2 @@
1
1
  import { EquipmentType } from '../types';
2
-
3
2
  export declare const equipmentTypesForPredefinedPropertiesMapper: (type: EquipmentType) => string | undefined;
@@ -1,4 +1,3 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
2
  import { ElementType } from '../types/elementType';
3
-
4
3
  export declare function getFileIcon(type: ElementType, style: SxProps<Theme>): import("react/jsx-runtime").JSX.Element | undefined;
@@ -1,5 +1,4 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
-
3
2
  export declare const makeComposeClasses: (generateGlobalClass: (className: string) => string) => (classes: Record<string, string>, ruleName: string) => string;
4
3
  export declare const toNestedGlobalSelectors: (styles: object, generateGlobalClass: (className: string) => string) => {
5
4
  [k: string]: any;
@@ -1,5 +1,4 @@
1
1
  import { Theme } from '@mui/material';
2
-
3
2
  export declare const TYPE_TAG_MAX_SIZE = "90px";
4
3
  export declare const VL_TAG_MAX_SIZE = "100px";
5
4
  export declare const equipmentStyles: {
@@ -1,5 +1,4 @@
1
1
  import { PredefinedProperties } from './types';
2
-
3
2
  type MetaDataRessources = {
4
3
  types: string[];
5
4
  path: string;
@@ -1,6 +1,5 @@
1
1
  import { UUID } from 'crypto';
2
2
  import { ElementType } from './elementType';
3
-
4
3
  export type Input = string | number;
5
4
  export type ElementAttributes = {
6
5
  elementUuid: UUID;
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.89.1",
3
+ "version": "0.89.2",
4
4
  "description": "common react components for gridsuite applications",
5
+ "author": "gridsuite team",
6
+ "homepage": "https://github.com/gridsuite",
7
+ "license": "MPL-2.0",
8
+ "repository": "git://github.com/gridsuite/commons-ui.git",
5
9
  "engines": {
6
10
  "node": ">=22",
7
11
  "npm": "^10.9.2"
@@ -59,7 +63,7 @@
59
63
  "react": "^18.3.1",
60
64
  "react-dom": "^18.3.1",
61
65
  "react-hook-form": "^7.54.2",
62
- "react-intl": "^6.8.9",
66
+ "react-intl": "^7.1.6",
63
67
  "react-papaparse": "^4.4.0",
64
68
  "react-router": "^6.29.0",
65
69
  "yup": "^1.6.1"
@@ -122,22 +126,18 @@
122
126
  "react": "^18.3.1",
123
127
  "react-dom": "^18.3.1",
124
128
  "react-hook-form": "^7.54.2",
125
- "react-intl": "^6.8.9",
129
+ "react-intl": "^7.1.6",
126
130
  "react-papaparse": "^4.4.0",
127
131
  "react-resizable": "^3.0.5",
128
132
  "react-router": "^6.29.0",
129
133
  "react-router-dom": "^6.29.0",
130
134
  "ts-node": "^10.9.2",
131
135
  "typescript": "~5.5.4",
132
- "vite": "^5.4.14",
133
- "vite-plugin-dts": "^3.9.1",
136
+ "vite": "^6.2.1",
137
+ "vite-plugin-dts": "^4.5.3",
134
138
  "vite-plugin-eslint": "^1.8.1",
135
139
  "vite-plugin-lib-inject-css": "^2.2.1",
136
140
  "vite-plugin-svgr": "^4.3.0",
137
141
  "yup": "^1.6.1"
138
- },
139
- "author": "gridsuite team",
140
- "homepage": "https://github.com/gridsuite",
141
- "license": "MPL-2.0",
142
- "repository": "git://github.com/gridsuite/commons-ui.git"
142
+ }
143
143
  }