@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
|
@@ -7,8 +7,6 @@ import "@mui/icons-material";
|
|
|
7
7
|
import "react-intl";
|
|
8
8
|
import "@mui/material";
|
|
9
9
|
import "localized-countries";
|
|
10
|
-
import "localized-countries/data/fr";
|
|
11
|
-
import "localized-countries/data/en";
|
|
12
10
|
import { useSnackMessage } from "../../../../hooks/useSnackMessage.js";
|
|
13
11
|
import "react-hook-form";
|
|
14
12
|
import { SortWay } from "../custom-aggrid-types.js";
|
|
@@ -19,6 +19,7 @@ import { CustomMenu } from "./custom-aggrid-menu.js";
|
|
|
19
19
|
import { CustomAggridSort } from "./custom-aggrid-sort.js";
|
|
20
20
|
import { DisplayRounding } from "./display-rounding.js";
|
|
21
21
|
import { makeAgGridCustomHeaderColumn } from "./utils/custom-aggrid-header-utils.js";
|
|
22
|
+
import { UserAvatar, UserAvatarWithLabel } from "./user-avatar.js";
|
|
22
23
|
export {
|
|
23
24
|
BooleanCellRenderer,
|
|
24
25
|
BooleanNullableCellRenderer,
|
|
@@ -50,6 +51,8 @@ export {
|
|
|
50
51
|
SortWay,
|
|
51
52
|
TableType,
|
|
52
53
|
UndisplayedFilterNumberComparators,
|
|
54
|
+
UserAvatar,
|
|
55
|
+
UserAvatarWithLabel,
|
|
53
56
|
addToleranceToFilter,
|
|
54
57
|
computeTolerance,
|
|
55
58
|
makeAgGridCustomHeaderColumn,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type UserAvatarSize = 'small' | 'medium';
|
|
2
|
+
export type UserAvatarProps = {
|
|
3
|
+
label: string;
|
|
4
|
+
size?: UserAvatarSize;
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
};
|
|
7
|
+
/** Colored initials avatar for a user. */
|
|
8
|
+
export declare function UserAvatar({ label, size, backgroundColor }: Readonly<UserAvatarProps>): import("react").JSX.Element;
|
|
9
|
+
/** A user name preceded by its avatar, in a compact size. */
|
|
10
|
+
export declare function UserAvatarWithLabel({ label }: Readonly<{
|
|
11
|
+
label: string;
|
|
12
|
+
}>): import("react").JSX.Element;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Tooltip, Avatar, Box } from "@mui/material";
|
|
3
|
+
import "../../../utils/conversionUtils.js";
|
|
4
|
+
import "../../../utils/types/equipmentType.js";
|
|
5
|
+
import "@mui/icons-material";
|
|
6
|
+
import { mergeSx } from "../../../utils/styles.js";
|
|
7
|
+
import { getAbbreviationFromUserName } from "../../../utils/user-utils.js";
|
|
8
|
+
const FERMAT_PRIME = 65537;
|
|
9
|
+
function stringToColor(string) {
|
|
10
|
+
let hash = 0;
|
|
11
|
+
const stringUniqueHash = [...string].reduce((acc, char) => {
|
|
12
|
+
hash = char.charCodeAt(0) + ((acc << 5) - acc) * FERMAT_PRIME;
|
|
13
|
+
return hash & hash;
|
|
14
|
+
}, 0);
|
|
15
|
+
return `hsl(${stringUniqueHash % 360}, 50%, 50%)`;
|
|
16
|
+
}
|
|
17
|
+
const styles = {
|
|
18
|
+
avatar: (theme) => ({
|
|
19
|
+
height: "32px",
|
|
20
|
+
width: "32px",
|
|
21
|
+
fontSize: theme.typography.fontSize
|
|
22
|
+
}),
|
|
23
|
+
avatarSmall: (theme) => ({
|
|
24
|
+
height: "24px",
|
|
25
|
+
width: "24px",
|
|
26
|
+
fontSize: theme.typography.pxToRem(11)
|
|
27
|
+
})
|
|
28
|
+
};
|
|
29
|
+
function UserAvatar({ label, size = "medium", backgroundColor }) {
|
|
30
|
+
return /* @__PURE__ */ jsx(Tooltip, { title: label, children: /* @__PURE__ */ jsx(
|
|
31
|
+
Avatar,
|
|
32
|
+
{
|
|
33
|
+
sx: mergeSx(size === "small" ? styles.avatarSmall : styles.avatar, (theme) => ({
|
|
34
|
+
backgroundColor: backgroundColor ?? (label ? stringToColor(label) : theme.row.hover)
|
|
35
|
+
})),
|
|
36
|
+
children: getAbbreviationFromUserName(label)
|
|
37
|
+
}
|
|
38
|
+
) });
|
|
39
|
+
}
|
|
40
|
+
function UserAvatarWithLabel({ label }) {
|
|
41
|
+
return /* @__PURE__ */ jsxs(Box, { sx: { display: "inline-flex", alignItems: "center", gap: 1 }, children: [
|
|
42
|
+
/* @__PURE__ */ jsx(UserAvatar, { label, size: "small" }),
|
|
43
|
+
label
|
|
44
|
+
] });
|
|
45
|
+
}
|
|
46
|
+
export {
|
|
47
|
+
UserAvatar,
|
|
48
|
+
UserAvatarWithLabel
|
|
49
|
+
};
|
|
@@ -8,26 +8,19 @@ import "../../../utils/conversionUtils.js";
|
|
|
8
8
|
import "../../../utils/types/equipmentType.js";
|
|
9
9
|
import "react-hook-form";
|
|
10
10
|
import "localized-countries";
|
|
11
|
-
import "localized-countries/data/fr";
|
|
12
|
-
import "localized-countries/data/en";
|
|
13
11
|
import "notistack";
|
|
14
12
|
import "../../ui/reactHookForm/provider/CustomFormProvider.js";
|
|
15
13
|
import { CancelButton } from "../../ui/reactHookForm/utils/CancelButton.js";
|
|
16
14
|
import "yup";
|
|
17
15
|
import "../../ui/treeViewFinder/TreeViewFinder.js";
|
|
18
16
|
import "../../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
17
|
import "../../ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
25
18
|
import "../../ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
26
19
|
import "../../ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
27
20
|
import "@hello-pangea/dnd";
|
|
28
21
|
import "../../ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
29
22
|
import "../../ui/snackbarProvider/SnackbarProvider.js";
|
|
30
|
-
import "
|
|
23
|
+
import "../../../chunks/module.pXeJjFiM.js";
|
|
31
24
|
import "react-resizable-panels";
|
|
32
25
|
import "react-papaparse";
|
|
33
26
|
function DndTableAddRowsDialog({ open, handleAddButton, onClose }) {
|
|
@@ -20,8 +20,6 @@ import "yup";
|
|
|
20
20
|
import "../../ui/reactHookForm/provider/CustomFormProvider.js";
|
|
21
21
|
import "../../ui/reactHookForm/numbers/RangeInput.js";
|
|
22
22
|
import "localized-countries";
|
|
23
|
-
import "localized-countries/data/fr";
|
|
24
|
-
import "localized-countries/data/en";
|
|
25
23
|
import { SelectInput } from "../../ui/reactHookForm/selectInputs/SelectInput.js";
|
|
26
24
|
import { TableNumericalInput } from "../../ui/reactHookForm/tableInputs/table-numerical-input.js";
|
|
27
25
|
import { TableTextInput } from "../../ui/reactHookForm/tableInputs/table-text-input.js";
|
|
@@ -34,12 +32,7 @@ import "@hello-pangea/dnd";
|
|
|
34
32
|
import "../../ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
35
33
|
import "../../ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
36
34
|
import "../../ui/snackbarProvider/SnackbarProvider.js";
|
|
37
|
-
import "
|
|
38
|
-
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
39
|
-
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
40
|
-
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
41
|
-
import "@material-symbols/svg-400/outlined/add_notes-fill.svg?react";
|
|
42
|
-
import "mui-nested-menu";
|
|
35
|
+
import "../../../chunks/module.pXeJjFiM.js";
|
|
43
36
|
import "react-resizable-panels";
|
|
44
37
|
import "react-papaparse";
|
|
45
38
|
import { DeletableTableRow } from "./deletable-table-row.js";
|
|
@@ -16,8 +16,6 @@ import "../../../utils/conversionUtils.js";
|
|
|
16
16
|
import "../../../utils/types/equipmentType.js";
|
|
17
17
|
import { mergeSx } from "../../../utils/styles.js";
|
|
18
18
|
import "localized-countries";
|
|
19
|
-
import "localized-countries/data/fr";
|
|
20
|
-
import "localized-countries/data/en";
|
|
21
19
|
import "notistack";
|
|
22
20
|
import "../../ui/reactHookForm/provider/CustomFormProvider.js";
|
|
23
21
|
import "yup";
|
|
@@ -25,17 +23,12 @@ import { ErrorInput } from "../../ui/reactHookForm/errorManagement/ErrorInput.js
|
|
|
25
23
|
import { FieldErrorAlert } from "../../ui/reactHookForm/errorManagement/FieldErrorAlert.js";
|
|
26
24
|
import "../../ui/treeViewFinder/TreeViewFinder.js";
|
|
27
25
|
import "../../ui/reactHookForm/numbers/RangeInput.js";
|
|
28
|
-
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
29
|
-
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
30
|
-
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
31
|
-
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
32
|
-
import "@material-symbols/svg-400/outlined/add_notes-fill.svg?react";
|
|
33
26
|
import "../../ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
34
27
|
import "../../ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
35
28
|
import "../../ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
36
29
|
import "../../ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
37
30
|
import "../../ui/snackbarProvider/SnackbarProvider.js";
|
|
38
|
-
import "
|
|
31
|
+
import "../../../chunks/module.pXeJjFiM.js";
|
|
39
32
|
import "react-resizable-panels";
|
|
40
33
|
import "react-papaparse";
|
|
41
34
|
import { DndTableRow } from "./dnd-table-row.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import match from "
|
|
3
|
-
import parse from "autosuggest-highlight/parse";
|
|
2
|
+
import { m as match, p as parse } from "../../../../chunks/index.BJsVzTMz.js";
|
|
4
3
|
import clsx from "clsx";
|
|
5
4
|
import { FormattedMessage } from "react-intl";
|
|
6
5
|
import { Box } from "@mui/material";
|
|
@@ -15,19 +15,12 @@ import "react-intl";
|
|
|
15
15
|
import "react-hook-form";
|
|
16
16
|
import "../../ui/treeViewFinder/TreeViewFinder.js";
|
|
17
17
|
import "localized-countries";
|
|
18
|
-
import "localized-countries/data/fr";
|
|
19
|
-
import "localized-countries/data/en";
|
|
20
18
|
import "notistack";
|
|
21
19
|
import "@hello-pangea/dnd";
|
|
22
20
|
import "../../ui/overflowableText/OverflowableText.js";
|
|
23
21
|
import "../../ui/reactHookForm/provider/CustomFormProvider.js";
|
|
24
22
|
import "yup";
|
|
25
23
|
import "../../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
24
|
import "../../ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
32
25
|
import "../../ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
33
26
|
function FilterForm({
|
|
@@ -13,19 +13,12 @@ import "../../ui/overflowableText/OverflowableText.js";
|
|
|
13
13
|
import "react";
|
|
14
14
|
import "react-hook-form";
|
|
15
15
|
import "localized-countries";
|
|
16
|
-
import "localized-countries/data/fr";
|
|
17
|
-
import "localized-countries/data/en";
|
|
18
16
|
import "notistack";
|
|
19
17
|
import "../../ui/reactHookForm/provider/CustomFormProvider.js";
|
|
20
18
|
import "../../ui/treeViewFinder/TreeViewFinder.js";
|
|
21
19
|
import "../../ui/reactHookForm/numbers/RangeInput.js";
|
|
22
20
|
import { DescriptionField } from "../../ui/reactHookForm/text/DescriptionField.js";
|
|
23
21
|
import { UniqueNameInput } from "../../ui/reactHookForm/text/UniqueNameInput.js";
|
|
24
|
-
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
25
|
-
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
26
|
-
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
27
|
-
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
28
|
-
import "@material-symbols/svg-400/outlined/add_notes-fill.svg?react";
|
|
29
22
|
import "../../ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
30
23
|
import "../../ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
31
24
|
import "../../ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
@@ -33,7 +26,7 @@ import "@hello-pangea/dnd";
|
|
|
33
26
|
import "../../ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
34
27
|
import { elementEditionStyles } from "../../ui/dialogs/name-element-editor/name-element-editor-utils.js";
|
|
35
28
|
import "../../ui/snackbarProvider/SnackbarProvider.js";
|
|
36
|
-
import "
|
|
29
|
+
import "../../../chunks/module.pXeJjFiM.js";
|
|
37
30
|
import "react-resizable-panels";
|
|
38
31
|
import "react-papaparse";
|
|
39
32
|
const HeaderFilterSchema = {
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("/**\n * Copyright (c) 2024, RTE (http://www.rte-france.com)\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/.\n */\n/* Fork from react-querybuilder/dist/query-builder.css */\n.ruleGroup {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n padding: 0.5rem;\n border-color: #969696;\n border-style: solid;\n border-radius: 0.25rem;\n border-width: 1px;\n background: rgba(119, 119, 119, 0.3);\n}\n\n.ruleGroup .ruleGroup-body {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.ruleGroup .ruleGroup-body:empty {\n display: none;\n}\n\n.ruleGroup .ruleGroup-header,\n.ruleGroup .rule {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n}\n\n.ruleGroup .rule .rule-value:has(.rule-value-list-item) {\n display: flex;\n gap: 0.5rem;\n align-items: baseline;\n}\n\n/* Align all the fields and operators by setting a min-width */\n.rule-fields {\n min-width: 330px;\n}\n\n.rule-operators {\n min-width: 160px;\n}\n\n.queryBuilder-branches .ruleGroup-body {\n margin-left: calc(2 * 0.5rem);\n}\n\n.queryBuilder-branches .rule,\n.queryBuilder-branches .ruleGroup .ruleGroup {\n position: relative;\n}\n\n.queryBuilder-branches .rule::before,\n.queryBuilder-branches .rule::after,\n.queryBuilder-branches .ruleGroup .ruleGroup::before,\n.queryBuilder-branches .ruleGroup .ruleGroup::after {\n content: '';\n width: 0.5rem;\n left: calc(-0.5rem - 1px);\n border-color: #969696;\n border-style: solid;\n border-radius: 0;\n position: absolute;\n}\n\n.queryBuilder-branches .rule::before,\n.queryBuilder-branches .ruleGroup .ruleGroup::before {\n top: -0.5rem;\n height: calc(50% + 0.5rem);\n border-width: 0 0 1px 1px;\n}\n\n.queryBuilder-branches .rule:last-child::before,\n.queryBuilder-branches .ruleGroup .ruleGroup:last-child::before {\n border-bottom-left-radius: 0.25rem;\n}\n\n.queryBuilder-branches .rule::after,\n.queryBuilder-branches .ruleGroup .ruleGroup::after {\n top: 50%;\n height: 50%;\n border-width: 0 0 0 1px;\n}\n\n.queryBuilder-branches .rule:last-child::after,\n.queryBuilder-branches .ruleGroup .ruleGroup:last-child::after {\n display: none;\n}\n\n.queryBuilder-branches .rule:hover .rule-remove {\n visibility: visible;\n}\n\n.queryBuilder-branches .rule .rule-remove {\n visibility: hidden;\n}\n\n.queryBuilder-branches .ruleGroup .ruleGroup::before,\n.queryBuilder-branches .ruleGroup .ruleGroup::after {\n left: calc(calc(-0.5rem - 1px) - 1px);\n}\n\n.queryBuilder-branches .ruleGroup .ruleGroup::before {\n top: calc(-0.5rem - 1px);\n height: calc(50% + 0.5rem + 1px);\n}\n\n.queryBuilder-branches .ruleGroup .ruleGroup::after {\n height: calc(50% + 1px);\n}\n\n/* Justify layout */\n.queryBuilder .rule-remove {\n margin-left: auto;\n}\n\n/* Query validation*/\n.queryBuilder .ruleGroup.queryBuilder-invalid .add-button {\n font-weight: bold !important;\n color: #ba000d;\n}\n\n.queryBuilder .rule.queryBuilder-invalid .rule-value::before {\n border-bottom: 2px solid #ba000d;\n}\n\n.queryBuilder .rule.queryBuilder-invalid .rule-value::after {\n border-bottom: 2px solid #ba000d;\n}\n\n/* DnD section, copied from original, just 'border-bottom-color: lightgrey' change */\n[data-inlinecombinators='disabled'] .dndOver.rule,\n[data-inlinecombinators='disabled'] .dndOver.ruleGroup-header {\n border-bottom-width: 2px;\n border-bottom-style: dashed;\n border-bottom-color: lightgrey;\n padding-bottom: 0.5rem;\n}\n\n[data-inlinecombinators='disabled'] .dndOver.rule.dndCopy,\n[data-inlinecombinators='disabled'] .dndOver.ruleGroup-header.dndCopy {\n border-bottom-color: #669933;\n}\n\n[data-inlinecombinators='enabled'] .dndOver.rule:last-child,\n[data-inlinecombinators='enabled'] .dndOver.ruleGroup-header,\n[data-inlinecombinators='enabled'] .dndOver.rule + .betweenRules,\n[data-inlinecombinators='enabled'] .dndOver.betweenRules {\n border-bottom-width: 2px;\n border-bottom-style: dashed;\n border-bottom-color: lightgrey;\n padding-bottom: 0.5rem;\n}\n\n[data-inlinecombinators='enabled'] .dndOver.rule:last-child.dndCopy,\n[data-inlinecombinators='enabled'] .dndOver.ruleGroup-header.dndCopy,\n[data-inlinecombinators='enabled'] .dndOver.rule + .betweenRules.dndCopy,\n[data-inlinecombinators='enabled'] .dndOver.betweenRules.dndCopy {\n border-bottom-color: #669933;\n}\n\n.ruleGroup.dndDragging,\n.rule.dndDragging {\n opacity: 0.5;\n}\n\n.ruleGroup .queryBuilder-dragHandle,\n.rule .queryBuilder-dragHandle {\n cursor: move;\n}\n\n/* end DnD section */"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
1
13
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
14
|
import { useCallback, useMemo } from "react";
|
|
3
15
|
import { formatQuery } from "react-querybuilder/formatQuery";
|
|
@@ -21,8 +33,6 @@ import "@mui/icons-material";
|
|
|
21
33
|
import "react-intl";
|
|
22
34
|
import "../../../ui/treeViewFinder/TreeViewFinder.js";
|
|
23
35
|
import "localized-countries";
|
|
24
|
-
import "localized-countries/data/fr";
|
|
25
|
-
import "localized-countries/data/en";
|
|
26
36
|
import "notistack";
|
|
27
37
|
import { useFormatLabelWithUnit } from "../../../../hooks/useFormatLabelWithUnit.js";
|
|
28
38
|
import "@hello-pangea/dnd";
|
|
@@ -31,18 +41,13 @@ import { useCustomFormContext } from "../../../ui/reactHookForm/provider/useCust
|
|
|
31
41
|
import { elementEditionStyles } from "../../../ui/dialogs/name-element-editor/name-element-editor-utils.js";
|
|
32
42
|
import "../../../ui/reactHookForm/provider/CustomFormProvider.js";
|
|
33
43
|
import "../../../ui/reactHookForm/numbers/RangeInput.js";
|
|
34
|
-
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
35
|
-
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
36
|
-
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
37
|
-
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
38
|
-
import "@material-symbols/svg-400/outlined/add_notes-fill.svg?react";
|
|
39
44
|
import "../../../ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
40
45
|
import "../../../ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
41
46
|
import "../../../ui/snackbarProvider/SnackbarProvider.js";
|
|
42
|
-
import "
|
|
47
|
+
import "../../../../chunks/module.pXeJjFiM.js";
|
|
43
48
|
import "react-resizable-panels";
|
|
44
49
|
import "react-papaparse";
|
|
45
|
-
|
|
50
|
+
function isSupportedEquipmentType(equipmentType) {
|
|
46
51
|
return Object.values(EXPERT_FILTER_EQUIPMENTS).map((equipments) => equipments.id).includes(equipmentType);
|
|
47
52
|
}
|
|
48
53
|
const expertFilterSchema = {
|
|
@@ -26,24 +26,17 @@ import { LANG_SYSTEM } from "../../../../utils/langs.js";
|
|
|
26
26
|
import "@mui/icons-material";
|
|
27
27
|
import "../../../ui/overflowableText/OverflowableText.js";
|
|
28
28
|
import "localized-countries";
|
|
29
|
-
import "localized-countries/data/fr";
|
|
30
|
-
import "localized-countries/data/en";
|
|
31
29
|
import "../../../ui/reactHookForm/provider/CustomFormProvider.js";
|
|
32
30
|
import { useCustomFormContext } from "../../../ui/reactHookForm/provider/useCustomFormContext.js";
|
|
33
31
|
import "../../../ui/treeViewFinder/TreeViewFinder.js";
|
|
34
32
|
import "../../../ui/reactHookForm/numbers/RangeInput.js";
|
|
35
|
-
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
36
|
-
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
37
|
-
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
38
|
-
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
39
|
-
import "@material-symbols/svg-400/outlined/add_notes-fill.svg?react";
|
|
40
33
|
import "../../../ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
41
34
|
import "../../../ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
42
35
|
import "../../../ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
43
36
|
import "@hello-pangea/dnd";
|
|
44
37
|
import "../../../ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
45
38
|
import "../../../ui/snackbarProvider/SnackbarProvider.js";
|
|
46
|
-
import "
|
|
39
|
+
import "../../../../chunks/module.pXeJjFiM.js";
|
|
47
40
|
import "react-resizable-panels";
|
|
48
41
|
import { CsvDownloadButton } from "../../../ui/csvDownloader/csv-download-button.js";
|
|
49
42
|
import { CsvPicker } from "../../../ui/csvPicker/csv-picker.js";
|
|
@@ -9,26 +9,19 @@ import "../../ui/overflowableText/OverflowableText.js";
|
|
|
9
9
|
import "react";
|
|
10
10
|
import "react-hook-form";
|
|
11
11
|
import "localized-countries";
|
|
12
|
-
import "localized-countries/data/fr";
|
|
13
|
-
import "localized-countries/data/en";
|
|
14
12
|
import "notistack";
|
|
15
13
|
import "../../ui/reactHookForm/provider/CustomFormProvider.js";
|
|
16
14
|
import "yup";
|
|
17
15
|
import { CustomTooltip } from "../../ui/tooltip/CustomTooltip.js";
|
|
18
16
|
import "../../ui/treeViewFinder/TreeViewFinder.js";
|
|
19
17
|
import "../../ui/reactHookForm/numbers/RangeInput.js";
|
|
20
|
-
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
21
|
-
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
22
|
-
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
23
|
-
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
24
|
-
import "@material-symbols/svg-400/outlined/add_notes-fill.svg?react";
|
|
25
18
|
import "../../ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
26
19
|
import "../../ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
27
20
|
import "../../ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
28
21
|
import "@hello-pangea/dnd";
|
|
29
22
|
import "../../ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
30
23
|
import "../../ui/snackbarProvider/SnackbarProvider.js";
|
|
31
|
-
import "
|
|
24
|
+
import "../../../chunks/module.pXeJjFiM.js";
|
|
32
25
|
import "react-resizable-panels";
|
|
33
26
|
import "react-papaparse";
|
|
34
27
|
function GridSection({
|
|
@@ -66,6 +66,7 @@ import { CustomMenu } from "./customAGGrid/custom-aggrid-menu.js";
|
|
|
66
66
|
import { CustomAggridSort } from "./customAGGrid/custom-aggrid-sort.js";
|
|
67
67
|
import { DisplayRounding } from "./customAGGrid/display-rounding.js";
|
|
68
68
|
import { makeAgGridCustomHeaderColumn } from "./customAGGrid/utils/custom-aggrid-header-utils.js";
|
|
69
|
+
import { UserAvatar, UserAvatarWithLabel } from "./customAGGrid/user-avatar.js";
|
|
69
70
|
import { ReportViewer } from "./report/report-viewer/report-viewer.js";
|
|
70
71
|
import { ReportFetcherContext, ReportFilterContext, useReportFetcherContext, useReportFilterContext } from "./report/report-viewer/context/report-viewer-context.js";
|
|
71
72
|
import { default as default2 } from "./report/report-viewer/log-table/log-table.js";
|
|
@@ -173,6 +174,8 @@ export {
|
|
|
173
174
|
TextValueEditor,
|
|
174
175
|
TranslatedValueEditor,
|
|
175
176
|
UndisplayedFilterNumberComparators,
|
|
177
|
+
UserAvatar,
|
|
178
|
+
UserAvatarWithLabel,
|
|
176
179
|
ValueEditor,
|
|
177
180
|
ValueSelector,
|
|
178
181
|
addToleranceToFilter,
|
|
@@ -7,8 +7,6 @@ import "../../../utils/types/equipmentType.js";
|
|
|
7
7
|
import "@mui/icons-material";
|
|
8
8
|
import "@mui/material";
|
|
9
9
|
import "localized-countries";
|
|
10
|
-
import "localized-countries/data/fr";
|
|
11
|
-
import "localized-countries/data/en";
|
|
12
10
|
import "notistack";
|
|
13
11
|
import { useSelectAppearance } from "../../../hooks/useSelectAppearance.js";
|
|
14
12
|
import "react-hook-form";
|
|
@@ -7,8 +7,6 @@ import "../../../utils/conversionUtils.js";
|
|
|
7
7
|
import "../../../utils/types/equipmentType.js";
|
|
8
8
|
import { useDebounce } from "../../../hooks/useDebounce.js";
|
|
9
9
|
import "localized-countries";
|
|
10
|
-
import "localized-countries/data/fr";
|
|
11
|
-
import "localized-countries/data/en";
|
|
12
10
|
import "notistack";
|
|
13
11
|
import "react-hook-form";
|
|
14
12
|
const styles = {
|
|
@@ -13,8 +13,6 @@ import "../../../../../utils/types/equipmentType.js";
|
|
|
13
13
|
import { MessageLogCellRenderer } from "../../../customAGGrid/cell-renderers.js";
|
|
14
14
|
import "../../../customAGGrid/context/custom-aggrid-context.js";
|
|
15
15
|
import "localized-countries";
|
|
16
|
-
import "localized-countries/data/fr";
|
|
17
|
-
import "localized-countries/data/en";
|
|
18
16
|
import "notistack";
|
|
19
17
|
import "react-hook-form";
|
|
20
18
|
import { FilterTextComparators, FilterDataTypes, TableType } from "../../../customAGGrid/custom-aggrid-types.js";
|
|
@@ -28,18 +26,13 @@ import "../../../../ui/reactHookForm/provider/CustomFormProvider.js";
|
|
|
28
26
|
import "yup";
|
|
29
27
|
import "../../../../ui/treeViewFinder/TreeViewFinder.js";
|
|
30
28
|
import "../../../../ui/reactHookForm/numbers/RangeInput.js";
|
|
31
|
-
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
32
|
-
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
33
|
-
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
34
|
-
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
35
|
-
import "@material-symbols/svg-400/outlined/add_notes-fill.svg?react";
|
|
36
29
|
import "../../../../ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
37
30
|
import "../../../../ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
38
31
|
import "../../../../ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
39
32
|
import "@hello-pangea/dnd";
|
|
40
33
|
import "../../../../ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
41
34
|
import "../../../../ui/snackbarProvider/SnackbarProvider.js";
|
|
42
|
-
import "
|
|
35
|
+
import "../../../../../chunks/module.pXeJjFiM.js";
|
|
43
36
|
import "react-resizable-panels";
|
|
44
37
|
import "react-papaparse";
|
|
45
38
|
import { CustomTablePagination } from "../../../../ui/tablepagination/custom-table-pagination.js";
|
package/dist/components/index.js
CHANGED
|
@@ -150,6 +150,7 @@ import { CustomMenu } from "./composite/customAGGrid/custom-aggrid-menu.js";
|
|
|
150
150
|
import { CustomAggridSort } from "./composite/customAGGrid/custom-aggrid-sort.js";
|
|
151
151
|
import { DisplayRounding } from "./composite/customAGGrid/display-rounding.js";
|
|
152
152
|
import { makeAgGridCustomHeaderColumn } from "./composite/customAGGrid/utils/custom-aggrid-header-utils.js";
|
|
153
|
+
import { UserAvatar, UserAvatarWithLabel } from "./composite/customAGGrid/user-avatar.js";
|
|
153
154
|
import { ReportViewer } from "./composite/report/report-viewer/report-viewer.js";
|
|
154
155
|
import { ReportFetcherContext, ReportFilterContext, useReportFetcherContext, useReportFilterContext } from "./composite/report/report-viewer/context/report-viewer-context.js";
|
|
155
156
|
import { default as default2 } from "./composite/report/report-viewer/log-table/log-table.js";
|
|
@@ -342,6 +343,8 @@ export {
|
|
|
342
343
|
TreeViewFinder,
|
|
343
344
|
UndisplayedFilterNumberComparators,
|
|
344
345
|
UniqueNameInput,
|
|
346
|
+
UserAvatar,
|
|
347
|
+
UserAvatarWithLabel,
|
|
345
348
|
ValueEditor,
|
|
346
349
|
ValueSelector,
|
|
347
350
|
VoltageUnitIcon,
|
|
@@ -8,19 +8,12 @@ import "@mui/icons-material";
|
|
|
8
8
|
import "react";
|
|
9
9
|
import "react-hook-form";
|
|
10
10
|
import "localized-countries";
|
|
11
|
-
import "localized-countries/data/fr";
|
|
12
|
-
import "localized-countries/data/en";
|
|
13
11
|
import "notistack";
|
|
14
12
|
import "../reactHookForm/provider/CustomFormProvider.js";
|
|
15
13
|
import { CancelButton } from "../reactHookForm/utils/CancelButton.js";
|
|
16
14
|
import "yup";
|
|
17
15
|
import "../treeViewFinder/TreeViewFinder.js";
|
|
18
16
|
import "../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
17
|
import "../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
25
18
|
import "../reactHookForm/expandableInput/ExpandableInput.js";
|
|
26
19
|
import "../reactHookForm/directory-item-input/directory-item-utils.js";
|
|
@@ -14,8 +14,6 @@ import { ElementType } from "../../../../utils/types/elementType.js";
|
|
|
14
14
|
import "../../../../utils/types/equipmentType.js";
|
|
15
15
|
import "@mui/icons-material";
|
|
16
16
|
import "localized-countries";
|
|
17
|
-
import "localized-countries/data/fr";
|
|
18
|
-
import "localized-countries/data/en";
|
|
19
17
|
import { useSnackMessage } from "../../../../hooks/useSnackMessage.js";
|
|
20
18
|
import "../../reactHookForm/provider/CustomFormProvider.js";
|
|
21
19
|
import { DirectoryItemSelector } from "../../directoryItemSelector/DirectoryItemSelector.js";
|
|
@@ -23,11 +21,6 @@ import { RadioInput } from "../../reactHookForm/booleans/RadioInput.js";
|
|
|
23
21
|
import "../../reactHookForm/numbers/RangeInput.js";
|
|
24
22
|
import { DescriptionField } from "../../reactHookForm/text/DescriptionField.js";
|
|
25
23
|
import { UniqueNameInput } from "../../reactHookForm/text/UniqueNameInput.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
24
|
import "../descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
32
25
|
import "../../reactHookForm/expandableInput/ExpandableInput.js";
|
|
33
26
|
import "../../reactHookForm/directory-item-input/directory-item-utils.js";
|
|
@@ -9,18 +9,11 @@ import "react";
|
|
|
9
9
|
import "react-hook-form";
|
|
10
10
|
import "react-intl";
|
|
11
11
|
import "localized-countries";
|
|
12
|
-
import "localized-countries/data/fr";
|
|
13
|
-
import "localized-countries/data/en";
|
|
14
12
|
import "notistack";
|
|
15
13
|
import "../../reactHookForm/provider/CustomFormProvider.js";
|
|
16
14
|
import "../../treeViewFinder/TreeViewFinder.js";
|
|
17
15
|
import { DESCRIPTION, NAME } from "../../reactHookForm/constants.js";
|
|
18
16
|
import "../../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
17
|
import "../descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
25
18
|
import "../../reactHookForm/expandableInput/ExpandableInput.js";
|
|
26
19
|
import "../../reactHookForm/directory-item-input/directory-item-utils.js";
|
|
@@ -12,8 +12,6 @@ import { fetchRootFolders, fetchDirectoryContent } from "../../../services/direc
|
|
|
12
12
|
import { fetchElementsInfos } from "../../../services/explore.js";
|
|
13
13
|
import "@mui/material";
|
|
14
14
|
import "localized-countries";
|
|
15
|
-
import "localized-countries/data/fr";
|
|
16
|
-
import "localized-countries/data/en";
|
|
17
15
|
import { useSnackMessage } from "../../../hooks/useSnackMessage.js";
|
|
18
16
|
import "react-hook-form";
|
|
19
17
|
import { getExpansionPathsForSelected, fetchChildrenForExpandedNodes, initializeFromLastSelected, saveLastSelectedDirectoryFromNode } from "./utils.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import { SvgIcon } from "@mui/material";
|
|
4
|
+
const SvgArrowsInput = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 48, height: 48, viewBox: "0 -960 960 960", ...props }, /* @__PURE__ */ React.createElement("path", { d: "m143-100-43-43 147-147H120v-60h230v230h-60v-127L143-100Zm674 0L670-247v127h-60v-230h230v60H713l147 147-43 43ZM120-610v-60h127L100-817l43-43 147 147v-127h60v230H120Zm490 0v-230h60v127l148-148 43 43-148 148h127v60H610ZM481-413q-28.05 0-48.02-19.68Q413-452.36 413-480t19.98-47.32Q452.95-547 481-547q27.23 0 46.61 19.68Q547-507.64 547-480t-19.39 47.32Q508.23-413 481-413Z" }));
|
|
4
5
|
function ArrowsInputIcon(props) {
|
|
5
|
-
return /* @__PURE__ */ jsx(SvgIcon, { component:
|
|
6
|
+
return /* @__PURE__ */ jsx(SvgIcon, { component: SvgArrowsInput, inheritViewBox: true, ...props });
|
|
6
7
|
}
|
|
7
8
|
export {
|
|
8
9
|
ArrowsInputIcon
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { SvgIcon } from "@mui/material";
|
|
3
|
-
import
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
const SvgArrowsOutput = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 48, height: 48, viewBox: "0 -960 960 960", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M120-120v-230h60v127l148-148 43 43-148 148h127v60H120Zm490 0v-60h127L590-327l43-43 147 147v-127h60v230H610ZM327-590 180-737v127h-60v-230h230v60H223l147 147-43 43Zm306 0-43-43 147-147H610v-60h230v230h-60v-127L633-590ZM481-413q-28.05 0-48.02-19.68Q413-452.36 413-480t19.98-47.32Q452.95-547 481-547q27.23 0 46.61 19.68Q547-507.64 547-480t-19.39 47.32Q508.23-413 481-413Z" }));
|
|
4
5
|
function ArrowsOutputIcon(props) {
|
|
5
|
-
return /* @__PURE__ */ jsx(SvgIcon, { component:
|
|
6
|
+
return /* @__PURE__ */ jsx(SvgIcon, { component: SvgArrowsOutput, inheritViewBox: true, ...props });
|
|
6
7
|
}
|
|
7
8
|
export {
|
|
8
9
|
ArrowsOutputIcon
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import { SvgIcon } from "@mui/material";
|
|
4
|
+
const SvgDatasetLinkedFill = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 48, height: 48, viewBox: "0 -960 960 960", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M180-160q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v302q-8-1-14.5-1.5T811-520H560q-40 0-77 13.5T414-470H290v140h26q-3 12-4.5 24.5T310-280q0 30 8.5 62t23.5 58H180Zm110-410h140v-140H290v140Zm270 450q-66 0-113-47t-47-113q0-66 46.5-113T560-440h70v60h-70q-42 0-71 29t-29 71q0 42 29 71t71 29h81v60h-81Zm-30-450h140v-140H530v140Zm30 320v-60h240v60H560Zm160 130v-60h80q42 0 71-29t29-71q0-42-29-71t-71-29h-70v-60h70q66 0 113 46.5T960-280q0 66-47 113t-113 47h-80Z" }));
|
|
4
5
|
function DatasetLinkedIcon(props) {
|
|
5
|
-
return /* @__PURE__ */ jsx(SvgIcon, { component:
|
|
6
|
+
return /* @__PURE__ */ jsx(SvgIcon, { component: SvgDatasetLinkedFill, inheritViewBox: true, ...props });
|
|
6
7
|
}
|
|
7
8
|
export {
|
|
8
9
|
DatasetLinkedIcon
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import { SvgIcon } from "@mui/material";
|
|
4
4
|
import { StickyNote2Outlined } from "@mui/icons-material";
|
|
5
|
+
const SvgAddNotesFill = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 48, height: 48, viewBox: "0 -960 960 960", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M718-101h33v-110h110v-33H751v-110h-33v110H608v33h110v110Zm15 60q-78 0-133-55.5T545-228q0-78 55-133.5T733-417q77 0 132.5 55.5T921-228q0 76-55.5 131.5T733-41ZM280-620h400v-60H280v60Zm230 500H180q-25 0-42.5-17.5T120-180v-600q0-25 17.5-42.5T180-840h600q25 0 42.5 17.5T840-780v329q-25-13-52-19t-55-6q-14 0-27 1.5t-26 4.5v-40H280v60h344q-36 18-64.5 46.5T513-340H280v60h211q-3 13-4.5 26t-1.5 27q0 29 6 55t19 52Z" }));
|
|
5
6
|
function EditNoteIcon({ empty = false, ...props }) {
|
|
6
|
-
return empty ? /* @__PURE__ */ jsx(SvgIcon, { component:
|
|
7
|
+
return empty ? /* @__PURE__ */ jsx(SvgIcon, { component: SvgAddNotesFill, inheritViewBox: true, ...props }) : /* @__PURE__ */ jsx(StickyNote2Outlined, { ...props });
|
|
7
8
|
}
|
|
8
9
|
export {
|
|
9
10
|
EditNoteIcon
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import { SvgIcon } from "@mui/material";
|
|
4
|
+
const SvgLeftPanelClose = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 48, height: 48, viewBox: "0 -960 960 960", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M663-344v-272L527-480l136 136ZM180-120q-24.75 0-42.37-17.63Q120-155.25 120-180v-600q0-24.75 17.63-42.38Q155.25-840 180-840h600q24.75 0 42.38 17.62Q840-804.75 840-780v600q0 24.75-17.62 42.37Q804.75-120 780-120H180Zm147-60v-600H180v600h147Zm60 0h393v-600H387v600Zm-60 0H180h147Z" }));
|
|
4
5
|
function LeftPanelCloseIcon(props) {
|
|
5
|
-
return /* @__PURE__ */ jsx(SvgIcon, { component:
|
|
6
|
+
return /* @__PURE__ */ jsx(SvgIcon, { component: SvgLeftPanelClose, inheritViewBox: true, ...props });
|
|
6
7
|
}
|
|
7
8
|
export {
|
|
8
9
|
LeftPanelCloseIcon
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import { SvgIcon } from "@mui/material";
|
|
4
|
+
const SvgLeftPanelOpen = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 48, height: 48, viewBox: "0 -960 960 960", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M527-616v272l136-136-136-136ZM180-120q-24.75 0-42.37-17.63Q120-155.25 120-180v-600q0-24.75 17.63-42.38Q155.25-840 180-840h600q24.75 0 42.38 17.62Q840-804.75 840-780v600q0 24.75-17.62 42.37Q804.75-120 780-120H180Zm147-60v-600H180v600h147Zm60 0h393v-600H387v600Zm-60 0H180h147Z" }));
|
|
4
5
|
function LeftPanelOpenIcon(props) {
|
|
5
|
-
return /* @__PURE__ */ jsx(SvgIcon, { component:
|
|
6
|
+
return /* @__PURE__ */ jsx(SvgIcon, { component: SvgLeftPanelOpen, inheritViewBox: true, ...props });
|
|
6
7
|
}
|
|
7
8
|
export {
|
|
8
9
|
LeftPanelOpenIcon
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as $fbbfd8893e0b22a2$export$a49133e888f99d9b } from "../../../chunks/module.pXeJjFiM.js";
|
|
4
4
|
import { MenuItem, Box } from "@mui/material";
|
|
5
5
|
import { mergeSx } from "../../../utils/styles.js";
|
|
6
6
|
const styles = {
|
|
@@ -32,7 +32,7 @@ function CustomNestedMenuItem({ sx, children, ...other }) {
|
|
|
32
32
|
calculatePosition();
|
|
33
33
|
};
|
|
34
34
|
return /* @__PURE__ */ jsx(
|
|
35
|
-
|
|
35
|
+
$fbbfd8893e0b22a2$export$a49133e888f99d9b,
|
|
36
36
|
{
|
|
37
37
|
...other,
|
|
38
38
|
parentMenuOpen: true,
|