@gridsuite/commons-ui 0.72.2 → 0.73.1

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 CHANGED
@@ -33,6 +33,7 @@ you need to follow the steps below:
33
33
  - [Make a release action](https://github.com/gridsuite/commons-ui/actions/workflows/release.yml)
34
34
  - In the 'run workflow' combobox select, let the branch on main
35
35
  - Enter the type of evolution (major | minor | patch)
36
+ - Enter your NPM access token (it must be an **automation** access token to bypass 2FA, see the [access token documentation](https://docs.npmjs.com/creating-and-viewing-access-tokens) for details)
36
37
  - Click 'run workflow'
37
38
 
38
39
  #### License Headers and dependencies checking
@@ -12,7 +12,7 @@ export interface FlatParametersProps {
12
12
  paramsAsArray: Parameter[];
13
13
  initValues: Record<string, string>;
14
14
  onChange: (paramName: string, value: unknown, isInEdition: boolean) => void;
15
- variant: TextFieldProps['variant'];
15
+ variant?: TextFieldProps['variant'];
16
16
  showSeparator?: boolean;
17
17
  selectionWithDialog?: (param: Parameter) => boolean;
18
18
  }
@@ -57,4 +57,6 @@ export declare const networkModificationsEn: {
57
57
  'network_modifications.tabular.SUBSTATION_MODIFICATION': string;
58
58
  'network_modifications.TABULAR_CREATION': string;
59
59
  'network_modifications.tabular.GENERATOR_CREATION': string;
60
+ 'network_modifications.LCC_CREATION': string;
61
+ 'network_modifications.CSPR_CREATION': string;
60
62
  };
@@ -50,7 +50,9 @@ const networkModificationsEn = {
50
50
  "network_modifications.tabular.SHUNT_COMPENSATOR_MODIFICATION": "linear shunt compensator modifications",
51
51
  "network_modifications.tabular.SUBSTATION_MODIFICATION": "substation modifications",
52
52
  "network_modifications.TABULAR_CREATION": "Tabular creation - {computedLabel}",
53
- "network_modifications.tabular.GENERATOR_CREATION": "generator creations"
53
+ "network_modifications.tabular.GENERATOR_CREATION": "generator creations",
54
+ "network_modifications.LCC_CREATION": "Creating HVDC (LCC) {computedLabel}",
55
+ "network_modifications.CSPR_CREATION": "Creating CSPR {computedLabel}"
54
56
  };
55
57
  export {
56
58
  networkModificationsEn
@@ -57,4 +57,6 @@ export declare const networkModificationsFr: {
57
57
  'network_modifications.tabular.SUBSTATION_MODIFICATION': string;
58
58
  'network_modifications.TABULAR_CREATION': string;
59
59
  'network_modifications.tabular.GENERATOR_CREATION': string;
60
+ 'network_modifications.LCC_CREATION': string;
61
+ 'network_modifications.STATIC_VAR_COMPENSATOR_CREATION': string;
60
62
  };
@@ -50,7 +50,9 @@ const networkModificationsFr = {
50
50
  "network_modifications.tabular.SHUNT_COMPENSATOR_MODIFICATION": "modifications de MCS linéaires",
51
51
  "network_modifications.tabular.SUBSTATION_MODIFICATION": "modifications de sites",
52
52
  "network_modifications.TABULAR_CREATION": "Création tabulaire - {computedLabel}",
53
- "network_modifications.tabular.GENERATOR_CREATION": "créations de générateurs"
53
+ "network_modifications.tabular.GENERATOR_CREATION": "créations de générateurs",
54
+ "network_modifications.LCC_CREATION": "Création de la HVDC (LCC) {computedLabel}",
55
+ "network_modifications.STATIC_VAR_COMPENSATOR_CREATION": "Création de CSPR {computedLabel}"
54
56
  };
55
57
  export {
56
58
  networkModificationsFr
@@ -44,7 +44,9 @@ export declare enum ModificationType {
44
44
  TABULAR_CREATION = "TABULAR_CREATION",
45
45
  VSC_MODIFICATION = "VSC_MODIFICATION",
46
46
  CONVERTER_STATION_MODIFICATION = "CONVERTER_STATION_MODIFICATION",
47
- COMPOSITE_MODIFICATION = "COMPOSITE_MODIFICATION"
47
+ COMPOSITE_MODIFICATION = "COMPOSITE_MODIFICATION",
48
+ LCC_CONVERTER_STATION_CREATION = "LCC_CONVERTER_STATION_CREATION",
49
+ LCC_CREATION = "LCC_CREATION"
48
50
  }
49
51
  export declare const MODIFICATION_TYPES: {
50
52
  GROOVY_SCRIPT: {
@@ -167,4 +169,10 @@ export declare const MODIFICATION_TYPES: {
167
169
  COMPOSITE_MODIFICATION: {
168
170
  type: ModificationType;
169
171
  };
172
+ LCC_CONVERTER_STATION_CREATION: {
173
+ type: ModificationType;
174
+ };
175
+ LCC_CREATION: {
176
+ type: ModificationType;
177
+ };
170
178
  };
@@ -39,6 +39,8 @@ var ModificationType = /* @__PURE__ */ ((ModificationType2) => {
39
39
  ModificationType2["VSC_MODIFICATION"] = "VSC_MODIFICATION";
40
40
  ModificationType2["CONVERTER_STATION_MODIFICATION"] = "CONVERTER_STATION_MODIFICATION";
41
41
  ModificationType2["COMPOSITE_MODIFICATION"] = "COMPOSITE_MODIFICATION";
42
+ ModificationType2["LCC_CONVERTER_STATION_CREATION"] = "LCC_CONVERTER_STATION_CREATION";
43
+ ModificationType2["LCC_CREATION"] = "LCC_CREATION";
42
44
  return ModificationType2;
43
45
  })(ModificationType || {});
44
46
  const MODIFICATION_TYPES = {
@@ -200,6 +202,14 @@ const MODIFICATION_TYPES = {
200
202
  COMPOSITE_MODIFICATION: {
201
203
  type: "COMPOSITE_MODIFICATION"
202
204
  /* COMPOSITE_MODIFICATION */
205
+ },
206
+ LCC_CONVERTER_STATION_CREATION: {
207
+ type: "LCC_CONVERTER_STATION_CREATION"
208
+ /* LCC_CONVERTER_STATION_CREATION */
209
+ },
210
+ LCC_CREATION: {
211
+ type: "LCC_CREATION"
212
+ /* LCC_CREATION */
203
213
  }
204
214
  };
205
215
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.72.2",
3
+ "version": "0.73.1",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "engines": {
6
6
  "npm": ">=9",