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