@gridsuite/commons-ui 0.64.5 → 0.65.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/{AuthenticationRouter → authentication}/AuthenticationRouter.d.ts +1 -1
- package/dist/components/{AuthenticationRouter → authentication}/AuthenticationRouter.js +5 -5
- package/dist/components/authentication/index.d.ts +12 -0
- package/dist/components/authentication/index.js +16 -0
- package/dist/{utils/AuthService.d.ts → components/authentication/utils/authService.d.ts} +1 -1
- package/dist/{utils/AuthService.js → components/authentication/utils/authService.js} +2 -2
- package/dist/components/cardErrorBoundary/index.d.ts +3 -0
- package/dist/components/cardErrorBoundary/index.js +4 -0
- package/dist/components/checkBoxList/CheckBoxList.d.ts +4 -0
- package/dist/components/{CheckBoxList/check-box-list.js → checkBoxList/CheckBoxList.js} +4 -4
- package/dist/components/{CheckBoxList/check-box-list-item.d.ts → checkBoxList/CheckBoxListItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/check-box-list-item.js → checkBoxList/CheckBoxListItem.js} +2 -2
- package/dist/components/{CheckBoxList/check-box-list-items.d.ts → checkBoxList/CheckBoxListItems.d.ts} +1 -1
- package/dist/components/{CheckBoxList/check-box-list-items.js → checkBoxList/CheckBoxListItems.js} +3 -3
- package/dist/components/{CheckBoxList/clickable-check-box-item.d.ts → checkBoxList/ClickableCheckBoxItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/clickable-check-box-item.js → checkBoxList/ClickableCheckBoxItem.js} +1 -1
- package/dist/components/{CheckBoxList/clickable-row-item.d.ts → checkBoxList/ClickableRowItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/clickable-row-item.js → checkBoxList/ClickableRowItem.js} +1 -1
- package/dist/components/{CheckBoxList/draggable-check-box-list-item.d.ts → checkBoxList/DraggableCheckBoxListItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/draggable-check-box-list-item.js → checkBoxList/DraggableCheckBoxListItem.js} +2 -2
- package/dist/components/{CheckBoxList/draggable-clickable-check-box-item.d.ts → checkBoxList/DraggableClickableCheckBoxItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/draggable-clickable-check-box-item.js → checkBoxList/DraggableClickableCheckBoxItem.js} +1 -1
- package/dist/components/{CheckBoxList/draggable-clickable-row-item.d.ts → checkBoxList/DraggableClickableRowItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/draggable-clickable-row-item.js → checkBoxList/DraggableClickableRowItem.js} +1 -1
- package/dist/components/checkBoxList/index.d.ts +4 -0
- package/dist/components/checkBoxList/index.js +4 -0
- package/dist/components/{CustomAGGrid/custom-aggrid.js → customAGGrid/customAggrid.js} +1 -1
- package/dist/components/dialogs/{custom-mui-dialog.d.ts → customMuiDialog/CustomMuiDialog.d.ts} +1 -1
- package/dist/components/dialogs/{custom-mui-dialog.js → customMuiDialog/CustomMuiDialog.js} +4 -4
- package/dist/components/dialogs/{description-modification-dialog.js → descriptionModificationDialog/DescriptionModificationDialog.js} +5 -5
- package/dist/components/dialogs/{modify-element-selection.d.ts → modifyElementSelection/ModifyElementSelection.d.ts} +1 -1
- package/dist/components/dialogs/{modify-element-selection.js → modifyElementSelection/ModifyElementSelection.js} +4 -4
- package/dist/components/dialogs/{popup-confirmation-dialog.js → popupConfirmationDialog/PopupConfirmationDialog.js} +1 -1
- package/dist/components/{DirectoryItemSelector/directory-item-selector.d.ts → directoryItemSelector/DirectoryItemSelector.d.ts} +1 -1
- package/dist/components/{DirectoryItemSelector/directory-item-selector.js → directoryItemSelector/DirectoryItemSelector.js} +3 -3
- package/dist/components/{ElementSearchDialog/equipment-item.d.ts → elementSearch/elementItem/EquipmentItem.d.ts} +2 -2
- package/dist/components/{ElementSearchDialog/equipment-item.js → elementSearch/elementItem/EquipmentItem.js} +4 -4
- package/dist/components/{ElementSearchDialog/element-search-dialog.d.ts → elementSearch/elementSearchDialog/ElementSearchDialog.d.ts} +1 -1
- package/dist/components/{ElementSearchDialog/element-search-dialog.js → elementSearch/elementSearchDialog/ElementSearchDialog.js} +1 -1
- package/dist/components/{ElementSearchDialog/use-element-search.js → elementSearch/hooks/useElementSearch.js} +2 -2
- package/dist/components/elementSearch/index.d.ts +13 -0
- package/dist/components/elementSearch/index.js +10 -0
- package/dist/components/{ElementSearchDialog/tag-renderer.d.ts → elementSearch/tagRenderer/TagRenderer.d.ts} +1 -1
- package/dist/components/{ElementSearchDialog/tag-renderer.js → elementSearch/tagRenderer/TagRenderer.js} +3 -3
- package/dist/components/expandableGroup/index.d.ts +4 -0
- package/dist/components/expandableGroup/index.js +4 -0
- package/dist/components/filter/{filter-creation-dialog.d.ts → FilterCreationDialog.d.ts} +1 -1
- package/dist/components/filter/{filter-creation-dialog.js → FilterCreationDialog.js} +9 -9
- package/dist/components/filter/{filter-form.d.ts → FilterForm.d.ts} +1 -1
- package/dist/components/filter/{filter-form.js → FilterForm.js} +9 -9
- package/dist/components/filter/{criteria-based/criteria-based-filter-edition-dialog.d.ts → criteriaBased/CriteriaBasedFilterEditionDialog.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-filter-edition-dialog.js → criteriaBased/CriteriaBasedFilterEditionDialog.js} +8 -8
- package/dist/components/filter/{criteria-based/criteria-based-filter-form.d.ts → criteriaBased/CriteriaBasedFilterForm.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-filter-form.js → criteriaBased/CriteriaBasedFilterForm.js} +7 -7
- package/dist/components/filter/{criteria-based/criteria-based-form.d.ts → criteriaBased/CriteriaBasedForm.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-form.js → criteriaBased/CriteriaBasedForm.js} +3 -3
- package/dist/components/filter/{criteria-based/filter-free-properties.d.ts → criteriaBased/FilterFreeProperties.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/filter-free-properties.js → criteriaBased/FilterFreeProperties.js} +5 -5
- package/dist/components/filter/{criteria-based/filter-properties.d.ts → criteriaBased/FilterProperties.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/filter-properties.js → criteriaBased/FilterProperties.js} +7 -7
- package/dist/components/filter/{criteria-based/filter-property.d.ts → criteriaBased/FilterProperty.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/filter-property.js → criteriaBased/FilterProperty.js} +3 -3
- package/dist/components/filter/{criteria-based/criteria-based-filter-utils.d.ts → criteriaBased/criteriaBasedFilterUtils.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-filter-utils.js → criteriaBased/criteriaBasedFilterUtils.js} +6 -6
- package/dist/components/filter/expert/{expert-filter-edition-dialog.d.ts → ExpertFilterEditionDialog.d.ts} +1 -1
- package/dist/components/filter/expert/{expert-filter-edition-dialog.js → ExpertFilterEditionDialog.js} +10 -10
- package/dist/components/filter/expert/{expert-filter-form.d.ts → ExpertFilterForm.d.ts} +2 -2
- package/dist/components/filter/expert/{expert-filter-form.js → ExpertFilterForm.js} +9 -9
- package/dist/components/filter/expert/{expert-filter-constants.d.ts → expertFilterConstants.d.ts} +1 -1
- package/dist/components/filter/expert/{expert-filter-constants.js → expertFilterConstants.js} +1 -1
- package/dist/components/filter/expert/{expert-filter-utils.d.ts → expertFilterUtils.d.ts} +1 -1
- package/dist/components/filter/expert/{expert-filter-utils.js → expertFilterUtils.js} +3 -3
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-edition-dialog.d.ts → explicitNaming/ExplicitNamingFilterEditionDialog.d.ts} +1 -1
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-edition-dialog.js → explicitNaming/ExplicitNamingFilterEditionDialog.js} +9 -9
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-form.d.ts → explicitNaming/ExplicitNamingFilterForm.d.ts} +3 -3
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-form.js → explicitNaming/ExplicitNamingFilterForm.js} +12 -12
- package/dist/components/filter/utils/{filter-api.js → filterApi.js} +5 -5
- package/dist/components/filter/utils/{filter-form-utils.d.ts → filterFormUtils.d.ts} +1 -1
- package/dist/components/filter/utils/{filter-form-utils.js → filterFormUtils.js} +4 -4
- package/dist/components/{FlatParameters → flatParameters}/FlatParameters.js +1 -1
- package/dist/components/inputs/{select-clearable.js → SelectClearable.js} +1 -1
- package/dist/components/inputs/{react-hook-form/directory-items-input.js → reactHookForm/DirectoryItemsInput.js} +7 -7
- package/dist/components/inputs/{react-hook-form/ag-grid-table/bottom-right-buttons.js → reactHookForm/agGridTable/BottomRightButtons.js} +3 -3
- package/dist/components/inputs/{react-hook-form/ag-grid-table/custom-ag-grid-table.js → reactHookForm/agGridTable/CustomAgGridTable.js} +2 -2
- package/dist/components/inputs/{react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js → reactHookForm/agGridTable/csvUploader/CsvUploader.js} +2 -2
- package/dist/components/inputs/{react-hook-form/autocomplete-inputs/autocomplete-input.d.ts → reactHookForm/autocompleteInputs/AutocompleteInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/autocomplete-inputs/autocomplete-input.js → reactHookForm/autocompleteInputs/AutocompleteInput.js} +2 -2
- package/dist/components/inputs/{react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js → reactHookForm/autocompleteInputs/MultipleAutocompleteInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/booleans/checkbox-input.js → reactHookForm/booleans/CheckboxInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/radio-input.js → reactHookForm/booleans/RadioInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/booleans/switch-input.js → reactHookForm/booleans/SwitchInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/float-input.d.ts → reactHookForm/numbers/FloatInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/float-input.js → reactHookForm/numbers/FloatInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/integer-input.d.ts → reactHookForm/numbers/IntegerInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/integer-input.js → reactHookForm/numbers/IntegerInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/range-input.d.ts → reactHookForm/numbers/RangeInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/range-input.js → reactHookForm/numbers/RangeInput.js} +4 -4
- package/dist/components/inputs/{react-hook-form/slider-input.js → reactHookForm/numbers/SliderInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/provider/custom-form-provider.js → reactHookForm/provider/CustomFormProvider.js} +1 -1
- package/dist/components/inputs/{react-hook-form/provider/use-custom-form-context.d.ts → reactHookForm/provider/useCustomFormContext.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/provider/use-custom-form-context.js → reactHookForm/provider/useCustomFormContext.js} +1 -1
- package/dist/components/inputs/{react-hook-form/select-inputs/countries-input.js → reactHookForm/selectInputs/CountriesInput.js} +3 -3
- package/dist/components/inputs/{react-hook-form/select-inputs/input-with-popup-confirmation.js → reactHookForm/selectInputs/InputWithPopupConfirmation.js} +1 -1
- package/dist/components/inputs/{react-hook-form/select-inputs/select-input.d.ts → reactHookForm/selectInputs/SelectInput.d.ts} +2 -2
- package/dist/components/inputs/{react-hook-form/select-inputs/select-input.js → reactHookForm/selectInputs/SelectInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/description-field.js → reactHookForm/text/DescriptionField.js} +1 -1
- package/dist/components/inputs/{react-hook-form → reactHookForm/text}/ExpandingTextField.d.ts +1 -1
- package/dist/components/inputs/{react-hook-form → reactHookForm/text}/ExpandingTextField.js +2 -2
- package/dist/components/inputs/{react-hook-form/text-input.d.ts → reactHookForm/text/TextInput.d.ts} +2 -2
- package/dist/components/inputs/{react-hook-form/text-input.js → reactHookForm/text/TextInput.js} +4 -4
- package/dist/components/inputs/{react-hook-form/unique-name-input.d.ts → reactHookForm/text/UniqueNameInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/unique-name-input.js → reactHookForm/text/UniqueNameInput.js} +2 -2
- package/dist/components/inputs/{react-hook-form/utils/text-field-with-adornment.d.ts → reactHookForm/utils/TextFieldWithAdornment.d.ts} +1 -1
- package/dist/components/inputs/{react-query-builder/combinator-selector.js → reactQueryBuilder/CombinatorSelector.js} +1 -1
- package/dist/components/inputs/{react-query-builder/country-value-editor.js → reactQueryBuilder/CountryValueEditor.js} +6 -6
- package/dist/components/inputs/{react-query-builder/custom-react-query-builder.js → reactQueryBuilder/CustomReactQueryBuilder.js} +9 -9
- package/dist/components/inputs/{react-query-builder/element-value-editor.js → reactQueryBuilder/ElementValueEditor.js} +2 -2
- package/dist/components/inputs/{react-query-builder/property-value-editor.js → reactQueryBuilder/PropertyValueEditor.js} +4 -4
- package/dist/components/inputs/{react-query-builder/remove-button.js → reactQueryBuilder/RemoveButton.js} +1 -1
- package/dist/components/inputs/{react-query-builder/text-value-editor.js → reactQueryBuilder/TextValueEditor.js} +2 -2
- package/dist/components/inputs/{react-query-builder/translated-value-editor.js → reactQueryBuilder/TranslatedValueEditor.js} +2 -2
- package/dist/components/inputs/{react-query-builder/value-editor.js → reactQueryBuilder/ValueEditor.js} +12 -12
- package/dist/components/inputs/{react-query-builder/composite-rule-editor/group-value-editor.d.ts → reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts} +1 -1
- package/dist/components/inputs/{react-query-builder/composite-rule-editor/group-value-editor.js → reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js} +1 -1
- package/dist/components/inputs/{react-query-builder/composite-rule-editor/rule-value-editor.d.ts → reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts} +1 -1
- package/dist/components/inputs/{react-query-builder/use-convert-value.js → reactQueryBuilder/hooks/useConvertValue.js} +1 -1
- package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/MuiVirtualizedTable.js +1 -1
- package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/MultipleSelectionDialog.d.ts +1 -1
- package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/MultipleSelectionDialog.js +2 -2
- package/dist/components/overflowableText/index.d.ts +4 -0
- package/dist/components/overflowableText/index.js +4 -0
- package/dist/components/{TopBar → topBar}/TopBar.d.ts +1 -1
- package/dist/components/{TreeViewFinder → treeViewFinder}/TreeViewFinder.js +1 -1
- package/dist/hooks/useConfidentialityWarning.js +1 -1
- package/dist/hooks/{localized-countries-hook.js → useLocalizedCountries.js} +1 -1
- package/dist/hooks/{predefined-properties-hook.d.ts → usePredefinedProperties.d.ts} +1 -1
- package/dist/hooks/{predefined-properties-hook.js → usePredefinedProperties.js} +2 -2
- package/dist/index.d.ts +166 -171
- package/dist/index.js +215 -213
- package/dist/services/{apps-metadata.d.ts → appsMetadata.d.ts} +1 -1
- package/dist/services/directory.d.ts +1 -1
- package/dist/services/explore.d.ts +1 -1
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +1 -1
- package/dist/utils/{ElementIcon.d.ts → mapper/elementIcon.d.ts} +1 -1
- package/dist/utils/{ElementIcon.js → mapper/elementIcon.js} +1 -1
- package/dist/utils/{equipment-types-for-predefined-properties-mapper.d.ts → mapper/equipmentTypesForPredefinedPropertiesMapper.d.ts} +1 -1
- package/dist/utils/{EquipmentType.js → types/equipmentType.js} +1 -1
- package/dist/utils/{types.d.ts → types/types.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/components/AuthenticationRouter/index.d.ts +0 -4
- package/dist/components/AuthenticationRouter/index.js +0 -4
- package/dist/components/CardErrorBoundary/index.d.ts +0 -3
- package/dist/components/CardErrorBoundary/index.js +0 -4
- package/dist/components/CheckBoxList/check-box-list.d.ts +0 -4
- package/dist/components/CheckBoxList/index.d.ts +0 -3
- package/dist/components/CheckBoxList/index.js +0 -4
- package/dist/components/ElementSearchDialog/index.d.ts +0 -13
- package/dist/components/ElementSearchDialog/index.js +0 -10
- package/dist/components/ExpandableGroup/index.d.ts +0 -4
- package/dist/components/ExpandableGroup/index.js +0 -4
- package/dist/components/Login/index.d.ts +0 -3
- package/dist/components/Login/index.js +0 -4
- package/dist/components/OverflowableText/index.d.ts +0 -4
- package/dist/components/OverflowableText/index.js +0 -4
- package/dist/components/ReportViewer/filter-button.d.ts +0 -11
- package/dist/components/ReportViewer/filter-button.js +0 -62
- package/dist/components/ReportViewer/index.d.ts +0 -4
- package/dist/components/ReportViewer/index.js +0 -4
- package/dist/components/ReportViewer/log-report-item.d.ts +0 -18
- package/dist/components/ReportViewer/log-report-item.js +0 -54
- package/dist/components/ReportViewer/log-report.d.ts +0 -20
- package/dist/components/ReportViewer/log-report.js +0 -41
- package/dist/components/ReportViewer/log-severity.d.ts +0 -13
- package/dist/components/ReportViewer/log-severity.js +0 -35
- package/dist/components/ReportViewer/log-table.d.ts +0 -11
- package/dist/components/ReportViewer/log-table.js +0 -121
- package/dist/components/ReportViewer/multi-select-list.d.ts +0 -17
- package/dist/components/ReportViewer/multi-select-list.js +0 -27
- package/dist/components/ReportViewer/report-item.d.ts +0 -13
- package/dist/components/ReportViewer/report-item.js +0 -100
- package/dist/components/ReportViewer/report-tree-view-context.d.ts +0 -12
- package/dist/components/ReportViewer/report-tree-view-context.js +0 -8
- package/dist/components/ReportViewer/report-viewer.d.ts +0 -7
- package/dist/components/ReportViewer/report-viewer.js +0 -154
- package/dist/components/ReportViewer/report.type.d.ts +0 -22
- package/dist/components/ReportViewerDialog/index.d.ts +0 -4
- package/dist/components/ReportViewerDialog/index.js +0 -4
- package/dist/components/ReportViewerDialog/report-viewer-dialog.d.ts +0 -9
- package/dist/components/ReportViewerDialog/report-viewer-dialog.js +0 -49
- package/dist/components/SignInCallbackHandler/index.d.ts +0 -3
- package/dist/components/SignInCallbackHandler/index.js +0 -4
- package/dist/components/SilentRenewCallbackHandler/index.d.ts +0 -3
- package/dist/components/SilentRenewCallbackHandler/index.js +0 -4
- package/dist/utils/Metadata.js +0 -1
- /package/dist/assets/{expert-filter-form.css → ExpertFilterForm.css} +0 -0
- /package/dist/components/{Login → authentication}/Login.d.ts +0 -0
- /package/dist/components/{Login → authentication}/Login.js +0 -0
- /package/dist/components/{Login → authentication}/Logout.d.ts +0 -0
- /package/dist/components/{Login → authentication}/Logout.js +0 -0
- /package/dist/components/{SignInCallbackHandler → authentication}/SignInCallbackHandler.d.ts +0 -0
- /package/dist/components/{SignInCallbackHandler → authentication}/SignInCallbackHandler.js +0 -0
- /package/dist/components/{SilentRenewCallbackHandler → authentication}/SilentRenewCallbackHandler.d.ts +0 -0
- /package/dist/components/{SilentRenewCallbackHandler → authentication}/SilentRenewCallbackHandler.js +0 -0
- /package/dist/{utils/UserManagerMock.d.ts → components/authentication/utils/userManagerMock.d.ts} +0 -0
- /package/dist/{utils/UserManagerMock.js → components/authentication/utils/userManagerMock.js} +0 -0
- /package/dist/components/{CardErrorBoundary/card-error-boundary.d.ts → cardErrorBoundary/CardErrorBoundary.d.ts} +0 -0
- /package/dist/components/{CardErrorBoundary/card-error-boundary.js → cardErrorBoundary/CardErrorBoundary.js} +0 -0
- /package/dist/components/{CheckBoxList/check-box-list-type.d.ts → checkBoxList/checkBoxList.type.d.ts} +0 -0
- /package/dist/components/{CheckBoxList/check-box-list-type.js → checkBoxList/checkBoxList.type.js} +0 -0
- /package/dist/components/{CustomAGGrid/custom-aggrid.d.ts → customAGGrid/customAggrid.d.ts} +0 -0
- /package/dist/components/{CustomAGGrid/custom-aggrid.style.d.ts → customAGGrid/customAggrid.style.d.ts} +0 -0
- /package/dist/components/{CustomAGGrid/custom-aggrid.style.js → customAGGrid/customAggrid.style.js} +0 -0
- /package/dist/components/dialogs/{description-modification-dialog.d.ts → descriptionModificationDialog/DescriptionModificationDialog.d.ts} +0 -0
- /package/dist/components/dialogs/{popup-confirmation-dialog.d.ts → popupConfirmationDialog/PopupConfirmationDialog.d.ts} +0 -0
- /package/dist/components/{ElementSearchDialog/element-search-input.d.ts → elementSearch/elementSearchInput/ElementSearchInput.d.ts} +0 -0
- /package/dist/components/{ElementSearchDialog/element-search-input.js → elementSearch/elementSearchInput/ElementSearchInput.js} +0 -0
- /package/dist/components/{ElementSearchDialog/use-element-search.d.ts → elementSearch/hooks/useElementSearch.d.ts} +0 -0
- /package/dist/components/{ExpandableGroup/expandable-group.d.ts → expandableGroup/ExpandableGroup.d.ts} +0 -0
- /package/dist/components/{ExpandableGroup/expandable-group.js → expandableGroup/ExpandableGroup.js} +0 -0
- /package/dist/components/filter/constants/{filter-constants.d.ts → FilterConstants.d.ts} +0 -0
- /package/dist/components/filter/constants/{filter-constants.js → FilterConstants.js} +0 -0
- /package/dist/components/filter/expert/{expert-filter.type.d.ts → expertFilter.type.d.ts} +0 -0
- /package/dist/components/filter/expert/{expert-filter.type.js → expertFilter.type.js} +0 -0
- /package/dist/components/filter/utils/{filter-api.d.ts → filterApi.d.ts} +0 -0
- /package/dist/components/{FlatParameters → flatParameters}/FlatParameters.d.ts +0 -0
- /package/dist/components/{FlatParameters → flatParameters}/index.d.ts +0 -0
- /package/dist/components/{FlatParameters → flatParameters}/index.js +0 -0
- /package/dist/components/inputs/{select-clearable.d.ts → SelectClearable.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/directory-items-input.d.ts → reactHookForm/DirectoryItemsInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/raw-read-only-input.d.ts → reactHookForm/RawReadOnlyInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/raw-read-only-input.js → reactHookForm/RawReadOnlyInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/bottom-right-buttons.d.ts → reactHookForm/agGridTable/BottomRightButtons.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/custom-ag-grid-table.d.ts → reactHookForm/agGridTable/CustomAgGridTable.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/cell-editors → reactHookForm/agGridTable/cellEditors}/numericEditor.d.ts +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/cell-editors → reactHookForm/agGridTable/cellEditors}/numericEditor.js +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/csv-uploader/csv-uploader.d.ts → reactHookForm/agGridTable/csvUploader/CsvUploader.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/autocomplete-inputs/multiple-autocomplete-input.d.ts → reactHookForm/autocompleteInputs/MultipleAutocompleteInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/boolean-input.d.ts → reactHookForm/booleans/BooleanInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/boolean-input.js → reactHookForm/booleans/BooleanInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/checkbox-input.d.ts → reactHookForm/booleans/CheckboxInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/radio-input.d.ts → reactHookForm/booleans/RadioInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/switch-input.d.ts → reactHookForm/booleans/SwitchInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/error-input.d.ts → reactHookForm/errorManagement/ErrorInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/error-input.js → reactHookForm/errorManagement/ErrorInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/field-error-alert.d.ts → reactHookForm/errorManagement/FieldErrorAlert.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/field-error-alert.js → reactHookForm/errorManagement/FieldErrorAlert.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/mid-form-error.d.ts → reactHookForm/errorManagement/MidFormError.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/mid-form-error.js → reactHookForm/errorManagement/MidFormError.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/slider-input.d.ts → reactHookForm/numbers/SliderInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/numbers/utils.d.ts +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/numbers/utils.js +0 -0
- /package/dist/components/inputs/{react-hook-form/provider/custom-form-provider.d.ts → reactHookForm/provider/CustomFormProvider.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/countries-input.d.ts → reactHookForm/selectInputs/CountriesInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/input-with-popup-confirmation.d.ts → reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/mui-select-input.d.ts → reactHookForm/selectInputs/MuiSelectInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/mui-select-input.js → reactHookForm/selectInputs/MuiSelectInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/description-field.d.ts → reactHookForm/text/DescriptionField.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/cancel-button.d.ts → reactHookForm/utils/CancelButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/cancel-button.js → reactHookForm/utils/CancelButton.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/field-label.d.ts → reactHookForm/utils/FieldLabel.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/field-label.js → reactHookForm/utils/FieldLabel.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/submit-button.d.ts → reactHookForm/utils/SubmitButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/submit-button.js → reactHookForm/utils/SubmitButton.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/text-field-with-adornment.js → reactHookForm/utils/TextFieldWithAdornment.js} +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/utils/functions.d.ts +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/utils/functions.js +0 -0
- /package/dist/components/inputs/{react-query-builder/add-button.d.ts → reactQueryBuilder/AddButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/add-button.js → reactQueryBuilder/AddButton.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/autocomplete-with-favorites.d.ts → reactQueryBuilder/AutocompleteWithFavorites.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/autocomplete-with-favorites.js → reactQueryBuilder/AutocompleteWithFavorites.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/combinator-selector.d.ts → reactQueryBuilder/CombinatorSelector.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/country-value-editor.d.ts → reactQueryBuilder/CountryValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/custom-react-query-builder.d.ts → reactQueryBuilder/CustomReactQueryBuilder.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/element-value-editor.d.ts → reactQueryBuilder/ElementValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/property-value-editor.d.ts → reactQueryBuilder/PropertyValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/remove-button.d.ts → reactQueryBuilder/RemoveButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/text-value-editor.d.ts → reactQueryBuilder/TextValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/translated-value-editor.d.ts → reactQueryBuilder/TranslatedValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/value-editor.d.ts → reactQueryBuilder/ValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/value-selector.d.ts → reactQueryBuilder/ValueSelector.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/value-selector.js → reactQueryBuilder/ValueSelector.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/composite-rule-editor/rule-value-editor.js → reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/use-convert-value.d.ts → reactQueryBuilder/hooks/useConvertValue.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/use-valid.d.ts → reactQueryBuilder/hooks/useValid.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/use-valid.js → reactQueryBuilder/hooks/useValid.js} +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/ColumnHeader.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/ColumnHeader.js +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/KeyedColumnsRowIndexer.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/KeyedColumnsRowIndexer.js +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/MuiVirtualizedTable.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/index.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/index.js +0 -0
- /package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/index.d.ts +0 -0
- /package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/index.js +0 -0
- /package/dist/components/{OverflowableText/overflowable-text.d.ts → overflowableText/OverflowableText.d.ts} +0 -0
- /package/dist/components/{OverflowableText/overflowable-text.js → overflowableText/OverflowableText.js} +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/SnackbarProvider.d.ts +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/SnackbarProvider.js +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/index.d.ts +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/index.js +0 -0
- /package/dist/components/{TopBar → topBar}/AboutDialog.d.ts +0 -0
- /package/dist/components/{TopBar → topBar}/AboutDialog.js +0 -0
- /package/dist/components/{TopBar → topBar}/GridLogo.d.ts +0 -0
- /package/dist/components/{TopBar → topBar}/GridLogo.js +0 -0
- /package/dist/components/{TopBar → topBar}/TopBar.js +0 -0
- /package/dist/components/{TopBar → topBar}/index.d.ts +0 -0
- /package/dist/components/{TopBar → topBar}/index.js +0 -0
- /package/dist/components/{TopBar → topBar/tests}/TopBar.test.d.ts +0 -0
- /package/dist/components/{TreeViewFinder → treeViewFinder}/TreeViewFinder.d.ts +0 -0
- /package/dist/components/{TreeViewFinder → treeViewFinder}/index.d.ts +0 -0
- /package/dist/components/{TreeViewFinder → treeViewFinder}/index.js +0 -0
- /package/dist/hooks/{localized-countries-hook.d.ts → useLocalizedCountries.d.ts} +0 -0
- /package/dist/redux/{authActions.d.ts → actions/authActions.d.ts} +0 -0
- /package/dist/redux/{authActions.js → actions/authActions.js} +0 -0
- /package/dist/services/{apps-metadata.js → appsMetadata.js} +0 -0
- /package/dist/{components/translations/card-error-boundary-en.d.ts → translations/en/cardErrorBoundaryEn.d.ts} +0 -0
- /package/dist/{components/translations/card-error-boundary-en.js → translations/en/cardErrorBoundaryEn.js} +0 -0
- /package/dist/{components/translations/common-button-en.d.ts → translations/en/commonButtonEn.d.ts} +0 -0
- /package/dist/{components/translations/common-button-en.js → translations/en/commonButtonEn.js} +0 -0
- /package/dist/{components/translations/csv-en.d.ts → translations/en/csvEn.d.ts} +0 -0
- /package/dist/{components/translations/csv-en.js → translations/en/csvEn.js} +0 -0
- /package/dist/{components/translations/description-en.d.ts → translations/en/descriptionEn.d.ts} +0 -0
- /package/dist/{components/translations/description-en.js → translations/en/descriptionEn.js} +0 -0
- /package/dist/{components/translations/directory-items-input-en.d.ts → translations/en/directoryItemsInputEn.d.ts} +0 -0
- /package/dist/{components/translations/directory-items-input-en.js → translations/en/directoryItemsInputEn.js} +0 -0
- /package/dist/{components/translations/element-search-en.d.ts → translations/en/elementSearchEn.d.ts} +0 -0
- /package/dist/{components/translations/element-search-en.js → translations/en/elementSearchEn.js} +0 -0
- /package/dist/{components/translations/equipment-search-en.d.ts → translations/en/equipmentSearchEn.d.ts} +0 -0
- /package/dist/{components/translations/equipment-search-en.js → translations/en/equipmentSearchEn.js} +0 -0
- /package/dist/{components/translations/equipments-en.d.ts → translations/en/equipmentsEn.d.ts} +0 -0
- /package/dist/{components/translations/equipments-en.js → translations/en/equipmentsEn.js} +0 -0
- /package/dist/{components/translations/filter-en.d.ts → translations/en/filterEn.d.ts} +0 -0
- /package/dist/{components/translations/filter-en.js → translations/en/filterEn.js} +0 -0
- /package/dist/{components/translations/filter-expert-en.d.ts → translations/en/filterExpertEn.d.ts} +0 -0
- /package/dist/{components/translations/filter-expert-en.js → translations/en/filterExpertEn.js} +0 -0
- /package/dist/{components/translations/flat-parameters-en.d.ts → translations/en/flatParametersEn.d.ts} +0 -0
- /package/dist/{components/translations/flat-parameters-en.js → translations/en/flatParametersEn.js} +0 -0
- /package/dist/{components/translations/inputs-en.d.ts → translations/en/inputsEn.d.ts} +0 -0
- /package/dist/{components/translations/inputs-en.js → translations/en/inputsEn.js} +0 -0
- /package/dist/{components/translations/login-en.d.ts → translations/en/loginEn.d.ts} +0 -0
- /package/dist/{components/translations/login-en.js → translations/en/loginEn.js} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-en.d.ts → translations/en/multipleSelectionDialogEn.d.ts} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-en.js → translations/en/multipleSelectionDialogEn.js} +0 -0
- /package/dist/{components/translations/report-viewer-en.d.ts → translations/en/reportViewerEn.d.ts} +0 -0
- /package/dist/{components/translations/report-viewer-en.js → translations/en/reportViewerEn.js} +0 -0
- /package/dist/{components/translations/table-en.d.ts → translations/en/tableEn.d.ts} +0 -0
- /package/dist/{components/translations/table-en.js → translations/en/tableEn.js} +0 -0
- /package/dist/{components/translations/top-bar-en.d.ts → translations/en/topBarEn.d.ts} +0 -0
- /package/dist/{components/translations/top-bar-en.js → translations/en/topBarEn.js} +0 -0
- /package/dist/{components/translations/treeview-finder-en.d.ts → translations/en/treeviewFinderEn.d.ts} +0 -0
- /package/dist/{components/translations/treeview-finder-en.js → translations/en/treeviewFinderEn.js} +0 -0
- /package/dist/{components/translations/card-error-boundary-fr.d.ts → translations/fr/cardErrorBoundaryFr.d.ts} +0 -0
- /package/dist/{components/translations/card-error-boundary-fr.js → translations/fr/cardErrorBoundaryFr.js} +0 -0
- /package/dist/{components/translations/common-button-fr.d.ts → translations/fr/commonButtonFr.d.ts} +0 -0
- /package/dist/{components/translations/common-button-fr.js → translations/fr/commonButtonFr.js} +0 -0
- /package/dist/{components/translations/csv-fr.d.ts → translations/fr/csvFr.d.ts} +0 -0
- /package/dist/{components/translations/csv-fr.js → translations/fr/csvFr.js} +0 -0
- /package/dist/{components/translations/description-fr.d.ts → translations/fr/descriptionFr.d.ts} +0 -0
- /package/dist/{components/translations/description-fr.js → translations/fr/descriptionFr.js} +0 -0
- /package/dist/{components/translations/directory-items-input-fr.d.ts → translations/fr/directoryItemsInputFr.d.ts} +0 -0
- /package/dist/{components/translations/directory-items-input-fr.js → translations/fr/directoryItemsInputFr.js} +0 -0
- /package/dist/{components/translations/element-search-fr.d.ts → translations/fr/elementSearchFr.d.ts} +0 -0
- /package/dist/{components/translations/element-search-fr.js → translations/fr/elementSearchFr.js} +0 -0
- /package/dist/{components/translations/equipment-search-fr.d.ts → translations/fr/equipmentSearchFr.d.ts} +0 -0
- /package/dist/{components/translations/equipment-search-fr.js → translations/fr/equipmentSearchFr.js} +0 -0
- /package/dist/{components/translations/equipments-fr.d.ts → translations/fr/equipmentsFr.d.ts} +0 -0
- /package/dist/{components/translations/equipments-fr.js → translations/fr/equipmentsFr.js} +0 -0
- /package/dist/{components/translations/filter-expert-fr.d.ts → translations/fr/filterExpertFr.d.ts} +0 -0
- /package/dist/{components/translations/filter-expert-fr.js → translations/fr/filterExpertFr.js} +0 -0
- /package/dist/{components/translations/filter-fr.d.ts → translations/fr/filterFr.d.ts} +0 -0
- /package/dist/{components/translations/filter-fr.js → translations/fr/filterFr.js} +0 -0
- /package/dist/{components/translations/flat-parameters-fr.d.ts → translations/fr/flatParametersFr.d.ts} +0 -0
- /package/dist/{components/translations/flat-parameters-fr.js → translations/fr/flatParametersFr.js} +0 -0
- /package/dist/{components/translations/inputs-fr.d.ts → translations/fr/inputsFr.d.ts} +0 -0
- /package/dist/{components/translations/inputs-fr.js → translations/fr/inputsFr.js} +0 -0
- /package/dist/{components/translations/login-fr.d.ts → translations/fr/loginFr.d.ts} +0 -0
- /package/dist/{components/translations/login-fr.js → translations/fr/loginFr.js} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-fr.d.ts → translations/fr/multipleSelectionDialogFr.d.ts} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-fr.js → translations/fr/multipleSelectionDialogFr.js} +0 -0
- /package/dist/{components/translations/report-viewer-fr.d.ts → translations/fr/reportViewerFr.d.ts} +0 -0
- /package/dist/{components/translations/report-viewer-fr.js → translations/fr/reportViewerFr.js} +0 -0
- /package/dist/{components/translations/table-fr.d.ts → translations/fr/tableFr.d.ts} +0 -0
- /package/dist/{components/translations/table-fr.js → translations/fr/tableFr.js} +0 -0
- /package/dist/{components/translations/top-bar-fr.d.ts → translations/fr/topBarFr.d.ts} +0 -0
- /package/dist/{components/translations/top-bar-fr.js → translations/fr/topBarFr.js} +0 -0
- /package/dist/{components/translations/treeview-finder-fr.d.ts → translations/fr/treeviewFinderFr.d.ts} +0 -0
- /package/dist/{components/translations/treeview-finder-fr.js → translations/fr/treeviewFinderFr.js} +0 -0
- /package/dist/utils/{FetchStatus.d.ts → constants/fetchStatus.d.ts} +0 -0
- /package/dist/utils/{FetchStatus.js → constants/fetchStatus.js} +0 -0
- /package/dist/utils/{field-constants.d.ts → constants/fieldConstants.d.ts} +0 -0
- /package/dist/utils/{field-constants.js → constants/fieldConstants.js} +0 -0
- /package/dist/utils/{conversion-utils.d.ts → conversionUtils.d.ts} +0 -0
- /package/dist/utils/{conversion-utils.js → conversionUtils.js} +0 -0
- /package/dist/utils/{equipment-types-for-predefined-properties-mapper.js → mapper/equipmentTypesForPredefinedPropertiesMapper.js} +0 -0
- /package/dist/utils/{ElementType.d.ts → types/elementType.d.ts} +0 -0
- /package/dist/utils/{ElementType.js → types/elementType.js} +0 -0
- /package/dist/utils/{EquipmentType.d.ts → types/equipmentType.d.ts} +0 -0
- /package/dist/utils/{equipment-types.d.ts → types/equipmentTypes.d.ts} +0 -0
- /package/dist/utils/{equipment-types.js → types/equipmentTypes.js} +0 -0
- /package/dist/utils/{Metadata.d.ts → types/metadata.d.ts} +0 -0
- /package/dist/{components/ReportViewer/report.type.js → utils/types/metadata.js} +0 -0
- /package/dist/utils/{types.js → types/types.js} +0 -0
- /package/dist/utils/{yup-config.d.ts → yupConfig.d.ts} +0 -0
- /package/dist/utils/{yup-config.js → yupConfig.js} +0 -0
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React, { createContext } from "react";
|
|
3
3
|
import { FormProvider } from "react-hook-form";
|
|
4
4
|
import * as yup from "yup";
|
|
5
|
-
import { getSystemLanguage } from "../../../../hooks/
|
|
5
|
+
import { getSystemLanguage } from "../../../../hooks/useLocalizedCountries.js";
|
|
6
6
|
const CustomFormContext = createContext({
|
|
7
7
|
removeOptional: false,
|
|
8
8
|
validationSchema: yup.object(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useFormContext } from "react-hook-form";
|
|
2
2
|
import { useContext } from "react";
|
|
3
|
-
import { CustomFormContext } from "./
|
|
3
|
+
import { CustomFormContext } from "./CustomFormProvider.js";
|
|
4
4
|
const useCustomFormContext = () => {
|
|
5
5
|
const formMethods = useFormContext();
|
|
6
6
|
const customFormMethods = useContext(CustomFormContext);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback } from "react";
|
|
3
3
|
import { Chip } from "@mui/material";
|
|
4
|
-
import AutocompleteInput from "../
|
|
5
|
-
import { useLocalizedCountries } from "../../../../hooks/
|
|
6
|
-
import useCustomFormContext from "../provider/
|
|
4
|
+
import AutocompleteInput from "../autocompleteInputs/AutocompleteInput.js";
|
|
5
|
+
import { useLocalizedCountries } from "../../../../hooks/useLocalizedCountries.js";
|
|
6
|
+
import useCustomFormContext from "../provider/useCustomFormContext.js";
|
|
7
7
|
function CountriesInput({ name, label }) {
|
|
8
8
|
const { language } = useCustomFormContext();
|
|
9
9
|
const { translate, countryCodes } = useLocalizedCountries(language);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useController } from "react-hook-form";
|
|
3
3
|
import { useState } from "react";
|
|
4
|
-
import PopupConfirmationDialog from "../../../dialogs/
|
|
4
|
+
import PopupConfirmationDialog from "../../../dialogs/popupConfirmationDialog/PopupConfirmationDialog.js";
|
|
5
5
|
function InputWithPopupConfirmation({
|
|
6
6
|
Input,
|
|
7
7
|
name,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Option } from '../../../../utils/types';
|
|
2
|
-
import { AutocompleteInputProps } from '../
|
|
1
|
+
import { Option } from '../../../../utils/types/types';
|
|
2
|
+
import { AutocompleteInputProps } from '../autocompleteInputs/AutocompleteInput';
|
|
3
3
|
|
|
4
4
|
export interface SelectInputProps extends Omit<AutocompleteInputProps, 'outputTransform' | 'inputTransform' | 'readOnly' | 'getOptionLabel'> {
|
|
5
5
|
options: Option[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useIntl } from "react-intl";
|
|
3
|
-
import AutocompleteInput from "../
|
|
3
|
+
import AutocompleteInput from "../autocompleteInputs/AutocompleteInput.js";
|
|
4
4
|
function SelectInput(props) {
|
|
5
5
|
const intl = useIntl();
|
|
6
6
|
const { options } = props;
|
|
@@ -5,7 +5,7 @@ import { Box, Button } from "@mui/material";
|
|
|
5
5
|
import AddIcon from "@mui/icons-material/Add";
|
|
6
6
|
import DeleteIcon from "@mui/icons-material/Delete";
|
|
7
7
|
import { useFormContext } from "react-hook-form";
|
|
8
|
-
import FieldConstants from "
|
|
8
|
+
import FieldConstants from "../../../../utils/constants/fieldConstants.js";
|
|
9
9
|
import ExpandingTextField from "./ExpandingTextField.js";
|
|
10
10
|
function DescriptionField() {
|
|
11
11
|
const [isDescriptionFieldVisible, setIsDescriptionFieldVisible] = useState(false);
|
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { Typography } from "@mui/material";
|
|
4
4
|
import { useWatch } from "react-hook-form";
|
|
5
|
-
import useCustomFormContext from "
|
|
6
|
-
import TextInput from "./
|
|
5
|
+
import useCustomFormContext from "../provider/useCustomFormContext.js";
|
|
6
|
+
import TextInput from "./TextInput.js";
|
|
7
7
|
function ExpandingTextField({
|
|
8
8
|
name,
|
|
9
9
|
maxCharactersNumber = 500,
|
package/dist/components/inputs/{react-hook-form/text-input.d.ts → reactHookForm/text/TextInput.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Input } from '
|
|
2
|
-
import { TextFieldWithAdornmentProps } from '
|
|
1
|
+
import { Input } from '../../../../utils/types/types';
|
|
2
|
+
import { TextFieldWithAdornmentProps } from '../utils/TextFieldWithAdornment';
|
|
3
3
|
import { TextFieldProps } from '@mui/material';
|
|
4
4
|
import { ReactElement } from 'react';
|
|
5
5
|
|
package/dist/components/inputs/{react-hook-form/text-input.js → reactHookForm/text/TextInput.js}
RENAMED
|
@@ -2,10 +2,10 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { InputAdornment, IconButton, TextField } from "@mui/material";
|
|
3
3
|
import { Clear } from "@mui/icons-material";
|
|
4
4
|
import { useController } from "react-hook-form";
|
|
5
|
-
import TextFieldWithAdornment from "
|
|
6
|
-
import FieldLabel from "
|
|
7
|
-
import { isFieldRequired, genHelperPreviousValue, genHelperError, identity } from "
|
|
8
|
-
import useCustomFormContext from "
|
|
5
|
+
import TextFieldWithAdornment from "../utils/TextFieldWithAdornment.js";
|
|
6
|
+
import FieldLabel from "../utils/FieldLabel.js";
|
|
7
|
+
import { isFieldRequired, genHelperPreviousValue, genHelperError, identity } from "../utils/functions.js";
|
|
8
|
+
import useCustomFormContext from "../provider/useCustomFormContext.js";
|
|
9
9
|
function TextInput({
|
|
10
10
|
name,
|
|
11
11
|
label,
|
|
@@ -6,8 +6,8 @@ import CheckIcon from "@mui/icons-material/Check";
|
|
|
6
6
|
import { useController, useFormContext } from "react-hook-form";
|
|
7
7
|
import CircularProgress from "@mui/material/CircularProgress";
|
|
8
8
|
import TextField from "@mui/material/TextField";
|
|
9
|
-
import useDebounce from "
|
|
10
|
-
import FieldConstants from "
|
|
9
|
+
import useDebounce from "../../../../hooks/useDebounce.js";
|
|
10
|
+
import FieldConstants from "../../../../utils/constants/fieldConstants.js";
|
|
11
11
|
function UniqueNameInput({
|
|
12
12
|
name,
|
|
13
13
|
label,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useCallback } from "react";
|
|
3
3
|
import { MaterialValueSelector } from "@react-querybuilder/material";
|
|
4
|
-
import PopupConfirmationDialog from "../../dialogs/
|
|
4
|
+
import PopupConfirmationDialog from "../../dialogs/popupConfirmationDialog/PopupConfirmationDialog.js";
|
|
5
5
|
function CombinatorSelector(props) {
|
|
6
6
|
const { value, handleOnChange } = props;
|
|
7
7
|
const [tempCombinator, setTempCombinator] = useState(value);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
|
-
import { useLocalizedCountries } from "../../../hooks/
|
|
4
|
-
import useCustomFormContext from "../
|
|
5
|
-
import { fetchFavoriteAndDefaultCountries } from "../../../services/
|
|
6
|
-
import AutocompleteWithFavorites from "./
|
|
7
|
-
import useConvertValue from "./
|
|
8
|
-
import useValid from "./
|
|
3
|
+
import { useLocalizedCountries } from "../../../hooks/useLocalizedCountries.js";
|
|
4
|
+
import useCustomFormContext from "../reactHookForm/provider/useCustomFormContext.js";
|
|
5
|
+
import { fetchFavoriteAndDefaultCountries } from "../../../services/appsMetadata.js";
|
|
6
|
+
import AutocompleteWithFavorites from "./AutocompleteWithFavorites.js";
|
|
7
|
+
import useConvertValue from "./hooks/useConvertValue.js";
|
|
8
|
+
import useValid from "./hooks/useValid.js";
|
|
9
9
|
function CountryValueEditor(props) {
|
|
10
10
|
const { value, handleOnChange } = props;
|
|
11
11
|
const { language } = useCustomFormContext();
|
|
@@ -8,15 +8,15 @@ import { formatQuery, QueryBuilder } from "react-querybuilder";
|
|
|
8
8
|
import { useIntl } from "react-intl";
|
|
9
9
|
import { useFormContext } from "react-hook-form";
|
|
10
10
|
import { useCallback, useMemo } from "react";
|
|
11
|
-
import CombinatorSelector from "./
|
|
12
|
-
import AddButton from "./
|
|
13
|
-
import ValueEditor from "./
|
|
14
|
-
import ValueSelector from "./
|
|
15
|
-
import { COMBINATOR_OPTIONS } from "../../filter/expert/
|
|
16
|
-
import ErrorInput from "../
|
|
17
|
-
import FieldErrorAlert from "../
|
|
18
|
-
import { countRules, getOperators, queryValidator } from "../../filter/expert/
|
|
19
|
-
import RemoveButton from "./
|
|
11
|
+
import CombinatorSelector from "./CombinatorSelector.js";
|
|
12
|
+
import AddButton from "./AddButton.js";
|
|
13
|
+
import ValueEditor from "./ValueEditor.js";
|
|
14
|
+
import ValueSelector from "./ValueSelector.js";
|
|
15
|
+
import { COMBINATOR_OPTIONS } from "../../filter/expert/expertFilterConstants.js";
|
|
16
|
+
import ErrorInput from "../reactHookForm/errorManagement/ErrorInput.js";
|
|
17
|
+
import FieldErrorAlert from "../reactHookForm/errorManagement/FieldErrorAlert.js";
|
|
18
|
+
import { countRules, getOperators, queryValidator } from "../../filter/expert/expertFilterUtils.js";
|
|
19
|
+
import RemoveButton from "./RemoveButton.js";
|
|
20
20
|
function RuleAddButton(props) {
|
|
21
21
|
return /* @__PURE__ */ jsx(AddButton, { ...props, label: "rule" });
|
|
22
22
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { validate } from "uuid";
|
|
3
3
|
import { useEffect } from "react";
|
|
4
|
-
import useCustomFormContext from "../
|
|
4
|
+
import useCustomFormContext from "../reactHookForm/provider/useCustomFormContext.js";
|
|
5
5
|
import { fetchElementsInfos } from "../../../services/explore.js";
|
|
6
|
-
import DirectoryItemsInput from "../
|
|
6
|
+
import DirectoryItemsInput from "../reactHookForm/DirectoryItemsInput.js";
|
|
7
7
|
function ElementValueEditor(props) {
|
|
8
8
|
const { defaultValue, name, elementType, equipmentTypes, titleId, hideErrorMessage, itemFilter, onChange } = props;
|
|
9
9
|
const { setValue } = useCustomFormContext();
|
|
@@ -3,10 +3,10 @@ import { useEffect, useMemo, useCallback } from "react";
|
|
|
3
3
|
import Grid from "@mui/material/Grid";
|
|
4
4
|
import { Autocomplete, TextField, Select, MenuItem } from "@mui/material";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
|
-
import useValid from "./
|
|
7
|
-
import { OPERATOR_OPTIONS } from "../../filter/expert/
|
|
8
|
-
import FieldConstants from "../../../utils/
|
|
9
|
-
import usePredefinedProperties from "../../../hooks/
|
|
6
|
+
import useValid from "./hooks/useValid.js";
|
|
7
|
+
import { OPERATOR_OPTIONS } from "../../filter/expert/expertFilterConstants.js";
|
|
8
|
+
import FieldConstants from "../../../utils/constants/fieldConstants.js";
|
|
9
|
+
import usePredefinedProperties from "../../../hooks/usePredefinedProperties.js";
|
|
10
10
|
const PROPERTY_VALUE_OPERATORS = [OPERATOR_OPTIONS.IN];
|
|
11
11
|
function PropertyValueEditor(props) {
|
|
12
12
|
const { equipmentType, valueEditorProps } = props;
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import IconButton from "@mui/material/IconButton";
|
|
3
3
|
import DeleteIcon from "@mui/icons-material/Delete";
|
|
4
4
|
import { useController } from "react-hook-form";
|
|
5
|
-
import { getNumberOfSiblings, recursiveRemove } from "../../filter/expert/
|
|
5
|
+
import { getNumberOfSiblings, recursiveRemove } from "../../filter/expert/expertFilterUtils.js";
|
|
6
6
|
const EXPERT_FILTER_QUERY = "rules";
|
|
7
7
|
function RemoveButton(props) {
|
|
8
8
|
const { path, className } = props;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { MaterialValueEditor } from "@react-querybuilder/material";
|
|
3
3
|
import { Autocomplete, TextField } from "@mui/material";
|
|
4
|
-
import useConvertValue from "./
|
|
5
|
-
import useValid from "./
|
|
4
|
+
import useConvertValue from "./hooks/useConvertValue.js";
|
|
5
|
+
import useValid from "./hooks/useValid.js";
|
|
6
6
|
function TextValueEditor(props) {
|
|
7
7
|
useConvertValue(props);
|
|
8
8
|
const valid = useValid(props);
|
|
@@ -3,8 +3,8 @@ import { useMemo } from "react";
|
|
|
3
3
|
import { MaterialValueEditor } from "@react-querybuilder/material";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { Autocomplete, TextField } from "@mui/material";
|
|
6
|
-
import useConvertValue from "./
|
|
7
|
-
import useValid from "./
|
|
6
|
+
import useConvertValue from "./hooks/useConvertValue.js";
|
|
7
|
+
import useValid from "./hooks/useValid.js";
|
|
8
8
|
function TranslatedValueEditor(props) {
|
|
9
9
|
const intl = useIntl();
|
|
10
10
|
const { values, value, handleOnChange } = props;
|
|
@@ -3,18 +3,18 @@ import { useCallback } from "react";
|
|
|
3
3
|
import { MaterialValueEditor } from "@react-querybuilder/material";
|
|
4
4
|
import Box from "@mui/material/Box";
|
|
5
5
|
import { useFormContext } from "react-hook-form";
|
|
6
|
-
import CountryValueEditor from "./
|
|
7
|
-
import TranslatedValueEditor from "./
|
|
8
|
-
import TextValueEditor from "./
|
|
9
|
-
import { FieldType, DataType } from "../../filter/expert/
|
|
10
|
-
import FieldConstants from "../../../utils/
|
|
11
|
-
import { VoltageLevel, Substation } from "../../../utils/
|
|
12
|
-
import ElementValueEditor from "./
|
|
13
|
-
import { ElementType } from "../../../utils/
|
|
14
|
-
import PropertyValueEditor from "./
|
|
15
|
-
import { FilterType } from "../../filter/constants/
|
|
16
|
-
import GroupValueEditor from "./
|
|
17
|
-
import { OPERATOR_OPTIONS } from "../../filter/expert/
|
|
6
|
+
import CountryValueEditor from "./CountryValueEditor.js";
|
|
7
|
+
import TranslatedValueEditor from "./TranslatedValueEditor.js";
|
|
8
|
+
import TextValueEditor from "./TextValueEditor.js";
|
|
9
|
+
import { FieldType, DataType } from "../../filter/expert/expertFilter.type.js";
|
|
10
|
+
import FieldConstants from "../../../utils/constants/fieldConstants.js";
|
|
11
|
+
import { VoltageLevel, Substation } from "../../../utils/types/equipmentTypes.js";
|
|
12
|
+
import ElementValueEditor from "./ElementValueEditor.js";
|
|
13
|
+
import { ElementType } from "../../../utils/types/elementType.js";
|
|
14
|
+
import PropertyValueEditor from "./PropertyValueEditor.js";
|
|
15
|
+
import { FilterType } from "../../filter/constants/FilterConstants.js";
|
|
16
|
+
import GroupValueEditor from "./compositeRuleEditor/GroupValueEditor.js";
|
|
17
|
+
import { OPERATOR_OPTIONS } from "../../filter/expert/expertFilterConstants.js";
|
|
18
18
|
const styles = {
|
|
19
19
|
noArrows: {
|
|
20
20
|
"& input::-webkit-outer-spin-button, & input::-webkit-inner-spin-button": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompositeField } from '../../../filter/expert/
|
|
1
|
+
import { CompositeField } from '../../../filter/expert/expertFilter.type';
|
|
2
2
|
import { ValueEditorProps } from 'react-querybuilder';
|
|
3
3
|
|
|
4
4
|
declare function GroupValueEditor(props: ValueEditorProps<CompositeField>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, createElement } from "react";
|
|
3
3
|
import { Grid } from "@mui/material";
|
|
4
|
-
import RuleValueEditor from "./
|
|
4
|
+
import RuleValueEditor from "./RuleValueEditor.js";
|
|
5
5
|
const styles = {
|
|
6
6
|
group: (theme) => ({
|
|
7
7
|
border: 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect } from "react";
|
|
2
|
-
import { OPERATOR_OPTIONS } from "
|
|
2
|
+
import { OPERATOR_OPTIONS } from "../../../filter/expert/expertFilterConstants.js";
|
|
3
3
|
const useConvertValue = ({ operator, value, fieldData: { defaultValue }, handleOnChange }) => {
|
|
4
4
|
useEffect(
|
|
5
5
|
() => {
|
|
@@ -8,7 +8,7 @@ import { styled } from "@mui/system";
|
|
|
8
8
|
import { GetApp } from "@mui/icons-material";
|
|
9
9
|
import { Table, Column, AutoSizer } from "react-virtualized";
|
|
10
10
|
import CsvDownloader from "react-csv-downloader";
|
|
11
|
-
import { OverflowableText } from "../OverflowableText
|
|
11
|
+
import { OverflowableText } from "../overflowableText/OverflowableText.js";
|
|
12
12
|
import { toNestedGlobalSelectors, makeComposeClasses } from "../../utils/styles.js";
|
|
13
13
|
import { getHelper, collectibleHelper, ChangeWays, KeyedColumnsRowIndexer } from "./KeyedColumnsRowIndexer.js";
|
|
14
14
|
import { ColumnHeader } from "./ColumnHeader.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Dialog, DialogTitle, DialogContent, DialogActions, Button } from "@mui/material";
|
|
3
3
|
import { FormattedMessage } from "react-intl";
|
|
4
4
|
import { useState } from "react";
|
|
5
|
-
import {
|
|
5
|
+
import { CheckBoxList } from "../checkBoxList/CheckBoxList.js";
|
|
6
6
|
function MultipleSelectionDialog({
|
|
7
7
|
open,
|
|
8
8
|
handleClose,
|
|
@@ -15,7 +15,7 @@ function MultipleSelectionDialog({
|
|
|
15
15
|
return /* @__PURE__ */ jsxs(Dialog, { open, fullWidth: true, children: [
|
|
16
16
|
/* @__PURE__ */ jsx(DialogTitle, { children: titleId }),
|
|
17
17
|
/* @__PURE__ */ jsx(DialogContent, { children: /* @__PURE__ */ jsx(
|
|
18
|
-
|
|
18
|
+
CheckBoxList,
|
|
19
19
|
{
|
|
20
20
|
selectedItems: selectedIds,
|
|
21
21
|
onSelectionChange: (values) => setSelectedIds(values),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonMetadata } from '../../services';
|
|
2
|
-
import { LogoutProps } from '../
|
|
2
|
+
import { LogoutProps } from '../authentication/Logout';
|
|
3
3
|
import { AboutDialogProps } from './AboutDialog';
|
|
4
4
|
import { GridLogoProps } from './GridLogo';
|
|
5
5
|
import { User } from 'oidc-client';
|
|
@@ -6,7 +6,7 @@ import { Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions, B
|
|
|
6
6
|
import { TreeView, TreeItem } from "@mui/x-tree-view";
|
|
7
7
|
import { ChevronRight, ExpandMore, Check } from "@mui/icons-material";
|
|
8
8
|
import { toNestedGlobalSelectors, makeComposeClasses } from "../../utils/styles.js";
|
|
9
|
-
import CancelButton from "../inputs/
|
|
9
|
+
import CancelButton from "../inputs/reactHookForm/utils/CancelButton.js";
|
|
10
10
|
const cssDialogPaper = "dialogPaper";
|
|
11
11
|
const cssLabelRoot = "labelRoot";
|
|
12
12
|
const cssLabelText = "labelText";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useEffect } from "react";
|
|
2
|
-
import { fetchEnv } from "../services/
|
|
2
|
+
import { fetchEnv } from "../services/appsMetadata.js";
|
|
3
3
|
const useConfidentialityWarning = () => {
|
|
4
4
|
const [confidentialityWarningKey, setConfidentialityWarningKey] = useState();
|
|
5
5
|
useEffect(() => {
|
|
@@ -2,7 +2,7 @@ import { useState, useEffect, useMemo, useCallback } from "react";
|
|
|
2
2
|
import localizedCountries from "localized-countries";
|
|
3
3
|
import countriesFr from "localized-countries/data/fr";
|
|
4
4
|
import countriesEn from "localized-countries/data/en";
|
|
5
|
-
import { LANG_ENGLISH, LANG_SYSTEM, LANG_FRENCH } from "../components/
|
|
5
|
+
import { LANG_ENGLISH, LANG_SYSTEM, LANG_FRENCH } from "../components/topBar/TopBar.js";
|
|
6
6
|
const supportedLanguages = [LANG_FRENCH, LANG_ENGLISH];
|
|
7
7
|
const getSystemLanguage = () => {
|
|
8
8
|
const systemLanguage = navigator.language.split(/[-_]/)[0];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EquipmentType, PredefinedProperties } from '../utils/types';
|
|
1
|
+
import { EquipmentType, PredefinedProperties } from '../utils/types/types';
|
|
2
2
|
import { Dispatch, SetStateAction } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const usePredefinedProperties: (initialType: EquipmentType | null) => [PredefinedProperties, Dispatch<SetStateAction<EquipmentType | null>>];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState, useEffect } from "react";
|
|
2
|
-
import mapEquipmentTypeForPredefinedProperties from "../utils/
|
|
2
|
+
import mapEquipmentTypeForPredefinedProperties from "../utils/mapper/equipmentTypesForPredefinedPropertiesMapper.js";
|
|
3
3
|
import { useSnackMessage } from "./useSnackMessage.js";
|
|
4
|
-
import { fetchStudyMetadata } from "../services/
|
|
4
|
+
import { fetchStudyMetadata } from "../services/appsMetadata.js";
|
|
5
5
|
const fetchPredefinedProperties = async (equipmentType) => {
|
|
6
6
|
var _a;
|
|
7
7
|
const networkEquipmentType = mapEquipmentTypeForPredefinedProperties(equipmentType);
|