@gridsuite/commons-ui 0.60.3 → 0.61.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/README.md +16 -3
- package/dist/chunks/{criteria-based-filter-edition-dialog.g-QT74FD.js → criteria-based-filter-edition-dialog.CAT38SvB.js} +3 -2
- package/dist/components/ElementSearchDialog/element-search-input.d.ts +1 -1
- package/dist/components/ElementSearchDialog/element-search-input.js +3 -1
- package/dist/components/ElementSearchDialog/index.d.ts +1 -0
- package/dist/components/ElementSearchDialog/tag-renderer.d.ts +3 -7
- package/dist/components/ExpandableGroup/expandable-group.d.ts +36 -0
- package/dist/components/ExpandableGroup/expandable-group.js +58 -0
- package/dist/components/ExpandableGroup/index.d.ts +7 -0
- package/dist/components/ExpandableGroup/index.js +4 -0
- package/dist/components/TopBar/AboutDialog.d.ts +4 -7
- package/dist/components/TopBar/AboutDialog.js +15 -18
- package/dist/components/TopBar/TopBar.d.ts +3 -2
- package/dist/components/TopBar/TopBar.js +3 -1
- package/dist/components/filter/criteria-based/criteria-based-filter-edition-dialog.js +1 -1
- package/dist/components/filter/expert/expert-filter-edition-dialog.js +1 -1
- package/dist/components/filter/expert/expert-filter-form.js +1 -1
- package/dist/components/filter/explicit-naming/explicit-naming-filter-edition-dialog.js +1 -1
- package/dist/components/filter/explicit-naming/explicit-naming-filter-form.js +1 -1
- package/dist/components/filter/filter-creation-dialog.js +1 -1
- package/dist/components/filter/filter-form.js +4 -3
- package/dist/components/inputs/react-hook-form/ag-grid-table/bottom-right-buttons.js +1 -1
- package/dist/components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js +1 -1
- package/dist/components/inputs/react-hook-form/ag-grid-table/custom-ag-grid-table.js +1 -1
- package/dist/components/inputs/react-query-builder/custom-react-query-builder.js +1 -1
- package/dist/components/inputs/react-query-builder/element-value-editor.js +1 -1
- package/dist/components/inputs/react-query-builder/remove-button.js +1 -1
- package/dist/components/inputs/react-query-builder/value-editor.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +127 -125
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,9 +8,22 @@ The commons-ui library have a demo app in which you can call your components to
|
|
|
8
8
|
The `npm start` command install the library's dependencies then launches the demo app.
|
|
9
9
|
|
|
10
10
|
If you want to test your library integration with a consumer application my-app you have first
|
|
11
|
-
to build commons-ui via
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
to build commons-ui via
|
|
12
|
+
- `npm install` (if not already done to get `tsc`)
|
|
13
|
+
- `npm run build:pack`
|
|
14
|
+
|
|
15
|
+
Then in the my-app project :
|
|
16
|
+
- Change the commons-ui dependency in my-app's package.json from
|
|
17
|
+
`@gridsuite/commons-ui:"^x.x.x"`
|
|
18
|
+
to
|
|
19
|
+
`@gridsuite/commons-ui:"file:{PATH_TO_LIBRARY}/gridsuite-commons-ui-{LIBRARY_VERSION}.tgz"`
|
|
20
|
+
- `npm install`
|
|
21
|
+
- `npm start`
|
|
22
|
+
|
|
23
|
+
*Warning* : with Create React App, we realised the library was not updating correctly if you try to install the library multiple times.
|
|
24
|
+
To fix this, run this command from the app **after** running "npm install"
|
|
25
|
+
- rm -Rf node_modules/.cache
|
|
26
|
+
|
|
14
27
|
|
|
15
28
|
#### For integrators
|
|
16
29
|
|
|
@@ -13,7 +13,7 @@ import { UniqueNameInput } from "../components/inputs/react-hook-form/unique-nam
|
|
|
13
13
|
import { AgGridReact } from "ag-grid-react";
|
|
14
14
|
import "ag-grid-community/styles/ag-grid.css";
|
|
15
15
|
import "ag-grid-community/styles/ag-theme-alpine.css";
|
|
16
|
-
import { DialogContentText, Grid as Grid$1, Tooltip, useTheme
|
|
16
|
+
import { DialogContentText, Grid as Grid$1, Tooltip, useTheme } from "@mui/material";
|
|
17
17
|
import IconButton from "@mui/material/IconButton";
|
|
18
18
|
import { Upload, ArrowCircleUp, ArrowCircleDown } from "@mui/icons-material";
|
|
19
19
|
import AddIcon from "@mui/icons-material/ControlPoint";
|
|
@@ -99,6 +99,7 @@ import { NumericEditor } from "../components/inputs/react-hook-form/ag-grid-tabl
|
|
|
99
99
|
import { toFloatOrNullValue } from "../components/inputs/react-hook-form/utils/functions.js";
|
|
100
100
|
import ModifyElementSelection from "../components/dialogs/modify-element-selection.js";
|
|
101
101
|
import { exportFilter } from "../services/study.js";
|
|
102
|
+
import ExpandableGroup from "../components/ExpandableGroup/expandable-group.js";
|
|
102
103
|
import RadioInput from "../components/inputs/react-hook-form/radio-input.js";
|
|
103
104
|
import ExpandingTextField from "../components/inputs/react-hook-form/ExpandingTextField.js";
|
|
104
105
|
const CsvUploader = ({
|
|
@@ -1191,7 +1192,7 @@ const FilterForm = (props) => {
|
|
|
1191
1192
|
}
|
|
1192
1193
|
) }),
|
|
1193
1194
|
props.creation && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1194
|
-
/* @__PURE__ */ jsx(Grid$1, { item: true, xs: 12, children: /* @__PURE__ */ jsx(
|
|
1195
|
+
/* @__PURE__ */ jsx(Grid$1, { item: true, xs: 12, children: /* @__PURE__ */ jsx(ExpandableGroup, { renderHeader: "Description", children: /* @__PURE__ */ jsx(
|
|
1195
1196
|
ExpandingTextField,
|
|
1196
1197
|
{
|
|
1197
1198
|
name: FieldConstants.DESCRIPTION,
|
|
@@ -5,7 +5,7 @@ export type RenderElementProps<T> = HTMLAttributes<HTMLLIElement> & {
|
|
|
5
5
|
element: T;
|
|
6
6
|
inputValue: string;
|
|
7
7
|
};
|
|
8
|
-
export interface ElementSearchInputProps<T> extends Pick<AutocompleteProps<T, false,
|
|
8
|
+
export interface ElementSearchInputProps<T> extends Pick<AutocompleteProps<T, false, boolean, true>, 'sx' | 'size' | 'loadingText' | 'loading' | 'disableClearable'> {
|
|
9
9
|
searchTerm: string;
|
|
10
10
|
onSearchTermChange: (searchTerm: string) => void;
|
|
11
11
|
onSelectionChange: (selection: T) => void;
|
|
@@ -18,7 +18,8 @@ const ElementSearchInput = (props) => {
|
|
|
18
18
|
searchTermDisableReason,
|
|
19
19
|
searchTermDisabled,
|
|
20
20
|
size,
|
|
21
|
-
sx
|
|
21
|
+
sx,
|
|
22
|
+
disableClearable
|
|
22
23
|
} = props;
|
|
23
24
|
const intl = useIntl();
|
|
24
25
|
const displayedValue = useMemo(() => {
|
|
@@ -37,6 +38,7 @@ const ElementSearchInput = (props) => {
|
|
|
37
38
|
open: showResults,
|
|
38
39
|
freeSolo: true,
|
|
39
40
|
size,
|
|
41
|
+
disableClearable,
|
|
40
42
|
id: "element-search",
|
|
41
43
|
forcePopupIcon: false,
|
|
42
44
|
fullWidth: true,
|
|
@@ -6,5 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export { default } from './element-search-dialog';
|
|
8
8
|
export { TagRenderer } from './tag-renderer';
|
|
9
|
+
export type { TagRendererProps } from './tag-renderer';
|
|
9
10
|
export { ElementSearchInput } from './element-search-input';
|
|
10
11
|
export { useElementSearch } from './use-element-search';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SxProps, Theme } from '@mui/material';
|
|
2
|
-
import {
|
|
2
|
+
import { EquipmentInfos } from '../../utils/EquipmentType';
|
|
3
3
|
|
|
4
|
-
interface TagRendererProps {
|
|
4
|
+
export interface TagRendererProps {
|
|
5
5
|
props: {
|
|
6
6
|
classes?: {
|
|
7
7
|
equipmentTag?: string;
|
|
@@ -12,10 +12,6 @@ interface TagRendererProps {
|
|
|
12
12
|
equipmentVlTag?: SxProps<Theme>;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
element:
|
|
16
|
-
type: EquipmentType;
|
|
17
|
-
voltageLevelLabel?: string;
|
|
18
|
-
};
|
|
15
|
+
element: EquipmentInfos;
|
|
19
16
|
}
|
|
20
17
|
export declare const TagRenderer: ({ props, element }: TagRendererProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
import { Theme } from '@mui/material';
|
|
3
|
+
|
|
4
|
+
export declare const styles: {
|
|
5
|
+
accordion: (theme: Theme) => {
|
|
6
|
+
'&:before': {
|
|
7
|
+
display: string;
|
|
8
|
+
};
|
|
9
|
+
background: string;
|
|
10
|
+
};
|
|
11
|
+
accordionSummary: (theme: Theme) => {
|
|
12
|
+
flexDirection: string;
|
|
13
|
+
padding: number;
|
|
14
|
+
'.MuiAccordionSummary-content': {
|
|
15
|
+
paddingLeft: number;
|
|
16
|
+
};
|
|
17
|
+
'&:not(.Mui-expanded)': {
|
|
18
|
+
borderBottom: string;
|
|
19
|
+
borderColor: string;
|
|
20
|
+
};
|
|
21
|
+
'& .MuiAccordionSummary-expandIconWrapper': {
|
|
22
|
+
transform: string;
|
|
23
|
+
};
|
|
24
|
+
'& .MuiAccordionSummary-expandIconWrapper.Mui-expanded': {
|
|
25
|
+
transform: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
accordionDetails: (theme: Theme) => {
|
|
29
|
+
padding: number;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
interface ExpandableGroupProps extends PropsWithChildren {
|
|
33
|
+
renderHeader: ReactNode;
|
|
34
|
+
}
|
|
35
|
+
declare const ExpandableGroup: ({ renderHeader, children }: ExpandableGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export default ExpandableGroup;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Accordion, AccordionSummary, Typography, AccordionDetails } from "@mui/material";
|
|
3
|
+
import { useState } from "react";
|
|
4
|
+
import { ExpandCircleDown, ExpandMore } from "@mui/icons-material";
|
|
5
|
+
import { FormattedMessage } from "react-intl";
|
|
6
|
+
const styles = {
|
|
7
|
+
accordion: (theme) => ({
|
|
8
|
+
"&:before": {
|
|
9
|
+
display: "none"
|
|
10
|
+
},
|
|
11
|
+
background: "none"
|
|
12
|
+
}),
|
|
13
|
+
accordionSummary: (theme) => ({
|
|
14
|
+
flexDirection: "row-reverse",
|
|
15
|
+
// place icon at the left
|
|
16
|
+
padding: 0,
|
|
17
|
+
// reset default left right space in summary
|
|
18
|
+
".MuiAccordionSummary-content": {
|
|
19
|
+
paddingLeft: 1
|
|
20
|
+
// align text label
|
|
21
|
+
},
|
|
22
|
+
"&:not(.Mui-expanded)": {
|
|
23
|
+
// show a fake divider at the bottom of summary
|
|
24
|
+
borderBottom: "1px solid",
|
|
25
|
+
borderColor: theme.palette.divider
|
|
26
|
+
},
|
|
27
|
+
"& .MuiAccordionSummary-expandIconWrapper": {
|
|
28
|
+
transform: "rotate(-90deg)"
|
|
29
|
+
},
|
|
30
|
+
"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded": {
|
|
31
|
+
transform: "rotate(0deg)"
|
|
32
|
+
}
|
|
33
|
+
}),
|
|
34
|
+
accordionDetails: (theme) => ({
|
|
35
|
+
padding: 0
|
|
36
|
+
// reset default left right space in details
|
|
37
|
+
})
|
|
38
|
+
};
|
|
39
|
+
const ExpandableGroup = ({ renderHeader, children }) => {
|
|
40
|
+
const [mouseHover, setMouseHover] = useState(false);
|
|
41
|
+
return /* @__PURE__ */ jsxs(Accordion, { sx: styles.accordion, disableGutters: true, elevation: 0, children: [
|
|
42
|
+
/* @__PURE__ */ jsx(
|
|
43
|
+
AccordionSummary,
|
|
44
|
+
{
|
|
45
|
+
sx: styles.accordionSummary,
|
|
46
|
+
expandIcon: mouseHover ? /* @__PURE__ */ jsx(ExpandCircleDown, {}) : /* @__PURE__ */ jsx(ExpandMore, {}),
|
|
47
|
+
onMouseEnter: (event) => setMouseHover(true),
|
|
48
|
+
onMouseLeave: (event) => setMouseHover(false),
|
|
49
|
+
children: typeof renderHeader === "string" ? /* @__PURE__ */ jsx(Typography, { children: /* @__PURE__ */ jsx(FormattedMessage, { id: renderHeader }) }) : renderHeader
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
/* @__PURE__ */ jsx(AccordionDetails, { sx: styles.accordionDetails, children })
|
|
53
|
+
] });
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
ExpandableGroup as default,
|
|
57
|
+
styles
|
|
58
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export { default } from './expandable-group';
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
-
* License, v.2.0. If a copy of the MPL was not distributed with this
|
|
5
|
-
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
-
*/
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
7
3
|
declare const moduleTypeSort: {
|
|
8
4
|
app: number;
|
|
9
5
|
server: number;
|
|
@@ -26,6 +22,7 @@ export interface AboutDialogProps {
|
|
|
26
22
|
appGitTag?: string;
|
|
27
23
|
appLicense?: string;
|
|
28
24
|
additionalModulesPromise?: () => Promise<GridSuiteModule[]>;
|
|
25
|
+
logo?: ReactNode;
|
|
29
26
|
}
|
|
30
|
-
declare const AboutDialog: ({ open, onClose, globalVersionPromise, appName, appVersion, appGitTag, appLicense, additionalModulesPromise, }: AboutDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare const AboutDialog: ({ open, onClose, globalVersionPromise, appName, appVersion, appGitTag, appLicense, additionalModulesPromise, logo, }: AboutDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
28
|
export default AboutDialog;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useEffect, useCallback } from "react";
|
|
2
|
+
import { useState, useEffect, useMemo, useCallback } from "react";
|
|
3
3
|
import { useTheme, Dialog, useMediaQuery, DialogTitle, Collapse, Alert, Box, Fade, CircularProgress, Typography, DialogContent, Accordion, AccordionSummary, AccordionDetails, Grid, DialogActions, Button, Tooltip, Zoom, Stack, tooltipClasses } from "@mui/material";
|
|
4
4
|
import { LoadingButton } from "@mui/lab";
|
|
5
5
|
import { Refresh, ExpandMore, Gavel, Apps, WidgetsOutlined, DnsOutlined, QuestionMark } from "@mui/icons-material";
|
|
@@ -81,7 +81,8 @@ const AboutDialog = ({
|
|
|
81
81
|
appVersion,
|
|
82
82
|
appGitTag,
|
|
83
83
|
appLicense,
|
|
84
|
-
additionalModulesPromise
|
|
84
|
+
additionalModulesPromise,
|
|
85
|
+
logo
|
|
85
86
|
}) => {
|
|
86
87
|
const theme = useTheme();
|
|
87
88
|
const [isRefreshing, setRefreshState] = useState(false);
|
|
@@ -114,15 +115,18 @@ const AboutDialog = ({
|
|
|
114
115
|
}, [open, globalVersionPromise]);
|
|
115
116
|
const [loadingAdditionalModules, setLoadingAdditionalModules] = useState(false);
|
|
116
117
|
const [modules, setModules] = useState(null);
|
|
118
|
+
const currentApp = useMemo(
|
|
119
|
+
() => ({
|
|
120
|
+
name: !!logo && appName || `Grid${appName}`,
|
|
121
|
+
type: "app",
|
|
122
|
+
version: appVersion,
|
|
123
|
+
gitTag: appGitTag,
|
|
124
|
+
license: appLicense
|
|
125
|
+
}),
|
|
126
|
+
[logo, appName, appVersion, appGitTag, appLicense]
|
|
127
|
+
);
|
|
117
128
|
useEffect(() => {
|
|
118
129
|
if (open) {
|
|
119
|
-
const currentApp = {
|
|
120
|
-
name: `Grid${appName}`,
|
|
121
|
-
type: "app",
|
|
122
|
-
version: appVersion,
|
|
123
|
-
gitTag: appGitTag,
|
|
124
|
-
license: appLicense
|
|
125
|
-
};
|
|
126
130
|
(additionalModulesPromise ? Promise.resolve(setLoadingAdditionalModules(true)).then(
|
|
127
131
|
() => additionalModulesPromise()
|
|
128
132
|
) : Promise.reject(new Error("no getter"))).then(
|
|
@@ -132,14 +136,7 @@ const AboutDialog = ({
|
|
|
132
136
|
setModules([currentApp, ...values]);
|
|
133
137
|
}).finally(() => setLoadingAdditionalModules(false));
|
|
134
138
|
}
|
|
135
|
-
}, [
|
|
136
|
-
open,
|
|
137
|
-
additionalModulesPromise,
|
|
138
|
-
appName,
|
|
139
|
-
appVersion,
|
|
140
|
-
appGitTag,
|
|
141
|
-
appLicense
|
|
142
|
-
]);
|
|
139
|
+
}, [open, additionalModulesPromise, currentApp]);
|
|
143
140
|
const handleClose = useCallback(() => {
|
|
144
141
|
if (onClose) {
|
|
145
142
|
onClose();
|
|
@@ -190,7 +187,7 @@ const AboutDialog = ({
|
|
|
190
187
|
}
|
|
191
188
|
) }),
|
|
192
189
|
/* @__PURE__ */ jsxs(Box, { sx: styles.mainSection, children: [
|
|
193
|
-
/* @__PURE__ */ jsx(Box, { sx: styles.logoSection, children: /* @__PURE__ */ jsx(
|
|
190
|
+
/* @__PURE__ */ jsx(Box, { sx: styles.logoSection, children: logo || /* @__PURE__ */ jsx(
|
|
194
191
|
LogoText,
|
|
195
192
|
{
|
|
196
193
|
appName: "Suite",
|
|
@@ -4,7 +4,7 @@ import { LogoutProps } from '../Login/Logout';
|
|
|
4
4
|
import { AboutDialogProps } from './AboutDialog';
|
|
5
5
|
import { GridLogoProps } from './GridLogo';
|
|
6
6
|
import { default as PropTypes } from 'prop-types';
|
|
7
|
-
import { PropsWithChildren } from 'react';
|
|
7
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
8
8
|
|
|
9
9
|
export declare const DARK_THEME = "Dark";
|
|
10
10
|
export declare const LIGHT_THEME = "Light";
|
|
@@ -18,6 +18,7 @@ export type TopBarProps = Omit<GridLogoProps, 'onClick'> & Omit<LogoutProps, 'di
|
|
|
18
18
|
onLogoClick: GridLogoProps['onClick'];
|
|
19
19
|
user: User;
|
|
20
20
|
onAboutClick?: () => void;
|
|
21
|
+
logoAboutDialog?: ReactNode;
|
|
21
22
|
appsAndUrls: CommonMetadata[];
|
|
22
23
|
onThemeClick?: (theme: GsTheme) => void;
|
|
23
24
|
theme?: GsTheme;
|
|
@@ -27,7 +28,7 @@ export type TopBarProps = Omit<GridLogoProps, 'onClick'> & Omit<LogoutProps, 'di
|
|
|
27
28
|
language: GsLang;
|
|
28
29
|
};
|
|
29
30
|
declare const TopBar: {
|
|
30
|
-
({ appName, appColor, appLogo, appVersion, appLicense, onParametersClick, onLogoutClick, onLogoClick, user, children, appsAndUrls, onAboutClick, globalVersionPromise, additionalModulesPromise, onThemeClick, theme, onEquipmentLabellingClick, equipmentLabelling, onLanguageClick, language, }: PropsWithChildren<TopBarProps>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
({ appName, appColor, appLogo, appVersion, appLicense, logoAboutDialog, onParametersClick, onLogoutClick, onLogoClick, user, children, appsAndUrls, onAboutClick, globalVersionPromise, additionalModulesPromise, onThemeClick, theme, onEquipmentLabellingClick, equipmentLabelling, onLanguageClick, language, }: PropsWithChildren<TopBarProps>): import("react/jsx-runtime").JSX.Element;
|
|
31
32
|
propTypes: {
|
|
32
33
|
onParametersClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
34
|
onLogoutClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -113,6 +113,7 @@ const TopBar = ({
|
|
|
113
113
|
appLogo,
|
|
114
114
|
appVersion,
|
|
115
115
|
appLicense,
|
|
116
|
+
logoAboutDialog,
|
|
116
117
|
onParametersClick,
|
|
117
118
|
onLogoutClick,
|
|
118
119
|
onLogoClick,
|
|
@@ -592,7 +593,8 @@ const TopBar = ({
|
|
|
592
593
|
appVersion,
|
|
593
594
|
appLicense,
|
|
594
595
|
globalVersionPromise,
|
|
595
|
-
additionalModulesPromise
|
|
596
|
+
additionalModulesPromise,
|
|
597
|
+
logo: logoAboutDialog
|
|
596
598
|
}
|
|
597
599
|
)
|
|
598
600
|
] }) })
|
|
@@ -8,7 +8,7 @@ import "react-hook-form";
|
|
|
8
8
|
import "@hookform/resolvers/yup";
|
|
9
9
|
import "./criteria-based-filter-form.js";
|
|
10
10
|
import "../../../utils/yup-config.js";
|
|
11
|
-
import { b, p } from "../../../chunks/criteria-based-filter-edition-dialog.
|
|
11
|
+
import { b, p } from "../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
12
12
|
import "../constants/filter-constants.js";
|
|
13
13
|
import "../../../utils/FetchStatus.js";
|
|
14
14
|
import "../../../services/explore.js";
|
|
@@ -7,7 +7,7 @@ import "@hookform/resolvers/yup";
|
|
|
7
7
|
import "../../../hooks/useSnackMessage.js";
|
|
8
8
|
import "../../dialogs/custom-mui-dialog.js";
|
|
9
9
|
import "../../../utils/yup-config.js";
|
|
10
|
-
import { E } from "../../../chunks/criteria-based-filter-edition-dialog.
|
|
10
|
+
import { E } from "../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
11
11
|
import "../utils/filter-api.js";
|
|
12
12
|
import "./expert-filter-utils.js";
|
|
13
13
|
import "../constants/filter-constants.js";
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "@mui/material/Grid";
|
|
4
4
|
import "react-querybuilder";
|
|
5
|
-
import { k, n, l, m } from "../../../chunks/criteria-based-filter-edition-dialog.
|
|
5
|
+
import { k, n, l, m } from "../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
6
6
|
import "react-hook-form";
|
|
7
7
|
import "./expert-filter-utils.js";
|
|
8
8
|
import "./expert-filter-constants.js";
|
|
@@ -7,7 +7,7 @@ import "@hookform/resolvers/yup";
|
|
|
7
7
|
import "../../../hooks/useSnackMessage.js";
|
|
8
8
|
import "../../dialogs/custom-mui-dialog.js";
|
|
9
9
|
import "../../../utils/yup-config.js";
|
|
10
|
-
import { a } from "../../../chunks/criteria-based-filter-edition-dialog.
|
|
10
|
+
import { a } from "../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
11
11
|
import "../../../utils/field-constants.js";
|
|
12
12
|
import "uuid";
|
|
13
13
|
import "../../../utils/equipment-types.js";
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../utils/field-constants.js";
|
|
4
4
|
import "../../../utils/yup-config.js";
|
|
5
|
-
import { d, f, e, g } from "../../../chunks/criteria-based-filter-edition-dialog.
|
|
5
|
+
import { d, f, e, g } from "../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
6
6
|
import "react-intl";
|
|
7
7
|
import "react-hook-form";
|
|
8
8
|
import "@mui/material/Grid";
|
|
@@ -5,7 +5,7 @@ import "react-hook-form";
|
|
|
5
5
|
import "../../hooks/useSnackMessage.js";
|
|
6
6
|
import "../dialogs/custom-mui-dialog.js";
|
|
7
7
|
import "./criteria-based/criteria-based-filter-form.js";
|
|
8
|
-
import { F } from "../../chunks/criteria-based-filter-edition-dialog.
|
|
8
|
+
import { F } from "../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
9
9
|
import "../../utils/field-constants.js";
|
|
10
10
|
import "../../utils/yup-config.js";
|
|
11
11
|
import "@hookform/resolvers/yup";
|
|
@@ -2,14 +2,15 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../inputs/react-hook-form/unique-name-input.js";
|
|
3
3
|
import "../../utils/field-constants.js";
|
|
4
4
|
import "./criteria-based/criteria-based-filter-form.js";
|
|
5
|
-
import { o } from "../../chunks/criteria-based-filter-edition-dialog.
|
|
5
|
+
import { o } from "../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "react-hook-form";
|
|
8
8
|
import "@mui/material";
|
|
9
|
-
import "../inputs/react-hook-form/radio-input.js";
|
|
10
9
|
import "../../utils/ElementType.js";
|
|
11
|
-
import "../inputs/react-hook-form/ExpandingTextField.js";
|
|
12
10
|
import "./constants/filter-constants.js";
|
|
11
|
+
import "../ExpandableGroup/expandable-group.js";
|
|
12
|
+
import "../inputs/react-hook-form/radio-input.js";
|
|
13
|
+
import "../inputs/react-hook-form/ExpandingTextField.js";
|
|
13
14
|
export {
|
|
14
15
|
o as FilterForm
|
|
15
16
|
};
|
|
@@ -4,7 +4,7 @@ import "@mui/material/IconButton";
|
|
|
4
4
|
import "@mui/icons-material";
|
|
5
5
|
import "@mui/icons-material/ControlPoint";
|
|
6
6
|
import "@mui/icons-material/Delete";
|
|
7
|
-
import { B } from "../../../../chunks/criteria-based-filter-edition-dialog.
|
|
7
|
+
import { B } from "../../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "react-intl";
|
|
10
10
|
import "@mui/material/styles";
|
|
@@ -34,7 +34,7 @@ import "../../../../dialogs/description-modification-dialog.js";
|
|
|
34
34
|
import "../../../../../utils/field-constants.js";
|
|
35
35
|
import "yup";
|
|
36
36
|
import "../../../../dialogs/popup-confirmation-dialog.js";
|
|
37
|
-
import { c } from "../../../../../chunks/criteria-based-filter-edition-dialog.
|
|
37
|
+
import { c } from "../../../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
38
38
|
import "ag-grid-react";
|
|
39
39
|
import "ag-grid-community/styles/ag-grid.css";
|
|
40
40
|
import "ag-grid-community/styles/ag-theme-alpine.css";
|
|
@@ -5,7 +5,7 @@ import "ag-grid-react";
|
|
|
5
5
|
import "ag-grid-community/styles/ag-grid.css";
|
|
6
6
|
import "ag-grid-community/styles/ag-theme-alpine.css";
|
|
7
7
|
import "@mui/material";
|
|
8
|
-
import { C, R, C as C2 } from "../../../../chunks/criteria-based-filter-edition-dialog.
|
|
8
|
+
import { C, R, C as C2 } from "../../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
9
9
|
import "react-intl";
|
|
10
10
|
import "../../../../utils/field-constants.js";
|
|
11
11
|
export {
|
|
@@ -7,7 +7,7 @@ import "@react-querybuilder/material";
|
|
|
7
7
|
import "react-querybuilder";
|
|
8
8
|
import "react-intl";
|
|
9
9
|
import "react-hook-form";
|
|
10
|
-
import { j } from "../../../chunks/criteria-based-filter-edition-dialog.
|
|
10
|
+
import { j } from "../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
11
11
|
import "./combinator-selector.js";
|
|
12
12
|
import "./add-button.js";
|
|
13
13
|
import "./value-selector.js";
|
|
@@ -26,7 +26,7 @@ import "../../../services/explore.js";
|
|
|
26
26
|
import "yup";
|
|
27
27
|
import "../react-hook-form/provider/use-custom-form-context.js";
|
|
28
28
|
import "../../dialogs/popup-confirmation-dialog.js";
|
|
29
|
-
import { i } from "../../../chunks/criteria-based-filter-edition-dialog.
|
|
29
|
+
import { i } from "../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
30
30
|
import "ag-grid-react";
|
|
31
31
|
import "ag-grid-community/styles/ag-grid.css";
|
|
32
32
|
import "ag-grid-community/styles/ag-theme-alpine.css";
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "@mui/material/IconButton";
|
|
3
3
|
import "@mui/icons-material/Delete";
|
|
4
4
|
import "react-hook-form";
|
|
5
|
-
import { h } from "../../../chunks/criteria-based-filter-edition-dialog.
|
|
5
|
+
import { h } from "../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
6
6
|
import "../../filter/expert/expert-filter-utils.js";
|
|
7
7
|
export {
|
|
8
8
|
h as default
|
|
@@ -9,7 +9,7 @@ import "react-hook-form";
|
|
|
9
9
|
import "../../../utils/field-constants.js";
|
|
10
10
|
import "../../filter/expert/expert-filter.type.js";
|
|
11
11
|
import "../../../utils/equipment-types.js";
|
|
12
|
-
import { V } from "../../../chunks/criteria-based-filter-edition-dialog.
|
|
12
|
+
import { V } from "../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
13
13
|
import "../../../utils/ElementType.js";
|
|
14
14
|
import "./property-value-editor.js";
|
|
15
15
|
import "../../filter/constants/filter-constants.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export { default as ReportViewerDialog } from './components/ReportViewerDialog';
|
|
|
16
16
|
export { default as OverflowableText } from './components/OverflowableText';
|
|
17
17
|
export { default as ElementSearchDialog } from './components/ElementSearchDialog';
|
|
18
18
|
export { default as FlatParameters } from './components/FlatParameters';
|
|
19
|
+
export { default as ExpandableGroup } from './components/ExpandableGroup';
|
|
19
20
|
export { default as MultipleSelectionDialog } from './components/MultipleSelectionDialog';
|
|
20
21
|
export { default as CustomMuiDialog } from './components/dialogs/custom-mui-dialog';
|
|
21
22
|
export { default as DescriptionModificationDialog } from './components/dialogs/description-modification-dialog';
|
|
@@ -67,6 +68,7 @@ export { default as common_button_fr } from './components/translations/common-bu
|
|
|
67
68
|
export { default as directory_items_input_en } from './components/translations/directory-items-input-en';
|
|
68
69
|
export { default as directory_items_input_fr } from './components/translations/directory-items-input-fr';
|
|
69
70
|
export { TagRenderer, ElementSearchInput, useElementSearch, } from './components/ElementSearchDialog';
|
|
71
|
+
export type { TagRendererProps } from './components/ElementSearchDialog';
|
|
70
72
|
export { EquipmentItem } from './components/ElementSearchDialog/equipment-item';
|
|
71
73
|
export { default as CardErrorBoundary } from './components/CardErrorBoundary';
|
|
72
74
|
export { useIntlRef } from './hooks/useIntlRef';
|
package/dist/index.js
CHANGED
|
@@ -17,13 +17,14 @@ import { TagRenderer } from "./components/ElementSearchDialog/tag-renderer.js";
|
|
|
17
17
|
import { ElementSearchInput } from "./components/ElementSearchDialog/element-search-input.js";
|
|
18
18
|
import { useElementSearch } from "./components/ElementSearchDialog/use-element-search.js";
|
|
19
19
|
import { FlatParameters } from "./components/FlatParameters/FlatParameters.js";
|
|
20
|
-
import { default as default10 } from "./components/
|
|
21
|
-
import { default as default11 } from "./components/
|
|
22
|
-
import { default as default12 } from "./components/dialogs/
|
|
23
|
-
import { default as default13 } from "./components/dialogs/
|
|
24
|
-
import { default as default14 } from "./components/
|
|
25
|
-
import { default as default15 } from "./components/
|
|
26
|
-
import {
|
|
20
|
+
import { default as default10 } from "./components/ExpandableGroup/expandable-group.js";
|
|
21
|
+
import { default as default11 } from "./components/MultipleSelectionDialog/MultipleSelectionDialog.js";
|
|
22
|
+
import { default as default12 } from "./components/dialogs/custom-mui-dialog.js";
|
|
23
|
+
import { default as default13 } from "./components/dialogs/description-modification-dialog.js";
|
|
24
|
+
import { default as default14 } from "./components/dialogs/modify-element-selection.js";
|
|
25
|
+
import { default as default15 } from "./components/filter/criteria-based/criteria-based-form.js";
|
|
26
|
+
import { default as default16 } from "./components/dialogs/popup-confirmation-dialog.js";
|
|
27
|
+
import { B, b, c, C, E, a, F, R } from "./chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
|
|
27
28
|
import { Battery, BusBar, DanglingLine, Generator, Hvdc, LCC, Line, Load, SVC, ShuntCompensator, Substation, ThreeWindingTransfo, TwoWindingTransfo, VSC, VoltageLevel, noSelectionForCopy } from "./utils/equipment-types.js";
|
|
28
29
|
import { FieldConstants } from "./utils/field-constants.js";
|
|
29
30
|
import { GRIDSUITE_DEFAULT_PRECISION, isBlankOrEmpty, microUnitToUnit, roundToDefaultPrecision, roundToPrecision, unitToMicroUnit } from "./utils/conversion-utils.js";
|
|
@@ -32,72 +33,72 @@ import { EQUIPMENT_TYPE, EquipmentType, equipmentStyles, getEquipmentsInfosForSe
|
|
|
32
33
|
import { dispatchUser, getPreLoginPath, initializeAuthenticationDev, initializeAuthenticationProd, logout } from "./utils/AuthService.js";
|
|
33
34
|
import { getFileIcon } from "./utils/ElementIcon.js";
|
|
34
35
|
import { LOGOUT_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN, SIGNIN_CALLBACK_ERROR, UNAUTHORIZED_USER_INFO, USER, USER_VALIDATION_ERROR, setLoggedUser, setSignInCallbackError } from "./redux/actions.js";
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
36
|
+
import { default as default17 } from "./components/translations/report-viewer-en.js";
|
|
37
|
+
import { default as default18 } from "./components/translations/report-viewer-fr.js";
|
|
38
|
+
import { default as default19 } from "./components/translations/login-en.js";
|
|
39
|
+
import { default as default20 } from "./components/translations/login-fr.js";
|
|
40
|
+
import { default as default21 } from "./components/translations/top-bar-en.js";
|
|
41
|
+
import { default as default22 } from "./components/translations/top-bar-fr.js";
|
|
42
|
+
import { default as default23 } from "./components/translations/table-en.js";
|
|
43
|
+
import { default as default24 } from "./components/translations/table-fr.js";
|
|
44
|
+
import { default as default25 } from "./components/translations/treeview-finder-en.js";
|
|
45
|
+
import { default as default26 } from "./components/translations/treeview-finder-fr.js";
|
|
46
|
+
import { default as default27 } from "./components/translations/element-search-en.js";
|
|
47
|
+
import { default as default28 } from "./components/translations/element-search-fr.js";
|
|
48
|
+
import { default as default29 } from "./components/translations/equipment-search-en.js";
|
|
49
|
+
import { default as default30 } from "./components/translations/equipment-search-fr.js";
|
|
50
|
+
import { default as default31 } from "./components/translations/filter-en.js";
|
|
51
|
+
import { default as default32 } from "./components/translations/filter-fr.js";
|
|
52
|
+
import { default as default33 } from "./components/translations/filter-expert-en.js";
|
|
53
|
+
import { default as default34 } from "./components/translations/filter-expert-fr.js";
|
|
54
|
+
import { default as default35 } from "./components/translations/card-error-boundary-en.js";
|
|
55
|
+
import { default as default36 } from "./components/translations/card-error-boundary-fr.js";
|
|
56
|
+
import { default as default37 } from "./components/translations/flat-parameters-en.js";
|
|
57
|
+
import { default as default38 } from "./components/translations/flat-parameters-fr.js";
|
|
58
|
+
import { default as default39 } from "./components/translations/multiple-selection-dialog-en.js";
|
|
59
|
+
import { default as default40 } from "./components/translations/multiple-selection-dialog-fr.js";
|
|
60
|
+
import { default as default41 } from "./components/translations/common-button-en.js";
|
|
61
|
+
import { default as default42 } from "./components/translations/common-button-fr.js";
|
|
62
|
+
import { default as default43 } from "./components/translations/directory-items-input-en.js";
|
|
63
|
+
import { default as default44 } from "./components/translations/directory-items-input-fr.js";
|
|
63
64
|
import { EquipmentItem } from "./components/ElementSearchDialog/equipment-item.js";
|
|
64
|
-
import { default as
|
|
65
|
+
import { default as default45 } from "./components/CardErrorBoundary/card-error-boundary.js";
|
|
65
66
|
import { useIntlRef } from "./hooks/useIntlRef.js";
|
|
66
67
|
import { useSnackMessage } from "./hooks/useSnackMessage.js";
|
|
67
68
|
import { useDebounce } from "./hooks/useDebounce.js";
|
|
68
|
-
import { default as
|
|
69
|
+
import { default as default46 } from "./components/inputs/select-clearable.js";
|
|
69
70
|
import { useCustomFormContext } from "./components/inputs/react-hook-form/provider/use-custom-form-context.js";
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as
|
|
71
|
+
import { default as default47 } from "./components/inputs/react-hook-form/provider/custom-form-provider.js";
|
|
72
|
+
import { default as default48 } from "./components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.js";
|
|
73
|
+
import { default as default49 } from "./components/inputs/react-hook-form/text-input.js";
|
|
74
|
+
import { default as default50 } from "./components/inputs/react-hook-form/ExpandingTextField.js";
|
|
75
|
+
import { default as default51 } from "./components/inputs/react-hook-form/radio-input.js";
|
|
76
|
+
import { default as default52 } from "./components/inputs/react-hook-form/slider-input.js";
|
|
77
|
+
import { default as default53 } from "./components/inputs/react-hook-form/numbers/float-input.js";
|
|
78
|
+
import { default as default54 } from "./components/inputs/react-hook-form/numbers/integer-input.js";
|
|
79
|
+
import { default as default55 } from "./components/inputs/react-hook-form/select-inputs/select-input.js";
|
|
80
|
+
import { default as default56 } from "./components/inputs/react-hook-form/booleans/checkbox-input.js";
|
|
81
|
+
import { default as default57 } from "./components/inputs/react-hook-form/booleans/switch-input.js";
|
|
82
|
+
import { default as default58 } from "./components/inputs/react-hook-form/error-management/error-input.js";
|
|
83
|
+
import { default as default59 } from "./components/inputs/react-hook-form/error-management/field-error-alert.js";
|
|
84
|
+
import { default as default60 } from "./components/inputs/react-hook-form/error-management/mid-form-error.js";
|
|
85
|
+
import { default as default61 } from "./components/inputs/react-hook-form/utils/text-field-with-adornment.js";
|
|
86
|
+
import { default as default62 } from "./components/inputs/react-hook-form/utils/field-label.js";
|
|
87
|
+
import { default as default63 } from "./components/inputs/react-hook-form/utils/submit-button.js";
|
|
88
|
+
import { default as default64 } from "./components/inputs/react-hook-form/utils/cancel-button.js";
|
|
88
89
|
import { genHelperError, genHelperPreviousValue, gridItem, identity, isFieldRequired, isFloatNumber, toFloatOrNullValue } from "./components/inputs/react-hook-form/utils/functions.js";
|
|
89
90
|
import { areArrayElementsUnique, isObjectEmpty, keyGenerator } from "./utils/functions.js";
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
91
|
+
import { default as default65 } from "./components/inputs/react-hook-form/directory-items-input.js";
|
|
92
|
+
import { default as default66 } from "./components/DirectoryItemSelector/directory-item-selector.js";
|
|
93
|
+
import { default as default67 } from "./components/CustomAGGrid/custom-aggrid.js";
|
|
93
94
|
import { RawReadOnlyInput } from "./components/inputs/react-hook-form/raw-read-only-input.js";
|
|
94
95
|
import { saveCriteriaBasedFilter, saveExpertFilter, saveExplicitNamingFilter } from "./components/filter/utils/filter-api.js";
|
|
95
|
-
import { DEFAULT_RANGE_VALUE, default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
96
|
+
import { DEFAULT_RANGE_VALUE, default as default68, getRangeInputDataForm, getRangeInputSchema } from "./components/inputs/react-hook-form/range-input.js";
|
|
97
|
+
import { default as default69 } from "./components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.js";
|
|
98
|
+
import { default as default70 } from "./components/inputs/react-hook-form/select-inputs/mui-select-input.js";
|
|
99
|
+
import { default as default71 } from "./components/inputs/react-hook-form/select-inputs/countries-input.js";
|
|
99
100
|
import { getComputedLanguage, getSystemLanguage, useLocalizedCountries } from "./hooks/localized-countries-hook.js";
|
|
100
|
-
import { default as
|
|
101
|
+
import { default as default72 } from "./components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js";
|
|
101
102
|
import { UniqueNameInput } from "./components/inputs/react-hook-form/unique-name-input.js";
|
|
102
103
|
import { UserManagerMock } from "./utils/UserManagerMock.js";
|
|
103
104
|
import { CONTINGENCY_LIST_EQUIPMENTS, FILTER_EQUIPMENTS } from "./components/filter/utils/filter-form-utils.js";
|
|
@@ -111,54 +112,55 @@ import { exportFilter } from "./services/study.js";
|
|
|
111
112
|
export {
|
|
112
113
|
default4 as AboutDialog,
|
|
113
114
|
default6 as AuthenticationRouter,
|
|
114
|
-
|
|
115
|
+
default48 as AutocompleteInput,
|
|
115
116
|
Battery,
|
|
116
117
|
B as BottomRightButtons,
|
|
117
118
|
BusBar,
|
|
118
119
|
CHANGE_WAYS,
|
|
119
120
|
CONTINGENCY_LIST_EQUIPMENTS,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
default64 as CancelButton,
|
|
122
|
+
default45 as CardErrorBoundary,
|
|
123
|
+
default56 as CheckboxInput,
|
|
124
|
+
default71 as CountriesInput,
|
|
124
125
|
b as CriteriaBasedFilterEditionDialog,
|
|
125
|
-
|
|
126
|
+
default15 as CriteriaBasedForm,
|
|
126
127
|
c as CsvUploader,
|
|
127
|
-
|
|
128
|
+
default67 as CustomAGGrid,
|
|
128
129
|
C as CustomAgGridTable,
|
|
129
|
-
|
|
130
|
-
|
|
130
|
+
default47 as CustomFormProvider,
|
|
131
|
+
default12 as CustomMuiDialog,
|
|
131
132
|
DARK_THEME,
|
|
132
133
|
DEFAULT_CELL_PADDING,
|
|
133
134
|
DEFAULT_HEADER_HEIGHT,
|
|
134
135
|
DEFAULT_RANGE_VALUE,
|
|
135
136
|
DEFAULT_ROW_HEIGHT,
|
|
136
137
|
DanglingLine,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
default13 as DescriptionModificationDialog,
|
|
139
|
+
default66 as DirectoryItemSelector,
|
|
140
|
+
default65 as DirectoryItemsInput,
|
|
140
141
|
EQUIPMENT_TYPE,
|
|
141
142
|
ElementSearchDialog,
|
|
142
143
|
ElementSearchInput,
|
|
143
144
|
ElementType,
|
|
144
145
|
EquipmentItem,
|
|
145
146
|
EquipmentType,
|
|
146
|
-
|
|
147
|
-
|
|
147
|
+
default58 as ErrorInput,
|
|
148
|
+
default10 as ExpandableGroup,
|
|
149
|
+
default50 as ExpandingTextField,
|
|
148
150
|
E as ExpertFilterEditionDialog,
|
|
149
151
|
a as ExplicitNamingFilterEditionDialog,
|
|
150
152
|
FILTER_EQUIPMENTS,
|
|
151
153
|
FieldConstants,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
+
default59 as FieldErrorAlert,
|
|
155
|
+
default62 as FieldLabel,
|
|
154
156
|
F as FilterCreationDialog,
|
|
155
157
|
FlatParameters,
|
|
156
|
-
|
|
158
|
+
default53 as FloatInput,
|
|
157
159
|
GRIDSUITE_DEFAULT_PRECISION,
|
|
158
160
|
Generator,
|
|
159
161
|
Hvdc,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
+
default69 as InputWithPopupConfirmation,
|
|
163
|
+
default54 as IntegerInput,
|
|
162
164
|
KeyedColumnsRowIndexer,
|
|
163
165
|
LANG_ENGLISH,
|
|
164
166
|
LANG_FRENCH,
|
|
@@ -168,35 +170,35 @@ export {
|
|
|
168
170
|
LOGOUT_ERROR,
|
|
169
171
|
Line,
|
|
170
172
|
Load,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
173
|
+
default60 as MidFormError,
|
|
174
|
+
default14 as ModifyElementSelection,
|
|
175
|
+
default70 as MuiSelectInput,
|
|
174
176
|
default7 as MuiVirtualizedTable,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
+
default72 as MultipleAutocompleteInput,
|
|
178
|
+
default11 as MultipleSelectionDialog,
|
|
177
179
|
OverflowableText,
|
|
178
|
-
|
|
180
|
+
default16 as PopupConfirmationDialog,
|
|
179
181
|
RESET_AUTHENTICATION_ROUTER_ERROR,
|
|
180
182
|
R as ROW_DRAGGING_SELECTION_COLUMN_DEF,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
+
default51 as RadioInput,
|
|
184
|
+
default68 as RangeInput,
|
|
183
185
|
RawReadOnlyInput,
|
|
184
186
|
default8 as ReportViewer,
|
|
185
187
|
default9 as ReportViewerDialog,
|
|
186
188
|
SHOW_AUTH_INFO_LOGIN,
|
|
187
189
|
SIGNIN_CALLBACK_ERROR,
|
|
188
190
|
SVC,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
+
default46 as SelectClearable,
|
|
192
|
+
default55 as SelectInput,
|
|
191
193
|
ShuntCompensator,
|
|
192
|
-
|
|
194
|
+
default52 as SliderInput,
|
|
193
195
|
default5 as SnackbarProvider,
|
|
194
|
-
|
|
196
|
+
default63 as SubmitButton,
|
|
195
197
|
Substation,
|
|
196
|
-
|
|
198
|
+
default57 as SwitchInput,
|
|
197
199
|
TagRenderer,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
+
default61 as TextFieldWithAdornment,
|
|
201
|
+
default49 as TextInput,
|
|
200
202
|
ThreeWindingTransfo,
|
|
201
203
|
default3 as TopBar,
|
|
202
204
|
default2 as TreeViewFinder,
|
|
@@ -211,19 +213,19 @@ export {
|
|
|
211
213
|
areArrayElementsUnique,
|
|
212
214
|
backendFetch,
|
|
213
215
|
backendFetchJson,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
default35 as card_error_boundary_en,
|
|
217
|
+
default36 as card_error_boundary_fr,
|
|
218
|
+
default41 as common_button_en,
|
|
219
|
+
default42 as common_button_fr,
|
|
218
220
|
createFilter,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
+
default43 as directory_items_input_en,
|
|
222
|
+
default44 as directory_items_input_fr,
|
|
221
223
|
dispatchUser,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
+
default27 as element_search_en,
|
|
225
|
+
default28 as element_search_fr,
|
|
224
226
|
equipmentStyles,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
+
default29 as equipment_search_en,
|
|
228
|
+
default30 as equipment_search_fr,
|
|
227
229
|
exportFilter,
|
|
228
230
|
fetchAppsMetadata,
|
|
229
231
|
fetchDirectoryContent,
|
|
@@ -232,12 +234,12 @@ export {
|
|
|
232
234
|
fetchEnv,
|
|
233
235
|
fetchRootFolders,
|
|
234
236
|
fetchStudyMetadata,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
default31 as filter_en,
|
|
238
|
+
default33 as filter_expert_en,
|
|
239
|
+
default34 as filter_expert_fr,
|
|
240
|
+
default32 as filter_fr,
|
|
241
|
+
default37 as flat_parameters_en,
|
|
242
|
+
default38 as flat_parameters_fr,
|
|
241
243
|
genHelperError,
|
|
242
244
|
genHelperPreviousValue,
|
|
243
245
|
getComputedLanguage,
|
|
@@ -259,16 +261,16 @@ export {
|
|
|
259
261
|
isFloatNumber,
|
|
260
262
|
isObjectEmpty,
|
|
261
263
|
keyGenerator,
|
|
262
|
-
|
|
263
|
-
|
|
264
|
+
default19 as login_en,
|
|
265
|
+
default20 as login_fr,
|
|
264
266
|
logout,
|
|
265
267
|
mergeSx,
|
|
266
268
|
microUnitToUnit,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
+
default39 as multiple_selection_dialog_en,
|
|
270
|
+
default40 as multiple_selection_dialog_fr,
|
|
269
271
|
noSelectionForCopy,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
+
default17 as report_viewer_en,
|
|
273
|
+
default18 as report_viewer_fr,
|
|
272
274
|
roundToDefaultPrecision,
|
|
273
275
|
roundToPrecision,
|
|
274
276
|
saveCriteriaBasedFilter,
|
|
@@ -278,13 +280,13 @@ export {
|
|
|
278
280
|
setCommonStore,
|
|
279
281
|
setLoggedUser,
|
|
280
282
|
setSignInCallbackError,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
+
default23 as table_en,
|
|
284
|
+
default24 as table_fr,
|
|
283
285
|
toFloatOrNullValue,
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
286
|
+
default21 as top_bar_en,
|
|
287
|
+
default22 as top_bar_fr,
|
|
288
|
+
default25 as treeview_finder_en,
|
|
289
|
+
default26 as treeview_finder_fr,
|
|
288
290
|
unitToMicroUnit,
|
|
289
291
|
useCustomFormContext,
|
|
290
292
|
useDebounce,
|