@gridsuite/commons-ui 0.295.0 → 0.297.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/agGridTable/BottomTableButtons.js +56 -44
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-filter.js +32 -23
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-text-filter.js +31 -23
- package/dist/components/composite/customAGGrid/custom-aggrid-header.js +67 -43
- package/dist/components/composite/elementSearch/elementSearchInput/ElementSearchInput.d.ts +3 -2
- package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js +43 -28
- package/dist/components/composite/reactQueryBuilder/CustomReactQueryBuilder.js +4 -7
- package/dist/components/composite/reactQueryBuilder/FieldSelector.js +5 -3
- package/dist/components/composite/reactQueryBuilder/PropertyValueEditor.js +63 -52
- package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js +22 -9
- package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js +59 -24
- package/dist/components/ui/csvPicker/csv-picker.js +24 -12
- package/dist/components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js +15 -7
- package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +82 -39
- package/dist/components/ui/dialogs/modifyElementSelection/ModifyElementSelection.js +29 -9
- package/dist/components/ui/dialogs/name-element-editor/name-element-editor-form.js +24 -15
- package/dist/components/ui/inputs/ActivableChip.js +2 -2
- package/dist/components/ui/inputs/SelectClearable.js +4 -3
- package/dist/components/ui/reactHookForm/DirectoryItemsInput.js +1 -1
- package/dist/components/ui/reactHookForm/OverflowableChip.js +24 -13
- package/dist/components/ui/reactHookForm/OverflowableChipWithHelperText.js +9 -4
- package/dist/components/ui/reactHookForm/autocompleteInputs/AutocompleteInput.js +11 -5
- package/dist/components/ui/reactHookForm/directory-item-input/directory-item-input.js +13 -3
- package/dist/components/ui/reactHookForm/expandableInput/DeletableRow.js +3 -1
- package/dist/components/ui/reactHookForm/utils/HelperPreviousValue.js +11 -1
- package/dist/features/authentication/AuthenticationRouter.js +62 -53
- package/dist/features/authentication/Login.js +15 -7
- package/dist/features/authentication/Logout.js +9 -1
- package/dist/features/cardErrorBoundary/CardErrorBoundary.js +28 -10
- package/dist/features/global-filter/ui/global-filter-panel.js +4 -10
- package/dist/features/network-modifications/battery/creation/BatteryCreationForm.js +22 -12
- package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.js +21 -11
- package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +35 -25
- package/dist/features/network-modifications/common/currentLimits/LimitsPane.js +28 -16
- package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsEditor.js +16 -4
- package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsPropertiesSideStack.js +81 -68
- package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.js +31 -21
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +32 -21
- package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.d.ts +1 -1
- package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.js +1 -1
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +20 -9
- package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.js +22 -12
- package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.js +28 -18
- package/dist/features/network-modifications/hvdcLine/vsc/common/converterStation/VscConverterStationPane.js +15 -4
- package/dist/features/network-modifications/hvdcLine/vsc/creation/vscHvdcLineCreation.utils.js +2 -2
- package/dist/features/network-modifications/hvdcLine/vsc/modification/vscHvdcLineModification.utils.js +7 -4
- package/dist/features/network-modifications/static-var-compensator/common/set-points-limits-form.js +70 -40
- package/dist/features/network-modifications/static-var-compensator/common/standby-automaton-form.js +35 -6
- package/dist/features/network-modifications/static-var-compensator/common/static-var-compensator-tabs-content.js +16 -7
- package/dist/features/network-modifications/tabular/TabularForm.js +102 -72
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js +20 -10
- package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +35 -17
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js +9 -1
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js +6 -4
- package/dist/features/network-modifications/voltageLevel/section/VoltageLevelSectionCreationForm.js +17 -7
- package/dist/features/network-modifications/voltageLevel/topology/creation/CreateVoltageLevelTopologyForm.js +23 -13
- package/dist/features/network-modifications/voltageLevel/topology/modification/VoltageLevelTopologyModificationForm.js +25 -15
- package/dist/features/parameters/common/parameter-field.js +17 -4
- package/dist/features/parameters/common/parameter-table-field/parameter-table-field.js +23 -12
- package/dist/features/parameters/common/provider-param.js +1 -1
- package/dist/features/parameters/common/widget/parameter-float.js +16 -4
- package/dist/features/parameters/common/widget/parameter-line-directory-items-input.js +1 -1
- package/dist/features/parameters/common/widget/parameter-switch.js +13 -1
- package/dist/features/parameters/dynamic-simulation/curve/common/checkbox-select.js +6 -4
- package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector-dialog.js +43 -32
- package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector.js +47 -25
- package/dist/features/parameters/network-visualizations/map-parameters.js +7 -3
- package/dist/features/parameters/network-visualizations/network-area-diagram-parameters.js +7 -3
- package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.js +7 -3
- package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.js +23 -13
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-factor-count.js +2 -2
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.js +12 -1
- package/dist/features/parameters/sensi/sensitivity-parameters-fields.js +36 -26
- package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +67 -26
- package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +15 -4
- package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +51 -15
- package/dist/features/parameters/voltage-init/general-parameters.js +9 -1
- package/dist/features/process-configs/common/FormSubSection.js +2 -2
- package/dist/features/process-configs/common/GeneralInformationSection.js +1 -1
- package/dist/features/process-configs/common/SpecificInformationSection.js +12 -4
- package/dist/features/process-configs/common/process-config-modifications-edition.js +3 -3
- package/dist/features/process-configs/form/components/ProcessTypeChangeDialog.js +5 -2
- package/dist/features/side-bar/AppSideBarHeader.js +36 -16
- package/dist/features/side-bar/footer/AppSideBarFooter.js +46 -38
- package/dist/features/side-bar/footer/applications/OtherAppRedirection.js +10 -8
- package/dist/features/side-bar/footer/common/SideBarMenuItem.js +9 -1
- package/dist/features/side-bar/footer/profile/ProfileInfos.js +15 -6
- package/dist/features/side-bar/footer/settings/DarkModeToggle.js +16 -4
- package/dist/features/side-bar/footer/settings/SettingsMenu.js +16 -6
- package/dist/features/topBar/AboutDialog.js +46 -17
- package/dist/features/topBar/TopBar.js +2 -2
- package/dist/features/topBar/UserInformationDialog.js +198 -45
- package/package.json +16 -11
|
@@ -31,10 +31,18 @@ function UserInformationDialog({ openDialog, userProfile, onClose }) {
|
|
|
31
31
|
const rolesString = userProfile?.profile ?? "";
|
|
32
32
|
const rolesList = rolesString ? rolesString.split("|").map((role) => role.trim()) : [];
|
|
33
33
|
return /* @__PURE__ */ jsxs(Dialog, { open: openDialog && !!userProfile && !!userDetails, onClose, children: [
|
|
34
|
-
/* @__PURE__ */ jsx(DialogTitle, { fontWeight: "bold"
|
|
34
|
+
/* @__PURE__ */ jsx(DialogTitle, { sx: { ...styles.DialogTitle, fontWeight: "bold" }, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/title" }) }),
|
|
35
35
|
/* @__PURE__ */ jsxs(DialogContent, { children: [
|
|
36
36
|
/* @__PURE__ */ jsxs(Grid, { container: true, spacing: 2, sx: styles.DialogContent, children: [
|
|
37
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
37
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
38
|
+
Typography,
|
|
39
|
+
{
|
|
40
|
+
sx: {
|
|
41
|
+
fontWeight: "bold"
|
|
42
|
+
},
|
|
43
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/role" })
|
|
44
|
+
}
|
|
45
|
+
) }),
|
|
38
46
|
/* @__PURE__ */ jsx(Grid, { size: 6, children: rolesList.length > 0 ? /* @__PURE__ */ jsx(Typography, { children: rolesList.map((role, index) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
39
47
|
index > 0 && " | ",
|
|
40
48
|
/* @__PURE__ */ jsx(
|
|
@@ -45,52 +53,197 @@ function UserInformationDialog({ openDialog, userProfile, onClose }) {
|
|
|
45
53
|
}
|
|
46
54
|
)
|
|
47
55
|
] }, role)) }) : /* @__PURE__ */ jsx(Typography, { children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/no-roles" }) }) }),
|
|
48
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
56
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
57
|
+
Typography,
|
|
58
|
+
{
|
|
59
|
+
sx: {
|
|
60
|
+
fontWeight: "bold"
|
|
61
|
+
},
|
|
62
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/profile" })
|
|
63
|
+
}
|
|
64
|
+
) }),
|
|
49
65
|
/* @__PURE__ */ jsx(Grid, { size: 6, children: userDetails?.profileName === null ? /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/no-profile" }) : /* @__PURE__ */ jsx(Typography, { children: userDetails?.profileName }) })
|
|
50
66
|
] }),
|
|
51
|
-
/* @__PURE__ */ jsxs(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
67
|
+
/* @__PURE__ */ jsxs(
|
|
68
|
+
Box,
|
|
69
|
+
{
|
|
70
|
+
sx: [
|
|
71
|
+
{
|
|
72
|
+
mt: 3
|
|
73
|
+
},
|
|
74
|
+
styles.quotasBox
|
|
75
|
+
],
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ jsx(
|
|
78
|
+
Typography,
|
|
79
|
+
{
|
|
80
|
+
sx: [
|
|
81
|
+
{
|
|
82
|
+
fontWeight: "bold"
|
|
83
|
+
},
|
|
84
|
+
styles.quotasTypography
|
|
85
|
+
],
|
|
86
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/quotas" })
|
|
87
|
+
}
|
|
88
|
+
),
|
|
89
|
+
/* @__PURE__ */ jsxs(Grid, { container: true, spacing: 2, children: [
|
|
90
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
91
|
+
Typography,
|
|
92
|
+
{
|
|
93
|
+
sx: {
|
|
94
|
+
fontWeight: "bold"
|
|
95
|
+
},
|
|
96
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-cases-or-studies" })
|
|
97
|
+
}
|
|
98
|
+
) }),
|
|
99
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsxs(Typography, { children: [
|
|
100
|
+
userDetails?.maxAllowedCases,
|
|
101
|
+
/* @__PURE__ */ jsxs(Box, { component: "span", sx: styles.usedTopography, children: [
|
|
102
|
+
"( ",
|
|
103
|
+
/* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/used" }),
|
|
104
|
+
":",
|
|
105
|
+
` ${userDetails?.numberCasesUsed}`,
|
|
106
|
+
" )"
|
|
107
|
+
] })
|
|
108
|
+
] }) }),
|
|
109
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
110
|
+
Typography,
|
|
111
|
+
{
|
|
112
|
+
sx: {
|
|
113
|
+
fontWeight: "bold"
|
|
114
|
+
},
|
|
115
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-builds-per-user" })
|
|
116
|
+
}
|
|
117
|
+
) }),
|
|
118
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedBuilds }) })
|
|
119
|
+
] }),
|
|
120
|
+
/* @__PURE__ */ jsx(
|
|
121
|
+
Typography,
|
|
122
|
+
{
|
|
123
|
+
sx: [
|
|
124
|
+
{
|
|
125
|
+
fontWeight: "bold"
|
|
126
|
+
},
|
|
127
|
+
styles.quotasTypography
|
|
128
|
+
],
|
|
129
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/quotas-per-execution" })
|
|
130
|
+
}
|
|
131
|
+
),
|
|
132
|
+
/* @__PURE__ */ jsxs(Grid, { container: true, spacing: 2, children: [
|
|
133
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
134
|
+
Typography,
|
|
135
|
+
{
|
|
136
|
+
sx: {
|
|
137
|
+
fontWeight: "bold"
|
|
138
|
+
},
|
|
139
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-loadflow-per-user" })
|
|
140
|
+
}
|
|
141
|
+
) }),
|
|
142
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedLoadflow }) }),
|
|
143
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
144
|
+
Typography,
|
|
145
|
+
{
|
|
146
|
+
sx: {
|
|
147
|
+
fontWeight: "bold"
|
|
148
|
+
},
|
|
149
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-security-per-user" })
|
|
150
|
+
}
|
|
151
|
+
) }),
|
|
152
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedSecurity }) }),
|
|
153
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
154
|
+
Typography,
|
|
155
|
+
{
|
|
156
|
+
sx: {
|
|
157
|
+
fontWeight: "bold"
|
|
158
|
+
},
|
|
159
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-sensitivity-per-user" })
|
|
160
|
+
}
|
|
161
|
+
) }),
|
|
162
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedSensitivity }) }),
|
|
163
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
164
|
+
Typography,
|
|
165
|
+
{
|
|
166
|
+
sx: {
|
|
167
|
+
fontWeight: "bold"
|
|
168
|
+
},
|
|
169
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-shortCircuit-per-user" })
|
|
170
|
+
}
|
|
171
|
+
) }),
|
|
172
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedShortCircuit }) }),
|
|
173
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
174
|
+
Typography,
|
|
175
|
+
{
|
|
176
|
+
sx: {
|
|
177
|
+
fontWeight: "bold"
|
|
178
|
+
},
|
|
179
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-voltageInit-per-user" })
|
|
180
|
+
}
|
|
181
|
+
) }),
|
|
182
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedVoltageInit }) }),
|
|
183
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
184
|
+
Typography,
|
|
185
|
+
{
|
|
186
|
+
sx: {
|
|
187
|
+
fontWeight: "bold"
|
|
188
|
+
},
|
|
189
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-pccMin-per-user" })
|
|
190
|
+
}
|
|
191
|
+
) }),
|
|
192
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedPccMin }) }),
|
|
193
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
194
|
+
Typography,
|
|
195
|
+
{
|
|
196
|
+
sx: {
|
|
197
|
+
fontWeight: "bold"
|
|
198
|
+
},
|
|
199
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-stateEstimation-per-user" })
|
|
200
|
+
}
|
|
201
|
+
) }),
|
|
202
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedStateEstimation }) }),
|
|
203
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
204
|
+
Typography,
|
|
205
|
+
{
|
|
206
|
+
sx: {
|
|
207
|
+
fontWeight: "bold"
|
|
208
|
+
},
|
|
209
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-balanceAdjustement-per-user" })
|
|
210
|
+
}
|
|
211
|
+
) }),
|
|
212
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedBalanceAdjustement }) }),
|
|
213
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
214
|
+
Typography,
|
|
215
|
+
{
|
|
216
|
+
sx: {
|
|
217
|
+
fontWeight: "bold"
|
|
218
|
+
},
|
|
219
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-dynamicSimulation-per-user" })
|
|
220
|
+
}
|
|
221
|
+
) }),
|
|
222
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedDynamicSimulation }) }),
|
|
223
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
224
|
+
Typography,
|
|
225
|
+
{
|
|
226
|
+
sx: {
|
|
227
|
+
fontWeight: "bold"
|
|
228
|
+
},
|
|
229
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-dynamicSecurity-per-user" })
|
|
230
|
+
}
|
|
231
|
+
) }),
|
|
232
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedDynamicSecurity }) }),
|
|
233
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(
|
|
234
|
+
Typography,
|
|
235
|
+
{
|
|
236
|
+
sx: {
|
|
237
|
+
fontWeight: "bold"
|
|
238
|
+
},
|
|
239
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-dynamicMargin-per-user" })
|
|
240
|
+
}
|
|
241
|
+
) }),
|
|
242
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedDynamicMargin }) })
|
|
63
243
|
] })
|
|
64
|
-
]
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
] }),
|
|
68
|
-
/* @__PURE__ */ jsx(Typography, { fontWeight: "bold", sx: styles.quotasTypography, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/quotas-per-execution" }) }),
|
|
69
|
-
/* @__PURE__ */ jsxs(Grid, { container: true, spacing: 2, children: [
|
|
70
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { fontWeight: "bold", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-loadflow-per-user" }) }) }),
|
|
71
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedLoadflow }) }),
|
|
72
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { fontWeight: "bold", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-security-per-user" }) }) }),
|
|
73
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedSecurity }) }),
|
|
74
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { fontWeight: "bold", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-sensitivity-per-user" }) }) }),
|
|
75
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedSensitivity }) }),
|
|
76
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { fontWeight: "bold", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-shortCircuit-per-user" }) }) }),
|
|
77
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedShortCircuit }) }),
|
|
78
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { fontWeight: "bold", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-voltageInit-per-user" }) }) }),
|
|
79
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedVoltageInit }) }),
|
|
80
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { fontWeight: "bold", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-pccMin-per-user" }) }) }),
|
|
81
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedPccMin }) }),
|
|
82
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { fontWeight: "bold", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-stateEstimation-per-user" }) }) }),
|
|
83
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedStateEstimation }) }),
|
|
84
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { fontWeight: "bold", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-balanceAdjustement-per-user" }) }) }),
|
|
85
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedBalanceAdjustement }) }),
|
|
86
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { fontWeight: "bold", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-dynamicSimulation-per-user" }) }) }),
|
|
87
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedDynamicSimulation }) }),
|
|
88
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { fontWeight: "bold", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-dynamicSecurity-per-user" }) }) }),
|
|
89
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedDynamicSecurity }) }),
|
|
90
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { fontWeight: "bold", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/number-of-dynamicMargin-per-user" }) }) }),
|
|
91
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsx(Typography, { children: userDetails?.maxAllowedDynamicMargin }) })
|
|
92
|
-
] })
|
|
93
|
-
] })
|
|
244
|
+
]
|
|
245
|
+
}
|
|
246
|
+
)
|
|
94
247
|
] }),
|
|
95
248
|
/* @__PURE__ */ jsx(DialogActions, { children: /* @__PURE__ */ jsx(CloseButton, { color: "primary", onClick: onClose, autoFocus: true }) })
|
|
96
249
|
] });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridsuite/commons-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.297.0",
|
|
4
4
|
"description": "common react components for gridsuite applications",
|
|
5
5
|
"author": "gridsuite team",
|
|
6
6
|
"homepage": "https://github.com/gridsuite",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"jwt-decode": "^4.0.0",
|
|
63
63
|
"localized-countries": "^2.0.0",
|
|
64
64
|
"mathjs": "^14.7.0",
|
|
65
|
-
"mui-nested-menu": "^4.0.
|
|
65
|
+
"mui-nested-menu": "^4.0.3",
|
|
66
66
|
"oidc-client-ts": "^3.5.0",
|
|
67
67
|
"prop-types": "^15.8.1",
|
|
68
68
|
"react-dnd": "^16.0.1",
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
"@emotion/react": "^11.14.0",
|
|
79
79
|
"@emotion/styled": "^11.14.0",
|
|
80
80
|
"@hookform/resolvers": "^4.0.0",
|
|
81
|
-
"@mui/icons-material": "^
|
|
82
|
-
"@mui/lab": "
|
|
83
|
-
"@mui/material": "^
|
|
84
|
-
"@mui/x-charts": "^
|
|
85
|
-
"@mui/x-tree-view": "^
|
|
81
|
+
"@mui/icons-material": "^9.4.0",
|
|
82
|
+
"@mui/lab": "^9.0.0-beta.9",
|
|
83
|
+
"@mui/material": "^9.4.0",
|
|
84
|
+
"@mui/x-charts": "^9.13.0",
|
|
85
|
+
"@mui/x-tree-view": "^9.13.0",
|
|
86
86
|
"ag-grid-community": "^35.3.1",
|
|
87
87
|
"ag-grid-react": "^35.3.1",
|
|
88
88
|
"notistack": "^3.0.2",
|
|
@@ -94,6 +94,11 @@
|
|
|
94
94
|
"react-router": "^7.4.1",
|
|
95
95
|
"yup": "^1.7.0"
|
|
96
96
|
},
|
|
97
|
+
"overrides": {
|
|
98
|
+
"mui-nested-menu": {
|
|
99
|
+
"@mui/material": ">=5.0.0"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
97
102
|
"devDependencies": {
|
|
98
103
|
"@babel/helper-builder-react-jsx": "^7.27.1",
|
|
99
104
|
"@babel/preset-env": "^7.28.3",
|
|
@@ -105,10 +110,10 @@
|
|
|
105
110
|
"@eslint/js": "^9.38.0",
|
|
106
111
|
"@hookform/resolvers": "^4.1.3",
|
|
107
112
|
"@jest/globals": "^30.1.2",
|
|
108
|
-
"@mui/icons-material": "^
|
|
109
|
-
"@mui/lab": "
|
|
110
|
-
"@mui/material": "^
|
|
111
|
-
"@mui/x-charts": "^
|
|
113
|
+
"@mui/icons-material": "^9.4.0",
|
|
114
|
+
"@mui/lab": "^9.0.0-beta.9",
|
|
115
|
+
"@mui/material": "^9.4.0",
|
|
116
|
+
"@mui/x-charts": "^9.13.0",
|
|
112
117
|
"@react-hook/window-size": "^3.1.1",
|
|
113
118
|
"@storybook/addon-docs": "^10.4.2",
|
|
114
119
|
"@storybook/react-vite": "^10.4.2",
|