@gridsuite/commons-ui 0.63.1 → 0.63.3
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/ElementSearchDialog/element-search-input.d.ts +2 -2
- package/dist/components/ElementSearchDialog/element-search-input.js +4 -2
- package/dist/components/ElementSearchDialog/index.d.ts +1 -0
- package/dist/components/ElementSearchDialog/use-element-search.d.ts +18 -1
- package/dist/components/ElementSearchDialog/use-element-search.js +18 -3
- package/dist/components/FlatParameters/FlatParameters.js +1 -1
- package/dist/components/filter/criteria-based/filter-free-properties.js +1 -1
- package/dist/components/filter/criteria-based/filter-property.js +1 -0
- package/dist/components/filter/expert/expert-filter-constants.d.ts +379 -0
- package/dist/components/filter/expert/expert-filter-constants.js +477 -9
- package/dist/components/filter/expert/expert-filter-utils.js +1 -1
- package/dist/components/filter/expert/expert-filter.type.d.ts +54 -1
- package/dist/components/filter/expert/expert-filter.type.js +53 -0
- package/dist/components/filter/utils/filter-form-utils.js +1 -1
- package/dist/components/inputs/react-query-builder/value-editor.js +7 -7
- package/dist/components/translations/filter-expert-en.d.ts +70 -0
- package/dist/components/translations/filter-expert-en.js +71 -1
- package/dist/components/translations/filter-expert-fr.d.ts +70 -0
- package/dist/components/translations/filter-expert-fr.js +74 -4
- package/dist/hooks/useSnackMessage.js +2 -2
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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, boolean, true>, 'sx' | 'size' | 'loadingText' | 'loading' | 'disableClearable'> {
|
|
8
|
+
export interface ElementSearchInputProps<T> extends Pick<AutocompleteProps<T, false, boolean, true>, 'sx' | 'size' | 'loadingText' | 'loading' | 'disableClearable' | 'getOptionDisabled' | 'PaperComponent'> {
|
|
9
9
|
searchTerm: string;
|
|
10
10
|
onSearchTermChange: (searchTerm: string) => void;
|
|
11
11
|
onSelectionChange: (selection: T) => void;
|
|
@@ -18,4 +18,4 @@ export interface ElementSearchInputProps<T> extends Pick<AutocompleteProps<T, fa
|
|
|
18
18
|
searchTermDisableReason?: string;
|
|
19
19
|
showResults?: boolean;
|
|
20
20
|
}
|
|
21
|
-
export declare function ElementSearchInput<T>(props: ElementSearchInputProps<T
|
|
21
|
+
export declare function ElementSearchInput<T>(props: Readonly<ElementSearchInputProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -19,7 +19,8 @@ function ElementSearchInput(props) {
|
|
|
19
19
|
searchTermDisabled,
|
|
20
20
|
size,
|
|
21
21
|
sx,
|
|
22
|
-
disableClearable
|
|
22
|
+
disableClearable,
|
|
23
|
+
PaperComponent
|
|
23
24
|
} = props;
|
|
24
25
|
const intl = useIntl();
|
|
25
26
|
const displayedValue = useMemo(() => {
|
|
@@ -76,7 +77,8 @@ function ElementSearchInput(props) {
|
|
|
76
77
|
}
|
|
77
78
|
return option === value;
|
|
78
79
|
},
|
|
79
|
-
disabled: searchTermDisabled
|
|
80
|
+
disabled: searchTermDisabled,
|
|
81
|
+
PaperComponent
|
|
80
82
|
}
|
|
81
83
|
);
|
|
82
84
|
}
|
|
@@ -9,3 +9,4 @@ export { default as TagRenderer } from './tag-renderer';
|
|
|
9
9
|
export type { TagRendererProps } from './tag-renderer';
|
|
10
10
|
export { ElementSearchInput } from './element-search-input';
|
|
11
11
|
export { default as useElementSearch } from './use-element-search';
|
|
12
|
+
export type { Paginated } from './use-element-search';
|
|
@@ -4,13 +4,30 @@
|
|
|
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
|
+
export type Paginated<T> = {
|
|
8
|
+
content: T[];
|
|
9
|
+
totalPages: number;
|
|
10
|
+
totalElements: number;
|
|
11
|
+
last: boolean;
|
|
12
|
+
size: number;
|
|
13
|
+
number: number;
|
|
14
|
+
sort: {
|
|
15
|
+
sorted: boolean;
|
|
16
|
+
unsorted: boolean;
|
|
17
|
+
empty: boolean;
|
|
18
|
+
};
|
|
19
|
+
first: boolean;
|
|
20
|
+
numberOfElements: number;
|
|
21
|
+
empty: boolean;
|
|
22
|
+
};
|
|
7
23
|
interface UseElementSearch<T> {
|
|
8
|
-
fetchElements: (newSearchTerm: string) => Promise<T[]>;
|
|
24
|
+
fetchElements: (newSearchTerm: string) => Promise<Paginated<T> | T[]>;
|
|
9
25
|
}
|
|
10
26
|
declare const useElementSearch: <T>(props: UseElementSearch<T>) => {
|
|
11
27
|
searchTerm: string;
|
|
12
28
|
updateSearchTerm: (newSearchTerm: string) => void;
|
|
13
29
|
elementsFound: T[];
|
|
14
30
|
isLoading: boolean;
|
|
31
|
+
totalElements: number;
|
|
15
32
|
};
|
|
16
33
|
export default useElementSearch;
|
|
@@ -8,6 +8,7 @@ const useElementSearch = (props) => {
|
|
|
8
8
|
const [isLoading, setIsLoading] = useState(false);
|
|
9
9
|
const [searchTerm, setSearchTerm] = useState("");
|
|
10
10
|
const [elementsFound, setElementsFound] = useState([]);
|
|
11
|
+
const [totalElements, setTotalElements] = useState(0);
|
|
11
12
|
const lastSearchTermRef = useRef("");
|
|
12
13
|
const searchMatchingElements = useCallback(
|
|
13
14
|
(newSearchTerm) => {
|
|
@@ -17,12 +18,19 @@ const useElementSearch = (props) => {
|
|
|
17
18
|
lastSearchTermRef.current = newSearchTerm;
|
|
18
19
|
fetchElements(newSearchTerm).then((infos) => {
|
|
19
20
|
if (newSearchTerm === lastSearchTermRef.current) {
|
|
20
|
-
|
|
21
|
+
if (Array.isArray(infos)) {
|
|
22
|
+
setElementsFound(infos);
|
|
23
|
+
setTotalElements(infos.length);
|
|
24
|
+
} else {
|
|
25
|
+
setElementsFound(infos.content);
|
|
26
|
+
setTotalElements(infos.totalElements);
|
|
27
|
+
}
|
|
21
28
|
setIsLoading(false);
|
|
22
29
|
}
|
|
23
30
|
}).catch((error) => {
|
|
24
31
|
if (newSearchTerm === lastSearchTermRef.current) {
|
|
25
32
|
setElementsFound([]);
|
|
33
|
+
setTotalElements(0);
|
|
26
34
|
setIsLoading(false);
|
|
27
35
|
snackError({
|
|
28
36
|
messageTxt: error.message,
|
|
@@ -31,7 +39,7 @@ const useElementSearch = (props) => {
|
|
|
31
39
|
}
|
|
32
40
|
});
|
|
33
41
|
},
|
|
34
|
-
[
|
|
42
|
+
[fetchElements, snackError]
|
|
35
43
|
);
|
|
36
44
|
const debouncedSearchMatchingElements = useDebounce(
|
|
37
45
|
searchMatchingElements,
|
|
@@ -42,6 +50,7 @@ const useElementSearch = (props) => {
|
|
|
42
50
|
setSearchTerm(newSearchTerm);
|
|
43
51
|
if (newSearchTerm.length === 0) {
|
|
44
52
|
setElementsFound([]);
|
|
53
|
+
setTotalElements(0);
|
|
45
54
|
setIsLoading(false);
|
|
46
55
|
} else {
|
|
47
56
|
setIsLoading(true);
|
|
@@ -50,7 +59,13 @@ const useElementSearch = (props) => {
|
|
|
50
59
|
},
|
|
51
60
|
[debouncedSearchMatchingElements]
|
|
52
61
|
);
|
|
53
|
-
return {
|
|
62
|
+
return {
|
|
63
|
+
searchTerm,
|
|
64
|
+
updateSearchTerm,
|
|
65
|
+
elementsFound,
|
|
66
|
+
isLoading,
|
|
67
|
+
totalElements
|
|
68
|
+
};
|
|
54
69
|
};
|
|
55
70
|
export {
|
|
56
71
|
useElementSearch as default
|
|
@@ -159,7 +159,7 @@ function FlatParameters({
|
|
|
159
159
|
if (param.name === inEditionParam && uncommitted !== null) {
|
|
160
160
|
return uncommitted;
|
|
161
161
|
}
|
|
162
|
-
if (Object.hasOwn(initValues, param.name)) {
|
|
162
|
+
if (initValues && Object.hasOwn(initValues, param.name)) {
|
|
163
163
|
if (param.type === "BOOLEAN") {
|
|
164
164
|
return initValues[param.name] === "false" ? false : initValues[param.name];
|
|
165
165
|
}
|
|
@@ -61,7 +61,7 @@ function FilterFreeProperties({
|
|
|
61
61
|
propertyType: freePropertiesType
|
|
62
62
|
}
|
|
63
63
|
) }, prop.id)),
|
|
64
|
-
/* @__PURE__ */ jsx(Grid, { item: true, children: /* @__PURE__ */ jsx(Button, { startIcon: /* @__PURE__ */ jsx(AddIcon, {}), onClick: () => addNewProp, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "AddFreePropCrit" }) }) }),
|
|
64
|
+
/* @__PURE__ */ jsx(Grid, { item: true, children: /* @__PURE__ */ jsx(Button, { startIcon: /* @__PURE__ */ jsx(AddIcon, {}), onClick: () => addNewProp(), children: /* @__PURE__ */ jsx(FormattedMessage, { id: "AddFreePropCrit" }) }) }),
|
|
65
65
|
/* @__PURE__ */ jsx(Grid, { item: true, children: /* @__PURE__ */ jsx(ErrorInput, { name: fieldName, InputField: FieldErrorAlert }) })
|
|
66
66
|
] });
|
|
67
67
|
}
|
|
@@ -42,6 +42,7 @@ function FilterProperty(props) {
|
|
|
42
42
|
name: `${FieldConstants.CRITERIA_BASED}.${propertyType}[${index}].${PROPERTY_NAME}`,
|
|
43
43
|
label: "PropertyName",
|
|
44
44
|
options: predefinedNames,
|
|
45
|
+
freeSolo: true,
|
|
45
46
|
autoSelect: true,
|
|
46
47
|
forcePopupIcon: true,
|
|
47
48
|
onChangeCallback: onNameChange
|
|
@@ -24,6 +24,10 @@ export declare const EXPERT_FILTER_EQUIPMENTS: {
|
|
|
24
24
|
id: string;
|
|
25
25
|
label: string;
|
|
26
26
|
};
|
|
27
|
+
THREE_WINDINGS_TRANSFORMER: {
|
|
28
|
+
id: string;
|
|
29
|
+
label: string;
|
|
30
|
+
};
|
|
27
31
|
GENERATOR: {
|
|
28
32
|
id: string;
|
|
29
33
|
label: string;
|
|
@@ -44,6 +48,14 @@ export declare const EXPERT_FILTER_EQUIPMENTS: {
|
|
|
44
48
|
id: string;
|
|
45
49
|
label: string;
|
|
46
50
|
};
|
|
51
|
+
HVDC_LINE: {
|
|
52
|
+
id: string;
|
|
53
|
+
label: string;
|
|
54
|
+
};
|
|
55
|
+
DANGLING_LINE: {
|
|
56
|
+
id: string;
|
|
57
|
+
label: string;
|
|
58
|
+
};
|
|
47
59
|
};
|
|
48
60
|
export declare const ENERGY_SOURCE_OPTIONS: {
|
|
49
61
|
name: string;
|
|
@@ -73,6 +85,10 @@ export declare const REGULATION_TYPE_OPTIONS: {
|
|
|
73
85
|
name: string;
|
|
74
86
|
label: string;
|
|
75
87
|
}[];
|
|
88
|
+
export declare const CONVERTERS_MODE_OPTIONS: {
|
|
89
|
+
name: string;
|
|
90
|
+
label: string;
|
|
91
|
+
}[];
|
|
76
92
|
export declare const OPERATOR_OPTIONS: {
|
|
77
93
|
EQUALS: {
|
|
78
94
|
name: string;
|
|
@@ -256,6 +272,24 @@ export declare const FIELDS_OPTIONS: {
|
|
|
256
272
|
dataType: DataType;
|
|
257
273
|
inputType: string;
|
|
258
274
|
};
|
|
275
|
+
RATED_S1: {
|
|
276
|
+
name: FieldType;
|
|
277
|
+
label: string;
|
|
278
|
+
dataType: DataType;
|
|
279
|
+
inputType: string;
|
|
280
|
+
};
|
|
281
|
+
RATED_S2: {
|
|
282
|
+
name: FieldType;
|
|
283
|
+
label: string;
|
|
284
|
+
dataType: DataType;
|
|
285
|
+
inputType: string;
|
|
286
|
+
};
|
|
287
|
+
RATED_S3: {
|
|
288
|
+
name: FieldType;
|
|
289
|
+
label: string;
|
|
290
|
+
dataType: DataType;
|
|
291
|
+
inputType: string;
|
|
292
|
+
};
|
|
259
293
|
MARGINAL_COST: {
|
|
260
294
|
name: FieldType;
|
|
261
295
|
label: string;
|
|
@@ -382,6 +416,13 @@ export declare const FIELDS_OPTIONS: {
|
|
|
382
416
|
defaultValue: boolean;
|
|
383
417
|
valueEditorType: string;
|
|
384
418
|
};
|
|
419
|
+
CONNECTED_3: {
|
|
420
|
+
name: FieldType;
|
|
421
|
+
label: string;
|
|
422
|
+
dataType: DataType;
|
|
423
|
+
defaultValue: boolean;
|
|
424
|
+
valueEditorType: string;
|
|
425
|
+
};
|
|
385
426
|
VOLTAGE_LEVEL_ID_1: {
|
|
386
427
|
name: FieldType;
|
|
387
428
|
label: string;
|
|
@@ -392,6 +433,11 @@ export declare const FIELDS_OPTIONS: {
|
|
|
392
433
|
label: string;
|
|
393
434
|
dataType: DataType;
|
|
394
435
|
};
|
|
436
|
+
VOLTAGE_LEVEL_ID_3: {
|
|
437
|
+
name: FieldType;
|
|
438
|
+
label: string;
|
|
439
|
+
dataType: DataType;
|
|
440
|
+
};
|
|
395
441
|
NOMINAL_VOLTAGE_1: {
|
|
396
442
|
name: FieldType;
|
|
397
443
|
label: string;
|
|
@@ -404,6 +450,18 @@ export declare const FIELDS_OPTIONS: {
|
|
|
404
450
|
dataType: DataType;
|
|
405
451
|
inputType: string;
|
|
406
452
|
};
|
|
453
|
+
NOMINAL_VOLTAGE_3: {
|
|
454
|
+
name: FieldType;
|
|
455
|
+
label: string;
|
|
456
|
+
dataType: DataType;
|
|
457
|
+
inputType: string;
|
|
458
|
+
};
|
|
459
|
+
RATED_VOLTAGE_0: {
|
|
460
|
+
name: FieldType;
|
|
461
|
+
label: string;
|
|
462
|
+
dataType: DataType;
|
|
463
|
+
inputType: string;
|
|
464
|
+
};
|
|
407
465
|
RATED_VOLTAGE_1: {
|
|
408
466
|
name: FieldType;
|
|
409
467
|
label: string;
|
|
@@ -416,6 +474,12 @@ export declare const FIELDS_OPTIONS: {
|
|
|
416
474
|
dataType: DataType;
|
|
417
475
|
inputType: string;
|
|
418
476
|
};
|
|
477
|
+
RATED_VOLTAGE_3: {
|
|
478
|
+
name: FieldType;
|
|
479
|
+
label: string;
|
|
480
|
+
dataType: DataType;
|
|
481
|
+
inputType: string;
|
|
482
|
+
};
|
|
419
483
|
COUNTRY_1: {
|
|
420
484
|
name: FieldType;
|
|
421
485
|
label: string;
|
|
@@ -436,12 +500,48 @@ export declare const FIELDS_OPTIONS: {
|
|
|
436
500
|
dataType: DataType;
|
|
437
501
|
inputType: string;
|
|
438
502
|
};
|
|
503
|
+
SERIE_RESISTANCE_1: {
|
|
504
|
+
name: FieldType;
|
|
505
|
+
label: string;
|
|
506
|
+
dataType: DataType;
|
|
507
|
+
inputType: string;
|
|
508
|
+
};
|
|
509
|
+
SERIE_RESISTANCE_2: {
|
|
510
|
+
name: FieldType;
|
|
511
|
+
label: string;
|
|
512
|
+
dataType: DataType;
|
|
513
|
+
inputType: string;
|
|
514
|
+
};
|
|
515
|
+
SERIE_RESISTANCE_3: {
|
|
516
|
+
name: FieldType;
|
|
517
|
+
label: string;
|
|
518
|
+
dataType: DataType;
|
|
519
|
+
inputType: string;
|
|
520
|
+
};
|
|
439
521
|
SERIE_REACTANCE: {
|
|
440
522
|
name: FieldType;
|
|
441
523
|
label: string;
|
|
442
524
|
dataType: DataType;
|
|
443
525
|
inputType: string;
|
|
444
526
|
};
|
|
527
|
+
SERIE_REACTANCE_1: {
|
|
528
|
+
name: FieldType;
|
|
529
|
+
label: string;
|
|
530
|
+
dataType: DataType;
|
|
531
|
+
inputType: string;
|
|
532
|
+
};
|
|
533
|
+
SERIE_REACTANCE_2: {
|
|
534
|
+
name: FieldType;
|
|
535
|
+
label: string;
|
|
536
|
+
dataType: DataType;
|
|
537
|
+
inputType: string;
|
|
538
|
+
};
|
|
539
|
+
SERIE_REACTANCE_3: {
|
|
540
|
+
name: FieldType;
|
|
541
|
+
label: string;
|
|
542
|
+
dataType: DataType;
|
|
543
|
+
inputType: string;
|
|
544
|
+
};
|
|
445
545
|
SHUNT_CONDUCTANCE_1: {
|
|
446
546
|
name: FieldType;
|
|
447
547
|
label: string;
|
|
@@ -472,12 +572,48 @@ export declare const FIELDS_OPTIONS: {
|
|
|
472
572
|
dataType: DataType;
|
|
473
573
|
inputType: string;
|
|
474
574
|
};
|
|
575
|
+
MAGNETIZING_CONDUCTANCE_1: {
|
|
576
|
+
name: FieldType;
|
|
577
|
+
label: string;
|
|
578
|
+
dataType: DataType;
|
|
579
|
+
inputType: string;
|
|
580
|
+
};
|
|
581
|
+
MAGNETIZING_CONDUCTANCE_2: {
|
|
582
|
+
name: FieldType;
|
|
583
|
+
label: string;
|
|
584
|
+
dataType: DataType;
|
|
585
|
+
inputType: string;
|
|
586
|
+
};
|
|
587
|
+
MAGNETIZING_CONDUCTANCE_3: {
|
|
588
|
+
name: FieldType;
|
|
589
|
+
label: string;
|
|
590
|
+
dataType: DataType;
|
|
591
|
+
inputType: string;
|
|
592
|
+
};
|
|
475
593
|
MAGNETIZING_SUSCEPTANCE: {
|
|
476
594
|
name: FieldType;
|
|
477
595
|
label: string;
|
|
478
596
|
dataType: DataType;
|
|
479
597
|
inputType: string;
|
|
480
598
|
};
|
|
599
|
+
MAGNETIZING_SUSCEPTANCE_1: {
|
|
600
|
+
name: FieldType;
|
|
601
|
+
label: string;
|
|
602
|
+
dataType: DataType;
|
|
603
|
+
inputType: string;
|
|
604
|
+
};
|
|
605
|
+
MAGNETIZING_SUSCEPTANCE_2: {
|
|
606
|
+
name: FieldType;
|
|
607
|
+
label: string;
|
|
608
|
+
dataType: DataType;
|
|
609
|
+
inputType: string;
|
|
610
|
+
};
|
|
611
|
+
MAGNETIZING_SUSCEPTANCE_3: {
|
|
612
|
+
name: FieldType;
|
|
613
|
+
label: string;
|
|
614
|
+
dataType: DataType;
|
|
615
|
+
inputType: string;
|
|
616
|
+
};
|
|
481
617
|
LOAD_TYPE: {
|
|
482
618
|
name: FieldType;
|
|
483
619
|
label: string;
|
|
@@ -496,6 +632,27 @@ export declare const FIELDS_OPTIONS: {
|
|
|
496
632
|
defaultValue: boolean;
|
|
497
633
|
valueEditorType: string;
|
|
498
634
|
};
|
|
635
|
+
HAS_RATIO_TAP_CHANGER_1: {
|
|
636
|
+
name: FieldType;
|
|
637
|
+
label: string;
|
|
638
|
+
dataType: DataType;
|
|
639
|
+
defaultValue: boolean;
|
|
640
|
+
valueEditorType: string;
|
|
641
|
+
};
|
|
642
|
+
HAS_RATIO_TAP_CHANGER_2: {
|
|
643
|
+
name: FieldType;
|
|
644
|
+
label: string;
|
|
645
|
+
dataType: DataType;
|
|
646
|
+
defaultValue: boolean;
|
|
647
|
+
valueEditorType: string;
|
|
648
|
+
};
|
|
649
|
+
HAS_RATIO_TAP_CHANGER_3: {
|
|
650
|
+
name: FieldType;
|
|
651
|
+
label: string;
|
|
652
|
+
dataType: DataType;
|
|
653
|
+
defaultValue: boolean;
|
|
654
|
+
valueEditorType: string;
|
|
655
|
+
};
|
|
499
656
|
LOAD_TAP_CHANGING_CAPABILITIES: {
|
|
500
657
|
name: FieldType;
|
|
501
658
|
label: string;
|
|
@@ -503,6 +660,27 @@ export declare const FIELDS_OPTIONS: {
|
|
|
503
660
|
defaultValue: boolean;
|
|
504
661
|
valueEditorType: string;
|
|
505
662
|
};
|
|
663
|
+
LOAD_TAP_CHANGING_CAPABILITIES_1: {
|
|
664
|
+
name: FieldType;
|
|
665
|
+
label: string;
|
|
666
|
+
dataType: DataType;
|
|
667
|
+
defaultValue: boolean;
|
|
668
|
+
valueEditorType: string;
|
|
669
|
+
};
|
|
670
|
+
LOAD_TAP_CHANGING_CAPABILITIES_2: {
|
|
671
|
+
name: FieldType;
|
|
672
|
+
label: string;
|
|
673
|
+
dataType: DataType;
|
|
674
|
+
defaultValue: boolean;
|
|
675
|
+
valueEditorType: string;
|
|
676
|
+
};
|
|
677
|
+
LOAD_TAP_CHANGING_CAPABILITIES_3: {
|
|
678
|
+
name: FieldType;
|
|
679
|
+
label: string;
|
|
680
|
+
dataType: DataType;
|
|
681
|
+
defaultValue: boolean;
|
|
682
|
+
valueEditorType: string;
|
|
683
|
+
};
|
|
506
684
|
RATIO_REGULATION_MODE: {
|
|
507
685
|
name: FieldType;
|
|
508
686
|
label: string;
|
|
@@ -514,12 +692,63 @@ export declare const FIELDS_OPTIONS: {
|
|
|
514
692
|
valueEditorType: string;
|
|
515
693
|
defaultValue: string;
|
|
516
694
|
};
|
|
695
|
+
RATIO_REGULATION_MODE_1: {
|
|
696
|
+
name: FieldType;
|
|
697
|
+
label: string;
|
|
698
|
+
dataType: DataType;
|
|
699
|
+
values: {
|
|
700
|
+
name: string;
|
|
701
|
+
label: string;
|
|
702
|
+
}[];
|
|
703
|
+
valueEditorType: string;
|
|
704
|
+
defaultValue: string;
|
|
705
|
+
};
|
|
706
|
+
RATIO_REGULATION_MODE_2: {
|
|
707
|
+
name: FieldType;
|
|
708
|
+
label: string;
|
|
709
|
+
dataType: DataType;
|
|
710
|
+
values: {
|
|
711
|
+
name: string;
|
|
712
|
+
label: string;
|
|
713
|
+
}[];
|
|
714
|
+
valueEditorType: string;
|
|
715
|
+
defaultValue: string;
|
|
716
|
+
};
|
|
717
|
+
RATIO_REGULATION_MODE_3: {
|
|
718
|
+
name: FieldType;
|
|
719
|
+
label: string;
|
|
720
|
+
dataType: DataType;
|
|
721
|
+
values: {
|
|
722
|
+
name: string;
|
|
723
|
+
label: string;
|
|
724
|
+
}[];
|
|
725
|
+
valueEditorType: string;
|
|
726
|
+
defaultValue: string;
|
|
727
|
+
};
|
|
517
728
|
RATIO_TARGET_V: {
|
|
518
729
|
name: FieldType;
|
|
519
730
|
label: string;
|
|
520
731
|
dataType: DataType;
|
|
521
732
|
inputType: string;
|
|
522
733
|
};
|
|
734
|
+
RATIO_TARGET_V1: {
|
|
735
|
+
name: FieldType;
|
|
736
|
+
label: string;
|
|
737
|
+
dataType: DataType;
|
|
738
|
+
inputType: string;
|
|
739
|
+
};
|
|
740
|
+
RATIO_TARGET_V2: {
|
|
741
|
+
name: FieldType;
|
|
742
|
+
label: string;
|
|
743
|
+
dataType: DataType;
|
|
744
|
+
inputType: string;
|
|
745
|
+
};
|
|
746
|
+
RATIO_TARGET_V3: {
|
|
747
|
+
name: FieldType;
|
|
748
|
+
label: string;
|
|
749
|
+
dataType: DataType;
|
|
750
|
+
inputType: string;
|
|
751
|
+
};
|
|
523
752
|
HAS_PHASE_TAP_CHANGER: {
|
|
524
753
|
name: FieldType;
|
|
525
754
|
label: string;
|
|
@@ -527,6 +756,27 @@ export declare const FIELDS_OPTIONS: {
|
|
|
527
756
|
defaultValue: boolean;
|
|
528
757
|
valueEditorType: string;
|
|
529
758
|
};
|
|
759
|
+
HAS_PHASE_TAP_CHANGER_1: {
|
|
760
|
+
name: FieldType;
|
|
761
|
+
label: string;
|
|
762
|
+
dataType: DataType;
|
|
763
|
+
defaultValue: boolean;
|
|
764
|
+
valueEditorType: string;
|
|
765
|
+
};
|
|
766
|
+
HAS_PHASE_TAP_CHANGER_2: {
|
|
767
|
+
name: FieldType;
|
|
768
|
+
label: string;
|
|
769
|
+
dataType: DataType;
|
|
770
|
+
defaultValue: boolean;
|
|
771
|
+
valueEditorType: string;
|
|
772
|
+
};
|
|
773
|
+
HAS_PHASE_TAP_CHANGER_3: {
|
|
774
|
+
name: FieldType;
|
|
775
|
+
label: string;
|
|
776
|
+
dataType: DataType;
|
|
777
|
+
defaultValue: boolean;
|
|
778
|
+
valueEditorType: string;
|
|
779
|
+
};
|
|
530
780
|
PHASE_REGULATION_MODE: {
|
|
531
781
|
name: FieldType;
|
|
532
782
|
label: string;
|
|
@@ -538,12 +788,63 @@ export declare const FIELDS_OPTIONS: {
|
|
|
538
788
|
valueEditorType: string;
|
|
539
789
|
defaultValue: string;
|
|
540
790
|
};
|
|
791
|
+
PHASE_REGULATION_MODE_1: {
|
|
792
|
+
name: FieldType;
|
|
793
|
+
label: string;
|
|
794
|
+
dataType: DataType;
|
|
795
|
+
values: {
|
|
796
|
+
name: string;
|
|
797
|
+
label: string;
|
|
798
|
+
}[];
|
|
799
|
+
valueEditorType: string;
|
|
800
|
+
defaultValue: string;
|
|
801
|
+
};
|
|
802
|
+
PHASE_REGULATION_MODE_2: {
|
|
803
|
+
name: FieldType;
|
|
804
|
+
label: string;
|
|
805
|
+
dataType: DataType;
|
|
806
|
+
values: {
|
|
807
|
+
name: string;
|
|
808
|
+
label: string;
|
|
809
|
+
}[];
|
|
810
|
+
valueEditorType: string;
|
|
811
|
+
defaultValue: string;
|
|
812
|
+
};
|
|
813
|
+
PHASE_REGULATION_MODE_3: {
|
|
814
|
+
name: FieldType;
|
|
815
|
+
label: string;
|
|
816
|
+
dataType: DataType;
|
|
817
|
+
values: {
|
|
818
|
+
name: string;
|
|
819
|
+
label: string;
|
|
820
|
+
}[];
|
|
821
|
+
valueEditorType: string;
|
|
822
|
+
defaultValue: string;
|
|
823
|
+
};
|
|
541
824
|
PHASE_REGULATION_VALUE: {
|
|
542
825
|
name: FieldType;
|
|
543
826
|
label: string;
|
|
544
827
|
dataType: DataType;
|
|
545
828
|
inputType: string;
|
|
546
829
|
};
|
|
830
|
+
PHASE_REGULATION_VALUE_1: {
|
|
831
|
+
name: FieldType;
|
|
832
|
+
label: string;
|
|
833
|
+
dataType: DataType;
|
|
834
|
+
inputType: string;
|
|
835
|
+
};
|
|
836
|
+
PHASE_REGULATION_VALUE_2: {
|
|
837
|
+
name: FieldType;
|
|
838
|
+
label: string;
|
|
839
|
+
dataType: DataType;
|
|
840
|
+
inputType: string;
|
|
841
|
+
};
|
|
842
|
+
PHASE_REGULATION_VALUE_3: {
|
|
843
|
+
name: FieldType;
|
|
844
|
+
label: string;
|
|
845
|
+
dataType: DataType;
|
|
846
|
+
inputType: string;
|
|
847
|
+
};
|
|
547
848
|
PROPERTY: {
|
|
548
849
|
name: FieldType;
|
|
549
850
|
label: string;
|
|
@@ -572,6 +873,13 @@ export declare const FIELDS_OPTIONS: {
|
|
|
572
873
|
valueEditorType: string;
|
|
573
874
|
defaultValue: string;
|
|
574
875
|
};
|
|
876
|
+
SUBSTATION_PROPERTY_3: {
|
|
877
|
+
name: FieldType;
|
|
878
|
+
label: string;
|
|
879
|
+
dataType: DataType;
|
|
880
|
+
valueEditorType: string;
|
|
881
|
+
defaultValue: string;
|
|
882
|
+
};
|
|
575
883
|
VOLTAGE_LEVEL_PROPERTY: {
|
|
576
884
|
name: FieldType;
|
|
577
885
|
label: string;
|
|
@@ -593,6 +901,13 @@ export declare const FIELDS_OPTIONS: {
|
|
|
593
901
|
valueEditorType: string;
|
|
594
902
|
defaultValue: string;
|
|
595
903
|
};
|
|
904
|
+
VOLTAGE_LEVEL_PROPERTY_3: {
|
|
905
|
+
name: FieldType;
|
|
906
|
+
label: string;
|
|
907
|
+
dataType: DataType;
|
|
908
|
+
valueEditorType: string;
|
|
909
|
+
defaultValue: string;
|
|
910
|
+
};
|
|
596
911
|
SVAR_REGULATION_MODE: {
|
|
597
912
|
name: FieldType;
|
|
598
913
|
label: string;
|
|
@@ -610,6 +925,12 @@ export declare const FIELDS_OPTIONS: {
|
|
|
610
925
|
dataType: DataType;
|
|
611
926
|
inputType: string;
|
|
612
927
|
};
|
|
928
|
+
ACTIVE_POWER_SET_POINT: {
|
|
929
|
+
name: FieldType;
|
|
930
|
+
label: string;
|
|
931
|
+
dataType: DataType;
|
|
932
|
+
inputType: string;
|
|
933
|
+
};
|
|
613
934
|
REACTIVE_POWER_SET_POINT: {
|
|
614
935
|
name: FieldType;
|
|
615
936
|
label: string;
|
|
@@ -690,5 +1011,63 @@ export declare const FIELDS_OPTIONS: {
|
|
|
690
1011
|
dataType: DataType;
|
|
691
1012
|
inputType: string;
|
|
692
1013
|
};
|
|
1014
|
+
SHUNT_SUSCEPTANCE: {
|
|
1015
|
+
name: FieldType;
|
|
1016
|
+
label: string;
|
|
1017
|
+
dataType: DataType;
|
|
1018
|
+
inputType: string;
|
|
1019
|
+
};
|
|
1020
|
+
SHUNT_CONDUCTANCE: {
|
|
1021
|
+
name: FieldType;
|
|
1022
|
+
label: string;
|
|
1023
|
+
dataType: DataType;
|
|
1024
|
+
inputType: string;
|
|
1025
|
+
};
|
|
1026
|
+
PAIRED: {
|
|
1027
|
+
name: FieldType;
|
|
1028
|
+
label: string;
|
|
1029
|
+
dataType: DataType;
|
|
1030
|
+
defaultValue: boolean;
|
|
1031
|
+
valueEditorType: string;
|
|
1032
|
+
};
|
|
1033
|
+
CONVERTER_STATION_ID_1: {
|
|
1034
|
+
name: FieldType;
|
|
1035
|
+
label: string;
|
|
1036
|
+
dataType: DataType;
|
|
1037
|
+
};
|
|
1038
|
+
CONVERTER_STATION_ID_2: {
|
|
1039
|
+
name: FieldType;
|
|
1040
|
+
label: string;
|
|
1041
|
+
dataType: DataType;
|
|
1042
|
+
};
|
|
1043
|
+
CONVERTERS_MODE: {
|
|
1044
|
+
name: FieldType;
|
|
1045
|
+
label: string;
|
|
1046
|
+
dataType: DataType;
|
|
1047
|
+
values: {
|
|
1048
|
+
name: string;
|
|
1049
|
+
label: string;
|
|
1050
|
+
}[];
|
|
1051
|
+
valueEditorType: string;
|
|
1052
|
+
defaultValue: string;
|
|
1053
|
+
};
|
|
1054
|
+
CONVERTER_STATION_NOMINAL_VOLTAGE_1: {
|
|
1055
|
+
name: FieldType;
|
|
1056
|
+
label: string;
|
|
1057
|
+
dataType: DataType;
|
|
1058
|
+
inputType: string;
|
|
1059
|
+
};
|
|
1060
|
+
CONVERTER_STATION_NOMINAL_VOLTAGE_2: {
|
|
1061
|
+
name: FieldType;
|
|
1062
|
+
label: string;
|
|
1063
|
+
dataType: DataType;
|
|
1064
|
+
inputType: string;
|
|
1065
|
+
};
|
|
1066
|
+
DC_NOMINAL_VOLTAGE: {
|
|
1067
|
+
name: FieldType;
|
|
1068
|
+
label: string;
|
|
1069
|
+
dataType: DataType;
|
|
1070
|
+
inputType: string;
|
|
1071
|
+
};
|
|
693
1072
|
};
|
|
694
1073
|
export declare const fields: Record<string, Field[]>;
|