@m4l/components 9.3.2-B04082025-beta.3 → 9.3.2-B11082025-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 (205) hide show
  1. package/@types/types.d.ts +33 -3
  2. package/components/Card/Card.d.ts +7 -0
  3. package/components/Card/Card.styles.d.ts +2 -0
  4. package/components/Card/constants.d.ts +7 -0
  5. package/components/Card/helpers/getSizeSpacing.d.ts +7 -0
  6. package/components/Card/index.d.ts +1 -0
  7. package/components/Card/slots/CardEnum.d.ts +3 -0
  8. package/components/Card/slots/CardSlots.d.ts +3 -0
  9. package/components/Card/types.d.ts +59 -0
  10. package/components/DynamicFilter/DynamicFilter.styles.js +3 -1
  11. package/components/DynamicSort/DynamicSort.styles.js +3 -1
  12. package/components/ImageText/ImageText.d.ts +7 -0
  13. package/components/ImageText/ImageText.js +62 -0
  14. package/components/ImageText/ImageText.styles.d.ts +2 -0
  15. package/components/ImageText/{components/NoItemPrivileges/NoItemPrivilegesStyles.js → ImageText.styles.js} +21 -4
  16. package/components/ImageText/constants.d.ts +16 -0
  17. package/components/ImageText/constants.js +10 -0
  18. package/components/ImageText/index.d.ts +1 -3
  19. package/components/ImageText/slots/ImageTextEnum.d.ts +8 -0
  20. package/components/ImageText/slots/ImageTextEnum.js +12 -0
  21. package/components/ImageText/slots/ImageTextSlots.d.ts +18 -0
  22. package/components/ImageText/slots/ImageTextSlots.js +38 -0
  23. package/components/ImageText/types.d.ts +40 -0
  24. package/components/NoItemPrivileges/NoItemPrivileges.js +33 -0
  25. package/components/NoItemPrivileges/NoItemPrivilegesStyles.js +6 -0
  26. package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/constants.d.ts +0 -1
  27. package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/constants.js +3 -4
  28. package/components/NoItemPrivileges/slots/NoItemPrivilegesEnum.d.ts +3 -0
  29. package/components/NoItemPrivileges/slots/NoItemPrivilegesEnum.js +7 -0
  30. package/components/NoItemPrivileges/slots/NoItemPrivilegesSlots.d.ts +3 -0
  31. package/components/NoItemPrivileges/slots/NoItemPrivilegesSlots.js +12 -0
  32. package/components/NoItemPrivileges/test/NoItemPrivileges.test.d.ts +1 -0
  33. package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/types.d.ts +1 -1
  34. package/components/NoItemSelected/NoItemSelected.js +34 -0
  35. package/components/NoItemSelected/NoItemSelected.styles.js +6 -0
  36. package/components/NoItemSelected/constant.d.ts +2 -0
  37. package/components/NoItemSelected/constant.js +8 -0
  38. package/components/{ImageText/components/NoItemSelected → NoItemSelected}/dictionary.d.ts +0 -2
  39. package/components/NoItemSelected/dictionary.js +12 -0
  40. package/components/NoItemSelected/slots/NoItemSelectedEnum.d.ts +3 -0
  41. package/components/NoItemSelected/slots/NoItemSelectedEnum.js +7 -0
  42. package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +3 -0
  43. package/components/NoItemSelected/slots/NoItemSelectedSlots.js +12 -0
  44. package/components/NoItemSelected/test/NoItemSelected.test.d.ts +1 -0
  45. package/components/{ImageText/components/NoItemSelected → NoItemSelected}/types.d.ts +6 -7
  46. package/components/NumberInput/NumberInput.styles.js +1 -0
  47. package/components/ObjectLogs/helpers/Fields/filterFields.d.ts +1 -1
  48. package/components/ObjectLogs/hooks/useDetailFormatter.js +1 -1
  49. package/components/ObjectLogs/hooks/useFilterAndSort.js +2 -1
  50. package/components/PaperForm/PaperForm.js +1 -2
  51. package/components/PaperForm/components/Header.js +1 -10
  52. package/components/PaperForm/styles.js +1 -4
  53. package/components/PropertyValue/PropertyValue.js +1 -1
  54. package/components/SettingsLayout/SettingsLayout.d.ts +5 -0
  55. package/components/SettingsLayout/SettingsLayout.js +34 -0
  56. package/components/SettingsLayout/SettingsLayout.styles.d.ts +2 -0
  57. package/components/SettingsLayout/SettingsLayout.styles.js +270 -0
  58. package/components/SettingsLayout/constants.d.ts +7 -0
  59. package/components/SettingsLayout/constants.js +10 -0
  60. package/components/SettingsLayout/dictionary.d.ts +8 -0
  61. package/components/SettingsLayout/dictionary.js +11 -0
  62. package/components/SettingsLayout/icons.d.ts +14 -0
  63. package/components/SettingsLayout/icons.js +17 -0
  64. package/components/SettingsLayout/index.d.ts +2 -0
  65. package/components/SettingsLayout/slots/SettingsLayoutEnum.d.ts +17 -0
  66. package/components/SettingsLayout/slots/SettingsLayoutEnum.js +21 -0
  67. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +47 -0
  68. package/components/SettingsLayout/slots/SettingsLayoutSlots.js +83 -0
  69. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.d.ts +5 -0
  70. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.js +37 -0
  71. package/components/SettingsLayout/subcomponents/SettingColorPresets/index.d.ts +1 -0
  72. package/components/SettingsLayout/subcomponents/SettingColorPresets/types.d.ts +3 -0
  73. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.d.ts +5 -0
  74. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.js +37 -0
  75. package/components/SettingsLayout/subcomponents/SettingDirection/index.d.ts +1 -0
  76. package/components/SettingsLayout/subcomponents/SettingDirection/types.d.ts +3 -0
  77. package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.d.ts +5 -0
  78. package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.js +40 -0
  79. package/components/SettingsLayout/subcomponents/SettingFullscreen/index.d.ts +1 -0
  80. package/components/SettingsLayout/subcomponents/SettingFullscreen/index.js +1 -0
  81. package/components/SettingsLayout/subcomponents/SettingFullscreen/types.d.ts +3 -0
  82. package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.d.ts +8 -0
  83. package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.js +23 -0
  84. package/components/SettingsLayout/subcomponents/SettingItem/index.d.ts +1 -0
  85. package/components/SettingsLayout/subcomponents/SettingItem/index.js +1 -0
  86. package/components/SettingsLayout/subcomponents/SettingItem/types.d.ts +5 -0
  87. package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.d.ts +8 -0
  88. package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.js +24 -0
  89. package/components/SettingsLayout/subcomponents/SettingItemColor/index.d.ts +1 -0
  90. package/components/SettingsLayout/subcomponents/SettingItemColor/index.js +1 -0
  91. package/components/SettingsLayout/subcomponents/SettingItemColor/types.d.ts +6 -0
  92. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.d.ts +5 -0
  93. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.js +36 -0
  94. package/components/SettingsLayout/subcomponents/SettingMode/index.d.ts +1 -0
  95. package/components/SettingsLayout/subcomponents/SettingMode/index.js +1 -0
  96. package/components/SettingsLayout/subcomponents/SettingMode/types.d.ts +3 -0
  97. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.d.ts +5 -0
  98. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.js +76 -0
  99. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.d.ts +1 -0
  100. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.js +1 -0
  101. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/types.d.ts +5 -0
  102. package/components/SettingsLayout/test/SettingsLayout.test.d.ts +18 -0
  103. package/components/SettingsLayout/types.d.ts +47 -0
  104. package/components/SideBar/subcomponents/ContentComponent/style.js +3 -0
  105. package/components/ToastContainer/ToastContainer.js +0 -1
  106. package/components/ToastContainer/ToastContainer.styles.js +126 -122
  107. package/components/ToastContainer/constants.d.ts +670 -0
  108. package/components/ToastContainer/constants.js +672 -1
  109. package/components/hook-form/RHFColorPicker/RHFColorPicker.styles.js +2 -1
  110. package/components/hook-form/RHFDateTime/RHFDateTime.styles.js +2 -1
  111. package/components/hook-form/RHFNumberInput/RHFNumberInput.styles.js +2 -1
  112. package/components/hook-form/RHFPeriod/RHFPeriod.styles.js +2 -5
  113. package/components/hook-form/RHFPeriod/slots/RHFPeriodEnum.d.ts +1 -1
  114. package/components/hook-form/RHFPeriod/slots/RHFPeriodEnum.js +1 -1
  115. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
  116. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.js +6 -6
  117. package/components/hook-form/RHFPeriod/subcomponents/Period/Period.js +13 -11
  118. package/components/hook-form/RHFPeriod/subcomponents/Period/dictionary.js +1 -1
  119. package/components/hook-form/RHFPeriod/subcomponents/Period/types.d.ts +2 -2
  120. package/components/hook-form/RHFSelect/RHFSelect.styles.js +2 -1
  121. package/components/hook-form/RHFTextField/RHFTextField.js +5 -3
  122. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  123. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +63 -55
  124. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  125. package/components/index.d.ts +3 -0
  126. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +1 -1
  127. package/components/mui_extended/Button/ButtonStyles.js +2 -1
  128. package/components/mui_extended/IconButton/IconButton.styles.js +1 -1
  129. package/components/mui_extended/MenuItem/MenuItem.styles.js +2 -1
  130. package/components/mui_extended/TextField/TextField.js +6 -8
  131. package/components/mui_extended/TextField/TextField.styles.js +1 -0
  132. package/components/mui_extended/TextField/constants.d.ts +5 -5
  133. package/components/mui_extended/TextField/constants.js +2 -2
  134. package/components/mui_extended/TextField/index.d.ts +1 -0
  135. package/components/mui_extended/TextField/slots/TextFieldEnum.d.ts +1 -1
  136. package/components/mui_extended/TextField/slots/TextFieldEnum.js +8 -8
  137. package/components/mui_extended/TextField/types.d.ts +1 -1
  138. package/hooks/index.d.ts +1 -0
  139. package/hooks/useIsVisible/index.d.ts +1 -0
  140. package/hooks/useIsVisible/index.js +1 -0
  141. package/hooks/useIsVisible/useIsVisible.d.ts +8 -0
  142. package/{components/ImageText/hooks/useIsVisible/index.js → hooks/useIsVisible/useIsVisible.js} +3 -3
  143. package/index.js +21 -17
  144. package/package.json +3 -3
  145. package/storybook/components/Card/Card.stories.d.ts +45 -0
  146. package/storybook/components/Card/subcomponents/ContentCard.d.ts +8 -0
  147. package/storybook/components/Card/subcomponents/constants.d.ts +9 -0
  148. package/storybook/components/NoItemPrivileges/NoItemPrivileges.stories.d.ts +1 -1
  149. package/storybook/components/NoItemSelect/NoItemSelect.stories.d.ts +1 -1
  150. package/storybook/components/SettingsLayout/SettingsLayout.stories.d.ts +6 -0
  151. package/storybook/components/SettingsLayout/subcomponents/SettingsLayoutRender/SettingsLayoutsRender.d.ts +5 -0
  152. package/storybook/components/SettingsLayout/subcomponents/SettingsLayoutRender/index.d.ts +1 -0
  153. package/storybook/components/extended/mui/TextField/TextFieldText.stories.d.ts +1 -1
  154. package/storybook/components/paperForm/PaperForm.stories.d.ts +4 -0
  155. package/storybook/hook-form/RHFTextField/RHFTextField.stories.d.ts +4 -0
  156. package/storybook/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.stories.d.ts +19 -0
  157. package/{components/mui_extended/TextField/helpers → utils}/getLimitCharacters/getLimitCharacters.d.ts +2 -2
  158. package/utils/getLimitCharacters/index.js +1 -0
  159. package/utils/getLimitCharacters/test/getLimitCharacters.test.d.ts +1 -0
  160. package/utils/getLimitCharacters/types.d.ts +11 -0
  161. package/components/ImageText/components/ImageTextContainer/ImageTextContainer.d.ts +0 -7
  162. package/components/ImageText/components/ImageTextContainer/ImageTextContainer.js +0 -25
  163. package/components/ImageText/components/ImageTextContainer/ImageTextContainerStyle.d.ts +0 -2
  164. package/components/ImageText/components/ImageTextContainer/ImageTextContainerStyle.js +0 -22
  165. package/components/ImageText/components/ImageTextContainer/constants.d.ts +0 -8
  166. package/components/ImageText/components/ImageTextContainer/constants.js +0 -8
  167. package/components/ImageText/components/ImageTextContainer/index.d.ts +0 -1
  168. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerEnum.d.ts +0 -3
  169. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerEnum.js +0 -7
  170. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerSlots.d.ts +0 -3
  171. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerSlots.js +0 -12
  172. package/components/ImageText/components/ImageTextContainer/types.d.ts +0 -22
  173. package/components/ImageText/components/NoItemPrivileges/NoItemPrivileges.js +0 -65
  174. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesEnum.d.ts +0 -7
  175. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesEnum.js +0 -11
  176. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesSlots.d.ts +0 -15
  177. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesSlots.js +0 -33
  178. package/components/ImageText/components/NoItemSelected/NoItemSelected.js +0 -62
  179. package/components/ImageText/components/NoItemSelected/NoItemSelected.styles.js +0 -89
  180. package/components/ImageText/components/NoItemSelected/constant.d.ts +0 -2
  181. package/components/ImageText/components/NoItemSelected/constant.js +0 -8
  182. package/components/ImageText/components/NoItemSelected/dictionary.js +0 -11
  183. package/components/ImageText/components/NoItemSelected/slots/NoItemSelectedEnum.d.ts +0 -8
  184. package/components/ImageText/components/NoItemSelected/slots/NoItemSelectedEnum.js +0 -12
  185. package/components/ImageText/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +0 -18
  186. package/components/ImageText/components/NoItemSelected/slots/NoItemSelectedSlots.js +0 -39
  187. package/components/ImageText/hooks/useIsVisible/index.d.ts +0 -6
  188. package/components/hook-form/RHFDateTime/styles.d.ts +0 -1
  189. package/components/mui_extended/TextField/helpers/getLimitCharacters/types.d.ts +0 -5
  190. /package/components/{ImageText/components/NoItemPrivileges/test/NoItemPrivileges.test.d.ts → Card/helpers/getSizeSpacing.test.d.ts} +0 -0
  191. /package/components/{mui_extended/TextField/helpers/getLimitCharacters/test/getLimitCharacters.test.d.ts → Card/test/Card.test.d.ts} +0 -0
  192. /package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/NoItemPrivileges.d.ts +0 -0
  193. /package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/NoItemPrivilegesStyles.d.ts +0 -0
  194. /package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/dictionary.d.ts +0 -0
  195. /package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/dictionary.js +0 -0
  196. /package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/index.d.ts +0 -0
  197. /package/components/{ImageText/components/ImageTextContainer → NoItemPrivileges}/index.js +0 -0
  198. /package/components/{ImageText/components/NoItemSelected → NoItemSelected}/NoItemSelected.d.ts +0 -0
  199. /package/components/{ImageText/components/NoItemSelected → NoItemSelected}/NoItemSelected.styles.d.ts +0 -0
  200. /package/components/{ImageText/components/NoItemSelected → NoItemSelected}/index.d.ts +0 -0
  201. /package/components/{ImageText/components/NoItemPrivileges → NoItemSelected}/index.js +0 -0
  202. /package/components/{ImageText/components/NoItemSelected → SettingsLayout}/index.js +0 -0
  203. /package/components/{mui_extended/TextField/helpers/getLimitCharacters → SettingsLayout/subcomponents/SettingColorPresets}/index.js +0 -0
  204. /package/{components/mui_extended/TextField/helpers → utils}/getLimitCharacters/getLimitCharacters.js +0 -0
  205. /package/{components/mui_extended/TextField/helpers → utils}/getLimitCharacters/index.d.ts +0 -0
