@gridsuite/commons-ui 0.47.0 → 0.48.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.
Files changed (105) hide show
  1. package/dist/components/AuthenticationRouter/AuthenticationRouter.d.ts +10 -0
  2. package/dist/components/AuthenticationRouter/index.d.ts +1 -0
  3. package/dist/components/CardErrorBoundary/card-error-boundary.d.ts +18 -0
  4. package/dist/components/CardErrorBoundary/index.d.ts +1 -0
  5. package/dist/components/DirectoryItemSelector/directory-item-selector.d.ts +22 -0
  6. package/dist/components/DirectoryItemSelector/directory-item-selector.js +254 -0
  7. package/dist/components/ElementSearchDialog/element-search-dialog.d.ts +16 -0
  8. package/dist/components/ElementSearchDialog/equipment-item.d.ts +16 -0
  9. package/dist/components/ElementSearchDialog/index.d.ts +2 -0
  10. package/dist/components/ElementSearchDialog/tag-renderer.d.ts +11 -0
  11. package/dist/components/FlatParameters/FlatParameters.d.ts +10 -0
  12. package/dist/components/FlatParameters/index.d.ts +1 -0
  13. package/dist/components/Login/Login.d.ts +5 -0
  14. package/dist/components/Login/Logout.d.ts +5 -0
  15. package/dist/components/Login/index.d.ts +1 -0
  16. package/dist/components/MuiVirtualizedTable/ColumnHeader.d.ts +4 -0
  17. package/dist/components/MuiVirtualizedTable/KeyedColumnsRowIndexer.d.ts +104 -0
  18. package/dist/components/MuiVirtualizedTable/MuiVirtualizedTable.d.ts +131 -0
  19. package/dist/components/MuiVirtualizedTable/index.d.ts +2 -0
  20. package/dist/components/MultipleSelectionDialog/MultipleSelectionDialog.d.ts +10 -0
  21. package/dist/components/MultipleSelectionDialog/index.d.ts +1 -0
  22. package/dist/components/OverflowableText/index.d.ts +1 -0
  23. package/dist/components/OverflowableText/overflowable-text.d.ts +2 -0
  24. package/dist/components/ReportViewer/filter-button.d.ts +1 -0
  25. package/dist/components/ReportViewer/index.d.ts +1 -0
  26. package/dist/components/ReportViewer/log-report-item.d.ts +68 -0
  27. package/dist/components/ReportViewer/log-report.d.ts +21 -0
  28. package/dist/components/ReportViewer/log-table.d.ts +8 -0
  29. package/dist/components/ReportViewer/multi-select-list.d.ts +1 -0
  30. package/dist/components/ReportViewer/report-item.d.ts +13 -0
  31. package/dist/components/ReportViewer/report-tree-view-context.d.ts +2 -0
  32. package/dist/components/ReportViewer/report-viewer.d.ts +4 -0
  33. package/dist/components/ReportViewerDialog/index.d.ts +1 -0
  34. package/dist/components/ReportViewerDialog/report-viewer-dialog.d.ts +1 -0
  35. package/dist/components/SignInCallbackHandler/SignInCallbackHandler.d.ts +5 -0
  36. package/dist/components/SignInCallbackHandler/index.d.ts +1 -0
  37. package/dist/components/SilentRenewCallbackHandler/SilentRenewCallbackHandler.d.ts +5 -0
  38. package/dist/components/SilentRenewCallbackHandler/index.d.ts +1 -0
  39. package/dist/components/SnackbarProvider/SnackbarProvider.d.ts +3 -0
  40. package/dist/components/SnackbarProvider/index.d.ts +1 -0
  41. package/dist/components/TopBar/AboutDialog.d.ts +24 -0
  42. package/dist/components/TopBar/GridLogo.d.ts +34 -0
  43. package/dist/components/TopBar/TopBar.d.ts +53 -0
  44. package/dist/components/TopBar/index.d.ts +3 -0
  45. package/dist/components/TreeViewFinder/TreeViewFinder.d.ts +57 -0
  46. package/dist/components/TreeViewFinder/index.d.ts +1 -0
  47. package/dist/components/react-hook-form/autocomplete-input.d.ts +30 -0
  48. package/dist/components/react-hook-form/booleans/boolean-input.d.ts +16 -0
  49. package/dist/components/react-hook-form/booleans/checkbox-input.d.ts +14 -0
  50. package/dist/components/react-hook-form/booleans/switch-input.d.ts +14 -0
  51. package/dist/components/react-hook-form/directory-items-input.d.ts +28 -0
  52. package/dist/components/react-hook-form/directory-items-input.js +185 -0
  53. package/dist/components/react-hook-form/error-management/error-input.d.ts +5 -0
  54. package/dist/components/react-hook-form/error-management/field-error-alert.d.ts +4 -0
  55. package/dist/components/react-hook-form/error-management/mid-form-error.d.ts +4 -0
  56. package/dist/components/react-hook-form/numbers/float-input.d.ts +18 -0
  57. package/dist/components/react-hook-form/numbers/integer-input.d.ts +18 -0
  58. package/dist/components/react-hook-form/numbers/utils.d.ts +2 -0
  59. package/dist/components/react-hook-form/radio-input.d.ts +18 -0
  60. package/dist/components/react-hook-form/raw-read-only-input.d.ts +9 -0
  61. package/dist/components/react-hook-form/raw-read-only-input.js +10 -0
  62. package/dist/components/react-hook-form/select-input.d.ts +17 -0
  63. package/dist/components/react-hook-form/slider-input.d.ts +21 -0
  64. package/dist/components/react-hook-form/text-input.d.ts +33 -0
  65. package/dist/components/react-hook-form/utils/cancel-button.d.ts +10 -0
  66. package/dist/components/react-hook-form/utils/field-label.d.ts +6 -0
  67. package/dist/components/react-hook-form/utils/functions.d.ts +11 -0
  68. package/dist/components/react-hook-form/utils/functions.js +5 -0
  69. package/dist/components/react-hook-form/utils/submit-button.d.ts +10 -0
  70. package/dist/components/react-hook-form/utils/text-field-with-adornment.d.ts +12 -0
  71. package/dist/components/translations/card-error-boundary-en.d.ts +12 -0
  72. package/dist/components/translations/card-error-boundary-fr.d.ts +12 -0
  73. package/dist/components/translations/common-button-en.d.ts +5 -0
  74. package/dist/components/translations/common-button-fr.d.ts +5 -0
  75. package/dist/components/translations/element-search-en.d.ts +11 -0
  76. package/dist/components/translations/element-search-fr.d.ts +11 -0
  77. package/dist/components/translations/equipment-search-en.d.ts +25 -0
  78. package/dist/components/translations/equipment-search-fr.d.ts +25 -0
  79. package/dist/components/translations/flat-parameters-en.d.ts +12 -0
  80. package/dist/components/translations/flat-parameters-fr.d.ts +12 -0
  81. package/dist/components/translations/login-en.d.ts +18 -0
  82. package/dist/components/translations/login-fr.d.ts +18 -0
  83. package/dist/components/translations/multiple-selection-dialog-en.d.ts +12 -0
  84. package/dist/components/translations/multiple-selection-dialog-fr.d.ts +12 -0
  85. package/dist/components/translations/report-viewer-en.d.ts +12 -0
  86. package/dist/components/translations/report-viewer-fr.d.ts +12 -0
  87. package/dist/components/translations/table-en.d.ts +10 -0
  88. package/dist/components/translations/table-fr.d.ts +10 -0
  89. package/dist/components/translations/top-bar-en.d.ts +31 -0
  90. package/dist/components/translations/top-bar-fr.d.ts +31 -0
  91. package/dist/components/translations/treeview-finder-en.d.ts +16 -0
  92. package/dist/components/translations/treeview-finder-fr.d.ts +16 -0
  93. package/dist/hooks/useDebounce.d.ts +1 -0
  94. package/dist/hooks/useSnackMessage.d.ts +5 -0
  95. package/dist/index.d.ts +10 -1
  96. package/dist/index.js +4 -0
  97. package/dist/utils/AuthService.d.ts +9 -0
  98. package/dist/utils/ElementType.d.ts +13 -0
  99. package/dist/utils/ElementType.js +6 -2
  100. package/dist/utils/EquipmentType.d.ts +136 -0
  101. package/dist/utils/UserManagerMock.d.ts +34 -0
  102. package/dist/utils/actions.d.ts +50 -0
  103. package/dist/utils/algos.d.ts +7 -0
  104. package/dist/utils/styles.d.ts +5 -0
  105. package/package.json +1 -1
