@gridsuite/commons-ui 0.251.0 → 0.252.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.
@@ -42,7 +42,7 @@ import { SubmitButton } from "./ui/reactHookForm/utils/SubmitButton.js";
42
42
  import { TextFieldWithAdornment } from "./ui/reactHookForm/utils/TextFieldWithAdornment.js";
43
43
  import { genHelperError, gridItem, identity, isFieldRequired, toFloatOrNullValue } from "./ui/reactHookForm/utils/functions.js";
44
44
  import { HelperPreviousValue } from "./ui/reactHookForm/utils/HelperPreviousValue.js";
45
- import { DESCRIPTION, DIRECTORY_ITEM, DIRECTORY_ITEM_FULL_PATH, DIRECTORY_ITEM_ID, NAME } from "./ui/reactHookForm/constants.js";
45
+ import { ACTIVE, DESCRIPTION, DIRECTORY_ITEM, DIRECTORY_ITEM_FULL_PATH, DIRECTORY_ITEM_ID, NAME } from "./ui/reactHookForm/constants.js";
46
46
  import { ExpandableInput } from "./ui/reactHookForm/expandableInput/ExpandableInput.js";
47
47
  import { CountrySelectionInput } from "./ui/reactHookForm/CountrySelectionInput.js";
48
48
  import { CheckboxNullableInput } from "./ui/reactHookForm/CheckboxNullableInput.js";
@@ -156,6 +156,7 @@ import { ReportType } from "./composite/report/report.type.js";
156
156
  import { GLOBAL_REPORT_NODE_LABEL, NETWORK_MODIFICATION } from "./composite/report/report.constant.js";
157
157
  import { QuickSearch } from "./composite/report/QuickSearch.js";
