@m4l/components 3.1.8 → 3.1.9

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.
Files changed (34) hide show
  1. package/@types/export.d.ts +0 -3
  2. package/@types/types.d.ts +29 -11
  3. package/components/DynamicSort/constants.d.ts +12 -0
  4. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +84 -0
  5. package/components/DynamicSort/slots/SlotsEnum.d.ts +30 -0
  6. package/components/DynamicSort/slots/index.d.ts +2 -0
  7. package/components/DynamicSort/types.d.ts +183 -0
  8. package/components/FieldLabel/types.d.ts +1 -0
  9. package/components/ObjectLogs/types.d.ts +1 -1
  10. package/components/areas/contexts/AreasContext/helper.d.ts +3 -0
  11. package/components/hook-form/RHFTextField/constant.d.ts +1 -0
  12. package/components/hook-form/RHFTextField/index.d.ts +0 -1
  13. package/components/hook-form/RHFTextField/slots/RHFTextFieldEnum.d.ts +7 -0
  14. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +18 -0
  15. package/components/hook-form/RHFTextField/slots/index.d.ts +2 -0
  16. package/components/hook-form/RHFTextField/subcomponents/Skeleton/types.d.ts +3 -4
  17. package/components/hook-form/RHFTextField/types.d.ts +11 -3
  18. package/helpers/cookies/cookies.d.ts +4 -0
  19. package/helpers/cookies/index.d.ts +1 -0
  20. package/helpers/cookies/types.d.ts +42 -0
  21. package/index.js +145 -148
  22. package/package.json +1 -1
  23. package/styles/DynamicSort.styles.d.ts +2 -0
  24. package/styles/MenuActions.styles.d.ts +1 -1
  25. package/styles/RHFTextField.styles.d.ts +2 -0
  26. package/utils/index.d.ts +1 -1
  27. package/{vendor-AfIOyqRr.js → vendor-BDLrgGjq.js} +575 -519
  28. package/components/hook-form/RHFTextField/classes/constants.d.ts +0 -1
  29. package/components/hook-form/RHFTextField/classes/index.d.ts +0 -8
  30. package/components/hook-form/RHFTextField/classes/types.d.ts +0 -17
  31. package/components/hook-form/RHFTextField/styles.d.ts +0 -3
  32. package/components/hook-form/RHFTextField/subcomponents/Skeleton/styles.d.ts +0 -3
  33. package/components/hook-form/RHFTextField/tests/constants.d.ts +0 -3
  34. package/components/hook-form/RHFTextField/tests/utils.d.ts +0 -2
