@gridsuite/commons-ui 0.271.0 → 0.272.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/composite/customAGGrid/custom-aggrid-types.d.ts +7 -0
- package/dist/components/composite/dnd-table/deletable-table-row.d.ts +2 -1
- package/dist/components/composite/dnd-table/deletable-table-row.js +3 -1
- package/dist/components/composite/dnd-table/dnd-table-row.d.ts +2 -1
- package/dist/components/composite/dnd-table/dnd-table-row.js +29 -4
- package/dist/components/composite/dnd-table/dnd-table.d.ts +1 -0
- package/dist/components/composite/dnd-table/dnd-table.js +13 -3
- package/dist/components/composite/dnd-table/dnd-table.type.d.ts +1 -0
- package/dist/components/composite/report/report-viewer/context/report-viewer-context.d.ts +4 -4
- package/dist/components/composite/report/report-viewer/log-table/log-table.js +8 -7
- package/dist/components/composite/report/report.type.d.ts +0 -4
- package/dist/components/ui/addButton/AddButton.js +9 -1
- package/dist/components/ui/reactHookForm/DirectoryItemsInput.d.ts +2 -1
- package/dist/components/ui/reactHookForm/DirectoryItemsInput.js +3 -1
- package/dist/components/ui/reactHookForm/autocompleteInputs/AutocompleteInput.d.ts +2 -1
- package/dist/components/ui/reactHookForm/autocompleteInputs/AutocompleteInput.js +2 -0
- package/dist/components/ui/reactHookForm/booleans/BooleanInput.d.ts +2 -1
- package/dist/components/ui/reactHookForm/booleans/BooleanInput.js +3 -1
- package/dist/components/ui/reactHookForm/booleans/SwitchInput.d.ts +2 -1
- package/dist/components/ui/reactHookForm/booleans/SwitchInput.js +12 -2
- package/dist/components/ui/reactHookForm/chip-items-input.d.ts +2 -1
- package/dist/components/ui/reactHookForm/chip-items-input.js +2 -1
- package/dist/components/ui/reactHookForm/expandableInput/DeletableRow.d.ts +2 -1
- package/dist/components/ui/reactHookForm/expandableInput/DeletableRow.js +3 -1
- package/dist/components/ui/reactHookForm/expandableInput/ExpandableInput.d.ts +2 -0
- package/dist/components/ui/reactHookForm/expandableInput/ExpandableInput.js +13 -2
- package/dist/components/ui/reactHookForm/tableInputs/table-text-input.d.ts +2 -1
- package/dist/components/ui/reactHookForm/tableInputs/table-text-input.js +2 -1
- package/dist/features/common/index.d.ts +1 -0
- package/dist/features/common/types.d.ts +32 -0
- package/dist/features/common/types.js +1 -0
- package/dist/features/index.d.ts +2 -0
- package/dist/features/index.js +23 -2
- package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +4 -2
- package/dist/features/results/common/index.d.ts +7 -0
- package/dist/features/results/common/index.js +5 -0
- package/dist/features/results/common/utils.d.ts +5 -0
- package/dist/features/results/common/utils.js +18 -0
- package/dist/features/results/securityanalysis/index.js +1 -2
- package/dist/features/results/securityanalysis/security-analysis-result-nmk.js +3 -2
- package/dist/features/results/securityanalysis/utils.d.ts +0 -1
- package/dist/features/results/securityanalysis/utils.js +0 -2
- package/dist/features/results/shortcircuit/index.d.ts +11 -0
- package/dist/features/results/shortcircuit/index.js +21 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-all-buses-result.d.ts +4 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-all-buses-result.js +25 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result-content.d.ts +13 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result-content.js +62 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result-table.d.ts +41 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result-table.js +451 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result.d.ts +53 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result.js +252 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result.type.d.ts +41 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result.type.js +8 -0
- package/dist/index.js +23 -2
- package/dist/utils/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useState, useCallback, useEffect } from "react";
|
|
3
|
+
import { useIntl } from "react-intl";
|
|
4
|
+
import { Box, LinearProgress } from "@mui/material";
|
|
5
|
+
import { RESULTS_LOADING_DELAY } from "../constants.js";
|
|
6
|
+
import { FROM_COLUMN_TO_FIELD_ONE_BUS, FROM_COLUMN_TO_FIELD, convertFilterValues } from "./shortcircuit-analysis-result-content.js";
|
|
7
|
+
import { ShortCircuitAnalysisType } from "./shortcircuit-analysis-result.type.js";
|
|
8
|
+
import { ShortCircuitAnalysisResultTable } from "./shortcircuit-analysis-result-table.js";
|
|
9
|
+
import "../../../utils/conversionUtils.js";
|
|
10
|
+
import { snackWithFallback } from "../../../utils/error.js";
|
|
11
|
+
import { RunningStatus } from "../../../utils/running-status.js";
|
|
12
|
+
import "../../../utils/types/equipmentType.js";
|
|
13
|
+
import { ComputingType } from "../../../utils/types/computing-type.js";
|
|
14
|
+
import "@mui/icons-material";
|
|
15
|
+
import "localized-countries";
|
|
16
|
+
import "localized-countries/data/fr";
|
|
17
|
+
import "localized-countries/data/en";
|
|
18
|
+
import { useSnackMessage } from "../../../hooks/useSnackMessage.js";
|
|
19
|
+
import { useOpenLoaderShortWait } from "../../../hooks/useOpenLoaderShortWait.js";
|
|
20
|
+
import "../../../components/ui/overflowableText/OverflowableText.js";
|
|
21
|
+
import "react-hook-form";
|
|
22
|
+
import "../../../components/ui/reactHookForm/provider/CustomFormProvider.js";
|
|
23
|
+
import "yup";
|
|
24
|
+
import "../../../components/ui/treeViewFinder/TreeViewFinder.js";
|
|
25
|
+
import "../../../components/ui/reactHookForm/numbers/RangeInput.js";
|
|
26
|
+
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
27
|
+
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
28
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
29
|
+
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
30
|
+
import "@material-symbols/svg-400/outlined/add_notes-fill.svg?react";
|
|
31
|
+
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
32
|
+
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
33
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
34
|
+
import "@hello-pangea/dnd";
|
|
35
|
+
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
36
|
+
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
37
|
+
import "mui-nested-menu";
|
|
38
|
+
import "react-resizable-panels";
|
|
39
|
+
import "react-papaparse";
|
|
40
|
+
import { CustomTablePagination } from "../../../components/ui/tablepagination/custom-table-pagination.js";
|
|
41
|
+
import "react-dom";
|
|
42
|
+
import "autosuggest-highlight/match";
|
|
43
|
+
import "autosuggest-highlight/parse";
|
|
44
|
+
import "clsx";
|
|
45
|
+
import "../../../components/composite/filter/FilterCreationDialog.js";
|
|
46
|
+
import "../../../components/composite/filter/HeaderFilterForm.js";
|
|
47
|
+
import "../../../components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js";
|
|
48
|
+
import "../../../components/composite/filter/expert/ExpertFilterForm.js";
|
|
49
|
+
import "../../../components/composite/filter/expert/ExpertFilterEditionDialog.js";
|
|
50
|
+
import "../../../components/composite/filter/expert/expertFilterConstants.js";
|
|
51
|
+
import "react-querybuilder";
|
|
52
|
+
import "uuid";
|
|
53
|
+
import "../../../components/composite/filter/explicitNaming/ExplicitNamingFilterEditionDialog.js";
|
|
54
|
+
import "../../../components/composite/filter/utils/filterFormUtils.js";
|
|
55
|
+
import "@react-querybuilder/material";
|
|
56
|
+
import "../../../components/composite/reactQueryBuilder/CustomReactQueryBuilder.js";
|
|
57
|
+
import "../../../components/composite/reactQueryBuilder/PropertyValueEditor.js";
|
|
58
|
+
import "../../../components/composite/agGridTable/BottomTableButtons.js";
|
|
59
|
+
import "../../../components/composite/agGridTable/CustomAgGridTable.js";
|
|
60
|
+
import "ag-grid-community";
|
|
61
|
+
import "../../../components/composite/customAGGrid/customAggrid.js";
|
|
62
|
+
import "../../../components/composite/customAGGrid/context/custom-aggrid-context.js";
|
|
63
|
+
import "mathjs";
|
|
64
|
+
import "../../../components/composite/report/report-viewer/log-table/log-table.js";
|
|
65
|
+
import "react-window";
|
|
66
|
+
import "../../../components/composite/report/report-treeview/treeview-item.js";
|
|
67
|
+
import "../../../components/composite/report/report-viewer/context/report-viewer-context.js";
|
|
68
|
+
import { RESULT_PAGE_OPTIONS } from "../common/utils.js";
|
|
69
|
+
function ShortCircuitAnalysisResult({
|
|
70
|
+
analysisType,
|
|
71
|
+
analysisStatus,
|
|
72
|
+
result,
|
|
73
|
+
updateResult,
|
|
74
|
+
customTablePaginationProps,
|
|
75
|
+
onGridColumnsChanged,
|
|
76
|
+
onRowDataUpdated,
|
|
77
|
+
onDisplayedColumnsChanged,
|
|
78
|
+
studyUuid,
|
|
79
|
+
currentNodeUuid,
|
|
80
|
+
currentRootNetworkUuid,
|
|
81
|
+
sortConfig,
|
|
82
|
+
columnFilters,
|
|
83
|
+
globalFilters,
|
|
84
|
+
pagination,
|
|
85
|
+
onPageChange,
|
|
86
|
+
onRowsPerPageChange,
|
|
87
|
+
fetchPagedResults,
|
|
88
|
+
fetchFilterEnumValues,
|
|
89
|
+
mapFieldsToColumnsFilter,
|
|
90
|
+
onVoltageLevelClick,
|
|
91
|
+
onGridReady
|
|
92
|
+
}) {
|
|
93
|
+
const intl = useIntl();
|
|
94
|
+
const { snackError } = useSnackMessage();
|
|
95
|
+
const [count, setCount] = useState(0);
|
|
96
|
+
const [isFetching, setIsFetching] = useState(false);
|
|
97
|
+
const [filterEnums, setFilterEnums] = useState({});
|
|
98
|
+
const isOneBusShortCircuitAnalysisType = analysisType === ShortCircuitAnalysisType.ONE_BUS;
|
|
99
|
+
const fromFrontColumnToBackKeys = isOneBusShortCircuitAnalysisType ? FROM_COLUMN_TO_FIELD_ONE_BUS : FROM_COLUMN_TO_FIELD;
|
|
100
|
+
const { page, rowsPerPage } = pagination;
|
|
101
|
+
const handleChangePage = useCallback(
|
|
102
|
+
(_, newPage) => {
|
|
103
|
+
onPageChange(newPage);
|
|
104
|
+
},
|
|
105
|
+
[onPageChange]
|
|
106
|
+
);
|
|
107
|
+
const handleChangeRowsPerPage = useCallback(
|
|
108
|
+
(event) => {
|
|
109
|
+
const newRowsPerPage = Number.parseInt(event.target.value, 10);
|
|
110
|
+
onRowsPerPageChange(newRowsPerPage);
|
|
111
|
+
},
|
|
112
|
+
[onRowsPerPageChange]
|
|
113
|
+
);
|
|
114
|
+
useEffect(() => {
|
|
115
|
+
if (analysisStatus !== RunningStatus.SUCCEED) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
if (!currentNodeUuid || !currentRootNetworkUuid) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
let active = true;
|
|
122
|
+
setIsFetching(true);
|
|
123
|
+
updateResult(null);
|
|
124
|
+
const backSortConfig = sortConfig?.map((sort) => ({
|
|
125
|
+
...sort,
|
|
126
|
+
colId: fromFrontColumnToBackKeys[sort.colId]
|
|
127
|
+
}));
|
|
128
|
+
const updatedFilters = columnFilters ? convertFilterValues(columnFilters) : null;
|
|
129
|
+
const selector = {
|
|
130
|
+
page,
|
|
131
|
+
size: rowsPerPage,
|
|
132
|
+
filter: updatedFilters && mapFieldsToColumnsFilter ? mapFieldsToColumnsFilter(updatedFilters, fromFrontColumnToBackKeys) : updatedFilters,
|
|
133
|
+
sort: backSortConfig
|
|
134
|
+
};
|
|
135
|
+
fetchPagedResults({
|
|
136
|
+
studyUuid,
|
|
137
|
+
currentNodeUuid,
|
|
138
|
+
currentRootNetworkUuid,
|
|
139
|
+
type: analysisType,
|
|
140
|
+
selector,
|
|
141
|
+
globalFilters
|
|
142
|
+
}).then((pagedResult) => {
|
|
143
|
+
if (active) {
|
|
144
|
+
const { content = [], totalElements = 0 } = pagedResult || {};
|
|
145
|
+
updateResult(content);
|
|
146
|
+
setCount(totalElements);
|
|
147
|
+
}
|
|
148
|
+
}).catch((error) => snackWithFallback(snackError, error, { headerId: "ShortCircuitAnalysisResultsError" })).finally(() => {
|
|
149
|
+
if (active) {
|
|
150
|
+
setIsFetching(false);
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
return () => {
|
|
154
|
+
active = false;
|
|
155
|
+
};
|
|
156
|
+
}, [
|
|
157
|
+
page,
|
|
158
|
+
rowsPerPage,
|
|
159
|
+
snackError,
|
|
160
|
+
analysisType,
|
|
161
|
+
analysisStatus,
|
|
162
|
+
updateResult,
|
|
163
|
+
studyUuid,
|
|
164
|
+
currentNodeUuid,
|
|
165
|
+
currentRootNetworkUuid,
|
|
166
|
+
intl,
|
|
167
|
+
columnFilters,
|
|
168
|
+
sortConfig,
|
|
169
|
+
fromFrontColumnToBackKeys,
|
|
170
|
+
globalFilters,
|
|
171
|
+
fetchPagedResults,
|
|
172
|
+
mapFieldsToColumnsFilter
|
|
173
|
+
]);
|
|
174
|
+
useEffect(() => {
|
|
175
|
+
if (analysisStatus !== RunningStatus.SUCCEED || !studyUuid || !currentNodeUuid || !currentRootNetworkUuid) {
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
const allBusesFilterTypes = ["fault-types", "limit-violation-types"];
|
|
179
|
+
const oneBusFilterTypes = ["branch-sides"];
|
|
180
|
+
const currentComputingType = isOneBusShortCircuitAnalysisType ? ComputingType.SHORT_CIRCUIT_ONE_BUS : ComputingType.SHORT_CIRCUIT;
|
|
181
|
+
const filterTypes = isOneBusShortCircuitAnalysisType ? oneBusFilterTypes : allBusesFilterTypes;
|
|
182
|
+
const promises = filterTypes.map(
|
|
183
|
+
(filterType) => fetchFilterEnumValues({
|
|
184
|
+
studyUuid,
|
|
185
|
+
currentNodeUuid,
|
|
186
|
+
currentRootNetworkUuid,
|
|
187
|
+
computingType: currentComputingType,
|
|
188
|
+
filterType
|
|
189
|
+
})
|
|
190
|
+
);
|
|
191
|
+
Promise.all(promises).then((results) => {
|
|
192
|
+
if (isOneBusShortCircuitAnalysisType) {
|
|
193
|
+
const [branchSidesResult] = results;
|
|
194
|
+
setFilterEnums({
|
|
195
|
+
side: branchSidesResult
|
|
196
|
+
});
|
|
197
|
+
} else {
|
|
198
|
+
const [faultTypesResult, limitViolationTypesResult] = results;
|
|
199
|
+
setFilterEnums({
|
|
200
|
+
limitType: limitViolationTypesResult,
|
|
201
|
+
faultType: faultTypesResult
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
}).catch((error) => snackWithFallback(snackError, error, { headerId: "ShortCircuitAnalysisResultsError" }));
|
|
205
|
+
}, [
|
|
206
|
+
analysisStatus,
|
|
207
|
+
intl,
|
|
208
|
+
snackError,
|
|
209
|
+
isOneBusShortCircuitAnalysisType,
|
|
210
|
+
studyUuid,
|
|
211
|
+
currentNodeUuid,
|
|
212
|
+
currentRootNetworkUuid,
|
|
213
|
+
fetchFilterEnumValues
|
|
214
|
+
]);
|
|
215
|
+
const openLoader = useOpenLoaderShortWait({
|
|
216
|
+
isLoading: analysisStatus === RunningStatus.RUNNING || isFetching,
|
|
217
|
+
delay: RESULTS_LOADING_DELAY
|
|
218
|
+
});
|
|
219
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
220
|
+
/* @__PURE__ */ jsx(Box, { sx: { height: "4px" }, children: openLoader && /* @__PURE__ */ jsx(LinearProgress, {}) }),
|
|
221
|
+
/* @__PURE__ */ jsx(
|
|
222
|
+
ShortCircuitAnalysisResultTable,
|
|
223
|
+
{
|
|
224
|
+
result,
|
|
225
|
+
analysisType,
|
|
226
|
+
isFetching,
|
|
227
|
+
filterEnums,
|
|
228
|
+
onDisplayedColumnsChanged,
|
|
229
|
+
onRowDataUpdated,
|
|
230
|
+
shortCircuitAnalysisStatus: analysisStatus,
|
|
231
|
+
columnFilters,
|
|
232
|
+
onGridReady: onGridReady ?? onGridColumnsChanged,
|
|
233
|
+
onVoltageLevelClick
|
|
234
|
+
}
|
|
235
|
+
),
|
|
236
|
+
/* @__PURE__ */ jsx(
|
|
237
|
+
CustomTablePagination,
|
|
238
|
+
{
|
|
239
|
+
rowsPerPageOptions: RESULT_PAGE_OPTIONS,
|
|
240
|
+
count,
|
|
241
|
+
rowsPerPage,
|
|
242
|
+
page,
|
|
243
|
+
onPageChange: handleChangePage,
|
|
244
|
+
onRowsPerPageChange: handleChangeRowsPerPage,
|
|
245
|
+
...customTablePaginationProps
|
|
246
|
+
}
|
|
247
|
+
)
|
|
248
|
+
] });
|
|
249
|
+
}
|
|
250
|
+
export {
|
|
251
|
+
ShortCircuitAnalysisResult
|
|
252
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Page } from '../../common';
|
|
2
|
+
export interface SCAFault {
|
|
3
|
+
id: string;
|
|
4
|
+
elementId: string;
|
|
5
|
+
voltageLevelId: string;
|
|
6
|
+
faultType: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SCALimitViolation {
|
|
9
|
+
subjectId: string;
|
|
10
|
+
limitType: string;
|
|
11
|
+
limit: number;
|
|
12
|
+
limitName: string;
|
|
13
|
+
value: number;
|
|
14
|
+
}
|
|
15
|
+
export interface SCAFeederResult {
|
|
16
|
+
connectableId: string;
|
|
17
|
+
current: number;
|
|
18
|
+
positiveMagnitude: number;
|
|
19
|
+
side: string;
|
|
20
|
+
}
|
|
21
|
+
interface SCAShortCircuitLimits {
|
|
22
|
+
ipMin: number;
|
|
23
|
+
ipMax: number;
|
|
24
|
+
deltaCurrentIpMax: number | null;
|
|
25
|
+
deltaCurrentIpMin: number | null;
|
|
26
|
+
}
|
|
27
|
+
export interface SCAFaultResult {
|
|
28
|
+
fault: SCAFault;
|
|
29
|
+
current: number;
|
|
30
|
+
positiveMagnitude: number;
|
|
31
|
+
shortCircuitPower: number;
|
|
32
|
+
shortCircuitLimits: SCAShortCircuitLimits;
|
|
33
|
+
limitViolations?: SCALimitViolation[];
|
|
34
|
+
feederResults?: SCAFeederResult[];
|
|
35
|
+
}
|
|
36
|
+
export type SCAPagedResults = Page<SCAFaultResult> | Page<SCAFeederResult>;
|
|
37
|
+
export declare enum ShortCircuitAnalysisType {
|
|
38
|
+
ALL_BUSES = 0,
|
|
39
|
+
ONE_BUS = 1
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var ShortCircuitAnalysisType = /* @__PURE__ */ ((ShortCircuitAnalysisType2) => {
|
|
2
|
+
ShortCircuitAnalysisType2[ShortCircuitAnalysisType2["ALL_BUSES"] = 0] = "ALL_BUSES";
|
|
3
|
+
ShortCircuitAnalysisType2[ShortCircuitAnalysisType2["ONE_BUS"] = 1] = "ONE_BUS";
|
|
4
|
+
return ShortCircuitAnalysisType2;
|
|
5
|
+
})(ShortCircuitAnalysisType || {});
|
|
6
|
+
export {
|
|
7
|
+
ShortCircuitAnalysisType
|
|
8
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -473,9 +473,15 @@ import { useGlobalAnnouncement } from "./features/announcement/useGlobalAnnounce
|
|
|
473
473
|
import { SecurityAnalysisResultNmk } from "./features/results/securityanalysis/security-analysis-result-nmk.js";
|
|
474
474
|
import { SecurityAnalysisTable } from "./features/results/securityanalysis/security-analysis-table.js";
|
|
475
475
|
import { NmkType } from "./features/results/securityanalysis/security-analysis.type.js";
|
|
476
|
-
import {
|
|
476
|
+
import { flattenNmKResultsConstraints, flattenNmKResultsContingencies, handlePostSortRows, mapNmKResultsCutOffPower } from "./features/results/securityanalysis/utils.js";
|
|
477
477
|
import { LimitViolationResult } from "./features/results/loadflow/limit-violation-result.js";
|
|
478
478
|
import { getNoRowsMessage } from "./features/results/utils/no-rows-message.js";
|
|
479
|
+
import { RESULT_PAGE_OPTIONS, createMultiEnumFilterParams } from "./features/results/common/utils.js";
|
|
480
|
+
import { ShortCircuitAnalysisType } from "./features/results/shortcircuit/shortcircuit-analysis-result.type.js";
|
|
481
|
+
import { ALL_BUSES, FROM_COLUMN_TO_FIELD, FROM_COLUMN_TO_FIELD_ONE_BUS, ONE_BUS, convertFilterValues, mappingTabs } from "./features/results/shortcircuit/shortcircuit-analysis-result-content.js";
|
|
482
|
+
import { SHORTCIRCUIT_ANALYSIS_RESULT_SORT_STORE, ShortCircuitAnalysisResultTable, numericFilterParams, resultsStyles, textFilterParams } from "./features/results/shortcircuit/shortcircuit-analysis-result-table.js";
|
|
483
|
+
import { ShortCircuitAnalysisResult } from "./features/results/shortcircuit/shortcircuit-analysis-result.js";
|
|
484
|
+
import { ShortCircuitAnalysisAllBusesResult } from "./features/results/shortcircuit/shortcircuit-analysis-all-buses-result.js";
|
|
479
485
|
import { RESULTS_LOADING_DELAY } from "./features/results/constants.js";
|
|
480
486
|
import { ProcessType } from "./features/process-configs/common/process-config.type.js";
|
|
481
487
|
import { emptyProcessConfigModificationsFormData, getProcessConfigModificationsBackendFromFormData, getProcessConfigModificationsFormData, processConfigModificationsShape } from "./features/process-configs/common/process-config-modifications-edition.utils.js";
|
|
@@ -582,6 +588,7 @@ export {
|
|
|
582
588
|
ACTIVE,
|
|
583
589
|
ACTIVE_LIMITS_MIN_MAX_INVALID,
|
|
584
590
|
ADVANCED_PARAMETERS,
|
|
591
|
+
ALL_BUSES,
|
|
585
592
|
ALL_EQUIPMENTS,
|
|
586
593
|
AMPERE,
|
|
587
594
|
APPLICABILITY,
|
|
@@ -807,6 +814,8 @@ export {
|
|
|
807
814
|
FILTER_NAME,
|
|
808
815
|
FLOW_PROPORTIONAL_THRESHOLD,
|
|
809
816
|
FORMULAS,
|
|
817
|
+
FROM_COLUMN_TO_FIELD,
|
|
818
|
+
FROM_COLUMN_TO_FIELD_ONE_BUS,
|
|
810
819
|
FetchStatus,
|
|
811
820
|
FieldConstants,
|
|
812
821
|
FieldErrorAlert,
|
|
@@ -998,6 +1007,7 @@ export {
|
|
|
998
1007
|
NumericCellRenderer,
|
|
999
1008
|
NumericEditor,
|
|
1000
1009
|
OHM,
|
|
1010
|
+
ONE_BUS,
|
|
1001
1011
|
OPERATIONAL_LIMITS_GROUPS_MODIFICATION_TYPE,
|
|
1002
1012
|
OPERATOR,
|
|
1003
1013
|
OPERATOR_OPTIONS,
|
|
@@ -1013,7 +1023,6 @@ export {
|
|
|
1013
1023
|
OverflowableTableCell,
|
|
1014
1024
|
OverflowableTableCellWithCheckbox,
|
|
1015
1025
|
OverflowableText,
|
|
1016
|
-
PAGE_OPTIONS,
|
|
1017
1026
|
PARAM_CENTER_LABEL,
|
|
1018
1027
|
PARAM_COMPONENT_LIBRARY,
|
|
1019
1028
|
PARAM_DEVELOPER_MODE,
|
|
@@ -1089,6 +1098,7 @@ export {
|
|
|
1089
1098
|
REPORT_SEVERITY,
|
|
1090
1099
|
RESET_AUTHENTICATION_ROUTER_ERROR,
|
|
1091
1100
|
RESULTS_LOADING_DELAY,
|
|
1101
|
+
RESULT_PAGE_OPTIONS,
|
|
1092
1102
|
RULES,
|
|
1093
1103
|
RadioInput,
|
|
1094
1104
|
RangeInput,
|
|
@@ -1124,6 +1134,7 @@ export {
|
|
|
1124
1134
|
SELECTED,
|
|
1125
1135
|
SELECTION_TYPE,
|
|
1126
1136
|
SENSITIVITY_TYPES,
|
|
1137
|
+
SHORTCIRCUIT_ANALYSIS_RESULT_SORT_STORE,
|
|
1127
1138
|
SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
|
|
1128
1139
|
SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE,
|
|
1129
1140
|
SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS,
|
|
@@ -1179,6 +1190,10 @@ export {
|
|
|
1179
1190
|
SensitivityType,
|
|
1180
1191
|
SeparatorCellRenderer,
|
|
1181
1192
|
SetPointsForm,
|
|
1193
|
+
ShortCircuitAnalysisAllBusesResult,
|
|
1194
|
+
ShortCircuitAnalysisResult,
|
|
1195
|
+
ShortCircuitAnalysisResultTable,
|
|
1196
|
+
ShortCircuitAnalysisType,
|
|
1182
1197
|
ShortCircuitForm,
|
|
1183
1198
|
ShortCircuitParametersEditionDialog,
|
|
1184
1199
|
ShortCircuitParametersInLine,
|
|
@@ -1330,6 +1345,7 @@ export {
|
|
|
1330
1345
|
computeSwitchedOnValue,
|
|
1331
1346
|
computeTagMinSize,
|
|
1332
1347
|
computeTolerance,
|
|
1348
|
+
convertFilterValues,
|
|
1333
1349
|
convertInputValue,
|
|
1334
1350
|
convertLimitsToOperationalLimitsGroupFormSchema,
|
|
1335
1351
|
convertOutputValue,
|
|
@@ -1350,6 +1366,7 @@ export {
|
|
|
1350
1366
|
createFilter,
|
|
1351
1367
|
createHeaderCellStyle,
|
|
1352
1368
|
createModificationNameCellStyle,
|
|
1369
|
+
createMultiEnumFilterParams,
|
|
1353
1370
|
createNameCellLabelBoxSx,
|
|
1354
1371
|
createNameCellRootStyle,
|
|
1355
1372
|
createParameter,
|
|
@@ -1725,6 +1742,7 @@ export {
|
|
|
1725
1742
|
mapSecurityAnalysisParameters,
|
|
1726
1743
|
mapSensitivityAnalysisParameters,
|
|
1727
1744
|
mapServerLimitsGroupsToFormInfos,
|
|
1745
|
+
mappingTabs,
|
|
1728
1746
|
markEditingGlobalFilter,
|
|
1729
1747
|
markNotFoundGlobalFiltersAsDeletedInState,
|
|
1730
1748
|
mergeModificationAndEquipmentProperties,
|
|
@@ -1750,6 +1768,7 @@ export {
|
|
|
1750
1768
|
newEquipmentDeletionDto,
|
|
1751
1769
|
notNull,
|
|
1752
1770
|
notUndefined,
|
|
1771
|
+
numericFilterParams,
|
|
1753
1772
|
onlyStartedGeneratorsOptions,
|
|
1754
1773
|
parametersEn,
|
|
1755
1774
|
parametersFr,
|
|
@@ -1767,6 +1786,7 @@ export {
|
|
|
1767
1786
|
reportViewerEn,
|
|
1768
1787
|
reportViewerFr,
|
|
1769
1788
|
resetAuthenticationRouterError,
|
|
1789
|
+
resultsStyles,
|
|
1770
1790
|
richTypeEquals,
|
|
1771
1791
|
roundToDefaultPrecision,
|
|
1772
1792
|
roundToPrecision,
|
|
@@ -1826,6 +1846,7 @@ export {
|
|
|
1826
1846
|
tableFr,
|
|
1827
1847
|
testQuery,
|
|
1828
1848
|
testValueWithinPowerInterval,
|
|
1849
|
+
textFilterParams,
|
|
1829
1850
|
toBeEstimatedEmptyFormData,
|
|
1830
1851
|
toFloatOrNullValue,
|
|
1831
1852
|
toFormValuesContingencyListsInfos,
|
|
@@ -24,4 +24,4 @@ export * from './dynamic-margin-calculation.type';
|
|
|
24
24
|
export * from './network-modification-types';
|
|
25
25
|
export * from './pcc-min.type';
|
|
26
26
|
export * from './network-modification-metadata';
|
|
27
|
-
export
|
|
27
|
+
export * from './computing-type';
|