@gridsuite/commons-ui 0.61.4 → 0.63.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/AuthenticationRouter.d.ts +1 -1
- package/dist/components/AuthenticationRouter/AuthenticationRouter.js +5 -5
- package/dist/components/AuthenticationRouter/index.d.ts +3 -7
- package/dist/components/AuthenticationRouter/index.js +2 -2
- package/dist/components/CardErrorBoundary/card-error-boundary.d.ts +0 -1
- package/dist/components/CardErrorBoundary/card-error-boundary.js +5 -3
- package/dist/components/CardErrorBoundary/index.d.ts +3 -7
- package/dist/components/CardErrorBoundary/index.js +2 -2
- package/dist/components/CustomAGGrid/custom-aggrid.js +1 -1
- package/dist/components/CustomAGGrid/custom-aggrid.style.js +5 -5
- package/dist/components/DirectoryItemSelector/directory-item-selector.d.ts +2 -3
- package/dist/components/DirectoryItemSelector/directory-item-selector.js +108 -105
- package/dist/components/ElementSearchDialog/element-search-dialog.d.ts +1 -1
- package/dist/components/ElementSearchDialog/element-search-dialog.js +2 -2
- package/dist/components/ElementSearchDialog/element-search-input.d.ts +1 -1
- package/dist/components/ElementSearchDialog/element-search-input.js +4 -6
- package/dist/components/ElementSearchDialog/equipment-item.d.ts +3 -3
- package/dist/components/ElementSearchDialog/equipment-item.js +13 -13
- package/dist/components/ElementSearchDialog/index.d.ts +3 -3
- package/dist/components/ElementSearchDialog/index.js +5 -5
- package/dist/components/ElementSearchDialog/tag-renderer.d.ts +11 -12
- package/dist/components/ElementSearchDialog/tag-renderer.js +5 -6
- package/dist/components/ElementSearchDialog/use-element-search.d.ts +2 -2
- package/dist/components/ElementSearchDialog/use-element-search.js +2 -2
- package/dist/components/ExpandableGroup/expandable-group.d.ts +3 -3
- package/dist/components/ExpandableGroup/expandable-group.js +6 -6
- package/dist/components/ExpandableGroup/index.d.ts +3 -7
- package/dist/components/ExpandableGroup/index.js +2 -2
- package/dist/components/FlatParameters/FlatParameters.d.ts +1 -1
- package/dist/components/FlatParameters/FlatParameters.js +46 -46
- package/dist/components/FlatParameters/index.d.ts +3 -7
- package/dist/components/Login/Login.d.ts +1 -7
- package/dist/components/Login/Login.js +3 -9
- package/dist/components/Login/Logout.d.ts +1 -1
- package/dist/components/Login/Logout.js +11 -11
- package/dist/components/Login/index.d.ts +3 -7
- package/dist/components/Login/index.js +2 -2
- package/dist/components/MuiVirtualizedTable/ColumnHeader.js +9 -8
- package/dist/components/MuiVirtualizedTable/KeyedColumnsRowIndexer.d.ts +24 -9
- package/dist/components/MuiVirtualizedTable/KeyedColumnsRowIndexer.js +200 -205
- package/dist/components/MuiVirtualizedTable/MuiVirtualizedTable.js +6 -6
- package/dist/components/MuiVirtualizedTable/index.d.ts +2 -2
- package/dist/components/MuiVirtualizedTable/index.js +3 -3
- package/dist/components/MultipleSelectionDialog/MultipleSelectionDialog.d.ts +1 -1
- package/dist/components/MultipleSelectionDialog/MultipleSelectionDialog.js +5 -15
- package/dist/components/MultipleSelectionDialog/index.d.ts +3 -7
- package/dist/components/MultipleSelectionDialog/index.js +2 -2
- package/dist/components/OverflowableText/index.d.ts +3 -7
- package/dist/components/OverflowableText/overflowable-text.js +2 -2
- package/dist/components/ReportViewer/filter-button.d.ts +1 -1
- package/dist/components/ReportViewer/filter-button.js +3 -3
- package/dist/components/ReportViewer/index.d.ts +3 -7
- package/dist/components/ReportViewer/index.js +2 -2
- package/dist/components/ReportViewer/log-report-item.d.ts +1 -1
- package/dist/components/ReportViewer/log-report-item.js +12 -9
- package/dist/components/ReportViewer/log-report.js +3 -3
- package/dist/components/ReportViewer/log-table.d.ts +2 -1
- package/dist/components/ReportViewer/log-table.js +6 -5
- package/dist/components/ReportViewer/multi-select-list.d.ts +1 -1
- package/dist/components/ReportViewer/multi-select-list.js +3 -3
- package/dist/components/ReportViewer/report-item.js +4 -3
- package/dist/components/ReportViewer/report-viewer.js +11 -12
- package/dist/components/ReportViewerDialog/index.d.ts +3 -7
- package/dist/components/ReportViewerDialog/index.js +2 -2
- package/dist/components/SignInCallbackHandler/SignInCallbackHandler.d.ts +1 -1
- package/dist/components/SignInCallbackHandler/SignInCallbackHandler.js +3 -3
- package/dist/components/SignInCallbackHandler/index.d.ts +3 -7
- package/dist/components/SignInCallbackHandler/index.js +2 -2
- package/dist/components/SilentRenewCallbackHandler/SilentRenewCallbackHandler.d.ts +1 -1
- package/dist/components/SilentRenewCallbackHandler/SilentRenewCallbackHandler.js +3 -3
- package/dist/components/SilentRenewCallbackHandler/index.d.ts +3 -7
- package/dist/components/SilentRenewCallbackHandler/index.js +2 -2
- package/dist/components/SnackbarProvider/SnackbarProvider.d.ts +1 -1
- package/dist/components/SnackbarProvider/SnackbarProvider.js +14 -13
- package/dist/components/SnackbarProvider/index.d.ts +3 -7
- package/dist/components/SnackbarProvider/index.js +2 -2
- package/dist/components/TopBar/AboutDialog.d.ts +1 -2
- package/dist/components/TopBar/AboutDialog.js +151 -153
- package/dist/components/TopBar/GridLogo.d.ts +2 -2
- package/dist/components/TopBar/GridLogo.js +24 -24
- package/dist/components/TopBar/TopBar.d.ts +2 -27
- package/dist/components/TopBar/TopBar.js +9 -33
- package/dist/components/TopBar/index.d.ts +1 -1
- package/dist/components/TopBar/index.js +1 -1
- package/dist/components/TreeViewFinder/TreeViewFinder.js +51 -45
- package/dist/components/TreeViewFinder/index.d.ts +1 -1
- package/dist/components/TreeViewFinder/index.js +1 -1
- package/dist/components/dialogs/custom-mui-dialog.d.ts +2 -2
- package/dist/components/dialogs/custom-mui-dialog.js +5 -5
- package/dist/components/dialogs/description-modification-dialog.d.ts +7 -3
- package/dist/components/dialogs/description-modification-dialog.js +11 -5
- package/dist/components/dialogs/modify-element-selection.d.ts +1 -2
- package/dist/components/dialogs/modify-element-selection.js +21 -13
- package/dist/components/dialogs/popup-confirmation-dialog.d.ts +7 -3
- package/dist/components/dialogs/popup-confirmation-dialog.js +3 -6
- package/dist/components/filter/criteria-based/criteria-based-filter-edition-dialog.d.ts +4 -5
- package/dist/components/filter/criteria-based/criteria-based-filter-edition-dialog.js +123 -16
- package/dist/components/filter/criteria-based/criteria-based-filter-form.d.ts +1 -2
- package/dist/components/filter/criteria-based/criteria-based-filter-form.js +6 -5
- package/dist/components/filter/criteria-based/criteria-based-filter-utils.js +27 -20
- package/dist/components/filter/criteria-based/criteria-based-form.d.ts +1 -2
- package/dist/components/filter/criteria-based/criteria-based-form.js +17 -6
- package/dist/components/filter/criteria-based/filter-free-properties.d.ts +5 -3
- package/dist/components/filter/criteria-based/filter-free-properties.js +69 -13
- package/dist/components/filter/criteria-based/filter-properties.d.ts +1 -6
- package/dist/components/filter/criteria-based/filter-properties.js +124 -16
- package/dist/components/filter/criteria-based/filter-property.d.ts +1 -2
- package/dist/components/filter/criteria-based/filter-property.js +16 -16
- package/dist/components/filter/expert/expert-filter-constants.d.ts +1 -1
- package/dist/components/filter/expert/expert-filter-edition-dialog.d.ts +3 -4
- package/dist/components/filter/expert/expert-filter-edition-dialog.js +128 -15
- package/dist/components/filter/expert/expert-filter-form.d.ts +1 -2
- package/dist/components/filter/expert/expert-filter-form.js +141 -20
- package/dist/components/filter/expert/expert-filter-utils.d.ts +2 -2
- package/dist/components/filter/expert/expert-filter-utils.js +45 -46
- package/dist/components/filter/explicit-naming/explicit-naming-filter-edition-dialog.d.ts +3 -4
- package/dist/components/filter/explicit-naming/explicit-naming-filter-edition-dialog.js +136 -16
- package/dist/components/filter/explicit-naming/explicit-naming-filter-form.d.ts +4 -5
- package/dist/components/filter/explicit-naming/explicit-naming-filter-form.js +241 -24
- package/dist/components/filter/filter-creation-dialog.d.ts +3 -4
- package/dist/components/filter/filter-creation-dialog.js +125 -13
- package/dist/components/filter/filter-form.d.ts +4 -5
- package/dist/components/filter/filter-form.js +73 -14
- package/dist/components/filter/utils/filter-api.js +1 -1
- package/dist/components/filter/utils/filter-form-utils.js +1 -1
- package/dist/components/inputs/react-hook-form/ExpandingTextField.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/ExpandingTextField.js +5 -5
- package/dist/components/inputs/react-hook-form/ag-grid-table/bottom-right-buttons.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/ag-grid-table/bottom-right-buttons.js +102 -13
- package/dist/components/inputs/react-hook-form/ag-grid-table/cell-editors/numericEditor.d.ts +7 -6
- package/dist/components/inputs/react-hook-form/ag-grid-table/cell-editors/numericEditor.js +13 -15
- package/dist/components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.d.ts +7 -3
- package/dist/components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js +220 -61
- package/dist/components/inputs/react-hook-form/ag-grid-table/custom-ag-grid-table.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/ag-grid-table/custom-ag-grid-table.js +243 -11
- package/dist/components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.d.ts +4 -2
- package/dist/components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.js +12 -12
- package/dist/components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js +2 -2
- package/dist/components/inputs/react-hook-form/booleans/boolean-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/booleans/boolean-input.js +2 -2
- package/dist/components/inputs/react-hook-form/booleans/checkbox-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/booleans/checkbox-input.js +3 -3
- package/dist/components/inputs/react-hook-form/booleans/switch-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/booleans/switch-input.js +3 -3
- package/dist/components/inputs/react-hook-form/directory-items-input.d.ts +11 -3
- package/dist/components/inputs/react-hook-form/directory-items-input.js +11 -11
- package/dist/components/inputs/react-hook-form/error-management/error-input.d.ts +2 -2
- package/dist/components/inputs/react-hook-form/error-management/error-input.js +7 -9
- package/dist/components/inputs/react-hook-form/error-management/field-error-alert.d.ts +2 -2
- package/dist/components/inputs/react-hook-form/error-management/field-error-alert.js +2 -4
- package/dist/components/inputs/react-hook-form/error-management/mid-form-error.d.ts +2 -2
- package/dist/components/inputs/react-hook-form/error-management/mid-form-error.js +2 -2
- package/dist/components/inputs/react-hook-form/numbers/float-input.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/numbers/float-input.js +6 -5
- package/dist/components/inputs/react-hook-form/numbers/integer-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/numbers/integer-input.js +5 -5
- package/dist/components/inputs/react-hook-form/provider/custom-form-provider.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/provider/custom-form-provider.js +11 -8
- package/dist/components/inputs/react-hook-form/provider/use-custom-form-context.d.ts +2 -1
- package/dist/components/inputs/react-hook-form/provider/use-custom-form-context.js +1 -1
- package/dist/components/inputs/react-hook-form/radio-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/radio-input.js +2 -8
- package/dist/components/inputs/react-hook-form/range-input.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/range-input.js +5 -5
- package/dist/components/inputs/react-hook-form/raw-read-only-input.d.ts +2 -1
- package/dist/components/inputs/react-hook-form/raw-read-only-input.js +1 -1
- package/dist/components/inputs/react-hook-form/select-inputs/countries-input.d.ts +1 -3
- package/dist/components/inputs/react-hook-form/select-inputs/countries-input.js +4 -8
- package/dist/components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.d.ts +3 -1
- package/dist/components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.js +4 -4
- package/dist/components/inputs/react-hook-form/select-inputs/mui-select-input.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/select-inputs/mui-select-input.js +11 -10
- package/dist/components/inputs/react-hook-form/select-inputs/select-input.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/select-inputs/select-input.js +16 -8
- package/dist/components/inputs/react-hook-form/slider-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/slider-input.js +6 -6
- package/dist/components/inputs/react-hook-form/text-input.d.ts +6 -2
- package/dist/components/inputs/react-hook-form/text-input.js +9 -9
- package/dist/components/inputs/react-hook-form/unique-name-input.d.ts +4 -6
- package/dist/components/inputs/react-hook-form/unique-name-input.js +12 -12
- package/dist/components/inputs/react-hook-form/utils/cancel-button.d.ts +9 -10
- package/dist/components/inputs/react-hook-form/utils/cancel-button.js +2 -6
- package/dist/components/inputs/react-hook-form/utils/field-label.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/utils/field-label.js +3 -3
- package/dist/components/inputs/react-hook-form/utils/functions.js +1 -1
- package/dist/components/inputs/react-hook-form/utils/submit-button.d.ts +9 -10
- package/dist/components/inputs/react-hook-form/utils/submit-button.js +2 -6
- package/dist/components/inputs/react-hook-form/utils/text-field-with-adornment.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/utils/text-field-with-adornment.js +7 -7
- package/dist/components/inputs/react-query-builder/add-button.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/add-button.js +13 -10
- package/dist/components/inputs/react-query-builder/combinator-selector.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/combinator-selector.js +7 -6
- package/dist/components/inputs/react-query-builder/composite-rule-editor/group-value-editor.d.ts +1 -1
- package/dist/components/inputs/react-query-builder/composite-rule-editor/group-value-editor.js +2 -2
- package/dist/components/inputs/react-query-builder/composite-rule-editor/rule-value-editor.d.ts +1 -1
- package/dist/components/inputs/react-query-builder/composite-rule-editor/rule-value-editor.js +5 -5
- package/dist/components/inputs/react-query-builder/country-value-editor.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/country-value-editor.js +18 -18
- package/dist/components/inputs/react-query-builder/custom-react-query-builder.d.ts +1 -1
- package/dist/components/inputs/react-query-builder/custom-react-query-builder.js +92 -19
- package/dist/components/inputs/react-query-builder/element-value-editor.d.ts +7 -3
- package/dist/components/inputs/react-query-builder/element-value-editor.js +50 -62
- package/dist/components/inputs/react-query-builder/property-value-editor.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/property-value-editor.js +5 -5
- package/dist/components/inputs/react-query-builder/remove-button.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/remove-button.js +26 -7
- package/dist/components/inputs/react-query-builder/text-value-editor.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/text-value-editor.js +17 -17
- package/dist/components/inputs/react-query-builder/translated-value-editor.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/translated-value-editor.js +22 -26
- package/dist/components/inputs/react-query-builder/value-editor.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/value-editor.js +119 -18
- package/dist/components/inputs/react-query-builder/value-selector.d.ts +1 -1
- package/dist/components/inputs/react-query-builder/value-selector.js +2 -2
- package/dist/components/inputs/select-clearable.d.ts +1 -2
- package/dist/components/inputs/select-clearable.js +6 -5
- package/dist/components/translations/card-error-boundary-en.d.ts +2 -2
- package/dist/components/translations/card-error-boundary-en.js +2 -2
- package/dist/components/translations/card-error-boundary-fr.d.ts +2 -2
- package/dist/components/translations/card-error-boundary-fr.js +2 -2
- package/dist/components/translations/common-button-en.d.ts +2 -2
- package/dist/components/translations/common-button-en.js +2 -2
- package/dist/components/translations/common-button-fr.d.ts +2 -2
- package/dist/components/translations/common-button-fr.js +2 -2
- package/dist/components/translations/directory-items-input-en.d.ts +2 -2
- package/dist/components/translations/directory-items-input-en.js +2 -2
- package/dist/components/translations/directory-items-input-fr.d.ts +2 -2
- package/dist/components/translations/directory-items-input-fr.js +2 -2
- package/dist/components/translations/element-search-en.d.ts +2 -2
- package/dist/components/translations/element-search-en.js +2 -2
- package/dist/components/translations/element-search-fr.d.ts +2 -2
- package/dist/components/translations/element-search-fr.js +2 -2
- package/dist/components/translations/equipment-search-en.d.ts +2 -2
- package/dist/components/translations/equipment-search-en.js +2 -2
- package/dist/components/translations/equipment-search-fr.d.ts +2 -2
- package/dist/components/translations/equipment-search-fr.js +2 -2
- package/dist/components/translations/filter-en.d.ts +3 -2
- package/dist/components/translations/filter-en.js +3 -2
- package/dist/components/translations/filter-expert-en.d.ts +2 -2
- package/dist/components/translations/filter-expert-en.js +2 -2
- package/dist/components/translations/filter-expert-fr.d.ts +2 -2
- package/dist/components/translations/filter-expert-fr.js +2 -2
- package/dist/components/translations/filter-fr.d.ts +3 -2
- package/dist/components/translations/filter-fr.js +3 -2
- package/dist/components/translations/flat-parameters-en.d.ts +2 -2
- package/dist/components/translations/flat-parameters-en.js +2 -2
- package/dist/components/translations/flat-parameters-fr.d.ts +2 -2
- package/dist/components/translations/flat-parameters-fr.js +2 -2
- package/dist/components/translations/inputs-en.d.ts +2 -2
- package/dist/components/translations/inputs-en.js +2 -2
- package/dist/components/translations/inputs-fr.d.ts +2 -2
- package/dist/components/translations/inputs-fr.js +2 -2
- package/dist/components/translations/login-en.d.ts +2 -2
- package/dist/components/translations/login-en.js +2 -2
- package/dist/components/translations/login-fr.d.ts +2 -2
- package/dist/components/translations/login-fr.js +2 -2
- package/dist/components/translations/multiple-selection-dialog-en.d.ts +2 -2
- package/dist/components/translations/multiple-selection-dialog-en.js +2 -2
- package/dist/components/translations/multiple-selection-dialog-fr.d.ts +2 -2
- package/dist/components/translations/multiple-selection-dialog-fr.js +2 -2
- package/dist/components/translations/report-viewer-en.d.ts +2 -2
- package/dist/components/translations/report-viewer-en.js +2 -2
- package/dist/components/translations/report-viewer-fr.d.ts +2 -2
- package/dist/components/translations/report-viewer-fr.js +2 -2
- package/dist/components/translations/table-en.d.ts +2 -2
- package/dist/components/translations/table-en.js +2 -2
- package/dist/components/translations/table-fr.d.ts +2 -2
- package/dist/components/translations/table-fr.js +2 -2
- package/dist/components/translations/top-bar-en.d.ts +2 -2
- package/dist/components/translations/top-bar-en.js +2 -2
- package/dist/components/translations/top-bar-fr.d.ts +2 -2
- package/dist/components/translations/top-bar-fr.js +2 -2
- package/dist/components/translations/treeview-finder-en.d.ts +2 -2
- package/dist/components/translations/treeview-finder-en.js +2 -2
- package/dist/components/translations/treeview-finder-fr.d.ts +2 -2
- package/dist/components/translations/treeview-finder-fr.js +2 -2
- package/dist/hooks/localized-countries-hook.js +1 -1
- package/dist/hooks/predefined-properties-hook.d.ts +2 -1
- package/dist/hooks/predefined-properties-hook.js +2 -2
- package/dist/hooks/useDebounce.d.ts +2 -1
- package/dist/hooks/useDebounce.js +1 -1
- package/dist/hooks/useIntlRef.d.ts +2 -1
- package/dist/hooks/useIntlRef.js +1 -1
- package/dist/hooks/useSnackMessage.d.ts +2 -2
- package/dist/hooks/useSnackMessage.js +36 -36
- package/dist/index.d.ts +13 -14
- package/dist/index.js +163 -157
- package/dist/redux/commonStore.d.ts +1 -1
- package/dist/services/apps-metadata.js +1 -1
- package/dist/services/directory.js +6 -6
- package/dist/services/explore.js +14 -12
- package/dist/services/index.d.ts +0 -5
- package/dist/services/study.js +2 -2
- package/dist/services/utils.d.ts +1 -1
- package/dist/services/utils.js +26 -26
- package/dist/utils/AuthService.d.ts +21 -12
- package/dist/utils/AuthService.js +88 -143
- package/dist/utils/ElementIcon.d.ts +3 -2
- package/dist/utils/ElementIcon.js +4 -3
- package/dist/utils/ElementType.d.ts +3 -6
- package/dist/utils/EquipmentType.js +3 -3
- package/dist/utils/FetchStatus.d.ts +2 -1
- package/dist/utils/FetchStatus.js +1 -1
- package/dist/utils/Metadata.d.ts +15 -0
- package/dist/utils/Metadata.js +1 -0
- package/dist/utils/UserManagerMock.d.ts +50 -25
- package/dist/utils/UserManagerMock.js +118 -11
- package/dist/utils/algos.d.ts +2 -1
- package/dist/utils/algos.js +2 -2
- package/dist/utils/equipment-types-for-predefined-properties-mapper.d.ts +2 -1
- package/dist/utils/equipment-types-for-predefined-properties-mapper.js +3 -1
- package/dist/utils/field-constants.d.ts +2 -1
- package/dist/utils/field-constants.js +1 -1
- package/dist/utils/functions.js +5 -2
- package/dist/utils/types.d.ts +1 -1
- package/dist/utils/yup-config.js +1 -2
- package/package.json +10 -4
- package/dist/chunks/criteria-based-filter-edition-dialog.CAT38SvB.js +0 -1694
- package/dist/chunks/filter-properties.B7-q_yPf.js +0 -195
- /package/dist/assets/{criteria-based-filter-edition-dialog.css → expert-filter-form.css} +0 -0
|
@@ -1,20 +1,121 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import "@react-querybuilder/material";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "./
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import "
|
|
11
|
-
import "../../../utils/equipment-types.js";
|
|
12
|
-
import
|
|
13
|
-
import "../../../utils/ElementType.js";
|
|
14
|
-
import "./property-value-editor.js";
|
|
15
|
-
import "../../filter/constants/filter-constants.js";
|
|
16
|
-
import "./composite-rule-editor/group-value-editor.js";
|
|
17
|
-
import "../../filter/expert/expert-filter-constants.js";
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback } from "react";
|
|
3
|
+
import { MaterialValueEditor } from "@react-querybuilder/material";
|
|
4
|
+
import Box from "@mui/material/Box";
|
|
5
|
+
import { useFormContext } from "react-hook-form";
|
|
6
|
+
import CountryValueEditor from "./country-value-editor.js";
|
|
7
|
+
import TranslatedValueEditor from "./translated-value-editor.js";
|
|
8
|
+
import TextValueEditor from "./text-value-editor.js";
|
|
9
|
+
import { FieldType, DataType } from "../../filter/expert/expert-filter.type.js";
|
|
10
|
+
import FieldConstants from "../../../utils/field-constants.js";
|
|
11
|
+
import { VoltageLevel, Substation } from "../../../utils/equipment-types.js";
|
|
12
|
+
import ElementValueEditor from "./element-value-editor.js";
|
|
13
|
+
import { ElementType } from "../../../utils/ElementType.js";
|
|
14
|
+
import PropertyValueEditor from "./property-value-editor.js";
|
|
15
|
+
import { FilterType } from "../../filter/constants/filter-constants.js";
|
|
16
|
+
import GroupValueEditor from "./composite-rule-editor/group-value-editor.js";
|
|
17
|
+
import { OPERATOR_OPTIONS } from "../../filter/expert/expert-filter-constants.js";
|
|
18
|
+
const styles = {
|
|
19
|
+
noArrows: {
|
|
20
|
+
"& input::-webkit-outer-spin-button, & input::-webkit-inner-spin-button": {
|
|
21
|
+
display: "none"
|
|
22
|
+
},
|
|
23
|
+
"& input[type=number]": {
|
|
24
|
+
MozAppearance: "textfield"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
function ValueEditor(props) {
|
|
29
|
+
const {
|
|
30
|
+
field,
|
|
31
|
+
operator,
|
|
32
|
+
value,
|
|
33
|
+
rule,
|
|
34
|
+
handleOnChange,
|
|
35
|
+
inputType,
|
|
36
|
+
fieldData
|
|
37
|
+
} = props;
|
|
38
|
+
const formContext = useFormContext();
|
|
39
|
+
const { getValues } = formContext;
|
|
40
|
+
const itemFilter = useCallback(
|
|
41
|
+
(filterValue) => {
|
|
42
|
+
var _a, _b, _c;
|
|
43
|
+
if ((filterValue == null ? void 0 : filterValue.type) === ElementType.FILTER) {
|
|
44
|
+
return (
|
|
45
|
+
// we do not authorize to use an expert filter in the rules of
|
|
46
|
+
// another expert filter, to prevent potential cycle problems
|
|
47
|
+
((_a = filterValue == null ? void 0 : filterValue.specificMetadata) == null ? void 0 : _a.type) !== FilterType.EXPERT.id && (field === FieldType.ID && ((_b = filterValue == null ? void 0 : filterValue.specificMetadata) == null ? void 0 : _b.equipmentType) === getValues(FieldConstants.EQUIPMENT_TYPE) || (field === FieldType.VOLTAGE_LEVEL_ID || field === FieldType.VOLTAGE_LEVEL_ID_1 || field === FieldType.VOLTAGE_LEVEL_ID_2) && ((_c = filterValue == null ? void 0 : filterValue.specificMetadata) == null ? void 0 : _c.equipmentType) === VoltageLevel.type)
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
return true;
|
|
51
|
+
},
|
|
52
|
+
[field, getValues]
|
|
53
|
+
);
|
|
54
|
+
if (operator === OPERATOR_OPTIONS.EXISTS.name || operator === OPERATOR_OPTIONS.NOT_EXISTS.name) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
if ([FieldType.COUNTRY, FieldType.COUNTRY_1, FieldType.COUNTRY_2].includes(
|
|
58
|
+
field
|
|
59
|
+
)) {
|
|
60
|
+
return /* @__PURE__ */ jsx(CountryValueEditor, { ...props });
|
|
61
|
+
}
|
|
62
|
+
if (field === FieldType.REGULATION_TYPE || field === FieldType.SVAR_REGULATION_MODE || field === FieldType.ENERGY_SOURCE || field === FieldType.SHUNT_COMPENSATOR_TYPE || field === FieldType.LOAD_TYPE || field === FieldType.RATIO_REGULATION_MODE || field === FieldType.PHASE_REGULATION_MODE) {
|
|
63
|
+
return /* @__PURE__ */ jsx(TranslatedValueEditor, { ...props });
|
|
64
|
+
}
|
|
65
|
+
if (operator === OPERATOR_OPTIONS.IS_PART_OF.name || operator === OPERATOR_OPTIONS.IS_NOT_PART_OF.name) {
|
|
66
|
+
let equipmentTypes;
|
|
67
|
+
if (field === FieldType.VOLTAGE_LEVEL_ID || field === FieldType.VOLTAGE_LEVEL_ID_1 || field === FieldType.VOLTAGE_LEVEL_ID_2) {
|
|
68
|
+
equipmentTypes = [VoltageLevel.type];
|
|
69
|
+
} else if (field === FieldType.ID) {
|
|
70
|
+
equipmentTypes = [getValues(FieldConstants.EQUIPMENT_TYPE)];
|
|
71
|
+
}
|
|
72
|
+
return /* @__PURE__ */ jsx(
|
|
73
|
+
ElementValueEditor,
|
|
74
|
+
{
|
|
75
|
+
name: DataType.FILTER_UUID + rule.id,
|
|
76
|
+
elementType: ElementType.FILTER,
|
|
77
|
+
equipmentTypes,
|
|
78
|
+
titleId: "selectFilterDialogTitle",
|
|
79
|
+
hideErrorMessage: true,
|
|
80
|
+
onChange: (e) => {
|
|
81
|
+
handleOnChange(e.map((v) => v.id));
|
|
82
|
+
},
|
|
83
|
+
itemFilter,
|
|
84
|
+
defaultValue: value
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
if (field === FieldType.ID || field === FieldType.NAME || field === FieldType.REGULATING_TERMINAL_VL_ID || field === FieldType.REGULATING_TERMINAL_CONNECTABLE_ID || field === FieldType.VOLTAGE_LEVEL_ID || field === FieldType.VOLTAGE_LEVEL_ID_1 || field === FieldType.VOLTAGE_LEVEL_ID_2) {
|
|
89
|
+
return /* @__PURE__ */ jsx(TextValueEditor, { ...props });
|
|
90
|
+
}
|
|
91
|
+
if (field === FieldType.PROPERTY || field === FieldType.SUBSTATION_PROPERTY || field === FieldType.SUBSTATION_PROPERTY_1 || field === FieldType.SUBSTATION_PROPERTY_2 || field === FieldType.VOLTAGE_LEVEL_PROPERTY || field === FieldType.VOLTAGE_LEVEL_PROPERTY_1 || field === FieldType.VOLTAGE_LEVEL_PROPERTY_2) {
|
|
92
|
+
let equipmentType;
|
|
93
|
+
if (field === FieldType.SUBSTATION_PROPERTY || field === FieldType.SUBSTATION_PROPERTY_1 || field === FieldType.SUBSTATION_PROPERTY_2) {
|
|
94
|
+
equipmentType = Substation.type;
|
|
95
|
+
} else if (field === FieldType.VOLTAGE_LEVEL_PROPERTY || field === FieldType.VOLTAGE_LEVEL_PROPERTY_1 || field === FieldType.VOLTAGE_LEVEL_PROPERTY_2) {
|
|
96
|
+
equipmentType = VoltageLevel.type;
|
|
97
|
+
} else {
|
|
98
|
+
equipmentType = getValues(FieldConstants.EQUIPMENT_TYPE);
|
|
99
|
+
}
|
|
100
|
+
return /* @__PURE__ */ jsx(
|
|
101
|
+
PropertyValueEditor,
|
|
102
|
+
{
|
|
103
|
+
equipmentType,
|
|
104
|
+
valueEditorProps: props
|
|
105
|
+
}
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
if (fieldData.dataType === DataType.COMBINATOR) {
|
|
109
|
+
return /* @__PURE__ */ jsx(GroupValueEditor, { ...props });
|
|
110
|
+
}
|
|
111
|
+
return /* @__PURE__ */ jsx(Box, { sx: inputType === "number" ? styles.noArrows : void 0, children: /* @__PURE__ */ jsx(
|
|
112
|
+
MaterialValueEditor,
|
|
113
|
+
{
|
|
114
|
+
...props,
|
|
115
|
+
title: void 0
|
|
116
|
+
}
|
|
117
|
+
) });
|
|
118
|
+
}
|
|
18
119
|
export {
|
|
19
|
-
|
|
120
|
+
ValueEditor as default
|
|
20
121
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ValueSelectorProps } from 'react-querybuilder';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function ValueSelector(props: ValueSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default ValueSelector;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { MaterialValueSelector } from "@react-querybuilder/material";
|
|
3
|
-
|
|
3
|
+
function ValueSelector(props) {
|
|
4
4
|
return /* @__PURE__ */ jsx(
|
|
5
5
|
MaterialValueSelector,
|
|
6
6
|
{
|
|
@@ -8,7 +8,7 @@ const ValueSelector = (props) => {
|
|
|
8
8
|
title: void 0
|
|
9
9
|
}
|
|
10
10
|
);
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
12
|
export {
|
|
13
13
|
ValueSelector as default
|
|
14
14
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AutocompleteProps } from '@mui/material/Autocomplete/Autocomplete';
|
|
2
|
-
import { FunctionComponent } from 'react';
|
|
3
2
|
|
|
4
3
|
type SelectOption = {
|
|
5
4
|
id: string;
|
|
@@ -10,5 +9,5 @@ interface SelectClearableProps extends Omit<AutocompleteProps<SelectOption, fals
|
|
|
10
9
|
onChange: (value: string | null) => void;
|
|
11
10
|
label?: string;
|
|
12
11
|
}
|
|
13
|
-
declare
|
|
12
|
+
declare function SelectClearable(props: SelectClearableProps): import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
export default SelectClearable;
|
|
@@ -2,11 +2,11 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useIntl } from "react-intl";
|
|
3
3
|
import { Autocomplete, TextField } from "@mui/material";
|
|
4
4
|
import FieldLabel from "./react-hook-form/utils/field-label.js";
|
|
5
|
-
|
|
6
|
-
const { value, onChange, label, ...otherProps } = props;
|
|
5
|
+
function SelectClearable(props) {
|
|
6
|
+
const { value, onChange, label, options, ...otherProps } = props;
|
|
7
7
|
const intl = useIntl();
|
|
8
|
-
const inputTransform = (
|
|
9
|
-
return
|
|
8
|
+
const inputTransform = (inputValue) => {
|
|
9
|
+
return value && options.find((option) => option.id === inputValue) || null;
|
|
10
10
|
};
|
|
11
11
|
const outputTransform = (option) => {
|
|
12
12
|
return (option == null ? void 0 : option.id) ?? null;
|
|
@@ -31,10 +31,11 @@ const SelectClearable = (props) => {
|
|
|
31
31
|
inputProps: { ...inputProps, readOnly: true }
|
|
32
32
|
}
|
|
33
33
|
),
|
|
34
|
+
options,
|
|
34
35
|
...otherProps
|
|
35
36
|
}
|
|
36
37
|
);
|
|
37
|
-
}
|
|
38
|
+
}
|
|
38
39
|
export {
|
|
39
40
|
SelectClearable as default
|
|
40
41
|
};
|
|
@@ -4,9 +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
|
|
7
|
+
declare const cardErrorBoundaryEn: {
|
|
8
8
|
'card_error_boundary/title': string;
|
|
9
9
|
'card_error_boundary/content': string;
|
|
10
10
|
'card_error_boundary/expandederrorheader': string;
|
|
11
11
|
};
|
|
12
|
-
export default
|
|
12
|
+
export default cardErrorBoundaryEn;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const cardErrorBoundaryEn = {
|
|
2
2
|
"card_error_boundary/title": "Sorry, unexpected error :(",
|
|
3
3
|
"card_error_boundary/content": "Please reload, or close and reopen this application, or contact support.",
|
|
4
4
|
"card_error_boundary/expandederrorheader": "Error message (and see more information in the developper console):"
|
|
5
5
|
};
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
cardErrorBoundaryEn as default
|
|
8
8
|
};
|
|
@@ -4,9 +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
|
|
7
|
+
declare const cardErrorBoundaryFr: {
|
|
8
8
|
'card_error_boundary/title': string;
|
|
9
9
|
'card_error_boundary/content': string;
|
|
10
10
|
'card_error_boundary/expandederrorheader': string;
|
|
11
11
|
};
|
|
12
|
-
export default
|
|
12
|
+
export default cardErrorBoundaryFr;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const cardErrorBoundaryFr = {
|
|
2
2
|
"card_error_boundary/title": "Désolé, erreur inattendue :(",
|
|
3
3
|
"card_error_boundary/content": "Veuillez recharger, ou fermer et réouvrir cette application, ou contacter le support.",
|
|
4
4
|
"card_error_boundary/expandederrorheader": "Message d'erreur (et voir plus d'informations dans la console developpeur):"
|
|
5
5
|
};
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
cardErrorBoundaryFr as default
|
|
8
8
|
};
|
|
@@ -4,8 +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
|
|
7
|
+
declare const commonButtonEn: {
|
|
8
8
|
cancel: string;
|
|
9
9
|
validate: string;
|
|
10
10
|
};
|
|
11
|
-
export default
|
|
11
|
+
export default commonButtonEn;
|
|
@@ -4,8 +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
|
|
7
|
+
declare const commonButtonFr: {
|
|
8
8
|
cancel: string;
|
|
9
9
|
validate: string;
|
|
10
10
|
};
|
|
11
|
-
export default
|
|
11
|
+
export default commonButtonFr;
|
|
@@ -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
|
|
7
|
+
declare const directoryItemsInputEn: {
|
|
8
8
|
'directory_items_input/ElementAlreadyUsed': string;
|
|
9
9
|
};
|
|
10
|
-
export default
|
|
10
|
+
export default directoryItemsInputEn;
|
|
@@ -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
|
|
7
|
+
declare const directoryItemsInputFr: {
|
|
8
8
|
'directory_items_input/ElementAlreadyUsed': string;
|
|
9
9
|
};
|
|
10
|
-
export default
|
|
10
|
+
export default directoryItemsInputFr;
|
|
@@ -4,8 +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
|
|
7
|
+
declare const elementSearchEn: {
|
|
8
8
|
'element_search/label': string;
|
|
9
9
|
'element_search/noResult': string;
|
|
10
10
|
};
|
|
11
|
-
export default
|
|
11
|
+
export default elementSearchEn;
|
|
@@ -4,8 +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
|
|
7
|
+
declare const elementSearchFr: {
|
|
8
8
|
'element_search/label': string;
|
|
9
9
|
'element_search/noResult': string;
|
|
10
10
|
};
|
|
11
|
-
export default
|
|
11
|
+
export default elementSearchFr;
|
|
@@ -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
|
|
7
|
+
declare const equipmentSearchEn: {
|
|
8
8
|
'equipment_search/label': string;
|
|
9
9
|
'equipment_search/switchTag': string;
|
|
10
10
|
'equipment_search/busbarSectionTag': string;
|
|
@@ -22,4 +22,4 @@ declare const equipment_search_en: {
|
|
|
22
22
|
'equipment_search/substationTag': string;
|
|
23
23
|
'equipment_search/busTag': string;
|
|
24
24
|
};
|
|
25
|
-
export default
|
|
25
|
+
export default equipmentSearchEn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const equipmentSearchEn = {
|
|
2
2
|
"equipment_search/label": "Search for an equipment",
|
|
3
3
|
"equipment_search/switchTag": "SWITCH",
|
|
4
4
|
"equipment_search/busbarSectionTag": "BBS",
|
|
@@ -17,5 +17,5 @@ const equipment_search_en = {
|
|
|
17
17
|
"equipment_search/busTag": "BUS"
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
equipmentSearchEn as default
|
|
21
21
|
};
|
|
@@ -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
|
|
7
|
+
declare const equipmentSearchFr: {
|
|
8
8
|
'equipment_search/label': string;
|
|
9
9
|
'equipment_search/switchTag': string;
|
|
10
10
|
'equipment_search/busbarSectionTag': string;
|
|
@@ -22,4 +22,4 @@ declare const equipment_search_fr: {
|
|
|
22
22
|
'equipment_search/substationTag': string;
|
|
23
23
|
'equipment_search/busTag': string;
|
|
24
24
|
};
|
|
25
|
-
export default
|
|
25
|
+
export default equipmentSearchFr;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const equipmentSearchFr = {
|
|
2
2
|
"equipment_search/label": "Rechercher un ouvrage",
|
|
3
3
|
"equipment_search/switchTag": "SWITCH",
|
|
4
4
|
"equipment_search/busbarSectionTag": "SJB",
|
|
@@ -17,5 +17,5 @@ const equipment_search_fr = {
|
|
|
17
17
|
"equipment_search/busTag": "NOEUD"
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
equipmentSearchFr as default
|
|
21
21
|
};
|
|
@@ -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
|
|
7
|
+
declare const filterEn: {
|
|
8
8
|
OR: string;
|
|
9
9
|
AND: string;
|
|
10
10
|
rule: string;
|
|
@@ -21,8 +21,9 @@ declare const filter_en: {
|
|
|
21
21
|
isNotPartOf: string;
|
|
22
22
|
emptyRule: string;
|
|
23
23
|
incorrectRule: string;
|
|
24
|
+
obsoleteFilter: string;
|
|
24
25
|
betweenRule: string;
|
|
25
26
|
emptyGroup: string;
|
|
26
27
|
Hvdc: string;
|
|
27
28
|
};
|
|
28
|
-
export default
|
|
29
|
+
export default filterEn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const filterEn = {
|
|
2
2
|
OR: "OR",
|
|
3
3
|
AND: "AND",
|
|
4
4
|
rule: "rule",
|
|
@@ -15,10 +15,11 @@ const filter_en = {
|
|
|
15
15
|
isNotPartOf: "is not part of",
|
|
16
16
|
emptyRule: "Filter contains an empty field",
|
|
17
17
|
incorrectRule: "Filter contains an incorrect field",
|
|
18
|
+
obsoleteFilter: "This filter is no longer supported. Please remove it or change its equipment type.",
|
|
18
19
|
betweenRule: "Left value of 'between' rule have to be lower than the right value",
|
|
19
20
|
emptyGroup: "Filter contains an empty group. Consider removing it or adding rules to this group",
|
|
20
21
|
Hvdc: "HVDC"
|
|
21
22
|
};
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
+
filterEn as default
|
|
24
25
|
};
|
|
@@ -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
|
|
7
|
+
declare const filterExpertEn: {
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
10
10
|
energySource: string;
|
|
@@ -93,4 +93,4 @@ declare const filter_expert_en: {
|
|
|
93
93
|
highVoltageThreshold: string;
|
|
94
94
|
susceptanceFix: string;
|
|
95
95
|
};
|
|
96
|
-
export default
|
|
96
|
+
export default filterExpertEn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const filterExpertEn = {
|
|
2
2
|
id: "ID",
|
|
3
3
|
name: "Name",
|
|
4
4
|
energySource: "Energy source",
|
|
@@ -88,5 +88,5 @@ const filter_expert_en = {
|
|
|
88
88
|
susceptanceFix: "Fixed part of susceptance "
|
|
89
89
|
};
|
|
90
90
|
export {
|
|
91
|
-
|
|
91
|
+
filterExpertEn as default
|
|
92
92
|
};
|
|
@@ -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
|
|
7
|
+
declare const filterExpertFr: {
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
10
10
|
energySource: string;
|
|
@@ -93,4 +93,4 @@ declare const filter_expert_fr: {
|
|
|
93
93
|
highVoltageThreshold: string;
|
|
94
94
|
susceptanceFix: string;
|
|
95
95
|
};
|
|
96
|
-
export default
|
|
96
|
+
export default filterExpertFr;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const filterExpertFr = {
|
|
2
2
|
id: "ID",
|
|
3
3
|
name: "Nom",
|
|
4
4
|
energySource: "Source d'énergie",
|
|
@@ -88,5 +88,5 @@ const filter_expert_fr = {
|
|
|
88
88
|
susceptanceFix: "Susceptance fixe"
|
|
89
89
|
};
|
|
90
90
|
export {
|
|
91
|
-
|
|
91
|
+
filterExpertFr as default
|
|
92
92
|
};
|
|
@@ -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
|
|
7
|
+
declare const filterFr: {
|
|
8
8
|
OR: string;
|
|
9
9
|
AND: string;
|
|
10
10
|
rule: string;
|
|
@@ -21,8 +21,9 @@ declare const filter_fr: {
|
|
|
21
21
|
isNotPartOf: string;
|
|
22
22
|
emptyRule: string;
|
|
23
23
|
incorrectRule: string;
|
|
24
|
+
obsoleteFilter: string;
|
|
24
25
|
betweenRule: string;
|
|
25
26
|
emptyGroup: string;
|
|
26
27
|
Hvdc: string;
|
|
27
28
|
};
|
|
28
|
-
export default
|
|
29
|
+
export default filterFr;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const filterFr = {
|
|
2
2
|
OR: "OU",
|
|
3
3
|
AND: "ET",
|
|
4
4
|
rule: "règle",
|
|
@@ -15,10 +15,11 @@ const filter_fr = {
|
|
|
15
15
|
isNotPartOf: "ne fait pas partie de",
|
|
16
16
|
emptyRule: "Le filtre contient un champ vide",
|
|
17
17
|
incorrectRule: "Le filtre contient un champ incorrect",
|
|
18
|
+
obsoleteFilter: "Ce filtre n'est plus supporté. Veuillez le supprimer ou changer son type d'équipement.",
|
|
18
19
|
betweenRule: "La valeur de gauche d'une règle 'entre' doit être inférieure à la valeur de droite",
|
|
19
20
|
emptyGroup: "Le filtre contient un groupe vide. Supprimez le ou ajoutez des règles à ce groupe",
|
|
20
21
|
Hvdc: "HVDC"
|
|
21
22
|
};
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
+
filterFr as default
|
|
24
25
|
};
|
|
@@ -4,9 +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
|
|
7
|
+
declare const flatParametersEn: {
|
|
8
8
|
'flat_parameters/none': string;
|
|
9
9
|
'flat_parameters/some': string;
|
|
10
10
|
'flat_parameters/all': string;
|
|
11
11
|
};
|
|
12
|
-
export default
|
|
12
|
+
export default flatParametersEn;
|
|
@@ -4,9 +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
|
|
7
|
+
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
|
|
12
|
+
export default flatParametersFr;
|