@m4l/components 9.4.27 → 9.4.28-BE20260210-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/DynamicForm/DynamicForm.d.ts +28 -0
- package/components/DynamicForm/DynamicForm.js +126 -0
- package/components/DynamicForm/DynamicForm.styles.d.ts +2 -0
- package/components/DynamicForm/DynamicForm.styles.js +93 -0
- package/components/DynamicForm/constants.d.ts +14 -0
- package/components/DynamicForm/constants.js +18 -0
- package/components/DynamicForm/helpers/normalizeValidations.d.ts +15 -0
- package/components/DynamicForm/helpers/normalizeValidations.js +192 -0
- package/components/DynamicForm/helpers/resolveFieldComponent.d.ts +16 -0
- package/components/DynamicForm/helpers/resolveFieldComponent.js +118 -0
- package/components/DynamicForm/helpers/resolveInitialValue.d.ts +14 -0
- package/components/DynamicForm/helpers/resolveInitialValue.js +99 -0
- package/components/DynamicForm/hooks/useDynamicForm/useDynamicForm.d.ts +14 -0
- package/components/DynamicForm/hooks/useDynamicForm/useDynamicForm.js +38 -0
- package/components/DynamicForm/hooks/useDynamicFormConditionals/useDynamicFormConditionals.d.ts +12 -0
- package/components/DynamicForm/hooks/useDynamicFormConditionals/useDynamicFormConditionals.js +69 -0
- package/components/DynamicForm/hooks/useDynamicFormData/types.d.ts +18 -0
- package/components/DynamicForm/hooks/useDynamicFormData/useDynamicFormData.d.ts +12 -0
- package/components/DynamicForm/hooks/useDynamicFormData/useDynamicFormData.js +128 -0
- package/components/DynamicForm/index.d.ts +4 -0
- package/components/DynamicForm/index.js +1 -0
- package/components/DynamicForm/slots/DynamicFormEnum.d.ts +14 -0
- package/components/DynamicForm/slots/DynamicFormEnum.js +15 -0
- package/components/DynamicForm/slots/DynamicFormSlots.d.ts +14 -0
- package/components/DynamicForm/slots/DynamicFormSlots.js +51 -0
- package/components/DynamicForm/slots/index.d.ts +3 -0
- package/components/DynamicForm/slots/index.js +1 -0
- package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.d.ts +2 -0
- package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.js +71 -0
- package/components/DynamicForm/subcomponents/DynamicFormCoupled/DynamicFormCoupled.d.ts +32 -0
- package/components/DynamicForm/subcomponents/DynamicFormCoupled/DynamicFormCoupled.js +45 -0
- package/components/DynamicForm/subcomponents/DynamicFormCoupledInternal/DynamicFormCoupledInternal.d.ts +7 -0
- package/components/DynamicForm/subcomponents/DynamicFormCoupledInternal/DynamicFormCoupledInternal.js +86 -0
- package/components/DynamicForm/subcomponents/DynamicFormCoupledInternalContent/DynamicFormCoupledInternalContent.d.ts +9 -0
- package/components/DynamicForm/subcomponents/DynamicFormCoupledInternalContent/DynamicFormCoupledInternalContent.js +62 -0
- package/components/DynamicForm/subcomponents/index.d.ts +4 -0
- package/components/DynamicForm/subcomponents/index.js +1 -0
- package/components/DynamicForm/types.d.ts +313 -0
- package/components/extended/mui/Autocomplete/Autocomplete.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/constants.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/dictionary.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/hooks/useAutocomplete/useAutocomplete.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/hooks/useEndAdornments.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/hooks/useMultipleChips.js +13 -10
- package/components/extended/mui/Autocomplete/hooks/useMultipleChips.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/hooks/useValuesAndHandlers.js +0 -5
- package/components/extended/mui/Autocomplete/hooks/useValuesAndHandlers.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/icons.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/subcomponents/LoadingText/LoadingText.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/subcomponents/NoOptionsText/NoOptionsText.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/subcomponents/PopperComponent/PopperComponent.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.js +2 -1
- package/components/extended/mui/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.test.d.ts +1 -0
- package/components/extended/mui/Autocomplete/subcomponents/renderOptions/renderOptions.test.d.ts +1 -0
- package/components/hook-form/RHFCheckbox/index.js +1 -0
- package/components/hook-form/RHFCheckbox/types.js +1 -0
- package/components/index.d.ts +1 -0
- package/index.js +66 -60
- package/package.json +1 -1
package/components/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './DaysOfWeekPicker';
|
|
|
18
18
|
export * from './DragResizeWindowRND';
|
|
19
19
|
export * from './DaysOfMonthPicker';
|
|
20
20
|
export * from './DynamicFilter';
|
|
21
|
+
export * from './DynamicForm';
|
|
21
22
|
export * from './DynamicSort';
|
|
22
23
|
export * from './extended';
|
|
23
24
|
export * from './formatters';
|
package/index.js
CHANGED
|
@@ -91,10 +91,13 @@ import { g as g9 } from "./components/DynamicFilter/dictionary.js";
|
|
|
91
91
|
import { a as a5, g as g10 } from "./components/DynamicFilter/helpers/frontEndHelpers.js";
|
|
92
92
|
import { g as g11 } from "./components/DynamicFilter/helpers/getRawFiltersForNetwork.js";
|
|
93
93
|
import { D as D6 } from "./components/DynamicFilter/DynamicFilter.js";
|
|
94
|
+
import { D as D7 } from "./components/DynamicForm/DynamicForm.js";
|
|
95
|
+
import { u as u16 } from "./components/DynamicForm/hooks/useDynamicForm/useDynamicForm.js";
|
|
96
|
+
import { E } from "./components/DynamicForm/constants.js";
|
|
94
97
|
import { a as a6 } from "./components/DynamicSort/dictionary.js";
|
|
95
98
|
import { S as S2 } from "./components/DynamicSort/helpers/frontEndHelpers.js";
|
|
96
99
|
import { g as g12 } from "./components/DynamicSort/helpers/getRawSortsForNetwork.js";
|
|
97
|
-
import { D as
|
|
100
|
+
import { D as D8 } from "./components/DynamicSort/DynamicSort.js";
|
|
98
101
|
import { R } from "./components/extended/React-Resizable/Resizable/Resizable.js";
|
|
99
102
|
import { R as R2 } from "./components/extended/React-Resizable/ResizableBox/ResizableBox.js";
|
|
100
103
|
import { S as S3 } from "./components/extended/React-resizable-panels/SplitLayout.js";
|
|
@@ -138,23 +141,23 @@ import { a as a8, T as T15 } from "./components/extended/mui/ToggleIconButton/co
|
|
|
138
141
|
import { T as T16 } from "./components/extended/mui/ToggleIconButton/slots/ToggleIconButtonEnum.js";
|
|
139
142
|
import { T as T17 } from "./components/extended/mui/ToggleIconButton/slots/ToggleIconButtonSlots.js";
|
|
140
143
|
import { N as N2 } from "./components/extended/mui/NavLink/NavLink.js";
|
|
141
|
-
import { D as
|
|
142
|
-
import { D as
|
|
143
|
-
import { D as
|
|
144
|
+
import { D as D9 } from "./components/extended/mui/Dialog/Dialog.js";
|
|
145
|
+
import { D as D10 } from "./components/extended/mui/Divider/Divider.js";
|
|
146
|
+
import { D as D11 } from "./components/extended/mui/DatePicker/DatePicker.js";
|
|
144
147
|
import { B as B6 } from "./components/formatters/BooleanFormatter/BooleanFormatter.js";
|
|
145
|
-
import { D as
|
|
148
|
+
import { D as D12, g as g14 } from "./components/formatters/DateFormatter/DateFormatter.js";
|
|
146
149
|
import { U, g as g15 } from "./components/formatters/UncertaintyFormatter/UncertaintyFormatter.js";
|
|
147
150
|
import { P as P3, g as g16 } from "./components/formatters/PointsFormatter/PointsFormatter.js";
|
|
148
151
|
import { C as C33, g as g17 } from "./components/formatters/ConcatenatedFormatter/ConcatenatedFormatter.js";
|
|
149
|
-
import { P as P4, u as
|
|
152
|
+
import { P as P4, u as u17 } from "./components/formatters/PeriodFormatter/PeriodFormatter.js";
|
|
150
153
|
import { P as P5, g as g18 } from "./components/formatters/PriceFormatter/PriceFormatter.js";
|
|
151
154
|
import { T as T18 } from "./components/formatters/TagsFormatter/TagsFormatter.js";
|
|
152
155
|
import { C as C34 } from "./components/formatters/ColorFormatter/ColorFormatter.js";
|
|
153
156
|
import { I as I4 } from "./components/formatters/ImageFormatter/ImageFormatter.js";
|
|
154
157
|
import { C as C35 } from "./components/formatters/ChipStatusFormatter/ChipStatusFormatter.js";
|
|
155
158
|
import { g as g19 } from "./components/formatters/DistanceToNowFormatter/dictionary.js";
|
|
156
|
-
import { D as
|
|
157
|
-
import { u as
|
|
159
|
+
import { D as D13 } from "./components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.js";
|
|
160
|
+
import { u as u18 } from "./components/formatters/DistanceToNowFormatter/hooks/useDistanceToNowFormatter.js";
|
|
158
161
|
import { g as g20 } from "./components/formatters/dictionary.js";
|
|
159
162
|
import { F as F2 } from "./components/FormContainer/FormContainer.js";
|
|
160
163
|
import { G } from "./components/GridLayout/GridLayout.js";
|
|
@@ -192,7 +195,7 @@ import { N as N3, P as P6, R as R26, S as S7 } from "./components/hook-form/RHFP
|
|
|
192
195
|
import { R as R27 } from "./components/hook-form/RHFNumberInput/RHFNumberInput.js";
|
|
193
196
|
import { R as R28 } from "./components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js";
|
|
194
197
|
import { V as V2, b as b4, a as a9 } from "./components/hook-form/RHFormProvider/types.js";
|
|
195
|
-
import { F as F3, R as R29, u as
|
|
198
|
+
import { F as F3, R as R29, u as u19 } from "./components/hook-form/RHFormProvider/RHFormProvider.js";
|
|
196
199
|
import { d as d4, a as a10, b as b5, c as c3 } from "./components/hook-form/RHFormProvider/schema.js";
|
|
197
200
|
import { R as R30 } from "./components/hook-form/RHFActionsGroup/RHFActionsGroup.js";
|
|
198
201
|
import { I as I5 } from "./components/Icon/Icon.js";
|
|
@@ -218,7 +221,7 @@ import { g as g28 } from "./components/ObjectLogs/dictionary.js";
|
|
|
218
221
|
import { O } from "./components/ObjectLogs/ObjectLogs.js";
|
|
219
222
|
import { P as P7 } from "./components/PaperForm/PaperForm.js";
|
|
220
223
|
import { P as P8 } from "./components/PDFViewer/PDFViewer.js";
|
|
221
|
-
import { u as
|
|
224
|
+
import { u as u20 } from "./components/popups/components/PopupsProvider/hooks/usePopupsStore.js";
|
|
222
225
|
import { a as a13, P as P9 } from "./components/popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js";
|
|
223
226
|
import { P as P10 } from "./components/popups/components/PopupsViewer/PopupsViewer.js";
|
|
224
227
|
import { P as P11 } from "./components/PrintingSystem/PrintingSystem.js";
|
|
@@ -230,17 +233,17 @@ import { T as T20 } from "./components/ToastContainer/subcomponents/ToastMessage
|
|
|
230
233
|
import { T as T21 } from "./components/TabsNavigator/TabsNavigator.js";
|
|
231
234
|
import { g as g29 } from "./components/TabsNavigator/dictionary.js";
|
|
232
235
|
import { W as W2 } from "./components/WindowBase/WindowBase.js";
|
|
233
|
-
import { u as
|
|
234
|
-
import { u as
|
|
236
|
+
import { u as u21 } from "./components/WindowBase/hooks/useWindowToolsMF/index.js";
|
|
237
|
+
import { u as u22, a as a14 } from "./components/WindowBase/hooks/useDynamicMFParameters/index.js";
|
|
235
238
|
import { M as M7, W as W3, a as a15 } from "./components/WindowBase/contexts/WindowToolsMFContext/WindowToolsMFContext.js";
|
|
236
239
|
import { c as c4 } from "./components/WindowBase/contexts/DynamicMFParmsContext/store.js";
|
|
237
|
-
import { D as
|
|
240
|
+
import { D as D14, a as a16, M as M8 } from "./components/WindowBase/contexts/DynamicMFParmsContext/DynamicMFParmsContext.js";
|
|
238
241
|
import { W as W4 } from "./components/WindowConfirm/WindowConfirm.js";
|
|
239
242
|
import { a as a17, g as g30 } from "./components/ModalDialog/dictionary.js";
|
|
240
243
|
import { M as M9 } from "./components/ModalDialog/ModalDialog.js";
|
|
241
244
|
import { S as S10 } from "./components/SettingsLayout/SettingsLayout.js";
|
|
242
245
|
import { P as P13 } from "./components/Pager/Pager.js";
|
|
243
|
-
import { u as
|
|
246
|
+
import { u as u23 } from "./components/Stepper/hooks/useStepper/index.js";
|
|
244
247
|
import { S as S11 } from "./components/Stepper/Stepper.js";
|
|
245
248
|
import { S as S12 } from "./components/Stepper/subcomponents/StepperContent/index.js";
|
|
246
249
|
import { S as S13 } from "./components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.js";
|
|
@@ -255,27 +258,27 @@ import { e as e3 } from "./components/Stepper/helpers/evaluateVisibilityStepCond
|
|
|
255
258
|
import { g as g31 } from "./components/Stepper/helpers/getStepsAndValidationSchema/getStepsAndValidationSchema.js";
|
|
256
259
|
import { g as g32 } from "./components/Stepper/dictionary.js";
|
|
257
260
|
import { g as g33 } from "./components/hook-form/RHFormProvider/dictionary.js";
|
|
258
|
-
import { u as
|
|
261
|
+
import { u as u24 } from "./contexts/AppearanceComponentContext/useAppearanceComponentStore.js";
|
|
259
262
|
import { A as A18 } from "./contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
260
263
|
import { a as a18, M as M10 } from "./contexts/ModalContext/index.js";
|
|
261
|
-
import { u as
|
|
262
|
-
import { u as
|
|
263
|
-
import { u as
|
|
264
|
+
import { u as u25 } from "./hooks/useFormAddEdit/useFormAddEdit.js";
|
|
265
|
+
import { u as u26 } from "./hooks/useModal/index.js";
|
|
266
|
+
import { u as u27 } from "./hooks/useTab/index.js";
|
|
264
267
|
import { g as g34 } from "./hooks/useFormAddEdit/dictionary.js";
|
|
265
|
-
import { u as
|
|
266
|
-
import { u as
|
|
267
|
-
import { u as
|
|
268
|
-
import { u as
|
|
269
|
-
import { u as
|
|
268
|
+
import { u as u28 } from "./hooks/useFormFocus/index.js";
|
|
269
|
+
import { u as u29 } from "./hooks/useInterval/index.js";
|
|
270
|
+
import { u as u30 } from "./hooks/useComponentSize/useComponentSize.js";
|
|
271
|
+
import { u as u31 } from "./hooks/useFormReadyForUpdate/index.js";
|
|
272
|
+
import { u as u32 } from "./hooks/useStateRef/index.js";
|
|
270
273
|
import { S as S21 } from "./hooks/useSvgColor/constants.js";
|
|
271
|
-
import { u as
|
|
272
|
-
import { u as
|
|
273
|
-
import { u as
|
|
274
|
-
import { u as
|
|
274
|
+
import { u as u33 } from "./hooks/useSvgColor/useSvgColor.js";
|
|
275
|
+
import { u as u34 } from "./hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js";
|
|
276
|
+
import { u as u35 } from "./hooks/useDataGridPersistence/useDataGridPersistence.js";
|
|
277
|
+
import { u as u36 } from "./hooks/usePopoverContainer/usePopoverContainer.js";
|
|
275
278
|
import { P as P14 } from "./hooks/usePopoverContainer/constants.js";
|
|
276
|
-
import { u as
|
|
277
|
-
import { u as
|
|
278
|
-
import { u as
|
|
279
|
+
import { u as u37 } from "./hooks/useIsVisible/useIsVisible.js";
|
|
280
|
+
import { u as u38 } from "./hooks/useSizeContainer/index.js";
|
|
281
|
+
import { u as u39 } from "./hooks/useWatchTyped/useTypedWatch.js";
|
|
279
282
|
import { c as c5 } from "./utils/capitalizeFirstLetter.js";
|
|
280
283
|
import { i as i2 } from "./utils/isValidDate.js";
|
|
281
284
|
import { g as g35 } from "./utils/getComponentUtilityClass.js";
|
|
@@ -356,18 +359,20 @@ export {
|
|
|
356
359
|
e as DATAGRID_SEMANTIC_WIDTHS,
|
|
357
360
|
D as DICTIONARY,
|
|
358
361
|
D2 as DataGrid,
|
|
359
|
-
|
|
360
|
-
|
|
362
|
+
D12 as DateFormatter,
|
|
363
|
+
D11 as DatePicker,
|
|
361
364
|
D5 as DaysOfMonthPicker,
|
|
362
365
|
D3 as DaysOfWeekPicker,
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
+
D9 as Dialog,
|
|
367
|
+
D13 as DistanceToNowFormatter,
|
|
368
|
+
D10 as Divider,
|
|
366
369
|
D4 as DragResizeWindowRND,
|
|
367
370
|
D6 as DynamicFilter,
|
|
368
|
-
|
|
371
|
+
D7 as DynamicForm,
|
|
372
|
+
D14 as DynamicMFParmsContext,
|
|
369
373
|
a16 as DynamicMFParmsProvider,
|
|
370
|
-
|
|
374
|
+
D8 as DynamicSort,
|
|
375
|
+
E as EMPTY_DATA,
|
|
371
376
|
F as FixedSizeList,
|
|
372
377
|
F2 as FormContainer,
|
|
373
378
|
F3 as FormProviderCustom,
|
|
@@ -581,7 +586,7 @@ export {
|
|
|
581
586
|
r as rhfPeriodStyles,
|
|
582
587
|
t as toggleButtonStyles,
|
|
583
588
|
t2 as toggleIconButtonStyles,
|
|
584
|
-
|
|
589
|
+
u24 as useAppearanceComponentStore,
|
|
585
590
|
u as useAreasStore,
|
|
586
591
|
u2 as useColumnBoolean,
|
|
587
592
|
u12 as useColumnChipStatus,
|
|
@@ -597,29 +602,30 @@ export {
|
|
|
597
602
|
u10 as useColumnSetCheck,
|
|
598
603
|
u13 as useColumnTags,
|
|
599
604
|
u11 as useColumnUncertanity,
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
605
|
+
u30 as useComponentSize,
|
|
606
|
+
u19 as useCustomForm,
|
|
607
|
+
u35 as useDataGridPersistence,
|
|
608
|
+
u18 as useDistanceToNowFormatter,
|
|
609
|
+
u34 as useDynamicFilterAndSort,
|
|
610
|
+
u16 as useDynamicForm,
|
|
611
|
+
u22 as useDynamicMFParameters,
|
|
606
612
|
a14 as useDynamicMFParametersStore,
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
613
|
+
u25 as useFormAddEdit,
|
|
614
|
+
u28 as useFormFocus,
|
|
615
|
+
u31 as useFormReadyForUpdate,
|
|
616
|
+
u17 as useFormatPeriod,
|
|
617
|
+
u29 as useInterval,
|
|
618
|
+
u37 as useIsVisible,
|
|
619
|
+
u26 as useModal,
|
|
620
|
+
u36 as usePopoverContainer,
|
|
621
|
+
u20 as usePopupsStore,
|
|
622
|
+
u38 as useSizeContainer,
|
|
623
|
+
u32 as useStateRef,
|
|
624
|
+
u23 as useStepper,
|
|
625
|
+
u33 as useSvgColor,
|
|
626
|
+
u27 as useTab,
|
|
627
|
+
u39 as useWatchTyped,
|
|
628
|
+
u21 as useWindowToolsMF,
|
|
623
629
|
v2 as varBounce,
|
|
624
630
|
v3 as varContainer,
|
|
625
631
|
v as varFade,
|