158
158
  export {
159
+ ACTIVE,
159
160
  ActivableChip,
160
161
  AddButton,
161
162
  AddButtonMode,
@@ -42,7 +42,7 @@ import { SubmitButton } from "./reactHookForm/utils/SubmitButton.js";
42
42
  import { TextFieldWithAdornment } from "./reactHookForm/utils/TextFieldWithAdornment.js";
43
43
  import { genHelperError, gridItem, identity, isFieldRequired, toFloatOrNullValue } from "./reactHookForm/utils/functions.js";
44
44
  import { HelperPreviousValue } from "./reactHookForm/utils/HelperPreviousValue.js";
45
- import { DESCRIPTION, DIRECTORY_ITEM, DIRECTORY_ITEM_FULL_PATH, DIRECTORY_ITEM_ID, NAME } from "./reactHookForm/constants.js";
45
+ import { ACTIVE, DESCRIPTION, DIRECTORY_ITEM, DIRECTORY_ITEM_FULL_PATH, DIRECTORY_ITEM_ID, NAME } from "./reactHookForm/constants.js";
46
46
  import { ExpandableInput } from "./reactHookForm/expandableInput/ExpandableInput.js";
47
47
  import { CountrySelectionInput } from "./reactHookForm/CountrySelectionInput.js";
48
48
  import { CheckboxNullableInput } from "./reactHookForm/CheckboxNullableInput.js";
@@ -80,6 +80,7 @@ import { doesNodeHasChildren } from "./treeViewFinder/TreeViewUtils.js";
80
80
  import { DirectoryItemSelector } from "./directoryItemSelector/DirectoryItemSelector.js";
81
81
  import { CustomTablePagination } from "./tablepagination/custom-table-pagination.js";
82
82
  export {
83
+ ACTIVE,
83
84
  ActivableChip,
84
85
  AddButton,
85
86
  AddButtonMode,
@@ -9,3 +9,4 @@ export declare const DESCRIPTION = "description";
9
9
  export declare const DIRECTORY_ITEM = "directoryItem";
10
10
  export declare const DIRECTORY_ITEM_ID = "directoryItemId";
11
11
  export declare const DIRECTORY_ITEM_FULL_PATH = "directoryItemFullPath";
12
+ export declare const ACTIVE = "active";
@@ -3,7 +3,9 @@ const DESCRIPTION = "description";
3
3
  const DIRECTORY_ITEM = "directoryItem";
4
4
  const DIRECTORY_ITEM_ID = "directoryItemId";
5
5
  const DIRECTORY_ITEM_FULL_PATH = "directoryItemFullPath";
6
+ const ACTIVE = "active";
6
7
  export {
8
+ ACTIVE,
7
9
  DESCRIPTION,
8
10
  DIRECTORY_ITEM,
9
11
  DIRECTORY_ITEM_FULL_PATH,
@@ -41,13 +41,14 @@ import { SubmitButton } from "./utils/SubmitButton.js";
41
41
  import { TextFieldWithAdornment } from "./utils/TextFieldWithAdornment.js";
42
42
  import { genHelperError, gridItem, identity, isFieldRequired, toFloatOrNullValue } from "./utils/functions.js";
43
43
  import { HelperPreviousValue } from "./utils/HelperPreviousValue.js";
44
- import { DESCRIPTION, DIRECTORY_ITEM, DIRECTORY_ITEM_FULL_PATH, DIRECTORY_ITEM_ID, NAME } from "./constants.js";
44
+ import { ACTIVE, DESCRIPTION, DIRECTORY_ITEM, DIRECTORY_ITEM_FULL_PATH, DIRECTORY_ITEM_ID, NAME } from "./constants.js";
45
45
  import { ExpandableInput } from "./expandableInput/ExpandableInput.js";
46
46
  import { CountrySelectionInput } from "./CountrySelectionInput.js";
47
47
  import { CheckboxNullableInput } from "./CheckboxNullableInput.js";
48
48
  import { directoryItemSchema, getAbsenceLabelKeyFromType } from "./directory-item-input/directory-item-utils.js";
49
49
  import { DirectoryItemInput } from "./directory-item-input/directory-item-input.js";
50
50
  export {
51
+ ACTIVE,
51
52
  AutocompleteInput,
52
53
  BooleanInput,
53
54
  ButtonReadOnlyInput,
@@ -67,7 +67,7 @@ import { COLUMNS_DEFINITIONS_HVDCS, COLUMNS_DEFINITIONS_INJECTIONS, COLUMNS_DEFI
67
67
  import { DynamicSimulationInline } from "./parameters/dynamic-simulation/dynamic-simulation-inline.js";
68
68
  import { CONTINGENCIES_LIST_INFOS, CONTINGENCIES_START_TIME, SCENARIO_DURATION } from "./parameters/dynamic-security-analysis/constants.js";
69
69
  import { DynamicSecurityAnalysisInline } from "./parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js";
70
- import { ACCURACY, ACTIVE, CALCULATION_TYPE, LOADS_VARIATIONS, LOAD_FILTERS, LOAD_INCREASE_START_TIME, LOAD_INCREASE_STOP_TIME, LOAD_MODELS_RULE, MARGIN_CALCULATION_START_TIME, START_TIME, STOP_TIME, VARIATION } from "./parameters/dynamic-margin-calculation/constants.js";
70
+ import { ACCURACY, CALCULATION_TYPE, LOADS_VARIATIONS, LOAD_FILTERS, LOAD_INCREASE_START_TIME, LOAD_INCREASE_STOP_TIME, LOAD_MODELS_RULE, MARGIN_CALCULATION_START_TIME, START_TIME, STOP_TIME, VARIATION } from "./parameters/dynamic-margin-calculation/constants.js";
71
71
  import { DynamicMarginCalculationInline } from "./parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js";
72
72
  import { getTabIndicatorStyle, getTabStyle, parametersStyles } from "./parameters/parameters-style.js";
73
73
  import { filledTextField, italicFontTextField, standardTextField } from "./network-modifications/common/form.utils.js";
@@ -239,7 +239,6 @@ import { getSAProcessConfigBackendFromFormData, getSAProcessConfigFormDataFromFe
239
239
  import { ProcessType } from "./process-configs/process-configs.type.js";
240
240
  export {
241
241
  ACCURACY,
242
- ACTIVE,
243
242
  ADVANCED_PARAMETERS,
244
243
  APPLICABILITY,
245
244
  AUTO_EXTENSIBLE_COLUMNS,
@@ -15,4 +15,3 @@ export declare const LOAD_MODELS_RULE = "loadModelsRule";
15
15
  export declare const LOADS_VARIATIONS = "loadsVariations";
16
16
  export declare const LOAD_FILTERS = "loadFilters";
17
17
  export declare const VARIATION = "variation";
18
- export declare const ACTIVE = "active";
@@ -9,10 +9,8 @@ const LOAD_MODELS_RULE = "loadModelsRule";
9
9
  const LOADS_VARIATIONS = "loadsVariations";
10
10
  const LOAD_FILTERS = "loadFilters";
11
11
  const VARIATION = "variation";
12
- const ACTIVE = "active";
13
12
  export {
14
13
  ACCURACY,
15
- ACTIVE,
16
14
  CALCULATION_TYPE,
17
15
  LOADS_VARIATIONS,
18
16
  LOAD_FILTERS,
@@ -1,8 +1,7 @@
1
- import { ACCURACY, ACTIVE, CALCULATION_TYPE, LOADS_VARIATIONS, LOAD_FILTERS, LOAD_INCREASE_START_TIME, LOAD_INCREASE_STOP_TIME, LOAD_MODELS_RULE, MARGIN_CALCULATION_START_TIME, START_TIME, STOP_TIME, VARIATION } from "./constants.js";
1
+ import { ACCURACY, CALCULATION_TYPE, LOADS_VARIATIONS, LOAD_FILTERS, LOAD_INCREASE_START_TIME, LOAD_INCREASE_STOP_TIME, LOAD_MODELS_RULE, MARGIN_CALCULATION_START_TIME, START_TIME, STOP_TIME, VARIATION } from "./constants.js";
2
2
  import { DynamicMarginCalculationInline } from "./dynamic-margin-calculation-inline.js";
3
3
  export {
4
4
  ACCURACY,
5
- ACTIVE,
6
5
  CALCULATION_TYPE,
7
6
  DynamicMarginCalculationInline,
8
7
  LOADS_VARIATIONS,
@@ -3,7 +3,7 @@ import { useMemo } from "react";
3
3
  import { useIntl } from "react-intl";
4
4
  import { Grid2 } from "@mui/material";
5
5
  import * as yup from "yup";
6
- import { LOADS_VARIATIONS, ACTIVE, VARIATION, LOAD_FILTERS, LOAD_MODELS_RULE, ACCURACY, CALCULATION_TYPE } from "./constants.js";
6
+ import { LOADS_VARIATIONS, VARIATION, LOAD_FILTERS, LOAD_MODELS_RULE, ACCURACY, CALCULATION_TYPE } from "./constants.js";
7
7
  import { ID } from "../../../utils/constants/filterConstant.js";
8
8
  import { YUP_REQUIRED } from "../../../utils/constants/translationKeys.js";
9
9
  import "../../../utils/conversionUtils.js";
@@ -21,7 +21,7 @@ import "localized-countries/data/en";
21
21
  import "notistack";
22
22
  import "../../../components/ui/reactHookForm/provider/CustomFormProvider.js";
23
23
  import "../../../components/ui/treeViewFinder/TreeViewFinder.js";
24
- import { NAME } from "../../../components/ui/reactHookForm/constants.js";
24
+ import { ACTIVE, NAME } from "../../../components/ui/reactHookForm/constants.js";
25
25
  import "../../../components/ui/reactHookForm/numbers/RangeInput.js";
26
26
  import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
27
27
  import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
@@ -47,12 +47,11 @@ import { COLUMNS_DEFINITIONS_HVDCS, COLUMNS_DEFINITIONS_INJECTIONS, COLUMNS_DEFI
47
47
  import { DynamicSimulationInline } from "./dynamic-simulation/dynamic-simulation-inline.js";
48
48
  import { CONTINGENCIES_LIST_INFOS, CONTINGENCIES_START_TIME, SCENARIO_DURATION } from "./dynamic-security-analysis/constants.js";
49
49
  import { DynamicSecurityAnalysisInline } from "./dynamic-security-analysis/dynamic-security-analysis-inline.js";
50
- import { ACCURACY, ACTIVE, CALCULATION_TYPE, LOADS_VARIATIONS, LOAD_FILTERS, LOAD_INCREASE_START_TIME, LOAD_INCREASE_STOP_TIME, LOAD_MODELS_RULE, MARGIN_CALCULATION_START_TIME, START_TIME, STOP_TIME, VARIATION } from "./dynamic-margin-calculation/constants.js";
50
+ import { ACCURACY, CALCULATION_TYPE, LOADS_VARIATIONS, LOAD_FILTERS, LOAD_INCREASE_START_TIME, LOAD_INCREASE_STOP_TIME, LOAD_MODELS_RULE, MARGIN_CALCULATION_START_TIME, START_TIME, STOP_TIME, VARIATION } from "./dynamic-margin-calculation/constants.js";
51
51
  import { DynamicMarginCalculationInline } from "./dynamic-margin-calculation/dynamic-margin-calculation-inline.js";
52
52
  import { getTabIndicatorStyle, getTabStyle, parametersStyles } from "./parameters-style.js";
53
53
  export {
54
54
  ACCURACY,
55
- ACTIVE,
56
55
  ADVANCED_PARAMETERS,
57
56
  BALANCE_TYPE,
58
57
  CALCULATION_TYPE,
@@ -4,9 +4,14 @@ export declare enum ProcessType {
4
4
  SECURITY_ANALYSIS = "SECURITY_ANALYSIS",
5
5
  LOADFLOW = "LOADFLOW"
6
6
  }
7
+ export interface ModificationInfo {
8
+ modificationUuid: UUID;
9
+ description: string | null;
10
+ active: boolean;
11
+ }
7
12
  export interface ProcessConfigBaseBackend {
8
13
  processType: ProcessType;
9
- modificationUuids: UUID[];
14
+ modifications: ModificationInfo[];
10
15
  }
11
16
  export interface SecurityAnalysisProcessConfigBackend extends ProcessConfigBaseBackend {
12
17
  processType: ProcessType.SECURITY_ANALYSIS;
@@ -18,9 +23,9 @@ export type PersistedProcessConfigBackend = {
18
23
  id: UUID;
19
24
  processConfig: ProcessConfigBackend;
20
25
  };
21
- export type SecurityAnalysisProcessConfig = Omit<SecurityAnalysisProcessConfigBackend, 'securityAnalysisParametersUuid' | 'loadflowParametersUuid' | 'modificationUuids'> & {
26
+ export type SecurityAnalysisProcessConfig = Omit<SecurityAnalysisProcessConfigBackend, 'securityAnalysisParametersUuid' | 'loadflowParametersUuid' | 'modifications'> & {
22
27
  modifications: (IdName & {
23
- enabled: boolean;
28
+ active: boolean;
24
29
  description?: string;
25
30
  })[];
26
31
  loadflowParameters: IdName;
@@ -14,6 +14,8 @@ export declare function getSAProcessConfigFormDataFromFetchedElement(processConf
14
14
  id: `${string}-${string}-${string}-${string}-${string}`;
15
15
  name: string | undefined;
16
16
  }[];
17
+ description: string;
18
+ active: boolean;
17
19
  }[];
18
20
  securityAnalysisParameters: import('../../..').IdName[];
19
21
  loadflowParameters: import('../../..').IdName[];
@@ -23,6 +25,8 @@ export declare const updateSAProcessConfigFormSchema: yup.ObjectSchema<{
23
25
  name: string;
24
26
  description: string | undefined;
25
27
  modifications: {
28
+ description?: string | null | undefined;
29
+ active: NonNullable<boolean | undefined>;
26
30
  modification: {
27
31
  id: string;
28
32
  name: string;
@@ -49,8 +53,8 @@ export declare function toSAProcessConfig(persistedProcessConfig: PersistedProce
49
53
  modifications: {
50
54
  id: `${string}-${string}-${string}-${string}-${string}`;
51
55
  name: string;
52
- enabled: true;
53
- description: undefined;
56
+ active: boolean;
57
+ description: string | undefined;
54
58
  }[];
55
59
  securityAnalysisParameters: {
56
60
  id: `${string}-${string}-${string}-${string}-${string}`;
@@ -12,7 +12,9 @@ function getSAProcessConfigFormDataFromFetchedElement(processConfig, name, descr
12
12
  name,
13
13
  description: description ?? void 0,
14
14
  modifications: processConfig.modifications.map((modification) => ({
15
- modification: [{ id: modification.id, name: modification.name }]
15
+ modification: [{ id: modification.id, name: modification.name }],
16
+ description: modification.description ?? "",
17
+ active: modification.active
16
18
  })),
17
19
  securityAnalysisParameters: [processConfig.securityAnalysisParameters],
18
20
  loadflowParameters: [processConfig.loadflowParameters]
@@ -23,7 +25,11 @@ function getSAProcessConfigBackendFromFormData(formData) {
23
25
  processType: ProcessType.SECURITY_ANALYSIS,
24
26
  loadflowParametersUuid: formData.loadflowParameters[0].id,
25
27
  securityAnalysisParametersUuid: formData.securityAnalysisParameters[0].id,
26
- modificationUuids: formData.modifications.map((modification) => modification.modification[0].id)
28
+ modifications: formData.modifications.map((row) => ({
29
+ modificationUuid: row.modification[0].id,
30
+ description: row.description ?? null,
31
+ active: row.active
32
+ }))
27
33
  };
28
34
  }
29
35
  const updateSAProcessConfigFormSchema = yup.object().shape({
@@ -36,7 +42,9 @@ const updateSAProcessConfigFormSchema = yup.object().shape({
36
42
  id: yup.string().required(),
37
43
  name: yup.string().required()
38
44
  }).required()
39
- ).length(1, YUP_REQUIRED)
45
+ ).length(1, YUP_REQUIRED),
46
+ description: yup.string().nullable(),
47
+ active: yup.boolean().required()
40
48
  })
41
49
  ),
42
50
  [FieldConstants.LOADFLOW_PARAMETERS]: yup.array().required().of(yup.object().shape({ id: yup.string().required(), name: yup.string().required() })).length(1, YUP_REQUIRED),
@@ -45,18 +53,18 @@ const updateSAProcessConfigFormSchema = yup.object().shape({
45
53
  async function toSAProcessConfig(persistedProcessConfig) {
46
54
  const { processConfig } = persistedProcessConfig;
47
55
  const allUuids = /* @__PURE__ */ new Set([
48
- ...processConfig.modificationUuids,
56
+ ...processConfig.modifications.map((modification) => modification.modificationUuid),
49
57
  processConfig.securityAnalysisParametersUuid,
50
58
  processConfig.loadflowParametersUuid
51
59
  ]);
52
60
  const elementNamesByUuid = await fetchElementNames(allUuids);
53
61
  return {
54
62
  processType: processConfig.processType,
55
- modifications: processConfig.modificationUuids.map((uuid) => ({
56
- id: uuid,
57
- name: elementNamesByUuid[uuid],
58
- enabled: true,
59
- description: void 0
63
+ modifications: processConfig.modifications.map((modification) => ({
64
+ id: modification.modificationUuid,
65
+ name: elementNamesByUuid[modification.modificationUuid],
66
+ active: modification.active,
67
+ description: modification.description ?? void 0
60
68
  })),
61
69
  securityAnalysisParameters: {
62
70
  id: processConfig.securityAnalysisParametersUuid,
@@ -22,6 +22,7 @@ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
22
22
  import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
23
23
  import "@material-symbols/svg-400/outlined/add_notes.svg?react";
24
24
  import "../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
25
+ import { DESCRIPTION, ACTIVE } from "../../components/ui/reactHookForm/constants.js";
25
26
  import "../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
26
27
  import "../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
27
28
  import "../../components/ui/treeViewFinder/TreeViewFinder.js";
@@ -33,6 +34,7 @@ import "react-resizable-panels";
33
34
  import "react-papaparse";
34
35
  import { DndTable } from "../../components/composite/dnd-table/dnd-table.js";
35
36
  import { DndColumnType } from "../../components/composite/dnd-table/dnd-table.type.js";
37
+ import { getDefaultRowData } from "../../components/composite/dnd-table/dnd-table-utils.js";
36
38
  import "autosuggest-highlight/match";
37
39
  import "autosuggest-highlight/parse";
38
40
  import "clsx";
@@ -71,7 +73,7 @@ function UpdateProcessConfigModifications({ name }) {
71
73
  name: `${name}[${rowIndex}].modification`,
72
74
  allowMultiSelect: false,
73
75
  elementType: ElementType.MODIFICATION,
74
- titleId: "modifications",
76
+ titleId: "process_config/modifications",
75
77
  label: void 0
76
78
  }
77
79
  ),
@@ -86,10 +88,31 @@ function UpdateProcessConfigModifications({ name }) {
86
88
  editable: true,
87
89
  label: intl.formatMessage({ id: "process_config/modifications" }),
88
90
  component: modificationSelector
91
+ },
92
+ {
93
+ label: intl.formatMessage({ id: "description" }),
94
+ sxHeader: { textAlign: "center" },
95
+ dataKey: DESCRIPTION,
96
+ initialValue: "",
97
+ editable: true,
98
+ width: "8rem",
99
+ type: DndColumnType.DESCRIPTIONS
100
+ },
101
+ {
102
+ label: intl.formatMessage({ id: "Active" }),
103
+ sxHeader: { textAlign: "center" },
104
+ dataKey: ACTIVE,
105
+ initialValue: true,
106
+ editable: true,
107
+ width: "4rem",
108
+ type: DndColumnType.SWITCH
89
109
  }
90
110
  ];
91
111
  }, [modificationSelector, name, intl]);
92
- const createModification = () => [{ modification: [] }];
112
+ const createModification = useCallback(
113
+ () => [{ ...getDefaultRowData(columnsDefinition), modification: [] }],
114
+ [columnsDefinition]
115
+ );
93
116
  return /* @__PURE__ */ jsx(
94
117
  DndTable,
95
118
  {
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ import { SubmitButton } from "./components/ui/reactHookForm/utils/SubmitButton.j
43
43
  import { TextFieldWithAdornment } from "./components/ui/reactHookForm/utils/TextFieldWithAdornment.js";
44
44
  import { genHelperError, gridItem, identity, isFieldRequired, toFloatOrNullValue } from "./components/ui/reactHookForm/utils/functions.js";
45
45
  import { HelperPreviousValue } from "./components/ui/reactHookForm/utils/HelperPreviousValue.js";
46
- import { DESCRIPTION, DIRECTORY_ITEM, DIRECTORY_ITEM_FULL_PATH, DIRECTORY_ITEM_ID, NAME } from "./components/ui/reactHookForm/constants.js";
46
+ import { ACTIVE, DESCRIPTION, DIRECTORY_ITEM, DIRECTORY_ITEM_FULL_PATH, DIRECTORY_ITEM_ID, NAME } from "./components/ui/reactHookForm/constants.js";
47
47
  import { ExpandableInput } from "./components/ui/reactHookForm/expandableInput/ExpandableInput.js";
48
48
  import { CountrySelectionInput } from "./components/ui/reactHookForm/CountrySelectionInput.js";
49
49
  import { CheckboxNullableInput } from "./components/ui/reactHookForm/CheckboxNullableInput.js";
@@ -225,7 +225,7 @@ import { COLUMNS_DEFINITIONS_HVDCS, COLUMNS_DEFINITIONS_INJECTIONS, COLUMNS_DEFI
225
225
  import { DynamicSimulationInline } from "./features/parameters/dynamic-simulation/dynamic-simulation-inline.js";
226
226
  import { CONTINGENCIES_LIST_INFOS, CONTINGENCIES_START_TIME, SCENARIO_DURATION } from "./features/parameters/dynamic-security-analysis/constants.js";
227
227
  import { DynamicSecurityAnalysisInline } from "./features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js";
228
- import { ACCURACY, ACTIVE, CALCULATION_TYPE, LOADS_VARIATIONS, LOAD_FILTERS, LOAD_INCREASE_START_TIME, LOAD_INCREASE_STOP_TIME, LOAD_MODELS_RULE, MARGIN_CALCULATION_START_TIME, START_TIME, STOP_TIME, VARIATION } from "./features/parameters/dynamic-margin-calculation/constants.js";
228
+ import { ACCURACY, CALCULATION_TYPE, LOADS_VARIATIONS, LOAD_FILTERS, LOAD_INCREASE_START_TIME, LOAD_INCREASE_STOP_TIME, LOAD_MODELS_RULE, MARGIN_CALCULATION_START_TIME, START_TIME, STOP_TIME, VARIATION } from "./features/parameters/dynamic-margin-calculation/constants.js";
229
229
  import { DynamicMarginCalculationInline } from "./features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js";
230
230
  import { getTabIndicatorStyle, getTabStyle, parametersStyles } from "./features/parameters/parameters-style.js";
231
231
  import { filledTextField, italicFontTextField, standardTextField } from "./features/network-modifications/common/form.utils.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.251.0",
3
+ "version": "0.252.0",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "author": "gridsuite team",
6
6
  "homepage": "https://github.com/gridsuite",