@gridsuite/commons-ui 0.247.0 → 0.249.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 (75) hide show
  1. package/dist/components/composite/filter/expert/ExpertFilterForm.js +2 -2
  2. package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js +4 -6
  3. package/dist/components/ui/reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts +1 -1
  4. package/dist/components/ui/reactHookForm/selectInputs/InputWithPopupConfirmation.js +4 -3
  5. package/dist/features/index.js +8 -9
  6. package/dist/features/network-modifications/common/currentLimits/LimitsPane.js +6 -5
  7. package/dist/features/parameters/common/constants.d.ts +0 -6
  8. package/dist/features/parameters/common/constants.js +0 -12
  9. package/dist/features/parameters/common/index.js +2 -10
  10. package/dist/features/parameters/common/limitreductions/columns-definitions.d.ts +0 -8
  11. package/dist/features/parameters/common/limitreductions/columns-definitions.js +0 -17
  12. package/dist/features/parameters/common/limitreductions/index.js +1 -3
  13. package/dist/features/parameters/common/parameter-field.js +0 -1
  14. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +0 -1
  15. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +0 -1
  16. package/dist/features/parameters/dynamic-margin-calculation/use-dynamic-margin-calculation-parameters-form.js +0 -1
  17. package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +0 -1
  18. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +0 -1
  19. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +0 -1
  20. package/dist/features/parameters/dynamic-security-analysis/use-dynamic-security-analysis-parameters-form.js +0 -1
  21. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +0 -1
  22. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +0 -1
  23. package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.js +0 -1
  24. package/dist/features/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.js +0 -1
  25. package/dist/features/parameters/index.js +8 -9
  26. package/dist/features/parameters/loadflow/load-flow-advanced-parameters.js +0 -1
  27. package/dist/features/parameters/loadflow/load-flow-general-parameters.js +0 -1
  28. package/dist/features/parameters/loadflow/load-flow-parameters-content.js +0 -1
  29. package/dist/features/parameters/loadflow/load-flow-parameters-header.js +0 -1
  30. package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +0 -1
  31. package/dist/features/parameters/loadflow/load-flow-provider-specific-parameters.js +0 -1
  32. package/dist/features/parameters/network-visualizations/map-parameters.js +0 -1
  33. package/dist/features/parameters/network-visualizations/network-visualizations-form.js +0 -1
  34. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +0 -1
  35. package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.js +0 -1
  36. package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.js +0 -1
  37. package/dist/features/parameters/security-analysis/columns-definitions.js +14 -13
  38. package/dist/features/parameters/security-analysis/constants.d.ts +16 -0
  39. package/dist/features/parameters/security-analysis/constants.js +19 -0
  40. package/dist/features/parameters/security-analysis/index.d.ts +1 -0
  41. package/dist/features/parameters/security-analysis/index.js +8 -1
  42. package/dist/features/parameters/security-analysis/security-analysis-parameters-content.d.ts +14 -0
  43. package/dist/features/parameters/security-analysis/{security-analysis-parameters-selector.js → security-analysis-parameters-content.js} +58 -28
  44. package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.d.ts +1 -1
  45. package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.js +2 -4
  46. package/dist/features/parameters/security-analysis/security-analysis-parameters-form.d.ts +1 -2
  47. package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +10 -22
  48. package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.d.ts +1 -1
  49. package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +2 -5
  50. package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.js +6 -13
  51. package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.js +15 -14
  52. package/dist/features/parameters/sensi/columns-definitions.js +0 -1
  53. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.js +0 -1
  54. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +0 -1
  55. package/dist/features/parameters/sensi/sensitivity-parameters-selector.js +0 -1
  56. package/dist/features/parameters/sensi/utils.js +0 -1
  57. package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +0 -1
  58. package/dist/features/parameters/short-circuit/short-circuit-parameters-content.js +0 -1
  59. package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.js +0 -1
  60. package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.js +0 -1
  61. package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +0 -1
  62. package/dist/features/parameters/short-circuit/short-circuit-study-area-tab-panel.js +0 -1
  63. package/dist/features/parameters/short-circuit/use-short-circuit-parameters-form.js +0 -1
  64. package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +0 -1
  65. package/dist/features/parameters/voltage-init/general-parameters.js +0 -1
  66. package/dist/features/parameters/voltage-init/voltage-init-parameters-form.js +0 -1
  67. package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +0 -1
  68. package/dist/features/process-configs/security-analysis/update-sa-process-config.js +0 -1
  69. package/dist/index.js +8 -9
  70. package/dist/translations/en/parameters.d.ts +2 -0
  71. package/dist/translations/en/parameters.js +2 -0
  72. package/dist/translations/fr/parameters.d.ts +2 -0
  73. package/dist/translations/fr/parameters.js +2 -0
  74. package/package.json +1 -1
  75. package/dist/features/parameters/security-analysis/security-analysis-parameters-selector.d.ts +0 -8
@@ -30,7 +30,7 @@ import "mui-nested-menu";
30
30
  import "react-resizable-panels";
31
31
  import "react-papaparse";
32
32
  import "../common/parameter-layout/parameter-layout-provider.js";
33
- import { PARAM_SA_PROVIDER, PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD } from "../common/constants.js";
33
+ import { PROVIDER } from "../common/constants.js";
34
34
  import "../common/widget/parameter-line-slider.js";
35
35
  import { getLimitReductionsFormSchema, toFormValuesLimitReductions } from "../common/limitreductions/columns-definitions.js";
36
36
  import "../common/contingency-table/contingency-table.js";
