@gridsuite/commons-ui 0.288.0 → 0.290.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/chunks/index.BJsVzTMz.js +92 -0
- package/dist/chunks/module.pXeJjFiM.js +306 -0
- package/dist/components/composite/agGridTable/CustomAgGridTable.js +0 -2
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-comparator-filter.js +0 -2
- package/dist/components/composite/customAGGrid/custom-aggrid-types.d.ts +4 -2
- package/dist/components/composite/customAGGrid/custom-aggrid-types.js +1 -0
- package/dist/components/composite/customAGGrid/customAggrid.js +8439 -2
- package/dist/components/composite/customAGGrid/hooks/use-custom-aggrid-sort.js +0 -2
- package/dist/components/composite/customAGGrid/index.d.ts +1 -0
- package/dist/components/composite/customAGGrid/index.js +3 -0
- package/dist/components/composite/customAGGrid/user-avatar.d.ts +12 -0
- package/dist/components/composite/customAGGrid/user-avatar.js +49 -0
- package/dist/components/composite/dnd-table/dnd-table-add-rows-dialog.js +1 -8
- package/dist/components/composite/dnd-table/dnd-table-row.js +1 -8
- package/dist/components/composite/dnd-table/dnd-table.js +1 -8
- package/dist/components/composite/elementSearch/elementItem/EquipmentItem.js +1 -2
- package/dist/components/composite/filter/FilterForm.js +0 -7
- package/dist/components/composite/filter/HeaderFilterForm.js +1 -8
- package/dist/components/composite/filter/expert/ExpertFilterForm.js +14 -9
- package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js +1 -8
- package/dist/components/composite/grid/grid-section.js +1 -8
- package/dist/components/composite/index.js +3 -0
- package/dist/components/composite/reactQueryBuilder/OperatorSelector.js +0 -2
- package/dist/components/composite/report/QuickSearch.js +0 -2
- package/dist/components/composite/report/report-viewer/log-table/log-table.js +1 -8
- package/dist/components/index.js +3 -0
- package/dist/components/ui/csvPicker/csv-picker-confirmation-dialog.js +0 -7
- package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +0 -7
- package/dist/components/ui/dialogs/name-element-editor/name-element-editor-utils.js +0 -7
- package/dist/components/ui/directoryItemSelector/DirectoryItemSelector.js +0 -2
- package/dist/components/ui/icons/ArrowsInputIcon.js +3 -2
- package/dist/components/ui/icons/ArrowsOutputIcon.js +3 -2
- package/dist/components/ui/icons/DatasetLinkedIcon.js +3 -2
- package/dist/components/ui/icons/EditNoteIcon.js +3 -2
- package/dist/components/ui/icons/LeftPanelCloseIcon.js +3 -2
- package/dist/components/ui/icons/LeftPanelOpenIcon.js +3 -2
- package/dist/components/ui/menus/custom-nested-menu.js +2 -2
- package/dist/components/ui/reactHookForm/DirectoryItemsInput.js +0 -2
- package/dist/components/ui/reactHookForm/chip-items-input.js +0 -2
- package/dist/components/ui/reactHookForm/text/DescriptionInput.js +0 -4
- package/dist/features/common/renderTable-ExportCsv.js +2 -10
- package/dist/features/global-filter/ui/global-filter-dropdown-panel.js +2 -10
- package/dist/features/global-filter/ui/global-filter-panel.js +2 -10
- package/dist/features/global-filter/ui/selected-global-filters.js +2 -10
- package/dist/features/index.js +1 -8
- package/dist/features/network-modification-table/network-modifications-table.js +0 -2
- package/dist/features/network-modification-table/renderers/description-cell.js +0 -6
- package/dist/features/network-modification-table/renderers/name-cell.js +2 -10
- package/dist/features/network-modification-table/renderers/reference-link-cell.js +1 -9
- package/dist/features/network-modification-table/renderers/root-network-chip-cell.js +0 -2
- package/dist/features/network-modification-table/renderers/switch-cell.js +0 -2
- package/dist/features/network-modification-table/row/drag-row-clone.js +0 -2
- package/dist/features/network-modification-table/use-modifications-drag-and-drop.js +0 -2
- package/dist/features/network-modifications/battery/creation/BatteryCreationForm.js +2 -10
- package/dist/features/network-modifications/battery/creation/batteryCreation.utils.js +2 -10
- package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.js +2 -10
- package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.js +2 -10
- package/dist/features/network-modifications/battery/modification/BatteryModificationForm.js +2 -10
- package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +2 -10
- package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-form.js +1 -8
- package/dist/features/network-modifications/by-filter/assignment/modification-by-assignment-form.js +1 -8
- package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +1 -8
- package/dist/features/network-modifications/by-filter/formula/formula/formula-form.js +2 -10
- package/dist/features/network-modifications/by-filter/formula/formula/reference-autocomplete-input.js +2 -10
- package/dist/features/network-modifications/by-filter/formula/modification-by-formula-form.js +2 -10
- package/dist/features/network-modifications/common/activePowerControl/ActivePowerControlForm.js +1 -8
- package/dist/features/network-modifications/common/connectivity/ConnectivityForm.js +1 -8
- package/dist/features/network-modifications/common/connectivity/PositionForm.js +1 -8
- package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +1 -8
- package/dist/features/network-modifications/common/currentLimits/LimitsPane.js +2 -10
- package/dist/features/network-modifications/common/currentLimits/SelectedOperationalLimitGroup.js +2 -10
- package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsEditor.js +2 -10
- package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsPropertiesSideStack.js +2 -10
- package/dist/features/network-modifications/common/currentLimits/limitsEditor/TemporaryLimitsTable.js +2 -10
- package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.js +1 -8
- package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.js +2 -10
- package/dist/features/network-modifications/common/measurements/PowerWithValidityForm.js +1 -8
- package/dist/features/network-modifications/common/properties/PropertiesForm.js +1 -8
- package/dist/features/network-modifications/common/properties/PropertyForm.js +1 -8
- package/dist/features/network-modifications/common/reactiveLimits/ReactiveLimitsForm.js +1 -8
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.js +1 -8
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +1 -8
- package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.js +1 -8
- package/dist/features/network-modifications/common/setpoints/SetPointsForm.js +1 -8
- package/dist/features/network-modifications/common/shortCircuit/ShortCircuitForm.js +1 -8
- package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js +1 -8
- package/dist/features/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +2 -10
- package/dist/features/network-modifications/equipmentDeletion/equipmentDeletion.utils.js +1 -8
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +1 -8
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/useHvdcLccDeletion.js +0 -2
- package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.js +2 -10
- package/dist/features/network-modifications/generator/creation/generatorCreation.utils.js +2 -10
- package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.js +2 -10
- package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.js +2 -10
- package/dist/features/network-modifications/generator/modification/GeneratorModificationForm.js +2 -10
- package/dist/features/network-modifications/generator/modification/generatorModification.utils.js +2 -10
- package/dist/features/network-modifications/hvdcLine/vsc/common/characteristics/VscHvdcLineCharacteristicsPane.js +2 -10
- package/dist/features/network-modifications/hvdcLine/vsc/common/converterStation/VscConverterStationPane.js +2 -10
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogHeader.js +2 -10
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogTabs.js +1 -8
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogTabsContent.js +2 -10
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineForm.js +2 -10
- package/dist/features/network-modifications/hvdcLine/vsc/creation/vscHvdcLineCreation.utils.js +1 -8
- package/dist/features/network-modifications/hvdcLine/vsc/modification/vscHvdcLineModification.utils.js +2 -10
- package/dist/features/network-modifications/index.js +1 -8
- package/dist/features/network-modifications/line/characteristics/LineCharacteristicsPane.js +2 -10
- package/dist/features/network-modifications/line/common/LineDialogHeader.js +2 -10
- package/dist/features/network-modifications/line/common/LineDialogTabsContent.js +2 -10
- package/dist/features/network-modifications/line/common/LineForm.js +2 -10
- package/dist/features/network-modifications/line/creation/lineCreation.utils.js +2 -10
- package/dist/features/network-modifications/line/modification/lineModification.utils.js +2 -10
- package/dist/features/network-modifications/load/common/LoadDialogHeader.js +2 -10
- package/dist/features/network-modifications/load/common/LoadForm.js +2 -10
- package/dist/features/network-modifications/load/creation/loadCreation.utils.js +1 -8
- package/dist/features/network-modifications/load/modification/loadModification.utils.js +2 -10
- package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.js +1 -8
- package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.js +2 -10
- package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js +2 -10
- package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js +2 -10
- package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js +2 -10
- package/dist/features/network-modifications/static-var-compensator/common/set-points-limits-form-utils.js +2 -10
- package/dist/features/network-modifications/static-var-compensator/common/set-points-limits-form.js +2 -10
- package/dist/features/network-modifications/static-var-compensator/common/standby-automaton-form-utils.js +2 -10
- package/dist/features/network-modifications/static-var-compensator/common/standby-automaton-form.js +2 -10
- package/dist/features/network-modifications/static-var-compensator/common/static-var-compensator-dialog-header.js +2 -10
- package/dist/features/network-modifications/static-var-compensator/common/static-var-compensator-tabs-content.js +2 -10
- package/dist/features/network-modifications/static-var-compensator/common/susceptance-area.js +2 -10
- package/dist/features/network-modifications/static-var-compensator/creation/static-var-compensator-creation-form.js +2 -10
- package/dist/features/network-modifications/static-var-compensator/creation/static-var-compensator-creation-utils.js +2 -10
- package/dist/features/network-modifications/substation/creation/SubstationCreationForm.js +2 -10
- package/dist/features/network-modifications/substation/modification/SubstationModificationForm.js +2 -8
- package/dist/features/network-modifications/tabular/TabularForm.js +2 -10
- package/dist/features/network-modifications/tabular/properties/DefineTabularPropertiesDialog.js +2 -10
- package/dist/features/network-modifications/tabular/properties/TabularPropertiesForm.js +2 -10
- package/dist/features/network-modifications/tabular/properties/TabularPropertyForm.js +2 -10
- package/dist/features/network-modifications/tabular/tabular.utils.js +2 -10
- package/dist/features/network-modifications/tabular/tabularCreation.utils.js +2 -10
- package/dist/features/network-modifications/tabular/tabularModification.utils.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/TwoWindingsTransformerCharacteristicsPane.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogHeader.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabsContent.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerForm.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.utils.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/ToBeEstimatedForm.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.utils.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/RegulatedTerminalSection.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/TapChangerSteps.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPane.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/phaseTapChanger.utils.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPane.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialog.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleForm.js +2 -10
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/ImportRuleDialog.js +2 -10
- package/dist/features/network-modifications/voltageLevel/common/HeaderWithTooltip.js +2 -10
- package/dist/features/network-modifications/voltageLevel/coupling-device/coupling-device-creation-form.js +2 -10
- package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +2 -10
- package/dist/features/network-modifications/voltageLevel/creation/index.js +2 -10
- package/dist/features/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.js +1 -8
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.js +1 -8
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusForm.js +1 -8
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js +1 -8
- package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +2 -10
- package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +1 -8
- package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +2 -10
- package/dist/features/network-modifications/voltageLevel/index.js +2 -10
- package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +2 -10
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js +2 -10
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js +2 -10
- package/dist/features/network-modifications/voltageLevel/section/VoltageLevelSectionCreationForm.js +2 -10
- package/dist/features/network-modifications/voltageLevel/topology/creation/CreateVoltageLevelTopologyForm.js +2 -10
- package/dist/features/network-modifications/voltageLevel/topology/modification/ConnectionCellRender.js +2 -10
- package/dist/features/network-modifications/voltageLevel/topology/modification/VoltageLevelTopologyModificationForm.js +2 -10
- package/dist/features/network-modifications/voltageLevel/topology/modification/voltageLevelTopologyModification.utils.js +2 -10
- package/dist/features/parameters/common/contingency-table/columns-definitions.js +1 -8
- package/dist/features/parameters/common/contingency-table/contingency-table.js +0 -2
- package/dist/features/parameters/common/limitreductions/limit-reduction-table-cell.js +1 -8
- package/dist/features/parameters/common/limitreductions/limit-reductions-table-form.js +1 -8
- package/dist/features/parameters/common/parameter-field.js +1 -8
- package/dist/features/parameters/common/parameter-layout/parameter-layout.js +1 -8
- package/dist/features/parameters/common/parameter-table-field/parameter-table-field.js +1 -8
- package/dist/features/parameters/common/parameters-creation-dialog.js +0 -7
- package/dist/features/parameters/common/provider-param.js +1 -8
- package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table-cell.js +1 -8
- package/dist/features/parameters/common/widget/parameter-float.js +1 -8
- package/dist/features/parameters/common/widget/parameter-line-directory-items-input.js +1 -8
- package/dist/features/parameters/common/widget/parameter-line-slider.js +1 -8
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +1 -8
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +1 -8
- package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.js +1 -8
- package/dist/features/parameters/dynamic-margin-calculation/use-dynamic-margin-calculation-parameters-form.js +1 -8
- package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +1 -8
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +1 -8
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +1 -8
- package/dist/features/parameters/dynamic-security-analysis/use-dynamic-security-analysis-parameters-form.js +1 -8
- package/dist/features/parameters/dynamic-simulation/curve/curve-parameters.js +0 -2
- package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-preview.js +0 -2
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +1 -8
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +1 -8
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters-utils.js +1 -8
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.js +1 -8
- package/dist/features/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.js +1 -8
- package/dist/features/parameters/loadflow/load-flow-advanced-parameters.js +1 -8
- package/dist/features/parameters/loadflow/load-flow-general-parameters.js +1 -8
- package/dist/features/parameters/loadflow/load-flow-parameters-content.js +1 -8
- package/dist/features/parameters/loadflow/load-flow-parameters-dialog.js +0 -7
- package/dist/features/parameters/loadflow/load-flow-parameters-header.js +1 -8
- package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +1 -8
- package/dist/features/parameters/loadflow/load-flow-parameters-utils.js +1 -8
- package/dist/features/parameters/loadflow/load-flow-provider-specific-parameters.js +1 -8
- package/dist/features/parameters/loadflow/use-load-flow-parameters-form.js +1 -8
- package/dist/features/parameters/network-visualizations/map-parameters.js +1 -8
- package/dist/features/parameters/network-visualizations/network-area-diagram-parameters.js +1 -8
- package/dist/features/parameters/network-visualizations/network-visualizations-form.js +1 -8
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.js +0 -7
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +1 -8
- package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.js +1 -8
- package/dist/features/parameters/network-visualizations/use-network-visualizations-parameters-form.js +1 -8
- package/dist/features/parameters/pcc-min/pcc-min-form-utils.js +1 -8
- package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.js +0 -7
- package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.js +1 -8
- package/dist/features/parameters/pcc-min/use-pcc-min-parameters-form.js +1 -8
- package/dist/features/parameters/security-analysis/columns-definitions.js +1 -8
- package/dist/features/parameters/security-analysis/security-analysis-parameters-content.js +1 -8
- package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.js +0 -7
- package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +1 -8
- package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +1 -8
- package/dist/features/parameters/security-analysis/security-analysis-parameters-utils.js +1 -8
- package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.js +1 -8
- package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.js +1 -8
- package/dist/features/parameters/sensi/columns-definitions.js +1 -8
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.js +0 -7
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.js +1 -8
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +1 -8
- package/dist/features/parameters/sensi/sensitivity-parameters-fields.js +1 -8
- package/dist/features/parameters/sensi/sensitivity-parameters-selector.js +1 -8
- package/dist/features/parameters/sensi/use-sensitivity-analysis-parameters.js +1 -8
- package/dist/features/parameters/sensi/utils.js +1 -8
- package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +1 -8
- package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table-cell.js +1 -8
- package/dist/features/parameters/short-circuit/short-circuit-icc-material-table-cell.js +1 -8
- package/dist/features/parameters/short-circuit/short-circuit-parameters-content.js +1 -8
- package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.js +0 -7
- package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.js +1 -8
- package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.js +1 -8
- package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +1 -8
- package/dist/features/parameters/short-circuit/short-circuit-study-area-tab-panel.js +1 -8
- package/dist/features/parameters/short-circuit/use-short-circuit-parameters-form.js +1 -8
- package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +1 -8
- package/dist/features/parameters/voltage-init/general-parameters.js +1 -8
- package/dist/features/parameters/voltage-init/use-voltage-init-parameters-form.js +1 -8
- package/dist/features/parameters/voltage-init/voltage-init-form-utils.js +1 -8
- package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.js +0 -7
- package/dist/features/parameters/voltage-init/voltage-init-parameters-form.js +1 -8
- package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +1 -8
- package/dist/features/parameters/voltage-init/voltage-limits-parameters.js +1 -8
- package/dist/features/process-configs/common/process-config-modifications-edition.js +2 -10
- package/dist/features/process-configs/lf-process-config-edition-dialog.js +2 -10
- package/dist/features/process-configs/loadflow/lf-process-config-edition.js +1 -8
- package/dist/features/process-configs/loadflow/lf-process-config-edition.utils.js +2 -10
- package/dist/features/process-configs/process-config.utils.js +2 -10
- package/dist/features/process-configs/sa-process-config-edition-dialog.js +2 -10
- package/dist/features/process-configs/sc-process-config-edition-dialog.js +2 -10
- package/dist/features/process-configs/security-analysis/sa-process-config-edition.js +1 -8
- package/dist/features/process-configs/security-analysis/sa-process-config-edition.utils.js +2 -10
- package/dist/features/process-configs/shortcircuit/sc-process-config-edition.js +1 -8
- package/dist/features/process-configs/shortcircuit/sc-process-config-edition.utils.js +2 -10
- package/dist/features/results/loadflow/limit-violation-result.js +2 -10
- package/dist/features/results/securityanalysis/security-analysis-result-nmk.js +2 -10
- package/dist/features/results/securityanalysis/security-analysis-table.js +2 -10
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result-table.js +2 -10
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result.js +2 -10
- package/dist/features/side-bar/footer/applications/ApplicationMenu.js +1 -9
- package/dist/features/side-bar/footer/applications/OtherAppRedirection.js +1 -9
- package/dist/features/side-bar/footer/common/SideBarMenuItem.js +1 -9
- package/dist/features/side-bar/footer/profile/ProfileMenu.js +1 -9
- package/dist/features/side-bar/footer/profile/UserIcon.js +1 -11
- package/dist/features/side-bar/footer/settings/DarkModeToggle.js +1 -9
- package/dist/features/side-bar/footer/settings/LanguageSelection.js +1 -9
- package/dist/features/side-bar/footer/settings/SettingsMenu.js +1 -9
- package/dist/hooks/useLocalizedCountries.js +1000 -2
- package/dist/index.js +3 -0
- package/dist/utils/store-sort-filter-fields.d.ts +1 -0
- package/dist/utils/store-sort-filter-fields.js +2 -0
- package/dist/utils/user-utils.d.ts +7 -0
- package/dist/utils/user-utils.js +14 -0
- package/package.json +2 -2
- package/dist/assets/ExpertFilterForm.css +0 -180
package/dist/index.js
CHANGED
|
@@ -151,6 +151,7 @@ import { CustomMenu } from "./components/composite/customAGGrid/custom-aggrid-me
|
|
|
151
151
|
import { CustomAggridSort } from "./components/composite/customAGGrid/custom-aggrid-sort.js";
|
|
152
152
|
import { DisplayRounding } from "./components/composite/customAGGrid/display-rounding.js";
|
|
153
153
|
import { makeAgGridCustomHeaderColumn } from "./components/composite/customAGGrid/utils/custom-aggrid-header-utils.js";
|
|
154
|
+
import { UserAvatar, UserAvatarWithLabel } from "./components/composite/customAGGrid/user-avatar.js";
|
|
154
155
|
import { ReportViewer } from "./components/composite/report/report-viewer/report-viewer.js";
|
|
155
156
|
import { ReportFetcherContext, ReportFilterContext, useReportFetcherContext, useReportFilterContext } from "./components/composite/report/report-viewer/context/report-viewer-context.js";
|
|
156
157
|
import { default as default3 } from "./components/composite/report/report-viewer/log-table/log-table.js";
|
|
@@ -1332,6 +1333,8 @@ export {
|
|
|
1332
1333
|
UnauthorizedAccessAlert,
|
|
1333
1334
|
UndisplayedFilterNumberComparators,
|
|
1334
1335
|
UniqueNameInput,
|
|
1336
|
+
UserAvatar,
|
|
1337
|
+
UserAvatarWithLabel,
|
|
1335
1338
|
default5 as UserInformationDialog,
|
|
1336
1339
|
UserManagerMock,
|
|
1337
1340
|
default6 as UserSettingsDialog,
|
|
@@ -36,3 +36,4 @@ export declare const STATEESTIMATION_RESULT = "stateEstimationResult";
|
|
|
36
36
|
export declare const PCCMIN_ANALYSIS_RESULT_SORT_STORE = "pccminAnalysisResult";
|
|
37
37
|
export declare const PCCMIN_ANALYSIS_PAGINATION_STORE_FIELD = "pccminAnalysisPagination";
|
|
38
38
|
export declare const PCCMIN_RESULT = "pccMinResults";
|
|
39
|
+
export declare const PROCESS_EXECUTION_HISTORY_SORT_STORE = "processExecutionHistory";
|
|
@@ -30,6 +30,7 @@ const STATEESTIMATION_RESULT = "stateEstimationResult";
|
|
|
30
30
|
const PCCMIN_ANALYSIS_RESULT_SORT_STORE = "pccminAnalysisResult";
|
|
31
31
|
const PCCMIN_ANALYSIS_PAGINATION_STORE_FIELD = "pccminAnalysisPagination";
|
|
32
32
|
const PCCMIN_RESULT = "pccMinResults";
|
|
33
|
+
const PROCESS_EXECUTION_HISTORY_SORT_STORE = "processExecutionHistory";
|
|
33
34
|
export {
|
|
34
35
|
ALL_BUSES,
|
|
35
36
|
DYNAMIC_SIMULATION_RESULT_SORT_STORE,
|
|
@@ -42,6 +43,7 @@ export {
|
|
|
42
43
|
PCCMIN_ANALYSIS_PAGINATION_STORE_FIELD,
|
|
43
44
|
PCCMIN_ANALYSIS_RESULT_SORT_STORE,
|
|
44
45
|
PCCMIN_RESULT,
|
|
46
|
+
PROCESS_EXECUTION_HISTORY_SORT_STORE,
|
|
45
47
|
SECURITY_ANALYSIS_PAGINATION_STORE_FIELD,
|
|
46
48
|
SECURITY_ANALYSIS_RESULT_N,
|
|
47
49
|
SECURITY_ANALYSIS_RESULT_N_K,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getAbbreviationFromUserName(name: string): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { isEmpty } from "@mui/material";
|
|
2
|
+
function getAbbreviationFromUserName(name) {
|
|
3
|
+
if (isEmpty(name)) {
|
|
4
|
+
return "";
|
|
5
|
+
}
|
|
6
|
+
const [firstName, ...otherNames] = name.split(" ");
|
|
7
|
+
if (otherNames.length > 0) {
|
|
8
|
+
return `${firstName[0]}${otherNames.at(-1)[0]}`;
|
|
9
|
+
}
|
|
10
|
+
return firstName[0];
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
getAbbreviationFromUserName
|
|
14
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridsuite/commons-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.290.0",
|
|
4
4
|
"description": "common react components for gridsuite applications",
|
|
5
5
|
"author": "gridsuite team",
|
|
6
6
|
"homepage": "https://github.com/gridsuite",
|
|
@@ -164,8 +164,8 @@
|
|
|
164
164
|
"typescript-eslint": "^8.46.2",
|
|
165
165
|
"vite": "^7.1.12",
|
|
166
166
|
"vite-plugin-checker": "^0.11.0",
|
|
167
|
+
"vite-plugin-css-injected-by-js": "^4.0.1",
|
|
167
168
|
"vite-plugin-dts": "^4.5.4",
|
|
168
|
-
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
169
169
|
"vite-plugin-svgr": "^4.5.0"
|
|
170
170
|
}
|
|
171
171
|
}
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2024, RTE (http://www.rte-france.com)
|
|
3
|
-
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
-
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
-
*/
|
|
7
|
-
/* Fork from react-querybuilder/dist/query-builder.css */
|
|
8
|
-
.ruleGroup {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
gap: 0.5rem;
|
|
12
|
-
padding: 0.5rem;
|
|
13
|
-
border-color: #969696;
|
|
14
|
-
border-style: solid;
|
|
15
|
-
border-radius: 0.25rem;
|
|
16
|
-
border-width: 1px;
|
|
17
|
-
background: rgba(119, 119, 119, 0.3);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.ruleGroup .ruleGroup-body {
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
gap: 0.5rem;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.ruleGroup .ruleGroup-body:empty {
|
|
27
|
-
display: none;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.ruleGroup .ruleGroup-header,
|
|
31
|
-
.ruleGroup .rule {
|
|
32
|
-
display: flex;
|
|
33
|
-
gap: 0.5rem;
|
|
34
|
-
align-items: center;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.ruleGroup .rule .rule-value:has(.rule-value-list-item) {
|
|
38
|
-
display: flex;
|
|
39
|
-
gap: 0.5rem;
|
|
40
|
-
align-items: baseline;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* Align all the fields and operators by setting a min-width */
|
|
44
|
-
.rule-fields {
|
|
45
|
-
min-width: 330px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.rule-operators {
|
|
49
|
-
min-width: 160px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.queryBuilder-branches .ruleGroup-body {
|
|
53
|
-
margin-left: calc(2 * 0.5rem);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.queryBuilder-branches .rule,
|
|
57
|
-
.queryBuilder-branches .ruleGroup .ruleGroup {
|
|
58
|
-
position: relative;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.queryBuilder-branches .rule::before,
|
|
62
|
-
.queryBuilder-branches .rule::after,
|
|
63
|
-
.queryBuilder-branches .ruleGroup .ruleGroup::before,
|
|
64
|
-
.queryBuilder-branches .ruleGroup .ruleGroup::after {
|
|
65
|
-
content: '';
|
|
66
|
-
width: 0.5rem;
|
|
67
|
-
left: calc(-0.5rem - 1px);
|
|
68
|
-
border-color: #969696;
|
|
69
|
-
border-style: solid;
|
|
70
|
-
border-radius: 0;
|
|
71
|
-
position: absolute;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.queryBuilder-branches .rule::before,
|
|
75
|
-
.queryBuilder-branches .ruleGroup .ruleGroup::before {
|
|
76
|
-
top: -0.5rem;
|
|
77
|
-
height: calc(50% + 0.5rem);
|
|
78
|
-
border-width: 0 0 1px 1px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.queryBuilder-branches .rule:last-child::before,
|
|
82
|
-
.queryBuilder-branches .ruleGroup .ruleGroup:last-child::before {
|
|
83
|
-
border-bottom-left-radius: 0.25rem;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.queryBuilder-branches .rule::after,
|
|
87
|
-
.queryBuilder-branches .ruleGroup .ruleGroup::after {
|
|
88
|
-
top: 50%;
|
|
89
|
-
height: 50%;
|
|
90
|
-
border-width: 0 0 0 1px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.queryBuilder-branches .rule:last-child::after,
|
|
94
|
-
.queryBuilder-branches .ruleGroup .ruleGroup:last-child::after {
|
|
95
|
-
display: none;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.queryBuilder-branches .rule:hover .rule-remove {
|
|
99
|
-
visibility: visible;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.queryBuilder-branches .rule .rule-remove {
|
|
103
|
-
visibility: hidden;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.queryBuilder-branches .ruleGroup .ruleGroup::before,
|
|
107
|
-
.queryBuilder-branches .ruleGroup .ruleGroup::after {
|
|
108
|
-
left: calc(calc(-0.5rem - 1px) - 1px);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.queryBuilder-branches .ruleGroup .ruleGroup::before {
|
|
112
|
-
top: calc(-0.5rem - 1px);
|
|
113
|
-
height: calc(50% + 0.5rem + 1px);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.queryBuilder-branches .ruleGroup .ruleGroup::after {
|
|
117
|
-
height: calc(50% + 1px);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/* Justify layout */
|
|
121
|
-
.queryBuilder .rule-remove {
|
|
122
|
-
margin-left: auto;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/* Query validation*/
|
|
126
|
-
.queryBuilder .ruleGroup.queryBuilder-invalid .add-button {
|
|
127
|
-
font-weight: bold !important;
|
|
128
|
-
color: #ba000d;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.queryBuilder .rule.queryBuilder-invalid .rule-value::before {
|
|
132
|
-
border-bottom: 2px solid #ba000d;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.queryBuilder .rule.queryBuilder-invalid .rule-value::after {
|
|
136
|
-
border-bottom: 2px solid #ba000d;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/* DnD section, copied from original, just 'border-bottom-color: lightgrey' change */
|
|
140
|
-
[data-inlinecombinators='disabled'] .dndOver.rule,
|
|
141
|
-
[data-inlinecombinators='disabled'] .dndOver.ruleGroup-header {
|
|
142
|
-
border-bottom-width: 2px;
|
|
143
|
-
border-bottom-style: dashed;
|
|
144
|
-
border-bottom-color: lightgrey;
|
|
145
|
-
padding-bottom: 0.5rem;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
[data-inlinecombinators='disabled'] .dndOver.rule.dndCopy,
|
|
149
|
-
[data-inlinecombinators='disabled'] .dndOver.ruleGroup-header.dndCopy {
|
|
150
|
-
border-bottom-color: #669933;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
[data-inlinecombinators='enabled'] .dndOver.rule:last-child,
|
|
154
|
-
[data-inlinecombinators='enabled'] .dndOver.ruleGroup-header,
|
|
155
|
-
[data-inlinecombinators='enabled'] .dndOver.rule + .betweenRules,
|
|
156
|
-
[data-inlinecombinators='enabled'] .dndOver.betweenRules {
|
|
157
|
-
border-bottom-width: 2px;
|
|
158
|
-
border-bottom-style: dashed;
|
|
159
|
-
border-bottom-color: lightgrey;
|
|
160
|
-
padding-bottom: 0.5rem;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
[data-inlinecombinators='enabled'] .dndOver.rule:last-child.dndCopy,
|
|
164
|
-
[data-inlinecombinators='enabled'] .dndOver.ruleGroup-header.dndCopy,
|
|
165
|
-
[data-inlinecombinators='enabled'] .dndOver.rule + .betweenRules.dndCopy,
|
|
166
|
-
[data-inlinecombinators='enabled'] .dndOver.betweenRules.dndCopy {
|
|
167
|
-
border-bottom-color: #669933;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.ruleGroup.dndDragging,
|
|
171
|
-
.rule.dndDragging {
|
|
172
|
-
opacity: 0.5;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.ruleGroup .queryBuilder-dragHandle,
|
|
176
|
-
.rule .queryBuilder-dragHandle {
|
|
177
|
-
cursor: move;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/* end DnD section */
|