@gridsuite/commons-ui 0.155.0 → 0.156.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/icons/index.d.ts +0 -3
- package/dist/components/icons/index.js +1 -7
- package/dist/components/index.js +0 -6
- package/dist/index.js +0 -6
- package/package.json +1 -1
- package/dist/components/icons/DeviceHubIcon.d.ts +0 -11
- package/dist/components/icons/DeviceHubIcon.js +0 -15
- package/dist/components/icons/PhotoLibraryIcon.d.ts +0 -7
- package/dist/components/icons/PhotoLibraryIcon.js +0 -19
- package/dist/components/icons/TuneIcon.d.ts +0 -13
- package/dist/components/icons/TuneIcon.js +0 -20
|
@@ -7,7 +7,4 @@
|
|
|
7
7
|
export { LeftPanelOpenIcon } from './LeftPanelOpenIcon';
|
|
8
8
|
export { ArrowsOutputIcon } from './ArrowsOutputIcon';
|
|
9
9
|
export { LeftPanelCloseIcon } from './LeftPanelCloseIcon';
|
|
10
|
-
export { DeviceHubIcon } from './DeviceHubIcon';
|
|
11
|
-
export { TuneIcon } from './TuneIcon';
|
|
12
|
-
export { PhotoLibraryIcon } from './PhotoLibraryIcon';
|
|
13
10
|
export { EditNoteIcon } from './EditNoteIcon';
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { LeftPanelOpenIcon } from "./LeftPanelOpenIcon.js";
|
|
2
2
|
import { ArrowsOutputIcon } from "./ArrowsOutputIcon.js";
|
|
3
3
|
import { LeftPanelCloseIcon } from "./LeftPanelCloseIcon.js";
|
|
4
|
-
import { DeviceHubIcon } from "./DeviceHubIcon.js";
|
|
5
|
-
import { TuneIcon } from "./TuneIcon.js";
|
|
6
|
-
import { PhotoLibraryIcon } from "./PhotoLibraryIcon.js";
|
|
7
4
|
import { EditNoteIcon } from "./EditNoteIcon.js";
|
|
8
5
|
export {
|
|
9
6
|
ArrowsOutputIcon,
|
|
10
|
-
DeviceHubIcon,
|
|
11
7
|
EditNoteIcon,
|
|
12
8
|
LeftPanelCloseIcon,
|
|
13
|
-
LeftPanelOpenIcon
|
|
14
|
-
PhotoLibraryIcon,
|
|
15
|
-
TuneIcon
|
|
9
|
+
LeftPanelOpenIcon
|
|
16
10
|
};
|
package/dist/components/index.js
CHANGED
|
@@ -131,9 +131,6 @@ import { useListenerManager } from "./notifications/hooks/useListenerManager.js"
|
|
|
131
131
|
import { LeftPanelOpenIcon } from "./icons/LeftPanelOpenIcon.js";
|
|
132
132
|
import { ArrowsOutputIcon } from "./icons/ArrowsOutputIcon.js";
|
|
133
133
|
import { LeftPanelCloseIcon } from "./icons/LeftPanelCloseIcon.js";
|
|
134
|
-
import { DeviceHubIcon } from "./icons/DeviceHubIcon.js";
|
|
135
|
-
import { TuneIcon } from "./icons/TuneIcon.js";
|
|
136
|
-
import { PhotoLibraryIcon } from "./icons/PhotoLibraryIcon.js";
|
|
137
134
|
import { EditNoteIcon } from "./icons/EditNoteIcon.js";
|
|
138
135
|
import { ComputingType, formatComputingTypeLabel, isValidComputingType } from "./parameters/common/computing-type.js";
|
|
139
136
|
import { COMMON_PARAMETERS, PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_PROVIDER, PROVIDER, ReactivePowerAdornment, SPECIFIC_PARAMETERS, VERSION_PARAMETER, VOLTAGE_LEVEL, VoltageAdornment } from "./parameters/common/constant.js";
|
|
@@ -254,7 +251,6 @@ export {
|
|
|
254
251
|
DescriptionField,
|
|
255
252
|
DescriptionModificationDialog,
|
|
256
253
|
DevModeBanner,
|
|
257
|
-
DeviceHubIcon,
|
|
258
254
|
DirectoryItemSelector,
|
|
259
255
|
DirectoryItemsInput,
|
|
260
256
|
DndColumnType,
|
|
@@ -397,7 +393,6 @@ export {
|
|
|
397
393
|
ParameterSwitch,
|
|
398
394
|
PccMinParametersEditionDialog,
|
|
399
395
|
PccMinParametersInLine,
|
|
400
|
-
PhotoLibraryIcon,
|
|
401
396
|
PopupConfirmationDialog,
|
|
402
397
|
PredefinedParameters,
|
|
403
398
|
PropertyValueEditor,
|
|
@@ -477,7 +472,6 @@ export {
|
|
|
477
472
|
TopBar,
|
|
478
473
|
TranslatedValueEditor,
|
|
479
474
|
TreeViewFinder,
|
|
480
|
-
TuneIcon,
|
|
481
475
|
UPDATE_BUS_VOLTAGE,
|
|
482
476
|
USE_REACTIVE_LIMITS,
|
|
483
477
|
UnauthorizedAccessAlert,
|
package/dist/index.js
CHANGED
|
@@ -132,9 +132,6 @@ import { useListenerManager } from "./components/notifications/hooks/useListener
|
|
|
132
132
|
import { LeftPanelOpenIcon } from "./components/icons/LeftPanelOpenIcon.js";
|
|
133
133
|
import { ArrowsOutputIcon } from "./components/icons/ArrowsOutputIcon.js";
|
|
134
134
|
import { LeftPanelCloseIcon } from "./components/icons/LeftPanelCloseIcon.js";
|
|
135
|
-
import { DeviceHubIcon } from "./components/icons/DeviceHubIcon.js";
|
|
136
|
-
import { TuneIcon } from "./components/icons/TuneIcon.js";
|
|
137
|
-
import { PhotoLibraryIcon } from "./components/icons/PhotoLibraryIcon.js";
|
|
138
135
|
import { EditNoteIcon } from "./components/icons/EditNoteIcon.js";
|
|
139
136
|
import { ComputingType, formatComputingTypeLabel, isValidComputingType } from "./components/parameters/common/computing-type.js";
|
|
140
137
|
import { COMMON_PARAMETERS, PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_PROVIDER, PROVIDER, ReactivePowerAdornment, SPECIFIC_PARAMETERS, VERSION_PARAMETER, VOLTAGE_LEVEL, VoltageAdornment } from "./components/parameters/common/constant.js";
|
|
@@ -387,7 +384,6 @@ export {
|
|
|
387
384
|
DescriptionField,
|
|
388
385
|
DescriptionModificationDialog,
|
|
389
386
|
DevModeBanner,
|
|
390
|
-
DeviceHubIcon,
|
|
391
387
|
DirectoryItemSelector,
|
|
392
388
|
DirectoryItemsInput,
|
|
393
389
|
DistributionType,
|
|
@@ -579,7 +575,6 @@ export {
|
|
|
579
575
|
PccMinParametersEditionDialog,
|
|
580
576
|
PccMinParametersInLine,
|
|
581
577
|
PermissionType,
|
|
582
|
-
PhotoLibraryIcon,
|
|
583
578
|
PopupConfirmationDialog,
|
|
584
579
|
PredefinedParameters,
|
|
585
580
|
ProblemDetailError,
|
|
@@ -672,7 +667,6 @@ export {
|
|
|
672
667
|
TopBar,
|
|
673
668
|
TranslatedValueEditor,
|
|
674
669
|
TreeViewFinder,
|
|
675
|
-
TuneIcon,
|
|
676
670
|
TwoWindingTransfo,
|
|
677
671
|
UNAUTHORIZED_USER_INFO,
|
|
678
672
|
UPDATE_BUS_VOLTAGE,
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025, 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
|
-
interface DeviceHubProps {
|
|
8
|
-
style?: React.CSSProperties;
|
|
9
|
-
}
|
|
10
|
-
export declare function DeviceHubIcon({ style }: DeviceHubProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import DeviceHub from "@material-symbols/svg-400/outlined/device_hub.svg?react";
|
|
3
|
-
import { useTheme } from "@mui/material";
|
|
4
|
-
function DeviceHubIcon({ style }) {
|
|
5
|
-
const theme = useTheme();
|
|
6
|
-
const defaultStyle = {
|
|
7
|
-
width: 15,
|
|
8
|
-
height: 15,
|
|
9
|
-
fill: theme.palette.text.primary
|
|
10
|
-
};
|
|
11
|
-
return /* @__PURE__ */ jsx(DeviceHub, { style: { ...defaultStyle, ...style } });
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
DeviceHubIcon
|
|
15
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025, RTE (http://www.rte-france.com)
|
|
3
|
-
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
-
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
-
*/
|
|
7
|
-
export declare function PhotoLibraryIcon(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import PhotoLibrary from "@material-symbols/svg-400/outlined/photo_library-fill.svg?react";
|
|
3
|
-
import { useTheme } from "@mui/material";
|
|
4
|
-
function PhotoLibraryIcon() {
|
|
5
|
-
const theme = useTheme();
|
|
6
|
-
return /* @__PURE__ */ jsx(
|
|
7
|
-
PhotoLibrary,
|
|
8
|
-
{
|
|
9
|
-
style: {
|
|
10
|
-
width: 14.4,
|
|
11
|
-
height: 14.4,
|
|
12
|
-
fill: theme.palette.text.primary
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
PhotoLibraryIcon
|
|
19
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025, 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
|
-
type TuneIconProps = {
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
size?: number;
|
|
10
|
-
color?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare function TuneIcon({ disabled, size, color }: TuneIconProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import Tune from "@material-symbols/svg-400/outlined/tune.svg?react";
|
|
3
|
-
import { useTheme } from "@mui/material";
|
|
4
|
-
function TuneIcon({ disabled = false, size = 14.4, color }) {
|
|
5
|
-
const theme = useTheme();
|
|
6
|
-
const fillColor = color ?? (disabled ? theme.palette.action.disabled : theme.palette.text.primary);
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
8
|
-
Tune,
|
|
9
|
-
{
|
|
10
|
-
style: {
|
|
11
|
-
width: size,
|
|
12
|
-
height: size,
|
|
13
|
-
fill: fillColor
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
TuneIcon
|
|
20
|
-
};
|