@gridsuite/commons-ui 0.167.0 → 0.169.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/csvDownloader/csv-export.type.d.ts +1 -0
- package/dist/components/csvDownloader/index.js +2 -1
- package/dist/components/csvDownloader/use-csv-export.d.ts +2 -1
- package/dist/components/csvDownloader/use-csv-export.js +9 -2
- package/dist/components/dialogs/customMuiDialog/CustomMuiDialog.d.ts +4 -9
- package/dist/components/dialogs/customMuiDialog/CustomMuiDialog.js +39 -54
- package/dist/components/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js +1 -3
- package/dist/components/dialogs/elementSaveDialog/ElementSaveDialog.js +1 -2
- package/dist/components/filter/FilterCreationDialog.js +7 -5
- package/dist/components/filter/expert/ExpertFilterEditionDialog.js +7 -5
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterEditionDialog.js +7 -5
- package/dist/components/index.js +4 -2
- package/dist/components/inputs/reactHookForm/text/TextInput.js +1 -1
- package/dist/components/inputs/reactHookForm/utils/TextFieldWithAdornment.js +1 -1
- package/dist/components/parameters/index.js +2 -1
- package/dist/components/parameters/loadflow/load-flow-parameters-dialog.js +6 -4
- package/dist/components/parameters/network-visualizations/network-visualizations-parameters-dialog.js +6 -4
- package/dist/components/parameters/pcc-min/pcc-min-parameters-dialog.js +6 -4
- package/dist/components/parameters/security-analysis/security-analysis-parameters-dialog.js +6 -4
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-dialog.js +6 -4
- package/dist/components/parameters/short-circuit/columns-definition.d.ts +30 -0
- package/dist/components/parameters/short-circuit/columns-definition.js +127 -0
- package/dist/components/parameters/short-circuit/constants.d.ts +1 -0
- package/dist/components/parameters/short-circuit/constants.js +2 -0
- package/dist/components/parameters/short-circuit/index.js +2 -1
- package/dist/components/parameters/short-circuit/short-circuit-fields.js +30 -13
- package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table-cell.d.ts +7 -0
- package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table-cell.js +75 -0
- package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table-row.d.ts +9 -0
- package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table-row.js +35 -0
- package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table.d.ts +8 -0
- package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table.js +59 -0
- package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-cell.d.ts +1 -1
- package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-cell.js +3 -3
- package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-row.d.ts +1 -1
- package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-row.js +1 -1
- package/dist/components/parameters/short-circuit/short-circuit-icc-material-table.d.ts +2 -3
- package/dist/components/parameters/short-circuit/short-circuit-icc-material-table.js +27 -31
- package/dist/components/parameters/short-circuit/short-circuit-parameters-dialog.js +6 -4
- package/dist/components/parameters/short-circuit/short-circuit-parameters-utils.d.ts +3 -2
- package/dist/components/parameters/short-circuit/short-circuit-parameters-utils.js +100 -13
- package/dist/components/parameters/short-circuit/short-circuit-parameters.type.d.ts +20 -1
- package/dist/components/parameters/short-circuit/use-short-circuit-parameters-form.js +5 -4
- package/dist/components/parameters/voltage-init/voltage-init-parameters-dialog.js +6 -4
- package/dist/index.js +4 -2
- package/dist/translations/en/parameters.d.ts +18 -13
- package/dist/translations/en/parameters.js +18 -13
- package/dist/translations/fr/parameters.d.ts +18 -13
- package/dist/translations/fr/parameters.js +18 -13
- package/dist/utils/types/metadata.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-columns-definition.d.ts +0 -18
- package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-columns-definition.js +0 -47
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CsvExport } from "./csv-export.js";
|
|
2
2
|
import { ExportCsvButton } from "./export-csv-button.js";
|
|
3
|
-
import { useCsvExport } from "./use-csv-export.js";
|
|
3
|
+
import { fetchCsvSeparator, useCsvExport } from "./use-csv-export.js";
|
|
4
4
|
export {
|
|
5
5
|
CsvExport,
|
|
6
6
|
ExportCsvButton,
|
|
7
|
+
fetchCsvSeparator,
|
|
7
8
|
useCsvExport
|
|
8
9
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CsvDownloadProps } from './csv-export.type';
|
|
2
|
+
export declare const fetchCsvSeparator: () => Promise<string | undefined>;
|
|
2
3
|
export declare const useCsvExport: () => {
|
|
3
|
-
getData: (props: CsvDownloadProps) => string | undefined | void
|
|
4
|
+
getData: (props: CsvDownloadProps) => Promise<string | undefined | void>;
|
|
4
5
|
};
|
|
@@ -6,11 +6,15 @@ import { LANG_FRENCH } from "../../utils/langs.js";
|
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "@mui/icons-material";
|
|
8
8
|
import "../../utils/yupConfig.js";
|
|
9
|
+
import { fetchStudyMetadata } from "../../services/appsMetadata.js";
|
|
9
10
|
const NA_VALUE = "N/A";
|
|
11
|
+
const fetchCsvSeparator = async () => {
|
|
12
|
+
return fetchStudyMetadata().then((metadata) => metadata.copyCsvSeparator);
|
|
13
|
+
};
|
|
10
14
|
const useCsvExport = () => {
|
|
11
15
|
const intl = useIntl();
|
|
12
16
|
const getData = useCallback(
|
|
13
|
-
(props) => {
|
|
17
|
+
async (props) => {
|
|
14
18
|
const formatNAValue = (value) => {
|
|
15
19
|
return value === NA_VALUE ? intl.formatMessage({ id: "export/undefined" }) : value;
|
|
16
20
|
};
|
|
@@ -30,10 +34,12 @@ const useCsvExport = () => {
|
|
|
30
34
|
return tableName.trim().replace(/[\\/:"*?<>|\s]/g, "-").substring(0, 27);
|
|
31
35
|
};
|
|
32
36
|
const prefix = props.tableNamePrefix ?? "";
|
|
37
|
+
const defaultSeparator = props.language === LANG_FRENCH ? ";" : ",";
|
|
38
|
+
const columnSeparatorValue = props.isCopyCsv ? await fetchCsvSeparator() ?? defaultSeparator : defaultSeparator;
|
|
33
39
|
return props.getData({
|
|
34
40
|
suppressQuotes: false,
|
|
35
41
|
skipPinnedBottom: props.skipPinnedBottom,
|
|
36
|
-
columnSeparator:
|
|
42
|
+
columnSeparator: columnSeparatorValue,
|
|
37
43
|
columnKeys: props.columns.map((col) => col.colId).filter(hasColId),
|
|
38
44
|
skipColumnHeaders: props.skipColumnHeaders,
|
|
39
45
|
processHeaderCallback: (params) => params.column.getColDef().headerComponentParams?.displayName ?? params.column.getColDef().headerName ?? params.column.getColId(),
|
|
@@ -46,5 +52,6 @@ const useCsvExport = () => {
|
|
|
46
52
|
return { getData };
|
|
47
53
|
};
|
|
48
54
|
export {
|
|
55
|
+
fetchCsvSeparator,
|
|
49
56
|
useCsvExport
|
|
50
57
|
};
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
import { MouseEvent, ReactNode } from 'react';
|
|
2
|
-
import { FieldErrors, FieldValues, SubmitHandler
|
|
2
|
+
import { FieldErrors, FieldValues, SubmitHandler } from 'react-hook-form';
|
|
3
3
|
import { DialogProps } from '@mui/material';
|
|
4
|
-
import {
|
|
5
|
-
import { GsLang } from '../../../utils';
|
|
4
|
+
import { MergedFormContextProps } from '../../inputs/reactHookForm/provider/CustomFormProvider';
|
|
6
5
|
export type CustomMuiDialogProps<T extends FieldValues = FieldValues> = DialogProps & {
|
|
7
6
|
open: boolean;
|
|
8
|
-
|
|
9
|
-
formMethods: UseFormReturn<T>;
|
|
7
|
+
formContext: MergedFormContextProps<T>;
|
|
10
8
|
onClose: (event?: MouseEvent) => void;
|
|
11
9
|
onSave: SubmitHandler<T>;
|
|
12
10
|
onValidationError?: (errors: FieldErrors) => void;
|
|
13
11
|
titleId: string;
|
|
14
12
|
disabledSave?: boolean;
|
|
15
|
-
removeOptional?: boolean;
|
|
16
13
|
onCancel?: () => void;
|
|
17
14
|
children: ReactNode;
|
|
18
15
|
isDataFetching?: boolean;
|
|
19
|
-
language?: GsLang;
|
|
20
16
|
confirmationMessageKey?: string;
|
|
21
17
|
unscrollableFullHeight?: boolean;
|
|
22
|
-
isDeveloperMode?: boolean;
|
|
23
18
|
};
|
|
24
19
|
/**
|
|
25
20
|
* all those styles are made to work with each other in order to control the scroll behavior:
|
|
@@ -53,4 +48,4 @@ export declare const unscrollableDialogStyles: {
|
|
|
53
48
|
readonly padding: 1;
|
|
54
49
|
};
|
|
55
50
|
};
|
|
56
|
-
export declare function CustomMuiDialog<T extends FieldValues = FieldValues>({ open,
|
|
51
|
+
export declare function CustomMuiDialog<T extends FieldValues = FieldValues>({ open, formContext, onClose, onSave, isDataFetching, onValidationError, titleId, disabledSave, onCancel, children, confirmationMessageKey, unscrollableFullHeight, ...dialogProps }: Readonly<CustomMuiDialogProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -40,26 +40,21 @@ const unscrollableDialogStyles = {
|
|
|
40
40
|
};
|
|
41
41
|
function CustomMuiDialog({
|
|
42
42
|
open,
|
|
43
|
-
|
|
44
|
-
formMethods,
|
|
43
|
+
formContext,
|
|
45
44
|
onClose,
|
|
46
45
|
onSave,
|
|
47
46
|
isDataFetching = false,
|
|
48
47
|
onValidationError,
|
|
49
48
|
titleId,
|
|
50
49
|
disabledSave,
|
|
51
|
-
removeOptional = false,
|
|
52
50
|
onCancel,
|
|
53
51
|
children,
|
|
54
|
-
language,
|
|
55
|
-
isDeveloperMode,
|
|
56
52
|
confirmationMessageKey,
|
|
57
53
|
unscrollableFullHeight = false,
|
|
58
54
|
...dialogProps
|
|
59
55
|
}) {
|
|
60
56
|
const [openConfirmationPopup, setOpenConfirmationPopup] = useState(false);
|
|
61
57
|
const [validatedData, setValidatedData] = useState();
|
|
62
|
-
const { handleSubmit } = formMethods;
|
|
63
58
|
const handleCancel = useCallback(
|
|
64
59
|
(event) => {
|
|
65
60
|
onCancel?.();
|
|
@@ -103,54 +98,44 @@ function CustomMuiDialog({
|
|
|
103
98
|
},
|
|
104
99
|
[onValidationError]
|
|
105
100
|
);
|
|
106
|
-
return /* @__PURE__ */ jsxs(
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
{
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
{
|
|
145
|
-
message: confirmationMessageKey,
|
|
146
|
-
openConfirmationPopup,
|
|
147
|
-
setOpenConfirmationPopup,
|
|
148
|
-
handlePopupConfirmation
|
|
149
|
-
}
|
|
150
|
-
)
|
|
151
|
-
]
|
|
152
|
-
}
|
|
153
|
-
);
|
|
101
|
+
return /* @__PURE__ */ jsxs(CustomFormProvider, { ...formContext, children: [
|
|
102
|
+
/* @__PURE__ */ jsxs(
|
|
103
|
+
Dialog,
|
|
104
|
+
{
|
|
105
|
+
sx: unscrollableFullHeight ? unscrollableDialogStyles.fullHeightDialog : styles.dialogPaper,
|
|
106
|
+
open,
|
|
107
|
+
onClose: handleClose,
|
|
108
|
+
fullWidth: true,
|
|
109
|
+
...dialogProps,
|
|
110
|
+
children: [
|
|
111
|
+
isDataFetching && /* @__PURE__ */ jsx(LinearProgress, {}),
|
|
112
|
+
/* @__PURE__ */ jsx(DialogTitle, { "data-testid": "DialogTitle", children: /* @__PURE__ */ jsx(FormattedMessage, { id: titleId }) }),
|
|
113
|
+
/* @__PURE__ */ jsx(DialogContent, { sx: unscrollableFullHeight ? unscrollableDialogStyles.unscrollableContainer : null, children }),
|
|
114
|
+
/* @__PURE__ */ jsxs(DialogActions, { children: [
|
|
115
|
+
/* @__PURE__ */ jsx(CancelButton, { onClick: handleCancel, "data-testid": "CancelButton" }),
|
|
116
|
+
/* @__PURE__ */ jsx(
|
|
117
|
+
SubmitButton,
|
|
118
|
+
{
|
|
119
|
+
variant: "outlined",
|
|
120
|
+
disabled: disabledSave,
|
|
121
|
+
onClick: formContext?.handleSubmit(handleValidate, handleValidationError),
|
|
122
|
+
"data-testid": "ValidateButton"
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
] })
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
),
|
|
129
|
+
confirmationMessageKey && /* @__PURE__ */ jsx(
|
|
130
|
+
PopupConfirmationDialog,
|
|
131
|
+
{
|
|
132
|
+
message: confirmationMessageKey,
|
|
133
|
+
openConfirmationPopup,
|
|
134
|
+
setOpenConfirmationPopup,
|
|
135
|
+
handlePopupConfirmation
|
|
136
|
+
}
|
|
137
|
+
)
|
|
138
|
+
] });
|
|
154
139
|
}
|
|
155
140
|
export {
|
|
156
141
|
CustomMuiDialog,
|
package/dist/components/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js
CHANGED
|
@@ -55,10 +55,8 @@ function DescriptionModificationDialog({
|
|
|
55
55
|
open,
|
|
56
56
|
onClose: onCancel,
|
|
57
57
|
onSave: onSubmit,
|
|
58
|
-
|
|
59
|
-
formMethods: methods,
|
|
58
|
+
formContext: { ...methods, validationSchema: schema, removeOptional: true },
|
|
60
59
|
titleId: "description",
|
|
61
|
-
removeOptional: true,
|
|
62
60
|
children: /* @__PURE__ */ jsx(Box, { paddingTop: 1, children: /* @__PURE__ */ jsx(
|
|
63
61
|
ExpandingTextField,
|
|
64
62
|
{
|
|
@@ -221,8 +221,7 @@ function ElementSaveDialog({
|
|
|
221
221
|
titleId,
|
|
222
222
|
onSave: onSubmit,
|
|
223
223
|
disabledSave: disableSave,
|
|
224
|
-
|
|
225
|
-
formMethods,
|
|
224
|
+
formContext: { ...formMethods, validationSchema: schema },
|
|
226
225
|
children: [
|
|
227
226
|
/* @__PURE__ */ jsxs(Grid, { container: true, spacing: 2, marginTop: "auto", direction: "column", children: [
|
|
228
227
|
!createOnlyMode && /* @__PURE__ */ jsx(Grid, { item: true, children: /* @__PURE__ */ jsx(
|
|
@@ -99,13 +99,15 @@ function FilterCreationDialog({
|
|
|
99
99
|
open,
|
|
100
100
|
onClose,
|
|
101
101
|
onSave: onSubmit,
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
formContext: {
|
|
103
|
+
...formMethods,
|
|
104
|
+
validationSchema: formSchema,
|
|
105
|
+
removeOptional: true,
|
|
106
|
+
language,
|
|
107
|
+
isDeveloperMode
|
|
108
|
+
},
|
|
104
109
|
titleId,
|
|
105
|
-
removeOptional: true,
|
|
106
110
|
disabledSave: !!nameError || !!isValidating,
|
|
107
|
-
language,
|
|
108
|
-
isDeveloperMode,
|
|
109
111
|
unscrollableFullHeight: true,
|
|
110
112
|
children: /* @__PURE__ */ jsx(
|
|
111
113
|
FilterForm,
|
|
@@ -92,14 +92,16 @@ function ExpertFilterEditionDialog({
|
|
|
92
92
|
open,
|
|
93
93
|
onClose,
|
|
94
94
|
onSave: onSubmit,
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
formContext: {
|
|
96
|
+
...formMethods,
|
|
97
|
+
validationSchema: formSchema,
|
|
98
|
+
removeOptional: true,
|
|
99
|
+
language,
|
|
100
|
+
isDeveloperMode
|
|
101
|
+
},
|
|
97
102
|
titleId,
|
|
98
|
-
removeOptional: true,
|
|
99
103
|
disabledSave: !!nameError || !!isValidating,
|
|
100
104
|
isDataFetching: dataFetchStatus === FetchStatus.FETCHING,
|
|
101
|
-
language,
|
|
102
|
-
isDeveloperMode,
|
|
103
105
|
unscrollableFullHeight: true,
|
|
104
106
|
children: isDataReady && /* @__PURE__ */ jsx(FilterForm, { activeDirectory, filterType: FilterType.EXPERT, isEditing: true })
|
|
105
107
|
}
|
|
@@ -95,14 +95,16 @@ function ExplicitNamingFilterEditionDialog({
|
|
|
95
95
|
open,
|
|
96
96
|
onClose,
|
|
97
97
|
onSave: onSubmit,
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
formContext: {
|
|
99
|
+
...formMethods,
|
|
100
|
+
validationSchema: formSchema,
|
|
101
|
+
removeOptional: true,
|
|
102
|
+
language,
|
|
103
|
+
isDeveloperMode
|
|
104
|
+
},
|
|
100
105
|
titleId,
|
|
101
|
-
removeOptional: true,
|
|
102
106
|
disabledSave: !!nameError || !!isValidating,
|
|
103
107
|
isDataFetching: dataFetchStatus === FetchStatus.FETCHING,
|
|
104
|
-
language,
|
|
105
|
-
isDeveloperMode,
|
|
106
108
|
unscrollableFullHeight: true,
|
|
107
109
|
children: isDataReady && /* @__PURE__ */ jsx(FilterForm, { activeDirectory, filterType: FilterType.EXPLICIT_NAMING, isEditing: true })
|
|
108
110
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import { CardErrorBoundary } from "./cardErrorBoundary/CardErrorBoundary.js";
|
|
|
16
16
|
import { CheckBoxList } from "./checkBoxList/CheckBoxList.js";
|
|
17
17
|
import { CsvExport } from "./csvDownloader/csv-export.js";
|
|
18
18
|
import { ExportCsvButton } from "./csvDownloader/export-csv-button.js";
|
|
19
|
-
import { useCsvExport } from "./csvDownloader/use-csv-export.js";
|
|
19
|
+
import { fetchCsvSeparator, useCsvExport } from "./csvDownloader/use-csv-export.js";
|
|
20
20
|
import { CUSTOM_AGGRID_THEME, styles } from "./customAGGrid/customAggrid.style.js";
|
|
21
21
|
import { CustomAGGrid } from "./customAGGrid/customAggrid.js";
|
|
22
22
|
import { SeparatorCellRenderer } from "./customAGGrid/separatorCellRenderer.js";
|
|
@@ -160,7 +160,7 @@ import { NetworkVisualizationsParametersEditionDialog } from "./parameters/netwo
|
|
|
160
160
|
import { BALANCE_TYPE, CONNECTED_MODE, COUNTRIES_TO_BALANCE, DC, DC_POWER_FACTOR, DC_USE_TRANSFORMER_RATIO, DEFAULT_LIMIT_REDUCTION_VALUE, DISTRIBUTED_SLACK, HVDC_AC_EMULATION, MAX_VALUE_ALLOWED_FOR_LIMIT_REDUCTION, MIN_VALUE_ALLOWED_FOR_LIMIT_REDUCTION, PARAM_LIMIT_REDUCTION, PARAM_PROVIDER_OPENLOADFLOW, PHASE_SHIFTER_REGULATION_ON, READ_SLACK_BUS, SHUNT_COMPENSATOR_VOLTAGE_CONTROL_ON, TWT_SPLIT_SHUNT_ADMITTANCE, USE_REACTIVE_LIMITS, VOLTAGE_INIT_MODE, WRITE_SLACK_BUS, alertThresholdMarks } from "./parameters/loadflow/constants.js";
|
|
161
161
|
import { LoadFlowParametersInline } from "./parameters/loadflow/load-flow-parameters-inline.js";
|
|
162
162
|
import { LoadFlowParametersEditionDialog } from "./parameters/loadflow/load-flow-parameters-dialog.js";
|
|
163
|
-
import { InitialVoltage, PredefinedParameters, SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_IN_CALCULATION_CLUSTER, SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS, SHORT_CIRCUIT_PREDEFINED_PARAMS, SHORT_CIRCUIT_VOLTAGE_RANGES, SHORT_CIRCUIT_WITH_FEEDER_RESULT, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, intlInitialVoltageProfileMode, intlPredefinedParametersOptions, onlyStartedGeneratorsOptions } from "./parameters/short-circuit/constants.js";
|
|
163
|
+
import { InitialVoltage, PredefinedParameters, SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_IN_CALCULATION_CLUSTER, SHORT_CIRCUIT_POWER_ELECTRONICS_CLUSTERS, SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS, SHORT_CIRCUIT_PREDEFINED_PARAMS, SHORT_CIRCUIT_VOLTAGE_RANGES, SHORT_CIRCUIT_WITH_FEEDER_RESULT, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, intlInitialVoltageProfileMode, intlPredefinedParametersOptions, onlyStartedGeneratorsOptions } from "./parameters/short-circuit/constants.js";
|
|
164
164
|
import { ShortCircuitParametersInLine } from "./parameters/short-circuit/short-circuit-parameters-inline.js";
|
|
165
165
|
import { ShortCircuitParametersEditionDialog } from "./parameters/short-circuit/short-circuit-parameters-dialog.js";
|
|
166
166
|
import { DEFAULT_GENERAL_APPLY_MODIFICATIONS, DEFAULT_REACTIVE_SLACKS_THRESHOLD, DEFAULT_SHUNT_COMPENSATOR_ACTIVATION_THRESHOLD, DEFAULT_UPDATE_BUS_VOLTAGE, GENERAL, GENERAL_APPLY_MODIFICATIONS, GENERATORS_SELECTION_TYPE, HIGH_VOLTAGE_LIMIT, LEG_SIDE, LOW_VOLTAGE_LIMIT, PRIORITY, RATIO_TAP_CHANGER_POSITION, RATIO_TAP_CHANGER_TARGET_V, REACTIVE_SLACKS_THRESHOLD, SELECTION_TYPE, SHUNT_COMPENSATORS_SELECTION_TYPE, SHUNT_COMPENSATOR_ACTIVATION_THRESHOLD, TRANSFORMERS_SELECTION_TYPE, UPDATE_BUS_VOLTAGE, VARIABLE_Q_GENERATORS, VARIABLE_SHUNT_COMPENSATORS, VARIABLE_TRANSFORMERS, VOLTAGE_LIMITS_DEFAULT, VOLTAGE_LIMITS_MODIFICATION, VoltageInitTabValues } from "./parameters/voltage-init/constants.js";
|
|
@@ -444,6 +444,7 @@ export {
|
|
|
444
444
|
SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE,
|
|
445
445
|
SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS,
|
|
446
446
|
SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_IN_CALCULATION_CLUSTER,
|
|
447
|
+
SHORT_CIRCUIT_POWER_ELECTRONICS_CLUSTERS,
|
|
447
448
|
SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS,
|
|
448
449
|
SHORT_CIRCUIT_PREDEFINED_PARAMS,
|
|
449
450
|
SHORT_CIRCUIT_VOLTAGE_RANGES,
|
|
@@ -533,6 +534,7 @@ export {
|
|
|
533
534
|
explicitNamingFilterSchema,
|
|
534
535
|
exportExpertRules,
|
|
535
536
|
extractDefault,
|
|
537
|
+
fetchCsvSeparator,
|
|
536
538
|
fetchPredefinedProperties,
|
|
537
539
|
filledTextField,
|
|
538
540
|
formatComputingTypeLabel,
|
|
@@ -69,7 +69,7 @@ function TextInput({
|
|
|
69
69
|
disabled,
|
|
70
70
|
InputProps: {
|
|
71
71
|
endAdornment: /* @__PURE__ */ jsxs(InputAdornment, { position: "end", children: [
|
|
72
|
-
clearable && transformedValue !== void 0 && transformedValue !== "" && /* @__PURE__ */ jsx(IconButton, { onClick: handleClearValue, children: /* @__PURE__ */ jsx(Clear, {}) }),
|
|
72
|
+
clearable && transformedValue !== void 0 && transformedValue !== "" && /* @__PURE__ */ jsx(IconButton, { onClick: handleClearValue, size: "small", children: /* @__PURE__ */ jsx(Clear, { fontSize: "small" }) }),
|
|
73
73
|
customAdornment && { ...customAdornment }
|
|
74
74
|
] })
|
|
75
75
|
},
|
|
@@ -21,7 +21,7 @@ function TextFieldWithAdornment(props) {
|
|
|
21
21
|
}, []);
|
|
22
22
|
const getClearAdornment = useCallback(
|
|
23
23
|
(position) => {
|
|
24
|
-
return /* @__PURE__ */ jsx(InputAdornment, { position, children: /* @__PURE__ */ jsx(IconButton, { onClick: handleClearValue, children: /* @__PURE__ */ jsx(Clear, {}) }) });
|
|
24
|
+
return /* @__PURE__ */ jsx(InputAdornment, { position, children: /* @__PURE__ */ jsx(IconButton, { onClick: handleClearValue, size: "small", children: /* @__PURE__ */ jsx(Clear, { fontSize: "small" }) }) });
|
|
25
25
|
},
|
|
26
26
|
[handleClearValue]
|
|
27
27
|
);
|
|
@@ -23,7 +23,7 @@ import { NetworkVisualizationsParametersEditionDialog } from "./network-visualiz
|
|
|
23
23
|
import { BALANCE_TYPE, CONNECTED_MODE, COUNTRIES_TO_BALANCE, DC, DC_POWER_FACTOR, DC_USE_TRANSFORMER_RATIO, DEFAULT_LIMIT_REDUCTION_VALUE, DISTRIBUTED_SLACK, HVDC_AC_EMULATION, MAX_VALUE_ALLOWED_FOR_LIMIT_REDUCTION, MIN_VALUE_ALLOWED_FOR_LIMIT_REDUCTION, PARAM_LIMIT_REDUCTION, PARAM_PROVIDER_OPENLOADFLOW, PHASE_SHIFTER_REGULATION_ON, READ_SLACK_BUS, SHUNT_COMPENSATOR_VOLTAGE_CONTROL_ON, TWT_SPLIT_SHUNT_ADMITTANCE, USE_REACTIVE_LIMITS, VOLTAGE_INIT_MODE, WRITE_SLACK_BUS, alertThresholdMarks } from "./loadflow/constants.js";
|
|
24
24
|
import { LoadFlowParametersInline } from "./loadflow/load-flow-parameters-inline.js";
|
|
25
25
|
import { LoadFlowParametersEditionDialog } from "./loadflow/load-flow-parameters-dialog.js";
|
|
26
|
-
import { InitialVoltage, PredefinedParameters, SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_IN_CALCULATION_CLUSTER, SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS, SHORT_CIRCUIT_PREDEFINED_PARAMS, SHORT_CIRCUIT_VOLTAGE_RANGES, SHORT_CIRCUIT_WITH_FEEDER_RESULT, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, intlInitialVoltageProfileMode, intlPredefinedParametersOptions, onlyStartedGeneratorsOptions } from "./short-circuit/constants.js";
|
|
26
|
+
import { InitialVoltage, PredefinedParameters, SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_IN_CALCULATION_CLUSTER, SHORT_CIRCUIT_POWER_ELECTRONICS_CLUSTERS, SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS, SHORT_CIRCUIT_PREDEFINED_PARAMS, SHORT_CIRCUIT_VOLTAGE_RANGES, SHORT_CIRCUIT_WITH_FEEDER_RESULT, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, intlInitialVoltageProfileMode, intlPredefinedParametersOptions, onlyStartedGeneratorsOptions } from "./short-circuit/constants.js";
|
|
27
27
|
import { ShortCircuitParametersInLine } from "./short-circuit/short-circuit-parameters-inline.js";
|
|
28
28
|
import { ShortCircuitParametersEditionDialog } from "./short-circuit/short-circuit-parameters-dialog.js";
|
|
29
29
|
import { DEFAULT_GENERAL_APPLY_MODIFICATIONS, DEFAULT_REACTIVE_SLACKS_THRESHOLD, DEFAULT_SHUNT_COMPENSATOR_ACTIVATION_THRESHOLD, DEFAULT_UPDATE_BUS_VOLTAGE, GENERAL, GENERAL_APPLY_MODIFICATIONS, GENERATORS_SELECTION_TYPE, HIGH_VOLTAGE_LIMIT, LEG_SIDE, LOW_VOLTAGE_LIMIT, PRIORITY, RATIO_TAP_CHANGER_POSITION, RATIO_TAP_CHANGER_TARGET_V, REACTIVE_SLACKS_THRESHOLD, SELECTION_TYPE, SHUNT_COMPENSATORS_SELECTION_TYPE, SHUNT_COMPENSATOR_ACTIVATION_THRESHOLD, TRANSFORMERS_SELECTION_TYPE, UPDATE_BUS_VOLTAGE, VARIABLE_Q_GENERATORS, VARIABLE_SHUNT_COMPENSATORS, VARIABLE_TRANSFORMERS, VOLTAGE_LIMITS_DEFAULT, VOLTAGE_LIMITS_MODIFICATION, VoltageInitTabValues } from "./voltage-init/constants.js";
|
|
@@ -163,6 +163,7 @@ export {
|
|
|
163
163
|
SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE,
|
|
164
164
|
SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS,
|
|
165
165
|
SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_IN_CALCULATION_CLUSTER,
|
|
166
|
+
SHORT_CIRCUIT_POWER_ELECTRONICS_CLUSTERS,
|
|
166
167
|
SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS,
|
|
167
168
|
SHORT_CIRCUIT_PREDEFINED_PARAMS,
|
|
168
169
|
SHORT_CIRCUIT_VOLTAGE_RANGES,
|
|
@@ -83,11 +83,13 @@ function LoadFlowParametersEditionDialog({
|
|
|
83
83
|
onClose,
|
|
84
84
|
onSave: loadflowMethods.onSaveDialog,
|
|
85
85
|
onValidationError: loadflowMethods.onValidationError,
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
formContext: {
|
|
87
|
+
...loadflowMethods.formMethods,
|
|
88
|
+
validationSchema: loadflowMethods.formSchema,
|
|
89
|
+
removeOptional: true,
|
|
90
|
+
language
|
|
91
|
+
},
|
|
88
92
|
titleId,
|
|
89
|
-
removeOptional: true,
|
|
90
|
-
language,
|
|
91
93
|
disabledSave: disableSave,
|
|
92
94
|
children: /* @__PURE__ */ jsx(LoadFlowProvider, { children: /* @__PURE__ */ jsx(
|
|
93
95
|
LoadFlowParametersForm,
|
|
@@ -66,11 +66,13 @@ function NetworkVisualizationsParametersEditionDialog({
|
|
|
66
66
|
open,
|
|
67
67
|
onClose,
|
|
68
68
|
onSave: networkVisuMethods.onSaveDialog,
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
formContext: {
|
|
70
|
+
...networkVisuMethods.formMethods,
|
|
71
|
+
validationSchema: networkVisuMethods.formSchema,
|
|
72
|
+
removeOptional: true,
|
|
73
|
+
language
|
|
74
|
+
},
|
|
71
75
|
titleId,
|
|
72
|
-
removeOptional: true,
|
|
73
|
-
language,
|
|
74
76
|
disabledSave: disableSave,
|
|
75
77
|
PaperProps: {
|
|
76
78
|
sx: {
|
|
@@ -65,11 +65,13 @@ function PccMinParametersEditionDialog({
|
|
|
65
65
|
open,
|
|
66
66
|
onClose,
|
|
67
67
|
onSave: pccMinMethods.onSaveDialog,
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
formContext: {
|
|
69
|
+
...pccMinMethods.formMethods,
|
|
70
|
+
validationSchema: pccMinMethods.formSchema,
|
|
71
|
+
removeOptional: true,
|
|
72
|
+
language
|
|
73
|
+
},
|
|
70
74
|
titleId,
|
|
71
|
-
removeOptional: true,
|
|
72
|
-
language,
|
|
73
75
|
disabledSave: disableSave,
|
|
74
76
|
PaperProps: {
|
|
75
77
|
sx: {
|
|
@@ -80,11 +80,13 @@ function SecurityAnalysisParametersDialog({
|
|
|
80
80
|
open,
|
|
81
81
|
onClose,
|
|
82
82
|
onSave: securityAnalysisMethods.onSaveDialog,
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
formContext: {
|
|
84
|
+
...securityAnalysisMethods.formMethods,
|
|
85
|
+
validationSchema: securityAnalysisMethods.formSchema,
|
|
86
|
+
removeOptional: true,
|
|
87
|
+
language
|
|
88
|
+
},
|
|
85
89
|
titleId,
|
|
86
|
-
removeOptional: true,
|
|
87
|
-
language,
|
|
88
90
|
disabledSave: disableSave,
|
|
89
91
|
PaperProps: {
|
|
90
92
|
sx: {
|
|
@@ -86,11 +86,13 @@ function SensitivityAnalysisParametersDialog({
|
|
|
86
86
|
open,
|
|
87
87
|
onClose,
|
|
88
88
|
onSave: sensitivityAnalysisMethods.onSaveDialog,
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
formContext: {
|
|
90
|
+
...sensitivityAnalysisMethods.formMethods,
|
|
91
|
+
validationSchema: sensitivityAnalysisMethods.formSchema,
|
|
92
|
+
removeOptional: true,
|
|
93
|
+
language
|
|
94
|
+
},
|
|
91
95
|
titleId,
|
|
92
|
-
removeOptional: true,
|
|
93
|
-
language,
|
|
94
96
|
disabledSave: disableSave,
|
|
95
97
|
children: /* @__PURE__ */ jsx(
|
|
96
98
|
SensitivityAnalysisParametersForm,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EquipmentType } from '../../../utils';
|
|
2
|
+
export declare const SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE = "active";
|
|
3
|
+
export declare const SHORT_CIRCUIT_ICC_MATERIAL_TYPE = "type";
|
|
4
|
+
export declare const SHORT_CIRCUIT_ICC_MATERIAL_ALPHA = "alpha";
|
|
5
|
+
export declare const SHORT_CIRCUIT_ICC_MATERIAL_USMIN = "usMin";
|
|
6
|
+
export declare const SHORT_CIRCUIT_ICC_MATERIAL_USMAX = "usMax";
|
|
7
|
+
export declare const SHORT_CIRCUIT_ICC_MATERIAL_U0 = "u0";
|
|
8
|
+
export declare const SHORT_CIRCUIT_ICC_CLUSTER_ACTIVE = "active";
|
|
9
|
+
export declare const SHORT_CIRCUIT_ICC_CLUSTER_FILTERS = "filters";
|
|
10
|
+
export declare const SHORT_CIRCUIT_ICC_CLUSTER_TYPE = "type";
|
|
11
|
+
export declare const SHORT_CIRCUIT_ICC_CLUSTER_ALPHA = "alpha";
|
|
12
|
+
export declare const SHORT_CIRCUIT_ICC_CLUSTER_USMIN = "usMin";
|
|
13
|
+
export declare const SHORT_CIRCUIT_ICC_CLUSTER_USMAX = "usMax";
|
|
14
|
+
export declare const SHORT_CIRCUIT_ICC_CLUSTER_U0 = "u0";
|
|
15
|
+
export interface IccCommonIColumnsDef {
|
|
16
|
+
label: React.ReactNode;
|
|
17
|
+
dataKey: string;
|
|
18
|
+
tooltip: React.ReactNode;
|
|
19
|
+
width?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface IccMaterialIColumnsDef extends IccCommonIColumnsDef {
|
|
22
|
+
}
|
|
23
|
+
export interface IccClusterIColumnsDef extends IccCommonIColumnsDef {
|
|
24
|
+
equipmentTypes?: EquipmentType[];
|
|
25
|
+
elementType?: string;
|
|
26
|
+
titleId?: string;
|
|
27
|
+
initialValue?: any;
|
|
28
|
+
}
|
|
29
|
+
export declare const COLUMNS_DEFINITIONS_ICC_MATERIALS: IccMaterialIColumnsDef[];
|
|
30
|
+
export declare const COLUMNS_DEFINITIONS_ICC_CLUSTERS: IccClusterIColumnsDef[];
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import "../../../utils/conversionUtils.js";
|
|
2
|
+
import { ElementType } from "../../../utils/types/elementType.js";
|
|
3
|
+
import { EquipmentType } from "../../../utils/types/equipmentType.js";
|
|
4
|
+
import "react/jsx-runtime";
|
|
5
|
+
import "@mui/icons-material";
|
|
6
|
+
import "../../../utils/yupConfig.js";
|
|
7
|
+
const SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE = "active";
|
|
8
|
+
const SHORT_CIRCUIT_ICC_MATERIAL_TYPE = "type";
|
|
9
|
+
const SHORT_CIRCUIT_ICC_MATERIAL_ALPHA = "alpha";
|
|
10
|
+
const SHORT_CIRCUIT_ICC_MATERIAL_USMIN = "usMin";
|
|
11
|
+
const SHORT_CIRCUIT_ICC_MATERIAL_USMAX = "usMax";
|
|
12
|
+
const SHORT_CIRCUIT_ICC_MATERIAL_U0 = "u0";
|
|
13
|
+
const SHORT_CIRCUIT_ICC_CLUSTER_ACTIVE = SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE;
|
|
14
|
+
const SHORT_CIRCUIT_ICC_CLUSTER_FILTERS = "filters";
|
|
15
|
+
const SHORT_CIRCUIT_ICC_CLUSTER_TYPE = SHORT_CIRCUIT_ICC_MATERIAL_TYPE;
|
|
16
|
+
const SHORT_CIRCUIT_ICC_CLUSTER_ALPHA = SHORT_CIRCUIT_ICC_MATERIAL_ALPHA;
|
|
17
|
+
const SHORT_CIRCUIT_ICC_CLUSTER_USMIN = SHORT_CIRCUIT_ICC_MATERIAL_USMIN;
|
|
18
|
+
const SHORT_CIRCUIT_ICC_CLUSTER_USMAX = SHORT_CIRCUIT_ICC_MATERIAL_USMAX;
|
|
19
|
+
const SHORT_CIRCUIT_ICC_CLUSTER_U0 = SHORT_CIRCUIT_ICC_MATERIAL_U0;
|
|
20
|
+
const COLUMNS_DEFINITIONS_ICC_MATERIALS = [
|
|
21
|
+
{
|
|
22
|
+
label: "ShortCircuitIccMaterialType",
|
|
23
|
+
dataKey: SHORT_CIRCUIT_ICC_MATERIAL_TYPE,
|
|
24
|
+
tooltip: "ShortCircuitIccMaterialTypeTooltip"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
label: "ShortCircuitIccAlpha",
|
|
28
|
+
dataKey: SHORT_CIRCUIT_ICC_MATERIAL_ALPHA,
|
|
29
|
+
tooltip: "ShortCircuitIccAlphaTooltip",
|
|
30
|
+
width: "10%"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
label: "ShortCircuitIccUsmin",
|
|
34
|
+
dataKey: SHORT_CIRCUIT_ICC_MATERIAL_USMIN,
|
|
35
|
+
tooltip: "ShortCircuitIccUsminTooltip",
|
|
36
|
+
width: "10%"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: "ShortCircuitIccUsmax",
|
|
40
|
+
dataKey: SHORT_CIRCUIT_ICC_MATERIAL_USMAX,
|
|
41
|
+
tooltip: "ShortCircuitIccUsmaxTooltip",
|
|
42
|
+
width: "10%"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: "ShortCircuitIccU0",
|
|
46
|
+
dataKey: SHORT_CIRCUIT_ICC_MATERIAL_U0,
|
|
47
|
+
tooltip: "ShortCircuitIccU0Tooltip",
|
|
48
|
+
width: "10%"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
label: "ShortCircuitIccActive",
|
|
52
|
+
dataKey: SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE,
|
|
53
|
+
tooltip: "ShortCircuitIccMaterialActiveTooltip",
|
|
54
|
+
width: "10%"
|
|
55
|
+
}
|
|
56
|
+
];
|
|
57
|
+
const COLUMNS_DEFINITIONS_ICC_CLUSTERS = [
|
|
58
|
+
{
|
|
59
|
+
label: "ShortCircuitIccClusterFilters",
|
|
60
|
+
dataKey: SHORT_CIRCUIT_ICC_CLUSTER_FILTERS,
|
|
61
|
+
tooltip: "ShortCircuitIccClusterFiltersTooltip",
|
|
62
|
+
equipmentTypes: [EquipmentType.GENERATOR, EquipmentType.BATTERY],
|
|
63
|
+
elementType: ElementType.FILTER,
|
|
64
|
+
titleId: "FiltersListsSelection",
|
|
65
|
+
initialValue: []
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
label: "ShortCircuitIccClusterType",
|
|
69
|
+
dataKey: SHORT_CIRCUIT_ICC_CLUSTER_TYPE,
|
|
70
|
+
tooltip: "ShortCircuitIccClusterTypeTooltip",
|
|
71
|
+
titleId: "ShortCircuitIccClusterTypeListsSelection",
|
|
72
|
+
initialValue: [],
|
|
73
|
+
width: "20%"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
label: "ShortCircuitIccAlpha",
|
|
77
|
+
dataKey: SHORT_CIRCUIT_ICC_CLUSTER_ALPHA,
|
|
78
|
+
tooltip: "ShortCircuitIccAlphaTooltip",
|
|
79
|
+
initialValue: 1,
|
|
80
|
+
width: "10%"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
label: "ShortCircuitIccUsmin",
|
|
84
|
+
dataKey: SHORT_CIRCUIT_ICC_CLUSTER_USMIN,
|
|
85
|
+
tooltip: "ShortCircuitIccUsminTooltip",
|
|
86
|
+
initialValue: 0,
|
|
87
|
+
width: "10%"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
label: "ShortCircuitIccUsmax",
|
|
91
|
+
dataKey: SHORT_CIRCUIT_ICC_CLUSTER_USMAX,
|
|
92
|
+
tooltip: "ShortCircuitIccUsmaxTooltip",
|
|
93
|
+
initialValue: 100,
|
|
94
|
+
width: "10%"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
label: "ShortCircuitIccU0",
|
|
98
|
+
dataKey: SHORT_CIRCUIT_ICC_CLUSTER_U0,
|
|
99
|
+
tooltip: "ShortCircuitIccU0Tooltip",
|
|
100
|
+
initialValue: 100,
|
|
101
|
+
width: "10%"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
label: "ShortCircuitIccActive",
|
|
105
|
+
dataKey: SHORT_CIRCUIT_ICC_CLUSTER_ACTIVE,
|
|
106
|
+
tooltip: "ShortCircuitIccClusterActiveTooltip",
|
|
107
|
+
initialValue: false,
|
|
108
|
+
width: "10%"
|
|
109
|
+
}
|
|
110
|
+
];
|
|
111
|
+
export {
|
|
112
|
+
COLUMNS_DEFINITIONS_ICC_CLUSTERS,
|
|
113
|
+
COLUMNS_DEFINITIONS_ICC_MATERIALS,
|
|
114
|
+
SHORT_CIRCUIT_ICC_CLUSTER_ACTIVE,
|
|
115
|
+
SHORT_CIRCUIT_ICC_CLUSTER_ALPHA,
|
|
116
|
+
SHORT_CIRCUIT_ICC_CLUSTER_FILTERS,
|
|
117
|
+
SHORT_CIRCUIT_ICC_CLUSTER_TYPE,
|
|
118
|
+
SHORT_CIRCUIT_ICC_CLUSTER_U0,
|
|
119
|
+
SHORT_CIRCUIT_ICC_CLUSTER_USMAX,
|
|
120
|
+
SHORT_CIRCUIT_ICC_CLUSTER_USMIN,
|
|
121
|
+
SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE,
|
|
122
|
+
SHORT_CIRCUIT_ICC_MATERIAL_ALPHA,
|
|
123
|
+
SHORT_CIRCUIT_ICC_MATERIAL_TYPE,
|
|
124
|
+
SHORT_CIRCUIT_ICC_MATERIAL_U0,
|
|
125
|
+
SHORT_CIRCUIT_ICC_MATERIAL_USMAX,
|
|
126
|
+
SHORT_CIRCUIT_ICC_MATERIAL_USMIN
|
|
127
|
+
};
|