@gridsuite/commons-ui 0.63.0 → 0.63.2
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/expert/expert-filter-constants.d.ts +60 -0
- package/dist/components/filter/expert/expert-filter-constants.js +88 -0
- package/dist/components/filter/expert/expert-filter-form.d.ts +1 -0
- package/dist/components/filter/expert/expert-filter-form.js +13 -39
- package/dist/components/filter/expert/expert-filter-utils.js +14 -1
- package/dist/components/filter/expert/expert-filter.type.d.ts +12 -1
- package/dist/components/filter/expert/expert-filter.type.js +7 -0
- package/dist/components/inputs/react-query-builder/value-editor.js +1 -1
- package/dist/components/translations/filter-expert-en.d.ts +9 -0
- package/dist/components/translations/filter-expert-en.js +10 -1
- package/dist/components/translations/filter-expert-fr.d.ts +9 -0
- package/dist/components/translations/filter-expert-fr.js +13 -4
- package/dist/hooks/usePrevious.d.ts +2 -0
- package/dist/hooks/usePrevious.js +12 -0
- package/dist/hooks/useSnackMessage.js +2 -2
- package/dist/index.d.ts +9 -0
- package/dist/index.js +155 -137
- package/package.json +1 -1
|
@@ -59,7 +59,7 @@ function ValueEditor(props) {
|
|
|
59
59
|
)) {
|
|
60
60
|
return /* @__PURE__ */ jsx(CountryValueEditor, { ...props });
|
|
61
61
|
}
|
|
62
|
-
if (
|
|
62
|
+
if (fieldData.dataType === DataType.ENUM) {
|
|
63
63
|
return /* @__PURE__ */ jsx(TranslatedValueEditor, { ...props });
|
|
64
64
|
}
|
|
65
65
|
if (operator === OPERATOR_OPTIONS.IS_PART_OF.name || operator === OPERATOR_OPTIONS.IS_NOT_PART_OF.name) {
|
|
@@ -79,6 +79,7 @@ declare const filterExpertEn: {
|
|
|
79
79
|
'regulationMode.voltage': string;
|
|
80
80
|
'regulationMode.reactivePower': string;
|
|
81
81
|
voltageSetPoint: string;
|
|
82
|
+
activePowerSetPoint: string;
|
|
82
83
|
reactivePowerSetPoint: string;
|
|
83
84
|
remoteRegulatedTerminal: string;
|
|
84
85
|
regulatingTerminalVLId: string;
|
|
@@ -92,5 +93,13 @@ declare const filterExpertEn: {
|
|
|
92
93
|
lowVoltageThreshold: string;
|
|
93
94
|
highVoltageThreshold: string;
|
|
94
95
|
susceptanceFix: string;
|
|
96
|
+
converterStationId1: string;
|
|
97
|
+
converterStationId2: string;
|
|
98
|
+
convertersMode: string;
|
|
99
|
+
side1RectifierSide2Inverter: string;
|
|
100
|
+
side1InverterSide2Rectifier: string;
|
|
101
|
+
dcNominalVoltage: string;
|
|
102
|
+
converterStationNominalVoltage1: string;
|
|
103
|
+
converterStationNominalVoltage2: string;
|
|
95
104
|
};
|
|
96
105
|
export default filterExpertEn;
|
|
@@ -73,6 +73,7 @@ const filterExpertEn = {
|
|
|
73
73
|
"regulationMode.voltage": "Voltage regulation",
|
|
74
74
|
"regulationMode.reactivePower": "Reactive power regulation",
|
|
75
75
|
voltageSetPoint: "Voltage set point",
|
|
76
|
+
activePowerSetPoint: "Active power set point",
|
|
76
77
|
reactivePowerSetPoint: "Reactive power set point",
|
|
77
78
|
remoteRegulatedTerminal: "Remote regulated terminal",
|
|
78
79
|
regulatingTerminalVLId: "Voltage Level ID",
|
|
@@ -85,7 +86,15 @@ const filterExpertEn = {
|
|
|
85
86
|
highVoltageSetPoint: "High voltage set point",
|
|
86
87
|
lowVoltageThreshold: "Low voltage threshold",
|
|
87
88
|
highVoltageThreshold: "High voltage threshold",
|
|
88
|
-
susceptanceFix: "Fixed part of susceptance "
|
|
89
|
+
susceptanceFix: "Fixed part of susceptance ",
|
|
90
|
+
converterStationId1: "Converter station 1 ID",
|
|
91
|
+
converterStationId2: "Converter station 2 ID",
|
|
92
|
+
convertersMode: "Converters mode",
|
|
93
|
+
side1RectifierSide2Inverter: "Side 1 rectifier side 2 inverter",
|
|
94
|
+
side1InverterSide2Rectifier: "Side 1 inverter side 2 rectifier",
|
|
95
|
+
dcNominalVoltage: "DC nominal voltage (kV)",
|
|
96
|
+
converterStationNominalVoltage1: "Converter station 1 nominal voltage (kV)",
|
|
97
|
+
converterStationNominalVoltage2: "Converter station 2 nominal voltage (kV)"
|
|
89
98
|
};
|
|
90
99
|
export {
|
|
91
100
|
filterExpertEn as default
|
|
@@ -79,6 +79,7 @@ declare const filterExpertFr: {
|
|
|
79
79
|
'regulationMode.voltage': string;
|
|
80
80
|
'regulationMode.reactivePower': string;
|
|
81
81
|
voltageSetPoint: string;
|
|
82
|
+
activePowerSetPoint: string;
|
|
82
83
|
reactivePowerSetPoint: string;
|
|
83
84
|
remoteRegulatedTerminal: string;
|
|
84
85
|
regulatingTerminalVLId: string;
|
|
@@ -92,5 +93,13 @@ declare const filterExpertFr: {
|
|
|
92
93
|
lowVoltageThreshold: string;
|
|
93
94
|
highVoltageThreshold: string;
|
|
94
95
|
susceptanceFix: string;
|
|
96
|
+
converterStationId1: string;
|
|
97
|
+
converterStationId2: string;
|
|
98
|
+
convertersMode: string;
|
|
99
|
+
side1RectifierSide2Inverter: string;
|
|
100
|
+
side1InverterSide2Rectifier: string;
|
|
101
|
+
dcNominalVoltage: string;
|
|
102
|
+
converterStationNominalVoltage1: string;
|
|
103
|
+
converterStationNominalVoltage2: string;
|
|
95
104
|
};
|
|
96
105
|
export default filterExpertFr;
|
|
@@ -49,8 +49,8 @@ const filterExpertFr = {
|
|
|
49
49
|
CurrentLimiter: "Limitation de courant",
|
|
50
50
|
ActivePowerControl: "Suivi de transit",
|
|
51
51
|
FixedTap: "Déphasage constant",
|
|
52
|
-
ratioRegulationMode: "Mode de réglage régleur",
|
|
53
|
-
phaseRegulationMode: "Mode de réglage déphaseur",
|
|
52
|
+
ratioRegulationMode: "Mode de réglage du régleur",
|
|
53
|
+
phaseRegulationMode: "Mode de réglage du déphaseur",
|
|
54
54
|
phaseRegulationValue: "Consigne de transit ou du courant du déphaseur",
|
|
55
55
|
property: "Propriété",
|
|
56
56
|
substationProperty: "Propriété site",
|
|
@@ -73,7 +73,8 @@ const filterExpertFr = {
|
|
|
73
73
|
"regulationMode.voltage": "Réglage de tension",
|
|
74
74
|
"regulationMode.reactivePower": "Réglage du réactif",
|
|
75
75
|
voltageSetPoint: "Tension",
|
|
76
|
-
|
|
76
|
+
activePowerSetPoint: "Consigne de puissance active",
|
|
77
|
+
reactivePowerSetPoint: "Consigne de puissance réactive",
|
|
77
78
|
remoteRegulatedTerminal: "Terminal distant réglé",
|
|
78
79
|
regulatingTerminalVLId: "ID de poste",
|
|
79
80
|
regulatingTerminalConnectableId: "ID d'ouvrage",
|
|
@@ -85,7 +86,15 @@ const filterExpertFr = {
|
|
|
85
86
|
highVoltageSetPoint: "U consigne haut",
|
|
86
87
|
lowVoltageThreshold: "U activation bas",
|
|
87
88
|
highVoltageThreshold: "U activation haut",
|
|
88
|
-
susceptanceFix: "Susceptance fixe"
|
|
89
|
+
susceptanceFix: "Susceptance fixe",
|
|
90
|
+
converterStationId1: "ID de la station de conversion 1",
|
|
91
|
+
converterStationId2: "ID de la station de conversion 2",
|
|
92
|
+
convertersMode: "Mode de conversion",
|
|
93
|
+
side1RectifierSide2Inverter: "Coté 1 redresseur côté 2 onduleur",
|
|
94
|
+
side1InverterSide2Rectifier: "Côté 1 onduleur côté 2 redresseur",
|
|
95
|
+
dcNominalVoltage: "Tension nominale DC (kV)",
|
|
96
|
+
converterStationNominalVoltage1: "Tension nominale de la station de conversion 1 (kV)",
|
|
97
|
+
converterStationNominalVoltage2: "Tension nominale de la station de conversion 2 (kV)"
|
|
89
98
|
};
|
|
90
99
|
export {
|
|
91
100
|
filterExpertFr as default
|
|
@@ -47,9 +47,9 @@ function useSnackMessage() {
|
|
|
47
47
|
(snackInputs, variant) => {
|
|
48
48
|
const message = makeMessage(intlRef, snackInputs);
|
|
49
49
|
if (message === null) {
|
|
50
|
-
return;
|
|
50
|
+
return void 0;
|
|
51
51
|
}
|
|
52
|
-
enqueueSnackbar(message, {
|
|
52
|
+
return enqueueSnackbar(message, {
|
|
53
53
|
...snackInputs,
|
|
54
54
|
variant,
|
|
55
55
|
style: { whiteSpace: "pre-line" }
|
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,13 @@ export { ROW_DRAGGING_SELECTION_COLUMN_DEF } from './components/inputs/react-hoo
|
|
|
31
31
|
export type { Parameter } from './components/FlatParameters/FlatParameters';
|
|
32
32
|
export { Line, Generator, Load, Battery, SVC, DanglingLine, LCC, VSC, Hvdc, BusBar, TwoWindingTransfo, ThreeWindingTransfo, ShuntCompensator, VoltageLevel, Substation, noSelectionForCopy, } from './utils/equipment-types';
|
|
33
33
|
export { default as FieldConstants } from './utils/field-constants';
|
|
34
|
+
export { fields as EXPERT_FILTER_FIELDS } from './components/filter/expert/expert-filter-constants';
|
|
35
|
+
export { default as CustomReactQueryBuilder } from './components/inputs/react-query-builder/custom-react-query-builder';
|
|
36
|
+
export { EXPERT_FILTER_QUERY, rqbQuerySchemaValidator, getExpertFilterEmptyFormData, } from './components/filter/expert/expert-filter-form';
|
|
37
|
+
export { importExpertRules, exportExpertRules, } from './components/filter/expert/expert-filter-utils';
|
|
38
|
+
export type { RuleTypeExport, RuleGroupTypeExport, } from './components/filter/expert/expert-filter.type';
|
|
39
|
+
export { formatQuery } from 'react-querybuilder';
|
|
40
|
+
export { default as yup } from './utils/yup-config';
|
|
34
41
|
export type { TreeViewFinderNodeProps } from './components/TreeViewFinder/TreeViewFinder';
|
|
35
42
|
export { GRIDSUITE_DEFAULT_PRECISION, roundToPrecision, roundToDefaultPrecision, isBlankOrEmpty, unitToMicroUnit, microUnitToUnit, } from './utils/conversion-utils';
|
|
36
43
|
export { ElementType } from './utils/ElementType';
|
|
@@ -72,12 +79,14 @@ export { default as common_button_fr } from './components/translations/common-bu
|
|
|
72
79
|
export { default as directory_items_input_en } from './components/translations/directory-items-input-en';
|
|
73
80
|
export { default as directory_items_input_fr } from './components/translations/directory-items-input-fr';
|
|
74
81
|
export { TagRenderer, ElementSearchInput, useElementSearch, } from './components/ElementSearchDialog';
|
|
82
|
+
export type { Paginated } from './components/ElementSearchDialog';
|
|
75
83
|
export type { TagRendererProps } from './components/ElementSearchDialog';
|
|
76
84
|
export { EquipmentItem } from './components/ElementSearchDialog/equipment-item';
|
|
77
85
|
export { default as CardErrorBoundary } from './components/CardErrorBoundary';
|
|
78
86
|
export { default as useIntlRef } from './hooks/useIntlRef';
|
|
79
87
|
export { useSnackMessage } from './hooks/useSnackMessage';
|
|
80
88
|
export { default as useDebounce } from './hooks/useDebounce';
|
|
89
|
+
export { default as usePrevious } from './hooks/usePrevious';
|
|
81
90
|
export { default as SelectClearable } from './components/inputs/select-clearable';
|
|
82
91
|
export { default as useCustomFormContext } from './components/inputs/react-hook-form/provider/use-custom-form-context';
|
|
83
92
|
export { default as CustomFormProvider } from './components/inputs/react-hook-form/provider/custom-form-provider';
|
package/dist/index.js
CHANGED
|
@@ -28,85 +28,92 @@ import { default as default19 } from "./components/inputs/react-hook-form/ag-gri
|
|
|
28
28
|
import { default as default20, ROW_DRAGGING_SELECTION_COLUMN_DEF } from "./components/inputs/react-hook-form/ag-grid-table/custom-ag-grid-table.js";
|
|
29
29
|
import { Battery, BusBar, DanglingLine, Generator, Hvdc, LCC, Line, Load, SVC, ShuntCompensator, Substation, ThreeWindingTransfo, TwoWindingTransfo, VSC, VoltageLevel, noSelectionForCopy } from "./utils/equipment-types.js";
|
|
30
30
|
import { default as default21 } from "./utils/field-constants.js";
|
|
31
|
+
import { fields } from "./components/filter/expert/expert-filter-constants.js";
|
|
32
|
+
import { default as default22 } from "./components/inputs/react-query-builder/custom-react-query-builder.js";
|
|
33
|
+
import { EXPERT_FILTER_QUERY, getExpertFilterEmptyFormData, rqbQuerySchemaValidator } from "./components/filter/expert/expert-filter-form.js";
|
|
34
|
+
import { exportExpertRules, importExpertRules } from "./components/filter/expert/expert-filter-utils.js";
|
|
35
|
+
import { formatQuery } from "react-querybuilder";
|
|
36
|
+
import "./utils/yup-config.js";
|
|
31
37
|
import { GRIDSUITE_DEFAULT_PRECISION, isBlankOrEmpty, microUnitToUnit, roundToDefaultPrecision, roundToPrecision, unitToMicroUnit } from "./utils/conversion-utils.js";
|
|
32
38
|
import { ElementType } from "./utils/ElementType.js";
|
|
33
39
|
import { EQUIPMENT_TYPE, EquipmentType, equipmentStyles, getEquipmentsInfosForSearchBar } from "./utils/EquipmentType.js";
|
|
34
40
|
import { dispatchUser, getPreLoginPath, initializeAuthenticationDev, initializeAuthenticationProd, logout } from "./utils/AuthService.js";
|
|
35
|
-
import { default as
|
|
41
|
+
import { default as default23 } from "./utils/ElementIcon.js";
|
|
36
42
|
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/authActions.js";
|
|
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
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
43
|
+
import { default as default24 } from "./components/translations/report-viewer-en.js";
|
|
44
|
+
import { default as default25 } from "./components/translations/report-viewer-fr.js";
|
|
45
|
+
import { default as default26 } from "./components/translations/login-en.js";
|
|
46
|
+
import { default as default27 } from "./components/translations/login-fr.js";
|
|
47
|
+
import { default as default28 } from "./components/translations/top-bar-en.js";
|
|
48
|
+
import { default as default29 } from "./components/translations/top-bar-fr.js";
|
|
49
|
+
import { default as default30 } from "./components/translations/table-en.js";
|
|
50
|
+
import { default as default31 } from "./components/translations/table-fr.js";
|
|
51
|
+
import { default as default32 } from "./components/translations/treeview-finder-en.js";
|
|
52
|
+
import { default as default33 } from "./components/translations/treeview-finder-fr.js";
|
|
53
|
+
import { default as default34 } from "./components/translations/element-search-en.js";
|
|
54
|
+
import { default as default35 } from "./components/translations/element-search-fr.js";
|
|
55
|
+
import { default as default36 } from "./components/translations/equipment-search-en.js";
|
|
56
|
+
import { default as default37 } from "./components/translations/equipment-search-fr.js";
|
|
57
|
+
import { default as default38 } from "./components/translations/filter-en.js";
|
|
58
|
+
import { default as default39 } from "./components/translations/filter-fr.js";
|
|
59
|
+
import { default as default40 } from "./components/translations/filter-expert-en.js";
|
|
60
|
+
import { default as default41 } from "./components/translations/filter-expert-fr.js";
|
|
61
|
+
import { default as default42 } from "./components/translations/card-error-boundary-en.js";
|
|
62
|
+
import { default as default43 } from "./components/translations/card-error-boundary-fr.js";
|
|
63
|
+
import { default as default44 } from "./components/translations/flat-parameters-en.js";
|
|
64
|
+
import { default as default45 } from "./components/translations/flat-parameters-fr.js";
|
|
65
|
+
import { default as default46 } from "./components/translations/multiple-selection-dialog-en.js";
|
|
66
|
+
import { default as default47 } from "./components/translations/multiple-selection-dialog-fr.js";
|
|
67
|
+
import { default as default48 } from "./components/translations/common-button-en.js";
|
|
68
|
+
import { default as default49 } from "./components/translations/common-button-fr.js";
|
|
69
|
+
import { default as default50 } from "./components/translations/directory-items-input-en.js";
|
|
70
|
+
import { default as default51 } from "./components/translations/directory-items-input-fr.js";
|
|
65
71
|
import { EquipmentItem } from "./components/ElementSearchDialog/equipment-item.js";
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
72
|
+
import { default as default52 } from "./components/CardErrorBoundary/card-error-boundary.js";
|
|
73
|
+
import { default as default53 } from "./hooks/useIntlRef.js";
|
|
68
74
|
import { useSnackMessage } from "./hooks/useSnackMessage.js";
|
|
69
|
-
import { default as
|
|
70
|
-
import {
|
|
71
|
-
import { default as default55 } from "./components/inputs/
|
|
72
|
-
import { default as default56 } from "./components/inputs/react-hook-form/provider/custom-form-
|
|
73
|
-
import { default as default57 } from "./components/inputs/react-hook-form/
|
|
74
|
-
import { default as default58 } from "./components/inputs/react-hook-form/
|
|
75
|
-
import { default as default59 } from "./components/inputs/react-hook-form/
|
|
76
|
-
import { default as default60 } from "./components/inputs/react-hook-form/
|
|
77
|
-
import { default as default61 } from "./components/inputs/react-hook-form/
|
|
78
|
-
import { default as default62 } from "./components/inputs/react-hook-form/
|
|
79
|
-
import { default as default63 } from "./components/inputs/react-hook-form/numbers/
|
|
80
|
-
import { default as default64 } from "./components/inputs/react-hook-form/
|
|
81
|
-
import { default as default65 } from "./components/inputs/react-hook-form/
|
|
82
|
-
import { default as default66 } from "./components/inputs/react-hook-form/booleans/
|
|
83
|
-
import { default as default67 } from "./components/inputs/react-hook-form/
|
|
84
|
-
import { default as default68 } from "./components/inputs/react-hook-form/error-management/
|
|
85
|
-
import { default as default69 } from "./components/inputs/react-hook-form/error-management/
|
|
86
|
-
import { default as default70 } from "./components/inputs/react-hook-form/
|
|
87
|
-
import { default as default71 } from "./components/inputs/react-hook-form/utils/field-
|
|
88
|
-
import { default as default72 } from "./components/inputs/react-hook-form/utils/
|
|
89
|
-
import { default as default73 } from "./components/inputs/react-hook-form/utils/
|
|
75
|
+
import { default as default54 } from "./hooks/useDebounce.js";
|
|
76
|
+
import { usePrevious } from "./hooks/usePrevious.js";
|
|
77
|
+
import { default as default55 } from "./components/inputs/select-clearable.js";
|
|
78
|
+
import { default as default56 } from "./components/inputs/react-hook-form/provider/use-custom-form-context.js";
|
|
79
|
+
import { default as default57 } from "./components/inputs/react-hook-form/provider/custom-form-provider.js";
|
|
80
|
+
import { default as default58 } from "./components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.js";
|
|
81
|
+
import { default as default59 } from "./components/inputs/react-hook-form/text-input.js";
|
|
82
|
+
import { default as default60 } from "./components/inputs/react-hook-form/ExpandingTextField.js";
|
|
83
|
+
import { default as default61 } from "./components/inputs/react-hook-form/radio-input.js";
|
|
84
|
+
import { default as default62 } from "./components/inputs/react-hook-form/slider-input.js";
|
|
85
|
+
import { default as default63 } from "./components/inputs/react-hook-form/numbers/float-input.js";
|
|
86
|
+
import { default as default64 } from "./components/inputs/react-hook-form/numbers/integer-input.js";
|
|
87
|
+
import { default as default65 } from "./components/inputs/react-hook-form/select-inputs/select-input.js";
|
|
88
|
+
import { default as default66 } from "./components/inputs/react-hook-form/booleans/checkbox-input.js";
|
|
89
|
+
import { default as default67 } from "./components/inputs/react-hook-form/booleans/switch-input.js";
|
|
90
|
+
import { default as default68 } from "./components/inputs/react-hook-form/error-management/error-input.js";
|
|
91
|
+
import { default as default69 } from "./components/inputs/react-hook-form/error-management/field-error-alert.js";
|
|
92
|
+
import { default as default70 } from "./components/inputs/react-hook-form/error-management/mid-form-error.js";
|
|
93
|
+
import { default as default71 } from "./components/inputs/react-hook-form/utils/text-field-with-adornment.js";
|
|
94
|
+
import { default as default72 } from "./components/inputs/react-hook-form/utils/field-label.js";
|
|
95
|
+
import { default as default73 } from "./components/inputs/react-hook-form/utils/submit-button.js";
|
|
96
|
+
import { default as default74 } from "./components/inputs/react-hook-form/utils/cancel-button.js";
|
|
90
97
|
import { genHelperError, genHelperPreviousValue, gridItem, identity, isFieldRequired, isFloatNumber, toFloatOrNullValue } from "./components/inputs/react-hook-form/utils/functions.js";
|
|
91
98
|
import { areArrayElementsUnique, isObjectEmpty, keyGenerator } from "./utils/functions.js";
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
99
|
+
import { default as default75 } from "./components/inputs/react-hook-form/directory-items-input.js";
|
|
100
|
+
import { default as default76 } from "./components/DirectoryItemSelector/directory-item-selector.js";
|
|
101
|
+
import { default as default77 } from "./components/CustomAGGrid/custom-aggrid.js";
|
|
102
|
+
import { default as default78 } from "./components/inputs/react-hook-form/raw-read-only-input.js";
|
|
103
|
+
import { default as default79 } from "./components/filter/filter-creation-dialog.js";
|
|
104
|
+
import { default as default80 } from "./components/filter/expert/expert-filter-edition-dialog.js";
|
|
105
|
+
import { default as default81 } from "./components/filter/explicit-naming/explicit-naming-filter-edition-dialog.js";
|
|
106
|
+
import { default as default82 } from "./components/filter/criteria-based/criteria-based-filter-edition-dialog.js";
|
|
100
107
|
import { saveCriteriaBasedFilter, saveExpertFilter, saveExplicitNamingFilter } from "./components/filter/utils/filter-api.js";
|
|
101
|
-
import { DEFAULT_RANGE_VALUE, default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as
|
|
104
|
-
import { default as
|
|
108
|
+
import { DEFAULT_RANGE_VALUE, default as default83, getRangeInputDataForm, getRangeInputSchema } from "./components/inputs/react-hook-form/range-input.js";
|
|
109
|
+
import { default as default84 } from "./components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.js";
|
|
110
|
+
import { default as default85 } from "./components/inputs/react-hook-form/select-inputs/mui-select-input.js";
|
|
111
|
+
import { default as default86 } from "./components/inputs/react-hook-form/select-inputs/countries-input.js";
|
|
105
112
|
import { getComputedLanguage, getSystemLanguage, useLocalizedCountries } from "./hooks/localized-countries-hook.js";
|
|
106
|
-
import { default as
|
|
107
|
-
import { default as
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
113
|
+
import { default as default87 } from "./components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js";
|
|
114
|
+
import { default as default88 } from "./components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js";
|
|
115
|
+
import { default as default89 } from "./components/inputs/react-hook-form/unique-name-input.js";
|
|
116
|
+
import { default as default90 } from "./utils/UserManagerMock.js";
|
|
110
117
|
import { CONTINGENCY_LIST_EQUIPMENTS, FILTER_EQUIPMENTS } from "./components/filter/utils/filter-form-utils.js";
|
|
111
118
|
import { getCriteriaBasedFormData, getCriteriaBasedSchema } from "./components/filter/criteria-based/criteria-based-filter-utils.js";
|
|
112
119
|
import { setCommonStore } from "./redux/commonStore.js";
|
|
@@ -115,26 +122,28 @@ import { createFilter, fetchElementsInfos, saveFilter } from "./services/explore
|
|
|
115
122
|
import { fetchAppsMetadata, fetchEnv, fetchStudyMetadata } from "./services/apps-metadata.js";
|
|
116
123
|
import { fetchDirectoryContent, fetchDirectoryElementPath, fetchRootFolders } from "./services/directory.js";
|
|
117
124
|
import { exportFilter } from "./services/study.js";
|
|
125
|
+
import * as yup from "yup";
|
|
118
126
|
export {
|
|
119
127
|
default4 as AboutDialog,
|
|
120
128
|
default6 as AuthenticationRouter,
|
|
121
|
-
|
|
129
|
+
default58 as AutocompleteInput,
|
|
122
130
|
Battery,
|
|
123
131
|
default19 as BottomRightButtons,
|
|
124
132
|
BusBar,
|
|
125
133
|
CONTINGENCY_LIST_EQUIPMENTS,
|
|
126
|
-
|
|
127
|
-
|
|
134
|
+
default74 as CancelButton,
|
|
135
|
+
default52 as CardErrorBoundary,
|
|
128
136
|
ChangeWays,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
137
|
+
default66 as CheckboxInput,
|
|
138
|
+
default86 as CountriesInput,
|
|
139
|
+
default82 as CriteriaBasedFilterEditionDialog,
|
|
132
140
|
default17 as CriteriaBasedForm,
|
|
133
|
-
|
|
134
|
-
|
|
141
|
+
default88 as CsvUploader,
|
|
142
|
+
default77 as CustomAGGrid,
|
|
135
143
|
default20 as CustomAgGridTable,
|
|
136
|
-
|
|
144
|
+
default57 as CustomFormProvider,
|
|
137
145
|
default14 as CustomMuiDialog,
|
|
146
|
+
default22 as CustomReactQueryBuilder,
|
|
138
147
|
DARK_THEME,
|
|
139
148
|
DEFAULT_CELL_PADDING,
|
|
140
149
|
DEFAULT_HEADER_HEIGHT,
|
|
@@ -142,31 +151,33 @@ export {
|
|
|
142
151
|
DEFAULT_ROW_HEIGHT,
|
|
143
152
|
DanglingLine,
|
|
144
153
|
default15 as DescriptionModificationDialog,
|
|
145
|
-
|
|
146
|
-
|
|
154
|
+
default76 as DirectoryItemSelector,
|
|
155
|
+
default75 as DirectoryItemsInput,
|
|
147
156
|
EQUIPMENT_TYPE,
|
|
157
|
+
fields as EXPERT_FILTER_FIELDS,
|
|
158
|
+
EXPERT_FILTER_QUERY,
|
|
148
159
|
ElementSearchDialog,
|
|
149
160
|
ElementSearchInput,
|
|
150
161
|
ElementType,
|
|
151
162
|
EquipmentItem,
|
|
152
163
|
EquipmentType,
|
|
153
|
-
|
|
164
|
+
default68 as ErrorInput,
|
|
154
165
|
default12 as ExpandableGroup,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
166
|
+
default60 as ExpandingTextField,
|
|
167
|
+
default80 as ExpertFilterEditionDialog,
|
|
168
|
+
default81 as ExplicitNamingFilterEditionDialog,
|
|
158
169
|
FILTER_EQUIPMENTS,
|
|
159
170
|
default21 as FieldConstants,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
171
|
+
default69 as FieldErrorAlert,
|
|
172
|
+
default72 as FieldLabel,
|
|
173
|
+
default79 as FilterCreationDialog,
|
|
163
174
|
FlatParameters,
|
|
164
|
-
|
|
175
|
+
default63 as FloatInput,
|
|
165
176
|
GRIDSUITE_DEFAULT_PRECISION,
|
|
166
177
|
Generator,
|
|
167
178
|
Hvdc,
|
|
168
|
-
|
|
169
|
-
|
|
179
|
+
default84 as InputWithPopupConfirmation,
|
|
180
|
+
default64 as IntegerInput,
|
|
170
181
|
KeyedColumnsRowIndexer,
|
|
171
182
|
LANG_ENGLISH,
|
|
172
183
|
LANG_FRENCH,
|
|
@@ -176,35 +187,35 @@ export {
|
|
|
176
187
|
LOGOUT_ERROR,
|
|
177
188
|
Line,
|
|
178
189
|
Load,
|
|
179
|
-
|
|
190
|
+
default70 as MidFormError,
|
|
180
191
|
default16 as ModifyElementSelection,
|
|
181
|
-
|
|
192
|
+
default85 as MuiSelectInput,
|
|
182
193
|
default7 as MuiVirtualizedTable,
|
|
183
|
-
|
|
194
|
+
default87 as MultipleAutocompleteInput,
|
|
184
195
|
default13 as MultipleSelectionDialog,
|
|
185
196
|
OverflowableText,
|
|
186
197
|
default18 as PopupConfirmationDialog,
|
|
187
198
|
RESET_AUTHENTICATION_ROUTER_ERROR,
|
|
188
199
|
ROW_DRAGGING_SELECTION_COLUMN_DEF,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
200
|
+
default61 as RadioInput,
|
|
201
|
+
default83 as RangeInput,
|
|
202
|
+
default78 as RawReadOnlyInput,
|
|
192
203
|
default8 as ReportViewer,
|
|
193
204
|
default9 as ReportViewerDialog,
|
|
194
205
|
SHOW_AUTH_INFO_LOGIN,
|
|
195
206
|
SIGNIN_CALLBACK_ERROR,
|
|
196
207
|
SVC,
|
|
197
|
-
|
|
198
|
-
|
|
208
|
+
default55 as SelectClearable,
|
|
209
|
+
default65 as SelectInput,
|
|
199
210
|
ShuntCompensator,
|
|
200
|
-
|
|
211
|
+
default62 as SliderInput,
|
|
201
212
|
default5 as SnackbarProvider,
|
|
202
|
-
|
|
213
|
+
default73 as SubmitButton,
|
|
203
214
|
Substation,
|
|
204
|
-
|
|
215
|
+
default67 as SwitchInput,
|
|
205
216
|
default10 as TagRenderer,
|
|
206
|
-
|
|
207
|
-
|
|
217
|
+
default71 as TextFieldWithAdornment,
|
|
218
|
+
default59 as TextInput,
|
|
208
219
|
ThreeWindingTransfo,
|
|
209
220
|
default3 as TopBar,
|
|
210
221
|
default2 as TreeViewFinder,
|
|
@@ -212,26 +223,27 @@ export {
|
|
|
212
223
|
UNAUTHORIZED_USER_INFO,
|
|
213
224
|
USER,
|
|
214
225
|
USER_VALIDATION_ERROR,
|
|
215
|
-
|
|
216
|
-
|
|
226
|
+
default89 as UniqueNameInput,
|
|
227
|
+
default90 as UserManagerMock,
|
|
217
228
|
VSC,
|
|
218
229
|
VoltageLevel,
|
|
219
230
|
areArrayElementsUnique,
|
|
220
231
|
backendFetch,
|
|
221
232
|
backendFetchJson,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
233
|
+
default42 as card_error_boundary_en,
|
|
234
|
+
default43 as card_error_boundary_fr,
|
|
235
|
+
default48 as common_button_en,
|
|
236
|
+
default49 as common_button_fr,
|
|
226
237
|
createFilter,
|
|
227
|
-
|
|
228
|
-
|
|
238
|
+
default50 as directory_items_input_en,
|
|
239
|
+
default51 as directory_items_input_fr,
|
|
229
240
|
dispatchUser,
|
|
230
|
-
|
|
231
|
-
|
|
241
|
+
default34 as element_search_en,
|
|
242
|
+
default35 as element_search_fr,
|
|
232
243
|
equipmentStyles,
|
|
233
|
-
|
|
234
|
-
|
|
244
|
+
default36 as equipment_search_en,
|
|
245
|
+
default37 as equipment_search_fr,
|
|
246
|
+
exportExpertRules,
|
|
235
247
|
exportFilter,
|
|
236
248
|
fetchAppsMetadata,
|
|
237
249
|
fetchDirectoryContent,
|
|
@@ -240,19 +252,21 @@ export {
|
|
|
240
252
|
fetchEnv,
|
|
241
253
|
fetchRootFolders,
|
|
242
254
|
fetchStudyMetadata,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
255
|
+
default38 as filter_en,
|
|
256
|
+
default40 as filter_expert_en,
|
|
257
|
+
default41 as filter_expert_fr,
|
|
258
|
+
default39 as filter_fr,
|
|
259
|
+
default44 as flat_parameters_en,
|
|
260
|
+
default45 as flat_parameters_fr,
|
|
261
|
+
formatQuery,
|
|
249
262
|
genHelperError,
|
|
250
263
|
genHelperPreviousValue,
|
|
251
264
|
getComputedLanguage,
|
|
252
265
|
getCriteriaBasedFormData,
|
|
253
266
|
getCriteriaBasedSchema,
|
|
254
267
|
getEquipmentsInfosForSearchBar,
|
|
255
|
-
|
|
268
|
+
getExpertFilterEmptyFormData,
|
|
269
|
+
default23 as getFileIcon,
|
|
256
270
|
getPreLoginPath,
|
|
257
271
|
getRangeInputDataForm,
|
|
258
272
|
getRangeInputSchema,
|
|
@@ -260,6 +274,7 @@ export {
|
|
|
260
274
|
getSystemLanguage,
|
|
261
275
|
gridItem,
|
|
262
276
|
identity,
|
|
277
|
+
importExpertRules,
|
|
263
278
|
initializeAuthenticationDev,
|
|
264
279
|
initializeAuthenticationProd,
|
|
265
280
|
isBlankOrEmpty,
|
|
@@ -267,18 +282,19 @@ export {
|
|
|
267
282
|
isFloatNumber,
|
|
268
283
|
isObjectEmpty,
|
|
269
284
|
keyGenerator,
|
|
270
|
-
|
|
271
|
-
|
|
285
|
+
default26 as login_en,
|
|
286
|
+
default27 as login_fr,
|
|
272
287
|
logout,
|
|
273
288
|
mergeSx,
|
|
274
289
|
microUnitToUnit,
|
|
275
|
-
|
|
276
|
-
|
|
290
|
+
default46 as multiple_selection_dialog_en,
|
|
291
|
+
default47 as multiple_selection_dialog_fr,
|
|
277
292
|
noSelectionForCopy,
|
|
278
|
-
|
|
279
|
-
|
|
293
|
+
default24 as report_viewer_en,
|
|
294
|
+
default25 as report_viewer_fr,
|
|
280
295
|
roundToDefaultPrecision,
|
|
281
296
|
roundToPrecision,
|
|
297
|
+
rqbQuerySchemaValidator,
|
|
282
298
|
saveCriteriaBasedFilter,
|
|
283
299
|
saveExpertFilter,
|
|
284
300
|
saveExplicitNamingFilter,
|
|
@@ -286,18 +302,20 @@ export {
|
|
|
286
302
|
setCommonStore,
|
|
287
303
|
setLoggedUser,
|
|
288
304
|
setSignInCallbackError,
|
|
289
|
-
|
|
290
|
-
|
|
305
|
+
default30 as table_en,
|
|
306
|
+
default31 as table_fr,
|
|
291
307
|
toFloatOrNullValue,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
308
|
+
default28 as top_bar_en,
|
|
309
|
+
default29 as top_bar_fr,
|
|
310
|
+
default32 as treeview_finder_en,
|
|
311
|
+
default33 as treeview_finder_fr,
|
|
296
312
|
unitToMicroUnit,
|
|
297
|
-
|
|
298
|
-
|
|
313
|
+
default56 as useCustomFormContext,
|
|
314
|
+
default54 as useDebounce,
|
|
299
315
|
default11 as useElementSearch,
|
|
300
|
-
|
|
316
|
+
default53 as useIntlRef,
|
|
301
317
|
useLocalizedCountries,
|
|
302
|
-
|
|
318
|
+
usePrevious,
|
|
319
|
+
useSnackMessage,
|
|
320
|
+
yup
|
|
303
321
|
};
|