package/@types/types.d.ts CHANGED
@@ -134,7 +134,7 @@ import { ActionFormCancelOwnerState, ActionFormCancelSlotsType } from '../compon
134
134
  import { AreasAdminOwnerState, AreasAdminType } from '../components/areas/components/AreasAdmin/types';
135
135
  import { DateTimePickerOwnerState, DateTimePickerSlotsType } from '../components/mui_extended/DateTimePicker/types';
136
136
  import { DividerOwnerState, DividerSlotsType } from '../components/mui_extended/Divider/types';
137
- import { NoItemSelectedOwnerState, NoItemSelectedSlotsType } from '../components/ImageText/components/NoItemSelected/types';
137
+ import { NoItemSelectedOwnerState, NoItemSelectedSlotsType } from '../components/NoItemSelected/types';
138
138
  import { ActionFormIntroOwnerState, ActionFormIntroSlotsType } from '../components/CommonActions/components/ActionFormIntro/types';
139
139
  import { AreasViewerOwnerState, AreasViewerType } from '../components/areas/components/AreasViewer/types';
140
140
  import { TimePickerOwnerState, TimePickerSlotsType } from '../components/mui_extended/TimePicker/types';
@@ -144,13 +144,15 @@ import { RHFUploadSingleFileOwnerState, RHFUploadSingleFileSlotsType } from '../
144
144
  import { ChipStatusFormatterSlotsType } from '../components/formatters/ChipStatusFormatter/types';
