@gridsuite/commons-ui 0.59.2 → 0.60.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/dist/chunks/{criteria-based-filter-edition-dialog.CszM47bS.js → criteria-based-filter-edition-dialog.g-QT74FD.js} +47 -16
- package/dist/components/CustomAGGrid/custom-aggrid.style.js +3 -1
- package/dist/components/ElementSearchDialog/element-search-dialog.d.ts +4 -15
- package/dist/components/ElementSearchDialog/element-search-dialog.js +10 -80
- package/dist/components/ElementSearchDialog/element-search-input.d.ts +21 -0
- package/dist/components/ElementSearchDialog/element-search-input.js +85 -0
- package/dist/components/ElementSearchDialog/equipment-item.d.ts +8 -8
- package/dist/components/ElementSearchDialog/equipment-item.js +1 -1
- package/dist/components/ElementSearchDialog/index.d.ts +2 -0
- package/dist/components/ElementSearchDialog/index.js +6 -2
- package/dist/components/ElementSearchDialog/tag-renderer.d.ts +3 -3
- package/dist/components/ElementSearchDialog/use-element-search.d.ts +16 -0
- package/dist/components/ElementSearchDialog/use-element-search.js +57 -0
- package/dist/components/MuiVirtualizedTable/MuiVirtualizedTable.d.ts +1 -1
- package/dist/components/OverflowableText/overflowable-text.d.ts +3 -3
- package/dist/components/OverflowableText/overflowable-text.js +1 -2
- package/dist/components/dialogs/modify-element-selection.js +1 -1
- package/dist/components/filter/criteria-based/criteria-based-filter-edition-dialog.js +1 -1
- package/dist/components/filter/expert/expert-filter-constants.d.ts +129 -2
- package/dist/components/filter/expert/expert-filter-constants.js +165 -4
- package/dist/components/filter/expert/expert-filter-edition-dialog.js +1 -1
- package/dist/components/filter/expert/expert-filter-form.js +1 -1
- package/dist/components/filter/expert/expert-filter-utils.d.ts +3 -7
- package/dist/components/filter/expert/expert-filter-utils.js +127 -26
- package/dist/components/filter/expert/expert-filter.type.d.ts +42 -7
- package/dist/components/filter/expert/expert-filter.type.js +16 -0
- package/dist/components/filter/explicit-naming/explicit-naming-filter-edition-dialog.js +1 -1
- package/dist/components/filter/explicit-naming/explicit-naming-filter-form.js +1 -1
- package/dist/components/filter/filter-creation-dialog.js +1 -1
- package/dist/components/filter/filter-form.js +1 -1
- package/dist/components/filter/utils/filter-form-utils.js +1 -1
- package/dist/components/inputs/react-hook-form/ag-grid-table/bottom-right-buttons.js +1 -1
- package/dist/components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js +2 -1
- package/dist/components/inputs/react-hook-form/ag-grid-table/custom-ag-grid-table.js +1 -1
- package/dist/components/inputs/react-hook-form/directory-items-input.js +1 -1
- package/dist/components/inputs/react-query-builder/composite-rule-editor/group-value-editor.d.ts +5 -0
- package/dist/components/inputs/react-query-builder/composite-rule-editor/group-value-editor.js +62 -0
- package/dist/components/inputs/react-query-builder/composite-rule-editor/rule-value-editor.d.ts +9 -0
- package/dist/components/inputs/react-query-builder/composite-rule-editor/rule-value-editor.js +65 -0
- package/dist/components/inputs/react-query-builder/custom-react-query-builder.js +1 -1
- package/dist/components/inputs/react-query-builder/element-value-editor.js +2 -1
- package/dist/components/inputs/react-query-builder/remove-button.js +1 -1
- package/dist/components/inputs/react-query-builder/value-editor.js +3 -1
- package/dist/components/translations/filter-expert-en.d.ts +23 -0
- package/dist/components/translations/filter-expert-en.js +24 -1
- package/dist/components/translations/filter-expert-fr.d.ts +23 -0
- package/dist/components/translations/filter-expert-fr.js +25 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +131 -127
- package/dist/utils/styles.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "@mui/material/IconButton";
|
|
3
3
|
import "@mui/icons-material/Delete";
|
|
4
4
|
import "react-hook-form";
|
|
5
|
-
import { h } from "../../../chunks/criteria-based-filter-edition-dialog.
|
|
5
|
+
import { h } from "../../../chunks/criteria-based-filter-edition-dialog.g-QT74FD.js";
|
|
6
6
|
import "../../filter/expert/expert-filter-utils.js";
|
|
7
7
|
export {
|
|
8
8
|
h as default
|
|
@@ -9,10 +9,12 @@ import "react-hook-form";
|
|
|
9
9
|
import "../../../utils/field-constants.js";
|
|
10
10
|
import "../../filter/expert/expert-filter.type.js";
|
|
11
11
|
import "../../../utils/equipment-types.js";
|
|
12
|
-
import { V } from "../../../chunks/criteria-based-filter-edition-dialog.
|
|
12
|
+
import { V } from "../../../chunks/criteria-based-filter-edition-dialog.g-QT74FD.js";
|
|
13
13
|
import "../../../utils/ElementType.js";
|
|
14
14
|
import "./property-value-editor.js";
|
|
15
15
|
import "../../filter/constants/filter-constants.js";
|
|
16
|
+
import "./composite-rule-editor/group-value-editor.js";
|
|
17
|
+
import "../../filter/expert/expert-filter-constants.js";
|
|
16
18
|
export {
|
|
17
19
|
V as default
|
|
18
20
|
};
|
|
@@ -69,5 +69,28 @@ declare const filter_expert_en: {
|
|
|
69
69
|
voltageLevelProperty: string;
|
|
70
70
|
voltageLevelProperty1: string;
|
|
71
71
|
voltageLevelProperty2: string;
|
|
72
|
+
'maxQAtNominalV.svar': string;
|
|
73
|
+
'minQAtNominalV.svar': string;
|
|
74
|
+
'fixQAtNominalV.svar': string;
|
|
75
|
+
'maxSusceptance.svar': string;
|
|
76
|
+
'minSusceptance.svar': string;
|
|
77
|
+
regulationMode: string;
|
|
78
|
+
'regulationMode.off': string;
|
|
79
|
+
'regulationMode.voltage': string;
|
|
80
|
+
'regulationMode.reactivePower': string;
|
|
81
|
+
voltageSetPoint: string;
|
|
82
|
+
reactivePowerSetPoint: string;
|
|
83
|
+
remoteRegulatedTerminal: string;
|
|
84
|
+
regulatingTerminalVLId: string;
|
|
85
|
+
regulatingTerminalConnectableId: string;
|
|
86
|
+
regulationType: string;
|
|
87
|
+
'regulationType.distant': string;
|
|
88
|
+
'regulationType.local': string;
|
|
89
|
+
automate: string;
|
|
90
|
+
lowVoltageSetPoint: string;
|
|
91
|
+
highVoltageSetPoint: string;
|
|
92
|
+
lowVoltageThreshold: string;
|
|
93
|
+
highVoltageThreshold: string;
|
|
94
|
+
susceptanceFix: string;
|
|
72
95
|
};
|
|
73
96
|
export default filter_expert_en;
|
|
@@ -62,7 +62,30 @@ const filter_expert_en = {
|
|
|
62
62
|
nominalVoltage2KV: "Nominal Voltage 2 (kV)",
|
|
63
63
|
voltageLevelProperty: "Voltage level property",
|
|
64
64
|
voltageLevelProperty1: "Voltage level property 1",
|
|
65
|
-
voltageLevelProperty2: "Voltage level property 2"
|
|
65
|
+
voltageLevelProperty2: "Voltage level property 2",
|
|
66
|
+
"maxQAtNominalV.svar": "Q max at nominal voltage (MVar)",
|
|
67
|
+
"minQAtNominalV.svar": "Q min at nominal voltage (MVar)",
|
|
68
|
+
"fixQAtNominalV.svar": "Fixed part of Q at nominal voltage (MVar)",
|
|
69
|
+
"maxSusceptance.svar": "Susceptance max (S)",
|
|
70
|
+
"minSusceptance.svar": "Susceptance min (S)",
|
|
71
|
+
regulationMode: "Regulation mode",
|
|
72
|
+
"regulationMode.off": "Off",
|
|
73
|
+
"regulationMode.voltage": "Voltage regulation",
|
|
74
|
+
"regulationMode.reactivePower": "Reactive power regulation",
|
|
75
|
+
voltageSetPoint: "Voltage set point",
|
|
76
|
+
reactivePowerSetPoint: "Reactive power set point",
|
|
77
|
+
remoteRegulatedTerminal: "Remote regulated terminal",
|
|
78
|
+
regulatingTerminalVLId: "Voltage Level ID",
|
|
79
|
+
regulatingTerminalConnectableId: "Equipment ID",
|
|
80
|
+
regulationType: "Regulation type",
|
|
81
|
+
"regulationType.distant": "Remote regulation",
|
|
82
|
+
"regulationType.local": "Local regulation",
|
|
83
|
+
automate: "Automaton",
|
|
84
|
+
lowVoltageSetPoint: "Low voltage set point ",
|
|
85
|
+
highVoltageSetPoint: "High voltage set point",
|
|
86
|
+
lowVoltageThreshold: "Low voltage threshold",
|
|
87
|
+
highVoltageThreshold: "High voltage threshold",
|
|
88
|
+
susceptanceFix: "Fixed part of susceptance "
|
|
66
89
|
};
|
|
67
90
|
export {
|
|
68
91
|
filter_expert_en as default
|
|
@@ -69,5 +69,28 @@ declare const filter_expert_fr: {
|
|
|
69
69
|
voltageLevelProperty: string;
|
|
70
70
|
voltageLevelProperty1: string;
|
|
71
71
|
voltageLevelProperty2: string;
|
|
72
|
+
'maxQAtNominalV.svar': string;
|
|
73
|
+
'minQAtNominalV.svar': string;
|
|
74
|
+
'fixQAtNominalV.svar': string;
|
|
75
|
+
'maxSusceptance.svar': string;
|
|
76
|
+
'minSusceptance.svar': string;
|
|
77
|
+
regulationMode: string;
|
|
78
|
+
'regulationMode.off': string;
|
|
79
|
+
'regulationMode.voltage': string;
|
|
80
|
+
'regulationMode.reactivePower': string;
|
|
81
|
+
voltageSetPoint: string;
|
|
82
|
+
reactivePowerSetPoint: string;
|
|
83
|
+
remoteRegulatedTerminal: string;
|
|
84
|
+
regulatingTerminalVLId: string;
|
|
85
|
+
regulatingTerminalConnectableId: string;
|
|
86
|
+
regulationType: string;
|
|
87
|
+
'regulationType.distant': string;
|
|
88
|
+
'regulationType.local': string;
|
|
89
|
+
automate: string;
|
|
90
|
+
lowVoltageSetPoint: string;
|
|
91
|
+
highVoltageSetPoint: string;
|
|
92
|
+
lowVoltageThreshold: string;
|
|
93
|
+
highVoltageThreshold: string;
|
|
94
|
+
susceptanceFix: string;
|
|
72
95
|
};
|
|
73
96
|
export default filter_expert_fr;
|
|
@@ -24,7 +24,7 @@ const filter_expert_fr = {
|
|
|
24
24
|
marginalCost: "Coût",
|
|
25
25
|
plannedOutageRate: "Indisponibilité programmée",
|
|
26
26
|
forcedOutageRate: "Indisponibilité fortuite",
|
|
27
|
-
vlId: "ID poste",
|
|
27
|
+
vlId: "ID de poste",
|
|
28
28
|
p0: "P constant (MW)",
|
|
29
29
|
q0: "Q constant (MVar)",
|
|
30
30
|
loadTapChangingCapabilities: "Régleur en charge",
|
|
@@ -62,7 +62,30 @@ const filter_expert_fr = {
|
|
|
62
62
|
nominalVoltage2KV: "Tension nominale 2 (kV)",
|
|
63
63
|
voltageLevelProperty: "Propriété poste",
|
|
64
64
|
voltageLevelProperty1: "Propriété poste 1",
|
|
65
|
-
voltageLevelProperty2: "Propriété poste 2"
|
|
65
|
+
voltageLevelProperty2: "Propriété poste 2",
|
|
66
|
+
"maxQAtNominalV.svar": "Q max à tension nominale (MVar)",
|
|
67
|
+
"minQAtNominalV.svar": "Q min à tension nominale (MVar)",
|
|
68
|
+
"fixQAtNominalV.svar": "Q fixe à tension nominale (MVar)",
|
|
69
|
+
"maxSusceptance.svar": "Susceptance max (S)",
|
|
70
|
+
"minSusceptance.svar": "Susceptance min (S)",
|
|
71
|
+
regulationMode: "Mode de réglage",
|
|
72
|
+
"regulationMode.off": "Arrêt",
|
|
73
|
+
"regulationMode.voltage": "Réglage de tension",
|
|
74
|
+
"regulationMode.reactivePower": "Réglage du réactif",
|
|
75
|
+
voltageSetPoint: "Tension",
|
|
76
|
+
reactivePowerSetPoint: "Puissance réactive",
|
|
77
|
+
remoteRegulatedTerminal: "Terminal distant réglé",
|
|
78
|
+
regulatingTerminalVLId: "ID de poste",
|
|
79
|
+
regulatingTerminalConnectableId: "ID d'ouvrage",
|
|
80
|
+
regulationType: "Type de réglage",
|
|
81
|
+
"regulationType.distant": "Réglage distant",
|
|
82
|
+
"regulationType.local": "Réglage local",
|
|
83
|
+
automate: "Automate",
|
|
84
|
+
lowVoltageSetPoint: "U consigne bas",
|
|
85
|
+
highVoltageSetPoint: "U consigne haut",
|
|
86
|
+
lowVoltageThreshold: "U activation bas",
|
|
87
|
+
highVoltageThreshold: "U activation haut",
|
|
88
|
+
susceptanceFix: "Susceptance fixe"
|
|
66
89
|
};
|
|
67
90
|
export {
|
|
68
91
|
filter_expert_fr as default
|
package/dist/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export { FieldConstants } from './utils/field-constants';
|
|
|
31
31
|
export type { TreeViewFinderNodeProps } from './components/TreeViewFinder/TreeViewFinder';
|
|
32
32
|
export { GRIDSUITE_DEFAULT_PRECISION, roundToPrecision, roundToDefaultPrecision, isBlankOrEmpty, unitToMicroUnit, microUnitToUnit, } from './utils/conversion-utils';
|
|
33
33
|
export { ElementType } from './utils/ElementType';
|
|
34
|
-
export type { ElementAttributes, Option } from './utils/types';
|
|
34
|
+
export type { ElementAttributes, Option, Equipment } from './utils/types';
|
|
35
35
|
export { EQUIPMENT_TYPE, EquipmentType, getEquipmentsInfosForSearchBar, equipmentStyles, } from './utils/EquipmentType';
|
|
36
36
|
export { initializeAuthenticationDev, initializeAuthenticationProd, logout, dispatchUser, getPreLoginPath, } from './utils/AuthService';
|
|
37
37
|
export { getFileIcon } from './utils/ElementIcon';
|
|
@@ -66,7 +66,7 @@ export { default as common_button_en } from './components/translations/common-bu
|
|
|
66
66
|
export { default as common_button_fr } from './components/translations/common-button-fr';
|
|
67
67
|
export { default as directory_items_input_en } from './components/translations/directory-items-input-en';
|
|
68
68
|
export { default as directory_items_input_fr } from './components/translations/directory-items-input-fr';
|
|
69
|
-
export { TagRenderer } from './components/ElementSearchDialog';
|
|
69
|
+
export { TagRenderer, ElementSearchInput, useElementSearch, } from './components/ElementSearchDialog';
|
|
70
70
|
export { EquipmentItem } from './components/ElementSearchDialog/equipment-item';
|
|
71
71
|
export { default as CardErrorBoundary } from './components/CardErrorBoundary';
|
|
72
72
|
export { useIntlRef } from './hooks/useIntlRef';
|
package/dist/index.js
CHANGED
|
@@ -12,16 +12,18 @@ import { CHANGE_WAYS, KeyedColumnsRowIndexer } from "./components/MuiVirtualized
|
|
|
12
12
|
import { default as default8 } from "./components/ReportViewer/report-viewer.js";
|
|
13
13
|
import { default as default9 } from "./components/ReportViewerDialog/report-viewer-dialog.js";
|
|
14
14
|
import { OverflowableText } from "./components/OverflowableText/overflowable-text.js";
|
|
15
|
-
import {
|
|
15
|
+
import { ElementSearchDialog } from "./components/ElementSearchDialog/element-search-dialog.js";
|
|
16
16
|
import { TagRenderer } from "./components/ElementSearchDialog/tag-renderer.js";
|
|
17
|
+
import { ElementSearchInput } from "./components/ElementSearchDialog/element-search-input.js";
|
|
18
|
+
import { useElementSearch } from "./components/ElementSearchDialog/use-element-search.js";
|
|
17
19
|
import { FlatParameters } from "./components/FlatParameters/FlatParameters.js";
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { B, b, c, C, E, a, F, R } from "./chunks/criteria-based-filter-edition-dialog.
|
|
20
|
+
import { default as default10 } from "./components/MultipleSelectionDialog/MultipleSelectionDialog.js";
|
|
21
|
+
import { default as default11 } from "./components/dialogs/custom-mui-dialog.js";
|
|
22
|
+
import { default as default12 } from "./components/dialogs/description-modification-dialog.js";
|
|
23
|
+
import { default as default13 } from "./components/dialogs/modify-element-selection.js";
|
|
24
|
+
import { default as default14 } from "./components/filter/criteria-based/criteria-based-form.js";
|
|
25
|
+
import { default as default15 } from "./components/dialogs/popup-confirmation-dialog.js";
|
|
26
|
+
import { B, b, c, C, E, a, F, R } from "./chunks/criteria-based-filter-edition-dialog.g-QT74FD.js";
|
|
25
27
|
import { Battery, BusBar, DanglingLine, Generator, Hvdc, LCC, Line, Load, SVC, ShuntCompensator, Substation, ThreeWindingTransfo, TwoWindingTransfo, VSC, VoltageLevel, noSelectionForCopy } from "./utils/equipment-types.js";
|
|
26
28
|
import { FieldConstants } from "./utils/field-constants.js";
|
|
27
29
|
import { GRIDSUITE_DEFAULT_PRECISION, isBlankOrEmpty, microUnitToUnit, roundToDefaultPrecision, roundToPrecision, unitToMicroUnit } from "./utils/conversion-utils.js";
|
|
@@ -30,72 +32,72 @@ import { EQUIPMENT_TYPE, EquipmentType, equipmentStyles, getEquipmentsInfosForSe
|
|
|
30
32
|
import { dispatchUser, getPreLoginPath, initializeAuthenticationDev, initializeAuthenticationProd, logout } from "./utils/AuthService.js";
|
|
31
33
|
import { getFileIcon } from "./utils/ElementIcon.js";
|
|
32
34
|
import { LOGOUT_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN, SIGNIN_CALLBACK_ERROR, UNAUTHORIZED_USER_INFO, USER, USER_VALIDATION_ERROR, setLoggedUser, setSignInCallbackError } from "./redux/actions.js";
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
35
|
+
import { default as default16 } from "./components/translations/report-viewer-en.js";
|
|
36
|
+
import { default as default17 } from "./components/translations/report-viewer-fr.js";
|
|
37
|
+
import { default as default18 } from "./components/translations/login-en.js";
|
|
38
|
+
import { default as default19 } from "./components/translations/login-fr.js";
|
|
39
|
+
import { default as default20 } from "./components/translations/top-bar-en.js";
|
|
40
|
+
import { default as default21 } from "./components/translations/top-bar-fr.js";
|
|
41
|
+
import { default as default22 } from "./components/translations/table-en.js";
|
|
42
|
+
import { default as default23 } from "./components/translations/table-fr.js";
|
|
43
|
+
import { default as default24 } from "./components/translations/treeview-finder-en.js";
|
|
44
|
+
import { default as default25 } from "./components/translations/treeview-finder-fr.js";
|
|
45
|
+
import { default as default26 } from "./components/translations/element-search-en.js";
|
|
46
|
+
import { default as default27 } from "./components/translations/element-search-fr.js";
|
|
47
|
+
import { default as default28 } from "./components/translations/equipment-search-en.js";
|
|
48
|
+
import { default as default29 } from "./components/translations/equipment-search-fr.js";
|
|
49
|
+
import { default as default30 } from "./components/translations/filter-en.js";
|
|
50
|
+
import { default as default31 } from "./components/translations/filter-fr.js";
|
|
51
|
+
import { default as default32 } from "./components/translations/filter-expert-en.js";
|
|
52
|
+
import { default as default33 } from "./components/translations/filter-expert-fr.js";
|
|
53
|
+
import { default as default34 } from "./components/translations/card-error-boundary-en.js";
|
|
54
|
+
import { default as default35 } from "./components/translations/card-error-boundary-fr.js";
|
|
55
|
+
import { default as default36 } from "./components/translations/flat-parameters-en.js";
|
|
56
|
+
import { default as default37 } from "./components/translations/flat-parameters-fr.js";
|
|
57
|
+
import { default as default38 } from "./components/translations/multiple-selection-dialog-en.js";
|
|
58
|
+
import { default as default39 } from "./components/translations/multiple-selection-dialog-fr.js";
|
|
59
|
+
import { default as default40 } from "./components/translations/common-button-en.js";
|
|
60
|
+
import { default as default41 } from "./components/translations/common-button-fr.js";
|
|
61
|
+
import { default as default42 } from "./components/translations/directory-items-input-en.js";
|
|
62
|
+
import { default as default43 } from "./components/translations/directory-items-input-fr.js";
|
|
61
63
|
import { EquipmentItem } from "./components/ElementSearchDialog/equipment-item.js";
|
|
62
|
-
import { default as
|
|
64
|
+
import { default as default44 } from "./components/CardErrorBoundary/card-error-boundary.js";
|
|
63
65
|
import { useIntlRef } from "./hooks/useIntlRef.js";
|
|
64
66
|
import { useSnackMessage } from "./hooks/useSnackMessage.js";
|
|
65
67
|
import { useDebounce } from "./hooks/useDebounce.js";
|
|
66
|
-
import { default as
|
|
68
|
+
import { default as default45 } from "./components/inputs/select-clearable.js";
|
|
67
69
|
import { useCustomFormContext } from "./components/inputs/react-hook-form/provider/use-custom-form-context.js";
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
70
|
+
import { default as default46 } from "./components/inputs/react-hook-form/provider/custom-form-provider.js";
|
|
71
|
+
import { default as default47 } from "./components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.js";
|
|
72
|
+
import { default as default48 } from "./components/inputs/react-hook-form/text-input.js";
|
|
73
|
+
import { default as default49 } from "./components/inputs/react-hook-form/ExpandingTextField.js";
|
|
74
|
+
import { default as default50 } from "./components/inputs/react-hook-form/radio-input.js";
|
|
75
|
+
import { default as default51 } from "./components/inputs/react-hook-form/slider-input.js";
|
|
76
|
+
import { default as default52 } from "./components/inputs/react-hook-form/numbers/float-input.js";
|
|
77
|
+
import { default as default53 } from "./components/inputs/react-hook-form/numbers/integer-input.js";
|
|
78
|
+
import { default as default54 } from "./components/inputs/react-hook-form/select-inputs/select-input.js";
|
|
79
|
+
import { default as default55 } from "./components/inputs/react-hook-form/booleans/checkbox-input.js";
|
|
80
|
+
import { default as default56 } from "./components/inputs/react-hook-form/booleans/switch-input.js";
|
|
81
|
+
import { default as default57 } from "./components/inputs/react-hook-form/error-management/error-input.js";
|
|
82
|
+
import { default as default58 } from "./components/inputs/react-hook-form/error-management/field-error-alert.js";
|
|
83
|
+
import { default as default59 } from "./components/inputs/react-hook-form/error-management/mid-form-error.js";
|
|
84
|
+
import { default as default60 } from "./components/inputs/react-hook-form/utils/text-field-with-adornment.js";
|
|
85
|
+
import { default as default61 } from "./components/inputs/react-hook-form/utils/field-label.js";
|
|
86
|
+
import { default as default62 } from "./components/inputs/react-hook-form/utils/submit-button.js";
|
|
87
|
+
import { default as default63 } from "./components/inputs/react-hook-form/utils/cancel-button.js";
|
|
86
88
|
import { genHelperError, genHelperPreviousValue, gridItem, identity, isFieldRequired, isFloatNumber, toFloatOrNullValue } from "./components/inputs/react-hook-form/utils/functions.js";
|
|
87
89
|
import { areArrayElementsUnique, isObjectEmpty, keyGenerator } from "./utils/functions.js";
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
90
|
+
import { default as default64 } from "./components/inputs/react-hook-form/directory-items-input.js";
|
|
91
|
+
import { default as default65 } from "./components/DirectoryItemSelector/directory-item-selector.js";
|
|
92
|
+
import { default as default66 } from "./components/CustomAGGrid/custom-aggrid.js";
|
|
91
93
|
import { RawReadOnlyInput } from "./components/inputs/react-hook-form/raw-read-only-input.js";
|
|
92
94
|
import { saveCriteriaBasedFilter, saveExpertFilter, saveExplicitNamingFilter } from "./components/filter/utils/filter-api.js";
|
|
93
|
-
import { DEFAULT_RANGE_VALUE, default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
95
|
+
import { DEFAULT_RANGE_VALUE, default as default67, getRangeInputDataForm, getRangeInputSchema } from "./components/inputs/react-hook-form/range-input.js";
|
|
96
|
+
import { default as default68 } from "./components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.js";
|
|
97
|
+
import { default as default69 } from "./components/inputs/react-hook-form/select-inputs/mui-select-input.js";
|
|
98
|
+
import { default as default70 } from "./components/inputs/react-hook-form/select-inputs/countries-input.js";
|
|
97
99
|
import { getComputedLanguage, getSystemLanguage, useLocalizedCountries } from "./hooks/localized-countries-hook.js";
|
|
98
|
-
import { default as
|
|
100
|
+
import { default as default71 } from "./components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js";
|
|
99
101
|
import { UniqueNameInput } from "./components/inputs/react-hook-form/unique-name-input.js";
|
|
100
102
|
import { UserManagerMock } from "./utils/UserManagerMock.js";
|
|
101
103
|
import { CONTINGENCY_LIST_EQUIPMENTS, FILTER_EQUIPMENTS } from "./components/filter/utils/filter-form-utils.js";
|
|
@@ -109,53 +111,54 @@ import { exportFilter } from "./services/study.js";
|
|
|
109
111
|
export {
|
|
110
112
|
default4 as AboutDialog,
|
|
111
113
|
default6 as AuthenticationRouter,
|
|
112
|
-
|
|
114
|
+
default47 as AutocompleteInput,
|
|
113
115
|
Battery,
|
|
114
116
|
B as BottomRightButtons,
|
|
115
117
|
BusBar,
|
|
116
118
|
CHANGE_WAYS,
|
|
117
119
|
CONTINGENCY_LIST_EQUIPMENTS,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
default63 as CancelButton,
|
|
121
|
+
default44 as CardErrorBoundary,
|
|
122
|
+
default55 as CheckboxInput,
|
|
123
|
+
default70 as CountriesInput,
|
|
122
124
|
b as CriteriaBasedFilterEditionDialog,
|
|
123
|
-
|
|
125
|
+
default14 as CriteriaBasedForm,
|
|
124
126
|
c as CsvUploader,
|
|
125
|
-
|
|
127
|
+
default66 as CustomAGGrid,
|
|
126
128
|
C as CustomAgGridTable,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
+
default46 as CustomFormProvider,
|
|
130
|
+
default11 as CustomMuiDialog,
|
|
129
131
|
DARK_THEME,
|
|
130
132
|
DEFAULT_CELL_PADDING,
|
|
131
133
|
DEFAULT_HEADER_HEIGHT,
|
|
132
134
|
DEFAULT_RANGE_VALUE,
|
|
133
135
|
DEFAULT_ROW_HEIGHT,
|
|
134
136
|
DanglingLine,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
137
|
+
default12 as DescriptionModificationDialog,
|
|
138
|
+
default65 as DirectoryItemSelector,
|
|
139
|
+
default64 as DirectoryItemsInput,
|
|
138
140
|
EQUIPMENT_TYPE,
|
|
139
|
-
|
|
141
|
+
ElementSearchDialog,
|
|
142
|
+
ElementSearchInput,
|
|
140
143
|
ElementType,
|
|
141
144
|
EquipmentItem,
|
|
142
145
|
EquipmentType,
|
|
143
|
-
|
|
144
|
-
|
|
146
|
+
default57 as ErrorInput,
|
|
147
|
+
default49 as ExpandingTextField,
|
|
145
148
|
E as ExpertFilterEditionDialog,
|
|
146
149
|
a as ExplicitNamingFilterEditionDialog,
|
|
147
150
|
FILTER_EQUIPMENTS,
|
|
148
151
|
FieldConstants,
|
|
149
|
-
|
|
150
|
-
|
|
152
|
+
default58 as FieldErrorAlert,
|
|
153
|
+
default61 as FieldLabel,
|
|
151
154
|
F as FilterCreationDialog,
|
|
152
155
|
FlatParameters,
|
|
153
|
-
|
|
156
|
+
default52 as FloatInput,
|
|
154
157
|
GRIDSUITE_DEFAULT_PRECISION,
|
|
155
158
|
Generator,
|
|
156
159
|
Hvdc,
|
|
157
|
-
|
|
158
|
-
|
|
160
|
+
default68 as InputWithPopupConfirmation,
|
|
161
|
+
default53 as IntegerInput,
|
|
159
162
|
KeyedColumnsRowIndexer,
|
|
160
163
|
LANG_ENGLISH,
|
|
161
164
|
LANG_FRENCH,
|
|
@@ -165,35 +168,35 @@ export {
|
|
|
165
168
|
LOGOUT_ERROR,
|
|
166
169
|
Line,
|
|
167
170
|
Load,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
+
default59 as MidFormError,
|
|
172
|
+
default13 as ModifyElementSelection,
|
|
173
|
+
default69 as MuiSelectInput,
|
|
171
174
|
default7 as MuiVirtualizedTable,
|
|
172
|
-
|
|
173
|
-
|
|
175
|
+
default71 as MultipleAutocompleteInput,
|
|
176
|
+
default10 as MultipleSelectionDialog,
|
|
174
177
|
OverflowableText,
|
|
175
|
-
|
|
178
|
+
default15 as PopupConfirmationDialog,
|
|
176
179
|
RESET_AUTHENTICATION_ROUTER_ERROR,
|
|
177
180
|
R as ROW_DRAGGING_SELECTION_COLUMN_DEF,
|
|
178
|
-
|
|
179
|
-
|
|
181
|
+
default50 as RadioInput,
|
|
182
|
+
default67 as RangeInput,
|
|
180
183
|
RawReadOnlyInput,
|
|
181
184
|
default8 as ReportViewer,
|
|
182
185
|
default9 as ReportViewerDialog,
|
|
183
186
|
SHOW_AUTH_INFO_LOGIN,
|
|
184
187
|
SIGNIN_CALLBACK_ERROR,
|
|
185
188
|
SVC,
|
|
186
|
-
|
|
187
|
-
|
|
189
|
+
default45 as SelectClearable,
|
|
190
|
+
default54 as SelectInput,
|
|
188
191
|
ShuntCompensator,
|
|
189
|
-
|
|
192
|
+
default51 as SliderInput,
|
|
190
193
|
default5 as SnackbarProvider,
|
|
191
|
-
|
|
194
|
+
default62 as SubmitButton,
|
|
192
195
|
Substation,
|
|
193
|
-
|
|
196
|
+
default56 as SwitchInput,
|
|
194
197
|
TagRenderer,
|
|
195
|
-
|
|
196
|
-
|
|
198
|
+
default60 as TextFieldWithAdornment,
|
|
199
|
+
default48 as TextInput,
|
|
197
200
|
ThreeWindingTransfo,
|
|
198
201
|
default3 as TopBar,
|
|
199
202
|
default2 as TreeViewFinder,
|
|
@@ -208,19 +211,19 @@ export {
|
|
|
208
211
|
areArrayElementsUnique,
|
|
209
212
|
backendFetch,
|
|
210
213
|
backendFetchJson,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
214
|
+
default34 as card_error_boundary_en,
|
|
215
|
+
default35 as card_error_boundary_fr,
|
|
216
|
+
default40 as common_button_en,
|
|
217
|
+
default41 as common_button_fr,
|
|
215
218
|
createFilter,
|
|
216
|
-
|
|
217
|
-
|
|
219
|
+
default42 as directory_items_input_en,
|
|
220
|
+
default43 as directory_items_input_fr,
|
|
218
221
|
dispatchUser,
|
|
219
|
-
|
|
220
|
-
|
|
222
|
+
default26 as element_search_en,
|
|
223
|
+
default27 as element_search_fr,
|
|
221
224
|
equipmentStyles,
|
|
222
|
-
|
|
223
|
-
|
|
225
|
+
default28 as equipment_search_en,
|
|
226
|
+
default29 as equipment_search_fr,
|
|
224
227
|
exportFilter,
|
|
225
228
|
fetchAppsMetadata,
|
|
226
229
|
fetchDirectoryContent,
|
|
@@ -229,12 +232,12 @@ export {
|
|
|
229
232
|
fetchEnv,
|
|
230
233
|
fetchRootFolders,
|
|
231
234
|
fetchStudyMetadata,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
235
|
+
default30 as filter_en,
|
|
236
|
+
default32 as filter_expert_en,
|
|
237
|
+
default33 as filter_expert_fr,
|
|
238
|
+
default31 as filter_fr,
|
|
239
|
+
default36 as flat_parameters_en,
|
|
240
|
+
default37 as flat_parameters_fr,
|
|
238
241
|
genHelperError,
|
|
239
242
|
genHelperPreviousValue,
|
|
240
243
|
getComputedLanguage,
|
|
@@ -256,16 +259,16 @@ export {
|
|
|
256
259
|
isFloatNumber,
|
|
257
260
|
isObjectEmpty,
|
|
258
261
|
keyGenerator,
|
|
259
|
-
|
|
260
|
-
|
|
262
|
+
default18 as login_en,
|
|
263
|
+
default19 as login_fr,
|
|
261
264
|
logout,
|
|
262
265
|
mergeSx,
|
|
263
266
|
microUnitToUnit,
|
|
264
|
-
|
|
265
|
-
|
|
267
|
+
default38 as multiple_selection_dialog_en,
|
|
268
|
+
default39 as multiple_selection_dialog_fr,
|
|
266
269
|
noSelectionForCopy,
|
|
267
|
-
|
|
268
|
-
|
|
270
|
+
default16 as report_viewer_en,
|
|
271
|
+
default17 as report_viewer_fr,
|
|
269
272
|
roundToDefaultPrecision,
|
|
270
273
|
roundToPrecision,
|
|
271
274
|
saveCriteriaBasedFilter,
|
|
@@ -275,16 +278,17 @@ export {
|
|
|
275
278
|
setCommonStore,
|
|
276
279
|
setLoggedUser,
|
|
277
280
|
setSignInCallbackError,
|
|
278
|
-
|
|
279
|
-
|
|
281
|
+
default22 as table_en,
|
|
282
|
+
default23 as table_fr,
|
|
280
283
|
toFloatOrNullValue,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
284
|
+
default20 as top_bar_en,
|
|
285
|
+
default21 as top_bar_fr,
|
|
286
|
+
default24 as treeview_finder_en,
|
|
287
|
+
default25 as treeview_finder_fr,
|
|
285
288
|
unitToMicroUnit,
|
|
286
289
|
useCustomFormContext,
|
|
287
290
|
useDebounce,
|
|
291
|
+
useElementSearch,
|
|
288
292
|
useIntlRef,
|
|
289
293
|
useLocalizedCountries,
|
|
290
294
|
useSnackMessage
|
package/dist/utils/styles.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SxProps } from '@mui/material';
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
2
|
|
|
3
3
|
export declare const makeComposeClasses: (generateGlobalClass: (className: string) => string) => (classes: Record<string, string>, ruleName: string) => string;
|
|
4
4
|
export declare const toNestedGlobalSelectors: (styles: object, generateGlobalClass: (className: string) => string) => {
|
|
5
5
|
[k: string]: any;
|
|
6
6
|
};
|
|
7
|
-
export declare const mergeSx: (...allSx: (SxProps | undefined)[]) => (boolean | import('@mui/system').SystemStyleObject<{}> | ((theme: {}) => import('@mui/system').SystemStyleObject<{}>) | ((theme: {}) => import('@mui/system').SystemStyleObject<{}>))[];
|
|
7
|
+
export declare const mergeSx: (...allSx: (SxProps<Theme> | undefined)[]) => (boolean | import('@mui/system').SystemStyleObject<{}> | ((theme: {}) => import('@mui/system').SystemStyleObject<{}>) | ((theme: {}) => import('@mui/system').SystemStyleObject<{}>))[];
|