@gridsuite/commons-ui 0.66.0 → 0.67.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/authentication/AuthenticationRouter.d.ts +1 -2
- package/dist/components/authentication/AuthenticationRouter.js +5 -5
- package/dist/components/authentication/AuthenticationRouterErrorDisplay.js +1 -1
- package/dist/components/authentication/Login.d.ts +1 -2
- package/dist/components/authentication/Login.js +1 -1
- package/dist/components/authentication/Logout.d.ts +1 -2
- package/dist/components/authentication/Logout.js +1 -1
- package/dist/components/authentication/SignInCallbackHandler.d.ts +1 -2
- package/dist/components/authentication/SignInCallbackHandler.js +1 -1
- package/dist/components/authentication/SilentRenewCallbackHandler.d.ts +1 -2
- package/dist/components/authentication/SilentRenewCallbackHandler.js +5 -2
- package/dist/components/authentication/index.d.ts +5 -5
- package/dist/components/authentication/index.js +12 -12
- package/dist/components/cardErrorBoundary/CardErrorBoundary.d.ts +2 -2
- package/dist/components/cardErrorBoundary/CardErrorBoundary.js +1 -1
- package/dist/components/cardErrorBoundary/index.d.ts +7 -3
- package/dist/components/cardErrorBoundary/index.js +2 -2
- package/dist/components/checkBoxList/CheckBoxList.d.ts +0 -1
- package/dist/components/checkBoxList/CheckBoxList.js +1 -2
- package/dist/components/checkBoxList/CheckBoxListItem.d.ts +0 -1
- package/dist/components/checkBoxList/CheckBoxListItem.js +1 -2
- package/dist/components/checkBoxList/CheckBoxListItems.d.ts +0 -1
- package/dist/components/checkBoxList/CheckBoxListItems.js +2 -3
- package/dist/components/checkBoxList/ClickableCheckBoxItem.d.ts +0 -1
- package/dist/components/checkBoxList/ClickableCheckBoxItem.js +1 -2
- package/dist/components/checkBoxList/ClickableRowItem.d.ts +0 -1
- package/dist/components/checkBoxList/ClickableRowItem.js +1 -2
- package/dist/components/checkBoxList/DraggableCheckBoxListItem.d.ts +0 -1
- package/dist/components/checkBoxList/DraggableCheckBoxListItem.js +1 -2
- package/dist/components/checkBoxList/DraggableClickableCheckBoxItem.d.ts +0 -1
- package/dist/components/checkBoxList/DraggableClickableCheckBoxItem.js +2 -3
- package/dist/components/checkBoxList/DraggableClickableRowItem.d.ts +0 -1
- package/dist/components/checkBoxList/DraggableClickableRowItem.js +2 -3
- package/dist/components/checkBoxList/index.d.ts +7 -3
- package/dist/components/checkBoxList/index.js +1 -1
- package/dist/components/customAGGrid/customAggrid.d.ts +2 -2
- package/dist/components/customAGGrid/customAggrid.js +1 -1
- package/dist/components/customAGGrid/index.d.ts +8 -0
- package/dist/components/customAGGrid/index.js +7 -0
- package/dist/components/dialogs/customMuiDialog/CustomMuiDialog.d.ts +1 -2
- package/dist/components/dialogs/customMuiDialog/CustomMuiDialog.js +7 -7
- package/dist/components/dialogs/descriptionModificationDialog/DescriptionModificationDialog.d.ts +1 -2
- package/dist/components/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js +4 -4
- package/dist/components/dialogs/descriptionModificationDialog/index.d.ts +7 -0
- package/dist/components/dialogs/descriptionModificationDialog/index.js +4 -0
- package/dist/components/dialogs/index.d.ts +10 -0
- package/dist/components/dialogs/index.js +10 -0
- package/dist/components/dialogs/modifyElementSelection/ModifyElementSelection.d.ts +1 -2
- package/dist/components/dialogs/modifyElementSelection/ModifyElementSelection.js +3 -3
- package/dist/components/dialogs/modifyElementSelection/index.d.ts +7 -0
- package/dist/components/dialogs/modifyElementSelection/index.js +4 -0
- package/dist/components/dialogs/popupConfirmationDialog/PopupConfirmationDialog.d.ts +1 -2
- package/dist/components/dialogs/popupConfirmationDialog/PopupConfirmationDialog.js +2 -2
- package/dist/components/dialogs/popupConfirmationDialog/index.d.ts +7 -0
- package/dist/components/dialogs/popupConfirmationDialog/index.js +4 -0
- package/dist/components/directoryItemSelector/DirectoryItemSelector.d.ts +1 -2
- package/dist/components/directoryItemSelector/DirectoryItemSelector.js +3 -3
- package/dist/components/directoryItemSelector/index.d.ts +7 -0
- package/dist/components/directoryItemSelector/index.js +4 -0
- package/dist/components/elementSearch/elementItem/EquipmentItem.d.ts +1 -1
- package/dist/components/elementSearch/elementItem/EquipmentItem.js +1 -3
- package/dist/components/elementSearch/elementItem/index.d.ts +7 -0
- package/dist/components/elementSearch/elementItem/index.js +4 -0
- package/dist/components/elementSearch/elementSearchDialog/ElementSearchDialog.d.ts +0 -1
- package/dist/components/elementSearch/elementSearchDialog/ElementSearchDialog.js +1 -2
- package/dist/components/elementSearch/elementSearchDialog/index.d.ts +7 -0
- package/dist/components/elementSearch/elementSearchDialog/index.js +4 -0
- package/dist/components/elementSearch/elementSearchInput/index.d.ts +7 -0
- package/dist/components/elementSearch/elementSearchInput/index.js +4 -0
- package/dist/components/elementSearch/hooks/index.d.ts +7 -0
- package/dist/components/elementSearch/hooks/index.js +4 -0
- package/dist/components/elementSearch/hooks/useElementSearch.d.ts +2 -2
- package/dist/components/elementSearch/hooks/useElementSearch.js +2 -2
- package/dist/components/elementSearch/index.d.ts +5 -7
- package/dist/components/elementSearch/index.js +6 -4
- package/dist/components/elementSearch/tagRenderer/TagRenderer.d.ts +1 -2
- package/dist/components/elementSearch/tagRenderer/TagRenderer.js +1 -1
- package/dist/components/elementSearch/tagRenderer/index.d.ts +7 -0
- package/dist/components/elementSearch/tagRenderer/index.js +4 -0
- package/dist/components/expandableGroup/ExpandableGroup.d.ts +1 -31
- package/dist/components/expandableGroup/ExpandableGroup.js +1 -2
- package/dist/components/expandableGroup/index.d.ts +7 -4
- package/dist/components/expandableGroup/index.js +2 -2
- package/dist/components/filter/FilterCreationDialog.d.ts +1 -2
- package/dist/components/filter/FilterCreationDialog.js +4 -4
- package/dist/components/filter/FilterForm.d.ts +2 -3
- package/dist/components/filter/FilterForm.js +8 -8
- package/dist/components/filter/criteriaBased/CriteriaBasedFilterEditionDialog.d.ts +1 -2
- package/dist/components/filter/criteriaBased/CriteriaBasedFilterEditionDialog.js +9 -9
- package/dist/components/filter/criteriaBased/CriteriaBasedFilterForm.d.ts +1 -2
- package/dist/components/filter/criteriaBased/CriteriaBasedFilterForm.js +5 -5
- package/dist/components/filter/criteriaBased/CriteriaBasedForm.d.ts +1 -2
- package/dist/components/filter/criteriaBased/CriteriaBasedForm.js +4 -4
- package/dist/components/filter/criteriaBased/FilterFreeProperties.d.ts +2 -2
- package/dist/components/filter/criteriaBased/FilterFreeProperties.js +6 -6
- package/dist/components/filter/criteriaBased/FilterProperties.d.ts +1 -2
- package/dist/components/filter/criteriaBased/FilterProperties.js +7 -5
- package/dist/components/filter/criteriaBased/FilterProperty.d.ts +2 -2
- package/dist/components/filter/criteriaBased/FilterProperty.js +5 -5
- package/dist/components/filter/criteriaBased/criteriaBasedFilterUtils.js +1 -1
- package/dist/components/filter/criteriaBased/index.d.ts +13 -0
- package/dist/components/filter/criteriaBased/index.js +27 -0
- package/dist/components/filter/expert/ExpertFilterEditionDialog.d.ts +1 -2
- package/dist/components/filter/expert/ExpertFilterEditionDialog.js +8 -8
- package/dist/components/filter/expert/ExpertFilterForm.d.ts +1 -2
- package/dist/components/filter/expert/ExpertFilterForm.js +7 -7
- package/dist/components/filter/expert/expertFilterConstants.d.ts +1 -1
- package/dist/components/filter/expert/expertFilterConstants.js +3 -3
- package/dist/components/filter/expert/index.d.ts +11 -0
- package/dist/components/filter/expert/index.js +39 -0
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterEditionDialog.d.ts +1 -2
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterEditionDialog.js +8 -8
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.d.ts +3 -3
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.js +7 -7
- package/dist/components/filter/explicitNaming/index.d.ts +8 -0
- package/dist/components/filter/explicitNaming/index.js +9 -0
- package/dist/components/filter/index.d.ts +13 -0
- package/dist/components/filter/index.js +86 -0
- package/dist/components/filter/utils/filterApi.js +1 -1
- package/dist/components/filter/utils/filterFormUtils.js +4 -4
- package/dist/components/filter/utils/index.d.ts +8 -0
- package/dist/components/filter/utils/index.js +9 -0
- package/dist/components/flatParameters/FlatParameters.d.ts +0 -1
- package/dist/components/flatParameters/FlatParameters.js +1 -2
- package/dist/components/flatParameters/index.d.ts +7 -4
- package/dist/components/flatParameters/index.js +3 -2
- package/dist/components/index.d.ts +22 -0
- package/dist/components/index.js +293 -0
- package/dist/components/inputs/SelectClearable.d.ts +2 -2
- package/dist/components/inputs/SelectClearable.js +2 -2
- package/dist/components/inputs/index.d.ts +9 -0
- package/dist/components/inputs/index.js +119 -0
- package/dist/components/inputs/reactHookForm/DirectoryItemsInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/DirectoryItemsInput.js +8 -8
- package/dist/components/inputs/reactHookForm/RawReadOnlyInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/RawReadOnlyInput.js +1 -1
- package/dist/components/inputs/reactHookForm/agGridTable/BottomRightButtons.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/agGridTable/BottomRightButtons.js +4 -4
- package/dist/components/inputs/reactHookForm/agGridTable/CustomAgGridTable.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/agGridTable/CustomAgGridTable.js +4 -4
- package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/index.d.ts +7 -0
- package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/index.js +4 -0
- package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/numericEditor.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/numericEditor.js +1 -1
- package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/CsvUploader.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/CsvUploader.js +3 -3
- package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/index.d.ts +7 -0
- package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/index.js +4 -0
- package/dist/components/inputs/reactHookForm/agGridTable/index.d.ts +10 -0
- package/dist/components/inputs/reactHookForm/agGridTable/index.js +11 -0
- package/dist/components/inputs/reactHookForm/autocompleteInputs/AutocompleteInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/autocompleteInputs/AutocompleteInput.js +3 -3
- package/dist/components/inputs/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.js +2 -2
- package/dist/components/inputs/reactHookForm/autocompleteInputs/index.d.ts +8 -0
- package/dist/components/inputs/reactHookForm/autocompleteInputs/index.js +6 -0
- package/dist/components/inputs/reactHookForm/booleans/BooleanInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/booleans/BooleanInput.js +1 -1
- package/dist/components/inputs/reactHookForm/booleans/CheckboxInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/booleans/CheckboxInput.js +2 -2
- package/dist/components/inputs/reactHookForm/booleans/RadioInput.d.ts +2 -2
- package/dist/components/inputs/reactHookForm/booleans/RadioInput.js +2 -2
- package/dist/components/inputs/reactHookForm/booleans/SwitchInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/booleans/SwitchInput.js +2 -2
- package/dist/components/inputs/reactHookForm/booleans/index.d.ts +10 -0
- package/dist/components/inputs/reactHookForm/booleans/index.js +10 -0
- package/dist/components/inputs/reactHookForm/errorManagement/ErrorInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/errorManagement/ErrorInput.js +1 -1
- package/dist/components/inputs/reactHookForm/errorManagement/FieldErrorAlert.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/errorManagement/FieldErrorAlert.js +1 -1
- package/dist/components/inputs/reactHookForm/errorManagement/MidFormError.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/errorManagement/MidFormError.js +1 -1
- package/dist/components/inputs/reactHookForm/errorManagement/index.d.ts +9 -0
- package/dist/components/inputs/reactHookForm/errorManagement/index.js +8 -0
- package/dist/components/inputs/reactHookForm/index.d.ts +17 -0
- package/dist/components/inputs/reactHookForm/index.js +85 -0
- package/dist/components/inputs/reactHookForm/numbers/FloatInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/numbers/FloatInput.js +2 -2
- package/dist/components/inputs/reactHookForm/numbers/IntegerInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/numbers/IntegerInput.js +2 -2
- package/dist/components/inputs/reactHookForm/numbers/RangeInput.d.ts +2 -2
- package/dist/components/inputs/reactHookForm/numbers/RangeInput.js +4 -4
- package/dist/components/inputs/reactHookForm/numbers/SliderInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/numbers/SliderInput.js +1 -1
- package/dist/components/inputs/reactHookForm/numbers/index.d.ts +11 -0
- package/dist/components/inputs/reactHookForm/numbers/index.js +17 -0
- package/dist/components/inputs/reactHookForm/provider/CustomFormProvider.d.ts +2 -2
- package/dist/components/inputs/reactHookForm/provider/CustomFormProvider.js +1 -1
- package/dist/components/inputs/reactHookForm/provider/index.d.ts +8 -0
- package/dist/components/inputs/reactHookForm/provider/index.js +7 -0
- package/dist/components/inputs/reactHookForm/provider/useCustomFormContext.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/provider/useCustomFormContext.js +1 -1
- package/dist/components/inputs/reactHookForm/selectInputs/CountriesInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/selectInputs/CountriesInput.js +3 -3
- package/dist/components/inputs/reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/selectInputs/InputWithPopupConfirmation.js +2 -2
- package/dist/components/inputs/reactHookForm/selectInputs/MuiSelectInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/selectInputs/MuiSelectInput.js +1 -1
- package/dist/components/inputs/reactHookForm/selectInputs/SelectInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/selectInputs/SelectInput.js +2 -2
- package/dist/components/inputs/reactHookForm/selectInputs/index.d.ts +10 -0
- package/dist/components/inputs/reactHookForm/selectInputs/index.js +10 -0
- package/dist/components/inputs/reactHookForm/text/DescriptionField.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/text/DescriptionField.js +3 -3
- package/dist/components/inputs/reactHookForm/text/ExpandingTextField.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/text/ExpandingTextField.js +3 -3
- package/dist/components/inputs/reactHookForm/text/TextInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/text/TextInput.js +4 -4
- package/dist/components/inputs/reactHookForm/text/UniqueNameInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/text/UniqueNameInput.js +3 -3
- package/dist/components/inputs/reactHookForm/text/index.d.ts +10 -0
- package/dist/components/inputs/reactHookForm/text/index.js +10 -0
- package/dist/components/inputs/reactHookForm/utils/CancelButton.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/utils/CancelButton.js +1 -1
- package/dist/components/inputs/reactHookForm/utils/FieldLabel.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/utils/FieldLabel.js +1 -1
- package/dist/components/inputs/reactHookForm/utils/SubmitButton.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/utils/SubmitButton.js +1 -1
- package/dist/components/inputs/reactHookForm/utils/TextFieldWithAdornment.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/utils/TextFieldWithAdornment.js +1 -1
- package/dist/components/inputs/reactHookForm/utils/functions.d.ts +0 -1
- package/dist/components/inputs/reactHookForm/utils/functions.js +0 -4
- package/dist/components/inputs/reactHookForm/utils/index.d.ts +11 -0
- package/dist/components/inputs/reactHookForm/utils/index.js +17 -0
- package/dist/components/inputs/reactQueryBuilder/AddButton.d.ts +2 -2
- package/dist/components/inputs/reactQueryBuilder/AddButton.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/AutocompleteWithFavorites.d.ts +2 -2
- package/dist/components/inputs/reactQueryBuilder/AutocompleteWithFavorites.js +2 -1
- package/dist/components/inputs/reactQueryBuilder/CombinatorSelector.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/CombinatorSelector.js +2 -2
- package/dist/components/inputs/reactQueryBuilder/CountryValueEditor.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/CountryValueEditor.js +5 -5
- package/dist/components/inputs/reactQueryBuilder/CustomReactQueryBuilder.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/CustomReactQueryBuilder.js +10 -9
- package/dist/components/inputs/reactQueryBuilder/ElementValueEditor.d.ts +2 -2
- package/dist/components/inputs/reactQueryBuilder/ElementValueEditor.js +3 -3
- package/dist/components/inputs/reactQueryBuilder/FieldSelector.d.ts +3 -0
- package/dist/components/inputs/reactQueryBuilder/FieldSelector.js +28 -0
- package/dist/components/inputs/reactQueryBuilder/PropertyValueEditor.d.ts +4 -3
- package/dist/components/inputs/reactQueryBuilder/PropertyValueEditor.js +4 -4
- package/dist/components/inputs/reactQueryBuilder/RemoveButton.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/RemoveButton.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/TextValueEditor.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/TextValueEditor.js +3 -3
- package/dist/components/inputs/reactQueryBuilder/TranslatedValueEditor.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/TranslatedValueEditor.js +3 -3
- package/dist/components/inputs/reactQueryBuilder/ValueEditor.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/ValueEditor.js +8 -8
- package/dist/components/inputs/reactQueryBuilder/ValueSelector.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/ValueSelector.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js +2 -2
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts +2 -2
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/index.d.ts +8 -0
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/index.js +6 -0
- package/dist/components/inputs/reactQueryBuilder/hooks/index.d.ts +8 -0
- package/dist/components/inputs/reactQueryBuilder/hooks/index.js +6 -0
- package/dist/components/inputs/reactQueryBuilder/hooks/useConvertValue.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/hooks/useConvertValue.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/hooks/useValid.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/hooks/useValid.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/index.d.ts +20 -0
- package/dist/components/inputs/reactQueryBuilder/index.js +34 -0
- package/dist/components/muiVirtualizedTable/ColumnHeader.d.ts +3 -3
- package/dist/components/muiVirtualizedTable/ColumnHeader.js +3 -3
- package/dist/components/muiVirtualizedTable/KeyedColumnsRowIndexer.js +1 -1
- package/dist/components/muiVirtualizedTable/MuiVirtualizedTable.d.ts +6 -20
- package/dist/components/muiVirtualizedTable/MuiVirtualizedTable.js +5 -5
- package/dist/components/muiVirtualizedTable/index.d.ts +2 -3
- package/dist/components/muiVirtualizedTable/index.js +8 -4
- package/dist/components/multipleSelectionDialog/MultipleSelectionDialog.d.ts +1 -2
- package/dist/components/multipleSelectionDialog/MultipleSelectionDialog.js +1 -1
- package/dist/components/multipleSelectionDialog/index.d.ts +7 -4
- package/dist/components/multipleSelectionDialog/index.js +2 -2
- package/dist/components/overflowableText/OverflowableText.d.ts +0 -1
- package/dist/components/overflowableText/OverflowableText.js +1 -2
- package/dist/components/overflowableText/index.d.ts +7 -4
- package/dist/components/overflowableText/index.js +1 -1
- package/dist/components/snackbarProvider/SnackbarProvider.d.ts +1 -2
- package/dist/components/snackbarProvider/SnackbarProvider.js +1 -1
- package/dist/components/snackbarProvider/index.d.ts +7 -3
- package/dist/components/snackbarProvider/index.js +2 -2
- package/dist/components/topBar/AboutDialog.d.ts +2 -2
- package/dist/components/topBar/AboutDialog.js +1 -1
- package/dist/components/topBar/GridLogo.d.ts +1 -2
- package/dist/components/topBar/GridLogo.js +2 -2
- package/dist/components/topBar/TopBar.d.ts +4 -9
- package/dist/components/topBar/TopBar.js +4 -13
- package/dist/components/topBar/index.d.ts +2 -3
- package/dist/components/topBar/index.js +6 -5
- package/dist/components/treeViewFinder/TreeViewFinder.d.ts +1 -2
- package/dist/components/treeViewFinder/TreeViewFinder.js +4 -4
- package/dist/components/treeViewFinder/index.d.ts +1 -2
- package/dist/components/treeViewFinder/index.js +2 -2
- package/dist/hooks/customStates/index.d.ts +8 -0
- package/dist/hooks/customStates/index.js +6 -0
- package/dist/hooks/customStates/useStateBoolean.d.ts +1 -2
- package/dist/hooks/customStates/useStateBoolean.js +1 -1
- package/dist/hooks/customStates/useStateNumber.d.ts +1 -2
- package/dist/hooks/customStates/useStateNumber.js +1 -1
- package/dist/hooks/index.d.ts +14 -0
- package/dist/hooks/index.js +22 -0
- package/dist/hooks/useConfidentialityWarning.d.ts +1 -2
- package/dist/hooks/useConfidentialityWarning.js +1 -1
- package/dist/hooks/useDebounce.d.ts +1 -2
- package/dist/hooks/useDebounce.js +1 -1
- package/dist/hooks/useIntlRef.d.ts +1 -2
- package/dist/hooks/useIntlRef.js +1 -1
- package/dist/hooks/useLocalizedCountries.js +1 -1
- package/dist/hooks/usePredefinedProperties.d.ts +3 -3
- package/dist/hooks/usePredefinedProperties.js +3 -3
- package/dist/hooks/usePrevious.d.ts +0 -1
- package/dist/hooks/usePrevious.js +0 -1
- package/dist/hooks/useSnackMessage.js +1 -1
- package/dist/index.d.ts +7 -181
- package/dist/index.js +357 -236
- package/dist/redux/index.d.ts +8 -0
- package/dist/redux/index.js +20 -0
- package/dist/services/appsMetadata.d.ts +2 -25
- package/dist/translations/en/cardErrorBoundaryEn.d.ts +1 -2
- package/dist/translations/en/cardErrorBoundaryEn.js +1 -1
- package/dist/translations/en/commonButtonEn.d.ts +1 -2
- package/dist/translations/en/commonButtonEn.js +1 -1
- package/dist/translations/en/csvEn.d.ts +1 -2
- package/dist/translations/en/csvEn.js +1 -1
- package/dist/translations/en/descriptionEn.d.ts +1 -2
- package/dist/translations/en/descriptionEn.js +1 -1
- package/dist/translations/en/directoryItemsInputEn.d.ts +1 -2
- package/dist/translations/en/directoryItemsInputEn.js +1 -1
- package/dist/translations/en/elementSearchEn.d.ts +1 -2
- package/dist/translations/en/elementSearchEn.js +1 -1
- package/dist/translations/en/equipmentSearchEn.d.ts +1 -2
- package/dist/translations/en/equipmentSearchEn.js +1 -1
- package/dist/translations/en/equipmentsEn.d.ts +1 -2
- package/dist/translations/en/equipmentsEn.js +1 -1
- package/dist/translations/en/filterEn.d.ts +1 -2
- package/dist/translations/en/filterEn.js +1 -1
- package/dist/translations/en/filterExpertEn.d.ts +1 -2
- package/dist/translations/en/filterExpertEn.js +1 -1
- package/dist/translations/en/flatParametersEn.d.ts +1 -2
- package/dist/translations/en/flatParametersEn.js +1 -1
- package/dist/translations/en/index.d.ts +24 -0
- package/dist/translations/en/index.js +38 -0
- package/dist/translations/en/inputsEn.d.ts +1 -2
- package/dist/translations/en/inputsEn.js +1 -1
- package/dist/translations/en/loginEn.d.ts +1 -2
- package/dist/translations/en/loginEn.js +1 -1
- package/dist/translations/en/multipleSelectionDialogEn.d.ts +1 -2
- package/dist/translations/en/multipleSelectionDialogEn.js +1 -1
- package/dist/translations/en/reportViewerEn.d.ts +1 -2
- package/dist/translations/en/reportViewerEn.js +1 -1
- package/dist/translations/en/tableEn.d.ts +1 -2
- package/dist/translations/en/tableEn.js +1 -1
- package/dist/translations/en/topBarEn.d.ts +1 -2
- package/dist/translations/en/topBarEn.js +1 -1
- package/dist/translations/en/treeviewFinderEn.d.ts +1 -2
- package/dist/translations/en/treeviewFinderEn.js +1 -1
- package/dist/translations/fr/cardErrorBoundaryFr.d.ts +1 -2
- package/dist/translations/fr/cardErrorBoundaryFr.js +1 -1
- package/dist/translations/fr/commonButtonFr.d.ts +1 -2
- package/dist/translations/fr/commonButtonFr.js +1 -1
- package/dist/translations/fr/csvFr.d.ts +1 -2
- package/dist/translations/fr/csvFr.js +1 -1
- package/dist/translations/fr/descriptionFr.d.ts +1 -2
- package/dist/translations/fr/descriptionFr.js +1 -1
- package/dist/translations/fr/directoryItemsInputFr.d.ts +1 -2
- package/dist/translations/fr/directoryItemsInputFr.js +1 -1
- package/dist/translations/fr/elementSearchFr.d.ts +1 -2
- package/dist/translations/fr/elementSearchFr.js +1 -1
- package/dist/translations/fr/equipmentSearchFr.d.ts +1 -2
- package/dist/translations/fr/equipmentSearchFr.js +1 -1
- package/dist/translations/fr/equipmentsFr.d.ts +1 -2
- package/dist/translations/fr/equipmentsFr.js +1 -1
- package/dist/translations/fr/filterExpertFr.d.ts +1 -2
- package/dist/translations/fr/filterExpertFr.js +1 -1
- package/dist/translations/fr/filterFr.d.ts +1 -2
- package/dist/translations/fr/filterFr.js +1 -1
- package/dist/translations/fr/flatParametersFr.d.ts +1 -2
- package/dist/translations/fr/flatParametersFr.js +1 -1
- package/dist/translations/fr/index.d.ts +24 -0
- package/dist/translations/fr/index.js +38 -0
- package/dist/translations/fr/inputsFr.d.ts +1 -2
- package/dist/translations/fr/inputsFr.js +1 -1
- package/dist/translations/fr/loginFr.d.ts +1 -2
- package/dist/translations/fr/loginFr.js +1 -1
- package/dist/translations/fr/multipleSelectionDialogFr.d.ts +1 -2
- package/dist/translations/fr/multipleSelectionDialogFr.js +1 -1
- package/dist/translations/fr/reportViewerFr.d.ts +1 -2
- package/dist/translations/fr/reportViewerFr.js +1 -1
- package/dist/translations/fr/tableFr.d.ts +1 -2
- package/dist/translations/fr/tableFr.js +1 -1
- package/dist/translations/fr/topBarFr.d.ts +1 -2
- package/dist/translations/fr/topBarFr.js +1 -1
- package/dist/translations/fr/treeviewFinderFr.d.ts +1 -2
- package/dist/translations/fr/treeviewFinderFr.js +1 -1
- package/dist/utils/algos.d.ts +1 -2
- package/dist/utils/algos.js +1 -1
- package/dist/utils/constants/browserConstants.d.ts +11 -0
- package/dist/utils/constants/browserConstants.js +12 -0
- package/dist/utils/constants/fetchStatus.d.ts +1 -2
- package/dist/utils/constants/fetchStatus.js +1 -1
- package/dist/utils/constants/fieldConstants.d.ts +1 -2
- package/dist/utils/constants/fieldConstants.js +1 -1
- package/dist/utils/constants/index.d.ts +9 -0
- package/dist/utils/constants/index.js +12 -0
- package/dist/utils/index.d.ts +14 -0
- package/dist/utils/index.js +61 -0
- package/dist/utils/mapper/equipmentTypesForPredefinedPropertiesMapper.d.ts +2 -3
- package/dist/utils/mapper/equipmentTypesForPredefinedPropertiesMapper.js +2 -2
- package/dist/utils/mapper/getFileIcon.d.ts +4 -0
- package/dist/utils/mapper/{elementIcon.js → getFileIcon.js} +1 -1
- package/dist/utils/mapper/index.d.ts +8 -0
- package/dist/utils/mapper/index.js +6 -0
- package/dist/utils/types/equipmentType.js +1 -1
- package/dist/utils/types/index.d.ts +11 -0
- package/dist/utils/types/index.js +27 -0
- package/dist/utils/types/metadata.d.ts +19 -7
- package/dist/utils/types/types.d.ts +0 -5
- package/package.json +1 -1
- package/dist/utils/mapper/elementIcon.d.ts +0 -5
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const equipmentSearchFr: {
|
|
7
|
+
export declare const equipmentSearchFr: {
|
|
8
8
|
'equipment_search/label': string;
|
|
9
9
|
'equipment_search/switchTag': string;
|
|
10
10
|
'equipment_search/busbarSectionTag': string;
|
|
@@ -22,4 +22,3 @@ declare const equipmentSearchFr: {
|
|
|
22
22
|
'equipment_search/substationTag': string;
|
|
23
23
|
'equipment_search/busTag': string;
|
|
24
24
|
};
|
|
25
|
-
export default equipmentSearchFr;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const equipmentsFr: {
|
|
7
|
+
export declare const equipmentsFr: {
|
|
8
8
|
Substations: string;
|
|
9
9
|
VoltageLevels: string;
|
|
10
10
|
Lines: string;
|
|
@@ -24,4 +24,3 @@ declare const equipmentsFr: {
|
|
|
24
24
|
VscConverterStations: string;
|
|
25
25
|
StaticVarCompensators: string;
|
|
26
26
|
};
|
|
27
|
-
export default equipmentsFr;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const filterExpertFr: {
|
|
7
|
+
export declare const filterExpertFr: {
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
10
10
|
energySource: string;
|
|
@@ -187,4 +187,3 @@ declare const filterExpertFr: {
|
|
|
187
187
|
YupNotTypeDefault: string;
|
|
188
188
|
changeOperatorMessage: string;
|
|
189
189
|
};
|
|
190
|
-
export default filterExpertFr;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const filterFr: {
|
|
7
|
+
export declare const filterFr: {
|
|
8
8
|
OR: string;
|
|
9
9
|
AND: string;
|
|
10
10
|
rule: string;
|
|
@@ -55,4 +55,3 @@ declare const filterFr: {
|
|
|
55
55
|
nameValidityCheckErrorMsg: string;
|
|
56
56
|
cantSubmitWhileValidating: string;
|
|
57
57
|
};
|
|
58
|
-
export default filterFr;
|
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const flatParametersFr: {
|
|
7
|
+
export declare const flatParametersFr: {
|
|
8
8
|
'flat_parameters/none': string;
|
|
9
9
|
'flat_parameters/some': string;
|
|
10
10
|
'flat_parameters/all': string;
|
|
11
11
|
};
|
|
12
|
-
export default flatParametersFr;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export * from './cardErrorBoundaryFr';
|
|
8
|
+
export * from './commonButtonFr';
|
|
9
|
+
export * from './csvFr';
|
|
10
|
+
export * from './descriptionFr';
|
|
11
|
+
export * from './directoryItemsInputFr';
|
|
12
|
+
export * from './elementSearchFr';
|
|
13
|
+
export * from './equipmentSearchFr';
|
|
14
|
+
export * from './equipmentsFr';
|
|
15
|
+
export * from './filterExpertFr';
|
|
16
|
+
export * from './filterFr';
|
|
17
|
+
export * from './flatParametersFr';
|
|
18
|
+
export * from './inputsFr';
|
|
19
|
+
export * from './loginFr';
|
|
20
|
+
export * from './multipleSelectionDialogFr';
|
|
21
|
+
export * from './reportViewerFr';
|
|
22
|
+
export * from './tableFr';
|
|
23
|
+
export * from './topBarFr';
|
|
24
|
+
export * from './treeviewFinderFr';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { cardErrorBoundaryFr } from "./cardErrorBoundaryFr.js";
|
|
2
|
+
import { commonButtonFr } from "./commonButtonFr.js";
|
|
3
|
+
import { csvFr } from "./csvFr.js";
|
|
4
|
+
import { descriptionFr } from "./descriptionFr.js";
|
|
5
|
+
import { directoryItemsInputFr } from "./directoryItemsInputFr.js";
|
|
6
|
+
import { elementSearchFr } from "./elementSearchFr.js";
|
|
7
|
+
import { equipmentSearchFr } from "./equipmentSearchFr.js";
|
|
8
|
+
import { equipmentsFr } from "./equipmentsFr.js";
|
|
9
|
+
import { filterExpertFr } from "./filterExpertFr.js";
|
|
10
|
+
import { filterFr } from "./filterFr.js";
|
|
11
|
+
import { flatParametersFr } from "./flatParametersFr.js";
|
|
12
|
+
import { inputsFr } from "./inputsFr.js";
|
|
13
|
+
import { loginFr } from "./loginFr.js";
|
|
14
|
+
import { multipleSelectionDialogFr } from "./multipleSelectionDialogFr.js";
|
|
15
|
+
import { reportViewerFr } from "./reportViewerFr.js";
|
|
16
|
+
import { tableFr } from "./tableFr.js";
|
|
17
|
+
import { topBarFr } from "./topBarFr.js";
|
|
18
|
+
import { treeviewFinderFr } from "./treeviewFinderFr.js";
|
|
19
|
+
export {
|
|
20
|
+
cardErrorBoundaryFr,
|
|
21
|
+
commonButtonFr,
|
|
22
|
+
csvFr,
|
|
23
|
+
descriptionFr,
|
|
24
|
+
directoryItemsInputFr,
|
|
25
|
+
elementSearchFr,
|
|
26
|
+
equipmentSearchFr,
|
|
27
|
+
equipmentsFr,
|
|
28
|
+
filterExpertFr,
|
|
29
|
+
filterFr,
|
|
30
|
+
flatParametersFr,
|
|
31
|
+
inputsFr,
|
|
32
|
+
loginFr,
|
|
33
|
+
multipleSelectionDialogFr,
|
|
34
|
+
reportViewerFr,
|
|
35
|
+
tableFr,
|
|
36
|
+
topBarFr,
|
|
37
|
+
treeviewFinderFr
|
|
38
|
+
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const inputsFr: {
|
|
7
|
+
export declare const inputsFr: {
|
|
8
8
|
'inputs/kiki': string;
|
|
9
9
|
'inputs/ney': string;
|
|
10
10
|
'inputs/lapulga': string;
|
|
@@ -22,4 +22,3 @@ declare const inputsFr: {
|
|
|
22
22
|
'inputs/switch': string;
|
|
23
23
|
Optional: string;
|
|
24
24
|
};
|
|
25
|
-
export default inputsFr;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const loginFr: {
|
|
7
|
+
export declare const loginFr: {
|
|
8
8
|
'login/login': string;
|
|
9
9
|
'login/connection': string;
|
|
10
10
|
'login/unauthorizedAccess': string;
|
|
@@ -15,4 +15,3 @@ declare const loginFr: {
|
|
|
15
15
|
'login/errorInLogoutMessage': string;
|
|
16
16
|
'login/logout': string;
|
|
17
17
|
};
|
|
18
|
-
export default loginFr;
|
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const multipleSelectionDialogFr: {
|
|
7
|
+
export declare const multipleSelectionDialogFr: {
|
|
8
8
|
'multiple_selection_dialog/cancel': string;
|
|
9
9
|
'multiple_selection_dialog/validate': string;
|
|
10
10
|
'multiple_selection_dialog/selectAll': string;
|
|
11
11
|
};
|
|
12
|
-
export default multipleSelectionDialogFr;
|
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const reportViewerFr: {
|
|
7
|
+
export declare const reportViewerFr: {
|
|
8
8
|
'report_viewer/close': string;
|
|
9
9
|
'report_viewer/severity': string;
|
|
10
10
|
'report_viewer/message': string;
|
|
11
11
|
};
|
|
12
|
-
export default reportViewerFr;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const tableFr: {
|
|
7
|
+
export declare const tableFr: {
|
|
8
8
|
'MuiVirtualizedTable/exportCSV': string;
|
|
9
9
|
};
|
|
10
|
-
export default tableFr;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const topBarFr: {
|
|
7
|
+
export declare const topBarFr: {
|
|
8
8
|
'top-bar/settings': string;
|
|
9
9
|
'top-bar/logout': string;
|
|
10
10
|
'top-bar/goFullScreen': string;
|
|
@@ -27,4 +27,3 @@ declare const topBarFr: {
|
|
|
27
27
|
'about-dialog/module-tooltip-server': string;
|
|
28
28
|
'about-dialog/module-tooltip-other': string;
|
|
29
29
|
};
|
|
30
|
-
export default topBarFr;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const treeviewFinderFr: {
|
|
7
|
+
export declare const treeviewFinderFr: {
|
|
8
8
|
'treeview_finder/close': string;
|
|
9
9
|
'treeview_finder/validate': string;
|
|
10
10
|
'treeview_finder/add': string;
|
|
@@ -14,4 +14,3 @@ declare const treeviewFinderFr: {
|
|
|
14
14
|
'treeview_finder/addElementsValidation': string;
|
|
15
15
|
'treeview_finder/replaceElementsValidation': string;
|
|
16
16
|
};
|
|
17
|
-
export default treeviewFinderFr;
|
|
@@ -9,5 +9,5 @@ const treeviewFinderFr = {
|
|
|
9
9
|
"treeview_finder/replaceElementsValidation": "{nbElements, plural, =0 {Veuillez sélectionner un élément} =1 {Remplacer par cet élément} other {Remplacer par # éléments}}"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
treeviewFinderFr
|
|
12
|
+
treeviewFinderFr
|
|
13
13
|
};
|
package/dist/utils/algos.d.ts
CHANGED
|
@@ -4,5 +4,4 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare function equalsArray(a: Array<any>, b: Array<any>): boolean;
|
|
8
|
-
export default equalsArray;
|
|
7
|
+
export declare function equalsArray(a: Array<any>, b: Array<any>): boolean;
|
package/dist/utils/algos.js
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export declare const DARK_THEME = "Dark";
|
|
8
|
+
export declare const LIGHT_THEME = "Light";
|
|
9
|
+
export declare const LANG_SYSTEM = "sys";
|
|
10
|
+
export declare const LANG_ENGLISH = "en";
|
|
11
|
+
export declare const LANG_FRENCH = "fr";
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare const FetchStatus: {
|
|
7
|
+
export declare const FetchStatus: {
|
|
8
8
|
IDLE: string;
|
|
9
9
|
FETCHING: string;
|
|
10
10
|
FETCH_SUCCESS: string;
|
|
11
11
|
FETCH_ERROR: string;
|
|
12
12
|
};
|
|
13
|
-
export default FetchStatus;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
declare enum FieldConstants {
|
|
7
|
+
export declare enum FieldConstants {
|
|
8
8
|
ID = "id",
|
|
9
9
|
NAME = "name",
|
|
10
10
|
FILTER_TYPE = "filterType",
|
|
@@ -43,4 +43,3 @@ declare enum FieldConstants {
|
|
|
43
43
|
PROPERTY_VALUES = "propertyValues",
|
|
44
44
|
PROPERTY_OPERATOR = "propertyOperator"
|
|
45
45
|
}
|
|
46
|
-
export default FieldConstants;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export * from './browserConstants';
|
|
8
|
+
export * from './fetchStatus';
|
|
9
|
+
export * from './fieldConstants';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DARK_THEME, LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM, LIGHT_THEME } from "./browserConstants.js";
|
|
2
|
+
import { FetchStatus } from "./fetchStatus.js";
|
|
3
|
+
import { FieldConstants } from "./fieldConstants.js";
|
|
4
|
+
export {
|
|
5
|
+
DARK_THEME,
|
|
6
|
+
FetchStatus,
|
|
7
|
+
FieldConstants,
|
|
8
|
+
LANG_ENGLISH,
|
|
9
|
+
LANG_FRENCH,
|
|
10
|
+
LANG_SYSTEM,
|
|
11
|
+
LIGHT_THEME
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export * from './algos';
|
|
8
|
+
export * from './constants';
|
|
9
|
+
export * from './conversionUtils';
|
|
10
|
+
export * from './functions';
|
|
11
|
+
export * from './mapper';
|
|
12
|
+
export * from './styles';
|
|
13
|
+
export * from './types';
|
|
14
|
+
export { default as yupConfig } from './yupConfig';
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { equalsArray } from "./algos.js";
|
|
2
|
+
import { DARK_THEME, LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM, LIGHT_THEME } from "./constants/browserConstants.js";
|
|
3
|
+
import { FetchStatus } from "./constants/fetchStatus.js";
|
|
4
|
+
import { FieldConstants } from "./constants/fieldConstants.js";
|
|
5
|
+
import { GRIDSUITE_DEFAULT_PRECISION, isBlankOrEmpty, microUnitToUnit, roundToDefaultPrecision, roundToPrecision, unitToMicroUnit } from "./conversionUtils.js";
|
|
6
|
+
import { areArrayElementsUnique, isObjectEmpty, keyGenerator } from "./functions.js";
|
|
7
|
+
import { getFileIcon } from "./mapper/getFileIcon.js";
|
|
8
|
+
import { equipmentTypesForPredefinedPropertiesMapper } from "./mapper/equipmentTypesForPredefinedPropertiesMapper.js";
|
|
9
|
+
import { makeComposeClasses, mergeSx, toNestedGlobalSelectors } from "./styles.js";
|
|
10
|
+
import { ElementType } from "./types/elementType.js";
|
|
11
|
+
import { EQUIPMENT_TYPE, EquipmentType, TYPE_TAG_MAX_SIZE, VL_TAG_MAX_SIZE, equipmentStyles, getEquipmentsInfosForSearchBar } from "./types/equipmentType.js";
|
|
12
|
+
import { Battery, BusBar, DanglingLine, Generator, Hvdc, LCC, Line, Load, SVC, ShuntCompensator, Substation, ThreeWindingTransfo, TwoWindingTransfo, VSC, VoltageLevel } from "./types/equipmentTypes.js";
|
|
13
|
+
import "./yupConfig.js";
|
|
14
|
+
import * as yup from "yup";
|
|
15
|
+
export {
|
|
16
|
+
Battery,
|
|
17
|
+
BusBar,
|
|
18
|
+
DARK_THEME,
|
|
19
|
+
DanglingLine,
|
|
20
|
+
EQUIPMENT_TYPE,
|
|
21
|
+
ElementType,
|
|
22
|
+
EquipmentType,
|
|
23
|
+
FetchStatus,
|
|
24
|
+
FieldConstants,
|
|
25
|
+
GRIDSUITE_DEFAULT_PRECISION,
|
|
26
|
+
Generator,
|
|
27
|
+
Hvdc,
|
|
28
|
+
LANG_ENGLISH,
|
|
29
|
+
LANG_FRENCH,
|
|
30
|
+
LANG_SYSTEM,
|
|
31
|
+
LCC,
|
|
32
|
+
LIGHT_THEME,
|
|
33
|
+
Line,
|
|
34
|
+
Load,
|
|
35
|
+
SVC,
|
|
36
|
+
ShuntCompensator,
|
|
37
|
+
Substation,
|
|
38
|
+
TYPE_TAG_MAX_SIZE,
|
|
39
|
+
ThreeWindingTransfo,
|
|
40
|
+
TwoWindingTransfo,
|
|
41
|
+
VL_TAG_MAX_SIZE,
|
|
42
|
+
VSC,
|
|
43
|
+
VoltageLevel,
|
|
44
|
+
areArrayElementsUnique,
|
|
45
|
+
equalsArray,
|
|
46
|
+
equipmentStyles,
|
|
47
|
+
equipmentTypesForPredefinedPropertiesMapper,
|
|
48
|
+
getEquipmentsInfosForSearchBar,
|
|
49
|
+
getFileIcon,
|
|
50
|
+
isBlankOrEmpty,
|
|
51
|
+
isObjectEmpty,
|
|
52
|
+
keyGenerator,
|
|
53
|
+
makeComposeClasses,
|
|
54
|
+
mergeSx,
|
|
55
|
+
microUnitToUnit,
|
|
56
|
+
roundToDefaultPrecision,
|
|
57
|
+
roundToPrecision,
|
|
58
|
+
toNestedGlobalSelectors,
|
|
59
|
+
unitToMicroUnit,
|
|
60
|
+
yup as yupConfig
|
|
61
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { EquipmentType } from '../types
|
|
1
|
+
import { EquipmentType } from '../types';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
4
|
-
export default mapEquipmentTypeForPredefinedProperties;
|
|
3
|
+
export declare const equipmentTypesForPredefinedPropertiesMapper: (type: EquipmentType) => string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const equipmentTypesForPredefinedPropertiesMapper = (type) => {
|
|
2
2
|
switch (type) {
|
|
3
3
|
case "SUBSTATION":
|
|
4
4
|
return "substation";
|
|
@@ -29,5 +29,5 @@ const mapEquipmentTypeForPredefinedProperties = (type) => {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
equipmentTypesForPredefinedPropertiesMapper
|
|
33
33
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export { getFileIcon } from './getFileIcon';
|
|
8
|
+
export { equipmentTypesForPredefinedPropertiesMapper } from './equipmentTypesForPredefinedPropertiesMapper';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export * from './elementType';
|
|
8
|
+
export * from './equipmentType';
|
|
9
|
+
export * from './equipmentTypes';
|
|
10
|
+
export * from './metadata';
|
|
11
|
+
export * from './types';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementType } from "./elementType.js";
|
|
2
|
+
import { EQUIPMENT_TYPE, EquipmentType, TYPE_TAG_MAX_SIZE, VL_TAG_MAX_SIZE, equipmentStyles, getEquipmentsInfosForSearchBar } from "./equipmentType.js";
|
|
3
|
+
import { Battery, BusBar, DanglingLine, Generator, Hvdc, LCC, Line, Load, SVC, ShuntCompensator, Substation, ThreeWindingTransfo, TwoWindingTransfo, VSC, VoltageLevel } from "./equipmentTypes.js";
|
|
4
|
+
export {
|
|
5
|
+
Battery,
|
|
6
|
+
BusBar,
|
|
7
|
+
DanglingLine,
|
|
8
|
+
EQUIPMENT_TYPE,
|
|
9
|
+
ElementType,
|
|
10
|
+
EquipmentType,
|
|
11
|
+
Generator,
|
|
12
|
+
Hvdc,
|
|
13
|
+
LCC,
|
|
14
|
+
Line,
|
|
15
|
+
Load,
|
|
16
|
+
SVC,
|
|
17
|
+
ShuntCompensator,
|
|
18
|
+
Substation,
|
|
19
|
+
TYPE_TAG_MAX_SIZE,
|
|
20
|
+
ThreeWindingTransfo,
|
|
21
|
+
TwoWindingTransfo,
|
|
22
|
+
VL_TAG_MAX_SIZE,
|
|
23
|
+
VSC,
|
|
24
|
+
VoltageLevel,
|
|
25
|
+
equipmentStyles,
|
|
26
|
+
getEquipmentsInfosForSearchBar
|
|
27
|
+
};
|