145
145
  import { RHFUploadImageOwnerState, RHFUploadImageSlotsType } from '../components/hook-form/RHFUpload/RHFUploadImage/types';
146
146
  import { PrintingSystemOwnerState, PrintingSystemSlotsType } from '../components/PrintingSystem/types';
147
+ import { SettingsLayoutOwnerState, SettingsLayoutSlotsType } from '../components/SettingsLayout/types';
147
148
  import { ScrollBarOwnerState, ScrollBarSlotsType } from '../components/ScrollBar/types';
148
-
149
149
  import { SplitLayoutOwnerState } from '../components/extended/React-resizable-panels/types';
150
150
  import { ObjectLogsOwnerState, ObjectLogsSlotsType } from '../components/ObjectLogs/types';
151
151
  import { LanguagePopoverOwnerState, LanguagePopoverSlotsType } from '../components/LanguagePopover/types';
152
+ import { CardOwnerState, CardSlotsType } from '../components/Card/types';
152
153
  import { ContainerFlowOwnerState, ContainerFlowSlotsType } from '../components/ContainerFlow/types';
153
- import { NoItemPrivilegesOwnerState, NoItemPrivilegesSlotsType } from '../components/ImageText/components/NoItemPrivileges/types';
154
+ import { NoItemPrivilegesOwnerState, NoItemPrivilegesSlotsType } from '../components/NoItemPrivileges/types';
155
+ import { ImageTextOwnerState, ImageTextSlotsType } from '../components/ImageText/types';
154
156
  declare module '@mui/material/styles' {
155
157
  // Define the slots in the theme
156
158
  interface ComponentNameToClassKey {
@@ -226,12 +228,16 @@ declare module '@mui/material/styles' {
226
228
  M4LChipStatusFormatter: ChipStatusFormatterSlotsType;
227
229
  M4LRHFUploadImage: RHFUploadImageSlotsType;
228
230
  M4LPrintingSystem: PrintingSystemSlotsType;
231
+ M4LSettingsLayout: SettingsLayoutSlotsType;
229
232
  M4LScrollbar: ScrollBarSlotsType;
230
233
  M4LSplitLayout: SplitLayoutOwnerState;
231
234
  M4LObjectLogs: ObjectLogsSlotsType;
232
235
  M4LLanguagePopover: LanguagePopoverSlotsType;
236
+ M4LCard: CardSlotsType;
233
237
  M4LContainerFlow: ContainerFlowSlotsType;
234
238
  M4LNoItemPrivileges: NoItemPrivilegesSlotsType;
239
+ M4LSettingsLayoutBase: SettingsLayoutSlotsType;
240
+ M4LImageText: ImageTextSlotsType;
235
241
  }
236
242
  interface ComponentsPropsList {
237
243
  // Extend ComponentsProps or ComponentsOwnerState(this extend ComponentProps)
@@ -307,12 +313,16 @@ declare module '@mui/material/styles' {
307
313
  M4LChipStatusFormatter: Partial<ChipStatusFormatterOwnerState>;
308
314
  M4LRHFUploadImage: Partial<RHFUploadImageOwnerState>;
309
315
  M4LPrintingSystem: Partial<PrintingSystemOwnerState>;
316
+ M4LSettingsLayout: Partial<SettingsLayoutOwnerState>;
310
317
  M4LScrollBar: Partial<ScrollBarOwnerState>;
311
318
  M4LSplitLayout: Partial<SplitLayoutOwnerState>;
312
319
  M4LObjectLogs: Partial<ObjectLogsOwnerState>;
313
320
  M4LLanguagePopover: Partial<LanguagePopoverOwnerState>;
321
+ M4LCard: Partial<CardOwnerState>;
314
322
  M4LContainerFlow: Partial<ContainerFlowOwnerState>;
315
323
  M4LNoItemPrivileges: Partial<NoItemPrivilegesOwnerState>;
324
+ M4LSettingsLayoutBase: Partial<SettingsLayoutOwnerState>;
325
+ M4LImageText: Partial<ImageTextOwnerState>;
316
326
  }
317
327
  interface Components {
318
328
  M4LDynamicFilter?: {
@@ -685,6 +695,11 @@ declare module '@mui/material/styles' {
685
695
  styleOverrides?: ComponentsOverrides<Theme>['M4LPrintingSystem'];
686
696
  variants?: ComponentsVariants['M4LPrintingSystem'];
687
697
  };
698
+ M4LSettingsLayout?: {
699
+ defaultProps?: ComponentsPropsList['M4LSettingsLayout'];
700
+ styleOverrides?: ComponentsOverrides<Theme>['M4LSettingsLayout'];
701
+ variants?: ComponentsVariants['M4LSettingsLayout'];
702
+ };
688
703
  M4LScrollBar?: {
689
704
  defaultProps?: ComponentsPropsList['M4LScrollBar'];
690
705
  styleOverrides?: ComponentsOverrides<Theme>['M4LScrollBar'];
@@ -705,6 +720,11 @@ declare module '@mui/material/styles' {
705
720
  styleOverrides?: ComponentsOverrides<Theme>['M4LLanguagePopover'];
706
721
  variants?: ComponentsVariants['M4LLanguagePopover'];
707
722
  };
723
+ M4LCard?: {
724
+ defaultProps?: ComponentsPropsList['M4LCard'];
725
+ styleOverrides?: ComponentsOverrides<Theme>['M4LCard'];
726
+ variants?: ComponentsVariants['M4LCard'];
727
+ };
708
728
  M4LContainerFlow?: {
709
729
  defaultProps?: ComponentsPropsList['M4LContainerFlow'];
710
730
  styleOverrides?: ComponentsOverrides<Theme>['M4LContainerFlow'];
@@ -715,5 +735,15 @@ declare module '@mui/material/styles' {
715
735
  styleOverrides?: ComponentsOverrides<Theme>['M4LNoItemPrivileges'];
716
736
  variants?: ComponentsVariants['M4LNoItemPrivileges'];
717
737
  };
738
+ M4LSettingsLayoutBase?: {
739
+ defaultProps?: ComponentsPropsList['M4LSettingsLayoutBase'];
740
+ styleOverrides?: ComponentsOverrides<Theme>['M4LSettingsLayoutBase'];
741
+ variants?: ComponentsVariants['M4LSettingsLayoutBase'];
742
+ };
743
+ M4LImageText?: {
744
+ defaultProps?: ComponentsPropsList['M4LImageText'];
745
+ styleOverrides?: ComponentsOverrides<Theme>['M4LImageText'];
746
+ variants?: ComponentsVariants['M4LImageText'];
747
+ };
718
748
  }
719
749
  }
@@ -0,0 +1,7 @@
1
+ import { CardProps } from './types';
2
+ /**
3
+ * Componente de tarjeta.
4
+ * @param props - Propiedades del componente.
5
+ * @returns Componente de tarjeta.
6
+ */
7
+ export declare const Card: (props: CardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { CardStyles } from './types';
2
+ export declare const cardStyles: CardStyles;
@@ -0,0 +1,7 @@
1
+ export declare const CARD_KEY = "M4LCard";
2
+ export declare const CARD_CLASSES: Record<string, string>;
3
+ export declare const CARD_SIZES: {
4
+ compact: number;
5
+ standard: number;
6
+ comfortable: number;
7
+ };
@@ -0,0 +1,7 @@
1
+ import { CardProps } from '../types';
2
+ /**
3
+ * Obtiene el tamaño del gap de la tarjeta.
4
+ * @param gap - El gap de la tarjeta.
5
+ * @returns El tamaño del gap de la tarjeta.
6
+ */
7
+ export declare const getSizeSpacing: (gap: CardProps["gap"] | number | undefined | null) => number;
@@ -0,0 +1 @@
1
+ export { Card } from './Card';
@@ -0,0 +1,3 @@
1
+ export declare enum CardSlots {
2
+ root = "root"
3
+ }
@@ -0,0 +1,3 @@
1
+ export declare const CardRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
2
+ ownerState?: (Partial<import('../types').CardOwnerState> & Record<string, unknown>) | undefined;
3
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
@@ -0,0 +1,59 @@
1
+ import { Theme } from '@mui/material';
2
+ import { M4LOverridesStyleRules } from '../../@types/augmentations';
3
+ import { CARD_KEY } from './constants';
4
+ import { CardSlots } from './slots/CardEnum';
5
+ export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
6
+ /**
7
+ * Contenido de la tarjeta.
8
+ */
9
+ children: React.ReactNode;
10
+ /**
11
+ * Variante de la tarjeta.
12
+ */
13
+ variant?: 'text' | 'outlined';
14
+ /**
15
+ * Espacio entre los elementos de la tarjeta.
16
+ */
17
+ gap?: number | 'compact' | 'standard' | 'comfortable';
18
+ /**
19
+ * Espacio entre los elementos de la tarjeta.
20
+ */
21
+ padding?: number | 'compact' | 'standard' | 'comfortable';
22
+ /**
23
+ * Dirección de la tarjeta.
24
+ */
25
+ direction?: 'row' | 'column';
26
+ /**
27
+ * Altura de la tarjeta.
28
+ */
29
+ height?: number | 'auto';
30
+ /**
31
+ * Clase de la tarjeta.
32
+ */
33
+ className?: string;
34
+ /**
35
+ * Estilo de la tarjeta.
36
+ */
37
+ justifyContent?: React.CSSProperties['justifyContent'];
38
+ /**
39
+ * Estilo de la tarjeta.
40
+ */
41
+ alignItems?: React.CSSProperties['alignItems'];
42
+ /**
43
+ * Estilo de la tarjeta.
44
+ */
45
+ selected?: boolean;
46
+ }
47
+ export type CardSlotsType = keyof typeof CardSlots;
48
+ export type CardOwnerState = {
49
+ variant: CardProps['variant'];
50
+ gap: CardProps['gap'];
51
+ height: CardProps['height'];
52
+ padding: CardProps['padding'];
53
+ direction: CardProps['direction'];
54
+ onClick: boolean;
55
+ justifyContent: CardProps['justifyContent'];
56
+ alignItems: CardProps['alignItems'];
57
+ selected: CardProps['selected'];
58
+ };
59
+ export type CardStyles = M4LOverridesStyleRules<CardSlotsType, typeof CARD_KEY, Theme>;
@@ -236,6 +236,7 @@ const dynamicFilterStyles = {
236
236
  popoverFilter: ({ theme }) => ({
237
237
  width: "auto",
238
238
  "& .MuiPaper-root": {
239
+ borderRadius: `${theme.vars.size.borderRadius.r3}!important`,
239
240
  padding: "0 !important",
240
241
  minWidth: "220px",
241
242
  maxWidth: "100%",
@@ -252,6 +253,7 @@ const dynamicFilterStyles = {
252
253
  height: "fit-content"
253
254
  },
254
255
  "& .M4LWindowBase-root": {
256
+ borderRadius: `${theme.vars.size.borderRadius.r3}!important`,
255
257
  border: "unset!important",
256
258
  "& .M4LWindowBase-headerWindowComponent": {
257
259
  cursor: "unset"
@@ -288,7 +290,7 @@ const dynamicFilterStyles = {
288
290
  popoverFilterContainerFields: ({ theme }) => ({
289
291
  display: "flex",
290
292
  flexDirection: "column",
291
- gap: theme.vars.size.baseSpacings.sp4
293
+ gap: theme.vars.size.baseSpacings.sp6
292
294
  })
293
295
  };
294
296
  export {
@@ -240,6 +240,7 @@ const dynamicSortStyles = {
240
240
  minWidth: "220px",
241
241
  maxWidth: "100%",
242
242
  minHeight: "auto",
243
+ borderRadius: `${theme.vars.size.borderRadius.r3}!important`,
243
244
  boxShadow: theme.customShadows?.z3,
244
245
  "& .M4LPopover-arrowStyle": {
245
246
  display: "none"
@@ -252,6 +253,7 @@ const dynamicSortStyles = {
252
253
  height: "fit-content"
253
254
  },
254
255
  "& .M4LWindowBase-root": {
256
+ borderRadius: `${theme.vars.size.borderRadius.r3} !important`,
255
257
  border: "unset!important",
256
258
  "& .M4LWindowBase-headerWindowComponent": {
257
259
  cursor: "unset"
@@ -265,7 +267,7 @@ const dynamicSortStyles = {
265
267
  popoverSortContainerFields: ({ theme }) => ({
266
268
  display: "flex",
267
269
  flexDirection: "column",
268
- gap: theme.vars.size.baseSpacings.sp4
270
+ gap: theme.vars.size.baseSpacings.sp6
269
271
  }),
270
272
  /**
271
273
  * popoverSortActions: Estilos del contenedor de acciones del menú emergente de ordenamiento.
@@ -0,0 +1,7 @@
1
+ import { ImageTextProps } from './types';
2
+ /**
3
+ * Componente que representa un contenedor que agrupa mensajes con imagen y texto.
4
+ * @param props - Propiedades del componente.
5
+ * @returns Un componente de tipo ReactNode.
6
+ */
7
+ export declare const ImageText: (props: ImageTextProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,62 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { I as ImageTextSlots } from "./slots/ImageTextEnum.js";
3
+ import { I as ImageTextContainerRoot, a as ImageContainerStyled, b as ImgStyled, W as WrapperTitleMessageStyled, T as TypographyTitleStyled, c as TypographyMessageStyled } from "./slots/ImageTextSlots.js";
4
+ import { I as IMG_ALT, a as IMAGE_TEXT_CLASSES, b as IMAGE_TEXT_KEY_COMPONENT } from "./constants.js";
5
+ import { clsx } from "clsx";
6
+ import { useRef } from "react";
7
+ import { g as getPropDataTestId } from "../../test/getNameDataTestId.js";
8
+ import { u as useIsVisible } from "../../hooks/useIsVisible/useIsVisible.js";
9
+ import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
10
+ const ImageText = (props) => {
11
+ const { className, dataTestId, imageUrl, title, message, size, imageAriaLabel, ...others } = props;
12
+ const containerRef = useRef(null);
13
+ const isVisible = useIsVisible(containerRef);
14
+ const { currentSize } = useComponentSize(size);
15
+ return /* @__PURE__ */ jsxs(
16
+ ImageTextContainerRoot,
17
+ {
18
+ ...others,
19
+ ...getPropDataTestId(
20
+ IMAGE_TEXT_KEY_COMPONENT,
21
+ ImageTextSlots.root,
22
+ dataTestId
23
+ ),
24
+ className: clsx(IMAGE_TEXT_CLASSES.root, className),
25
+ children: [
26
+ /* @__PURE__ */ jsx(ImageContainerStyled, { ref: containerRef, ownerState: { isVisible }, children: /* @__PURE__ */ jsx(
27
+ ImgStyled,
28
+ {
29
+ src: imageUrl,
30
+ alt: IMG_ALT,
31
+ role: "presentation",
32
+ "aria-label": imageAriaLabel,
33
+ ownerState: { isVisible }
34
+ }
35
+ ) }),
36
+ /* @__PURE__ */ jsxs(WrapperTitleMessageStyled, { children: [
37
+ /* @__PURE__ */ jsx(
38
+ TypographyTitleStyled,
39
+ {
40
+ size: currentSize,
41
+ skeletonWidth: 100,
42
+ variant: "bodyDens",
43
+ children: title
44
+ }
45
+ ),
46
+ /* @__PURE__ */ jsx(
47
+ TypographyMessageStyled,
48
+ {
49
+ size: currentSize,
50
+ skeletonWidth: 200,
51
+ variant: "body",
52
+ children: message
53
+ }
54
+ )
55
+ ] })
56
+ ]
57
+ }
58
+ );
59
+ };
60
+ export {
61
+ ImageText as I
62
+ };
@@ -0,0 +1,2 @@
1
+ import { ImageTextStyles } from './types';
2
+ export declare const imageTextContainerStyles: ImageTextStyles;
@@ -1,4 +1,21 @@
1
- const noItemPrivilegesStyles = {
1
+ const imageTextContainerStyles = {
2
+ /**
3
+ * Estilos para el contenedor principal del componente ImageTextContainer.
4
+ */
5
+ root: ({ theme }) => ({
6
+ display: "flex",
7
+ flexDirection: "column",
8
+ alignItems: "center",
9
+ justifyContent: "center",
10
+ height: "80%",
11
+ width: "100%",
12
+ maxWidth: "600px",
13
+ minWidth: "200px",
14
+ padding: "10px",
15
+ gap: theme.vars.size.baseSpacings.sp2,
16
+ minHeight: "60px",
17
+ backgroundColor: theme.palette.background.default
18
+ }),
2
19
  /**
3
20
  * Estilos para el contenedor de la imagen.
4
21
  */
@@ -43,7 +60,7 @@ const noItemPrivilegesStyles = {
43
60
  /**
44
61
  * Estilos para la typography de NoItemPrivileges.
45
62
  */
46
- typographyStyledTitle: ({ theme }) => ({
63
+ title: ({ theme }) => ({
47
64
  "&&&": {
48
65
  color: theme.vars.palette.primary.semanticText
49
66
  }
@@ -51,12 +68,12 @@ const noItemPrivilegesStyles = {
51
68
  /**
52
69
  * Estilos para la typography del mensaje de NoItemPrivileges.
53
70
  */
54
- typographyStyledMessage: ({ theme }) => ({
71
+ message: ({ theme }) => ({
55
72
  "&&&": {
56
73
  color: theme.vars.palette.text.secondary
57
74
  }
58
75
  })
59
76
  };
60
77
  export {
61
- noItemPrivilegesStyles as n
78
+ imageTextContainerStyles as i
62
79
  };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Clave del componente ImageTextContainer.
3
+ */
4
+ export declare const IMAGE_TEXT_KEY_COMPONENT = "M4LImageText";
5
+ /**
6
+ * Clases del componente ImageTextContainer.
7
+ */
8
+ export declare const IMAGE_TEXT_CLASSES: Record<string, string>;
9
+ /**
10
+ * URL de la imagen por defecto.
11
+ */
12
+ export declare const DEFAULT_IMAGE_URL = "frontend/components/no_item_privileges/assets/img/ImageTextDefault.svg";
13
+ /**
14
+ * Alt de la imagen.
15
+ */
16
+ export declare const IMG_ALT = "illustration";
@@ -0,0 +1,10 @@
1
+ import { g as getComponentClasses } from "../../utils/getComponentSlotRoot.js";
2
+ import { I as ImageTextSlots } from "./slots/ImageTextEnum.js";
3
+ const IMAGE_TEXT_KEY_COMPONENT = "M4LImageText";
4
+ const IMAGE_TEXT_CLASSES = getComponentClasses(IMAGE_TEXT_KEY_COMPONENT, ImageTextSlots);
5
+ const IMG_ALT = "illustration";
6
+ export {
7
+ IMG_ALT as I,
8
+ IMAGE_TEXT_CLASSES as a,
9
+ IMAGE_TEXT_KEY_COMPONENT as b
10
+ };
@@ -1,3 +1 @@
1
- export * from './components/NoItemPrivileges';
2
- export * from './components/NoItemSelected';
3
- export * from './components/ImageTextContainer';
1
+ export { ImageText } from './ImageText';
@@ -0,0 +1,8 @@
1
+ export declare enum ImageTextSlots {
2
+ root = "root",
3
+ imageContainer = "imageContainer",
4
+ img = "img",
5
+ wrapperTitleMessage = "wrapperTitleMessage",
6
+ title = "title",
7
+ message = "message"
8
+ }
@@ -0,0 +1,12 @@
1
+ var ImageTextSlots = /* @__PURE__ */ ((ImageTextSlots2) => {
2
+ ImageTextSlots2["root"] = "root";
3
+ ImageTextSlots2["imageContainer"] = "imageContainer";
4
+ ImageTextSlots2["img"] = "img";
5
+ ImageTextSlots2["wrapperTitleMessage"] = "wrapperTitleMessage";
6
+ ImageTextSlots2["title"] = "title";
7
+ ImageTextSlots2["message"] = "message";
8
+ return ImageTextSlots2;
9
+ })(ImageTextSlots || {});
10
+ export {
11
+ ImageTextSlots as I
12
+ };
@@ -0,0 +1,18 @@
1
+ export declare const ImageTextContainerRoot: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
2
+ ownerState?: (Partial<import('../types').ImageTextOwnerState> & Record<string, unknown>) | undefined;
3
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
+ export declare const ImageContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
5
+ ownerState?: (Partial<import('../types').ImageTextOwnerState> & Record<string, unknown>) | undefined;
6
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
7
+ export declare const ImgStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Image').ImageProps, keyof import('../../Image').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
8
+ ownerState?: (Partial<import('../types').ImageTextOwnerState> & Record<string, unknown>) | undefined;
9
+ }, {}, {}>;
10
+ export declare const WrapperTitleMessageStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
11
+ ownerState?: (Partial<import('../types').ImageTextOwnerState> & Record<string, unknown>) | undefined;
12
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
13
+ export declare const TypographyTitleStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Typography/types').TypographyProps, keyof import('../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
14
+ ownerState?: (Partial<import('../types').ImageTextOwnerState> & Record<string, unknown>) | undefined;
15
+ }, {}, {}>;
16
+ export declare const TypographyMessageStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Typography/types').TypographyProps, keyof import('../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
17
+ ownerState?: (Partial<import('../types').ImageTextOwnerState> & Record<string, unknown>) | undefined;
18
+ }, {}, {}>;
@@ -0,0 +1,38 @@
1
+ import { styled } from "@mui/material/styles";
2
+ import { b as IMAGE_TEXT_KEY_COMPONENT } from "../constants.js";
3
+ import { I as ImageTextSlots } from "./ImageTextEnum.js";
4
+ import { i as imageTextContainerStyles } from "../ImageText.styles.js";
5
+ import { I as Image } from "../../Image/Image.js";
6
+ import { T as Typography } from "../../mui_extended/Typography/Typography.js";
7
+ const ImageTextContainerRoot = styled("div", {
8
+ name: IMAGE_TEXT_KEY_COMPONENT,
9
+ slot: ImageTextSlots.root
10
+ })(imageTextContainerStyles?.root);
11
+ const ImageContainerStyled = styled("div", {
12
+ name: IMAGE_TEXT_KEY_COMPONENT,
13
+ slot: ImageTextSlots.imageContainer
14
+ })(imageTextContainerStyles?.imageContainer);
15
+ const ImgStyled = styled(Image, {
16
+ name: IMAGE_TEXT_KEY_COMPONENT,
17
+ slot: ImageTextSlots.img
18
+ })(imageTextContainerStyles?.img);
19
+ const WrapperTitleMessageStyled = styled("div", {
20
+ name: IMAGE_TEXT_KEY_COMPONENT,
21
+ slot: ImageTextSlots.wrapperTitleMessage
22
+ })(imageTextContainerStyles?.wrapperTitleMessage);
23
+ const TypographyTitleStyled = styled(Typography, {
24
+ name: IMAGE_TEXT_KEY_COMPONENT,
25
+ slot: ImageTextSlots.title
26
+ })(imageTextContainerStyles?.title);
27
+ const TypographyMessageStyled = styled(Typography, {
28
+ name: IMAGE_TEXT_KEY_COMPONENT,
29
+ slot: ImageTextSlots.message
30
+ })(imageTextContainerStyles?.message);
31
+ export {
32
+ ImageTextContainerRoot as I,
33
+ TypographyTitleStyled as T,
34
+ WrapperTitleMessageStyled as W,
35
+ ImageContainerStyled as a,
36
+ ImgStyled as b,
37
+ TypographyMessageStyled as c
38
+ };
@@ -0,0 +1,40 @@
1
+ import { ImageTextSlots } from './slots/ImageTextEnum';
2
+ import { M4LOverridesStyleRules } from '../../@types/augmentations';
3
+ import { IMAGE_TEXT_KEY_COMPONENT } from './constants';
4
+ import { Theme } from '@mui/material';
5
+ import { Sizes } from '@m4l/styles';
6
+ export interface ImageTextProps extends React.HTMLAttributes<HTMLDivElement> {
7
+ /**
8
+ * Clase del componente.
9
+ */
10
+ className?: string;
11
+ /**
12
+ * ID de prueba.
13
+ */
14
+ dataTestId?: string;
15
+ /**
16
+ * URL de la imagen.
17
+ */
18
+ imageUrl: string;
19
+ /**
20
+ * Título del componente.
21
+ */
22
+ title: string;
23
+ /**
24
+ * Mensaje del componente.
25
+ */
26
+ message: string;
27
+ /**
28
+ * Aria-label de la imagen.
29
+ */
30
+ imageAriaLabel?: string;
31
+ /**
32
+ * Tamaño del componente.
33
+ */
34
+ size?: Extract<Sizes, 'small' | 'medium'>;
35
+ }
36
+ export type ImageTextOwnerState = {
37
+ isVisible: boolean;
38
+ };
39
+ export type ImageTextSlotsType = keyof typeof ImageTextSlots;
40
+ export type ImageTextStyles = M4LOverridesStyleRules<ImageTextSlotsType, typeof IMAGE_TEXT_KEY_COMPONENT, Theme>;
@@ -0,0 +1,33 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useModuleDictionary, useEnvironment } from "@m4l/core";
3
+ import { D as DICTIONARY } from "./dictionary.js";
4
+ import { D as DEFAULT_IMAGE_URL, N as NO_ITEM_PRIVILEGES_CLASSES } from "./constants.js";
5
+ import clsx from "clsx";
6
+ import { N as NoItemPrivilegesRootStyled } from "./slots/NoItemPrivilegesSlots.js";
7
+ import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
8
+ const NoItemPrivileges = (props) => {
9
+ const { image, title, message, className, dataTestId, size } = props;
10
+ const { getLabel } = useModuleDictionary();
11
+ const { host_static_assets, environment_assets } = useEnvironment();
12
+ const imageUrl = image || `${host_static_assets}/${environment_assets}/${DEFAULT_IMAGE_URL}`;
13
+ const titleText = title || getLabel(DICTIONARY.LABEL_TITLE);
14
+ const messageText = message || getLabel(DICTIONARY.LABEL_MESSAGE);
15
+ const { currentSize } = useComponentSize(size);
16
+ return /* @__PURE__ */ jsx(
17
+ NoItemPrivilegesRootStyled,
18
+ {
19
+ imageUrl,
20
+ title: titleText,
21
+ message: messageText,
22
+ size: currentSize,
23
+ className: clsx(NO_ITEM_PRIVILEGES_CLASSES.root, className),
24
+ dataTestId,
25
+ role: "alert",
26
+ "aria-label": "NoItemPrivileges",
27
+ imageAriaLabel: "illustration no item privileges"
28
+ }
29
+ );
30
+ };
31
+ export {
32
+ NoItemPrivileges as N
33
+ };
@@ -0,0 +1,6 @@
1
+ const noItemPrivilegesStyles = {
2
+ root: {}
3
+ };
4
+ export {
5
+ noItemPrivilegesStyles as n
6
+ };
@@ -1,4 +1,3 @@
1
1
  export declare const NO_ITEM_PRIVILEGES_KEY_COMPONENT = "M4LNoItemPrivileges";
2
2
  export declare const NO_ITEM_PRIVILEGES_CLASSES: Record<string, string>;
3
3
  export declare const DEFAULT_IMAGE_URL = "frontend/components/no_item_privileges/assets/img/ProtectionIllustration.svg";
4
- export declare const IMG_ALT = "No item privileges";
@@ -1,11 +1,10 @@
1
- import { g as getComponentClasses } from "../../../../utils/getComponentSlotRoot.js";
1
+ import { g as getComponentClasses } from "../../utils/getComponentSlotRoot.js";
2
2
  import { N as NoItemPrivilegesSlots } from "./slots/NoItemPrivilegesEnum.js";
3
3
  const NO_ITEM_PRIVILEGES_KEY_COMPONENT = "M4LNoItemPrivileges";
4
4
  const NO_ITEM_PRIVILEGES_CLASSES = getComponentClasses(NO_ITEM_PRIVILEGES_KEY_COMPONENT, [...Object.values(NoItemPrivilegesSlots), "root"]);
5
5
  const DEFAULT_IMAGE_URL = "frontend/components/no_item_privileges/assets/img/ProtectionIllustration.svg";
6
- const IMG_ALT = "No item privileges";
7
6
  export {
8
7
  DEFAULT_IMAGE_URL as D,
9
- IMG_ALT as I,
10
- NO_ITEM_PRIVILEGES_CLASSES as N
8
+ NO_ITEM_PRIVILEGES_CLASSES as N,
9
+ NO_ITEM_PRIVILEGES_KEY_COMPONENT as a
11
10
  };
@@ -0,0 +1,3 @@
1
+ export declare enum NoItemPrivilegesSlots {
2
+ root = "root"
3
+ }
@@ -0,0 +1,7 @@
1
+ var NoItemPrivilegesSlots = /* @__PURE__ */ ((NoItemPrivilegesSlots2) => {
2
+ NoItemPrivilegesSlots2["root"] = "root";
3
+ return NoItemPrivilegesSlots2;
4
+ })(NoItemPrivilegesSlots || {});
5
+ export {
6
+ NoItemPrivilegesSlots as N
7
+ };
@@ -0,0 +1,3 @@
1
+ export declare const NoItemPrivilegesRootStyled: import('@emotion/styled').StyledComponent<Pick<import('../../ImageText/types').ImageTextProps, keyof import('../../ImageText/types').ImageTextProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
2
+ ownerState?: (Partial<import('..').NoItemPrivilegesOwnerState> & Record<string, unknown>) | undefined;
3
+ }, {}, {}>;
@@ -0,0 +1,12 @@
1
+ import { styled } from "@mui/material/styles";
2
+ import { N as NoItemPrivilegesSlots } from "./NoItemPrivilegesEnum.js";
3
+ import { a as NO_ITEM_PRIVILEGES_KEY_COMPONENT } from "../constants.js";
4
+ import { n as noItemPrivilegesStyles } from "../NoItemPrivilegesStyles.js";
5
+ import { I as ImageText } from "../../ImageText/ImageText.js";
6
+ const NoItemPrivilegesRootStyled = styled(ImageText, {
7
+ name: NO_ITEM_PRIVILEGES_KEY_COMPONENT,
8
+ slot: NoItemPrivilegesSlots.root
9
+ })(noItemPrivilegesStyles?.root);
10
+ export {
11
+ NoItemPrivilegesRootStyled as N
12
+ };
@@ -1,5 +1,5 @@
1
1
  import { Sizes } from '@m4l/styles';
2
- import { M4LOverridesStyleRules } from '../../../../@types/augmentations';
2
+ import { M4LOverridesStyleRules } from '../../@types/augmentations';
3
3
  import { NoItemPrivilegesSlots } from './slots/NoItemPrivilegesEnum';
4
4
  import { NO_ITEM_PRIVILEGES_KEY_COMPONENT } from './constants';
5
5
  import { Theme } from '@mui/material';