@gridsuite/commons-ui 0.64.5 → 0.64.6
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/index.d.ts +1 -0
- package/dist/index.js +74 -72
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -110,6 +110,7 @@ export { useSnackMessage } from './hooks/useSnackMessage';
|
|
|
110
110
|
export { default as useDebounce } from './hooks/useDebounce';
|
|
111
111
|
export { default as usePrevious } from './hooks/usePrevious';
|
|
112
112
|
export { default as useConfidentialityWarning } from './hooks/useConfidentialityWarning';
|
|
113
|
+
export { default as usePredefinedProperties } from './hooks/predefined-properties-hook';
|
|
113
114
|
export { default as SelectClearable } from './components/inputs/select-clearable';
|
|
114
115
|
export type { SelectClearableProps } from './components/inputs/select-clearable';
|
|
115
116
|
export { default as useCustomFormContext } from './components/inputs/react-hook-form/provider/use-custom-form-context';
|
package/dist/index.js
CHANGED
|
@@ -83,46 +83,47 @@ import { useSnackMessage } from "./hooks/useSnackMessage.js";
|
|
|
83
83
|
import { default as default61 } from "./hooks/useDebounce.js";
|
|
84
84
|
import { usePrevious } from "./hooks/usePrevious.js";
|
|
85
85
|
import { default as default62 } from "./hooks/useConfidentialityWarning.js";
|
|
86
|
-
import { default as default63 } from "./
|
|
87
|
-
import { default as default64 } from "./components/inputs/
|
|
88
|
-
import { default as default65 } from "./components/inputs/react-hook-form/provider/custom-form-
|
|
89
|
-
import { default as default66 } from "./components/inputs/react-hook-form/
|
|
90
|
-
import { default as default67 } from "./components/inputs/react-hook-form/
|
|
91
|
-
import { default as default68 } from "./components/inputs/react-hook-form/
|
|
92
|
-
import { default as default69 } from "./components/inputs/react-hook-form/
|
|
93
|
-
import { default as default70 } from "./components/inputs/react-hook-form/
|
|
94
|
-
import { default as default71 } from "./components/inputs/react-hook-form/
|
|
95
|
-
import { default as default72 } from "./components/inputs/react-hook-form/numbers/
|
|
96
|
-
import { default as default73 } from "./components/inputs/react-hook-form/
|
|
97
|
-
import { default as default74 } from "./components/inputs/react-hook-form/
|
|
98
|
-
import { default as default75 } from "./components/inputs/react-hook-form/booleans/
|
|
99
|
-
import { default as default76 } from "./components/inputs/react-hook-form/
|
|
100
|
-
import { default as default77 } from "./components/inputs/react-hook-form/error-management/
|
|
101
|
-
import { default as default78 } from "./components/inputs/react-hook-form/error-management/
|
|
102
|
-
import { default as default79 } from "./components/inputs/react-hook-form/
|
|
103
|
-
import { default as default80 } from "./components/inputs/react-hook-form/utils/field-
|
|
104
|
-
import { default as default81 } from "./components/inputs/react-hook-form/utils/
|
|
105
|
-
import { default as default82 } from "./components/inputs/react-hook-form/utils/
|
|
86
|
+
import { default as default63 } from "./hooks/predefined-properties-hook.js";
|
|
87
|
+
import { default as default64 } from "./components/inputs/select-clearable.js";
|
|
88
|
+
import { default as default65 } from "./components/inputs/react-hook-form/provider/use-custom-form-context.js";
|
|
89
|
+
import { default as default66 } from "./components/inputs/react-hook-form/provider/custom-form-provider.js";
|
|
90
|
+
import { default as default67 } from "./components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.js";
|
|
91
|
+
import { default as default68 } from "./components/inputs/react-hook-form/text-input.js";
|
|
92
|
+
import { default as default69 } from "./components/inputs/react-hook-form/ExpandingTextField.js";
|
|
93
|
+
import { default as default70 } from "./components/inputs/react-hook-form/radio-input.js";
|
|
94
|
+
import { default as default71 } from "./components/inputs/react-hook-form/slider-input.js";
|
|
95
|
+
import { default as default72 } from "./components/inputs/react-hook-form/numbers/float-input.js";
|
|
96
|
+
import { default as default73 } from "./components/inputs/react-hook-form/numbers/integer-input.js";
|
|
97
|
+
import { default as default74 } from "./components/inputs/react-hook-form/select-inputs/select-input.js";
|
|
98
|
+
import { default as default75 } from "./components/inputs/react-hook-form/booleans/checkbox-input.js";
|
|
99
|
+
import { default as default76 } from "./components/inputs/react-hook-form/booleans/switch-input.js";
|
|
100
|
+
import { default as default77 } from "./components/inputs/react-hook-form/error-management/error-input.js";
|
|
101
|
+
import { default as default78 } from "./components/inputs/react-hook-form/error-management/field-error-alert.js";
|
|
102
|
+
import { default as default79 } from "./components/inputs/react-hook-form/error-management/mid-form-error.js";
|
|
103
|
+
import { default as default80 } from "./components/inputs/react-hook-form/utils/text-field-with-adornment.js";
|
|
104
|
+
import { default as default81 } from "./components/inputs/react-hook-form/utils/field-label.js";
|
|
105
|
+
import { default as default82 } from "./components/inputs/react-hook-form/utils/submit-button.js";
|
|
106
|
+
import { default as default83 } from "./components/inputs/react-hook-form/utils/cancel-button.js";
|
|
106
107
|
import { genHelperError, genHelperPreviousValue, gridItem, identity, isFieldRequired, isFloatNumber, toFloatOrNullValue } from "./components/inputs/react-hook-form/utils/functions.js";
|
|
107
108
|
import { areArrayElementsUnique, isObjectEmpty, keyGenerator } from "./utils/functions.js";
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
110
|
-
import { default as
|
|
111
|
-
import { default as
|
|
112
|
-
import { default as
|
|
113
|
-
import { default as
|
|
114
|
-
import { default as
|
|
115
|
-
import { default as
|
|
109
|
+
import { default as default84 } from "./components/inputs/react-hook-form/directory-items-input.js";
|
|
110
|
+
import { default as default85 } from "./components/DirectoryItemSelector/directory-item-selector.js";
|
|
111
|
+
import { default as default86 } from "./components/CustomAGGrid/custom-aggrid.js";
|
|
112
|
+
import { default as default87 } from "./components/inputs/react-hook-form/raw-read-only-input.js";
|
|
113
|
+
import { default as default88 } from "./components/filter/filter-creation-dialog.js";
|
|
114
|
+
import { default as default89 } from "./components/filter/expert/expert-filter-edition-dialog.js";
|
|
115
|
+
import { default as default90 } from "./components/filter/explicit-naming/explicit-naming-filter-edition-dialog.js";
|
|
116
|
+
import { default as default91 } from "./components/filter/criteria-based/criteria-based-filter-edition-dialog.js";
|
|
116
117
|
import { saveCriteriaBasedFilter, saveExpertFilter, saveExplicitNamingFilter } from "./components/filter/utils/filter-api.js";
|
|
117
|
-
import { DEFAULT_RANGE_VALUE, default as
|
|
118
|
-
import { default as
|
|
119
|
-
import { default as
|
|
120
|
-
import { default as
|
|
118
|
+
import { DEFAULT_RANGE_VALUE, default as default92, getRangeInputDataForm, getRangeInputSchema } from "./components/inputs/react-hook-form/range-input.js";
|
|
119
|
+
import { default as default93 } from "./components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.js";
|
|
120
|
+
import { default as default94 } from "./components/inputs/react-hook-form/select-inputs/mui-select-input.js";
|
|
121
|
+
import { default as default95 } from "./components/inputs/react-hook-form/select-inputs/countries-input.js";
|
|
121
122
|
import { getComputedLanguage, getSystemLanguage, useLocalizedCountries } from "./hooks/localized-countries-hook.js";
|
|
122
|
-
import { default as
|
|
123
|
-
import { default as
|
|
124
|
-
import { default as
|
|
125
|
-
import { default as
|
|
123
|
+
import { default as default96 } from "./components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js";
|
|
124
|
+
import { default as default97 } from "./components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js";
|
|
125
|
+
import { default as default98 } from "./components/inputs/react-hook-form/unique-name-input.js";
|
|
126
|
+
import { default as default99 } from "./utils/UserManagerMock.js";
|
|
126
127
|
import { CONTINGENCY_LIST_EQUIPMENTS, FILTER_EQUIPMENTS } from "./components/filter/utils/filter-form-utils.js";
|
|
127
128
|
import { getCriteriaBasedFormData, getCriteriaBasedSchema } from "./components/filter/criteria-based/criteria-based-filter-utils.js";
|
|
128
129
|
import { setCommonStore } from "./redux/commonStore.js";
|
|
@@ -135,23 +136,23 @@ import * as yup from "yup";
|
|
|
135
136
|
export {
|
|
136
137
|
default4 as AboutDialog,
|
|
137
138
|
default6 as AuthenticationRouter,
|
|
138
|
-
|
|
139
|
+
default67 as AutocompleteInput,
|
|
139
140
|
Battery,
|
|
140
141
|
default20 as BottomRightButtons,
|
|
141
142
|
BusBar,
|
|
142
143
|
CONTINGENCY_LIST_EQUIPMENTS,
|
|
143
|
-
|
|
144
|
+
default83 as CancelButton,
|
|
144
145
|
default59 as CardErrorBoundary,
|
|
145
146
|
ChangeWays,
|
|
146
|
-
|
|
147
|
+
default75 as CheckboxInput,
|
|
147
148
|
CheckboxList,
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
default95 as CountriesInput,
|
|
150
|
+
default91 as CriteriaBasedFilterEditionDialog,
|
|
150
151
|
default18 as CriteriaBasedForm,
|
|
151
|
-
|
|
152
|
-
|
|
152
|
+
default97 as CsvUploader,
|
|
153
|
+
default86 as CustomAGGrid,
|
|
153
154
|
default21 as CustomAgGridTable,
|
|
154
|
-
|
|
155
|
+
default66 as CustomFormProvider,
|
|
155
156
|
default14 as CustomMuiDialog,
|
|
156
157
|
default23 as CustomReactQueryBuilder,
|
|
157
158
|
DARK_THEME,
|
|
@@ -162,8 +163,8 @@ export {
|
|
|
162
163
|
DanglingLine,
|
|
163
164
|
default16 as DescriptionField,
|
|
164
165
|
default15 as DescriptionModificationDialog,
|
|
165
|
-
|
|
166
|
-
|
|
166
|
+
default85 as DirectoryItemSelector,
|
|
167
|
+
default84 as DirectoryItemsInput,
|
|
167
168
|
EQUIPMENT_TYPE,
|
|
168
169
|
fields as EXPERT_FILTER_FIELDS,
|
|
169
170
|
EXPERT_FILTER_QUERY,
|
|
@@ -172,23 +173,23 @@ export {
|
|
|
172
173
|
ElementType,
|
|
173
174
|
EquipmentItem,
|
|
174
175
|
EquipmentType,
|
|
175
|
-
|
|
176
|
+
default77 as ErrorInput,
|
|
176
177
|
default12 as ExpandableGroup,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
default69 as ExpandingTextField,
|
|
179
|
+
default89 as ExpertFilterEditionDialog,
|
|
180
|
+
default90 as ExplicitNamingFilterEditionDialog,
|
|
180
181
|
FILTER_EQUIPMENTS,
|
|
181
182
|
default22 as FieldConstants,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
default78 as FieldErrorAlert,
|
|
184
|
+
default81 as FieldLabel,
|
|
185
|
+
default88 as FilterCreationDialog,
|
|
185
186
|
FlatParameters,
|
|
186
|
-
|
|
187
|
+
default72 as FloatInput,
|
|
187
188
|
GRIDSUITE_DEFAULT_PRECISION,
|
|
188
189
|
Generator,
|
|
189
190
|
Hvdc,
|
|
190
|
-
|
|
191
|
-
|
|
191
|
+
default93 as InputWithPopupConfirmation,
|
|
192
|
+
default73 as IntegerInput,
|
|
192
193
|
KeyedColumnsRowIndexer,
|
|
193
194
|
LANG_ENGLISH,
|
|
194
195
|
LANG_FRENCH,
|
|
@@ -198,35 +199,35 @@ export {
|
|
|
198
199
|
LOGOUT_ERROR,
|
|
199
200
|
Line,
|
|
200
201
|
Load,
|
|
201
|
-
|
|
202
|
+
default79 as MidFormError,
|
|
202
203
|
default17 as ModifyElementSelection,
|
|
203
|
-
|
|
204
|
+
default94 as MuiSelectInput,
|
|
204
205
|
default7 as MuiVirtualizedTable,
|
|
205
|
-
|
|
206
|
+
default96 as MultipleAutocompleteInput,
|
|
206
207
|
default13 as MultipleSelectionDialog,
|
|
207
208
|
OverflowableText,
|
|
208
209
|
default19 as PopupConfirmationDialog,
|
|
209
210
|
RESET_AUTHENTICATION_ROUTER_ERROR,
|
|
210
211
|
ROW_DRAGGING_SELECTION_COLUMN_DEF,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
212
|
+
default70 as RadioInput,
|
|
213
|
+
default92 as RangeInput,
|
|
214
|
+
default87 as RawReadOnlyInput,
|
|
214
215
|
default8 as ReportViewer,
|
|
215
216
|
default9 as ReportViewerDialog,
|
|
216
217
|
SHOW_AUTH_INFO_LOGIN,
|
|
217
218
|
SIGNIN_CALLBACK_ERROR,
|
|
218
219
|
SVC,
|
|
219
|
-
|
|
220
|
-
|
|
220
|
+
default64 as SelectClearable,
|
|
221
|
+
default74 as SelectInput,
|
|
221
222
|
ShuntCompensator,
|
|
222
|
-
|
|
223
|
+
default71 as SliderInput,
|
|
223
224
|
default5 as SnackbarProvider,
|
|
224
|
-
|
|
225
|
+
default82 as SubmitButton,
|
|
225
226
|
Substation,
|
|
226
|
-
|
|
227
|
+
default76 as SwitchInput,
|
|
227
228
|
default10 as TagRenderer,
|
|
228
|
-
|
|
229
|
-
|
|
229
|
+
default80 as TextFieldWithAdornment,
|
|
230
|
+
default68 as TextInput,
|
|
230
231
|
ThreeWindingTransfo,
|
|
231
232
|
default3 as TopBar,
|
|
232
233
|
default2 as TreeViewFinder,
|
|
@@ -234,8 +235,8 @@ export {
|
|
|
234
235
|
UNAUTHORIZED_USER_INFO,
|
|
235
236
|
USER,
|
|
236
237
|
USER_VALIDATION_ERROR,
|
|
237
|
-
|
|
238
|
-
|
|
238
|
+
default98 as UniqueNameInput,
|
|
239
|
+
default99 as UserManagerMock,
|
|
239
240
|
VSC,
|
|
240
241
|
VoltageLevel,
|
|
241
242
|
areArrayElementsUnique,
|
|
@@ -330,11 +331,12 @@ export {
|
|
|
330
331
|
default34 as treeview_finder_fr,
|
|
331
332
|
unitToMicroUnit,
|
|
332
333
|
default62 as useConfidentialityWarning,
|
|
333
|
-
|
|
334
|
+
default65 as useCustomFormContext,
|
|
334
335
|
default61 as useDebounce,
|
|
335
336
|
default11 as useElementSearch,
|
|
336
337
|
default60 as useIntlRef,
|
|
337
338
|
useLocalizedCountries,
|
|
339
|
+
default63 as usePredefinedProperties,
|
|
338
340
|
usePrevious,
|
|
339
341
|
useSnackMessage,
|
|
340
342
|
yup
|