package/index.js CHANGED
@@ -1,99 +1,99 @@
1
- import { r, $, bQ, aT, aV, aW, aU, aS, A, bO, bW, j, o, n, k, a0, a4, b$, aq, a1, a2, ac, ad, a3, aH, aJ, aI, aL, aG, aF, aK, aM, aE, bi, ay, w, D, as, aZ, aO, c1, c0, aP, bj, bl, a$, bX, bF, aQ, b8, ae, I, bb, af, t, b9, a5, ba, a6, bc, a7, bs, L, b_, bu, bd, bf, be, bh, c2, a8, c6, bm, c5, M, c, b, bw, N, bz, bD, a9, bC, bE, aA, av, ag, bU, bT, bV, aB, b7, P, bG, R, z, Q, K, C, E, G, J, F, X, Y, V, U, Z, _, c3, bH, b0, bI, S, bZ, bN, bJ, ah, ab, aj, al, ak, ai, T, bK, bM, ao, ap, am, bY, an, at, br, bq, l, W, b2, b1, b3, m, bL, aY, bp, by, bB, a_, aR, bR, bP, s, x, aX, a, aN, c4, ax, ar, az, aw, aC, aD, g, bt, bv, bo, bn, bx, bA, aa, H, B, y, O, au, ca, b5, b4, u, c7, cb, cc, bg, bk, c8, bS, q, c9, p, d, e, v, h, i, f, b6 } from "./vendor-AfIOyqRr.js";
1
+ import { r, Y, bN, aQ, aS, aT, aR, aP, A, bL, bT, j, o, n, k, Z, a1, bY, an, _, $, a9, aa, a0, aE, aG, aF, aI, aD, aC, aH, aJ, aB, bf, av, w, D, ap, aW, aL, b_, bZ, aM, bg, bi, aY, bU, bC, aN, b5, ab, I, b8, ac, t, b6, a2, b7, a3, b9, a4, bp, L, bX, br, ba, bc, bb, be, b$, a5, c3, bj, c2, M, c, b, bt, N, bw, bA, a6, bz, bB, ax, as, ad, bR, bQ, bS, ay, b4, P, bD, R, z, Q, K, C, E, G, J, F, U, V, X, c0, bE, aZ, bF, S, bW, bK, bG, ae, a8, ag, ai, ah, af, T, bH, bJ, al, am, aj, bV, ak, aq, bo, bn, l, W, a$, a_, b0, m, bI, aV, bm, bv, by, aX, aO, bO, bM, s, x, aU, a, aK, c1, au, ao, aw, at, az, aA, g, bq, bs, bl, bk, bu, bx, a7, H, B, y, O, ar, c7, b2, b1, u, c4, c8, c9, bd, bh, c5, bP, q, c6, p, d, e, v, h, i, f, b3 } from "./vendor-BDLrgGjq.js";
2
2
  export {
3
3
  r as AREAS_DICTIONARY_ID,
4
- $ as Accordion,
5
- bQ as AccountPopover,
6
- aT as ActionCancel,
7
- aV as ActionFormCancel,
8
- aW as ActionFormIntro,
9
- aU as ActionIntro,
10
- aS as Actions,
4
+ Y as Accordion,
5
+ bN as AccountPopover,
6
+ aQ as ActionCancel,
7
+ aS as ActionFormCancel,
8
+ aT as ActionFormIntro,
9
+ aR as ActionIntro,
10
+ aP as Actions,
11
11
  A as AnimatedScroll,
12
- bO as AppBar,
13
- bW as AppBarComercial,
12
+ bL as AppBar,
13
+ bT as AppBarComercial,
14
14
  j as AreasAdmin,
15
15
  o as AreasContext,
16
16
  n as AreasProvider,
17
17
  k as AreasViewer,
18
- a0 as Avatar,
19
- a4 as Badge,
20
- b$ as BaseModule,
21
- aq as BooleanFormatter,
22
- a1 as BoxIcon,
23
- a2 as Breadcrumbs,
24
- ac as Button,
25
- ad as CheckBox,
26
- a3 as CircularProgress,
27
- aH as ColumnBooleanFormatter,
28
- aJ as ColumnConcatenatedValueFormatter,
29
- aI as ColumnDateFormatter,
30
- aL as ColumnInteractiveCheckFormatter,
31
- aG as ColumnNestedValueFormatter,
32
- aF as ColumnPointsFormatter,
33
- aK as ColumnPriceFormatter,
34
- aM as ColumnSetCheckFormatter,
35
- aE as ColumnUncertaintyFormatter,
36
- bi as CommonFeatureRender,
37
- ay as ConcatenatedFormatter,
18
+ Z as Avatar,
19
+ a1 as Badge,
20
+ bY as BaseModule,
21
+ an as BooleanFormatter,
22
+ _ as BoxIcon,
23
+ $ as Breadcrumbs,
24
+ a9 as Button,
25
+ aa as CheckBox,
26
+ a0 as CircularProgress,
27
+ aE as ColumnBooleanFormatter,
28
+ aG as ColumnConcatenatedValueFormatter,
29
+ aF as ColumnDateFormatter,
30
+ aI as ColumnInteractiveCheckFormatter,
31
+ aD as ColumnNestedValueFormatter,
32
+ aC as ColumnPointsFormatter,
33
+ aH as ColumnPriceFormatter,
34
+ aJ as ColumnSetCheckFormatter,
35
+ aB as ColumnUncertaintyFormatter,
36
+ bf as CommonFeatureRender,
37
+ av as ConcatenatedFormatter,
38
38
  w as DICCTIONARY,
39
39
  D as DataGrid,
40
- as as DateFormatter,
41
- aZ as DragResizeWindow,
42
- aO as DynamicFilter,
43
- c1 as DynamicMFParmsContext,
44
- c0 as DynamicMFParmsProvider,
45
- aP as FieldLabel,
46
- bj as GpsTools,
47
- bl as GpsToolsProvider,
48
- a$ as GridLayout,
49
- bX as HamburgerMenu,
50
- bF as HelmetPage,
51
- aQ as HelperText,
52
- b8 as Icon,
53
- ae as IconButton,
40
+ ap as DateFormatter,
41
+ aW as DragResizeWindow,
42
+ aL as DynamicFilter,
43
+ b_ as DynamicMFParmsContext,
44
+ bZ as DynamicMFParmsProvider,
45
+ aM as FieldLabel,
46
+ bg as GpsTools,
47
+ bi as GpsToolsProvider,
48
+ aY as GridLayout,
49
+ bU as HamburgerMenu,
50
+ bC as HelmetPage,
51
+ aN as HelperText,
52
+ b5 as Icon,
53
+ ab as IconButton,
54
54
  I as IconButtonAnimate,
55
- bb as Image,
56
- af as ImageButton,
55
+ b8 as Image,
56
+ ac as ImageButton,
57
57
  t as LABEL_FILTER_BUTTON,
58
- b9 as LanguagePopover,
59
- a5 as LinearProgress,
60
- ba as LinearProgressIndeterminate,
61
- a6 as LinkWithRoute,
62
- bc as Loadable,
63
- a7 as LoadingButton,
64
- bs as LoadingError,
58
+ b6 as LanguagePopover,
59
+ a2 as LinearProgress,
60
+ b7 as LinearProgressIndeterminate,
61
+ a3 as LinkWithRoute,
62
+ b9 as Loadable,
63
+ a4 as LoadingButton,
64
+ bp as LoadingError,
65
65
  L as LoadingScreen,
66
- b_ as MFIsolationApp,
67
- bu as MFLoader,
68
- bd as Map,
69
- bf as MapContext,
70
- be as MapProvider,
71
- bh as MarkerFeatureRender,
72
- c2 as MemonizedDynamicMFParmsProvider,
73
- a8 as MenuActions,
74
- c6 as ModalContext,
75
- bm as ModalDialog,
76
- c5 as ModalProvider,
66
+ bX as MFIsolationApp,
67
+ br as MFLoader,
68
+ ba as Map,
69
+ bc as MapContext,
70
+ bb as MapProvider,
71
+ be as MarkerFeatureRender,
72
+ b$ as MemonizedDynamicMFParmsProvider,
73
+ a5 as MenuActions,
74
+ c3 as ModalContext,
75
+ bj as ModalDialog,
76
+ c2 as ModalProvider,
77
77
  M as MotionContainer,
78
78
  c as MotionLazyContainer,
79
79
  b as NavLink,
80
- bw as NoItemSelected,
80
+ bt as NoItemSelected,
81
81
  N as NumberEditor,
82
- bz as ObjectLogs,
83
- bD as PDFViewer,
84
- a9 as Pager,
85
- bC as PaperForm,
86
- bE as Period,
87
- aA as PeriodFormatter,
88
- av as PointsFormatter,
89
- ag as Popover,
90
- bU as PopupsContext,
91
- bT as PopupsProvider,
92
- bV as PopupsViewer,
93
- aB as PriceFormatter,
94
- b7 as PrintingSystem,
82
+ bw as ObjectLogs,
83
+ bA as PDFViewer,
84
+ a6 as Pager,
85
+ bz as PaperForm,
86
+ bB as Period,
87
+ ax as PeriodFormatter,
88
+ as as PointsFormatter,
89
+ ad as Popover,
90
+ bR as PopupsContext,
91
+ bQ as PopupsProvider,
92
+ bS as PopupsViewer,
93
+ ay as PriceFormatter,
94
+ b4 as PrintingSystem,
95
95
  P as PropagateLoader,
96
- bG as PropertyValue,
96
+ bD as PropertyValue,
97
97
  R as RHFAutocomplete,
98
98
  z as RHFAutocompleteAsync,
99
99
  Q as RHFCheckbox,
@@ -103,90 +103,87 @@ export {
103
103
  G as RHFPeriod,
104
104
  J as RHFRadioGroup,
105
105
  F as RHFSelect,
106
- X as RHFTEXTFIELD_INPUT_TEST_ID,
107
- Y as RHFTEXTFIELD_PREFIX,
108
- V as RHFTEXTFIELD_ROOT_TEST_ID,
109
106
  U as RHFTextField,
110
- Z as RHFTextFieldPassword,
111
- _ as RHFUploadImage,
112
- c3 as RHFormProvider,
113
- bH as ResizeableWindow,
114
- b0 as Responsive,
115
- bI as ScrollBar,
107
+ V as RHFTextFieldPassword,
108
+ X as RHFUploadImage,
109
+ c0 as RHFormProvider,
110
+ bE as ResizeableWindow,
111
+ aZ as Responsive,
112
+ bF as ScrollBar,
116
113
  S as ScrollToTop,
117
- bZ as SectionCommercial,
118
- bN as SideBar,
119
- bJ as SplitLayout,
120
- ah as Stack,
121
- ab as Tab,
122
- aj as TabContent,
123
- al as TabContext,
124
- ak as TabProvider,
125
- ai as Tabs,
114
+ bW as SectionCommercial,
115
+ bK as SideBar,
116
+ bG as SplitLayout,
117
+ ae as Stack,
118
+ a8 as Tab,
119
+ ag as TabContent,
120
+ ai as TabContext,
121
+ ah as TabProvider,
122
+ af as Tabs,
126
123
  T as TextEditor,
127
- bK as ToastContainer,
128
- bM as ToastMessage,
129
- ao as ToggleButton,
130
- ap as ToggleIconButton,
131
- am as Tooltip,
132
- bY as TopBar,
133
- an as Typography,
134
- at as UncertaintyFormatter,
135
- br as WindowBase,
136
- bq as WindowConfirm,
124
+ bH as ToastContainer,
125
+ bJ as ToastMessage,
126
+ al as ToggleButton,
127
+ am as ToggleIconButton,
128
+ aj as Tooltip,
129
+ bV as TopBar,
130
+ ak as Typography,
131
+ aq as UncertaintyFormatter,
132
+ bo as WindowBase,
133
+ bn as WindowConfirm,
137
134
  l as WindowToolsMFContext,
138
135
  W as WindowToolsMFProvider,
139
- b2 as addLayoutItemToBreakPointIfNoExists,
140
- b1 as addLayoutItemToBreakPoints,
141
- b3 as cloneLayouts,
136
+ a$ as addLayoutItemToBreakPointIfNoExists,
137
+ a_ as addLayoutItemToBreakPoints,
138
+ b0 as cloneLayouts,
142
139
  m as createDynamicMFStore,
143
- bL as createToaster,
144
- aY as defaultCommonActionsDictionary,
145
- bp as defaultModalDialogDictionary,
146
- by as defaultNoItemSelectedDictionary,
147
- bB as defaultObjectLogDictionary,
148
- a_ as draggableWindowClasses,
149
- aR as errorLabelClasses,
150
- bR as getAccountPopoverDictionary,
151
- bP as getAppBarDictionary,
140
+ bI as createToaster,
141
+ aV as defaultCommonActionsDictionary,
142
+ bm as defaultModalDialogDictionary,
143
+ bv as defaultNoItemSelectedDictionary,
144
+ by as defaultObjectLogDictionary,
145
+ aX as draggableWindowClasses,
146
+ aO as errorLabelClasses,
147
+ bO as getAccountPopoverDictionary,
148
+ bM as getAppBarDictionary,
152
149
  s as getAreasComponentsDictionary,
153
150
  x as getAreasDictionary,
154
- aX as getCommonActionsDictionary,
151
+ aU as getCommonActionsDictionary,
155
152
  a as getDataGridRowsFromSet,
156
- aN as getDynamicFilterComponentsDictionary,
157
- c4 as getFormComponentsDictionary,
158
- ax as getFormatConcatenated,
159
- ar as getFormatDate,
160
- az as getFormatPeriod,
161
- aw as getFormatPoints,
162
- aC as getFormatPrice,
163
- aD as getFormattersComponentsDictionary,
153
+ aK as getDynamicFilterComponentsDictionary,
154
+ c1 as getFormComponentsDictionary,
155
+ au as getFormatConcatenated,
156
+ ao as getFormatDate,
157
+ aw as getFormatPeriod,
158
+ at as getFormatPoints,
159
+ az as getFormatPrice,
160
+ aA as getFormattersComponentsDictionary,
164
161
  g as getGridComponentsDictionary,
165
- bt as getLoadingErrorComponentsDictionary,
166
- bv as getMFLoaderComponentsDictionary,
167
- bo as getModalDialogComponentsDictionary,
168
- bn as getModalDictionary,
169
- bx as getNoItemSelectedComponentsDictionary,
170
- bA as getObjectLogsComponentsDictionary,
171
- aa as getPagerComponentsDictionary,
162
+ bq as getLoadingErrorComponentsDictionary,
163
+ bs as getMFLoaderComponentsDictionary,
164
+ bl as getModalDialogComponentsDictionary,
165
+ bk as getModalDictionary,
166
+ bu as getNoItemSelectedComponentsDictionary,
167
+ bx as getObjectLogsComponentsDictionary,
168
+ a7 as getPagerComponentsDictionary,
172
169
  H as getPeriodComponetsDictionary,
173
170
  B as getRHFAutocompleteAsyncComponentsDictionary,
174
171
  y as getRHFAutocompleteComponentsDictionary,
175
172
  O as getRHFColorPickerComponentsDictionary,
176
- au as getUncertaintyFormat,
177
- ca as getformAddEditDictionary,
178
- b5 as isEqualLayout,
179
- b4 as isEqualLayouts,
173
+ ar as getUncertaintyFormat,
174
+ c7 as getformAddEditDictionary,
175
+ b2 as isEqualLayout,
176
+ b1 as isEqualLayouts,
180
177
  u as useDynamicMFParametersStore,
181
- c7 as useFormAddEdit,
182
- cb as useFormFocus,
183
- cc as useInterval,
184
- bg as useMapStore,
185
- bk as useMapToolsStore,
186
- c8 as useModal,
187
- bS as usePopupsStore,
178
+ c4 as useFormAddEdit,
179
+ c8 as useFormFocus,
180
+ c9 as useInterval,
181
+ bd as useMapStore,
182
+ bh as useMapToolsStore,
183
+ c5 as useModal,
184
+ bP as usePopupsStore,
188
185
  q as useSetWindowsTitle,
189
- c9 as useTab,
186
+ c6 as useTab,
190
187
  p as useWindowToolsMF,
191
188
  d as varBounce,
192
189
  e as varContainer,
@@ -194,5 +191,5 @@ export {
194
191
  h as varTranEnter,
195
192
  i as varTranExit,
196
193
  f as varTranHover,
197
- b6 as withSizeProvider
194
+ b3 as withSizeProvider
198
195
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "3.1.8",
3
+ "version": "3.1.9",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "src/**/*.{js,ts,jsx,tsx}": "eslint --max-warnings=0 --fix",
@@ -0,0 +1,2 @@
1
+ import { DynamicSortStyles } from '../components/DynamicSort/types';
2
+ export declare const dynamicSortStyles: DynamicSortStyles;
@@ -1,2 +1,2 @@
1
- import type { MenuActionsStyles } from '../components/mui_extended/MenuActions/types';
1
+ import { MenuActionsStyles } from '../components/mui_extended/MenuActions/types';
2
2
  export declare const menuActionsStyles: MenuActionsStyles;
@@ -0,0 +1,2 @@
1
+ import { RHFTextFieldStyles } from '../components/hook-form/RHFTextField/types';
2
+ export declare const rhfTextFieldStyles: RHFTextFieldStyles;
package/utils/index.d.ts CHANGED
@@ -3,6 +3,6 @@ import { Palette, Theme } from '@mui/material/styles';
3
3
  import { VariantColor } from './types';
4
4
  export declare function isValidDate(d: Date): boolean;
5
5
  export declare const getPaletteColor: (palette: Palette, s: string) => any;
6
- export declare const getVariantColor: (variant: VariantColor | undefined) => "error" | "info" | "warning" | "primary";
6
+ export declare const getVariantColor: (variant: VariantColor | undefined) => "error" | "primary" | "info" | "warning";
7
7
  export declare const getThemeVariantColor: (theme: Theme, variant: VariantColor | undefined) => string;
8
8
  export declare function getComponentUtilityClass(componentName: string): (slot: string) => string;