@gridsuite/commons-ui 0.278.0 → 0.280.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/separatorCellRenderer.d.ts +7 -2
- package/dist/components/composite/customAGGrid/separatorCellRenderer.js +2 -2
- package/dist/features/index.d.ts +1 -0
- package/dist/features/index.js +19 -0
- package/dist/features/network-modifications/index.js +13 -0
- package/dist/features/network-modifications/voltageLevel/common/HeaderWithTooltip.d.ts +8 -0
- package/dist/features/network-modifications/voltageLevel/common/HeaderWithTooltip.js +119 -0
- package/dist/features/network-modifications/voltageLevel/common/index.d.ts +1 -0
- package/dist/features/network-modifications/voltageLevel/common/index.js +4 -0
- package/dist/features/network-modifications/voltageLevel/index.d.ts +2 -0
- package/dist/features/network-modifications/voltageLevel/index.js +13 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.d.ts +8 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js +387 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.d.ts +6 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.js +64 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.d.ts +6 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js +102 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/index.d.ts +2 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/index.js +6 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/index.d.ts +4 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/index.js +13 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.type.d.ts +36 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.type.js +1 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.d.ts +37 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.js +86 -0
- package/dist/features/side-bar/AppSideBar.d.ts +27 -0
- package/dist/features/side-bar/AppSideBar.js +102 -0
- package/dist/features/side-bar/AppSideBarHeader.d.ts +11 -0
- package/dist/features/side-bar/AppSideBarHeader.js +54 -0
- package/dist/features/side-bar/dialogs/AppSideBarDialogProvider.d.ts +14 -0
- package/dist/features/side-bar/dialogs/AppSideBarDialogProvider.js +36 -0
- package/dist/features/side-bar/dialogs/AppSideBarDialogs.d.ts +14 -0
- package/dist/features/side-bar/dialogs/AppSideBarDialogs.js +56 -0
- package/dist/features/side-bar/footer/AppSideBarFooter.d.ts +15 -0
- package/dist/features/side-bar/footer/AppSideBarFooter.js +60 -0
- package/dist/features/side-bar/footer/applications/ApplicationMenu.d.ts +5 -0
- package/dist/features/side-bar/footer/applications/ApplicationMenu.js +83 -0
- package/dist/features/side-bar/footer/applications/OtherAppRedirection.d.ts +6 -0
- package/dist/features/side-bar/footer/applications/OtherAppRedirection.js +105 -0
- package/dist/features/side-bar/footer/common/MinimizedSubMenuHeader.d.ts +9 -0
- package/dist/features/side-bar/footer/common/MinimizedSubMenuHeader.js +22 -0
- package/dist/features/side-bar/footer/common/SideBarMenuItem.d.ts +10 -0
- package/dist/features/side-bar/footer/common/SideBarMenuItem.js +76 -0
- package/dist/features/side-bar/footer/common/submenu-footer.style.d.ts +23 -0
- package/dist/features/side-bar/footer/common/submenu-footer.style.js +20 -0
- package/dist/features/side-bar/footer/profile/ProfileInfos.d.ts +4 -0
- package/dist/features/side-bar/footer/profile/ProfileInfos.js +32 -0
- package/dist/features/side-bar/footer/profile/ProfileMenu.d.ts +7 -0
- package/dist/features/side-bar/footer/profile/ProfileMenu.js +95 -0
- package/dist/features/side-bar/footer/profile/UserIcon.d.ts +9 -0
- package/dist/features/side-bar/footer/profile/UserIcon.js +33 -0
- package/dist/features/side-bar/footer/settings/DarkModeToggle.d.ts +7 -0
- package/dist/features/side-bar/footer/settings/DarkModeToggle.js +74 -0
- package/dist/features/side-bar/footer/settings/LanguageSelection.d.ts +8 -0
- package/dist/features/side-bar/footer/settings/LanguageSelection.js +75 -0
- package/dist/features/side-bar/footer/settings/SettingsMenu.d.ts +10 -0
- package/dist/features/side-bar/footer/settings/SettingsMenu.js +112 -0
- package/dist/features/side-bar/index.d.ts +7 -0
- package/dist/features/side-bar/index.js +4 -0
- package/dist/features/topBar/index.d.ts +2 -0
- package/dist/features/topBar/index.js +5 -1
- package/dist/index.js +19 -0
- package/dist/translations/en/networkModificationsEn.d.ts +12 -0
- package/dist/translations/en/networkModificationsEn.js +13 -1
- package/dist/translations/en/topBarEn.d.ts +7 -0
- package/dist/translations/en/topBarEn.js +7 -0
- package/dist/translations/fr/networkModificationsFr.d.ts +12 -0
- package/dist/translations/fr/networkModificationsFr.js +13 -1
- package/dist/translations/fr/topBarFr.d.ts +7 -0
- package/dist/translations/fr/topBarFr.js +7 -0
- package/dist/utils/constants/fieldConstants.d.ts +7 -1
- package/dist/utils/constants/fieldConstants.js +6 -0
- package/package.json +1 -1
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
type SeparatorCellRendererProps = {
|
|
3
|
+
value: string;
|
|
4
|
+
sx?: SxProps;
|
|
5
|
+
};
|
|
6
|
+
export declare function SeparatorCellRenderer({ value, sx }: Readonly<SeparatorCellRendererProps>): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -12,8 +12,8 @@ const styles = {
|
|
|
12
12
|
marginTop: theme.spacing(1)
|
|
13
13
|
})
|
|
14
14
|
};
|
|
15
|
-
function SeparatorCellRenderer({
|
|
16
|
-
return /* @__PURE__ */ jsx(Typography, { variant: "subtitle1", color: "primary", sx: mergeSx(styles.separator, sx),
|
|
15
|
+
function SeparatorCellRenderer({ value, sx }) {
|
|
16
|
+
return /* @__PURE__ */ jsx(Typography, { variant: "subtitle1", color: "primary", sx: mergeSx(styles.separator, sx), children: value });
|
|
17
17
|
}
|
|
18
18
|
export {
|
|
19
19
|
SeparatorCellRenderer
|
package/dist/features/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './authentication';
|
|
|
8
8
|
export * from './cardErrorBoundary';
|
|
9
9
|
export * from './notifications';
|
|
10
10
|
export * from './topBar';
|
|
11
|
+
export * from './side-bar';
|
|
11
12
|
export * from './parameters';
|
|
12
13
|
export * from './network-modifications';
|
|
13
14
|
export * from './node';
|
package/dist/features/index.js
CHANGED
|
@@ -18,6 +18,9 @@ import { AboutDialog } from "./topBar/AboutDialog.js";
|
|
|
18
18
|
import { GridLogo, LogoText } from "./topBar/GridLogo.js";
|
|
19
19
|
import { DevModeBanner } from "./topBar/DevModeBanner.js";
|
|
20
20
|
import { TopBar } from "./topBar/TopBar.js";
|
|
21
|
+
import { default as default3 } from "./topBar/UserInformationDialog.js";
|
|
22
|
+
import { default as default4 } from "./topBar/UserSettingsDialog.js";
|
|
23
|
+
import { AppSideBar } from "./side-bar/AppSideBar.js";
|
|
21
24
|
import { ParameterLayout } from "./parameters/common/parameter-layout/parameter-layout.js";
|
|
22
25
|
import { ParameterLayoutProvider, useParameterLayoutContext } from "./parameters/common/parameter-layout/parameter-layout-provider.js";
|
|
23
26
|
import { formatComputingTypeLabel, isValidComputingType } from "./parameters/common/computing-type.js";
|
|
@@ -168,6 +171,11 @@ import { createVoltageLevelTopologyDtoToForm, createVoltageLevelTopologyEmptyFor
|
|
|
168
171
|
import { CreateVoltageLevelTopologyForm } from "./network-modifications/voltageLevel/topology/CreateVoltageLevelTopologyForm.js";
|
|
169
172
|
import { VoltageLevelSectionCreationForm } from "./network-modifications/voltageLevel/section/VoltageLevelSectionCreationForm.js";
|
|
170
173
|
import { POSITION_NEW_SECTION_SIDE, voltageLevelSectionCreationDtoToForm, voltageLevelSectionCreationEmptyFormData, voltageLevelSectionCreationFormSchema, voltageLevelSectionCreationFormToDto } from "./network-modifications/voltageLevel/section/voltageLevelSectionCreation.utils.js";
|
|
174
|
+
import { FeederBayPositionCellRenderer } from "./network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js";
|
|
175
|
+
import { FeederBayDirectionCellRenderer } from "./network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.js";
|
|
176
|
+
import { emptyMoveVoltageLevelFeederBaysFormData, moveVoltageLevelFeederBaysDtoToForm, moveVoltageLevelFeederBaysFormSchema, moveVoltageLevelFeederBaysFormToDto } from "./network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.js";
|
|
177
|
+
import { MoveVoltageLevelFeederBaysForm } from "./network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js";
|
|
178
|
+
import { HeaderWithTooltip } from "./network-modifications/voltageLevel/common/HeaderWithTooltip.js";
|
|
171
179
|
import { LOAD_TAB_FIELDS, LoadDialogTab } from "./network-modifications/load/common/load.utils.js";
|
|
172
180
|
import { LoadDialogTabs } from "./network-modifications/load/common/LoadDialogTabs.js";
|
|
173
181
|
import { LoadDialogTabsContent } from "./network-modifications/load/common/LoadDialogTabsContent.js";
|
|
@@ -315,6 +323,7 @@ export {
|
|
|
315
323
|
ActivePowerControlForm,
|
|
316
324
|
AnnouncementBanner,
|
|
317
325
|
AnnouncementNotification,
|
|
326
|
+
AppSideBar,
|
|
318
327
|
DataType as AssignmentDataType,
|
|
319
328
|
AuthenticationRouter,
|
|
320
329
|
default2 as AuthenticationRouterErrorDisplay,
|
|
@@ -404,6 +413,8 @@ export {
|
|
|
404
413
|
FORMULAS,
|
|
405
414
|
FROM_COLUMN_TO_FIELD,
|
|
406
415
|
FROM_COLUMN_TO_FIELD_ONE_BUS,
|
|
416
|
+
FeederBayDirectionCellRenderer,
|
|
417
|
+
FeederBayPositionCellRenderer,
|
|
407
418
|
GENERAL,
|
|
408
419
|
GENERAL_APPLY_MODIFICATIONS,
|
|
409
420
|
GENERATORS_SELECTION_TYPE,
|
|
@@ -423,6 +434,7 @@ export {
|
|
|
423
434
|
HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD,
|
|
424
435
|
HVDC_AC_EMULATION,
|
|
425
436
|
HVDC_EQUIPMENT_TYPES,
|
|
437
|
+
HeaderWithTooltip,
|
|
426
438
|
HvdcLccDeletionSpecificForm,
|
|
427
439
|
INJECTIONS_EQUIPMENT_TYPES,
|
|
428
440
|
INJECTION_DISTRIBUTION_TYPES,
|
|
@@ -497,6 +509,7 @@ export {
|
|
|
497
509
|
ModificationByAssignmentForm,
|
|
498
510
|
ModificationByFormulaForm,
|
|
499
511
|
ModificationRow,
|
|
512
|
+
MoveVoltageLevelFeederBaysForm,
|
|
500
513
|
NAD_POSITIONS_GENERATION_MODE,
|
|
501
514
|
NAD_POSITIONS_GENERATION_MODE_LABEL,
|
|
502
515
|
NODE_CLUSTER,
|
|
@@ -671,7 +684,9 @@ export {
|
|
|
671
684
|
UPDATE_BUS_VOLTAGE,
|
|
672
685
|
USE_REACTIVE_LIMITS,
|
|
673
686
|
UnauthorizedAccessAlert,
|
|
687
|
+
default3 as UserInformationDialog,
|
|
674
688
|
UserManagerMock,
|
|
689
|
+
default4 as UserSettingsDialog,
|
|
675
690
|
VARIABLE_Q_GENERATORS,
|
|
676
691
|
VARIABLE_SHUNT_COMPENSATORS,
|
|
677
692
|
VARIABLE_TRANSFORMERS,
|
|
@@ -753,6 +768,7 @@ export {
|
|
|
753
768
|
emptyLineSegment,
|
|
754
769
|
emptyModificationByAssignmentFormData,
|
|
755
770
|
emptyModificationFormData,
|
|
771
|
+
emptyMoveVoltageLevelFeederBaysFormData,
|
|
756
772
|
emptyProcessConfigModificationsFormData,
|
|
757
773
|
emptyProperties,
|
|
758
774
|
equipmentDeletionDtoToForm,
|
|
@@ -961,6 +977,9 @@ export {
|
|
|
961
977
|
modificationByFormulaFormToDto,
|
|
962
978
|
modificationPropertiesSchema,
|
|
963
979
|
moveSubModificationInTree,
|
|
980
|
+
moveVoltageLevelFeederBaysDtoToForm,
|
|
981
|
+
moveVoltageLevelFeederBaysFormSchema,
|
|
982
|
+
moveVoltageLevelFeederBaysFormToDto,
|
|
964
983
|
networkModificationTableStyles,
|
|
965
984
|
newEquipmentDeletionDto,
|
|
966
985
|
numericFilterParams,
|
|
@@ -96,6 +96,11 @@ import { createVoltageLevelTopologyDtoToForm, createVoltageLevelTopologyEmptyFor
|
|
|
96
96
|
import { CreateVoltageLevelTopologyForm } from "./voltageLevel/topology/CreateVoltageLevelTopologyForm.js";
|
|
97
97
|
import { VoltageLevelSectionCreationForm } from "./voltageLevel/section/VoltageLevelSectionCreationForm.js";
|
|
98
98
|
import { POSITION_NEW_SECTION_SIDE, voltageLevelSectionCreationDtoToForm, voltageLevelSectionCreationEmptyFormData, voltageLevelSectionCreationFormSchema, voltageLevelSectionCreationFormToDto } from "./voltageLevel/section/voltageLevelSectionCreation.utils.js";
|
|
99
|
+
import { FeederBayPositionCellRenderer } from "./voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js";
|
|
100
|
+
import { FeederBayDirectionCellRenderer } from "./voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.js";
|
|
101
|
+
import { emptyMoveVoltageLevelFeederBaysFormData, moveVoltageLevelFeederBaysDtoToForm, moveVoltageLevelFeederBaysFormSchema, moveVoltageLevelFeederBaysFormToDto } from "./voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.js";
|
|
102
|
+
import { MoveVoltageLevelFeederBaysForm } from "./voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js";
|
|
103
|
+
import { HeaderWithTooltip } from "./voltageLevel/common/HeaderWithTooltip.js";
|
|
99
104
|
import { LOAD_TAB_FIELDS, LoadDialogTab } from "./load/common/load.utils.js";
|
|
100
105
|
import { LoadDialogTabs } from "./load/common/LoadDialogTabs.js";
|
|
101
106
|
import { LoadDialogTabsContent } from "./load/common/LoadDialogTabsContent.js";
|
|
@@ -208,6 +213,8 @@ export {
|
|
|
208
213
|
EQUIPMENT_TYPE_ORDER,
|
|
209
214
|
EquipmentDeletionForm,
|
|
210
215
|
FORMULAS,
|
|
216
|
+
FeederBayDirectionCellRenderer,
|
|
217
|
+
FeederBayPositionCellRenderer,
|
|
211
218
|
GENERATOR_TAB_FIELDS,
|
|
212
219
|
GeneratorCreationForm,
|
|
213
220
|
GeneratorDialogHeader,
|
|
@@ -215,6 +222,7 @@ export {
|
|
|
215
222
|
GeneratorDialogTabs,
|
|
216
223
|
GeneratorDialogTabsContent,
|
|
217
224
|
GeneratorModificationForm,
|
|
225
|
+
HeaderWithTooltip,
|
|
218
226
|
HvdcLccDeletionSpecificForm,
|
|
219
227
|
INSERT,
|
|
220
228
|
ImportRuleDialog,
|
|
@@ -242,6 +250,7 @@ export {
|
|
|
242
250
|
MAX_SECTIONS_COUNT,
|
|
243
251
|
ModificationByAssignmentForm,
|
|
244
252
|
ModificationByFormulaForm,
|
|
253
|
+
MoveVoltageLevelFeederBaysForm,
|
|
245
254
|
OPERATIONAL_LIMITS_GROUPS_MODIFICATION_TYPE,
|
|
246
255
|
OPERATOR,
|
|
247
256
|
OperationalLimitsGroupTabLabel,
|
|
@@ -344,6 +353,7 @@ export {
|
|
|
344
353
|
emptyLineSegment,
|
|
345
354
|
emptyModificationByAssignmentFormData,
|
|
346
355
|
emptyModificationFormData,
|
|
356
|
+
emptyMoveVoltageLevelFeederBaysFormData,
|
|
347
357
|
emptyProperties,
|
|
348
358
|
equipmentDeletionDtoToForm,
|
|
349
359
|
equipmentDeletionEmptyFormData,
|
|
@@ -510,6 +520,9 @@ export {
|
|
|
510
520
|
modificationByFormulaFormSchema,
|
|
511
521
|
modificationByFormulaFormToDto,
|
|
512
522
|
modificationPropertiesSchema,
|
|
523
|
+
moveVoltageLevelFeederBaysDtoToForm,
|
|
524
|
+
moveVoltageLevelFeederBaysFormSchema,
|
|
525
|
+
moveVoltageLevelFeederBaysFormToDto,
|
|
513
526
|
newEquipmentDeletionDto,
|
|
514
527
|
sanitizeLimitNames,
|
|
515
528
|
sanitizeLimitsGroups,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type HeaderWithTooltipProps = {
|
|
2
|
+
displayName: string;
|
|
3
|
+
tooltipTitle: string;
|
|
4
|
+
isNodeBuilt: boolean;
|
|
5
|
+
disabledTooltip: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare function HeaderWithTooltip({ displayName, tooltipTitle, isNodeBuilt, disabledTooltip, }: Readonly<HeaderWithTooltipProps>): import("react").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Box, FormHelperText } from "@mui/material";
|
|
3
|
+
import { InfoOutlined, WarningAmberRounded } from "@mui/icons-material";
|
|
4
|
+
import "react-intl";
|
|
5
|
+
import "../../../../components/ui/overflowableText/OverflowableText.js";
|
|
6
|
+
import "../../../../utils/conversionUtils.js";
|
|
7
|
+
import "../../../../utils/types/equipmentType.js";
|
|
8
|
+
import "react";
|
|
9
|
+
import "react-hook-form";
|
|
10
|
+
import "localized-countries";
|
|
11
|
+
import "localized-countries/data/fr";
|
|
12
|
+
import "localized-countries/data/en";
|
|
13
|
+
import "notistack";
|
|
14
|
+
import "../../../../components/ui/reactHookForm/provider/CustomFormProvider.js";
|
|
15
|
+
import "yup";
|
|
16
|
+
import { CustomTooltip } from "../../../../components/ui/tooltip/CustomTooltip.js";
|
|
17
|
+
import "../../../../components/ui/treeViewFinder/TreeViewFinder.js";
|
|
18
|
+
import "../../../../components/ui/reactHookForm/numbers/RangeInput.js";
|
|
19
|
+
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
20
|
+
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
21
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
22
|
+
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
23
|
+
import "@material-symbols/svg-400/outlined/add_notes-fill.svg?react";
|
|
24
|
+
import "../../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
25
|
+
import "../../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
26
|
+
import "../../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
27
|
+
import "@hello-pangea/dnd";
|
|
28
|
+
import "../../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
29
|
+
import "../../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
30
|
+
import "mui-nested-menu";
|
|
31
|
+
import "react-resizable-panels";
|
|
32
|
+
import "react-papaparse";
|
|
33
|
+
import "react-dom";
|
|
34
|
+
import "autosuggest-highlight/match";
|
|
35
|
+
import "autosuggest-highlight/parse";
|
|
36
|
+
import "clsx";
|
|
37
|
+
import "../../../../components/composite/filter/FilterCreationDialog.js";
|
|
38
|
+
import "../../../../components/composite/filter/HeaderFilterForm.js";
|
|
39
|
+
import "../../../../components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js";
|
|
40
|
+
import "../../../../components/composite/filter/expert/ExpertFilterForm.js";
|
|
41
|
+
import "../../../../components/composite/filter/expert/ExpertFilterEditionDialog.js";
|
|
42
|
+
import "../../../../components/composite/filter/expert/expertFilterConstants.js";
|
|
43
|
+
import "react-querybuilder";
|
|
44
|
+
import "uuid";
|
|
45
|
+
import "../../../../components/composite/filter/explicitNaming/ExplicitNamingFilterEditionDialog.js";
|
|
46
|
+
import "../../../../components/composite/filter/utils/filterFormUtils.js";
|
|
47
|
+
import "@react-querybuilder/material";
|
|
48
|
+
import "../../../../components/composite/reactQueryBuilder/CustomReactQueryBuilder.js";
|
|
49
|
+
import "../../../../components/composite/reactQueryBuilder/PropertyValueEditor.js";
|
|
50
|
+
import "../../../../components/composite/agGridTable/BottomTableButtons.js";
|
|
51
|
+
import "../../../../components/composite/agGridTable/CustomAgGridTable.js";
|
|
52
|
+
import "ag-grid-community";
|
|
53
|
+
import "../../../../components/composite/customAGGrid/customAggrid.js";
|
|
54
|
+
import "../../../../components/composite/customAGGrid/context/custom-aggrid-context.js";
|
|
55
|
+
import "mathjs";
|
|
56
|
+
import "../../../../components/composite/report/report-viewer/log-table/log-table.js";
|
|
57
|
+
import "react-window";
|
|
58
|
+
import "../../../../components/composite/report/report-treeview/treeview-item.js";
|
|
59
|
+
import "../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
|
|
60
|
+
function HeaderWithTooltip({
|
|
61
|
+
displayName,
|
|
62
|
+
tooltipTitle,
|
|
63
|
+
isNodeBuilt,
|
|
64
|
+
disabledTooltip
|
|
65
|
+
}) {
|
|
66
|
+
return /* @__PURE__ */ jsxs(
|
|
67
|
+
Box,
|
|
68
|
+
{
|
|
69
|
+
sx: {
|
|
70
|
+
display: "flex",
|
|
71
|
+
alignItems: "center",
|
|
72
|
+
justifyContent: "center",
|
|
73
|
+
width: "100%",
|
|
74
|
+
height: "100%",
|
|
75
|
+
padding: "0 4px"
|
|
76
|
+
},
|
|
77
|
+
children: [
|
|
78
|
+
/* @__PURE__ */ jsx("span", { style: { marginRight: "8px" }, children: displayName }),
|
|
79
|
+
!disabledTooltip && /* @__PURE__ */ jsx(
|
|
80
|
+
FormHelperText,
|
|
81
|
+
{
|
|
82
|
+
error: false,
|
|
83
|
+
sx: {
|
|
84
|
+
m: 0,
|
|
85
|
+
p: 0,
|
|
86
|
+
minWidth: "auto",
|
|
87
|
+
lineHeight: 1,
|
|
88
|
+
display: "flex"
|
|
89
|
+
},
|
|
90
|
+
children: /* @__PURE__ */ jsx(
|
|
91
|
+
CustomTooltip,
|
|
92
|
+
{
|
|
93
|
+
title: tooltipTitle,
|
|
94
|
+
placement: "right",
|
|
95
|
+
arrow: true,
|
|
96
|
+
slotProps: {
|
|
97
|
+
popper: {
|
|
98
|
+
modifiers: [
|
|
99
|
+
{
|
|
100
|
+
name: "offset",
|
|
101
|
+
options: {
|
|
102
|
+
offset: [0, -10]
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
children: /* @__PURE__ */ jsx("span", { style: { display: "flex", alignItems: "center" }, children: isNodeBuilt ? /* @__PURE__ */ jsx(InfoOutlined, { color: "info", fontSize: "small" }) : /* @__PURE__ */ jsx(WarningAmberRounded, { color: "warning", fontSize: "small" }) })
|
|
109
|
+
}
|
|
110
|
+
)
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
export {
|
|
118
|
+
HeaderWithTooltip
|
|
119
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './HeaderWithTooltip';
|
|
@@ -74,10 +74,19 @@ import { createVoltageLevelTopologyDtoToForm, createVoltageLevelTopologyEmptyFor
|
|
|
74
74
|
import { CreateVoltageLevelTopologyForm } from "./topology/CreateVoltageLevelTopologyForm.js";
|
|
75
75
|
import { VoltageLevelSectionCreationForm } from "./section/VoltageLevelSectionCreationForm.js";
|
|
76
76
|
import { POSITION_NEW_SECTION_SIDE, voltageLevelSectionCreationDtoToForm, voltageLevelSectionCreationEmptyFormData, voltageLevelSectionCreationFormSchema, voltageLevelSectionCreationFormToDto } from "./section/voltageLevelSectionCreation.utils.js";
|
|
77
|
+
import { FeederBayPositionCellRenderer } from "./moveFeederBays/feederBay/FeederBayPositionCellRender.js";
|
|
78
|
+
import { FeederBayDirectionCellRenderer } from "./moveFeederBays/feederBay/FeederBayDirectionCellRender.js";
|
|
79
|
+
import { emptyMoveVoltageLevelFeederBaysFormData, moveVoltageLevelFeederBaysDtoToForm, moveVoltageLevelFeederBaysFormSchema, moveVoltageLevelFeederBaysFormToDto } from "./moveFeederBays/moveVoltageLevelFeederBays.utils.js";
|
|
80
|
+
import { MoveVoltageLevelFeederBaysForm } from "./moveFeederBays/MoveVoltageLevelFeederBaysForm.js";
|
|
81
|
+
import { HeaderWithTooltip } from "./common/HeaderWithTooltip.js";
|
|
77
82
|
export {
|
|
78
83
|
CouplingDeviceCreationForm,
|
|
79
84
|
CreateVoltageLevelTopologyForm,
|
|
85
|
+
FeederBayDirectionCellRenderer,
|
|
86
|
+
FeederBayPositionCellRenderer,
|
|
87
|
+
HeaderWithTooltip,
|
|
80
88
|
MAX_SECTIONS_COUNT,
|
|
89
|
+
MoveVoltageLevelFeederBaysForm,
|
|
81
90
|
POSITION_NEW_SECTION_SIDE,
|
|
82
91
|
SWITCH_TYPE,
|
|
83
92
|
SwitchKind,
|
|
@@ -94,8 +103,12 @@ export {
|
|
|
94
103
|
createVoltageLevelTopologyFormSchema,
|
|
95
104
|
createVoltageLevelTopologyFormToDto,
|
|
96
105
|
emptyCouplingDeviceCreationFormData,
|
|
106
|
+
emptyMoveVoltageLevelFeederBaysFormData,
|
|
97
107
|
getCreateSwitchesEmptyFormData,
|
|
98
108
|
getCreateSwitchesValidationSchema,
|
|
109
|
+
moveVoltageLevelFeederBaysDtoToForm,
|
|
110
|
+
moveVoltageLevelFeederBaysFormSchema,
|
|
111
|
+
moveVoltageLevelFeederBaysFormToDto,
|
|
99
112
|
translateSwitchKinds,
|
|
100
113
|
voltageLevelCreationDtoToForm,
|
|
101
114
|
voltageLevelCreationEmptyFormData,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PositionDiagramPaneType } from '../../common';
|
|
2
|
+
import { FeederBays } from './moveVoltageLevelFeederBays.type';
|
|
3
|
+
export interface MoveVoltageLevelFeederBaysFormProps {
|
|
4
|
+
feederBaysPreviousValues: FeederBays;
|
|
5
|
+
isReady?: boolean;
|
|
6
|
+
PositionDiagramPane?: PositionDiagramPaneType;
|
|
7
|
+
}
|
|
8
|
+
export declare function MoveVoltageLevelFeederBaysForm({ feederBaysPreviousValues, PositionDiagramPane, isReady, }: Readonly<MoveVoltageLevelFeederBaysFormProps>): import("react").JSX.Element;
|