@gridsuite/commons-ui 0.212.0 → 0.214.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/customAGGrid/cell-renderers.js +1 -1
- package/dist/components/dnd-table/dnd-table-add-rows-dialog.js +18 -12
- package/dist/components/dnd-table/dnd-table-bottom-left-buttons.js +1 -1
- package/dist/components/dnd-table/dnd-table-bottom-right-buttons.js +1 -1
- package/dist/components/dnd-table/dnd-table.js +27 -21
- package/dist/components/dnd-table-v2/deletable-table-row.js +1 -1
- package/dist/components/dnd-table-v2/dnd-table-add-rows-dialog.js +18 -12
- package/dist/components/dnd-table-v2/dnd-table-bottom-left-buttons.js +1 -1
- package/dist/components/dnd-table-v2/dnd-table-bottom-right-buttons.js +1 -1
- package/dist/components/dnd-table-v2/dnd-table-row.js +34 -21
- package/dist/components/dnd-table-v2/dnd-table.js +18 -13
- package/dist/components/elementSearch/elementItem/EquipmentItem.js +1 -1
- package/dist/components/elementSearch/tagRenderer/TagRenderer.js +1 -1
- package/dist/components/filter/FilterCreationDialog.js +1 -1
- package/dist/components/filter/FilterForm.js +5 -3
- package/dist/components/filter/HeaderFilterForm.js +17 -11
- package/dist/components/filter/expert/ExpertFilterEditionDialog.js +1 -1
- package/dist/components/filter/expert/ExpertFilterForm.d.ts +1 -1
- package/dist/components/filter/expert/ExpertFilterForm.js +20 -26
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterEditionDialog.js +1 -1
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.js +29 -27
- package/dist/components/filter/utils/filterApi.js +3 -3
- package/dist/components/flatParameters/FlatParameters.js +2 -2
- package/dist/components/grid/grid-item.js +1 -1
- package/dist/components/index.d.ts +1 -13
- package/dist/components/index.js +108 -92
- package/dist/components/muiTable/OverflowableTableCell.d.ts +1 -1
- package/dist/components/muiTable/OverflowableTableCell.js +1 -1
- package/dist/components/muiTable/OverflowableTableCellWithCheckbox.d.ts +1 -1
- package/dist/components/muiTable/OverflowableTableCellWithCheckbox.js +1 -1
- package/dist/components/network-modification-table/columns-definition.d.ts +0 -2
- package/dist/components/network-modification-table/index.js +16 -0
- package/dist/components/network-modification-table/network-modifications-table.d.ts +8 -2
- package/dist/components/network-modification-table/network-modifications-table.js +33 -8
- package/dist/components/network-modification-table/renderers/cell-renderers.d.ts +23 -0
- package/dist/components/network-modification-table/renderers/cell-renderers.js +103 -0
- package/dist/components/network-modification-table/renderers/description-cell.d.ts +9 -0
- package/dist/components/network-modification-table/renderers/description-cell.js +75 -0
- package/dist/components/network-modification-table/renderers/index.d.ts +4 -0
- package/dist/components/network-modification-table/renderers/index.js +17 -1
- package/dist/components/network-modification-table/renderers/name-cell.d.ts +2 -2
- package/dist/components/network-modification-table/renderers/name-cell.js +29 -10
- package/dist/components/network-modification-table/renderers/root-network-chip-cell.d.ts +13 -0
- package/dist/components/network-modification-table/renderers/root-network-chip-cell.js +114 -0
- package/dist/components/network-modification-table/renderers/select-cell.js +2 -2
- package/dist/components/network-modification-table/renderers/select-header-cell.js +2 -2
- package/dist/components/network-modification-table/renderers/switch-cell.d.ts +9 -0
- package/dist/components/network-modification-table/renderers/switch-cell.js +63 -0
- package/dist/components/network-modifications/battery/creation/BatteryCreationForm.js +17 -11
- package/dist/components/network-modifications/battery/creation/batteryCreation.utils.js +15 -9
- package/dist/components/network-modifications/by-filter/assignment/assignment/assignment-form.js +23 -16
- package/dist/components/network-modifications/by-filter/assignment/modification-by-assignment-form.js +20 -15
- package/dist/components/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +21 -14
- package/dist/components/network-modifications/common/activePowerControl/ActivePowerControlForm.js +19 -13
- package/dist/components/network-modifications/common/connectivity/ConnectivityForm.js +19 -13
- package/dist/components/network-modifications/common/connectivity/PositionForm.js +19 -13
- package/dist/components/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +19 -13
- package/dist/components/network-modifications/common/measurements/PowerWithValidityForm.js +20 -14
- package/dist/components/network-modifications/common/properties/PropertiesForm.js +16 -10
- package/dist/components/network-modifications/common/properties/PropertyForm.js +17 -11
- package/dist/components/network-modifications/common/reactiveLimits/ReactiveLimitsForm.js +17 -11
- package/dist/components/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.js +17 -11
- package/dist/components/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +17 -11
- package/dist/components/network-modifications/common/setpoints/SetPointsForm.js +16 -10
- package/dist/components/network-modifications/common/shortCircuit/ShortCircuitForm.js +19 -13
- package/dist/components/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +16 -10
- package/dist/components/network-modifications/equipmentDeletion/equipmentDeletion.utils.js +15 -9
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +17 -11
- package/dist/components/network-modifications/index.js +17 -11
- package/dist/components/network-modifications/load/common/LoadDialogHeader.js +17 -11
- package/dist/components/network-modifications/load/creation/loadCreation.utils.js +15 -9
- package/dist/components/network-modifications/load/modification/loadModification.utils.js +15 -9
- package/dist/components/network-modifications/shunt-compensator/common/CharacteristicsForm.js +19 -13
- package/dist/components/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.js +19 -13
- package/dist/components/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js +15 -9
- package/dist/components/network-modifications/substation/creation/SubstationCreationForm.js +20 -14
- package/dist/components/network-modifications/substation/modification/SubstationModificationForm.js +20 -14
- package/dist/components/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +19 -13
- package/dist/components/network-modifications/voltageLevel/creation/index.js +17 -11
- package/dist/components/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.js +16 -10
- package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.js +18 -12
- package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusCreation.js +1 -1
- package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusForm.js +18 -12
- package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js +16 -10
- package/dist/components/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +20 -14
- package/dist/components/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +18 -12
- package/dist/components/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +15 -9
- package/dist/components/network-modifications/voltageLevel/index.js +17 -11
- package/dist/components/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +21 -15
- package/dist/components/notifications/NotificationsProvider.js +12 -1
- package/dist/components/parameters/common/ProviderParam.js +19 -13
- package/dist/components/parameters/common/contingency-table/columns-definitions.js +15 -10
- package/dist/components/parameters/common/hook/use-parameters-form.js +1 -1
- package/dist/components/parameters/common/limitreductions/limit-reduction-table-cell.js +21 -15
- package/dist/components/parameters/common/limitreductions/limit-reductions-table-form.js +17 -11
- package/dist/components/parameters/common/name-element-editor/name-element-editor-form.js +2 -2
- package/dist/components/parameters/common/name-element-editor/name-element-editor-utils.js +19 -13
- package/dist/components/parameters/common/parameter-field.js +27 -23
- package/dist/components/parameters/common/parameter-table/parameter-table.js +1 -1
- package/dist/components/parameters/common/parameter-table/table-cell.js +30 -17
- package/dist/components/parameters/common/parameter-table/table-row.js +1 -1
- package/dist/components/parameters/common/parameter-table-field/parameter-table-field.js +17 -11
- package/dist/components/parameters/common/parameters-creation-dialog.js +5 -3
- package/dist/components/parameters/common/voltage-level-table/custom-voltage-level-table-cell.js +20 -14
- package/dist/components/parameters/common/voltage-level-table/custom-voltage-level-table.js +1 -1
- package/dist/components/parameters/common/widget/parameter-float.js +20 -14
- package/dist/components/parameters/common/widget/parameter-line-directory-items-input.js +20 -13
- package/dist/components/parameters/common/widget/parameter-line-slider.js +19 -13
- package/dist/components/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +15 -11
- package/dist/components/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +17 -12
- package/dist/components/parameters/dynamic-margin-calculation/loads-variations-parameters.js +16 -11
- package/dist/components/parameters/dynamic-margin-calculation/use-dynamic-margin-calculation-parameters-form.js +15 -11
- package/dist/components/parameters/dynamic-security-analysis/contingency-parameters.js +15 -11
- package/dist/components/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +17 -12
- package/dist/components/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +15 -11
- package/dist/components/parameters/dynamic-security-analysis/use-dynamic-security-analysis-parameters-form.js +16 -12
- package/dist/components/parameters/dynamic-simulation/curve/common/grid-buttons.js +1 -1
- package/dist/components/parameters/dynamic-simulation/curve/dialog/curve-selector-dialog.js +1 -1
- package/dist/components/parameters/dynamic-simulation/curve/dialog/equipment-filter.js +1 -1
- package/dist/components/parameters/dynamic-simulation/dynamic-simulation-inline.js +17 -13
- package/dist/components/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +15 -11
- package/dist/components/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.js +15 -11
- package/dist/components/parameters/loadflow/load-flow-general-parameters.js +17 -13
- package/dist/components/parameters/loadflow/load-flow-parameters-content.js +15 -11
- package/dist/components/parameters/loadflow/load-flow-parameters-dialog.js +16 -12
- package/dist/components/parameters/loadflow/load-flow-parameters-form.js +18 -12
- package/dist/components/parameters/loadflow/load-flow-parameters-header.js +19 -15
- package/dist/components/parameters/loadflow/load-flow-parameters-inline.js +17 -13
- package/dist/components/parameters/loadflow/load-flow-parameters-utils.js +15 -11
- package/dist/components/parameters/loadflow/use-load-flow-parameters-form.js +16 -12
- package/dist/components/parameters/network-visualizations/map-parameters.js +17 -13
- package/dist/components/parameters/network-visualizations/network-area-diagram-parameters.js +19 -13
- package/dist/components/parameters/network-visualizations/network-visualizations-form.js +17 -13
- package/dist/components/parameters/network-visualizations/network-visualizations-parameters-dialog.js +16 -11
- package/dist/components/parameters/network-visualizations/network-visualizations-parameters-inline.js +16 -11
- package/dist/components/parameters/network-visualizations/single-line-diagram-parameters.js +17 -13
- package/dist/components/parameters/network-visualizations/use-network-visualizations-parameters-form.js +20 -14
- package/dist/components/parameters/pcc-min/pcc-min-form-utils.js +20 -14
- package/dist/components/parameters/pcc-min/pcc-min-parameters-dialog.js +16 -11
- package/dist/components/parameters/pcc-min/pcc-min-parameters-form.js +19 -15
- package/dist/components/parameters/pcc-min/pcc-min-parameters-inline.js +17 -13
- package/dist/components/parameters/pcc-min/use-pcc-min-parameters-form.js +16 -10
- package/dist/components/parameters/security-analysis/columns-definitions.js +15 -11
- package/dist/components/parameters/security-analysis/security-analysis-parameters-dialog.js +16 -12
- package/dist/components/parameters/security-analysis/security-analysis-parameters-form.js +19 -14
- package/dist/components/parameters/security-analysis/security-analysis-parameters-inline.js +17 -13
- package/dist/components/parameters/security-analysis/security-analysis-parameters-selector.js +15 -11
- package/dist/components/parameters/security-analysis/security-analysis-violations-hiding.js +19 -15
- package/dist/components/parameters/security-analysis/use-security-analysis-parameters-form.js +15 -11
- package/dist/components/parameters/sensi/columns-definitions.js +15 -11
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-dialog.js +16 -12
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-form.js +19 -15
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-inline.js +17 -13
- package/dist/components/parameters/sensi/sensitivity-parameters-fields.js +19 -13
- package/dist/components/parameters/sensi/sensitivity-parameters-selector.js +15 -10
- package/dist/components/parameters/sensi/use-sensitivity-analysis-parameters.js +14 -9
- package/dist/components/parameters/sensi/utils.d.ts +1 -1
- package/dist/components/parameters/sensi/utils.js +16 -12
- package/dist/components/parameters/short-circuit/short-circuit-general-tab-panel.js +21 -17
- package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table-cell.js +23 -16
- package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table-row.js +1 -1
- package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table.js +1 -1
- package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-cell.js +21 -15
- package/dist/components/parameters/short-circuit/short-circuit-icc-material-table.js +1 -1
- package/dist/components/parameters/short-circuit/short-circuit-parameters-content.js +15 -11
- package/dist/components/parameters/short-circuit/short-circuit-parameters-dialog.js +16 -12
- package/dist/components/parameters/short-circuit/short-circuit-parameters-form.js +18 -12
- package/dist/components/parameters/short-circuit/short-circuit-parameters-inline.js +17 -13
- package/dist/components/parameters/short-circuit/short-circuit-parameters-utils.js +16 -12
- package/dist/components/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +17 -13
- package/dist/components/parameters/short-circuit/short-circuit-study-area-tab-panel.js +20 -16
- package/dist/components/parameters/short-circuit/use-short-circuit-parameters-form.js +20 -16
- package/dist/components/parameters/voltage-init/equipment-selection-parameters.js +19 -15
- package/dist/components/parameters/voltage-init/general-parameters.js +15 -11
- package/dist/components/parameters/voltage-init/use-voltage-init-parameters-form.js +20 -15
- package/dist/components/parameters/voltage-init/voltage-init-form-utils.js +20 -15
- package/dist/components/parameters/voltage-init/voltage-init-parameters-dialog.js +16 -11
- package/dist/components/parameters/voltage-init/voltage-init-parameters-form.js +18 -14
- package/dist/components/parameters/voltage-init/voltage-init-parameters-inline.js +17 -13
- package/dist/components/parameters/voltage-init/voltage-limits-parameters.js +15 -10
- package/dist/components/topBar/AboutDialog.js +1 -1
- package/dist/components/topBar/TopBar.d.ts +3 -3
- package/dist/components/topBar/TopBar.js +11 -11
- package/dist/components/topBar/UserInformationDialog.d.ts +3 -3
- package/dist/components/topBar/UserInformationDialog.js +10 -7
- package/dist/components/treeViewFinder/TreeViewFinder.js +1 -1
- package/dist/components/{announcement → ui/announcement}/AnnouncementBanner.d.ts +4 -4
- package/dist/components/{announcement → ui/announcement}/AnnouncementBanner.js +4 -4
- package/dist/components/ui/announcement/AnnouncementNotification.d.ts +7 -0
- package/dist/components/{announcement → ui/announcement}/AnnouncementNotification.js +13 -3
- package/dist/components/ui/announcement/useGlobalAnnouncement.d.ts +10 -0
- package/dist/components/{announcement → ui/announcement}/useGlobalAnnouncement.js +6 -6
- package/dist/components/{checkBoxList → ui/checkBoxList}/CheckBoxListItem.js +4 -4
- package/dist/components/{checkBoxList → ui/checkBoxList}/CheckBoxListItemContent.js +4 -4
- package/dist/components/{checkBoxList → ui/checkBoxList}/DraggableCheckBoxListItem.js +4 -4
- package/dist/components/{checkBoxList → ui/checkBoxList}/DraggableCheckBoxListItemContent.js +4 -4
- package/dist/components/{checkBoxList → ui/checkBoxList}/checkBoxList.type.d.ts +1 -1
- package/dist/components/{csvDownloader → ui/csvDownloader}/csv-export.type.d.ts +1 -1
- package/dist/components/{csvDownloader → ui/csvDownloader}/use-csv-export.js +5 -5
- package/dist/components/{dialogs → ui/dialogs}/customMuiDialog/CustomMuiDialog.d.ts +1 -1
- package/dist/components/{dialogs → ui/dialogs}/customMuiDialog/CustomMuiDialog.js +3 -3
- package/dist/components/{dialogs → ui/dialogs}/descriptionModificationDialog/DescriptionModificationDialog.js +6 -6
- package/dist/components/{dialogs → ui/dialogs}/elementSaveDialog/ElementSaveDialog.d.ts +1 -1
- package/dist/components/{dialogs → ui/dialogs}/elementSaveDialog/ElementSaveDialog.js +16 -22
- package/dist/components/{dialogs → ui/dialogs}/elementSaveDialog/utils.d.ts +1 -1
- package/dist/components/{dialogs → ui/dialogs}/elementSaveDialog/utils.js +1 -1
- package/dist/components/{dialogs → ui/dialogs}/index.d.ts +1 -0
- package/dist/components/{dialogs → ui/dialogs}/index.js +2 -0
- package/dist/components/{dialogs → ui/dialogs}/modifyElementSelection/ModifyElementSelection.d.ts +1 -1
- package/dist/components/{dialogs → ui/dialogs}/modifyElementSelection/ModifyElementSelection.js +7 -7
- package/dist/components/{multipleSelectionDialog → ui/dialogs/multipleSelectionDialog}/MultipleSelectionDialog.d.ts +1 -1
- package/dist/components/{multipleSelectionDialog → ui/dialogs/multipleSelectionDialog}/MultipleSelectionDialog.js +1 -1
- package/dist/components/{dialogs → ui/dialogs}/popupConfirmationDialog/PopupConfirmationDialog.js +1 -1
- package/dist/components/ui/index.d.ts +20 -0
- package/dist/components/{inputs → ui}/index.js +56 -2
- package/dist/components/{inputs → ui/inputs}/SelectClearable.js +1 -1
- package/dist/components/{inputs → ui/inputs}/index.d.ts +0 -2
- package/dist/components/ui/inputs/index.js +6 -0
- package/dist/components/{menus → ui/menus}/custom-nested-menu.d.ts +1 -1
- package/dist/components/{menus → ui/menus}/custom-nested-menu.js +1 -1
- package/dist/components/{overflowableText → ui/overflowableText}/OverflowableText.d.ts +1 -1
- package/dist/components/{overflowableText → ui/overflowableText}/OverflowableText.js +4 -4
- package/dist/components/{inputs → ui}/reactHookForm/DirectoryItemsInput.js +1 -1
- package/dist/components/{inputs → ui}/reactHookForm/OverflowableChip.js +1 -1
- package/dist/components/{inputs → ui}/reactHookForm/agGridTable/BottomRightButtons.js +1 -1
- package/dist/components/{inputs → ui}/reactHookForm/chip-items-input.js +1 -1
- package/dist/components/{inputs → ui}/reactHookForm/expandableInput/DeletableRow.js +1 -1
- package/dist/components/{inputs → ui}/reactHookForm/expandableInput/ExpandableInput.js +1 -1
- package/dist/components/{inputs → ui}/reactHookForm/selectInputs/InputWithPopupConfirmation.js +1 -1
- package/dist/components/{inputs → ui}/reactHookForm/selectInputs/SelectWithConfirmationInput.js +1 -1
- package/dist/components/{inputs → ui}/reactHookForm/text/DescriptionField.js +1 -1
- package/dist/components/{inputs → ui}/reactHookForm/text/DescriptionInput.js +3 -3
- package/dist/components/{inputs → ui}/reactHookForm/utils/HelperPreviousValue.js +1 -1
- package/dist/components/{inputs → ui}/reactQueryBuilder/CombinatorSelector.js +1 -1
- package/dist/index.js +116 -95
- package/dist/services/index.js +4 -1
- package/dist/services/networkModification.d.ts +8 -1
- package/dist/services/networkModification.js +45 -1
- package/dist/translations/en/filterEn.d.ts +0 -1
- package/dist/translations/en/filterEn.js +0 -1
- package/dist/translations/en/filterExpertEn.d.ts +0 -2
- package/dist/translations/en/filterExpertEn.js +0 -2
- package/dist/translations/en/networkModificationsEn.d.ts +1 -0
- package/dist/translations/en/networkModificationsEn.js +4 -3
- package/dist/translations/fr/filterExpertFr.d.ts +0 -2
- package/dist/translations/fr/filterExpertFr.js +0 -2
- package/dist/translations/fr/filterFr.d.ts +0 -1
- package/dist/translations/fr/filterFr.js +0 -1
- package/dist/translations/fr/networkModificationsFr.d.ts +1 -0
- package/dist/translations/fr/networkModificationsFr.js +4 -3
- package/dist/utils/constants/index.js +2 -1
- package/dist/utils/constants/translationKeys.d.ts +1 -0
- package/dist/utils/constants/translationKeys.js +2 -0
- package/dist/utils/index.js +4 -2
- package/dist/utils/types/equipmentTypes.d.ts +1 -0
- package/dist/utils/types/equipmentTypes.js +5 -1
- package/dist/utils/types/index.js +2 -1
- package/dist/utils/types/network-modification-types.d.ts +6 -0
- package/package.json +1 -1
- package/dist/components/announcement/AnnouncementNotification.d.ts +0 -7
- package/dist/components/announcement/useGlobalAnnouncement.d.ts +0 -10
- /package/dist/components/{addButton → ui/addButton}/AddButton.d.ts +0 -0
- /package/dist/components/{addButton → ui/addButton}/AddButton.js +0 -0
- /package/dist/components/{addButton → ui/addButton}/index.d.ts +0 -0
- /package/dist/components/{addButton → ui/addButton}/index.js +0 -0
- /package/dist/components/{announcement → ui/announcement}/index.d.ts +0 -0
- /package/dist/components/{announcement → ui/announcement}/index.js +0 -0
- /package/dist/components/{checkBoxList → ui/checkBoxList}/CheckBoxList.d.ts +0 -0
- /package/dist/components/{checkBoxList → ui/checkBoxList}/CheckBoxList.js +0 -0
- /package/dist/components/{checkBoxList → ui/checkBoxList}/CheckBoxListItem.d.ts +0 -0
- /package/dist/components/{checkBoxList → ui/checkBoxList}/CheckBoxListItemContent.d.ts +0 -0
- /package/dist/components/{checkBoxList → ui/checkBoxList}/CheckBoxListItems.d.ts +0 -0
- /package/dist/components/{checkBoxList → ui/checkBoxList}/CheckBoxListItems.js +0 -0
- /package/dist/components/{checkBoxList → ui/checkBoxList}/DraggableCheckBoxListItem.d.ts +0 -0
- /package/dist/components/{checkBoxList → ui/checkBoxList}/DraggableCheckBoxListItemContent.d.ts +0 -0
- /package/dist/components/{checkBoxList → ui/checkBoxList}/checkBoxList.type.js +0 -0
- /package/dist/components/{checkBoxList → ui/checkBoxList}/index.d.ts +0 -0
- /package/dist/components/{checkBoxList → ui/checkBoxList}/index.js +0 -0
- /package/dist/components/{csvDownloader → ui/csvDownloader}/csv-export.d.ts +0 -0
- /package/dist/components/{csvDownloader → ui/csvDownloader}/csv-export.js +0 -0
- /package/dist/components/{csvDownloader → ui/csvDownloader}/csv-export.type.js +0 -0
- /package/dist/components/{csvDownloader → ui/csvDownloader}/export-csv-button.d.ts +0 -0
- /package/dist/components/{csvDownloader → ui/csvDownloader}/export-csv-button.js +0 -0
- /package/dist/components/{csvDownloader → ui/csvDownloader}/index.d.ts +0 -0
- /package/dist/components/{csvDownloader → ui/csvDownloader}/index.js +0 -0
- /package/dist/components/{csvDownloader → ui/csvDownloader}/use-csv-export.d.ts +0 -0
- /package/dist/components/{dialogs → ui/dialogs}/descriptionModificationDialog/DescriptionModificationDialog.d.ts +0 -0
- /package/dist/components/{dialogs → ui/dialogs}/descriptionModificationDialog/index.d.ts +0 -0
- /package/dist/components/{dialogs → ui/dialogs}/descriptionModificationDialog/index.js +0 -0
- /package/dist/components/{dialogs → ui/dialogs}/elementSaveDialog/index.d.ts +0 -0
- /package/dist/components/{dialogs → ui/dialogs}/elementSaveDialog/index.js +0 -0
- /package/dist/components/{dialogs → ui/dialogs}/modifyElementSelection/index.d.ts +0 -0
- /package/dist/components/{dialogs → ui/dialogs}/modifyElementSelection/index.js +0 -0
- /package/dist/components/{multipleSelectionDialog → ui/dialogs/multipleSelectionDialog}/index.d.ts +0 -0
- /package/dist/components/{multipleSelectionDialog → ui/dialogs/multipleSelectionDialog}/index.js +0 -0
- /package/dist/components/{dialogs → ui/dialogs}/popupConfirmationDialog/PopupConfirmationDialog.d.ts +0 -0
- /package/dist/components/{dialogs → ui/dialogs}/popupConfirmationDialog/index.d.ts +0 -0
- /package/dist/components/{dialogs → ui/dialogs}/popupConfirmationDialog/index.js +0 -0
- /package/dist/components/{expandableGroup → ui/expandableGroup}/ExpandableGroup.d.ts +0 -0
- /package/dist/components/{expandableGroup → ui/expandableGroup}/ExpandableGroup.js +0 -0
- /package/dist/components/{expandableGroup → ui/expandableGroup}/index.d.ts +0 -0
- /package/dist/components/{expandableGroup → ui/expandableGroup}/index.js +0 -0
- /package/dist/components/{icons → ui/icons}/ArrowsInputIcon.d.ts +0 -0
- /package/dist/components/{icons → ui/icons}/ArrowsInputIcon.js +0 -0
- /package/dist/components/{icons → ui/icons}/ArrowsOutputIcon.d.ts +0 -0
- /package/dist/components/{icons → ui/icons}/ArrowsOutputIcon.js +0 -0
- /package/dist/components/{icons → ui/icons}/EditNoteIcon.d.ts +0 -0
- /package/dist/components/{icons → ui/icons}/EditNoteIcon.js +0 -0
- /package/dist/components/{icons → ui/icons}/LeftPanelCloseIcon.d.ts +0 -0
- /package/dist/components/{icons → ui/icons}/LeftPanelCloseIcon.js +0 -0
- /package/dist/components/{icons → ui/icons}/LeftPanelOpenIcon.d.ts +0 -0
- /package/dist/components/{icons → ui/icons}/LeftPanelOpenIcon.js +0 -0
- /package/dist/components/{icons → ui/icons}/index.d.ts +0 -0
- /package/dist/components/{icons → ui/icons}/index.js +0 -0
- /package/dist/components/{inputs → ui/inputs}/ActivableChip.d.ts +0 -0
- /package/dist/components/{inputs → ui/inputs}/ActivableChip.js +0 -0
- /package/dist/components/{inputs → ui/inputs}/SelectClearable.d.ts +0 -0
- /package/dist/components/{inputs → ui/inputs}/checkbox-autocomplete/checkbox-autocomplete.d.ts +0 -0
- /package/dist/components/{inputs → ui/inputs}/checkbox-autocomplete/checkbox-autocomplete.js +0 -0
- /package/dist/components/{inputs → ui/inputs}/checkbox-autocomplete/checkbox-item.d.ts +0 -0
- /package/dist/components/{inputs → ui/inputs}/checkbox-autocomplete/checkbox-item.js +0 -0
- /package/dist/components/{inputs → ui/inputs}/checkbox-autocomplete/index.d.ts +0 -0
- /package/dist/components/{inputs → ui/inputs}/checkbox-autocomplete/index.js +0 -0
- /package/dist/components/{inputs → ui/inputs}/checkbox-autocomplete/virtualized-list-item.d.ts +0 -0
- /package/dist/components/{inputs → ui/inputs}/checkbox-autocomplete/virtualized-list-item.js +0 -0
- /package/dist/components/{inputs → ui/inputs}/checkbox-autocomplete/virtualized-list.d.ts +0 -0
- /package/dist/components/{inputs → ui/inputs}/checkbox-autocomplete/virtualized-list.js +0 -0
- /package/dist/components/{menus → ui/menus}/index.d.ts +0 -0
- /package/dist/components/{menus → ui/menus}/index.js +0 -0
- /package/dist/components/{overflowableText → ui/overflowableText}/index.d.ts +0 -0
- /package/dist/components/{overflowableText → ui/overflowableText}/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/CheckboxNullableInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/CheckboxNullableInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/CountrySelectionInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/CountrySelectionInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/DirectoryItemsInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/OverflowableChip.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/OverflowableChipWithHelperText.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/OverflowableChipWithHelperText.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/RawReadOnlyInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/RawReadOnlyInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/BottomRightButtons.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/CustomAgGridTable.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/CustomAgGridTable.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/cellEditors/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/cellEditors/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/cellEditors/numericEditor.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/cellEditors/numericEditor.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/csvUploader/CsvUploader.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/csvUploader/CsvUploader.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/csvUploader/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/csvUploader/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/agGridTable/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/autocompleteInputs/AutocompleteInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/autocompleteInputs/AutocompleteInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/autocompleteInputs/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/autocompleteInputs/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/booleans/BooleanInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/booleans/BooleanInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/booleans/CheckboxInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/booleans/CheckboxInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/booleans/RadioInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/booleans/RadioInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/booleans/SwitchInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/booleans/SwitchInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/booleans/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/booleans/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/chip-items-input.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/constants.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/constants.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/errorManagement/ErrorInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/errorManagement/ErrorInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/errorManagement/FieldErrorAlert.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/errorManagement/FieldErrorAlert.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/errorManagement/MidFormError.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/errorManagement/MidFormError.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/errorManagement/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/errorManagement/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/expandableInput/DeletableRow.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/expandableInput/ExpandableInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/expandableInput/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/expandableInput/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/FloatInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/FloatInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/IntegerInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/IntegerInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/RangeInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/RangeInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/SliderInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/SliderInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/utils.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/numbers/utils.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/provider/CustomFormProvider.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/provider/CustomFormProvider.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/provider/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/provider/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/provider/useCustomFormContext.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/provider/useCustomFormContext.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/readOnly/ButtonReadOnlyInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/readOnly/ButtonReadOnlyInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/readOnly/ReadOnlyInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/readOnly/ReadOnlyInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/readOnly/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/readOnly/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/CountriesInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/CountriesInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/EnumInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/EnumInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/MuiSelectInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/MuiSelectInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/SelectInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/SelectInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/SelectWithConfirmationInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/selectInputs/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/tableInputs/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/tableInputs/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/tableInputs/table-numerical-input.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/tableInputs/table-numerical-input.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/tableInputs/table-text-input.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/tableInputs/table-text-input.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/text/DescriptionField.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/text/DescriptionInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/text/ExpandingTextField.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/text/ExpandingTextField.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/text/TextInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/text/TextInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/text/UniqueNameInput.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/text/UniqueNameInput.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/text/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/text/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/CancelButton.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/CancelButton.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/FieldLabel.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/FieldLabel.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/HelperPreviousValue.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/SubmitButton.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/SubmitButton.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/TextFieldWithAdornment.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/TextFieldWithAdornment.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/functions.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/functions.js +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactHookForm/utils/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/AddButton.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/AddButton.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/AutocompleteWithFavorites.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/AutocompleteWithFavorites.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/CombinatorSelector.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/CountryValueEditor.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/CountryValueEditor.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/CustomReactQueryBuilder.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/CustomReactQueryBuilder.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/ElementValueEditor.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/ElementValueEditor.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/FieldSelector.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/FieldSelector.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/OperatorSelector.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/OperatorSelector.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/PropertyValueEditor.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/PropertyValueEditor.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/RemoveButton.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/RemoveButton.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/TextValueEditor.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/TextValueEditor.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/TranslatedValueEditor.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/TranslatedValueEditor.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/ValueEditor.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/ValueEditor.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/ValueSelector.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/ValueSelector.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/compositeRuleEditor/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/compositeRuleEditor/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/hooks/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/hooks/index.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/hooks/useConvertValue.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/hooks/useConvertValue.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/hooks/useValid.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/hooks/useValid.js +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/index.d.ts +0 -0
- /package/dist/components/{inputs → ui}/reactQueryBuilder/index.js +0 -0
- /package/dist/components/{resizablePanels → ui/resizablePanels}/ResizeHandle.d.ts +0 -0
- /package/dist/components/{resizablePanels → ui/resizablePanels}/ResizeHandle.js +0 -0
- /package/dist/components/{resizablePanels → ui/resizablePanels}/index.d.ts +0 -0
- /package/dist/components/{resizablePanels → ui/resizablePanels}/index.js +0 -0
- /package/dist/components/{snackbarProvider → ui/snackbarProvider}/SnackbarProvider.d.ts +0 -0
- /package/dist/components/{snackbarProvider → ui/snackbarProvider}/SnackbarProvider.js +0 -0
- /package/dist/components/{snackbarProvider → ui/snackbarProvider}/index.d.ts +0 -0
- /package/dist/components/{snackbarProvider → ui/snackbarProvider}/index.js +0 -0
- /package/dist/components/{tooltip → ui/tooltip}/CustomTooltip.d.ts +0 -0
- /package/dist/components/{tooltip → ui/tooltip}/CustomTooltip.js +0 -0
- /package/dist/components/{tooltip → ui/tooltip}/index.d.ts +0 -0
- /package/dist/components/{tooltip → ui/tooltip}/index.js +0 -0
|
@@ -14,38 +14,43 @@ import "localized-countries";
|
|
|
14
14
|
import "localized-countries/data/fr";
|
|
15
15
|
import "localized-countries/data/en";
|
|
16
16
|
import { useSnackMessage } from "../../../hooks/useSnackMessage.js";
|
|
17
|
-
import "
|
|
17
|
+
import "uuid";
|
|
18
|
+
import "../../notifications/contexts/NotificationsContext.js";
|
|
19
|
+
import "../../ui/overflowableText/OverflowableText.js";
|
|
18
20
|
import "react-hook-form";
|
|
19
|
-
import "../../
|
|
20
|
-
import { SubmitButton } from "../../
|
|
21
|
+
import "../../ui/reactHookForm/provider/CustomFormProvider.js";
|
|
22
|
+
import { SubmitButton } from "../../ui/reactHookForm/utils/SubmitButton.js";
|
|
21
23
|
import "yup";
|
|
22
24
|
import { DirectoryItemSelector } from "../../directoryItemSelector/DirectoryItemSelector.js";
|
|
23
|
-
import "../../
|
|
25
|
+
import "../../ui/reactHookForm/agGridTable/BottomRightButtons.js";
|
|
24
26
|
import "../../customAGGrid/customAggrid.js";
|
|
25
27
|
import "ag-grid-community";
|
|
26
28
|
import "react-papaparse";
|
|
27
29
|
import "react-csv-downloader";
|
|
28
|
-
import "../../
|
|
29
|
-
import { PopupConfirmationDialog } from "../../dialogs/popupConfirmationDialog/PopupConfirmationDialog.js";
|
|
30
|
+
import "../../ui/reactHookForm/numbers/RangeInput.js";
|
|
31
|
+
import { PopupConfirmationDialog } from "../../ui/dialogs/popupConfirmationDialog/PopupConfirmationDialog.js";
|
|
30
32
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
31
33
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
32
34
|
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
33
35
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
34
36
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
35
|
-
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
36
|
-
import "../../
|
|
37
|
+
import "../../ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
38
|
+
import "../../ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
37
39
|
import "@react-querybuilder/material";
|
|
38
40
|
import "../../filter/expert/expertFilterConstants.js";
|
|
39
|
-
import "../../
|
|
40
|
-
import "
|
|
41
|
-
import "../../inputs/reactQueryBuilder/PropertyValueEditor.js";
|
|
41
|
+
import "../../ui/reactQueryBuilder/CustomReactQueryBuilder.js";
|
|
42
|
+
import "../../ui/reactQueryBuilder/PropertyValueEditor.js";
|
|
42
43
|
import "react-querybuilder";
|
|
44
|
+
import "@hello-pangea/dnd";
|
|
45
|
+
import "../../ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
46
|
+
import "../../ui/snackbarProvider/SnackbarProvider.js";
|
|
47
|
+
import "mui-nested-menu";
|
|
48
|
+
import "react-resizable-panels";
|
|
43
49
|
import { LabelledButton } from "../common/parameters.js";
|
|
44
50
|
import { CreateParameterDialog } from "../common/parameters-creation-dialog.js";
|
|
45
51
|
import "../common/widget/parameter-line-slider.js";
|
|
46
52
|
import "../common/limitreductions/columns-definitions.js";
|
|
47
53
|
import "react-dom";
|
|
48
|
-
import "@hello-pangea/dnd";
|
|
49
54
|
import "../common/contingency-table/columns-definitions.js";
|
|
50
55
|
import "@hookform/resolvers/yup";
|
|
51
56
|
import "../../filter/HeaderFilterForm.js";
|
|
@@ -53,7 +58,6 @@ import { useVoltageInitParametersForm } from "./use-voltage-init-parameters-form
|
|
|
53
58
|
import { VoltageInitParametersForm } from "./voltage-init-parameters-form.js";
|
|
54
59
|
import { fromVoltageInitParamsDataToFormValues, fromVoltageInitParametersFormToParamValues } from "./voltage-init-form-utils.js";
|
|
55
60
|
import { DEFAULT_GENERAL_APPLY_MODIFICATIONS } from "./constants.js";
|
|
56
|
-
import "../../dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
57
61
|
function VoltageInitParametersInLine({
|
|
58
62
|
studyUuid,
|
|
59
63
|
setHaveDirtyFields,
|
|
@@ -3,7 +3,7 @@ import { useMemo } from "react";
|
|
|
3
3
|
import { Info } from "@mui/icons-material";
|
|
4
4
|
import { Grid } from "@mui/material";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
|
-
import { CustomTooltip } from "../../tooltip/CustomTooltip.js";
|
|
6
|
+
import { CustomTooltip } from "../../ui/tooltip/CustomTooltip.js";
|
|
7
7
|
import { LOW_VOLTAGE_LIMIT, HIGH_VOLTAGE_LIMIT, VOLTAGE_LIMITS_MODIFICATION, VOLTAGE_LIMITS_DEFAULT } from "./constants.js";
|
|
8
8
|
import { VoltageAdornment } from "../../../utils/constants/adornments.js";
|
|
9
9
|
import { FILTERS } from "../../../utils/constants/filterConstant.js";
|
|
@@ -15,33 +15,38 @@ import "react-dom";
|
|
|
15
15
|
import "react-hook-form";
|
|
16
16
|
import "@hello-pangea/dnd";
|
|
17
17
|
import { DndColumnType, SELECTED } from "../../dnd-table-v2/dnd-table.type.js";
|
|
18
|
-
import "
|
|
18
|
+
import "uuid";
|
|
19
|
+
import "../../notifications/contexts/NotificationsContext.js";
|
|
20
|
+
import "../../ui/overflowableText/OverflowableText.js";
|
|
19
21
|
import "localized-countries";
|
|
20
22
|
import "localized-countries/data/fr";
|
|
21
23
|
import "localized-countries/data/en";
|
|
22
24
|
import "notistack";
|
|
23
|
-
import "../../
|
|
25
|
+
import "../../ui/reactHookForm/provider/CustomFormProvider.js";
|
|
24
26
|
import "yup";
|
|
25
27
|
import "../../treeViewFinder/TreeViewFinder.js";
|
|
26
|
-
import "../../
|
|
28
|
+
import "../../ui/reactHookForm/agGridTable/BottomRightButtons.js";
|
|
27
29
|
import "../../customAGGrid/customAggrid.js";
|
|
28
30
|
import "ag-grid-community";
|
|
29
31
|
import "react-papaparse";
|
|
30
32
|
import "react-csv-downloader";
|
|
31
|
-
import "../../
|
|
33
|
+
import "../../ui/reactHookForm/numbers/RangeInput.js";
|
|
32
34
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
33
35
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
34
36
|
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
35
37
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
36
38
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
37
|
-
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
38
|
-
import "../../
|
|
39
|
+
import "../../ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
40
|
+
import "../../ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
39
41
|
import "@react-querybuilder/material";
|
|
40
42
|
import "../../filter/expert/expertFilterConstants.js";
|
|
41
|
-
import "../../
|
|
42
|
-
import "
|
|
43
|
-
import "../../inputs/reactQueryBuilder/PropertyValueEditor.js";
|
|
43
|
+
import "../../ui/reactQueryBuilder/CustomReactQueryBuilder.js";
|
|
44
|
+
import "../../ui/reactQueryBuilder/PropertyValueEditor.js";
|
|
44
45
|
import "react-querybuilder";
|
|
46
|
+
import "../../ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
47
|
+
import "../../ui/snackbarProvider/SnackbarProvider.js";
|
|
48
|
+
import "mui-nested-menu";
|
|
49
|
+
import "react-resizable-panels";
|
|
45
50
|
import { ParameterTableField } from "../common/parameter-table-field/parameter-table-field.js";
|
|
46
51
|
function VoltageLimitsParameters() {
|
|
47
52
|
const intl = useIntl();
|
|
@@ -4,7 +4,7 @@ import { useTheme, Dialog, useMediaQuery, DialogTitle, Collapse, Alert, Box, Fad
|
|
|
4
4
|
import { LoadingButton } from "@mui/lab";
|
|
5
5
|
import { Refresh, Gavel, ExpandMore, Apps, QuestionMark, DnsOutlined, WidgetsOutlined } from "@mui/icons-material";
|
|
6
6
|
import { FormattedMessage } from "react-intl";
|
|
7
|
-
import { CustomTooltip } from "../tooltip/CustomTooltip.js";
|
|
7
|
+
import { CustomTooltip } from "../ui/tooltip/CustomTooltip.js";
|
|
8
8
|
import { LogoText } from "./GridLogo.js";
|
|
9
9
|
import { mergeSx } from "../../utils/styles.js";
|
|
10
10
|
const styles = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { UserProfile } from 'oidc-client-ts';
|
|
3
3
|
import { GridLogoProps } from './GridLogo';
|
|
4
4
|
import { AboutDialogProps } from './AboutDialog';
|
|
5
5
|
import { LogoutProps } from '../authentication/Logout';
|
|
@@ -8,7 +8,7 @@ import { GsTheme } from '../../utils/styles';
|
|
|
8
8
|
import { GsLang } from '../../utils/langs';
|
|
9
9
|
export type TopBarProps = Omit<GridLogoProps, 'onClick'> & Omit<LogoutProps, 'disabled'> & Omit<AboutDialogProps, 'open' | 'onClose'> & {
|
|
10
10
|
onLogoClick: GridLogoProps['onClick'];
|
|
11
|
-
|
|
11
|
+
userProfile?: UserProfile;
|
|
12
12
|
onAboutClick?: () => void;
|
|
13
13
|
logoAboutDialog?: ReactNode;
|
|
14
14
|
appsAndUrls: Metadata[];
|
|
@@ -22,4 +22,4 @@ export type TopBarProps = Omit<GridLogoProps, 'onClick'> & Omit<LogoutProps, 'di
|
|
|
22
22
|
onDeveloperModeClick?: (value: boolean) => void;
|
|
23
23
|
dense?: boolean;
|
|
24
24
|
};
|
|
25
|
-
export declare function TopBar({ appName, appColor, appLogo, appVersion, appLicense, logoAboutDialog, onLogoutClick, onLogoClick,
|
|
25
|
+
export declare function TopBar({ appName, appColor, appLogo, appVersion, appLicense, logoAboutDialog, onLogoutClick, onLogoClick, userProfile, children, appsAndUrls, onAboutClick, globalVersionPromise, additionalModulesPromise, onThemeClick, theme, developerMode, onDeveloperModeClick, onEquipmentLabellingClick, equipmentLabelling, onLanguageClick, language, dense, }: PropsWithChildren<TopBarProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -131,7 +131,7 @@ function TopBar({
|
|
|
131
131
|
logoAboutDialog,
|
|
132
132
|
onLogoutClick,
|
|
133
133
|
onLogoClick,
|
|
134
|
-
|
|
134
|
+
userProfile,
|
|
135
135
|
children,
|
|
136
136
|
appsAndUrls,
|
|
137
137
|
onAboutClick,
|
|
@@ -216,11 +216,11 @@ function TopBar({
|
|
|
216
216
|
[onLogoClick, appLogo, appName, appColor, dense]
|
|
217
217
|
);
|
|
218
218
|
return /* @__PURE__ */ jsxs(AppBar, { position: "static", color: "default", children: [
|
|
219
|
-
|
|
219
|
+
userProfile && developerMode && /* @__PURE__ */ jsx(DevModeBanner, {}),
|
|
220
220
|
/* @__PURE__ */ jsxs(Toolbar, { variant: dense ? "dense" : "regular", sx: styles.toolbar, children: [
|
|
221
221
|
logoClickable,
|
|
222
222
|
/* @__PURE__ */ jsx(Box, { sx: styles.grow, children }),
|
|
223
|
-
|
|
223
|
+
userProfile && !dense && /* @__PURE__ */ jsxs(Box, { children: [
|
|
224
224
|
/* @__PURE__ */ jsx(
|
|
225
225
|
IconButton,
|
|
226
226
|
{
|
|
@@ -276,7 +276,7 @@ function TopBar({
|
|
|
276
276
|
}
|
|
277
277
|
)
|
|
278
278
|
] }),
|
|
279
|
-
|
|
279
|
+
userProfile && /* @__PURE__ */ jsxs(Box, { sx: styles.menuContainer, children: [
|
|
280
280
|
/* @__PURE__ */ jsxs(
|
|
281
281
|
Button,
|
|
282
282
|
{
|
|
@@ -288,7 +288,7 @@ function TopBar({
|
|
|
288
288
|
style: anchorElSettingsMenu ? { cursor: "initial" } : { cursor: "pointer" },
|
|
289
289
|
"data-testid": "SettingsMenu",
|
|
290
290
|
children: [
|
|
291
|
-
/* @__PURE__ */ jsx(Box, { component: "span", sx: styles.name, children:
|
|
291
|
+
/* @__PURE__ */ jsx(Box, { component: "span", sx: styles.name, children: userProfile.name !== void 0 ? abbreviationFromUserName(userProfile.name) : "" }),
|
|
292
292
|
!dense && (anchorElSettingsMenu ? /* @__PURE__ */ jsx(ArrowDropUp, { sx: styles.arrowIcon }) : /* @__PURE__ */ jsx(ArrowDropDown, { sx: styles.arrowIcon }))
|
|
293
293
|
]
|
|
294
294
|
}
|
|
@@ -303,10 +303,10 @@ function TopBar({
|
|
|
303
303
|
/* @__PURE__ */ jsxs(StyledMenuItem, { sx: styles.borderBottom, disabled: true, style: { opacity: "1" }, children: [
|
|
304
304
|
/* @__PURE__ */ jsx(CustomListItemIcon, { children: /* @__PURE__ */ jsx(Person, { fontSize: "small" }) }),
|
|
305
305
|
/* @__PURE__ */ jsx(ListItemText, { children: /* @__PURE__ */ jsxs(Box, { component: "span", sx: styles.sizeLabel, children: [
|
|
306
|
-
|
|
306
|
+
userProfile.name,
|
|
307
307
|
" ",
|
|
308
308
|
/* @__PURE__ */ jsx("br", {}),
|
|
309
|
-
/* @__PURE__ */ jsx(Box, { component: "span", sx: styles.userMail, children:
|
|
309
|
+
/* @__PURE__ */ jsx(Box, { component: "span", sx: styles.userMail, children: userProfile.email })
|
|
310
310
|
] }) })
|
|
311
311
|
] }),
|
|
312
312
|
!isHiddenUserInformation() && /* @__PURE__ */ jsxs(
|
|
@@ -502,15 +502,15 @@ function TopBar({
|
|
|
502
502
|
/* @__PURE__ */ jsx(
|
|
503
503
|
UserInformationDialog,
|
|
504
504
|
{
|
|
505
|
-
openDialog: userInformationDialogOpen && !!
|
|
506
|
-
|
|
505
|
+
openDialog: userInformationDialogOpen && !!userProfile,
|
|
506
|
+
userProfile,
|
|
507
507
|
onClose: closeUserInformationDialog
|
|
508
508
|
}
|
|
509
509
|
),
|
|
510
510
|
/* @__PURE__ */ jsx(
|
|
511
511
|
UserSettingsDialog,
|
|
512
512
|
{
|
|
513
|
-
openDialog: userSettingsDialogOpen && !!
|
|
513
|
+
openDialog: userSettingsDialogOpen && !!userProfile,
|
|
514
514
|
onClose: closeUserSettingsDialog,
|
|
515
515
|
developerMode,
|
|
516
516
|
onDeveloperModeClick
|
|
@@ -519,7 +519,7 @@ function TopBar({
|
|
|
519
519
|
/* @__PURE__ */ jsx(
|
|
520
520
|
AboutDialog,
|
|
521
521
|
{
|
|
522
|
-
open: isAboutDialogOpen && !!
|
|
522
|
+
open: isAboutDialogOpen && !!userProfile,
|
|
523
523
|
onClose: () => setAboutDialogOpen(false),
|
|
524
524
|
appName,
|
|
525
525
|
appVersion,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UserProfile } from 'oidc-client-ts';
|
|
2
2
|
interface UserInformationDialogProps {
|
|
3
3
|
openDialog: boolean;
|
|
4
4
|
onClose: () => void;
|
|
5
|
-
|
|
5
|
+
userProfile: UserProfile | undefined;
|
|
6
6
|
}
|
|
7
|
-
declare function UserInformationDialog({ openDialog,
|
|
7
|
+
declare function UserInformationDialog({ openDialog, userProfile, onClose }: UserInformationDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default UserInformationDialog;
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Dialog, DialogTitle, DialogContent, Grid, Typography, Box, DialogActions } from "@mui/material";
|
|
3
3
|
import { FormattedMessage } from "react-intl";
|
|
4
4
|
import { useState, useEffect, Fragment } from "react";
|
|
5
|
-
import { CancelButton } from "../
|
|
5
|
+
import { CancelButton } from "../ui/reactHookForm/utils/CancelButton.js";
|
|
6
6
|
import { fetchUserDetails } from "../../services/userAdmin.js";
|
|
7
7
|
const styles = {
|
|
8
8
|
DialogTitle: { fontSize: "1.5rem" },
|
|
@@ -11,9 +11,10 @@ const styles = {
|
|
|
11
11
|
quotasTopography: { marginTop: "30px", marginBottom: "25px", fontSize: "1.15rem" },
|
|
12
12
|
usedTopography: { marginLeft: "15%" }
|
|
13
13
|
};
|
|
14
|
-
function UserInformationDialog({ openDialog,
|
|
14
|
+
function UserInformationDialog({ openDialog, userProfile, onClose }) {
|
|
15
15
|
const [userDetails, setUserDetails] = useState(void 0);
|
|
16
16
|
const getUserDetails = (userName) => {
|
|
17
|
+
setUserDetails(void 0);
|
|
17
18
|
fetchUserDetails(userName).then((response) => {
|
|
18
19
|
setUserDetails(response);
|
|
19
20
|
}).catch((error) => {
|
|
@@ -21,13 +22,15 @@ function UserInformationDialog({ openDialog, user, onClose }) {
|
|
|
21
22
|
});
|
|
22
23
|
};
|
|
23
24
|
useEffect(() => {
|
|
24
|
-
if (openDialog
|
|
25
|
-
|
|
25
|
+
if (!openDialog || !userProfile?.sub) {
|
|
26
|
+
setUserDetails(void 0);
|
|
27
|
+
return;
|
|
26
28
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
getUserDetails(userProfile.sub);
|
|
30
|
+
}, [openDialog, userProfile?.sub]);
|
|
31
|
+
const rolesString = userProfile?.profile ?? "";
|
|
29
32
|
const rolesList = rolesString ? rolesString.split("|").map((role) => role.trim()) : [];
|
|
30
|
-
return /* @__PURE__ */ jsxs(Dialog, { open: openDialog && !!
|
|
33
|
+
return /* @__PURE__ */ jsxs(Dialog, { open: openDialog && !!userProfile && !!userDetails, onClose, children: [
|
|
31
34
|
/* @__PURE__ */ jsx(DialogTitle, { fontWeight: "bold", sx: styles.DialogTitle, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "user-information-dialog/title" }) }),
|
|
32
35
|
/* @__PURE__ */ jsxs(DialogContent, { children: [
|
|
33
36
|
/* @__PURE__ */ jsxs(Grid, { container: true, spacing: 2, sx: styles.DialogContent, children: [
|
|
@@ -5,7 +5,7 @@ import { styled, Dialog, DialogTitle, DialogContent, DialogContentText, DialogAc
|
|
|
5
5
|
import { SimpleTreeView, TreeItem } from "@mui/x-tree-view";
|
|
6
6
|
import { ExpandMore, ChevronRight, Check } from "@mui/icons-material";
|
|
7
7
|
import { toNestedGlobalSelectors, makeComposeClasses } from "../../utils/styles.js";
|
|
8
|
-
import { CancelButton } from "../
|
|
8
|
+
import { CancelButton } from "../ui/reactHookForm/utils/CancelButton.js";
|
|
9
9
|
import { doesNodeHasChildren } from "./TreeViewUtils.js";
|
|
10
10
|
const cssDialogPaper = "dialogPaper";
|
|
11
11
|
const cssLabelRoot = "labelRoot";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { UUID } from 'node:crypto';
|
|
2
2
|
import { PropsWithChildren, ReactNode } from 'react';
|
|
3
3
|
import { AlertProps } from '@mui/material';
|
|
4
|
-
import {
|
|
5
|
-
import { AnnouncementSeverity } from '
|
|
4
|
+
import { UserProfile } from 'oidc-client-ts';
|
|
5
|
+
import { AnnouncementSeverity } from '../../../utils/types';
|
|
6
6
|
export type AnnouncementBannerProps = PropsWithChildren<{
|
|
7
|
-
|
|
7
|
+
userProfile?: UserProfile | {};
|
|
8
8
|
/** only field used to detect if msg change */
|
|
9
9
|
id?: UUID;
|
|
10
10
|
duration?: number;
|
|
@@ -12,4 +12,4 @@ export type AnnouncementBannerProps = PropsWithChildren<{
|
|
|
12
12
|
title?: ReactNode;
|
|
13
13
|
sx?: AlertProps['sx'];
|
|
14
14
|
}>;
|
|
15
|
-
export declare function AnnouncementBanner({
|
|
15
|
+
export declare function AnnouncementBanner({ userProfile, id, severity, title, children, duration, sx, }: Readonly<AnnouncementBannerProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,8 +3,8 @@ import { useState, useEffect, useCallback } from "react";
|
|
|
3
3
|
import { useTheme, Collapse, Alert, AlertTitle } from "@mui/material";
|
|
4
4
|
import { Campaign } from "@mui/icons-material";
|
|
5
5
|
import { CustomTooltip } from "../tooltip/CustomTooltip.js";
|
|
6
|
-
import "
|
|
7
|
-
import { AnnouncementSeverity } from "
|
|
6
|
+
import "../../../utils/types/equipmentType.js";
|
|
7
|
+
import { AnnouncementSeverity } from "../../../utils/types/types.js";
|
|
8
8
|
const snackbarInfo = "#2196f3";
|
|
9
9
|
const snackbarWarning = "#ff9800";
|
|
10
10
|
const styles = {
|
|
@@ -33,7 +33,7 @@ function convertSeverity(severity) {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
function AnnouncementBanner({
|
|
36
|
-
|
|
36
|
+
userProfile,
|
|
37
37
|
id,
|
|
38
38
|
severity = AnnouncementSeverity.INFO,
|
|
39
39
|
title,
|
|
@@ -65,7 +65,7 @@ function AnnouncementBanner({
|
|
|
65
65
|
[id]
|
|
66
66
|
);
|
|
67
67
|
const handleClose = useCallback(() => setVisible(false), []);
|
|
68
|
-
return /* @__PURE__ */ jsx(Collapse, { in:
|
|
68
|
+
return /* @__PURE__ */ jsx(Collapse, { in: userProfile !== void 0 && visible, unmountOnExit: true, sx, style: { margin: theme.spacing(1) }, children: /* @__PURE__ */ jsxs(
|
|
69
69
|
Alert,
|
|
70
70
|
{
|
|
71
71
|
variant: "filled",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UserProfile } from 'oidc-client-ts';
|
|
2
|
+
import { AnnouncementBannerProps } from './AnnouncementBanner';
|
|
3
|
+
export type AnnouncementNotificationProps = {
|
|
4
|
+
userProfile: UserProfile | null;
|
|
5
|
+
sx?: AnnouncementBannerProps['sx'];
|
|
6
|
+
};
|
|
7
|
+
export declare function AnnouncementNotification({ userProfile, sx }: Readonly<AnnouncementNotificationProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useGlobalAnnouncement } from "./useGlobalAnnouncement.js";
|
|
3
3
|
import { AnnouncementBanner } from "./AnnouncementBanner.js";
|
|
4
|
-
function AnnouncementNotification({
|
|
5
|
-
const { id, severity, message, duration } = useGlobalAnnouncement(
|
|
6
|
-
return /* @__PURE__ */ jsx(
|
|
4
|
+
function AnnouncementNotification({ userProfile, sx }) {
|
|
5
|
+
const { id, severity, message, duration } = useGlobalAnnouncement(userProfile) ?? {};
|
|
6
|
+
return /* @__PURE__ */ jsx(
|
|
7
|
+
AnnouncementBanner,
|
|
8
|
+
{
|
|
9
|
+
userProfile: userProfile ?? void 0,
|
|
10
|
+
id,
|
|
11
|
+
severity,
|
|
12
|
+
duration,
|
|
13
|
+
sx,
|
|
14
|
+
children: message
|
|
15
|
+
}
|
|
16
|
+
);
|
|
7
17
|
}
|
|
8
18
|
export {
|
|
9
19
|
AnnouncementNotification
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UUID } from 'node:crypto';
|
|
2
|
+
import { UserProfile } from 'oidc-client-ts';
|
|
3
|
+
import { AnnouncementSeverity } from '../../../utils/types';
|
|
4
|
+
export type AnnouncementProps = {
|
|
5
|
+
id: UUID;
|
|
6
|
+
message: string;
|
|
7
|
+
duration: number;
|
|
8
|
+
severity: AnnouncementSeverity;
|
|
9
|
+
};
|
|
10
|
+
export declare function useGlobalAnnouncement(userProfile: UserProfile | null): AnnouncementProps | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { v4 } from "uuid";
|
|
2
2
|
import { useState, useEffect, useCallback } from "react";
|
|
3
|
-
import { fetchCurrentAnnouncement } from "
|
|
4
|
-
import { NotificationsUrlKeys } from "
|
|
5
|
-
import { useNotificationsListener } from "
|
|
6
|
-
function useGlobalAnnouncement(
|
|
3
|
+
import { fetchCurrentAnnouncement } from "../../../services/userAdmin.js";
|
|
4
|
+
import { NotificationsUrlKeys } from "../../../utils/constants/notificationsProvider.js";
|
|
5
|
+
import { useNotificationsListener } from "../../notifications/hooks/useNotificationsListener.js";
|
|
6
|
+
function useGlobalAnnouncement(userProfile) {
|
|
7
7
|
const [announcementInfos, setAnnouncementInfos] = useState();
|
|
8
8
|
useEffect(() => {
|
|
9
|
-
if (
|
|
9
|
+
if (userProfile) {
|
|
10
10
|
fetchCurrentAnnouncement().then((announcementDto) => {
|
|
11
11
|
if (announcementDto) {
|
|
12
12
|
setAnnouncementInfos({
|
|
@@ -22,7 +22,7 @@ function useGlobalAnnouncement(user) {
|
|
|
22
22
|
} else {
|
|
23
23
|
setAnnouncementInfos(void 0);
|
|
24
24
|
}
|
|
25
|
-
}, [
|
|
25
|
+
}, [userProfile]);
|
|
26
26
|
const handleAnnouncementMessage = useCallback((event) => {
|
|
27
27
|
const eventData = JSON.parse(event.data);
|
|
28
28
|
if (eventData.headers.messageType === "announcement") {
|
|
@@ -2,11 +2,11 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useCallback } from "react";
|
|
3
3
|
import { ListItem, ListItemButton } from "@mui/material";
|
|
4
4
|
import { CheckBoxListItemContent } from "./CheckBoxListItemContent.js";
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
5
|
+
import "../../../utils/conversionUtils.js";
|
|
6
|
+
import "../../../utils/types/equipmentType.js";
|
|
7
7
|
import "@mui/icons-material";
|
|
8
|
-
import { mergeSx } from "
|
|
9
|
-
import "
|
|
8
|
+
import { mergeSx } from "../../../utils/styles.js";
|
|
9
|
+
import "../../../utils/yupConfig.js";
|
|
10
10
|
const styles = {
|
|
11
11
|
checkboxListItem: {
|
|
12
12
|
alignItems: "flex-start",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { ListItemIcon, Checkbox, ListItemText } from "@mui/material";
|
|
3
3
|
import { OverflowableText } from "../overflowableText/OverflowableText.js";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
4
|
+
import "../../../utils/conversionUtils.js";
|
|
5
|
+
import "../../../utils/types/equipmentType.js";
|
|
6
6
|
import "@mui/icons-material";
|
|
7
|
-
import { mergeSx } from "
|
|
8
|
-
import "
|
|
7
|
+
import { mergeSx } from "../../../utils/styles.js";
|
|
8
|
+
import "../../../utils/yupConfig.js";
|
|
9
9
|
function CheckBoxListItemContent({
|
|
10
10
|
sx,
|
|
11
11
|
label,
|
|
@@ -2,11 +2,11 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useCallback } from "react";
|
|
3
3
|
import { ListItem, ListItemButton } from "@mui/material";
|
|
4
4
|
import { DraggableCheckBoxListItemContent } from "./DraggableCheckBoxListItemContent.js";
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
5
|
+
import "../../../utils/conversionUtils.js";
|
|
6
|
+
import "../../../utils/types/equipmentType.js";
|
|
7
7
|
import "@mui/icons-material";
|
|
8
|
-
import { mergeSx } from "
|
|
9
|
-
import "
|
|
8
|
+
import { mergeSx } from "../../../utils/styles.js";
|
|
9
|
+
import "../../../utils/yupConfig.js";
|
|
10
10
|
const styles = {
|
|
11
11
|
checkboxListItem: {
|
|
12
12
|
// this is to align ListItem children and its secondary action
|
package/dist/components/{checkBoxList → ui/checkBoxList}/DraggableCheckBoxListItemContent.js
RENAMED
|
@@ -2,10 +2,10 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { DragIndicator } from "@mui/icons-material";
|
|
3
3
|
import { IconButton } from "@mui/material";
|
|
4
4
|
import { CheckBoxListItemContent } from "./CheckBoxListItemContent.js";
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import { mergeSx } from "
|
|
8
|
-
import "
|
|
5
|
+
import "../../../utils/conversionUtils.js";
|
|
6
|
+
import "../../../utils/types/equipmentType.js";
|
|
7
|
+
import { mergeSx } from "../../../utils/styles.js";
|
|
8
|
+
import "../../../utils/yupConfig.js";
|
|
9
9
|
function DraggableCheckBoxListItemContent({
|
|
10
10
|
provided,
|
|
11
11
|
isHighlighted,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { DraggableProvided, DragStart, DropResult } from '@hello-pangea/dnd';
|
|
3
|
-
import { SxStyle } from '
|
|
3
|
+
import { SxStyle } from '../../../utils/styles';
|
|
4
4
|
export type CheckBoxListItemSx = {
|
|
5
5
|
checkBoxIcon?: SxStyle;
|
|
6
6
|
listItemText?: SxStyle;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useCallback } from "react";
|
|
2
2
|
import { useIntl } from "react-intl";
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import { LANG_FRENCH } from "
|
|
3
|
+
import "../../../utils/conversionUtils.js";
|
|
4
|
+
import "../../../utils/types/equipmentType.js";
|
|
5
|
+
import { LANG_FRENCH } from "../../../utils/langs.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "@mui/icons-material";
|
|
8
|
-
import "
|
|
9
|
-
import { fetchStudyMetadata } from "
|
|
8
|
+
import "../../../utils/yupConfig.js";
|
|
9
|
+
import { fetchStudyMetadata } from "../../../services/appsMetadata.js";
|
|
10
10
|
const NA_VALUE = "N/A";
|
|
11
11
|
const fetchCsvSeparator = async () => {
|
|
12
12
|
return fetchStudyMetadata().then((metadata) => metadata.copyCsvSeparator);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MouseEvent, ReactNode } from 'react';
|
|
2
2
|
import { FieldErrors, FieldValues, SubmitHandler } from 'react-hook-form';
|
|
3
3
|
import { DialogProps } from '@mui/material';
|
|
4
|
-
import { MergedFormContextProps } from '
|
|
4
|
+
import { MergedFormContextProps } from '../../../ui/reactHookForm/provider/CustomFormProvider';
|
|
5
5
|
export type CustomMuiDialogProps<T extends FieldValues = FieldValues> = DialogProps & {
|
|
6
6
|
open: boolean;
|
|
7
7
|
formContext: MergedFormContextProps<T>;
|
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useCallback } from "react";
|
|
3
3
|
import { FormattedMessage } from "react-intl";
|
|
4
4
|
import { Dialog, LinearProgress, DialogTitle, DialogContent, DialogActions } from "@mui/material";
|
|
5
|
-
import { SubmitButton } from "../../
|
|
6
|
-
import { CancelButton } from "../../
|
|
7
|
-
import { CustomFormProvider } from "../../
|
|
5
|
+
import { SubmitButton } from "../../reactHookForm/utils/SubmitButton.js";
|
|
6
|
+
import { CancelButton } from "../../reactHookForm/utils/CancelButton.js";
|
|
7
|
+
import { CustomFormProvider } from "../../reactHookForm/provider/CustomFormProvider.js";
|
|
8
8
|
import { PopupConfirmationDialog } from "../popupConfirmationDialog/PopupConfirmationDialog.js";
|
|
9
9
|
const styles = {
|
|
10
10
|
dialogPaper: {
|
|
@@ -3,13 +3,13 @@ import { useCallback } from "react";
|
|
|
3
3
|
import { useForm } from "react-hook-form";
|
|
4
4
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
5
5
|
import { Box } from "@mui/material";
|
|
6
|
-
import "
|
|
7
|
-
import { FieldConstants } from "
|
|
8
|
-
import { useSnackMessage } from "
|
|
6
|
+
import "../../../../utils/yupConfig.js";
|
|
7
|
+
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
8
|
+
import { useSnackMessage } from "../../../../hooks/useSnackMessage.js";
|
|
9
9
|
import { CustomMuiDialog } from "../customMuiDialog/CustomMuiDialog.js";
|
|
10
|
-
import { ExpandingTextField } from "../../
|
|
11
|
-
import { MAX_CHAR_DESCRIPTION } from "
|
|
12
|
-
import { snackWithFallback } from "
|
|
10
|
+
import { ExpandingTextField } from "../../reactHookForm/text/ExpandingTextField.js";
|
|
11
|
+
import { MAX_CHAR_DESCRIPTION } from "../../../../utils/constants/uiConstants.js";
|
|
12
|
+
import { snackWithFallback } from "../../../../utils/error.js";
|
|
13
13
|
import * as yup from "yup";
|
|
14
14
|
const schema = yup.object().shape({
|
|
15
15
|
[FieldConstants.DESCRIPTION]: yup.string().max(MAX_CHAR_DESCRIPTION, "descriptionLimitError")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UUID } from 'node:crypto';
|
|
2
|
-
import { ElementAttributes, ElementType, FieldConstants } from '
|
|
2
|
+
import { ElementAttributes, ElementType, FieldConstants } from '../../../../utils';
|
|
3
3
|
declare enum OperationType {
|
|
4
4
|
CREATE = "CREATE",
|
|
5
5
|
UPDATE = "UPDATE"
|