@gridsuite/commons-ui 0.55.0 → 0.57.0
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/assets/criteria-based-filter-edition-dialog.css +168 -0
- package/dist/chunks/criteria-based-filter-edition-dialog.BEXoNmzz.js +1673 -0
- package/dist/chunks/filter-properties.GRon8-ML.js +195 -0
- package/dist/components/DirectoryItemSelector/directory-item-selector.d.ts +13 -3
- package/dist/components/DirectoryItemSelector/directory-item-selector.js +14 -10
- package/dist/components/TopBar/TopBar.js +371 -429
- package/dist/components/dialogs/custom-mui-dialog.d.ts +21 -0
- package/dist/components/dialogs/custom-mui-dialog.js +87 -0
- package/dist/components/dialogs/description-modification-dialog.d.ts +11 -0
- package/dist/components/dialogs/description-modification-dialog.js +71 -0
- package/dist/components/dialogs/popup-confirmation-dialog.d.ts +11 -0
- package/dist/components/dialogs/popup-confirmation-dialog.js +38 -0
- package/dist/components/filter/constants/equipment-types.d.ts +72 -0
- package/dist/components/filter/constants/equipment-types.js +63 -0
- package/dist/components/filter/constants/expert-filter-constants.d.ts +551 -0
- package/dist/components/filter/constants/expert-filter-constants.js +668 -0
- package/dist/components/filter/constants/field-constants.d.ts +45 -0
- package/dist/components/filter/constants/field-constants.js +43 -0
- package/dist/components/filter/constants/filter-constants.d.ts +21 -0
- package/dist/components/filter/constants/filter-constants.js +10 -0
- package/dist/components/filter/criteria-based/criteria-based-filter-edition-dialog.d.ts +29 -0
- package/dist/components/filter/criteria-based/criteria-based-filter-edition-dialog.js +19 -0
- package/dist/components/filter/criteria-based/criteria-based-filter-form.d.ts +15 -0
- package/dist/components/filter/criteria-based/criteria-based-filter-form.js +33 -0
- package/dist/components/filter/criteria-based/criteria-based-filter-utils.d.ts +37 -0
- package/dist/components/filter/criteria-based/criteria-based-filter-utils.js +127 -0
- package/dist/components/filter/criteria-based/criteria-based-form.d.ts +7 -0
- package/dist/components/filter/criteria-based/criteria-based-form.js +50 -0
- package/dist/components/filter/criteria-based/filter-free-properties.d.ts +10 -0
- package/dist/components/filter/criteria-based/filter-free-properties.js +15 -0
- package/dist/components/filter/criteria-based/filter-properties.d.ts +21 -0
- package/dist/components/filter/criteria-based/filter-properties.js +19 -0
- package/dist/components/filter/criteria-based/filter-property.d.ts +19 -0
- package/dist/components/filter/criteria-based/filter-property.js +67 -0
- package/dist/components/filter/expert/expert-filter-edition-dialog.d.ts +28 -0
- package/dist/components/filter/expert/expert-filter-edition-dialog.js +20 -0
- package/dist/components/filter/expert/expert-filter-form.d.ts +21 -0
- package/dist/components/filter/expert/expert-filter-form.js +22 -0
- package/dist/components/filter/expert/expert-filter-utils.d.ts +91 -0
- package/dist/components/filter/expert/expert-filter-utils.js +304 -0
- package/dist/components/filter/expert/expert-filter.type.d.ts +114 -0
- package/dist/components/filter/expert/expert-filter.type.js +104 -0
- package/dist/components/filter/explicit-naming/explicit-naming-filter-edition-dialog.d.ts +22 -0
- package/dist/components/filter/explicit-naming/explicit-naming-filter-edition-dialog.js +19 -0
- package/dist/components/filter/explicit-naming/explicit-naming-filter-form.d.ts +22 -0
- package/dist/components/filter/explicit-naming/explicit-naming-filter-form.js +23 -0
- package/dist/components/filter/filter-context.d.ts +12 -0
- package/dist/components/filter/filter-context.js +10 -0
- package/dist/components/filter/filter-creation-dialog.d.ts +21 -0
- package/dist/components/filter/filter-creation-dialog.js +17 -0
- package/dist/components/filter/filter-form.d.ts +11 -0
- package/dist/components/filter/filter-form.js +14 -0
- package/dist/components/filter/utils/criteria-based-utils.d.ts +28 -0
- package/dist/components/filter/utils/criteria-based-utils.js +197 -0
- package/dist/components/filter/utils/filters-utils.d.ts +5 -0
- package/dist/components/filter/utils/filters-utils.js +99 -0
- package/dist/components/inputs/select-clearable.d.ts +14 -0
- package/dist/components/inputs/select-clearable.js +40 -0
- package/dist/components/react-hook-form/ExpandingTextField.d.ts +1 -1
- package/dist/components/react-hook-form/ExpandingTextField.js +0 -37
- package/dist/components/react-hook-form/ag-grid-table-rhf/bottom-right-buttons.d.ts +17 -0
- package/dist/components/react-hook-form/ag-grid-table-rhf/bottom-right-buttons.js +15 -0
- package/dist/components/react-hook-form/ag-grid-table-rhf/cell-editors/numericEditor.d.ts +23 -0
- package/dist/components/react-hook-form/ag-grid-table-rhf/cell-editors/numericEditor.js +70 -0
- package/dist/components/react-hook-form/ag-grid-table-rhf/csv-uploader/csv-uploader.d.ts +16 -0
- package/dist/components/react-hook-form/ag-grid-table-rhf/csv-uploader/csv-uploader.js +69 -0
- package/dist/components/react-hook-form/ag-grid-table-rhf/custom-ag-grid-table.d.ts +23 -0
- package/dist/components/react-hook-form/ag-grid-table-rhf/custom-ag-grid-table.js +15 -0
- package/dist/components/react-hook-form/autocomplete-input.d.ts +17 -29
- package/dist/components/react-hook-form/autocomplete-input.js +4 -15
- package/dist/components/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.d.ts +2 -0
- package/dist/components/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js +46 -0
- package/dist/components/react-hook-form/directory-items-input.d.ts +0 -3
- package/dist/components/react-hook-form/directory-items-input.js +5 -6
- package/dist/components/react-hook-form/error-management/error-input.d.ts +13 -4
- package/dist/components/react-hook-form/error-management/error-input.js +7 -7
- package/dist/components/react-hook-form/error-management/field-error-alert.d.ts +6 -3
- package/dist/components/react-hook-form/error-management/field-error-alert.js +3 -1
- package/dist/components/react-hook-form/numbers/float-input.d.ts +5 -17
- package/dist/components/react-hook-form/numbers/float-input.js +3 -5
- package/dist/components/react-hook-form/numbers/integer-input.d.ts +15 -12
- package/dist/components/react-hook-form/numbers/utils.d.ts +8 -2
- package/dist/components/react-hook-form/provider/custom-form-provider.d.ts +1 -0
- package/dist/components/react-hook-form/provider/custom-form-provider.js +12 -3
- package/dist/components/react-hook-form/radio-input.d.ts +14 -17
- package/dist/components/react-hook-form/radio-input.js +7 -9
- package/dist/components/react-hook-form/range-input.d.ts +54 -0
- package/dist/components/react-hook-form/range-input.js +118 -0
- package/dist/components/react-hook-form/select-inputs/countries-input.d.ts +8 -0
- package/dist/components/react-hook-form/select-inputs/countries-input.js +36 -0
- package/dist/components/react-hook-form/select-inputs/input-with-popup-confirmation.d.ts +2 -0
- package/dist/components/react-hook-form/select-inputs/input-with-popup-confirmation.js +61 -0
- package/dist/components/react-hook-form/select-inputs/mui-select-input.d.ts +12 -0
- package/dist/components/react-hook-form/select-inputs/mui-select-input.js +25 -0
- package/dist/components/react-hook-form/select-inputs/select-input.d.ts +9 -0
- package/dist/components/react-hook-form/select-inputs/select-input.js +37 -0
- package/dist/components/react-hook-form/text-input.d.ts +23 -32
- package/dist/components/react-hook-form/text-input.js +6 -20
- package/dist/components/react-hook-form/unique-name-input.d.ts +21 -0
- package/dist/components/react-hook-form/unique-name-input.js +129 -0
- package/dist/components/react-hook-form/utils/cancel-button.d.ts +9 -8
- package/dist/components/react-hook-form/utils/field-label.d.ts +12 -5
- package/dist/components/react-hook-form/utils/field-label.js +5 -1
- package/dist/components/react-hook-form/utils/functions.d.ts +12 -4
- package/dist/components/react-hook-form/utils/functions.js +21 -1
- package/dist/components/react-hook-form/utils/submit-button.d.ts +9 -8
- package/dist/components/react-hook-form/utils/text-field-with-adornment.d.ts +11 -11
- package/dist/components/react-hook-form/utils/text-field-with-adornment.js +18 -23
- package/dist/components/react-query-builder-inputs/add-button.d.ts +8 -0
- package/dist/components/react-query-builder-inputs/add-button.js +17 -0
- package/dist/components/react-query-builder-inputs/combinator-selector.d.ts +5 -0
- package/dist/components/react-query-builder-inputs/combinator-selector.js +38 -0
- package/dist/components/react-query-builder-inputs/country-value-editor.d.ts +5 -0
- package/dist/components/react-query-builder-inputs/country-value-editor.js +46 -0
- package/dist/components/react-query-builder-inputs/custom-react-query-builder.d.ts +8 -0
- package/dist/components/react-query-builder-inputs/custom-react-query-builder.js +21 -0
- package/dist/components/react-query-builder-inputs/element-value-editor.d.ts +14 -0
- package/dist/components/react-query-builder-inputs/element-value-editor.js +69 -0
- package/dist/components/react-query-builder-inputs/property-value-editor.d.ts +9 -0
- package/dist/components/react-query-builder-inputs/property-value-editor.js +100 -0
- package/dist/components/react-query-builder-inputs/remove-button.d.ts +5 -0
- package/dist/components/react-query-builder-inputs/remove-button.js +9 -0
- package/dist/components/react-query-builder-inputs/text-value-editor.d.ts +5 -0
- package/dist/components/react-query-builder-inputs/text-value-editor.js +34 -0
- package/dist/components/react-query-builder-inputs/translated-value-editor.d.ts +5 -0
- package/dist/components/react-query-builder-inputs/translated-value-editor.js +58 -0
- package/dist/components/react-query-builder-inputs/use-convert-value.d.ts +9 -0
- package/dist/components/react-query-builder-inputs/use-convert-value.js +24 -0
- package/dist/components/react-query-builder-inputs/use-valid.d.ts +7 -0
- package/dist/components/react-query-builder-inputs/use-valid.js +13 -0
- package/dist/components/react-query-builder-inputs/value-editor.d.ts +5 -0
- package/dist/components/react-query-builder-inputs/value-editor.js +18 -0
- package/dist/components/react-query-builder-inputs/value-selector.d.ts +4 -0
- package/dist/components/react-query-builder-inputs/value-selector.js +14 -0
- package/dist/components/translations/filter-en.d.ts +22 -0
- package/dist/components/translations/filter-en.js +23 -0
- package/dist/components/translations/filter-fr.d.ts +22 -0
- package/dist/components/translations/filter-fr.js +23 -0
- package/dist/hooks/localized-countries-hook.d.ts +6 -0
- package/dist/hooks/localized-countries-hook.js +45 -0
- package/dist/hooks/predefined-properties-hook.d.ts +18 -0
- package/dist/hooks/predefined-properties-hook.js +43 -0
- package/dist/hooks/useDebounce.d.ts +7 -1
- package/dist/hooks/useSnackMessage.d.ts +23 -5
- package/dist/hooks/useSnackMessage.js +14 -12
- package/dist/index.d.ts +89 -142
- package/dist/index.js +172 -91
- package/dist/utils/FetchStatus.d.ts +12 -0
- package/dist/utils/FetchStatus.js +9 -0
- package/dist/utils/conversion-utils.d.ts +12 -0
- package/dist/utils/conversion-utils.js +22 -0
- package/dist/utils/equipment-types-for-predefined-properties-mapper.d.ts +3 -0
- package/dist/utils/equipment-types-for-predefined-properties-mapper.js +31 -0
- package/dist/utils/functions.d.ts +14 -0
- package/dist/utils/functions.js +16 -0
- package/dist/utils/types.d.ts +21 -0
- package/dist/utils/types.js +1 -0
- package/dist/utils/yup-config.d.ts +8 -0
- package/dist/utils/yup-config.js +16 -0
- package/package.json +15 -3
- package/dist/components/react-hook-form/select-input.d.ts +0 -17
- package/dist/components/react-hook-form/select-input.js +0 -30
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AutocompleteProps } from '@mui/material/Autocomplete/Autocomplete';
|
|
1
|
+
import { CheckboxProps, SwitchProps, SxProps, TextFieldProps } from '@mui/material';
|
|
3
2
|
import { FunctionComponent, ReactElement } from 'react';
|
|
4
3
|
|
|
5
4
|
|
|
@@ -41,8 +40,6 @@ export {
|
|
|
41
40
|
getPreLoginPath,
|
|
42
41
|
} from './utils/AuthService';
|
|
43
42
|
|
|
44
|
-
export { getFileIcon } from './utils/ElementIcon';
|
|
45
|
-
|
|
46
43
|
export {
|
|
47
44
|
DEFAULT_CELL_PADDING,
|
|
48
45
|
DEFAULT_HEADER_HEIGHT,
|
|
@@ -67,6 +64,10 @@ export {
|
|
|
67
64
|
RESET_AUTHENTICATION_ROUTER_ERROR,
|
|
68
65
|
SHOW_AUTH_INFO_LOGIN,
|
|
69
66
|
} from './utils/actions';
|
|
67
|
+
export {
|
|
68
|
+
getCriteriaBasedFormData,
|
|
69
|
+
getCriteriaBasedSchema,
|
|
70
|
+
} from './components/filter/utils/criteria-based-utils';
|
|
70
71
|
export { default as report_viewer_en } from './components/translations/report-viewer-en';
|
|
71
72
|
export { default as report_viewer_fr } from './components/translations/report-viewer-fr';
|
|
72
73
|
export { default as login_en } from './components/translations/login-en';
|
|
@@ -81,6 +82,8 @@ export { default as element_search_en } from './components/translations/element-
|
|
|
81
82
|
export { default as element_search_fr } from './components/translations/element-search-fr';
|
|
82
83
|
export { default as equipment_search_en } from './components/translations/equipment-search-en';
|
|
83
84
|
export { default as equipment_search_fr } from './components/translations/equipment-search-fr';
|
|
85
|
+
export { default as filter_en } from './components/translations/filter-en';
|
|
86
|
+
export { default as filter_fr } from './components/translations/filter-fr';
|
|
84
87
|
export { default as card_error_boundary_en } from './components/translations/card-error-boundary-en';
|
|
85
88
|
export { default as card_error_boundary_fr } from './components/translations/card-error-boundary-fr';
|
|
86
89
|
export { default as flat_parameters_en } from './components/translations/flat-parameters-en';
|
|
@@ -95,27 +98,105 @@ export { default as directory_items_input_fr } from './components/translations/d
|
|
|
95
98
|
export { TagRenderer } from './components/ElementSearchDialog';
|
|
96
99
|
export { EquipmentItem } from './components/ElementSearchDialog/equipment-item';
|
|
97
100
|
export { useIntlRef } from './hooks/useIntlRef';
|
|
101
|
+
export { default as SelectClearable } from './components/inputs/select-clearable';
|
|
98
102
|
export { useCustomFormContext } from './components/react-hook-form/provider/use-custom-form-context';
|
|
99
103
|
export { default as CustomFormProvider } from './components/react-hook-form/provider/custom-form-provider';
|
|
100
104
|
export { default as SliderInput } from './components/react-hook-form/slider-input';
|
|
101
105
|
export { default as TextFieldWithAdornment } from './components/react-hook-form/utils/text-field-with-adornment';
|
|
106
|
+
export { default as SelectInput } from './components/react-hook-form/select-inputs/select-input';
|
|
107
|
+
export { default as ErrorInput } from './components/react-hook-form/error-management/error-input';
|
|
108
|
+
export { default as AutocompleteInput } from './components/react-hook-form/autocomplete-input';
|
|
109
|
+
export { default as TextInput } from './components/react-hook-form/text-input';
|
|
110
|
+
export { default as FloatInput } from './components/react-hook-form/numbers/float-input';
|
|
111
|
+
export { default as RadioInput } from './components/react-hook-form/radio-input';
|
|
112
|
+
export { default as SubmitButton } from './components/react-hook-form/utils/submit-button';
|
|
113
|
+
export { default as CancelButton } from './components/react-hook-form/utils/cancel-button';
|
|
114
|
+
export { default as FieldLabel } from './components/react-hook-form/utils/field-label';
|
|
115
|
+
export { default as FieldErrorAlert } from './components/react-hook-form/error-management/field-error-alert';
|
|
116
|
+
export { default as FilterCreationDialog } from './components/filter/filter-creation-dialog';
|
|
117
|
+
export { default as ExpertFilterEditionDialog } from './components/filter/expert/expert-filter-edition-dialog';
|
|
118
|
+
export { default as ExplicitNamingFilterEditionDialog } from './components/filter/explicit-naming/explicit-naming-filter-edition-dialog';
|
|
119
|
+
export { default as CriteriaBasedFilterEditionDialog } from './components/filter/criteria-based/criteria-based-filter-edition-dialog';
|
|
120
|
+
export { default as ExpandingTextField } from './components/react-hook-form/expanding-text-field';
|
|
121
|
+
export { default as CustomMuiDialog } from './components/dialogs/custom-mui-dialog';
|
|
102
122
|
export {
|
|
103
123
|
genHelperPreviousValue,
|
|
104
124
|
genHelperError,
|
|
105
125
|
identity,
|
|
106
126
|
isFieldRequired,
|
|
127
|
+
gridItem,
|
|
128
|
+
isFloatNumber,
|
|
129
|
+
toFloatOrNullValue,
|
|
107
130
|
} from './components/react-hook-form/utils/functions';
|
|
108
131
|
export { default as DirectoryItemsInput } from './components/react-hook-form/directory-items-input';
|
|
109
132
|
export { default as DirectoryItemSelector } from './components/DirectoryItemSelector/directory-item-selector';
|
|
110
133
|
export { RawReadOnlyInput } from './components/react-hook-form/raw-read-only-input';
|
|
111
134
|
export { UserManagerMock } from './utils/UserManagerMock';
|
|
135
|
+
export {
|
|
136
|
+
keyGenerator,
|
|
137
|
+
areArrayElementsUnique,
|
|
138
|
+
mergeSx,
|
|
139
|
+
isObjectEmpty,
|
|
140
|
+
} from './utils/functions';
|
|
112
141
|
|
|
142
|
+
export { ElementType, getFileIcon } from './utils/ElementType';
|
|
143
|
+
export {
|
|
144
|
+
saveExplicitNamingFilter,
|
|
145
|
+
saveCriteriaBasedFilter,
|
|
146
|
+
saveExpertFilter,
|
|
147
|
+
} from './components/filter/utils/filters-utils';
|
|
113
148
|
export {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
149
|
+
RangeInput,
|
|
150
|
+
DEFAULT_RANGE_VALUE,
|
|
151
|
+
getRangeInputDataForm,
|
|
152
|
+
getRangeInputSchema,
|
|
153
|
+
} from './components/react-hook-form/range-input';
|
|
154
|
+
export { InputWithPopupConfirmation } from './components/react-hook-form/select-inputs/input-with-popup-confirmation';
|
|
155
|
+
export { MuiSelectInput } from './components/react-hook-form/select-inputs/mui-select-input';
|
|
156
|
+
export {
|
|
157
|
+
CountriesInput,
|
|
158
|
+
getSystemLanguage,
|
|
159
|
+
getComputedLanguage,
|
|
160
|
+
} from './components/react-hook-form/select-inputs/countries-input';
|
|
161
|
+
export { MultipleAutocompleteInput } from './components/react-hook-form/autocomplete-inputs/multiple-autocomplete-input';
|
|
162
|
+
export { CsvUploader } from './components/react-hook-form/ag-grid-table-rhf/csv-uploader/csv-uploader';
|
|
163
|
+
export { UniqueNameInput } from './components/react-hook-form/unique-name-input';
|
|
117
164
|
|
|
118
|
-
export {
|
|
165
|
+
export {
|
|
166
|
+
Line,
|
|
167
|
+
Generator,
|
|
168
|
+
Load,
|
|
169
|
+
Battery,
|
|
170
|
+
SVC,
|
|
171
|
+
DanglingLine,
|
|
172
|
+
LCC,
|
|
173
|
+
VSC,
|
|
174
|
+
Hvdc,
|
|
175
|
+
BusBar,
|
|
176
|
+
TwoWindingTransfo,
|
|
177
|
+
ThreeWindingTransfo,
|
|
178
|
+
ShuntCompensator,
|
|
179
|
+
VoltageLevel,
|
|
180
|
+
Substation,
|
|
181
|
+
noSelectionForCopy,
|
|
182
|
+
} from './components/filter/constants/equipment-types';
|
|
183
|
+
|
|
184
|
+
export { FieldConstants } from './components/filter/constants/field-constants';
|
|
185
|
+
|
|
186
|
+
export {
|
|
187
|
+
GRIDSUITE_DEFAULT_PRECISION,
|
|
188
|
+
roundToPrecision,
|
|
189
|
+
roundToDefaultPrecision,
|
|
190
|
+
isBlankOrEmpty,
|
|
191
|
+
unitToMicroUnit,
|
|
192
|
+
microUnitToUnit,
|
|
193
|
+
} from './utils/conversion-utils';
|
|
194
|
+
|
|
195
|
+
export { useSnackMessage } from './hooks/useSnackMessage';
|
|
196
|
+
export { useDebounce } from './hooks/useDebounce';
|
|
197
|
+
export { ROW_DRAGGING_SELECTION_COLUMN_DEF } from './components/react-hook-form/ag-grid-table-rhf/custom-ag-grid-table';
|
|
198
|
+
export { FILTER_EQUIPMENTS } from './components/filter/utils/criteria-based-utils';
|
|
199
|
+
export { CONTINGENCY_LIST_EQUIPMENTS } from './components/filter/utils/criteria-based-utils';
|
|
119
200
|
|
|
120
201
|
/**
|
|
121
202
|
* Section to export manual type declarations of .js and .jsx files
|
|
@@ -130,110 +211,8 @@ export function logout(
|
|
|
130
211
|
userManagerInstance: any
|
|
131
212
|
): Promise<any | undefined>;
|
|
132
213
|
|
|
133
|
-
interface SnackInputs {
|
|
134
|
-
messageTxt?: string;
|
|
135
|
-
messageId?: string;
|
|
136
|
-
messageValues?: Record<string, string>;
|
|
137
|
-
headerTxt?: string;
|
|
138
|
-
headerId?: string;
|
|
139
|
-
headerValues?: Record<string, string>;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
interface UseSnackMessageReturn {
|
|
143
|
-
snackError: (snackInputs: SnackInputs) => void;
|
|
144
|
-
snackWarning: (snackInputs: SnackInputs) => void;
|
|
145
|
-
snackInfo: (snackInputs: SnackInputs) => void;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
export function useSnackMessage(): UseSnackMessageReturn;
|
|
149
|
-
|
|
150
|
-
type Input = string | number;
|
|
151
|
-
type Option = string | { id: string; label: string };
|
|
152
|
-
|
|
153
|
-
interface AutocompleteInputProps
|
|
154
|
-
extends Omit<
|
|
155
|
-
AutocompleteProps<
|
|
156
|
-
Option,
|
|
157
|
-
boolean | undefined,
|
|
158
|
-
boolean | undefined,
|
|
159
|
-
boolean | undefined
|
|
160
|
-
>,
|
|
161
|
-
// we already defined them in our custom Autocomplete
|
|
162
|
-
'value' | 'onChange' | 'renderInput'
|
|
163
|
-
> {
|
|
164
|
-
name: string;
|
|
165
|
-
options: Option[];
|
|
166
|
-
label?: string;
|
|
167
|
-
outputTransform?: (value: Option) => Option;
|
|
168
|
-
inputTransform?: (value: Option) => Option;
|
|
169
|
-
readOnly?: boolean;
|
|
170
|
-
previousValue?: string;
|
|
171
|
-
allowNewValue?: boolean;
|
|
172
|
-
onChangeCallback?: () => void;
|
|
173
|
-
formProps?: Omit<
|
|
174
|
-
TextFieldProps,
|
|
175
|
-
'value' | 'onChange' | 'inputRef' | 'inputProps' | 'InputProps'
|
|
176
|
-
>;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
export const AutocompleteInput: FunctionComponent<AutocompleteInputProps>;
|
|
180
|
-
|
|
181
|
-
interface ErrorInputProps {
|
|
182
|
-
name: string;
|
|
183
|
-
InputField?: FunctionComponent;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export const ErrorInput: FunctionComponent<ErrorInputProps>;
|
|
187
|
-
|
|
188
|
-
export const SelectInput: FunctionComponent<
|
|
189
|
-
Omit<
|
|
190
|
-
AutocompleteInputProps,
|
|
191
|
-
'outputTransform' | 'inputTransform' | 'readOnly' | 'getOptionLabel' // already defined in SelectInput
|
|
192
|
-
>
|
|
193
|
-
>;
|
|
194
|
-
|
|
195
214
|
export const MidFormError: FunctionComponent;
|
|
196
215
|
|
|
197
|
-
export const FieldErrorAlert: FunctionComponent;
|
|
198
|
-
|
|
199
|
-
type TextFieldWithAdornmentProps = TextFieldProps & {
|
|
200
|
-
// variant already included in TextFieldProps
|
|
201
|
-
value: Input; // we override the default type of TextFieldProps which is unknown
|
|
202
|
-
adornmentPosition: string;
|
|
203
|
-
adornmentText: string;
|
|
204
|
-
handleClearValue?: () => void;
|
|
205
|
-
};
|
|
206
|
-
|
|
207
|
-
export interface TextInputProps {
|
|
208
|
-
name: string;
|
|
209
|
-
label?: string;
|
|
210
|
-
labelValues?: any; // it's for values from https://formatjs.io/docs/react-intl/components/#formattedmessage
|
|
211
|
-
id?: string;
|
|
212
|
-
adornment?: {
|
|
213
|
-
position: string;
|
|
214
|
-
text: string;
|
|
215
|
-
};
|
|
216
|
-
customAdornment?: ReactElement | null;
|
|
217
|
-
outputTransform?: (value: string) => Input;
|
|
218
|
-
inputTransform?: (value: Input) => string;
|
|
219
|
-
acceptValue?: (value: string) => boolean;
|
|
220
|
-
previousValue?: Input;
|
|
221
|
-
clearable?: boolean;
|
|
222
|
-
formProps?: Omit<
|
|
223
|
-
TextFieldWithAdornmentProps | TextFieldProps,
|
|
224
|
-
'value' | 'onChange' | 'inputRef' | 'inputProps' | 'InputProps'
|
|
225
|
-
>;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
export const TextInput: FunctionComponent<TextInputProps>;
|
|
229
|
-
|
|
230
|
-
export const FloatInput: FunctionComponent<
|
|
231
|
-
Omit<
|
|
232
|
-
TextInputProps,
|
|
233
|
-
'outputTransform' | 'inputTransform' | 'acceptValue' // already defined in FloatInput
|
|
234
|
-
>
|
|
235
|
-
>;
|
|
236
|
-
|
|
237
216
|
export const IntegerInput: FunctionComponent<
|
|
238
217
|
Omit<
|
|
239
218
|
TextInputProps,
|
|
@@ -241,19 +220,6 @@ export const IntegerInput: FunctionComponent<
|
|
|
241
220
|
>
|
|
242
221
|
>;
|
|
243
222
|
|
|
244
|
-
interface RadioInputProps {
|
|
245
|
-
name: string;
|
|
246
|
-
label?: string;
|
|
247
|
-
id?: string;
|
|
248
|
-
options: Array<{
|
|
249
|
-
id: string;
|
|
250
|
-
label: string;
|
|
251
|
-
}>;
|
|
252
|
-
formProps?: Omit<RadioGroupProps, 'value'>;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
export const RadioInput: FunctionComponent<RadioInputProps>;
|
|
256
|
-
|
|
257
223
|
interface SwitchInputProps {
|
|
258
224
|
name: string;
|
|
259
225
|
label?: string;
|
|
@@ -270,20 +236,6 @@ interface CheckboxInputProps {
|
|
|
270
236
|
|
|
271
237
|
export const CheckboxInput: FunctionComponent<CheckboxInputProps>;
|
|
272
238
|
|
|
273
|
-
export const SubmitButton: FunctionComponent<ButtonProps>;
|
|
274
|
-
|
|
275
|
-
type CancelButtonProps = ButtonProps & {
|
|
276
|
-
color?: string;
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
export const CancelButton: FunctionComponent<CancelButtonProps>;
|
|
280
|
-
|
|
281
|
-
export const FieldLabel: FunctionComponent<{
|
|
282
|
-
label: string;
|
|
283
|
-
optional?: boolean;
|
|
284
|
-
values?: any; // it's for values from https://formatjs.io/docs/react-intl/components/#formattedmessage
|
|
285
|
-
}>;
|
|
286
|
-
|
|
287
239
|
interface Parameters {
|
|
288
240
|
name: string;
|
|
289
241
|
description: string;
|
|
@@ -302,11 +254,6 @@ interface FlatParametersProps extends Pick<TextFieldProps, 'variant'> {
|
|
|
302
254
|
|
|
303
255
|
export const FlatParameters: FunctionComponent<FlatParametersProps>;
|
|
304
256
|
|
|
305
|
-
export function useDebounce(
|
|
306
|
-
debouncedFunction: (...args: any[]) => void,
|
|
307
|
-
debounceDelay: number
|
|
308
|
-
): (...args: any[]) => void;
|
|
309
|
-
|
|
310
257
|
interface OverflowableTextProps {
|
|
311
258
|
sx?: SxProps;
|
|
312
259
|
text?: string | ReactElement;
|
package/dist/index.js
CHANGED
|
@@ -13,160 +13,241 @@ import { default as default10 } from "./components/ElementSearchDialog/element-s
|
|
|
13
13
|
import { TagRenderer } from "./components/ElementSearchDialog/tag-renderer.js";
|
|
14
14
|
import { FlatParameters } from "./components/FlatParameters/FlatParameters.js";
|
|
15
15
|
import { default as default11 } from "./components/MultipleSelectionDialog/MultipleSelectionDialog.js";
|
|
16
|
+
import { default as default12 } from "./components/dialogs/custom-mui-dialog.js";
|
|
17
|
+
import { default as default13 } from "./components/dialogs/description-modification-dialog.js";
|
|
18
|
+
import { default as default14 } from "./components/filter/criteria-based/criteria-based-form.js";
|
|
19
|
+
import { default as default15 } from "./components/dialogs/popup-confirmation-dialog.js";
|
|
20
|
+
import { B, b, c, C, E, a, F, R } from "./chunks/criteria-based-filter-edition-dialog.BEXoNmzz.js";
|
|
21
|
+
import { CONTINGENCY_LIST_EQUIPMENTS, FILTER_EQUIPMENTS, getCriteriaBasedFormData, getCriteriaBasedSchema } from "./components/filter/utils/criteria-based-utils.js";
|
|
22
|
+
import { Battery, BusBar, DanglingLine, Generator, Hvdc, LCC, Line, Load, SVC, ShuntCompensator, Substation, ThreeWindingTransfo, TwoWindingTransfo, VSC, VoltageLevel, noSelectionForCopy } from "./components/filter/constants/equipment-types.js";
|
|
23
|
+
import { FieldConstants } from "./components/filter/constants/field-constants.js";
|
|
24
|
+
import { GRIDSUITE_DEFAULT_PRECISION, isBlankOrEmpty, microUnitToUnit, roundToDefaultPrecision, roundToPrecision, unitToMicroUnit } from "./utils/conversion-utils.js";
|
|
16
25
|
import { ElementType } from "./utils/ElementType.js";
|
|
17
26
|
import { EQUIPMENT_TYPE, EquipmentType, equipmentStyles, getEquipmentsInfosForSearchBar } from "./utils/EquipmentType.js";
|
|
18
27
|
import { dispatchUser, getPreLoginPath, initializeAuthenticationDev, initializeAuthenticationProd, logout } from "./utils/AuthService.js";
|
|
19
28
|
import { getFileIcon } from "./utils/ElementIcon.js";
|
|
20
29
|
import { LOGOUT_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN, SIGNIN_CALLBACK_ERROR, UNAUTHORIZED_USER_INFO, USER, USER_VALIDATION_ERROR, setLoggedUser, setSignInCallbackError } from "./utils/actions.js";
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
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
|
|
30
|
+
import { default as default16 } from "./components/translations/report-viewer-en.js";
|
|
31
|
+
import { default as default17 } from "./components/translations/report-viewer-fr.js";
|
|
32
|
+
import { default as default18 } from "./components/translations/login-en.js";
|
|
33
|
+
import { default as default19 } from "./components/translations/login-fr.js";
|
|
34
|
+
import { default as default20 } from "./components/translations/top-bar-en.js";
|
|
35
|
+
import { default as default21 } from "./components/translations/top-bar-fr.js";
|
|
36
|
+
import { default as default22 } from "./components/translations/table-en.js";
|
|
37
|
+
import { default as default23 } from "./components/translations/table-fr.js";
|
|
38
|
+
import { default as default24 } from "./components/translations/treeview-finder-en.js";
|
|
39
|
+
import { default as default25 } from "./components/translations/treeview-finder-fr.js";
|
|
40
|
+
import { default as default26 } from "./components/translations/element-search-en.js";
|
|
41
|
+
import { default as default27 } from "./components/translations/element-search-fr.js";
|
|
42
|
+
import { default as default28 } from "./components/translations/equipment-search-en.js";
|
|
43
|
+
import { default as default29 } from "./components/translations/equipment-search-fr.js";
|
|
44
|
+
import { default as default30 } from "./components/translations/filter-en.js";
|
|
45
|
+
import { default as default31 } from "./components/translations/filter-fr.js";
|
|
46
|
+
import { default as default32 } from "./components/translations/card-error-boundary-en.js";
|
|
47
|
+
import { default as default33 } from "./components/translations/card-error-boundary-fr.js";
|
|
48
|
+
import { default as default34 } from "./components/translations/flat-parameters-en.js";
|
|
49
|
+
import { default as default35 } from "./components/translations/flat-parameters-fr.js";
|
|
50
|
+
import { default as default36 } from "./components/translations/multiple-selection-dialog-en.js";
|
|
51
|
+
import { default as default37 } from "./components/translations/multiple-selection-dialog-fr.js";
|
|
52
|
+
import { default as default38 } from "./components/translations/common-button-en.js";
|
|
53
|
+
import { default as default39 } from "./components/translations/common-button-fr.js";
|
|
54
|
+
import { default as default40 } from "./components/translations/directory-items-input-en.js";
|
|
55
|
+
import { default as default41 } from "./components/translations/directory-items-input-fr.js";
|
|
45
56
|
import { EquipmentItem } from "./components/ElementSearchDialog/equipment-item.js";
|
|
46
|
-
import { default as
|
|
57
|
+
import { default as default42 } from "./components/CardErrorBoundary/card-error-boundary.js";
|
|
47
58
|
import { useIntlRef } from "./hooks/useIntlRef.js";
|
|
48
59
|
import { useSnackMessage } from "./hooks/useSnackMessage.js";
|
|
49
60
|
import { useDebounce } from "./hooks/useDebounce.js";
|
|
61
|
+
import { default as default43 } from "./components/inputs/select-clearable.js";
|
|
50
62
|
import { useCustomFormContext } from "./components/react-hook-form/provider/use-custom-form-context.js";
|
|
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
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { genHelperError, genHelperPreviousValue, identity, isFieldRequired } from "./components/react-hook-form/utils/functions.js";
|
|
70
|
-
import {
|
|
71
|
-
import { default as
|
|
63
|
+
import { default as default44 } from "./components/react-hook-form/provider/custom-form-provider.js";
|
|
64
|
+
import { default as default45 } from "./components/react-hook-form/autocomplete-input.js";
|
|
65
|
+
import { default as default46 } from "./components/react-hook-form/text-input.js";
|
|
66
|
+
import { default as default47 } from "./components/react-hook-form/ExpandingTextField.js";
|
|
67
|
+
import { default as default48 } from "./components/react-hook-form/radio-input.js";
|
|
68
|
+
import { default as default49 } from "./components/react-hook-form/slider-input.js";
|
|
69
|
+
import { default as default50 } from "./components/react-hook-form/numbers/float-input.js";
|
|
70
|
+
import { default as default51 } from "./components/react-hook-form/numbers/integer-input.js";
|
|
71
|
+
import { default as default52 } from "./components/react-hook-form/select-inputs/select-input.js";
|
|
72
|
+
import { default as default53 } from "./components/react-hook-form/booleans/checkbox-input.js";
|
|
73
|
+
import { default as default54 } from "./components/react-hook-form/booleans/switch-input.js";
|
|
74
|
+
import { default as default55 } from "./components/react-hook-form/error-management/error-input.js";
|
|
75
|
+
import { default as default56 } from "./components/react-hook-form/error-management/field-error-alert.js";
|
|
76
|
+
import { default as default57 } from "./components/react-hook-form/error-management/mid-form-error.js";
|
|
77
|
+
import { default as default58 } from "./components/react-hook-form/utils/text-field-with-adornment.js";
|
|
78
|
+
import { default as default59 } from "./components/react-hook-form/utils/field-label.js";
|
|
79
|
+
import { default as default60 } from "./components/react-hook-form/utils/submit-button.js";
|
|
80
|
+
import { default as default61 } from "./components/react-hook-form/utils/cancel-button.js";
|
|
81
|
+
import { genHelperError, genHelperPreviousValue, gridItem, identity, isFieldRequired, isFloatNumber, toFloatOrNullValue } from "./components/react-hook-form/utils/functions.js";
|
|
82
|
+
import { areArrayElementsUnique, isObjectEmpty, keyGenerator, mergeSx } from "./utils/functions.js";
|
|
83
|
+
import { default as default62 } from "./components/react-hook-form/directory-items-input.js";
|
|
84
|
+
import { default as default63 } from "./components/DirectoryItemSelector/directory-item-selector.js";
|
|
72
85
|
import { RawReadOnlyInput } from "./components/react-hook-form/raw-read-only-input.js";
|
|
86
|
+
import { saveCriteriaBasedFilter, saveExpertFilter, saveExplicitNamingFilter } from "./components/filter/utils/filters-utils.js";
|
|
87
|
+
import { DEFAULT_RANGE_VALUE, default as default64, getRangeInputDataForm, getRangeInputSchema } from "./components/react-hook-form/range-input.js";
|
|
88
|
+
import { default as default65 } from "./components/react-hook-form/select-inputs/input-with-popup-confirmation.js";
|
|
89
|
+
import { default as default66 } from "./components/react-hook-form/select-inputs/mui-select-input.js";
|
|
90
|
+
import { CountriesInput } from "./components/react-hook-form/select-inputs/countries-input.js";
|
|
91
|
+
import { default as default67 } from "./components/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js";
|
|
92
|
+
import { UniqueNameInput } from "./components/react-hook-form/unique-name-input.js";
|
|
73
93
|
import { UserManagerMock } from "./utils/UserManagerMock.js";
|
|
74
94
|
export {
|
|
75
95
|
default4 as AboutDialog,
|
|
76
96
|
default6 as AuthenticationRouter,
|
|
77
|
-
|
|
97
|
+
default45 as AutocompleteInput,
|
|
98
|
+
Battery,
|
|
99
|
+
B as BottomRightButtons,
|
|
100
|
+
BusBar,
|
|
78
101
|
CHANGE_WAYS,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
102
|
+
CONTINGENCY_LIST_EQUIPMENTS,
|
|
103
|
+
default61 as CancelButton,
|
|
104
|
+
default42 as CardErrorBoundary,
|
|
105
|
+
default53 as CheckboxInput,
|
|
106
|
+
CountriesInput,
|
|
107
|
+
b as CriteriaBasedFilterEditionDialog,
|
|
108
|
+
default14 as CriteriaBasedForm,
|
|
109
|
+
c as CsvUploader,
|
|
110
|
+
C as CustomAgGridTable,
|
|
111
|
+
default44 as CustomFormProvider,
|
|
112
|
+
default12 as CustomMuiDialog,
|
|
83
113
|
DARK_THEME,
|
|
84
114
|
DEFAULT_CELL_PADDING,
|
|
85
115
|
DEFAULT_HEADER_HEIGHT,
|
|
116
|
+
DEFAULT_RANGE_VALUE,
|
|
86
117
|
DEFAULT_ROW_HEIGHT,
|
|
87
|
-
|
|
88
|
-
|
|
118
|
+
DanglingLine,
|
|
119
|
+
default13 as DescriptionModificationDialog,
|
|
120
|
+
default63 as DirectoryItemSelector,
|
|
121
|
+
default62 as DirectoryItemsInput,
|
|
89
122
|
EQUIPMENT_TYPE,
|
|
90
123
|
default10 as ElementSearchDialog,
|
|
91
124
|
ElementType,
|
|
92
125
|
EquipmentItem,
|
|
93
126
|
EquipmentType,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
127
|
+
default55 as ErrorInput,
|
|
128
|
+
default47 as ExpandingTextField,
|
|
129
|
+
E as ExpertFilterEditionDialog,
|
|
130
|
+
a as ExplicitNamingFilterEditionDialog,
|
|
131
|
+
FILTER_EQUIPMENTS,
|
|
132
|
+
FieldConstants,
|
|
133
|
+
default56 as FieldErrorAlert,
|
|
134
|
+
default59 as FieldLabel,
|
|
135
|
+
F as FilterCreationDialog,
|
|
98
136
|
FlatParameters,
|
|
99
|
-
|
|
100
|
-
|
|
137
|
+
default50 as FloatInput,
|
|
138
|
+
GRIDSUITE_DEFAULT_PRECISION,
|
|
139
|
+
Generator,
|
|
140
|
+
Hvdc,
|
|
141
|
+
default65 as InputWithPopupConfirmation,
|
|
142
|
+
default51 as IntegerInput,
|
|
101
143
|
KeyedColumnsRowIndexer,
|
|
102
144
|
LANG_ENGLISH,
|
|
103
145
|
LANG_FRENCH,
|
|
104
146
|
LANG_SYSTEM,
|
|
147
|
+
LCC,
|
|
105
148
|
LIGHT_THEME,
|
|
106
149
|
LOGOUT_ERROR,
|
|
107
|
-
|
|
150
|
+
Line,
|
|
151
|
+
Load,
|
|
152
|
+
default57 as MidFormError,
|
|
153
|
+
default66 as MuiSelectInput,
|
|
108
154
|
default7 as MuiVirtualizedTable,
|
|
155
|
+
default67 as MultipleAutocompleteInput,
|
|
109
156
|
default11 as MultipleSelectionDialog,
|
|
110
157
|
OverflowableText,
|
|
158
|
+
default15 as PopupConfirmationDialog,
|
|
111
159
|
RESET_AUTHENTICATION_ROUTER_ERROR,
|
|
112
|
-
|
|
160
|
+
R as ROW_DRAGGING_SELECTION_COLUMN_DEF,
|
|
161
|
+
default48 as RadioInput,
|
|
162
|
+
default64 as RangeInput,
|
|
113
163
|
RawReadOnlyInput,
|
|
114
164
|
default8 as ReportViewer,
|
|
115
165
|
default9 as ReportViewerDialog,
|
|
116
166
|
SHOW_AUTH_INFO_LOGIN,
|
|
117
167
|
SIGNIN_CALLBACK_ERROR,
|
|
118
|
-
|
|
119
|
-
|
|
168
|
+
SVC,
|
|
169
|
+
default43 as SelectClearable,
|
|
170
|
+
default52 as SelectInput,
|
|
171
|
+
ShuntCompensator,
|
|
172
|
+
default49 as SliderInput,
|
|
120
173
|
default5 as SnackbarProvider,
|
|
121
|
-
|
|
122
|
-
|
|
174
|
+
default60 as SubmitButton,
|
|
175
|
+
Substation,
|
|
176
|
+
default54 as SwitchInput,
|
|
123
177
|
TagRenderer,
|
|
124
|
-
|
|
125
|
-
|
|
178
|
+
default58 as TextFieldWithAdornment,
|
|
179
|
+
default46 as TextInput,
|
|
180
|
+
ThreeWindingTransfo,
|
|
126
181
|
default3 as TopBar,
|
|
127
182
|
default2 as TreeViewFinder,
|
|
183
|
+
TwoWindingTransfo,
|
|
128
184
|
UNAUTHORIZED_USER_INFO,
|
|
129
185
|
USER,
|
|
130
186
|
USER_VALIDATION_ERROR,
|
|
187
|
+
UniqueNameInput,
|
|
131
188
|
UserManagerMock,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
189
|
+
VSC,
|
|
190
|
+
VoltageLevel,
|
|
191
|
+
areArrayElementsUnique,
|
|
192
|
+
default32 as card_error_boundary_en,
|
|
193
|
+
default33 as card_error_boundary_fr,
|
|
194
|
+
default38 as common_button_en,
|
|
195
|
+
default39 as common_button_fr,
|
|
196
|
+
default40 as directory_items_input_en,
|
|
197
|
+
default41 as directory_items_input_fr,
|
|
138
198
|
dispatchUser,
|
|
139
|
-
|
|
140
|
-
|
|
199
|
+
default26 as element_search_en,
|
|
200
|
+
default27 as element_search_fr,
|
|
141
201
|
equipmentStyles,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
202
|
+
default28 as equipment_search_en,
|
|
203
|
+
default29 as equipment_search_fr,
|
|
204
|
+
default30 as filter_en,
|
|
205
|
+
default31 as filter_fr,
|
|
206
|
+
default34 as flat_parameters_en,
|
|
207
|
+
default35 as flat_parameters_fr,
|
|
146
208
|
genHelperError,
|
|
147
209
|
genHelperPreviousValue,
|
|
210
|
+
getCriteriaBasedFormData,
|
|
211
|
+
getCriteriaBasedSchema,
|
|
148
212
|
getEquipmentsInfosForSearchBar,
|
|
149
213
|
getFileIcon,
|
|
150
214
|
getPreLoginPath,
|
|
215
|
+
getRangeInputDataForm,
|
|
216
|
+
getRangeInputSchema,
|
|
217
|
+
gridItem,
|
|
151
218
|
identity,
|
|
152
219
|
initializeAuthenticationDev,
|
|
153
220
|
initializeAuthenticationProd,
|
|
221
|
+
isBlankOrEmpty,
|
|
154
222
|
isFieldRequired,
|
|
155
|
-
|
|
156
|
-
|
|
223
|
+
isFloatNumber,
|
|
224
|
+
isObjectEmpty,
|
|
225
|
+
keyGenerator,
|
|
226
|
+
default18 as login_en,
|
|
227
|
+
default19 as login_fr,
|
|
157
228
|
logout,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
229
|
+
mergeSx,
|
|
230
|
+
microUnitToUnit,
|
|
231
|
+
default36 as multiple_selection_dialog_en,
|
|
232
|
+
default37 as multiple_selection_dialog_fr,
|
|
233
|
+
noSelectionForCopy,
|
|
234
|
+
default16 as report_viewer_en,
|
|
235
|
+
default17 as report_viewer_fr,
|
|
236
|
+
roundToDefaultPrecision,
|
|
237
|
+
roundToPrecision,
|
|
238
|
+
saveCriteriaBasedFilter,
|
|
239
|
+
saveExpertFilter,
|
|
240
|
+
saveExplicitNamingFilter,
|
|
162
241
|
setLoggedUser,
|
|
163
242
|
setSignInCallbackError,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
243
|
+
default22 as table_en,
|
|
244
|
+
default23 as table_fr,
|
|
245
|
+
toFloatOrNullValue,
|
|
246
|
+
default20 as top_bar_en,
|
|
247
|
+
default21 as top_bar_fr,
|
|
248
|
+
default24 as treeview_finder_en,
|
|
249
|
+
default25 as treeview_finder_fr,
|
|
250
|
+
unitToMicroUnit,
|
|
170
251
|
useCustomFormContext,
|
|
171
252
|
useDebounce,
|
|
172
253
|
useIntlRef,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export declare const FetchStatus: {
|
|
8
|
+
IDLE: string;
|
|
9
|
+
FETCHING: string;
|
|
10
|
+
FETCH_SUCCESS: string;
|
|
11
|
+
FETCH_ERROR: string;
|
|
12
|
+
};
|