@@ -0,0 +1,18 @@
1
+ export default FloatInput;
2
+ declare function FloatInput(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace FloatInput {
4
+ const propTypes: {
5
+ name: import("prop-types").Requireable<string>;
6
+ label: import("prop-types").Requireable<string>;
7
+ labelValues: import("prop-types").Requireable<object>;
8
+ id: import("prop-types").Requireable<string>;
9
+ adornment: import("prop-types").Requireable<object>;
10
+ customAdornment: import("prop-types").Requireable<object>;
11
+ outputTransform: import("prop-types").Requireable<(...args: any[]) => any>;
12
+ inputTransform: import("prop-types").Requireable<(...args: any[]) => any>;
13
+ acceptValue: import("prop-types").Requireable<(...args: any[]) => any>;
14
+ previousValue: import("prop-types").Requireable<any>;
15
+ clearable: import("prop-types").Requireable<boolean>;
16
+ formProps: import("prop-types").Requireable<object>;
17
+ };
18
+ }
@@ -0,0 +1,18 @@
1
+ export default IntegerInput;
2
+ declare function IntegerInput(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace IntegerInput {
4
+ const propTypes: {
5
+ name: import("prop-types").Requireable<string>;
6
+ label: import("prop-types").Requireable<string>;
7
+ labelValues: import("prop-types").Requireable<object>;
8
+ id: import("prop-types").Requireable<string>;
9
+ adornment: import("prop-types").Requireable<object>;
10
+ customAdornment: import("prop-types").Requireable<object>;
11
+ outputTransform: import("prop-types").Requireable<(...args: any[]) => any>;
12
+ inputTransform: import("prop-types").Requireable<(...args: any[]) => any>;
13
+ acceptValue: import("prop-types").Requireable<(...args: any[]) => any>;
14
+ previousValue: import("prop-types").Requireable<any>;
15
+ clearable: import("prop-types").Requireable<boolean>;
16
+ formProps: import("prop-types").Requireable<object>;
17
+ };
18
+ }
@@ -0,0 +1,2 @@
1
+ export function isIntegerNumber(val: any): boolean;
2
+ export function isFloatNumber(val: any): boolean;
@@ -0,0 +1,18 @@
1
+ export default RadioInput;
2
+ declare function RadioInput({ name, label, id, options, formProps }: {
3
+ name: any;
4
+ label: any;
5
+ id: any;
6
+ options: any;
7
+ formProps: any;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ declare namespace RadioInput {
10
+ namespace propTypes {
11
+ const name: PropTypes.Validator<string>;
12
+ const label: PropTypes.Requireable<string>;
13
+ const id: PropTypes.Requireable<string>;
14
+ const options: PropTypes.Validator<any[]>;
15
+ const formProps: PropTypes.Requireable<object>;
16
+ }
17
+ }
18
+ import PropTypes from 'prop-types';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) 2023, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ export declare function RawReadOnlyInput({ name }: {
8
+ name: string;
9
+ }): any;
@@ -0,0 +1,10 @@
1
+ import { useController } from "react-hook-form";
2
+ function RawReadOnlyInput({ name }) {
3
+ const {
4
+ field: { value }
5
+ } = useController({ name });
6
+ return value;
7
+ }
8
+ export {
9
+ RawReadOnlyInput
10
+ };
@@ -0,0 +1,17 @@
1
+ export default SelectInput;
2
+ declare function SelectInput(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace SelectInput {
4
+ const propTypes: {
5
+ name: PropTypes.Validator<string>;
6
+ label: PropTypes.Requireable<string>;
7
+ options: PropTypes.Validator<any[]>;
8
+ outputTransform: PropTypes.Requireable<(...args: any[]) => any>;
9
+ inputTransform: PropTypes.Requireable<(...args: any[]) => any>;
10
+ readOnly: PropTypes.Requireable<boolean>;
11
+ previousValue: PropTypes.Requireable<any>;
12
+ allowNewValue: PropTypes.Requireable<boolean>;
13
+ onChangeCallback: PropTypes.Requireable<(...args: any[]) => any>;
14
+ formProps: PropTypes.Requireable<object>;
15
+ };
16
+ }
17
+ import PropTypes from 'prop-types';
@@ -0,0 +1,21 @@
1
+ export default SliderInput;
2
+ declare function SliderInput({ name, min, max, step, size, onValueChange, }: {
3
+ name: any;
4
+ min: any;
5
+ max: any;
6
+ step: any;
7
+ size?: string | undefined;
8
+ onValueChange?: typeof identity | undefined;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ declare namespace SliderInput {
11
+ namespace propTypes {
12
+ const name: PropTypes.Validator<string>;
13
+ const min: PropTypes.Validator<number>;
14
+ const max: PropTypes.Validator<number>;
15
+ const step: PropTypes.Validator<number>;
16
+ const size: PropTypes.Requireable<string>;
17
+ const onValueChange: PropTypes.Requireable<(...args: any[]) => any>;
18
+ }
19
+ }
20
+ import { identity } from './utils/functions';
21
+ import PropTypes from 'prop-types';
@@ -0,0 +1,33 @@
1
+ export default TextInput;
2
+ declare function TextInput({ name, label, labelValues, id, adornment, customAdornment, outputTransform, inputTransform, acceptValue, previousValue, clearable, formProps, }: {
3
+ name: any;
4
+ label: any;
5
+ labelValues: any;
6
+ id: any;
7
+ adornment: any;
8
+ customAdornment: any;
9
+ outputTransform?: typeof identity | undefined;
10
+ inputTransform?: typeof identity | undefined;
11
+ acceptValue?: (() => boolean) | undefined;
12
+ previousValue: any;
13
+ clearable: any;
14
+ formProps: any;
15
+ }): import("react/jsx-runtime").JSX.Element;
16
+ declare namespace TextInput {
17
+ namespace propTypes {
18
+ const name: PropTypes.Requireable<string>;
19
+ const label: PropTypes.Requireable<string>;
20
+ const labelValues: PropTypes.Requireable<object>;
21
+ const id: PropTypes.Requireable<string>;
22
+ const adornment: PropTypes.Requireable<object>;
23
+ const customAdornment: PropTypes.Requireable<object>;
24
+ const outputTransform: PropTypes.Requireable<(...args: any[]) => any>;
25
+ const inputTransform: PropTypes.Requireable<(...args: any[]) => any>;
26
+ const acceptValue: PropTypes.Requireable<(...args: any[]) => any>;
27
+ const previousValue: PropTypes.Requireable<any>;
28
+ const clearable: PropTypes.Requireable<boolean>;
29
+ const formProps: PropTypes.Requireable<object>;
30
+ }
31
+ }
32
+ import { identity } from './utils/functions';
33
+ import PropTypes from 'prop-types';
@@ -0,0 +1,10 @@
1
+ export default CancelButton;
2
+ declare function CancelButton({ ...inProps }: {
3
+ [x: string]: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ declare namespace CancelButton {
6
+ namespace propTypes {
7
+ const buttonProps: PropTypes.Requireable<object>;
8
+ }
9
+ }
10
+ import PropTypes from 'prop-types';
@@ -0,0 +1,6 @@
1
+ export default FieldLabel;
2
+ declare function FieldLabel({ label, optional, values }: {
3
+ label: any;
4
+ optional: any;
5
+ values?: undefined;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ export function genHelperPreviousValue(previousValue: any, adornment: any): any;
2
+ export function genHelperError(...errors: any[]): {
3
+ error: boolean;
4
+ helperText: import("react/jsx-runtime").JSX.Element;
5
+ } | {
6
+ error?: undefined;
7
+ helperText?: undefined;
8
+ };
9
+ export function identity(x: any): any;
10
+ export function isFieldFromContextRequired(fieldName: any, formContext: any, values: any): boolean;
11
+ export function isFieldRequired(fieldName: any, schema: any, values: any): boolean;
@@ -23,6 +23,10 @@ function genHelperError(...errors) {
23
23
  function identity(x) {
24
24
  return x;
25
25
  }
26
+ const isFieldFromContextRequired = (fieldName, formContext, values) => {
27
+ const { validationSchema } = formContext;
28
+ return isFieldRequired(fieldName, validationSchema, values);
29
+ };
26
30
  const isFieldRequired = (fieldName, schema, values) => {
27
31
  var _a;
28
32
  const { schema: fieldSchema, parent: parentValues } = getIn(schema, fieldName, values) || {};
@@ -32,5 +36,6 @@ export {
32
36
  genHelperError,
33
37
  genHelperPreviousValue,
34
38
  identity,
39
+ isFieldFromContextRequired,
35
40
  isFieldRequired
36
41
  };
@@ -0,0 +1,10 @@
1
+ export default SubmitButton;
2
+ declare function SubmitButton({ ...buttonProps }: {
3
+ [x: string]: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ declare namespace SubmitButton {
6
+ namespace propTypes {
7
+ const buttonProps: PropTypes.Requireable<object>;
8
+ }
9
+ }
10
+ import PropTypes from 'prop-types';
@@ -0,0 +1,12 @@
1
+ export default TextFieldWithAdornment;
2
+ declare function TextFieldWithAdornment(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace TextFieldWithAdornment {
4
+ namespace propTypes {
5
+ const adornmentPosition: PropTypes.Validator<string>;
6
+ const adornmentText: PropTypes.Validator<string>;
7
+ const value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
8
+ const variant: PropTypes.Requireable<string>;
9
+ const handleClearValue: PropTypes.Requireable<(...args: any[]) => any>;
10
+ }
11
+ }
12
+ import PropTypes from 'prop-types';
@@ -0,0 +1,12 @@
1
+ export default card_error_boundary_en;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const card_error_boundary_en: {
9
+ 'card_error_boundary/title': string;
10
+ 'card_error_boundary/content': string;
11
+ 'card_error_boundary/expandederrorheader': string;
12
+ };
@@ -0,0 +1,12 @@
1
+ export default card_error_boundary_fr;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const card_error_boundary_fr: {
9
+ 'card_error_boundary/title': string;
10
+ 'card_error_boundary/content': string;
11
+ 'card_error_boundary/expandederrorheader': string;
12
+ };
@@ -0,0 +1,5 @@
1
+ export default common_button_en;
2
+ declare namespace common_button_en {
3
+ const cancel: string;
4
+ const validate: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ export default common_button_fr;
2
+ declare namespace common_button_fr {
3
+ const cancel: string;
4
+ const validate: string;
5
+ }
@@ -0,0 +1,11 @@
1
+ export default element_search_en;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const element_search_en: {
9
+ 'element_search/label': string;
10
+ 'element_search/noResult': string;
11
+ };
@@ -0,0 +1,11 @@
1
+ export default element_search_fr;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const element_search_fr: {
9
+ 'element_search/label': string;
10
+ 'element_search/noResult': string;
11
+ };
@@ -0,0 +1,25 @@
1
+ export default equipment_search_en;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const equipment_search_en: {
9
+ 'equipment_search/label': string;
10
+ 'equipment_search/switchTag': string;
11
+ 'equipment_search/busbarSectionTag': string;
12
+ 'equipment_search/lineTag': string;
13
+ 'equipment_search/2wtTag': string;
14
+ 'equipment_search/3wtTag': string;
15
+ 'equipment_search/generatorTag': string;
16
+ 'equipment_search/batteryTag': string;
17
+ 'equipment_search/loadTag': string;
18
+ 'equipment_search/shuntTag': string;
19
+ 'equipment_search/svcTag': string;
20
+ 'equipment_search/hvdcLineTag': string;
21
+ 'equipment_search/hvdcStationTag': string;
22
+ 'equipment_search/voltageLevelTag': string;
23
+ 'equipment_search/substationTag': string;
24
+ 'equipment_search/busTag': string;
25
+ };
@@ -0,0 +1,25 @@
1
+ export default equipment_search_fr;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const equipment_search_fr: {
9
+ 'equipment_search/label': string;
10
+ 'equipment_search/switchTag': string;
11
+ 'equipment_search/busbarSectionTag': string;
12
+ 'equipment_search/lineTag': string;
13
+ 'equipment_search/2wtTag': string;
14
+ 'equipment_search/3wtTag': string;
15
+ 'equipment_search/generatorTag': string;
16
+ 'equipment_search/batteryTag': string;
17
+ 'equipment_search/loadTag': string;
18
+ 'equipment_search/shuntTag': string;
19
+ 'equipment_search/svcTag': string;
20
+ 'equipment_search/hvdcLineTag': string;
21
+ 'equipment_search/hvdcStationTag': string;
22
+ 'equipment_search/voltageLevelTag': string;
23
+ 'equipment_search/substationTag': string;
24
+ 'equipment_search/busTag': string;
25
+ };
@@ -0,0 +1,12 @@
1
+ export default flat_parameters_en;
2
+ /**
3
+ * Copyright (c) 2023, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const flat_parameters_en: {
9
+ 'flat_parameters/none': string;
10
+ 'flat_parameters/some': string;
11
+ 'flat_parameters/all': string;
12
+ };
@@ -0,0 +1,12 @@
1
+ export default flat_parameters_fr;
2
+ /**
3
+ * Copyright (c) 2023, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const flat_parameters_fr: {
9
+ 'flat_parameters/none': string;
10
+ 'flat_parameters/some': string;
11
+ 'flat_parameters/all': string;
12
+ };
@@ -0,0 +1,18 @@
1
+ export default login_en;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const login_en: {
9
+ 'login/login': string;
10
+ 'login/connection': string;
11
+ 'login/unauthorizedAccess': string;
12
+ 'login/unauthorizedAccessMessage': string;
13
+ 'login/errorInUserValidation': string;
14
+ 'login/errorInUserValidationMessage': string;
15
+ 'login/errorInLogout': string;
16
+ 'login/errorInLogoutMessage': string;
17
+ 'login/logout': string;
18
+ };
@@ -0,0 +1,18 @@
1
+ export default login_fr;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const login_fr: {
9
+ 'login/login': string;
10
+ 'login/connection': string;
11
+ 'login/unauthorizedAccess': string;
12
+ 'login/unauthorizedAccessMessage': string;
13
+ 'login/errorInUserValidation': string;
14
+ 'login/errorInUserValidationMessage': string;
15
+ 'login/errorInLogout': string;
16
+ 'login/errorInLogoutMessage': string;
17
+ 'login/logout': string;
18
+ };
@@ -0,0 +1,12 @@
1
+ export default multiple_selection_dialog_en;
2
+ /**
3
+ * Copyright (c) 2023, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const multiple_selection_dialog_en: {
9
+ 'multiple_selection_dialog/cancel': string;
10
+ 'multiple_selection_dialog/validate': string;
11
+ 'multiple_selection_dialog/selectAll': string;
12
+ };
@@ -0,0 +1,12 @@
1
+ export default multiple_selection_dialog_fr;
2
+ /**
3
+ * Copyright (c) 2023, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const multiple_selection_dialog_fr: {
9
+ 'multiple_selection_dialog/cancel': string;
10
+ 'multiple_selection_dialog/validate': string;
11
+ 'multiple_selection_dialog/selectAll': string;
12
+ };
@@ -0,0 +1,12 @@
1
+ export default report_viewer_en;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const report_viewer_en: {
9
+ 'report_viewer/close': string;
10
+ 'report_viewer/severity': string;
11
+ 'report_viewer/message': string;
12
+ };
@@ -0,0 +1,12 @@
1
+ export default report_viewer_fr;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const report_viewer_fr: {
9
+ 'report_viewer/close': string;
10
+ 'report_viewer/severity': string;
11
+ 'report_viewer/message': string;
12
+ };
@@ -0,0 +1,10 @@
1
+ export default table_en;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const table_en: {
9
+ 'MuiVirtualizedTable/exportCSV': string;
10
+ };
@@ -0,0 +1,10 @@
1
+ export default table_fr;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const table_fr: {
9
+ 'MuiVirtualizedTable/exportCSV': string;
10
+ };
@@ -0,0 +1,31 @@
1
+ export default top_bar_en;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const top_bar_en: {
9
+ 'top-bar/settings': string;
10
+ 'top-bar/logout': string;
11
+ 'top-bar/goFullScreen': string;
12
+ 'top-bar/exitFullScreen': string;
13
+ 'top-bar/about': string;
14
+ 'top-bar/displayMode': string;
15
+ 'top-bar/equipmentLabel': string;
16
+ 'top-bar/id': string;
17
+ 'top-bar/name': string;
18
+ 'top-bar/language': string;
19
+ 'top-bar/customTheme': string;
20
+ 'about-dialog/title': string;
21
+ 'about-dialog/version': string;
22
+ 'about-dialog/alert-running-old-version-msg': string;
23
+ 'about-dialog/license': string;
24
+ 'about-dialog/modules-section': string;
25
+ 'about-dialog/label-version': string;
26
+ 'about-dialog/label-git-version': string;
27
+ 'about-dialog/label-type': string;
28
+ 'about-dialog/module-tooltip-app': string;
29
+ 'about-dialog/module-tooltip-server': string;
30
+ 'about-dialog/module-tooltip-other': string;
31
+ };
@@ -0,0 +1,31 @@
1
+ export default top_bar_fr;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const top_bar_fr: {
9
+ 'top-bar/settings': string;
10
+ 'top-bar/logout': string;
11
+ 'top-bar/goFullScreen': string;
12
+ 'top-bar/exitFullScreen': string;
13
+ 'top-bar/about': string;
14
+ 'top-bar/displayMode': string;
15
+ 'top-bar/equipmentLabel': string;
16
+ 'top-bar/id': string;
17
+ 'top-bar/name': string;
18
+ 'top-bar/language': string;
19
+ 'top-bar/customTheme': string;
20
+ 'about-dialog/title': string;
21
+ 'about-dialog/version': string;
22
+ 'about-dialog/alert-running-old-version-msg': string;
23
+ 'about-dialog/license': string;
24
+ 'about-dialog/modules-section': string;
25
+ 'about-dialog/label-version': string;
26
+ 'about-dialog/label-git-version': string;
27
+ 'about-dialog/label-type': string;
28
+ 'about-dialog/module-tooltip-app': string;
29
+ 'about-dialog/module-tooltip-server': string;
30
+ 'about-dialog/module-tooltip-other': string;
31
+ };
@@ -0,0 +1,16 @@
1
+ export default treeview_finder_en;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const treeview_finder_en: {
9
+ 'treeview_finder/close': string;
10
+ 'treeview_finder/validate': string;
11
+ 'treeview_finder/add': string;
12
+ 'treeview_finder/deleteSelection': string;
13
+ 'treeview_finder/contentText': string;
14
+ 'treeview_finder/finderTitle': string;
15
+ 'treeview_finder/addElementsValidation': string;
16
+ };
@@ -0,0 +1,16 @@
1
+ export default treeview_finder_fr;
2
+ /**
3
+ * Copyright (c) 2022, RTE (http://www.rte-france.com)
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+ declare const treeview_finder_fr: {
9
+ 'treeview_finder/close': string;
10
+ 'treeview_finder/validate': string;
11
+ 'treeview_finder/add': string;
12
+ 'treeview_finder/deleteSelection': string;
13
+ 'treeview_finder/contentText': string;
14
+ 'treeview_finder/finderTitle': string;
15
+ 'treeview_finder/addElementsValidation': string;
16
+ };
@@ -0,0 +1 @@
1
+ export function useDebounce(func: any, delay?: number): any;
@@ -0,0 +1,5 @@
1
+ export function useSnackMessage(): {
2
+ snackError: (snackInputs: any) => void;
3
+ snackInfo: (snackInputs: any) => void;
4
+ snackWarning: (snackInputs: any) => void;
5
+ };
package/dist/index.d.ts CHANGED
@@ -14,6 +14,15 @@ import type {
14
14
  */
15
15
 
16
16
  export { useIntlRef } from './hooks/useIntlRef';
17
+ export { RawReadOnlyInput } from './components/react-hook-form/raw-read-only-input';
18
+ export {
19
+ DirectoryItemsInputProps,
20
+ DirectoryItemsInput,
21
+ } from './components/react-hook-form/directory-items-input';
22
+ export {
23
+ DirectoryItemSelectorProps,
24
+ DirectoryItemSelector,
25
+ } from './components/DirectoryItemSelector/directory-item-selector';
17
26
 
18
27
  /**
19
28
  * Section to export manual type declarations of .js and .jsx files
@@ -147,7 +156,7 @@ interface RadioInputProps {
147
156
  id: string;
148
157
  label: string;
149
158
  }>;
150
- formProps?: Omit<RadioGroupProps, 'value' | 'onChange'>;
159
+ formProps?: Omit<RadioGroupProps, 'value'>;
151
160
  }
152
161
 
153
162
  export const RadioInput: FunctionComponent<RadioInputProps>;