@gridsuite/commons-ui 0.45.0 → 0.46.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.
@@ -16,7 +16,9 @@ export var elementType = {
16
16
  FILTER: 'FILTER',
17
17
  MODIFICATION: 'MODIFICATION',
18
18
  CONTINGENCY_LIST: 'CONTINGENCY_LIST',
19
- VOLTAGE_INIT_PARAMETERS: 'VOLTAGE_INIT_PARAMETERS'
19
+ VOLTAGE_INIT_PARAMETERS: 'VOLTAGE_INIT_PARAMETERS',
20
+ SECURITY_ANALYSIS_PARAMETERS: 'SECURITY_ANALYSIS_PARAMETERS',
21
+ LOADFLOW_PARAMETERS: 'LOADFLOW_PARAMETERS'
20
22
  };
21
23
  export function getFileIcon(type, style) {
22
24
  switch (type) {
@@ -37,6 +39,8 @@ export function getFileIcon(type, style) {
37
39
  sx: style
38
40
  });
39
41
  case elementType.VOLTAGE_INIT_PARAMETERS:
42
+ case elementType.SECURITY_ANALYSIS_PARAMETERS:
43
+ case elementType.LOADFLOW_PARAMETERS:
40
44
  return /*#__PURE__*/React.createElement(SettingsIcon, {
41
45
  sx: style
42
46
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.45.0",
3
+ "version": "0.46.0",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "engines": {
6
6
  "npm": ">=9",