@gridsuite/commons-ui 0.64.3 → 0.64.4
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.
|
@@ -3,7 +3,7 @@ import { UUID } from 'crypto';
|
|
|
3
3
|
|
|
4
4
|
export interface FilterCreationDialogProps {
|
|
5
5
|
open: boolean;
|
|
6
|
-
onClose: () => void;
|
|
6
|
+
onClose: (e?: unknown, nextSelectedDirectoryId?: string | null) => void;
|
|
7
7
|
activeDirectory?: UUID;
|
|
8
8
|
elementExists?: ElementExistsType;
|
|
9
9
|
language?: string;
|
|
@@ -6,6 +6,7 @@ export declare enum ElementType {
|
|
|
6
6
|
CASE = "CASE",
|
|
7
7
|
FILTER = "FILTER",
|
|
8
8
|
MODIFICATION = "MODIFICATION",
|
|
9
|
+
PARAMETERS = "PARAMETERS",
|
|
9
10
|
CONTINGENCY_LIST = "CONTINGENCY_LIST",
|
|
10
11
|
VOLTAGE_INIT_PARAMETERS = "VOLTAGE_INIT_PARAMETERS",
|
|
11
12
|
SECURITY_ANALYSIS_PARAMETERS = "SECURITY_ANALYSIS_PARAMETERS",
|
|
@@ -4,6 +4,7 @@ var ElementType = /* @__PURE__ */ ((ElementType2) => {
|
|
|
4
4
|
ElementType2["CASE"] = "CASE";
|
|
5
5
|
ElementType2["FILTER"] = "FILTER";
|
|
6
6
|
ElementType2["MODIFICATION"] = "MODIFICATION";
|
|
7
|
+
ElementType2["PARAMETERS"] = "PARAMETERS";
|
|
7
8
|
ElementType2["CONTINGENCY_LIST"] = "CONTINGENCY_LIST";
|
|
8
9
|
ElementType2["VOLTAGE_INIT_PARAMETERS"] = "VOLTAGE_INIT_PARAMETERS";
|
|
9
10
|
ElementType2["SECURITY_ANALYSIS_PARAMETERS"] = "SECURITY_ANALYSIS_PARAMETERS";
|
package/dist/utils/types.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ export type ElementAttributes = {
|
|
|
20
20
|
parentUuid: null | UUID;
|
|
21
21
|
specificMetadata: Record<string, object>;
|
|
22
22
|
uploading?: boolean;
|
|
23
|
+
hasMetadata?: boolean;
|
|
24
|
+
subtype?: string;
|
|
23
25
|
};
|
|
24
26
|
export type Equipment = typeof Substation | typeof Line | typeof Generator | typeof Load | typeof Battery | typeof SVC | typeof DanglingLine | typeof LCC | typeof VSC | typeof Hvdc | typeof BusBar | typeof TwoWindingTransfo | typeof ThreeWindingTransfo | typeof ShuntCompensator | typeof VoltageLevel;
|
|
25
27
|
export type EquipmentType = {
|