@m4l/components 9.2.49 → 9.2.50-beta.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.
Files changed (164) hide show
  1. package/@types/types.d.ts +8 -1
  2. package/components/Chip/ChipStyles.js +1 -1
  3. package/components/DataGrid/contexts/DataGridContext/index.js +1 -1
  4. package/components/DataGrid/contexts/FilterContext/index.js +1 -1
  5. package/components/DataGrid/dictionary.js +0 -3
  6. package/components/DataGrid/formatters/ColumnChipStatusFormatter/formatter.js +4 -3
  7. package/components/DataGrid/formatters/ColumnNestedValueFormatter/formatter.js +2 -1
  8. package/components/DataGrid/formatters/ColumnNestedValueFormatter/useColumnNestedValue.d.ts +1 -1
  9. package/components/DataGrid/formatters/ColumnNestedValueFormatter/useColumnNestedValue.js +4 -3
  10. package/components/DataGrid/slots/DataGridEnum.js +2 -2
  11. package/components/DataGrid/slots/DataGridSlot.js +1 -1
  12. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +2 -0
  13. package/components/DataGrid/subcomponents/Table/subcomponents/CheckboxFormatter.js +1 -1
  14. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +2 -2
  15. package/components/DragResizeWindowRND/DragResizeWindowRND.js +0 -1
  16. package/components/DynamicFilter/DynamicFilter.styles.js +0 -1
  17. package/components/DynamicFilter/constants.d.ts +5 -2
  18. package/components/DynamicFilter/constants.js +9 -3
  19. package/components/DynamicFilter/dictionary.d.ts +40 -38
  20. package/components/DynamicFilter/dictionary.js +33 -39
  21. package/components/DynamicFilter/helpers/formatToInitialFilters.d.ts +3 -1
  22. package/components/DynamicFilter/helpers/formatToInitialFilters.js +30 -20
  23. package/components/DynamicFilter/helpers/formatToRowFilter.js +15 -6
  24. package/components/DynamicFilter/helpers/getPurgedInitialFiltersApplied.js +1 -1
  25. package/components/DynamicFilter/store/DynamicFilterContext.js +1 -1
  26. package/components/DynamicFilter/subcomponents/AppliedFilterChip/AppliedFilterChip.d.ts +1 -1
  27. package/components/DynamicFilter/subcomponents/AppliedFilterChip/AppliedFilterChip.js +4 -3
  28. package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.js +10 -3
  29. package/components/DynamicFilter/subcomponents/DynamicFilterBase/DynamicFilterBase.js +1 -1
  30. package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/helpers.js +7 -7
  31. package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/index.js +11 -8
  32. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/helpers.js +7 -7
  33. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/index.js +10 -7
  34. package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/helpers.js +17 -9
  35. package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/index.js +13 -9
  36. package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/helpers.d.ts +7 -7
  37. package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/helpers.js +121 -46
  38. package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.js +13 -11
  39. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/helpers.d.ts +8 -7
  40. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/helpers.js +127 -46
  41. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index.js +11 -9
  42. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/helpers.js +11 -7
  43. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/index.js +10 -7
  44. package/components/DynamicFilter/subcomponents/FieldTypes/fieldFactory.d.ts +1 -1
  45. package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +2 -1
  46. package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.d.ts +1 -1
  47. package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -4
  48. package/components/DynamicFilter/subcomponents/InputFilter/useInputFilter.js +2 -2
  49. package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +28 -14
  50. package/components/DynamicFilter/types.d.ts +60 -18
  51. package/components/DynamicSort/dictionary.d.ts +1 -0
  52. package/components/DynamicSort/dictionary.js +1 -5
  53. package/components/DynamicSort/slots/DynamicSortSlots.js +1 -1
  54. package/components/DynamicSort/store/DynamicSortContext.js +1 -1
  55. package/components/DynamicSort/subcomponents/DynamicSortBase/DynamicSortBase.js +1 -1
  56. package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +28 -14
  57. package/components/GridLayout/GridLayout.js +1 -1
  58. package/components/GridLayout/styles.js +1 -1
  59. package/components/GridLayout/subcomponents/GridItem/index.js +1 -1
  60. package/components/GridLayout/subcomponents/Responsive/helper.js +1 -1
  61. package/components/GridLayout/subcomponents/Responsive/index.js +1 -1
  62. package/components/GridLayout/subcomponents/Responsive/responsiveUtils.js +3 -3
  63. package/components/GridLayout/subcomponents/withSizeProvider/index.js +1 -1
  64. package/components/Icon/Icon.js +1 -1
  65. package/components/Icon/constants.js +2 -2
  66. package/components/Icon/slots/IconSlots.js +1 -1
  67. package/components/Image/Image.js +1 -1
  68. package/components/Image/constant.js +2 -2
  69. package/components/Image/slots/ImageSlots.js +1 -1
  70. package/components/Image/subcomponents/IntersectComponent/index.js +1 -1
  71. package/components/LanguagePopover/LanguagePopover.js +1 -1
  72. package/components/LoadingError/LoadingError.js +1 -1
  73. package/components/LoadingError/slots/LoadingErrorSlots.js +1 -1
  74. package/components/MFIsolationApp/MFIsolationApp.js +2 -2
  75. package/components/MFIsolationApp/subcomponents/MFAuthApp/MFAuthApp.js +1 -1
  76. package/components/NoItemSelected/NoItemSelected.js +1 -1
  77. package/components/NumberInput/hooks/useNumberInput/NumberInputReducer.js +1 -1
  78. package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +5 -3
  79. package/components/ObjectLogs/dictionary.js +1 -1
  80. package/components/Pager/Pager.styles.js +0 -8
  81. package/components/Pager/dicctionary.js +0 -5
  82. package/components/PrintingSystem/subcomponents/ChartNode/index.js +1 -1
  83. package/components/PropertyValue/PropertyValue.js +3 -3
  84. package/components/PropertyValue/PropertyValue.styles.js +4 -2
  85. package/components/PropertyValue/index.d.ts +1 -0
  86. package/components/PropertyValue/types.d.ts +0 -2
  87. package/components/ScrollBar/ScrollBar.js +1 -1
  88. package/components/SideBar/slots/SideBarEnum.js +4 -4
  89. package/components/SideBar/slots/SideBarSlots.js +1 -1
  90. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +1 -1
  91. package/components/ToastContainer/ToastContainer.js +1 -1
  92. package/components/WindowBase/slots/WindowBaseSlots.js +1 -1
  93. package/components/animate/variants/bounce.js +1 -1
  94. package/components/animate/variants/fade.js +1 -1
  95. package/components/animate/variants/transition.js +2 -2
  96. package/components/areas/components/AreasAdmin/AreasAdmin.js +1 -1
  97. package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
  98. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.js +1 -1
  99. package/components/areas/contexts/AreasContext/helpers/helper.js +14 -14
  100. package/components/areas/contexts/AreasContext/store.js +5 -5
  101. package/components/areas/icons.js +0 -8
  102. package/components/commercial/HamburgerMenu/classes/index.js +1 -1
  103. package/components/extended/React-Splitter-Layout/slots/SplitLayoutSlots.d.ts +9 -3
  104. package/components/extended/React-resizable-panels/SplitLayout.js +25 -5
  105. package/components/extended/React-resizable-panels/SplitLayout.styles.js +20 -6
  106. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +12 -4
  107. package/components/extended/React-resizable-panels/types.d.ts +7 -0
  108. package/components/formatters/BooleanFormatter/BooleanFormatter.js +1 -1
  109. package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +3 -3
  110. package/components/formatters/PeriodFormatter/PeriodFormatter.js +1 -1
  111. package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.js +2 -2
  112. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.js +1 -1
  113. package/components/hook-form/RHFNumberInput/index.d.ts +1 -0
  114. package/components/hook-form/RHFNumberInput/index.js +1 -0
  115. package/components/hook-form/RHFPeriod/RHFPeriod.js +1 -1
  116. package/components/hook-form/RHFTextField/RHFTextField.styles.js +1 -3
  117. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.js +1 -1
  118. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.js +1 -1
  119. package/components/hook-form/RHFormContext/classes/index.js +1 -1
  120. package/components/hook-form/RHFormContext/index.js +1 -1
  121. package/components/hook-form/index.d.ts +1 -1
  122. package/components/index.d.ts +1 -1
  123. package/components/mui_extended/Accordion/Accordion.js +1 -1
  124. package/components/mui_extended/Accordion/slots/AccordionSlots.js +2 -2
  125. package/components/mui_extended/Accordion/styles.js +1 -0
  126. package/components/mui_extended/Autocomplete/Autocomplete.js +25 -12
  127. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +1 -1
  128. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.js +3 -3
  129. package/components/mui_extended/CheckBox/CheckBox.js +1 -1
  130. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.js +2 -2
  131. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.js +1 -1
  132. package/components/mui_extended/IconButton/slots/IconButtonSlots.js +1 -1
  133. package/components/mui_extended/ImageButton/utils/Clases/index.js +1 -1
  134. package/components/mui_extended/MenuItem/slots/MenuItemSlots.js +1 -1
  135. package/components/mui_extended/NavLink/NavLink.js +1 -1
  136. package/components/mui_extended/NavLink/constants.js +2 -2
  137. package/components/mui_extended/NavLink/slots/NavLinkSlots.js +1 -1
  138. package/components/mui_extended/Popover/Popover.js +1 -1
  139. package/components/mui_extended/Popover/Popover.styles.js +1 -5
  140. package/components/mui_extended/Popover/constants.js +2 -2
  141. package/components/mui_extended/Select/Select.js +1 -1
  142. package/components/mui_extended/Select/Select.styles.js +1 -1
  143. package/components/mui_extended/Select/constants.js +1 -1
  144. package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
  145. package/components/mui_extended/Tab/Tab.js +1 -1
  146. package/components/mui_extended/TabContent/TabContent.styles.js +2 -1
  147. package/components/mui_extended/TextField/constants.js +1 -1
  148. package/components/mui_extended/Tooltip/Tooltip.js +2 -2
  149. package/components/mui_extended/Tooltip/slots/TooltipSlots.js +2 -2
  150. package/components/mui_extended/Typography/Typography.js +1 -1
  151. package/components/mui_extended/Typography/constants.js +3 -3
  152. package/components/mui_extended/Typography/slots/typographySlots.js +1 -1
  153. package/components/popups/components/PopupsViewer/icons.js +0 -1
  154. package/hooks/useDataGridPersistence/constants.js +2 -2
  155. package/hooks/useDataGridPersistence/useDataGridPersistence.js +1 -1
  156. package/hooks/useDynamicFilterAndSort/styles.js +2 -0
  157. package/hooks/useDynamicFilterAndSort/types.d.ts +1 -0
  158. package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +56 -12
  159. package/hooks/useSvgColor/constants.js +2 -2
  160. package/hooks/useSvgColor/helpers.js +1 -1
  161. package/hooks/useSvgColor/useSvgColor.js +1 -1
  162. package/index.js +109 -109
  163. package/package.json +1 -1
  164. package/components/PropertyValue/styles.d.ts +0 -1