@@ -38,20 +38,21 @@ import { getContingencyListsInfosFormSchema, toFormValuesContingencyListsInfos }
38
38
  import "@hookform/resolvers/yup";
39
39
  import "../../../components/composite/filter/HeaderFilterForm.js";
40
40
  import { getNameElementEditorSchema } from "../common/name-element-editor/name-element-editor-utils.js";
41
+ import { HIGH_VOLTAGE_ABSOLUTE_THRESHOLD, HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD, LOW_VOLTAGE_ABSOLUTE_THRESHOLD, LOW_VOLTAGE_PROPORTIONAL_THRESHOLD, FLOW_PROPORTIONAL_THRESHOLD } from "./constants.js";
41
42
  const getSAParametersFormSchema = (name, limitReductions) => {
42
43
  const providerSchema = yup.object().shape({
43
- [PARAM_SA_PROVIDER]: yup.string().required()
44
+ [PROVIDER]: yup.string().required()
44
45
  });
45
46
  const contingencyListsInfosSchema = getContingencyListsInfosFormSchema();
46
47
  const limitReductionsSchema = getLimitReductionsFormSchema(
47
48
  limitReductions?.length ? limitReductions[0].temporaryLimitReductions.length : 0
48
49
  );
49
50
  const thresholdsSchema = yup.object().shape({
50
- [PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD]: yup.number().min(0, "NormalizedPercentage").max(100, "NormalizedPercentage").required(),
51
- [PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD]: yup.number().min(0, "NormalizedPercentage").max(100, "NormalizedPercentage").required(),
52
- [PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD]: yup.number().required(),
53
- [PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD]: yup.number().min(0, "NormalizedPercentage").max(100, "NormalizedPercentage").required(),
54
- [PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD]: yup.number().required()
51
+ [FLOW_PROPORTIONAL_THRESHOLD]: yup.number().min(0, "NormalizedPercentage").max(100, "NormalizedPercentage").required(),
52
+ [LOW_VOLTAGE_PROPORTIONAL_THRESHOLD]: yup.number().min(0, "NormalizedPercentage").max(100, "NormalizedPercentage").required(),
53
+ [LOW_VOLTAGE_ABSOLUTE_THRESHOLD]: yup.number().required(),
54
+ [HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD]: yup.number().min(0, "NormalizedPercentage").max(100, "NormalizedPercentage").required(),
55
+ [HIGH_VOLTAGE_ABSOLUTE_THRESHOLD]: yup.number().required()
55
56
  });
56
57
  return yup.object().shape({
57
58
  ...providerSchema.fields,
@@ -61,15 +62,15 @@ const getSAParametersFormSchema = (name, limitReductions) => {
61
62
  }).concat(getNameElementEditorSchema(name));
62
63
  };
63
64
  const toFormValueSaParameters = (params) => ({
64
- [PARAM_SA_PROVIDER]: params.provider,
65
+ [PROVIDER]: params.provider,
65
66
  ...toFormValuesContingencyListsInfos(params?.contingencyListsInfos ?? []),
66
67
  ...toFormValuesLimitReductions(params?.limitReductions),
67
68
  // SA specific form values
68
- [PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD]: params.flowProportionalThreshold * 100,
69
- [PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD]: params.lowVoltageProportionalThreshold * 100,
70
- [PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD]: params.lowVoltageAbsoluteThreshold,
71
- [PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD]: params.highVoltageProportionalThreshold * 100,
72
- [PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD]: params.highVoltageAbsoluteThreshold
69
+ [FLOW_PROPORTIONAL_THRESHOLD]: params.flowProportionalThreshold * 100,
70
+ [LOW_VOLTAGE_PROPORTIONAL_THRESHOLD]: params.lowVoltageProportionalThreshold * 100,
71
+ [LOW_VOLTAGE_ABSOLUTE_THRESHOLD]: params.lowVoltageAbsoluteThreshold,
72
+ [HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD]: params.highVoltageProportionalThreshold * 100,
73
+ [HIGH_VOLTAGE_ABSOLUTE_THRESHOLD]: params.highVoltageAbsoluteThreshold
73
74
  });
74
75
  export {
75
76
  getSAParametersFormSchema,
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) 2025, 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 const FLOW_PROPORTIONAL_THRESHOLD = "flowProportionalThreshold";
8
+ export declare const LOW_VOLTAGE_PROPORTIONAL_THRESHOLD = "lowVoltageProportionalThreshold";
9
+ export declare const LOW_VOLTAGE_ABSOLUTE_THRESHOLD = "lowVoltageAbsoluteThreshold";
10
+ export declare const HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD = "highVoltageProportionalThreshold";
11
+ export declare const HIGH_VOLTAGE_ABSOLUTE_THRESHOLD = "highVoltageAbsoluteThreshold";
12
+ export declare enum TabValues {
13
+ Contingencies = 0,
14
+ Aggravation = 1,
15
+ LimitReductions = 2
16
+ }
@@ -0,0 +1,19 @@
1
+ const FLOW_PROPORTIONAL_THRESHOLD = "flowProportionalThreshold";
2
+ const LOW_VOLTAGE_PROPORTIONAL_THRESHOLD = "lowVoltageProportionalThreshold";
3
+ const LOW_VOLTAGE_ABSOLUTE_THRESHOLD = "lowVoltageAbsoluteThreshold";
4
+ const HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD = "highVoltageProportionalThreshold";
5
+ const HIGH_VOLTAGE_ABSOLUTE_THRESHOLD = "highVoltageAbsoluteThreshold";
6
+ var TabValues = /* @__PURE__ */ ((TabValues2) => {
7
+ TabValues2[TabValues2["Contingencies"] = 0] = "Contingencies";
8
+ TabValues2[TabValues2["Aggravation"] = 1] = "Aggravation";
9
+ TabValues2[TabValues2["LimitReductions"] = 2] = "LimitReductions";
10
+ return TabValues2;
11
+ })(TabValues || {});
12
+ export {
13
+ FLOW_PROPORTIONAL_THRESHOLD,
14
+ HIGH_VOLTAGE_ABSOLUTE_THRESHOLD,
15
+ HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD,
16
+ LOW_VOLTAGE_ABSOLUTE_THRESHOLD,
17
+ LOW_VOLTAGE_PROPORTIONAL_THRESHOLD,
18
+ TabValues
19
+ };
@@ -6,3 +6,4 @@
6
6
  */
7
7
  export * from './security-analysis-parameters-inline';
8
8
  export * from './security-analysis-parameters-dialog';
9
+ export * from './constants';
@@ -1,6 +1,13 @@
1
1
  import { SecurityAnalysisParametersInline } from "./security-analysis-parameters-inline.js";
2
2
  import { SecurityAnalysisParametersDialog } from "./security-analysis-parameters-dialog.js";
3
+ import { FLOW_PROPORTIONAL_THRESHOLD, HIGH_VOLTAGE_ABSOLUTE_THRESHOLD, HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD, LOW_VOLTAGE_ABSOLUTE_THRESHOLD, LOW_VOLTAGE_PROPORTIONAL_THRESHOLD, TabValues } from "./constants.js";
3
4
  export {
5
+ FLOW_PROPORTIONAL_THRESHOLD,
6
+ HIGH_VOLTAGE_ABSOLUTE_THRESHOLD,
7
+ HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD,
8
+ LOW_VOLTAGE_ABSOLUTE_THRESHOLD,
9
+ LOW_VOLTAGE_PROPORTIONAL_THRESHOLD,
4
10
  SecurityAnalysisParametersDialog,
5
- SecurityAnalysisParametersInline
11
+ SecurityAnalysisParametersInline,
12
+ TabValues
6
13
  };
@@ -0,0 +1,14 @@
1
+ import { ForwardedRef } from 'react';
2
+ import { UUID } from 'node:crypto';
3
+ import { ILimitReductionsByVoltageLevel, ContingencyTableApi } from '../common';
4
+ import { ContingencyCount } from '../common/contingency-table/types';
5
+ import { SAParametersEnriched } from '../../../utils/types';
6
+ export declare function SecurityAnalysisParametersContent({ params, currentProvider, defaultLimitReductions, showContingencyCount, fetchContingencyCount, contingencyTableApiRef, isBuiltCurrentNode, }: Readonly<{
7
+ params: SAParametersEnriched | null;
8
+ currentProvider?: string;
9
+ defaultLimitReductions: ILimitReductionsByVoltageLevel[];
10
+ showContingencyCount: boolean;
11
+ fetchContingencyCount?: (contingencyListIds: UUID[] | null, abortSignal: AbortSignal) => Promise<ContingencyCount>;
12
+ contingencyTableApiRef?: ForwardedRef<ContingencyTableApi>;
13
+ isBuiltCurrentNode?: boolean;
14
+ }>): import("react").JSX.Element;
@@ -1,7 +1,7 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
1
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { useState, useCallback, useMemo, useEffect } from "react";
3
3
  import { FormattedMessage } from "react-intl";
4
- import { Grid2, Tabs, Tab } from "@mui/material";
4
+ import { Tabs, Tab } from "@mui/material";
5
5
  import "@mui/icons-material";
6
6
  import { TabPanel } from "../common/parameters.js";
7
7
  import "../../../components/ui/overflowableText/OverflowableText.js";
@@ -31,10 +31,10 @@ import "mui-nested-menu";
31
31
  import "react-resizable-panels";
32
32
  import "react-papaparse";
33
33
  import "../common/parameter-layout/parameter-layout-provider.js";
34
+ import { CONTINGENCY_LISTS_INFOS } from "../common/constants.js";
34
35
  import "../common/widget/parameter-line-slider.js";
35
- import { TabValues, TAB_INFO } from "../common/limitreductions/columns-definitions.js";
36
36
  import { LimitReductionsTableForm } from "../common/limitreductions/limit-reductions-table-form.js";
37
- import "../common/contingency-table/contingency-table.js";
37
+ import { ContingencyTable } from "../common/contingency-table/contingency-table.js";
38
38
  import "../common/contingency-table/columns-definitions.js";
39
39
  import "@hookform/resolvers/yup";
40
40
  import "../../../components/composite/filter/HeaderFilterForm.js";
@@ -43,45 +43,75 @@ import "../loadflow/load-flow-parameters-context.js";
43
43
  import "../loadflow/load-flow-advanced-parameters.js";
44
44
  import "../loadflow/load-flow-parameters-content.js";
45
45
  import { ViolationsHidingParameters } from "./security-analysis-violations-hiding.js";
46
- function SecurityAnalysisParametersSelector({
46
+ import { TabValues } from "./constants.js";
47
+ const styles = {
48
+ tab: {
49
+ fontSize: 17,
50
+ fontWeight: "bold"
51
+ }
52
+ };
53
+ function SecurityAnalysisParametersContent({
47
54
  params,
48
55
  currentProvider,
49
- isDeveloperMode,
50
- defaultLimitReductions
56
+ defaultLimitReductions,
57
+ showContingencyCount,
58
+ fetchContingencyCount,
59
+ contingencyTableApiRef,
60
+ isBuiltCurrentNode
51
61
  }) {
52
- const [tabSelected, setTabSelected] = useState(TabValues.General);
62
+ const [tabSelected, setTabSelected] = useState(TabValues.Contingencies);
53
63
  const handleTabChange = useCallback((event, newValue) => {
54
64
  setTabSelected(newValue);
55
65
  }, []);
56
66
  const tabValue = useMemo(() => {
57
- return tabSelected === TabValues.LimitReductions && !params?.limitReductions ? TabValues.General : tabSelected;
67
+ return tabSelected === TabValues.LimitReductions && !params?.limitReductions ? TabValues.Contingencies : tabSelected;
58
68
  }, [params, tabSelected]);
59
69
  useEffect(() => {
60
- if (currentProvider !== PARAM_PROVIDER_OPENLOADFLOW) {
61
- setTabSelected(TabValues.General);
70
+ if (currentProvider !== PARAM_PROVIDER_OPENLOADFLOW && tabSelected === TabValues.LimitReductions) {
71
+ setTabSelected(TabValues.Contingencies);
62
72
  }
63
- }, [currentProvider]);
64
- return /* @__PURE__ */ jsxs(Grid2, { sx: { width: "100%" }, children: [
65
- /* @__PURE__ */ jsx(Tabs, { value: tabValue, onChange: handleTabChange, children: TAB_INFO.filter((t) => isDeveloperMode || !t.developerModeOnly).map(
66
- (tab, index) => (tab.label !== TabValues[TabValues.LimitReductions] || currentProvider === PARAM_PROVIDER_OPENLOADFLOW && params?.limitReductions) && /* @__PURE__ */ jsx(
73
+ }, [currentProvider, tabSelected]);
74
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
75
+ /* @__PURE__ */ jsxs(Tabs, { value: tabValue, onChange: handleTabChange, children: [
76
+ /* @__PURE__ */ jsx(
77
+ Tab,
78
+ {
79
+ label: /* @__PURE__ */ jsx(FormattedMessage, { id: TabValues[TabValues.Contingencies] }),
80
+ value: TabValues.Contingencies,
81
+ sx: styles.tab
82
+ }
83
+ ),
84
+ /* @__PURE__ */ jsx(
85
+ Tab,
86
+ {
87
+ label: /* @__PURE__ */ jsx(FormattedMessage, { id: TabValues[TabValues.Aggravation] }),
88
+ value: TabValues.Aggravation,
89
+ sx: styles.tab
90
+ }
91
+ ),
92
+ currentProvider === PARAM_PROVIDER_OPENLOADFLOW && params?.limitReductions && /* @__PURE__ */ jsx(
67
93
  Tab,
68
94
  {
69
- label: /* @__PURE__ */ jsx(FormattedMessage, { id: tab.label }),
70
- value: index,
71
- sx: {
72
- fontSize: 17,
73
- fontWeight: "bold"
74
- }
75
- },
76
- tab.label
95
+ label: /* @__PURE__ */ jsx(FormattedMessage, { id: TabValues[TabValues.LimitReductions] }),
96
+ value: TabValues.LimitReductions,
97
+ sx: styles.tab
98
+ }
77
99
  )
100
+ ] }),
101
+ /* @__PURE__ */ jsx(TabPanel, { value: tabValue, index: TabValues.Contingencies, keepState: true, children: /* @__PURE__ */ jsx(
102
+ ContingencyTable,
103
+ {
104
+ name: CONTINGENCY_LISTS_INFOS,
105
+ showContingencyCount,
106
+ fetchContingencyCount,
107
+ isBuiltCurrentNode,
108
+ ref: contingencyTableApiRef
109
+ }
78
110
  ) }),
79
- TAB_INFO.filter((t) => isDeveloperMode || !t.developerModeOnly).map((tab, index) => /* @__PURE__ */ jsxs(TabPanel, { value: tabValue, index, children: [
80
- tabValue === TabValues.General && /* @__PURE__ */ jsx(ViolationsHidingParameters, {}),
81
- tabValue === TabValues.LimitReductions && currentProvider === PARAM_PROVIDER_OPENLOADFLOW && params?.limitReductions && /* @__PURE__ */ jsx(Grid2, { sx: { width: "100%" }, children: /* @__PURE__ */ jsx(LimitReductionsTableForm, { limits: params?.limitReductions ?? defaultLimitReductions }) })
82
- ] }, tab.label))
111
+ /* @__PURE__ */ jsx(TabPanel, { value: tabValue, index: TabValues.Aggravation, children: /* @__PURE__ */ jsx(ViolationsHidingParameters, {}) }),
112
+ /* @__PURE__ */ jsx(TabPanel, { value: tabValue, index: TabValues.LimitReductions, children: currentProvider === PARAM_PROVIDER_OPENLOADFLOW && params?.limitReductions && /* @__PURE__ */ jsx(LimitReductionsTableForm, { limits: params.limitReductions ?? defaultLimitReductions }) })
83
113
  ] });
84
114
  }
85
115
  export {
86
- SecurityAnalysisParametersSelector
116
+ SecurityAnalysisParametersContent
87
117
  };
@@ -1,2 +1,2 @@
1
1
  import { ParametersEditionDialogProps } from '../common';
2
- export declare function SecurityAnalysisParametersDialog({ id, open, onClose, titleId, name, description, activeDirectory, language, userProfile, isDeveloperMode, }: Readonly<ParametersEditionDialogProps>): import("react").JSX.Element;
2
+ export declare function SecurityAnalysisParametersDialog({ id, open, onClose, titleId, name, description, activeDirectory, language, userProfile, }: Readonly<ParametersEditionDialogProps>): import("react").JSX.Element;
@@ -46,8 +46,7 @@ function SecurityAnalysisParametersDialog({
46
46
  description,
47
47
  activeDirectory,
48
48
  language,
49
- userProfile,
50
- isDeveloperMode = false
49
+ userProfile
51
50
  }) {
52
51
  const parametersBackend = useParametersBackend(
53
52
  userProfile,
@@ -99,8 +98,7 @@ function SecurityAnalysisParametersDialog({
99
98
  SecurityAnalysisParametersForm,
100
99
  {
101
100
  securityAnalysisMethods,
102
- showContingencyCount: false,
103
- isDeveloperMode
101
+ showContingencyCount: false
104
102
  }
105
103
  ) : /* @__PURE__ */ jsx(LinearProgress, {})
106
104
  ]
@@ -9,6 +9,5 @@ export type SecurityAnalysisParametersFormProps = {
9
9
  fetchContingencyCount?: (contingencyListIds: UUID[] | null, abortSignal: AbortSignal) => Promise<ContingencyCount>;
10
10
  contingencyTableApiRef?: ForwardedRef<ContingencyTableApi>;
11
11
  isBuiltCurrentNode?: boolean;
12
- isDeveloperMode: boolean;
13
12
  };
14
- export declare function SecurityAnalysisParametersForm({ securityAnalysisMethods, showContingencyCount, fetchContingencyCount, contingencyTableApiRef, isBuiltCurrentNode, isDeveloperMode, }: Readonly<SecurityAnalysisParametersFormProps>): import("react").JSX.Element;
13
+ export declare function SecurityAnalysisParametersForm({ securityAnalysisMethods, showContingencyCount, fetchContingencyCount, contingencyTableApiRef, isBuiltCurrentNode, }: Readonly<SecurityAnalysisParametersFormProps>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { Stack, Box } from "@mui/material";
2
+ import { Stack } from "@mui/material";
3
3
  import { parametersStyles } from "../parameters-style.js";
4
4
  import "@mui/icons-material";
5
5
  import "react";
@@ -30,45 +30,33 @@ import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
30
30
  import "mui-nested-menu";
31
31
  import "react-resizable-panels";
32
32
  import "react-papaparse";
33
- import { LineSeparator } from "../common/line-separator.js";
34
33
  import "../common/parameter-layout/parameter-layout-provider.js";
35
- import { CONTINGENCY_LISTS_INFOS } from "../common/constants.js";
36
34
  import { ProviderParam } from "../common/provider-param.js";
37
35
  import "../common/widget/parameter-line-slider.js";
38
- import "../common/limitreductions/columns-definitions.js";
39
- import { ContingencyTable } from "../common/contingency-table/contingency-table.js";
36
+ import "../common/contingency-table/contingency-table.js";
40
37
  import "../common/contingency-table/columns-definitions.js";
41
38
  import "@hookform/resolvers/yup";
42
39
  import "../../../components/composite/filter/HeaderFilterForm.js";
43
- import { SecurityAnalysisParametersSelector } from "./security-analysis-parameters-selector.js";
40
+ import { SecurityAnalysisParametersContent } from "./security-analysis-parameters-content.js";
44
41
  function SecurityAnalysisParametersForm({
45
42
  securityAnalysisMethods,
46
43
  showContingencyCount,
47
44
  fetchContingencyCount,
48
45
  contingencyTableApiRef,
49
- isBuiltCurrentNode,
50
- isDeveloperMode
46
+ isBuiltCurrentNode
51
47
  }) {
52
48
  return /* @__PURE__ */ jsxs(Stack, { sx: parametersStyles.scrollableGrid, children: [
53
49
  /* @__PURE__ */ jsx(ProviderParam, { options: securityAnalysisMethods.formattedProviders, id: "Sa", sx: { paddingBottom: 1 } }),
54
50
  /* @__PURE__ */ jsx(
55
- ContingencyTable,
56
- {
57
- name: CONTINGENCY_LISTS_INFOS,
58
- showContingencyCount,
59
- fetchContingencyCount,
60
- isBuiltCurrentNode,
61
- ref: contingencyTableApiRef
62
- }
63
- ),
64
- /* @__PURE__ */ jsx(Box, { paddingTop: 4, paddingBottom: 2, children: /* @__PURE__ */ jsx(LineSeparator, {}) }),
65
- /* @__PURE__ */ jsx(
66
- SecurityAnalysisParametersSelector,
51
+ SecurityAnalysisParametersContent,
67
52
  {
68
53
  params: securityAnalysisMethods.params,
69
54
  currentProvider: securityAnalysisMethods.watchProvider?.trim(),
70
- isDeveloperMode,
71
- defaultLimitReductions: securityAnalysisMethods.defaultLimitReductions
55
+ defaultLimitReductions: securityAnalysisMethods.defaultLimitReductions,
56
+ showContingencyCount,
57
+ fetchContingencyCount,
58
+ contingencyTableApiRef,
59
+ isBuiltCurrentNode
72
60
  }
73
61
  )
74
62
  ] });
@@ -1,7 +1,7 @@
1
1
  import { UUID } from 'node:crypto';
2
2
  import { ComputingType, UseParametersBackendReturnProps } from '../../../utils';
3
3
  import { ContingencyCount } from '../common/contingency-table/types';
4
- export declare function SecurityAnalysisParametersInline({ studyUuid, parametersBackend, fetchContingencyCount, isBuiltCurrentNode, setHaveDirtyFields, isDeveloperMode, }: Readonly<{
4
+ export declare function SecurityAnalysisParametersInline({ studyUuid, parametersBackend, fetchContingencyCount, isBuiltCurrentNode, setHaveDirtyFields, }: Readonly<{
5
5
  studyUuid: UUID | null;
6
6
  parametersBackend: UseParametersBackendReturnProps<ComputingType.SECURITY_ANALYSIS>;
7
7
  fetchContingencyCount: (contingencyListIds: UUID[] | null, abortSignal: AbortSignal) => Promise<ContingencyCount>;
@@ -36,7 +36,6 @@ import "mui-nested-menu";
36
36
  import "react-resizable-panels";
37
37
  import "react-papaparse";
38
38
  import "../common/widget/parameter-line-slider.js";
39
- import "../common/limitreductions/columns-definitions.js";
40
39
  import "../common/contingency-table/contingency-table.js";
41
40
  import "../common/contingency-table/columns-definitions.js";
42
41
  import "@hookform/resolvers/yup";
@@ -49,8 +48,7 @@ function SecurityAnalysisParametersInline({
49
48
  parametersBackend,
50
49
  fetchContingencyCount,
51
50
  isBuiltCurrentNode,
52
- setHaveDirtyFields,
53
- isDeveloperMode
51
+ setHaveDirtyFields
54
52
  }) {
55
53
  const securityAnalysisMethods = useSecurityAnalysisParametersForm(parametersBackend, null, null, null);
56
54
  const { resetParameters } = parametersBackend;
@@ -106,8 +104,7 @@ function SecurityAnalysisParametersInline({
106
104
  showContingencyCount: true,
107
105
  fetchContingencyCount,
108
106
  contingencyTableApiRef,
109
- isBuiltCurrentNode,
110
- isDeveloperMode
107
+ isBuiltCurrentNode
111
108
  }
112
109
  )
113
110
  }
@@ -32,14 +32,7 @@ import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
32
32
  import "mui-nested-menu";
33
33
  import "react-resizable-panels";
34
34
  import "react-papaparse";
35
- import "../common/parameter-layout/parameter-layout-provider.js";
36
- import { PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD, PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD } from "../common/constants.js";
37
- import "../common/widget/parameter-line-slider.js";
38
- import "../common/limitreductions/columns-definitions.js";
39
- import "../common/contingency-table/contingency-table.js";
40
- import "../common/contingency-table/columns-definitions.js";
41
- import "@hookform/resolvers/yup";
42
- import "../../../components/composite/filter/HeaderFilterForm.js";
35
+ import { FLOW_PROPORTIONAL_THRESHOLD, LOW_VOLTAGE_ABSOLUTE_THRESHOLD, LOW_VOLTAGE_PROPORTIONAL_THRESHOLD, HIGH_VOLTAGE_ABSOLUTE_THRESHOLD, HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD } from "./constants.js";
43
36
  function SecurityAnalysisFields({
44
37
  label,
45
38
  firstField,
@@ -85,7 +78,7 @@ const fieldsToShow = [
85
78
  {
86
79
  label: "securityAnalysis.current",
87
80
  firstField: {
88
- name: PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD,
81
+ name: FLOW_PROPORTIONAL_THRESHOLD,
89
82
  label: "%"
90
83
  },
91
84
  tooltipInfoId: "securityAnalysis.toolTip.current",
@@ -94,24 +87,24 @@ const fieldsToShow = [
94
87
  {
95
88
  label: "securityAnalysis.lowVoltage",
96
89
  firstField: {
97
- name: PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD,
90
+ name: LOW_VOLTAGE_PROPORTIONAL_THRESHOLD,
98
91
  label: "%"
99
92
  },
100
93
  secondField: {
101
94
  label: "kV",
102
- name: PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD
95
+ name: LOW_VOLTAGE_ABSOLUTE_THRESHOLD
103
96
  },
104
97
  tooltipInfoId: "securityAnalysis.toolTip.lowVoltage"
105
98
  },
106
99
  {
107
100
  label: "securityAnalysis.highVoltage",
108
101
  firstField: {
109
- name: PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD,
102
+ name: HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD,
110
103
  label: "%"
111
104
  },
112
105
  secondField: {
113
106
  label: "kV",
114
- name: PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD
107
+ name: HIGH_VOLTAGE_ABSOLUTE_THRESHOLD
115
108
  },
116
109
  tooltipInfoId: "securityAnalysis.toolTip.highVoltage"
117
110
  }
@@ -35,7 +35,7 @@ import "mui-nested-menu";
35
35
  import "react-resizable-panels";
36
36
  import "react-papaparse";
37
37
  import "../common/parameter-layout/parameter-layout-provider.js";
38
- import { PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD, CONTINGENCY_LISTS_INFOS, PARAM_SA_PROVIDER, CONTINGENCY_LISTS } from "../common/constants.js";
38
+ import { CONTINGENCY_LISTS_INFOS, PROVIDER, CONTINGENCY_LISTS } from "../common/constants.js";
39
39
  import "../common/widget/parameter-line-slider.js";
40
40
  import { LIMIT_REDUCTIONS_FORM, IST_FORM, LIMIT_DURATION_FORM, toFormValuesLimitReductions } from "../common/limitreductions/columns-definitions.js";
41
41
  import "../common/contingency-table/contingency-table.js";
@@ -45,6 +45,7 @@ import { getNameElementEditorEmptyFormData } from "../common/name-element-editor
45
45
  import { getSAParametersFormSchema, toFormValueSaParameters } from "./columns-definitions.js";
46
46
  import { ACTIVATED, DESCRIPTION, NAME, ID } from "../common/parameter-table-field/constants.js";
47
47
  import "react-dom";
48
+ import { HIGH_VOLTAGE_ABSOLUTE_THRESHOLD, HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD, LOW_VOLTAGE_ABSOLUTE_THRESHOLD, LOW_VOLTAGE_PROPORTIONAL_THRESHOLD, FLOW_PROPORTIONAL_THRESHOLD } from "./constants.js";
48
49
  const useSecurityAnalysisParametersForm = (parametersBackend, parametersUuid, name, description) => {
49
50
  const { providers, params, updateParameters, defaultLimitReductions } = parametersBackend;
50
51
  const previousWatchProviderRef = useRef(void 0);
@@ -61,19 +62,19 @@ const useSecurityAnalysisParametersForm = (parametersBackend, parametersUuid, na
61
62
  const formMethods = useForm({
62
63
  defaultValues: {
63
64
  ...getNameElementEditorEmptyFormData(name, description),
64
- [PARAM_SA_PROVIDER]: params?.provider,
65
+ [PROVIDER]: params?.provider,
65
66
  [CONTINGENCY_LISTS_INFOS]: [],
66
67
  [LIMIT_REDUCTIONS_FORM]: [],
67
- [PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD]: null,
68
- [PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD]: null,
69
- [PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD]: null,
70
- [PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD]: null,
71
- [PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD]: null
68
+ [FLOW_PROPORTIONAL_THRESHOLD]: null,
69
+ [LOW_VOLTAGE_PROPORTIONAL_THRESHOLD]: null,
70
+ [LOW_VOLTAGE_ABSOLUTE_THRESHOLD]: null,
71
+ [HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD]: null,
72
+ [HIGH_VOLTAGE_ABSOLUTE_THRESHOLD]: null
72
73
  },
73
74
  resolver: yupResolver(formSchema)
74
75
  });
75
76
  const { reset, watch } = formMethods;
76
- const watchProvider = watch(PARAM_SA_PROVIDER);
77
+ const watchProvider = watch(PROVIDER);
77
78
  const paramsLoaded = useMemo(() => !!params && !!watchProvider, [watchProvider, params]);
78
79
  const [paramsFormInitialized, setParamsFormInitialized] = useState(false);
79
80
  const toContingencyListsInfos = useCallback(
@@ -116,12 +117,12 @@ const useSecurityAnalysisParametersForm = (parametersBackend, parametersUuid, na
116
117
  const formatNewParams = useCallback(
117
118
  (formData) => {
118
119
  return {
119
- [PARAM_SA_PROVIDER]: formData[PARAM_SA_PROVIDER],
120
- [PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD]: formData[PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD] / 100,
121
- [PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD]: formData[PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD] / 100,
122
- [PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD]: formData[PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD],
123
- [PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD]: formData[PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD] / 100,
124
- [PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD]: formData[PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD],
120
+ [PROVIDER]: formData[PROVIDER],
121
+ [FLOW_PROPORTIONAL_THRESHOLD]: formData[FLOW_PROPORTIONAL_THRESHOLD] / 100,
122
+ [LOW_VOLTAGE_PROPORTIONAL_THRESHOLD]: formData[LOW_VOLTAGE_PROPORTIONAL_THRESHOLD] / 100,
123
+ [LOW_VOLTAGE_ABSOLUTE_THRESHOLD]: formData[LOW_VOLTAGE_ABSOLUTE_THRESHOLD],
124
+ [HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD]: formData[HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD] / 100,
125
+ [HIGH_VOLTAGE_ABSOLUTE_THRESHOLD]: formData[HIGH_VOLTAGE_ABSOLUTE_THRESHOLD],
125
126
  [CONTINGENCY_LISTS_INFOS]: toContingencyListsInfos(formData[CONTINGENCY_LISTS_INFOS]),
126
127
  limitReductions: toLimitReductions(formData[LIMIT_REDUCTIONS_FORM])
127
128
  };
@@ -34,7 +34,6 @@ import "react-papaparse";
34
34
  import "../common/parameter-layout/parameter-layout-provider.js";
35
35
  import { CONTINGENCIES } from "../common/constants.js";
36
36
  import "../common/widget/parameter-line-slider.js";
37
- import "../common/limitreductions/columns-definitions.js";
38
37
  import "../common/contingency-table/contingency-table.js";
39
38
  import "../common/contingency-table/columns-definitions.js";
40
39
  import "@hookform/resolvers/yup";
@@ -34,7 +34,6 @@ import { LineSeparator } from "../common/line-separator.js";
34
34
  import "../common/parameter-layout/parameter-layout-provider.js";
35
35
  import { ProviderParam } from "../common/provider-param.js";
36
36
  import "../common/widget/parameter-line-slider.js";
37
- import "../common/limitreductions/columns-definitions.js";
38
37
  import "../common/contingency-table/contingency-table.js";
39
38
  import "../common/contingency-table/columns-definitions.js";
40
39
  import "@hookform/resolvers/yup";
@@ -36,7 +36,6 @@ import "mui-nested-menu";
36
36
  import "react-resizable-panels";
37
37
  import "react-papaparse";
38
38
  import "../common/widget/parameter-line-slider.js";
39
- import "../common/limitreductions/columns-definitions.js";
40
39
  import "../common/contingency-table/contingency-table.js";
41
40
  import "../common/contingency-table/columns-definitions.js";
42
41
  import "@hookform/resolvers/yup";
@@ -33,7 +33,6 @@ import "react-resizable-panels";
33
33
  import "react-papaparse";
34
34
  import "../common/parameter-layout/parameter-layout-provider.js";
35
35
  import "../common/widget/parameter-line-slider.js";
36
- import "../common/limitreductions/columns-definitions.js";
37
36
  import "../common/contingency-table/contingency-table.js";
38
37
  import "../common/contingency-table/columns-definitions.js";
39
38
  import "@hookform/resolvers/yup";
@@ -37,7 +37,6 @@ import "react-papaparse";
37
37
  import "../common/parameter-layout/parameter-layout-provider.js";
38
38
  import { PROVIDER, CONTINGENCIES } from "../common/constants.js";
39
39
  import "../common/widget/parameter-line-slider.js";
40
- import "../common/limitreductions/columns-definitions.js";
41
40
  import "../common/contingency-table/contingency-table.js";
42
41
  import "../common/contingency-table/columns-definitions.js";
43
42
  import "@hookform/resolvers/yup";
@@ -43,7 +43,6 @@ import { TabPanel } from "../common/parameters.js";
43
43
  import "../common/parameter-layout/parameter-layout-provider.js";
44
44
  import { COMMON_PARAMETERS, SPECIFIC_PARAMETERS } from "../common/constants.js";
45
45
  import "../common/widget/parameter-line-slider.js";
46
- import "../common/limitreductions/columns-definitions.js";
47
46
  import "../common/contingency-table/contingency-table.js";
48
47
  import "../common/contingency-table/columns-definitions.js";
49
48
  import "@hookform/resolvers/yup";
@@ -37,7 +37,6 @@ import "react-papaparse";
37
37
  import "../common/parameter-layout/parameter-layout-provider.js";
38
38
  import { SPECIFIC_PARAMETERS } from "../common/constants.js";
39
39
  import "../common/widget/parameter-line-slider.js";
40
- import "../common/limitreductions/columns-definitions.js";
41
40
  import "../common/contingency-table/contingency-table.js";
42
41
  import "../common/contingency-table/columns-definitions.js";
43
42
  import "@hookform/resolvers/yup";
@@ -35,7 +35,6 @@ import "mui-nested-menu";
35
35
  import "react-resizable-panels";
36
36
  import "react-papaparse";
37
37
  import "../common/widget/parameter-line-slider.js";
38
- import "../common/limitreductions/columns-definitions.js";
39
38
  import "../common/contingency-table/contingency-table.js";
40
39
  import "../common/contingency-table/columns-definitions.js";
41
40
  import "@hookform/resolvers/yup";
@@ -37,7 +37,6 @@ import "react-papaparse";
37
37
  import "../common/parameter-layout/parameter-layout-provider.js";
38
38
  import { COMMON_PARAMETERS, SPECIFIC_PARAMETERS } from "../common/constants.js";
39
39
  import "../common/widget/parameter-line-slider.js";
40
- import "../common/limitreductions/columns-definitions.js";
41
40
  import "../common/contingency-table/contingency-table.js";
42
41
  import "../common/contingency-table/columns-definitions.js";
43
42
  import "@hookform/resolvers/yup";
@@ -36,7 +36,6 @@ import "react-papaparse";
36
36
  import "../common/parameter-layout/parameter-layout-provider.js";
37
37
  import { SPECIFIC_PARAMETERS } from "../common/constants.js";
38
38
  import "../common/widget/parameter-line-slider.js";
39
- import "../common/limitreductions/columns-definitions.js";
40
39
  import "../common/contingency-table/contingency-table.js";
41
40
  import "../common/contingency-table/columns-definitions.js";
42
41
  import "@hookform/resolvers/yup";
@@ -40,7 +40,6 @@ import "react-papaparse";
40
40
  import "../common/parameter-layout/parameter-layout-provider.js";
41
41
  import { SPECIFIC_PARAMETERS } from "../common/constants.js";
42
42
  import "../common/widget/parameter-line-slider.js";
43
- import "../common/limitreductions/columns-definitions.js";
44
43
  import "../common/contingency-table/contingency-table.js";
45
44
  import "../common/contingency-table/columns-definitions.js";
46
45
  import "@hookform/resolvers/yup";
@@ -40,7 +40,6 @@ import { getNameElementEditorSchema, getNameElementEditorEmptyFormData } from ".
40
40
  import "../common/parameter-layout/parameter-layout-provider.js";
41
41
  import { SPECIFIC_PARAMETERS, COMMON_PARAMETERS, VERSION_PARAMETER, PROVIDER } from "../common/constants.js";
42
42
  import "../common/widget/parameter-line-slider.js";
43
- import "../common/limitreductions/columns-definitions.js";
44
43
  import "../common/contingency-table/contingency-table.js";
45
44
  import "../common/contingency-table/columns-definitions.js";
46
45
  import { ShortCircuitParametersTabValues, getDefaultShortCircuitSpecificParamsValues, getSpecificShortCircuitParametersFormSchema, getCommonShortCircuitParametersFormSchema, getShortCircuitSpecificParametersValues, formatShortCircuitSpecificParameters } from "./short-circuit-parameters-utils.js";