@@ -14,17 +14,19 @@ export type StringOperator = 'c' | 'nc';
14
14
  export type NumberOperator = OperatorB | 'e' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
15
15
  export type BooleanOperator = 'e' | 'ne';
16
16
  export type DateTimeOperator = OperatorB | 'e' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
17
- export type SelectOperator = 'in' | 'nin';
17
+ export type SelectOperator = 'in' | 'nin' | 'e' | 'ne';
18
+ export type SelectOperatorAsync = 'in' | 'nin' | 'e' | 'ne';
18
19
  export type FieldPresence = 'initialized' | 'fixed' | 'optional';
19
- export type FormOperandSelectAsync = Record<string, any>;
20
- export type FormOperandSelect = string | number;
20
+ export type OperandSelectAsync = Record<string, any>;
21
+ export type OperandSelect = string | number;
21
22
  /**
22
23
  * Posibles valores para el operandsArray para el caso del select o otros fields
23
24
  */
24
- export type OperandsSelectAsyncArrayValues = Array<FormOperandSelectAsync>;
25
- export type OperandsSelectArrayValues = Array<FormOperandSelect>;
26
- export type FieldTypeOperator<T extends FieldType> = T extends 'boolean' ? BooleanOperator : T extends 'datetime' ? DateTimeOperator : T extends 'number' ? NumberOperator : T extends 'select' ? SelectOperator : T extends 'string' ? StringOperator : T;
27
- export type FieldTypeOperand<T extends FieldType> = T extends 'boolean' ? boolean : T extends 'datetime' ? Date : T extends 'number' ? number : T extends 'string' ? string : T extends 'select' ? OperandsSelectArrayValues : T extends 'selectAsync' ? OperandsSelectAsyncArrayValues : FieldType;
25
+ export type OperandsArraySelectAsync = Array<OperandSelectAsync>;
26
+ export type OperandsSelectArray = Array<OperandSelect>;
27
+ export type FieldTypeOperator<T extends FieldType> = T extends 'boolean' ? BooleanOperator : T extends 'datetime' ? DateTimeOperator : T extends 'number' ? NumberOperator : T extends 'select' ? SelectOperator : T extends 'selectAsync' ? SelectOperatorAsync : T extends 'string' ? StringOperator : T;
28
+ export type FieldTypeOperand<T extends FieldType> = T extends 'boolean' ? boolean : T extends 'datetime' ? Date : T extends 'number' ? number : T extends 'string' ? string : T extends 'select' ? OperandSelect : T extends 'selectAsync' ? OperandSelectAsync : FieldType;
29
+ export type FieldTypeOperandsArray<T extends FieldType> = T extends 'boolean' ? never : T extends 'datetime' ? never : T extends 'number' ? never : T extends 'string' ? never : T extends 'select' ? OperandsSelectArray : T extends 'selectAsync' ? OperandsArraySelectAsync : never;
28
30
  type SelectAsyncOptions<TOption = any> = Pick<RHFAutocompleteAsyncBaseProps<TOption>, 'type' | 'endPoint' | 'responseToCamelCase' | 'multiple' | 'autoComplete' | 'autoCapitalize' | 'parms' | 'timeout'> & {
29
31
  getOptionLabel: (option: TOption) => string;
30
32
  isOptionEqualToValue: (options: TOption | TOption[], value: TOption) => boolean;
@@ -36,11 +38,12 @@ export interface FieldBase<T extends FieldType = FieldType, TOption = any> {
36
38
  type: T;
37
39
  multiple?: boolean;
38
40
  presence?: FieldPresence;
41
+ restritcOperatorsTo?: Maybe<FieldTypeOperator<T>[]>;
39
42
  urlIcon: string;
40
43
  defaultOperator?: Maybe<FieldTypeOperator<T>>;
41
44
  defaultOperand1?: Maybe<FieldTypeOperand<T>>;
42
45
  defaultOperand2?: Maybe<FieldTypeOperand<T>>;
43
- defaultOperandsArray?: Maybe<FieldTypeOperand<T>>;
46
+ defaultOperandsArray?: Maybe<FieldTypeOperandsArray<T>>;
44
47
  selectOptions?: SelectOptions;
45
48
  selectAsyncOptions?: SelectAsyncOptions<TOption>;
46
49
  }
@@ -73,7 +76,7 @@ export interface FilterValueBase<T extends FieldType = FieldType> {
73
76
  operator: Operator;
74
77
  operand1?: Maybe<OperandType>;
75
78
  operand2?: Maybe<OperandType>;
76
- operandsArray?: T extends 'selectAsync' ? OperandsSelectAsyncArrayValues : T extends 'select' ? OperandsSelectArrayValues : never;
79
+ operandsArray?: T extends 'selectAsync' ? OperandsArraySelectAsync : T extends 'select' ? OperandsSelectArray : never;
77
80
  }
78
81
  export interface FilterValueBoolean extends FilterValueBase<'boolean'> {
79
82
  fieldType: 'boolean';
@@ -109,16 +112,35 @@ export interface FilterValueString extends FilterValueBase<'string'> {
109
112
  operator: StringOperator;
110
113
  operand1: string;
111
114
  }
112
- export interface FilterValueSelectAsync extends FilterValueBase<'selectAsync'> {
115
+ export interface FilterValueSelectMultipleAsync extends FilterValueBase<'selectAsync'> {
113
116
  fieldType: 'selectAsync';
117
+ multiple: true;
114
118
  operator: SelectOperator;
115
- operandsArray: OperandsSelectAsyncArrayValues;
119
+ operand1: never;
120
+ operandsArray: OperandsArraySelectAsync;
116
121
  }
117
- export interface FilterValueSelect extends FilterValueBase<'select'> {
122
+ export interface FilterValueSelectSingleAsync extends FilterValueBase<'selectAsync'> {
123
+ fieldType: 'selectAsync';
124
+ operator: SelectOperator;
125
+ operand1: OperandSelectAsync;
126
+ operandsArray: never;
127
+ }
128
+ export type FilterValueSelectAsync = FilterValueSelectMultipleAsync | FilterValueSelectSingleAsync;
129
+ export interface FilterValueSelectSingle extends FilterValueBase<'select'> {
130
+ fieldType: 'select';
131
+ multiple: false;
132
+ operator: SelectOperator;
133
+ operand1: OperandSelect;
134
+ operandsArray: never;
135
+ }
136
+ export interface FilterValueSelectMultiple extends FilterValueBase<'select'> {
118
137
  fieldType: 'select';
138
+ multiple: true;
119
139
  operator: SelectOperator;
120
- operandsArray: OperandsSelectArrayValues;
140
+ operand1: never;
141
+ operandsArray: OperandsSelectArray;
121
142
  }
143
+ export type FilterValueSelect = FilterValueSelectSingle | FilterValueSelectMultiple;
122
144
  /**
123
145
  * Valor de un filtro sobrecargado para cada tipo de dato
124
146
  */
@@ -165,7 +187,7 @@ export type FormOperandBoolean = {
165
187
  export type FormOperandDateTime = Date;
166
188
  export type FormOperandNumber = number;
167
189
  export type FormOperandString = string;
168
- export type FormOperand = FormOperandBoolean | FormOperandDateTime | FormOperandNumber | FormOperandString | FormOperandSelectAsync;
190
+ export type FormOperand = FormOperandBoolean | FormOperandDateTime | FormOperandNumber | FormOperandString | OperandSelectAsync | OperandSelect;
169
191
  /**
170
192
  * Base para el tipado de overloading de los valor de un filtro
171
193
  */
@@ -195,16 +217,36 @@ export interface FormFilterValueString extends FormFilterValueBase {
195
217
  formValueOperator: FormOperator<StringOperator>;
196
218
  formValueOperand1: string;
197
219
  }
198
- export interface FormFilterValueSelectAsync extends FormFilterValueBase {
220
+ export interface FormFilterValueSelectAsyncMultiple extends FormFilterValueBase {
221
+ fieldType: 'selectAsync';
222
+ multiple: true;
223
+ formValueOperator: FormOperator<SelectOperatorAsync>;
224
+ formValueOperandsArray: OperandsArraySelectAsync;
225
+ formValueOperand1: never;
226
+ }
227
+ export interface FormFilterValueSelectAsyncSingle extends FormFilterValueBase {
199
228
  fieldType: 'selectAsync';
229
+ multiple: false;
230
+ formValueOperator: FormOperator<SelectOperatorAsync>;
231
+ formValueOperand1: OperandSelectAsync;
232
+ formValueOperandsArray: never;
233
+ }
234
+ export type FormFilterValueSelectAsync = FormFilterValueSelectAsyncMultiple | FormFilterValueSelectAsyncSingle;
235
+ export interface FormFilterValueSelectMultiple extends FormFilterValueBase {
236
+ fieldType: 'select';
237
+ multiple: true;
200
238
  formValueOperator: FormOperator<SelectOperator>;
201
- formValueOperandsArray: Array<FormOperandSelectAsync> | FormOperandSelectAsync;
239
+ formValueOperand1: never;
240
+ formValueOperandsArray: Array<OperandSelect> | OperandSelect;
202
241
  }
203
- export interface FormFilterValueSelect extends FormFilterValueBase {
242
+ export interface FormFilterValueSelectSingle extends FormFilterValueBase {
204
243
  fieldType: 'select';
244
+ multiple: false;
205
245
  formValueOperator: FormOperator<SelectOperator>;
206
- formValueOperandsArray: Array<FormOperandSelect> | FormOperandSelect;
246
+ formValueOperand1: OperandSelect;
247
+ formValueOperandsArray: never;
207
248
  }
249
+ export type FormFilterValueSelect = FormFilterValueSelectMultiple | FormFilterValueSelectSingle;
208
250
  /**
209
251
  * Valor de un filtro sobrecargado para cada tipo de dato
210
252
  */
@@ -15,6 +15,7 @@ export declare const DICCTIONARY: {
15
15
  readonly operator_asc: "operator_asc";
16
16
  readonly operator_desc: "operator_desc";
17
17
  readonly label_boolean_operand1: "label_boolean_operand1";
18
+ readonly label_no_fields_available: "label_no_fields_available";
18
19
  };
19
20
  export type TypeDictionary = typeof DICCTIONARY;
20
21
  /**
@@ -8,15 +8,11 @@ function getDynamicSortComponentsDictionary() {
8
8
  }
9
9
  const DICCTIONARY = {
10
10
  input_placeholder: "input_placeholder",
11
- label_ascending: "Ascending",
12
- label_descending: "Descending",
13
11
  sort_tooltip_refresh: "sort_tooltip_refresh",
14
12
  sort_tooltip_dirty: "sort_tooltip_dirty",
15
13
  sort_tooltip_invalid: "sort_tooltip_invalid",
16
14
  tooltip_clear_sort: "tooltip_clear_sort",
17
- operator_asc: "operator_asc",
18
- operator_desc: "operator_desc",
19
- label_boolean_operand1: "label_boolean_operand1"
15
+ label_no_fields_available: "label_no_fields_available"
20
16
  };
21
17
  const getDynamicSortDictionary = (key) => {
22
18
  return `${DYNAMICSORT_DICTIONARY_ID}.${key}`;
@@ -2,10 +2,10 @@ import { styled } from "@mui/material/styles";
2
2
  import { d as dynamicSortStyles } from "../DynamicSort.styles.js";
3
3
  import { D as DYNAMIC_SORT_KEY_COMPONENT } from "../constants.js";
4
4
  import { D as DynamicSortSlots } from "./SlotsEnum.js";
5
+ import { S as Skeleton } from "../../mui_extended/Skeleton/Skeleton.js";
5
6
  import { I as IconButton } from "../../mui_extended/IconButton/IconButton.js";
6
7
  import { T as Typography } from "../../mui_extended/Typography/Typography.js";
7
8
  import { A as ActionsContainer } from "../../CommonActions/components/ActionsContainer/ActionsContainer.js";
8
- import { S as Skeleton } from "../../mui_extended/Skeleton/Skeleton.js";
9
9
  import { P as Popover } from "../../mui_extended/Popover/Popover.js";
10
10
  const RootStyled = styled("div", {
11
11
  name: DYNAMIC_SORT_KEY_COMPONENT,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useModuleDictionary } from "@m4l/core";
3
- import { createContext, forwardRef, useRef, useImperativeHandle, useEffect } from "react";
3
+ import { forwardRef, useRef, useImperativeHandle, useEffect, createContext } from "react";
4
4
  import { useStore } from "zustand";
5
5
  import { shallow } from "zustand/shallow";
6
6
  import { f as formatToInitialSorts } from "../helpers/formatToInitialSorts.js";
@@ -4,11 +4,11 @@ import { a as getComponentSlotRoot } from "../../../../utils/getComponentSlotRoo
4
4
  import { D as DYNAMIC_SORT_KEY_COMPONENT } from "../../constants.js";
5
5
  import { u as useDynamicSortBase } from "./useDynamicSortBase.js";
6
6
  import { R as RootStyled, I as InnerContainerStyled } from "../../slots/DynamicSortSlots.js";
7
- import { D as DynamicSortSlots } from "../../slots/SlotsEnum.js";
8
7
  import { I as InputSort } from "../InputSort/InputSort.js";
9
8
  import { A as AppliedSorts } from "../AppliedSorts/AppliedSorts.js";
10
9
  import { S as SortActions } from "../SortActions/SortActions.js";
11
10
  import { P as PopoverSort } from "../PopoverSort/PopoverSort.js";
11
+ import { D as DynamicSortSlots } from "../../slots/SlotsEnum.js";
12
12
  function DynamicSortBase() {
13
13
  const { ownerState, dataTestId } = useDynamicSortBase();
14
14
  const classRoot = getComponentSlotRoot(DYNAMIC_SORT_KEY_COMPONENT);
@@ -1,8 +1,10 @@
1
- import { jsx } from "react/jsx-runtime";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { u as useDynamicSortBase } from "../DynamicSortBase/useDynamicSortBase.js";
3
3
  import { u as usePopoverMenuFields } from "./usePopoverMenuFields.js";
4
4
  import { M as MenuItem } from "../../../mui_extended/MenuItem/MenuItem.js";
5
5
  import { I as Icon } from "../../../Icon/Icon.js";
6
+ import { D as DICCTIONARY } from "../../dictionary.js";
7
+ import { useModuleDictionary } from "@m4l/core";
6
8
  import { P as PopoverMenuStyled } from "../../slots/DynamicSortSlots.js";
7
9
  import { u as usePopoverContainer } from "../../../../hooks/usePopoverContainer/usePopoverContainer.js";
8
10
  function PopoverMenuFields(props) {
@@ -10,8 +12,9 @@ function PopoverMenuFields(props) {
10
12
  const { elementRef, handleOpenPopUpClickItem, handleClosePopover, getItemLabel, isOpenPopoverMenuFields } = usePopoverMenuFields();
11
13
  const { size } = useDynamicSortBase();
12
14
  const anchorEl = elementRef?.current;
15
+ const { getLabel } = useModuleDictionary();
13
16
  const popoverContainerRef = usePopoverContainer();
14
- return /* @__PURE__ */ jsx(
17
+ return /* @__PURE__ */ jsxs(
15
18
  PopoverMenuStyled,
16
19
  {
17
20
  disableAutoFocus: true,
@@ -24,18 +27,29 @@ function PopoverMenuFields(props) {
24
27
  anchorEl,
25
28
  ownerState: {},
26
29
  container: popoverContainerRef.current,
27
- children: isOpenPopoverMenuFields && fields.map((field, index) => /* @__PURE__ */ jsx(
28
- MenuItem,
29
- {
30
- startIcon: /* @__PURE__ */ jsx(Icon, { size, src: field.urlIcon }),
31
- label: getItemLabel(field),
32
- dense: true,
33
- size,
34
- selected: index === selectFieldIndex,
35
- onClick: (event) => handleOpenPopUpClickItem(event, field)
36
- },
37
- `menu_action_${getItemLabel(field)}`
38
- ))
30
+ children: [
31
+ isOpenPopoverMenuFields && fields.map((field, index) => /* @__PURE__ */ jsx(
32
+ MenuItem,
33
+ {
34
+ startIcon: /* @__PURE__ */ jsx(Icon, { size, src: field.urlIcon }),
35
+ label: getItemLabel(field),
36
+ dense: true,
37
+ size,
38
+ selected: index === selectFieldIndex,
39
+ onClick: (event) => handleOpenPopUpClickItem(event, field)
40
+ },
41
+ `menu_action_${getItemLabel(field)}`
42
+ )),
43
+ isOpenPopoverMenuFields && fields.length === 0 && /* @__PURE__ */ jsx(
44
+ MenuItem,
45
+ {
46
+ dense: true,
47
+ size,
48
+ label: getLabel(DICCTIONARY.label_no_fields_available),
49
+ disabled: true
50
+ }
51
+ )
52
+ ]
39
53
  }
40
54
  );
41
55
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef, useMemo, useState, useRef, useEffect, useCallback } from "react";
3
3
  import clsx from "clsx";
4
- import { i as isEqualLayout, c as cloneLayout, g as getLayoutItem, a as cloneLayoutItem, b as getLayoutItemH, m as moveElement, d as compact, w as withLayoutItem, e as bottom, n as noop, f as getAllCollisions } from "./utils.js";
4
+ import { n as noop, i as isEqualLayout, c as cloneLayout, g as getLayoutItem, a as cloneLayoutItem, b as getLayoutItemH, m as moveElement, d as compact, w as withLayoutItem, e as bottom, f as getAllCollisions } from "./utils.js";
5
5
  import { M as MemonizedGridItem } from "./subcomponents/GridItem/index.js";
6
6
  import { G as GridLayoutRoot } from "./styles.js";
7
7
  import { D as DEFAULT_COLS, a as DEFAULT_CONTAINER_PADDING, b as DEFAULT_MARGIN, c as DEFAULT_ROW_HEIGHT, d as DEFAULT_COLAPSED_HEIGHT, e as DEFAULT_CONTAINER_WIDTH, f as DEFAULT_CONTAINER_HEIGHT, g as DEFAULT_TRANSFORM_SCALE } from "./constants.js";
@@ -1,4 +1,4 @@
1
- import { styled, alpha } from "@mui/material/styles";
1
+ import { alpha, styled } from "@mui/material/styles";
2
2
  import { g as gridLayoutClasses } from "./classes/index.js";
3
3
  const react_resizable_css = {};
4
4
  const GridLayoutRoot = styled("div")`
@@ -1,7 +1,7 @@
1
1
  import { jsx, Fragment } from "react/jsx-runtime";
2
2
  import React, { useRef, useEffect, useState, useCallback, useMemo } from "react";
3
3
  import { DraggableCore } from "react-draggable";
4
- import { h as getH, p as perc, s as setTransform, j as setTopLeft } from "../../utils.js";
4
+ import { h as getH, s as setTransform, j as setTopLeft, p as perc } from "../../utils.js";
5
5
  import { c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition } from "../../calculateUtils.js";
6
6
  import clsx from "clsx";
7
7
  import { deepEqual } from "fast-equals";
@@ -1,4 +1,4 @@
1
- import { d as DEFAULT_COLAPSED_HEIGHT, h as DEFAULT_RESPONSIVE_BREAKPOINTS, a as DEFAULT_CONTAINER_PADDING, b as DEFAULT_MARGIN, i as DEFAULT_RESPONSIVE_COLS, c as DEFAULT_ROW_HEIGHT } from "../../constants.js";
1
+ import { c as DEFAULT_ROW_HEIGHT, h as DEFAULT_RESPONSIVE_BREAKPOINTS, a as DEFAULT_CONTAINER_PADDING, b as DEFAULT_MARGIN, i as DEFAULT_RESPONSIVE_COLS, d as DEFAULT_COLAPSED_HEIGHT } from "../../constants.js";
2
2
  import { i as isEqualLayout } from "../../utils.js";
3
3
  import { g as getBreakpointFromWidth, a as getColsFromBreakpoint, f as findOrGenerateResponsiveLayout, b as getIndentationValue } from "./responsiveUtils.js";
4
4
  function generateInitialState(props) {
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { k as isEqualLayouts, c as cloneLayout, n as noop } from "../../utils.js";
2
+ import { n as noop, k as isEqualLayouts, c as cloneLayout } from "../../utils.js";
3
3
  import { g as getBreakpointFromWidth, a as getColsFromBreakpoint, b as getIndentationValue, f as findOrGenerateResponsiveLayout } from "./responsiveUtils.js";
4
4
  import { forwardRef, useState, useRef, useEffect, useCallback } from "react";
5
5
  import { useFirstRender } from "@m4l/graphics";
@@ -1,4 +1,4 @@
1
- import { a as cloneLayoutItem, c as cloneLayout, d as compact, l as correctBounds } from "../../utils.js";
1
+ import { c as cloneLayout, a as cloneLayoutItem, d as compact, l as correctBounds } from "../../utils.js";
2
2
  function getBreakpointFromWidth(breakpoints, width) {
3
3
  const sorted = sortBreakpoints(breakpoints);
4
4
  let matching = sorted[0];
@@ -143,8 +143,8 @@ export {
143
143
  getColsFromBreakpoint as a,
144
144
  getIndentationValue as b,
145
145
  addLayoutItemToBreakPointIfNoExists as c,
146
- addLayoutItemToBreakPoints as d,
147
- cloneLayouts as e,
146
+ cloneLayouts as d,
147
+ addLayoutItemToBreakPoints as e,
148
148
  findOrGenerateResponsiveLayout as f,
149
149
  getBreakpointFromWidth as g
150
150
  };
@@ -3,7 +3,7 @@ import { forwardRef, useRef, useState, useMemo, useCallback, useEffect } from "r
3
3
  import clsx from "clsx";
4
4
  import throttle from "lodash-es/throttle";
5
5
  import { useResizeObserver } from "@m4l/graphics";
6
- import { e as DEFAULT_CONTAINER_WIDTH, f as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../constants.js";
6
+ import { f as DEFAULT_CONTAINER_HEIGHT, e as DEFAULT_CONTAINER_WIDTH, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../constants.js";
7
7
  function withSizeProvider(ComposedComponent) {
8
8
  const WithSizeProvider = forwardRef((props, ref) => {
9
9
  const { measureBeforeMount = true, ...rest } = props;
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { useModuleSkeleton } from "@m4l/core";
3
3
  import clsx from "clsx";
4
4
  import { g as getPropDataTestId } from "../../test/getNameDataTestId.js";
5
- import { I as ICON_KEY_COMPONENT, a as ICON_PREFIX } from "./constants.js";
5
+ import { I as ICON_PREFIX, a as ICON_KEY_COMPONENT } from "./constants.js";
6
6
  import { g as getComponentClasses, a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
7
7
  import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
8
8
  import { T as TooltipStyled, R as RootStyled, I as IconStyled, a as IconSkeletonStyled } from "./slots/IconSlots.js";
@@ -1,6 +1,6 @@
1
1
  const ICON_KEY_COMPONENT = "M4LIcon";
2
2
  const ICON_PREFIX = "Icon";
3
3
  export {
4
- ICON_KEY_COMPONENT as I,
5
- ICON_PREFIX as a
4
+ ICON_PREFIX as I,
5
+ ICON_KEY_COMPONENT as a
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import { styled } from "@mui/material/styles";
2
2
  import { I as IconSlots } from "./IconEnum.js";
3
- import { I as ICON_KEY_COMPONENT } from "../constants.js";
3
+ import { a as ICON_KEY_COMPONENT } from "../constants.js";
4
4
  import { i as iconStyles } from "../Icon.styles.js";
5
5
  import { T as Tooltip } from "../../mui_extended/Tooltip/Tooltip.js";
6
6
  import { S as Skeleton } from "../../mui_extended/Skeleton/Skeleton.js";
@@ -5,7 +5,7 @@ import clsx from "clsx";
5
5
  import { L as LazyLoadComponent } from "./subcomponents/LazyLoadComponent/index.js";
6
6
  import { D as DivContainerSkeletonStyled, I as ImgSkeleton, a as ImgStyled } from "./slots/ImageSlots.js";
7
7
  import { g as getPropDataTestId } from "../../test/getNameDataTestId.js";
8
- import { s as svgDataUriSkeleton, I as IMAGE_KEY_COMPONENT, a as IMAGE_CLASSES } from "./constant.js";
8
+ import { s as svgDataUriSkeleton, I as IMAGE_CLASSES, a as IMAGE_KEY_COMPONENT } from "./constant.js";
9
9
  import { I as ImageSlots } from "./slots/ImageEnum.js";
10
10
  function Image(props) {
11
11
  const {
@@ -4,7 +4,7 @@ const IMAGE_KEY_COMPONENT = "M4LImage";
4
4
  const svgDataUriSkeleton = `data:image/svg+xml,%3Csvg width='36' height='37' viewBox='0 0 36 37' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Union'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M25.0001 14.7416C24.26 15.2361 23.39 15.5 22.5 15.5C21.3065 15.5 20.1619 15.0259 19.318 14.182C18.4741 13.3381 18 12.1935 18 11C18 10.11 18.2639 9.23996 18.7584 8.49994C19.2529 7.75992 19.9557 7.18314 20.7779 6.84254C21.6002 6.50195 22.505 6.41283 23.3779 6.58647C24.2508 6.7601 25.0526 7.18868 25.682 7.81802C26.3113 8.44736 26.7399 9.24918 26.9135 10.1221C27.0872 10.995 26.9981 11.8998 26.6575 12.7221C26.3169 13.5443 25.7401 14.2471 25.0001 14.7416ZM23.3334 9.7528C23.0867 9.58798 22.7967 9.5 22.5 9.5C22.1022 9.5 21.7206 9.65804 21.4393 9.93934C21.158 10.2206 21 10.6022 21 11C21 11.2967 21.088 11.5867 21.2528 11.8334C21.4176 12.08 21.6519 12.2723 21.926 12.3858C22.2001 12.4994 22.5017 12.5291 22.7926 12.4712C23.0836 12.4133 23.3509 12.2704 23.5607 12.0607C23.7704 11.8509 23.9133 11.5836 23.9712 11.2926C24.0291 11.0017 23.9994 10.7001 23.8858 10.426C23.7723 10.1519 23.58 9.91762 23.3334 9.7528Z' fill='%23091E42' fill-opacity='0.08'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0.5H33C33.7957 0.5 34.5587 0.81607 35.1213 1.37868C35.6839 1.94129 36 2.70435 36 3.5V33.5C36 34.2957 35.6839 35.0587 35.1213 35.6213C34.5587 36.1839 33.7957 36.5 33 36.5H3C2.20435 36.5 1.44129 36.1839 0.87868 35.6213C0.31607 35.0587 0 34.2957 0 33.5V3.5C0 2.70435 0.31607 1.94129 0.87868 1.37868C1.44129 0.81607 2.20435 0.5 3 0.5ZM3 24.5V33.5H33V30.5L25.5 23L23.115 25.385C22.5529 25.9438 21.7926 26.2574 21 26.2574C20.2074 26.2574 19.4471 25.9438 18.885 25.385L10.5 17L3 24.5ZM27.615 20.87L33 26.255V3.5H3V20.255L8.385 14.87C8.94709 14.3112 9.70744 13.9976 10.5 13.9976C11.2926 13.9976 12.0529 14.3112 12.615 14.87L21 23.255L23.385 20.87C23.9471 20.3112 24.7074 19.9976 25.5 19.9976C26.2926 19.9976 27.0529 20.3112 27.615 20.87Z' fill='%23091E42' fill-opacity='0.08'/%3E%3C/g%3E%3C/svg%3E%0A`;
5
5
  const IMAGE_CLASSES = getComponentClasses(IMAGE_KEY_COMPONENT, ImageSlots);
6
6
  export {
7
- IMAGE_KEY_COMPONENT as I,
8
- IMAGE_CLASSES as a,
7
+ IMAGE_CLASSES as I,
8
+ IMAGE_KEY_COMPONENT as a,
9
9
  svgDataUriSkeleton as s
10
10
  };
@@ -1,5 +1,5 @@
1
1
  import { styled } from "@mui/material/styles";
2
- import { I as IMAGE_KEY_COMPONENT } from "../constant.js";
2
+ import { a as IMAGE_KEY_COMPONENT } from "../constant.js";
3
3
  import { I as ImageSlots } from "./ImageEnum.js";
4
4
  import { i as imageStyles } from "../image.styles.js";
5
5
  import { S as Skeleton } from "../../mui_extended/Skeleton/Skeleton.js";
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef, useState, useRef, useImperativeHandle, useEffect } from "react";
3
3
  import { b as IntersectComponentStyled } from "../../slots/ImageSlots.js";
4
4
  import { g as getPropDataTestId } from "../../../../test/getNameDataTestId.js";
5
- import { I as IMAGE_KEY_COMPONENT } from "../../constant.js";
5
+ import { a as IMAGE_KEY_COMPONENT } from "../../constant.js";
6
6
  import { I as ImageSlots } from "../../slots/ImageEnum.js";
7
7
  const checkIntersections = (entries) => {
8
8
  entries.forEach((entry) => {
@@ -5,7 +5,7 @@ import { useEnvironment, useNetwork } from "@m4l/core";
5
5
  import { g as getPropDataTestId } from "../../test/getNameDataTestId.js";
6
6
  import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
7
7
  import { I as Image } from "../Image/Image.js";
8
- import { L as LanguagePopoverRootStyled, I as ImageStyled, P as PaperStyled } from "./slots/LanguagePopoverSlots.js";
8
+ import { L as LanguagePopoverRootStyled, P as PaperStyled, I as ImageStyled } from "./slots/LanguagePopoverSlots.js";
9
9
  import { L as LANGUAGE_POPOVER_KEY_COMPONENT } from "./constants.js";
10
10
  import { L as LanguagePopoverSlots } from "./slots/LanguagePopoverEnum.js";
11
11
  import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
@@ -8,8 +8,8 @@ import clsx from "clsx";
8
8
  import { d as dictionary } from "./dictionary.js";
9
9
  import { useRef, useState, useEffect } from "react";
10
10
  import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
11
- import { L as LoadingErrorSlots } from "./slots/LoadingErrorEnum.js";
12
11
  import { T as Typography } from "../mui_extended/Typography/Typography.js";
12
+ import { L as LoadingErrorSlots } from "./slots/LoadingErrorEnum.js";
13
13
  import { B as Button } from "../mui_extended/Button/Button.js";
14
14
  const LoadingError = (props) => {
15
15
  const { status, action, title, description, recommendation, introMessage, errorIcon, className, dataTestId, size = "medium" } = props;
@@ -2,8 +2,8 @@ import { styled } from "@mui/material/styles";
2
2
  import { L as LOADING_ERROR_KEY_COMPONENT } from "../constants.js";
3
3
  import { L as LoadingErrorSlots } from "./LoadingErrorEnum.js";
4
4
  import { l as loadingErrorStyles } from "../LoadingError.styles.js";
5
- import { T as Typography } from "../../mui_extended/Typography/Typography.js";
6
5
  import { L as LinearProgressIndeterminate } from "../../LinearProgressIndeterminate/LinearProgressIndeterminate.js";
6
+ import { T as Typography } from "../../mui_extended/Typography/Typography.js";
7
7
  import { I as Image } from "../../Image/Image.js";
8
8
  const LoadingErrorRootStyled = styled("div", {
9
9
  name: LOADING_ERROR_KEY_COMPONENT,
@@ -4,7 +4,7 @@ import { unstable_HistoryRouter } from "react-router-dom";
4
4
  import { createBrowserHistory } from "history";
5
5
  import EventEmitter from "eventemitter3";
6
6
  import NProgress from "nprogress";
7
- import { LocalesProvider, getLocaleFromNetwork, DeviceTypeProvider } from "@m4l/graphics";
7
+ import { DeviceTypeProvider, LocalesProvider, getLocaleFromNetwork } from "@m4l/graphics";
8
8
  import { EnvironmentProvider, HostToolsProvider, NetworkProvider, axiosOperation, AuthProvider } from "@m4l/core";
9
9
  import { A as AppearanceComponentProvider } from "../../contexts/AppearanceComponentContext/AppearanceComponentContext.js";
10
10
  import { c as createToaster } from "../ToastContainer/helpers/toaster.js";
@@ -103,7 +103,7 @@ function MFIsolationApp(props) {
103
103
  // eslint-disable-next-line react-hooks/exhaustive-deps
104
104
  []
105
105
  );
106
- return /* @__PURE__ */ jsx(EnvironmentProvider, { ...environment, children: /* @__PURE__ */ jsx(HostToolsProvider, { ...hostTools, children: /* @__PURE__ */ jsx(NetworkProvider, { axiosOperation, children: /* @__PURE__ */ jsx(unstable_HistoryRouter, { history, children: /* @__PURE__ */ jsx(LocalesProvider, { isMicroFrontEnd: false, getLocaleFromNetwork, children: /* @__PURE__ */ jsx(DeviceTypeProvider, { forcedDeviceType, children: /* @__PURE__ */ jsx(AuthProvider, { children: /* @__PURE__ */ jsx(MFAuthApp, { user, pwd, children: /* @__PURE__ */ jsx(
106
+ return /* @__PURE__ */ jsx(EnvironmentProvider, { ...environment, children: /* @__PURE__ */ jsx(HostToolsProvider, { ...hostTools, children: /* @__PURE__ */ jsx(NetworkProvider, { axiosOperation, children: /* @__PURE__ */ jsx(unstable_HistoryRouter, { history, children: /* @__PURE__ */ jsx(DeviceTypeProvider, { forcedDeviceType, children: /* @__PURE__ */ jsx(AuthProvider, { children: /* @__PURE__ */ jsx(MFAuthApp, { user, pwd, children: /* @__PURE__ */ jsx(LocalesProvider, { isMicroFrontEnd: false, getLocaleFromNetwork, children: /* @__PURE__ */ jsx(
107
107
  BaseModule,
108
108
  {
109
109
  moduleId,
@@ -3,7 +3,7 @@ import { useEffect } from "react";
3
3
  import { format } from "date-fns";
4
4
  import { useAuth, DomainCountryProvider } from "@m4l/core";
5
5
  import { HostThemeProvider, FormatterProvider } from "@m4l/graphics";
6
- import { getUserThemeOptions, fnComponentsOverrides } from "@m4l/styles";
6
+ import { fnComponentsOverrides, getUserThemeOptions } from "@m4l/styles";
7
7
  function MFAuthApp(props) {
8
8
  const { children, user, pwd } = props;
9
9
  const { isAuthenticated, isInitialized, login, user: authUser } = useAuth();
@@ -3,7 +3,7 @@ import { useEnvironment, useModuleDictionary } from "@m4l/core";
3
3
  import { useMemo, useRef, useState, useEffect } from "react";
4
4
  import { W as WrapperNoItemSelectedStyled, N as NoItemSelectedContainer, I as ImgStyled, a as WrapperTpography, T as TypographyStyledTitle, b as TypographyStyledDetail, L as LabelDetail } from "./slots/NoItemSelectedSlots.js";
5
5
  import { clsx } from "clsx";
6
- import { N as NO_ITEM_SELECT_KEY_COMPONENT, c as classNoItemSelected } from "./constant.js";
6
+ import { c as classNoItemSelected, N as NO_ITEM_SELECT_KEY_COMPONENT } from "./constant.js";
7
7
  import { g as getPropDataTestId } from "../../test/getNameDataTestId.js";
8
8
  import { N as NoItemSelectedSlots } from "./slots/NoItemSelectedEnum.js";
9
9
  import { D as DICTIONARY } from "./dictionary.js";
@@ -1,4 +1,4 @@
1
- import { c as clampStepwise, i as isNumber } from "../../utils.js";
1
+ import { i as isNumber, c as clampStepwise } from "../../utils.js";
2
2
  import { N as NumberInputActionTypes } from "./NumberInputActions.js";
3
3
  function getClampedValues(rawValue, context) {
4
4
  const { min, max, step, withDecimal } = context;
@@ -7,8 +7,8 @@ import { i as isNumber } from "../../utils.js";
7
7
  import { N as NUMBER_INPUT_KEY_COMPONENT } from "../../constants.js";
8
8
  import { N as NumberInputActionTypes } from "./NumberInputActions.js";
9
9
  import { n as numberInputReducer } from "./NumberInputReducer.js";
10
- const STEP_KEYS = ["ArrowUp", "ArrowDown", "PageUp", "PageDown", "Enter"];
11
- const SUPPORTED_KEYS = [...STEP_KEYS, "Home", "End"];
10
+ const STEP_KEYS = ["ArrowUp", "ArrowDown", "PageUp", "PageDown"];
11
+ const PREVENT_DEFAULT_KEYS = [...STEP_KEYS, "Home", "End"];
12
12
  function getInputValueAsString(v) {
13
13
  return v ? String(v.trim()) : String(v);
14
14
  }
@@ -56,9 +56,11 @@ const useNumberInput = (parameters) => {
56
56
  (event, field, fieldValue, reason) => {
57
57
  if (field === "value" && typeof fieldValue !== "string") {
58
58
  switch (reason) {
59
+ // only a blur event will dispatch `numberInput:clamp`
59
60
  case "numberInput:inputChange":
60
61
  onChange?.(event, fieldValue);
61
62
  break;
63
+ // only a blur event will dispatch `numberInput:clamp`
62
64
  case "numberInput:clamp":
63
65
  onChange?.(event, fieldValue);
64
66
  break;
@@ -187,7 +189,7 @@ const useNumberInput = (parameters) => {
187
189
  if (event.defaultMuiPrevented || event.defaultPrevented) {
188
190
  return;
189
191
  }
190
- if (SUPPORTED_KEYS.includes(event.key)) {
192
+ if (PREVENT_DEFAULT_KEYS.includes(event.key)) {
191
193
  event.preventDefault();
192
194
  }
193
195
  switch (event.key) {
@@ -1,5 +1,5 @@
1
1
  import { g as getDataGridComponentsDictionary } from "../DataGrid/dictionary.js";
2
- import { a as getDynamicFilterComponentsDictionary } from "../DynamicFilter/dictionary.js";
2
+ import { g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/dictionary.js";
3
3
  function getObjectLogsComponentsDictionary() {
4
4
  return ["object_logs"].concat(getDataGridComponentsDictionary()).concat(getDynamicFilterComponentsDictionary());
5
5
  }
@@ -25,14 +25,6 @@ const pagerStyles = {
25
25
  height: theme.vars.size.baseSpacings.sp8
26
26
  }
27
27
  }),
28
- /**
29
- * Rows Per Page Container Styles
30
- */
31
- rowsPerPageContainer: () => ({
32
- display: "flex",
33
- flexDirection: "row",
34
- alignItems: "center"
35
- }),
36
28
  /**
37
29
  * Label Select Container Styles
38
30
  */
@@ -1,13 +1,8 @@
1
1
  const PAGER_DICTIONARY = {
2
2
  rows_per_page: "pager.rows_per_page",
3
- first: "pager.first",
4
- previous: "pager.previous",
5
- before: "pager.before",
6
- last: "pager.last",
7
3
  of: "pager.of",
8
4
  page: "pager.page",
9
5
  no_records: "pager.no_records",
10
- total_rows: "pager.total_rows",
11
6
  rows: "pager.rows"
12
7
  };
13
8
  function getPagerComponentsDictionary() {
@@ -3,7 +3,7 @@ import { c as classes } from "../../classes/index.js";
3
3
  import clsx from "clsx";
4
4
  import { createRef, useEffect } from "react";
5
5
  import { Chart, registerables } from "chart.js";
6
- import { ScatterWithErrorBarsController, LineWithErrorBarsChart, PointWithErrorBar } from "chartjs-chart-error-bars";
6
+ import { LineWithErrorBarsChart, ScatterWithErrorBarsController, PointWithErrorBar } from "chartjs-chart-error-bars";
7
7
  import { useBase, getPropertyByString, evaluateWithContext } from "@m4l/core";
8
8
  import { C as ChartNodeRootStyled } from "../../slots/PrintingSystemSlots.js";
9
9
  Chart.register(
@@ -2,8 +2,8 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import React, { useId } from "react";
3
3
  import clsx from "clsx";
4
4
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.js";
5
- import { P as PROPERTY_VALUE_KEY_COMPONENT, T as TEST_PROPS_DATA, C as COMPONENT_PREFIX } from "./constants.js";
6
- import { g as getPropDataTestId, a as getNameDataTestId } from "../../test/getNameDataTestId.js";
5
+ import { T as TEST_PROPS_DATA, C as COMPONENT_PREFIX, P as PROPERTY_VALUE_KEY_COMPONENT } from "./constants.js";
6
+ import { a as getNameDataTestId, g as getPropDataTestId } from "../../test/getNameDataTestId.js";
7
7
  import { P as PropertyValueRootStyled, N as NameStyled, V as ValueStyled } from "./slots/PropertyValueSlots.js";
8
8
  import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
9
9
  import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
@@ -56,7 +56,7 @@ function PropertyValue(props) {
56
56
  };
57
57
  const renderValue = () => {
58
58
  if (typeof value === "string" || typeof value === "number" || value === null || value === void 0) {
59
- return /* @__PURE__ */ jsx(Typography, { id: inputId, size: normalizedSize, variant: "body", children: getNullGuard(value) });
59
+ return /* @__PURE__ */ jsx(Typography, { id: inputId, size: normalizedSize, variant: "body", style: { wordBreak: "break-word" }, children: getNullGuard(value) });
60
60
  }
61
61
  if (React.isValidElement(value)) {
62
62
  return React.cloneElement(value, { size: normalizedSize, id: inputId });