@m4l/components 9.20.0 → 9.21.0

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 (186) hide show
  1. package/components/AccountPopover/AccountPopover.d.ts.map +1 -1
  2. package/components/AccountPopover/AccountPopover.js +43 -39
  3. package/components/AccountPopover/constants.d.ts +3 -0
  4. package/components/AccountPopover/constants.d.ts.map +1 -1
  5. package/components/AccountPopover/constants.js +11 -3
  6. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +7 -7
  7. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.d.ts.map +1 -1
  8. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +45 -43
  9. package/components/AccountPopover/types.d.ts +9 -0
  10. package/components/AccountPopover/types.d.ts.map +1 -1
  11. package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts +2 -2
  12. package/components/AppBar/AppBar.d.ts +3 -18
  13. package/components/AppBar/AppBar.d.ts.map +1 -1
  14. package/components/AppBar/AppBar.js +64 -45
  15. package/components/AppBar/slots/AppBarEnum.d.ts +3 -1
  16. package/components/AppBar/slots/AppBarEnum.d.ts.map +1 -1
  17. package/components/AppBar/slots/AppBarEnum.js +2 -2
  18. package/components/AppBar/slots/AppBarSlots.d.ts +7 -1
  19. package/components/AppBar/slots/AppBarSlots.d.ts.map +1 -1
  20. package/components/AppBar/slots/AppBarSlots.js +30 -22
  21. package/components/AppBar/styles.d.ts.map +1 -1
  22. package/components/AppBar/styles.js +90 -47
  23. package/components/AppBar/types.d.ts +63 -29
  24. package/components/AppBar/types.d.ts.map +1 -1
  25. package/components/Card/constants.d.ts +1 -1
  26. package/components/CheckableList/slots/styled.d.ts +9 -9
  27. package/components/Chip/slots/ChipSlots.d.ts +4 -4
  28. package/components/ColorPicker/slots/ColorPickerSlots.d.ts +2 -2
  29. package/components/CommonActions/classes/index.d.ts +1 -1
  30. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  31. package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
  32. package/components/CommonActions/components/ActionFormSubmitProgrammatic/slots/ActionFormSubmitProgrammaticSlots.d.ts +1 -1
  33. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  34. package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
  35. package/components/DateRangeCalendarPicker/constants.d.ts +1 -1
  36. package/components/DateTimeRangePicker/slots/DateTimeRangePickerSlots.d.ts +9 -9
  37. package/components/DaysOfMonthPicker/slots/DaysOfMonthPickerSlots.d.ts +1 -1
  38. package/components/DaysOfWeekPicker/constants.d.ts +1 -1
  39. package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.d.ts +1 -1
  40. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +7 -7
  41. package/components/DynamicForm/constants.d.ts +1 -1
  42. package/components/DynamicForm/slots/DynamicFormSlots.d.ts +3 -3
  43. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +7 -7
  44. package/components/EditLabel/constants.d.ts +1 -1
  45. package/components/EditLabel/slots/EditLabelSlots.d.ts +4 -4
  46. package/components/GridLayout/classes/index.d.ts +1 -1
  47. package/components/HelperError/slots/HelperErrorSlots.d.ts +1 -1
  48. package/components/ImageSelector/constants.d.ts +1 -1
  49. package/components/ImageSelector/slots/ImageSelectorSlots.d.ts +4 -4
  50. package/components/ImageText/constants.d.ts +1 -1
  51. package/components/ImageText/slots/ImageTextSlots.d.ts +2 -2
  52. package/components/Label/slots/LabelSlots.d.ts +2 -2
  53. package/components/LanguagePopover/LanguagePopover.d.ts +7 -7
  54. package/components/LanguagePopover/LanguagePopover.d.ts.map +1 -1
  55. package/components/LanguagePopover/LanguagePopover.js +40 -36
  56. package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
  57. package/components/LanguagePopover/types.d.ts +12 -3
  58. package/components/LanguagePopover/types.d.ts.map +1 -1
  59. package/components/LoadingError/LoadingError.js +4 -4
  60. package/components/LoadingError/slots/LoadingErrorSlots.d.ts +1 -1
  61. package/components/MFIsolationApp/slots/MFIsolationAppSlots.d.ts +2 -2
  62. package/components/MenuActions/slots/MenuActionsSlots.d.ts +2 -2
  63. package/components/MenuActions/types.d.ts +1 -1
  64. package/components/MenuActions/types.d.ts.map +1 -1
  65. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
  66. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  67. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +2 -2
  68. package/components/Pager/slots/PagerSlots.d.ts +3 -3
  69. package/components/PaperForm/slots/PaperFormSlots.d.ts +1 -1
  70. package/components/PropertyValue/slots/PropertyValueSlots.d.ts +1 -1
  71. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +3 -3
  72. package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
  73. package/components/Stepper/slots/StepperSlot.d.ts +4 -4
  74. package/components/TabsNavigator/constants.d.ts +1 -1
  75. package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts +3 -3
  76. package/components/TimePicker/slots/TimePickerSlots.d.ts +8 -8
  77. package/components/ToastContainer/slots/toastContainerSlots.d.ts +4 -4
  78. package/components/WindowBase/slots/WindowBaseSlots.d.ts +2 -2
  79. package/components/WindowConfirm/WindowConfirm.js +10 -10
  80. package/components/WindowConfirm/WindowConfirm.styles.d.ts.map +1 -1
  81. package/components/WindowConfirm/WindowConfirm.styles.js +26 -5
  82. package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +5 -5
  83. package/components/areas/components/AreasAdmin/AreasAdmin.d.ts +1 -2
  84. package/components/areas/components/AreasAdmin/AreasAdmin.d.ts.map +1 -1
  85. package/components/areas/components/AreasAdmin/AreasAdmin.js +295 -119
  86. package/components/areas/components/AreasAdmin/AreasAdmin.styles.d.ts.map +1 -1
  87. package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +309 -70
  88. package/components/areas/components/AreasAdmin/constants.d.ts +8 -0
  89. package/components/areas/components/AreasAdmin/constants.d.ts.map +1 -1
  90. package/components/areas/components/AreasAdmin/constants.js +10 -2
  91. package/components/areas/components/AreasAdmin/slots/AreasAdminEnum.d.ts +19 -0
  92. package/components/areas/components/AreasAdmin/slots/AreasAdminEnum.d.ts.map +1 -1
  93. package/components/areas/components/AreasAdmin/slots/AreasAdminEnum.js +2 -2
  94. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +66 -9
  95. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts.map +1 -1
  96. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.js +176 -93
  97. package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/ContainerModules.d.ts +6 -0
  98. package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/ContainerModules.d.ts.map +1 -0
  99. package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/ContainerModules.js +191 -0
  100. package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/index.d.ts +2 -0
  101. package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/index.d.ts.map +1 -0
  102. package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/types.d.ts +37 -0
  103. package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/types.d.ts.map +1 -0
  104. package/components/areas/components/AreasAdmin/types.d.ts +29 -3
  105. package/components/areas/components/AreasAdmin/types.d.ts.map +1 -1
  106. package/components/areas/dictionary.d.ts +3 -0
  107. package/components/areas/dictionary.d.ts.map +1 -1
  108. package/components/areas/dictionary.js +4 -1
  109. package/components/areas/hooks/index.d.ts +1 -1
  110. package/components/areas/hooks/index.d.ts.map +1 -1
  111. package/components/areas/hooks/useAreas/index.d.ts +5 -0
  112. package/components/areas/hooks/useAreas/index.d.ts.map +1 -1
  113. package/components/areas/hooks/useAreas/index.js +16 -7
  114. package/components/areas/icons.js +3 -10
  115. package/components/datagrids/slots/DataGridSlot.d.ts +6 -6
  116. package/components/extended/React-Resizable/ResizableBox/slots/ResizableBoxSlots.d.ts +1 -1
  117. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +5 -5
  118. package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts +4 -4
  119. package/components/extended/mui/Autocomplete/constants.d.ts +1 -1
  120. package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.d.ts +6 -6
  121. package/components/extended/mui/Avatar/slots/AvatarSlots.d.ts +1 -1
  122. package/components/extended/mui/Badge/slots/BadgeSlots.d.ts +1 -1
  123. package/components/extended/mui/Button/slots/ButtonSlots.d.ts +2 -2
  124. package/components/extended/mui/CheckBox/slots/CheckBoxSlots.d.ts +2 -2
  125. package/components/extended/mui/DatePicker/constants.d.ts +1 -1
  126. package/components/extended/mui/DatePicker/slots/DatePickerSlots.d.ts +3 -3
  127. package/components/extended/mui/DateTimePicker/slots/DateTimePickerSlots.d.ts +4 -4
  128. package/components/extended/mui/Divider/slots/DividerSlots.d.ts +1 -1
  129. package/components/extended/mui/IconButton/slots/IconButtonSlots.d.ts +1 -1
  130. package/components/extended/mui/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
  131. package/components/extended/mui/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
  132. package/components/extended/mui/MenuItem/slots/MenuItemSlots.d.ts +4 -4
  133. package/components/extended/mui/NavLink/slots/NavLinkSlots.d.ts +1 -1
  134. package/components/extended/mui/Popover/Popover.d.ts.map +1 -1
  135. package/components/extended/mui/Popover/Popover.js +41 -41
  136. package/components/extended/mui/Popper/slots/PopperStlots.d.ts +1 -1
  137. package/components/extended/mui/Radio/constants.d.ts +1 -1
  138. package/components/extended/mui/Radio/slots/styled.d.ts +2 -2
  139. package/components/extended/mui/Select/constants.d.ts +1 -1
  140. package/components/extended/mui/Select/slots/SelectSlots.d.ts +5 -5
  141. package/components/extended/mui/Skeleton/Slots/skeletonSlots.d.ts +1 -1
  142. package/components/extended/mui/Stack/slots/StackSlot.d.ts +1 -1
  143. package/components/extended/mui/Switch/constants.d.ts +1 -1
  144. package/components/extended/mui/Switch/slots/SwitchSlots.d.ts +2 -2
  145. package/components/extended/mui/Tab/Slots/TabSlots.d.ts +4 -4
  146. package/components/extended/mui/Tab/constants.d.ts +1 -1
  147. package/components/extended/mui/Tabs/slots/TabsSlots.d.ts +1 -1
  148. package/components/extended/mui/TextField/constants.d.ts +1 -1
  149. package/components/extended/mui/TextField/slots/TextFieldSlots.d.ts +4 -4
  150. package/components/extended/mui/TimePicker/slots/TimePickerSlots.d.ts +3 -3
  151. package/components/extended/mui/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
  152. package/components/extended/mui/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  153. package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +1 -1
  154. package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts +1 -1
  155. package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts +1 -1
  156. package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
  157. package/components/formatters/ImageFormatter/constants.d.ts +1 -1
  158. package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.d.ts +1 -1
  159. package/components/formatters/NestedFormatter/constants.d.ts +1 -1
  160. package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts +1 -1
  161. package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts +1 -1
  162. package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts +1 -1
  163. package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts +1 -1
  164. package/components/hook-form/RHFCheckableList/constants.d.ts +1 -1
  165. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
  166. package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +3 -3
  167. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
  168. package/components/hook-form/RHFRadioGroup/constants.d.ts +1 -1
  169. package/components/hook-form/RHFRadioGroup/slots/styled.d.ts +1 -1
  170. package/components/hook-form/RHFSelect/constants.d.ts +1 -1
  171. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  172. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  173. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +2 -2
  174. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +3 -3
  175. package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.d.ts +1 -1
  176. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +7 -7
  177. package/components/hook-form/RHFormProvider/classes/index.d.ts +1 -1
  178. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +4 -4
  179. package/index.js +674 -673
  180. package/package.json +7 -7
  181. package/test/mocks/dictionary-mock.d.ts +1 -0
  182. package/test/mocks/dictionary-mock.d.ts.map +1 -1
  183. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +0 -171
  184. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/ChipActionsMobile.js +0 -45
  185. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/AreaChipMobile.js +0 -69
  186. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +0 -149
@@ -1,63 +1,65 @@
1
- import { jsxs as a, jsx as e, Fragment as C } from "@emotion/react/jsx-runtime";
2
- import { useEnvironment as O, useModuleDictionary as x } from "@m4l/core";
3
- import { TEST_PROP_ID as A } from "../../../../test/constants_no_mock.js";
4
- import { PATH_VERSION as P, PATH_CONFIGURATION as D, PATH_SIGN_OFF as E } from "../../constants.js";
5
- import { PopoverStyled as T, UserDataContainerStyled as M, AvatarPopoverStyled as W, UserNameEmailStyled as F, FullNametStyled as H, EmailtStyled as V, VersionContainerStyled as z, VersionStyled as L, VersionIconStyled as U, DividerStyled as $, CircularProgressStyled as R, MenuItemSettingsStyled as j, MenuItemStyled as G, MenuItemLogoutStyled as B } from "../../slots/AccountPopoverSlots.js";
6
- import { getNameDataTestId as q } from "../../tests/utils.js";
7
- import w from "../MyAvatar/MyAvatar.js";
8
- import { useTheme as J } from "@mui/material";
9
- const ae = (g) => {
1
+ import { jsxs as l, jsx as e, Fragment as P } from "@emotion/react/jsx-runtime";
2
+ import { useEnvironment as T, useModuleDictionary as k } from "@m4l/core";
3
+ import { TEST_PROP_ID as E } from "../../../../test/constants_no_mock.js";
4
+ import { DEFAULT_ACCOUNT_POPOVER_TRANSFORM_ORIGIN as D, DEFAULT_ACCOUNT_POPOVER_ANCHOR_ORIGIN as R, PATH_VERSION as x, PATH_CONFIGURATION as F, PATH_SIGN_OFF as U } from "../../constants.js";
5
+ import { PopoverStyled as M, UserDataContainerStyled as V, AvatarPopoverStyled as H, UserNameEmailStyled as L, FullNametStyled as W, EmailtStyled as G, VersionContainerStyled as j, VersionStyled as z, VersionIconStyled as B, DividerStyled as _, CircularProgressStyled as q, MenuItemSettingsStyled as w, MenuItemStyled as J, MenuItemLogoutStyled as K } from "../../slots/AccountPopoverSlots.js";
6
+ import { getNameDataTestId as Q } from "../../tests/utils.js";
7
+ import X from "../MyAvatar/MyAvatar.js";
8
+ import { useTheme as Y } from "@mui/material";
9
+ const se = ($) => {
10
10
  const {
11
11
  version: h,
12
- handleClose: l,
12
+ handleClose: o,
13
13
  anchorEl: r,
14
- userData: u,
15
- settingsHandleOpen: v,
16
- handleLogOut: y,
14
+ userData: g,
15
+ settingsHandleOpen: u,
16
+ handleLogOut: v,
17
17
  itemHandleClick: S,
18
18
  data: i = [],
19
- asyncState: _,
20
- size: b
21
- } = g, { host_static_assets: s, environment_assets: c } = O(), { firstName: d, lastName: m, email: p, avatarUrl: f } = u || {}, { getLabel: o } = x(), n = J().size.baseSpacings.sp2, I = (t) => {
22
- S(t), l();
23
- }, N = () => {
24
- l(), v();
25
- }, k = () => {
26
- y(), l();
19
+ asyncState: y,
20
+ size: O,
21
+ anchorOrigin: N = R,
22
+ transformOrigin: C = D
23
+ } = $, { host_static_assets: s, environment_assets: c } = T(), { firstName: d, lastName: m, email: p, avatarUrl: I } = g || {}, { getLabel: a } = k(), n = Y().size.baseSpacings.sp2, A = (t) => {
24
+ S(t), o();
25
+ }, b = () => {
26
+ o(), u();
27
+ }, f = () => {
28
+ v(), o();
27
29
  };
28
- return r ? /* @__PURE__ */ a(
29
- T,
30
+ return r ? /* @__PURE__ */ l(
31
+ M,
30
32
  {
31
- size: b,
33
+ size: O,
32
34
  open: !!r,
33
35
  anchorEl: r,
34
- onClose: l,
35
- anchorOrigin: { vertical: "bottom", horizontal: "right" },
36
- transformOrigin: { vertical: "top", horizontal: "right" },
37
- ...process.env.NODE_ENV !== "production" ? { [A]: q("popover") } : {},
36
+ onClose: o,
37
+ anchorOrigin: N,
38
+ transformOrigin: C,
39
+ ...process.env.NODE_ENV !== "production" ? { [E]: Q("popover") } : {},
38
40
  children: [
39
- /* @__PURE__ */ a(M, { children: [
40
- /* @__PURE__ */ e(w, { avatarUrl: f, firstName: d || "first name", lastName: m || "last name", slotAvatar: W }),
41
- /* @__PURE__ */ a(F, { children: [
42
- /* @__PURE__ */ e(H, { variant: "paragraphDens", skeletonWidth: `calc(${`${d} ${m}`.length}ex + ${n})`, children: `${d} ${m}` }),
43
- /* @__PURE__ */ e(V, { variant: "bodyStandard", skeletonWidth: `calc(${p?.length}ex + ${n})`, children: p })
41
+ /* @__PURE__ */ l(V, { children: [
42
+ /* @__PURE__ */ e(X, { avatarUrl: I, firstName: d || "first name", lastName: m || "last name", slotAvatar: H }),
43
+ /* @__PURE__ */ l(L, { children: [
44
+ /* @__PURE__ */ e(W, { variant: "paragraphDens", skeletonWidth: `calc(${`${d} ${m}`.length}ex + ${n})`, children: `${d} ${m}` }),
45
+ /* @__PURE__ */ e(G, { variant: "bodyStandard", skeletonWidth: `calc(${p?.length}ex + ${n})`, children: p })
44
46
  ] })
45
47
  ] }),
46
- /* @__PURE__ */ a(z, { children: [
47
- /* @__PURE__ */ e(L, { variant: "bodyStandard", skeletonWidth: `calc(${h.length}ex + ${n})`, children: `${o("account_popover.label_version")} ${h}` }),
48
- /* @__PURE__ */ e(U, { src: `${s}/${c}/${P}` })
48
+ /* @__PURE__ */ l(j, { children: [
49
+ /* @__PURE__ */ e(z, { variant: "bodyStandard", skeletonWidth: `calc(${h.length}ex + ${n})`, children: `${a("account_popover.label_version")} ${h}` }),
50
+ /* @__PURE__ */ e(B, { src: `${s}/${c}/${x}` })
49
51
  ] }),
50
- /* @__PURE__ */ e($, {}),
51
- _ === "loading" ? /* @__PURE__ */ e(R, {}) : /* @__PURE__ */ a(C, { children: [
52
- /* @__PURE__ */ e(j, { skeletonWidth: `calc(${o("account_popover.label_settings").length}ex + ${n})`, onClick: N, label: o("account_popover.label_settings"), endIcon: `${s}/${c}/${D}` }),
53
- Array.isArray(i) && i.length > 0 && i.map((t) => /* @__PURE__ */ e(G, { variant: "body", skeletonWidth: `calc(${t.title.length}ex + ${n})`, onClick: () => I(t), label: t.title }, `${t.title}-${t.module_id}`)),
54
- /* @__PURE__ */ e($, {})
52
+ /* @__PURE__ */ e(_, {}),
53
+ y === "loading" ? /* @__PURE__ */ e(q, {}) : /* @__PURE__ */ l(P, { children: [
54
+ /* @__PURE__ */ e(w, { skeletonWidth: `calc(${a("account_popover.label_settings").length}ex + ${n})`, onClick: b, label: a("account_popover.label_settings"), endIcon: `${s}/${c}/${F}` }),
55
+ Array.isArray(i) && i.length > 0 && i.map((t) => /* @__PURE__ */ e(J, { variant: "body", skeletonWidth: `calc(${t.title.length}ex + ${n})`, onClick: () => A(t), label: t.title }, `${t.title}-${t.module_id}`)),
56
+ /* @__PURE__ */ e(_, {})
55
57
  ] }),
56
- /* @__PURE__ */ e(B, { variant: "body", skeletonWidth: `calc(${o("account_popover.label_logout").length}ex + ${n})`, onClick: k, label: o("account_popover.label_logout"), endIcon: `${s}/${c}/${E}` })
58
+ /* @__PURE__ */ e(K, { variant: "body", skeletonWidth: `calc(${a("account_popover.label_logout").length}ex + ${n})`, onClick: f, label: a("account_popover.label_logout"), endIcon: `${s}/${c}/${U}` })
57
59
  ]
58
60
  }
59
61
  ) : null;
60
62
  };
61
63
  export {
62
- ae as MenuPopover
64
+ se as MenuPopover
63
65
  };
@@ -4,6 +4,7 @@ import { ACCOUNT_KEY_POPOVER } from './constants';
4
4
  import { Theme } from '@mui/material/styles';
5
5
  import { ComponentPalletColor, Sizes } from '@m4l/styles';
6
6
  import { M4LOverridesStyleRules } from '../../@types/augmentations';
7
+ import { PopoverProps } from '../extended/mui/Popover/types';
7
8
  export interface RightMenuData {
8
9
  /**
9
10
  * Esta propiedad hace referencia al título del módulo.
@@ -72,6 +73,14 @@ export interface AccountPopoverProps {
72
73
  * Test id para pruebas automatizadas.
73
74
  */
74
75
  dataTestid?: string;
76
+ /**
77
+ * Overrides the anchor point used by the internal popover surface.
78
+ */
79
+ anchorOrigin?: PopoverProps['anchorOrigin'];
80
+ /**
81
+ * Overrides the transform origin used by the internal popover surface.
82
+ */
83
+ transformOrigin?: PopoverProps['transformOrigin'];
75
84
  }
76
85
  export type AccountPopoverOwnerState = Pick<AccountPopoverProps, 'size'>;
77
86
  export type AccountPopoverSlotsType = keyof typeof AccountPopoverSlots;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/AccountPopover/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AACzD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,aAAa,CAAC;CACtB;AAGD,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,eAAe,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC;IAC3B;;OAEG;IACH,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC,oBAAoB,EAAE,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC1C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AACD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAA;AACxE,MAAM,MAAM,uBAAuB,GAAI,MAAM,OAAO,mBAAmB,CAAC;AACxE,MAAM,MAAM,oBAAoB,GAAG,sBAAsB,CAAC,uBAAuB,EAAE,OAAO,mBAAmB,EAAE,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/AccountPopover/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClE,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AACzD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,aAAa,CAAC;CACtB;AAGD,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,eAAe,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC;IAC3B;;OAEG;IACH,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC,oBAAoB,EAAE,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC1C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC,cAAc,CAAC,CAAC;IAC5C;;OAEG;IACH,eAAe,CAAC,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAC;CACnD;AACD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAA;AACxE,MAAM,MAAM,uBAAuB,GAAI,MAAM,OAAO,mBAAmB,CAAC;AACxE,MAAM,MAAM,oBAAoB,GAAG,sBAAsB,CAAC,uBAAuB,EAAE,OAAO,mBAAmB,EAAE,KAAK,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export declare const ActionsGroupRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
2
2
  ownerState?: (Partial<import('../types').ActionsGroupOwnerState> & Record<string, unknown>) | undefined;
3
3
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
- export declare const ActionIconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../..').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "title" | "component" | "size" | "variant" | "color" | "action" | "content" | "translate" | "className" | "style" | "classes" | "children" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "tooltip" | "value" | "instaceDataTestId" | "icon" | "selected" | "dataTestId" | "placement" | "rotationAngle" | "instanceDataTestId" | "disabled" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
4
+ export declare const ActionIconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../..').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "color" | "content" | "translate" | "action" | "hidden" | "form" | "slot" | "style" | "title" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "sx" | "component" | "classes" | "size" | "variant" | "src" | "tooltip" | "value" | "instaceDataTestId" | "icon" | "selected" | "dataTestId" | "placement" | "rotationAngle" | "instanceDataTestId" | "disabled" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
5
5
  ownerState?: (Partial<import('../types').ActionsGroupOwnerState> & Record<string, unknown>) | undefined;
6
6
  }, {}, {}>;
7
7
  export declare const ActionIconButtonSkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../extended/mui/Skeleton/types').SkeletonProps, keyof import('../../extended/mui/Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
@@ -10,7 +10,7 @@ export declare const ActionIconButtonSkeletonStyled: import('@emotion/styled').S
10
10
  export declare const IconTooltipMessageStyled: import('@emotion/styled').StyledComponent<Pick<import('@m4l/base').IconProps, "src" | "icon" | keyof import('@m4l/base').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
11
11
  ownerState?: (Partial<import('../types').ActionsGroupOwnerState> & Record<string, unknown>) | undefined;
12
12
  }, {}, {}>;
13
- export declare const TextTooltipMessageStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('@m4l/base').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "title" | "component" | "zIndex" | "size" | "variant" | "color" | "dataTestid" | "paragraph" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "children" | "sx" | "p" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "disabled" | "ellipsis" | "skeletonWidth" | "align" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonRows" | "htmlFor" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
13
+ export declare const TextTooltipMessageStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('@m4l/base').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "hidden" | "p" | "slot" | "style" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "sx" | "component" | "classes" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "size" | "variant" | "dataTestid" | "paragraph" | "disabled" | "ellipsis" | "skeletonWidth" | "align" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonRows" | "htmlFor" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
14
14
  ownerState?: (Partial<import('../types').ActionsGroupOwnerState> & Record<string, unknown>) | undefined;
15
15
  }, {}, {}>;
16
16
  //# sourceMappingURL=ActionsGroupSlots.d.ts.map
@@ -1,23 +1,8 @@
1
1
  import { AppBarProps } from './types';
2
2
  /**
3
- * UI component rendered at the top of a mobile or desktop application.
4
- * It usually contains navigation elements such as back or forward buttons,
5
- * a menu button for additional options, and other shell actions.
6
- * It can also display contextual information such as the current page title.
7
- * ### Dependencias:
8
- * - **`useEnvironment:`** Provides access to client asset locations.
9
- * - **`useModuleDictionary:`** Provides translated labels used by the shell.
10
- * - **`useIsMobile:`** Detects whether the current device is mobile.
11
- * @param {AppBarProps} props - Component props.
12
- * @returns {JSX.Element} Rendered component.
13
- * @example
14
- * ```tsx
15
- * <AppBar
16
- * onToggleVisible={() => console.log('toggle')}
17
- * companyLogo="https://www.example.com/logo.png"
18
- * companyName="Company Name"
19
- * dataTestid="appbar"
20
- * >
3
+ * Render the shell AppBar used by host-like layouts.
4
+ * It keeps the sidebar toggle internal, supports vertical and horizontal
5
+ * composition, and exposes separate slots for the main and trailing content.
21
6
  */
22
7
  export declare const AppBar: (props: AppBarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
23
8
  //# sourceMappingURL=AppBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppBar.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/AppBar/AppBar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,WAAW,EAAE,MAAM,SAAS,CAAC;AAMxD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,MAAM,GAAI,OAAO,WAAW,qDA4CxC,CAAC"}
1
+ {"version":3,"file":"AppBar.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/AppBar/AppBar.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAoB,WAAW,EAAE,MAAM,SAAS,CAAC;AAaxD;;;;GAIG;AACH,eAAO,MAAM,MAAM,GAAI,OAAO,WAAW,qDAwExC,CAAC"}
@@ -1,54 +1,73 @@
1
- import { jsxs as f, jsx as o } from "@emotion/react/jsx-runtime";
2
- import { useIsMobile as E } from "@m4l/graphics";
3
- import { useEnvironment as T, useModuleDictionary as h } from "@m4l/core";
4
- import { TEST_PROP_ID as i } from "../../test/constants_no_mock.js";
5
- import { getNameDataTestId as a } from "./tests/utils.js";
6
- import { AppBarRootStyled as B, MenuIconButtonStyled as c, ContentStyled as R } from "./slots/AppBarSlots.js";
7
- import { getComponentSlotRoot as v } from "../../utils/getComponentSlotRoot.js";
8
- import { PATH_IMG_HAMBURGUER as l, APP_BAR_KEY as I } from "./constants.js";
9
- const x = (p) => {
10
- const { onToggleVisible: m, onToggleAnchored: d, sidebarAnchored: u, children: _, dataTestid: b, size: t } = p, e = E(), { host_static_assets: n, environment_assets: r } = T(), { getLabel: g } = h(), A = v(I), s = g("appbar.tooltip_toogle_menu") || "Open navigation menu", M = {
11
- isMobile: e,
12
- size: t
1
+ import { jsxs as p, jsx as a } from "@emotion/react/jsx-runtime";
2
+ import { useEnvironment as T, useModuleDictionary as M } from "@m4l/core";
3
+ import { useIsMobile as S } from "@m4l/graphics";
4
+ import { TEST_PROP_ID as m } from "../../test/constants_no_mock.js";
5
+ import { getComponentSlotRoot as C } from "../../utils/getComponentSlotRoot.js";
6
+ import { PATH_IMG_HAMBURGUER as y, APP_BAR_KEY as R } from "./constants.js";
7
+ import { AppBarRootStyled as I, PrimarySectionStyled as N, MenuIconButtonStyled as P, ContentStyled as D, EndContentStyled as x } from "./slots/AppBarSlots.js";
8
+ import { getNameDataTestId as u } from "./tests/utils.js";
9
+ function O(e, n) {
10
+ return n ? e("appbar.tooltip_toogle_menu") || "Open navigation menu" : "Toggle navigation sidebar";
11
+ }
12
+ const w = (e) => {
13
+ const {
14
+ onToggleVisible: n,
15
+ onToggleAnchored: g,
16
+ sidebarAnchored: r,
17
+ children: b,
18
+ content: h,
19
+ endContent: i,
20
+ dataTestid: _,
21
+ orientation: l = "vertical",
22
+ size: s,
23
+ hasExpandedModule: f = !1
24
+ } = e, o = S(), { host_static_assets: v, environment_assets: A } = T(), { getLabel: E } = M(), B = C(R), d = O(E, o), c = h ?? b, t = {
25
+ hasEndContent: !!i,
26
+ hasExpandedModule: f,
27
+ isMobile: o,
28
+ orientation: l,
29
+ sidebarAnchored: r,
30
+ size: s
13
31
  };
14
- return /* @__PURE__ */ f(
15
- B,
32
+ return /* @__PURE__ */ p(
33
+ I,
16
34
  {
17
- className: A,
18
- ...process.env.NODE_ENV !== "production" ? { [i]: a(b) } : {},
35
+ className: B,
36
+ "data-orientation": l,
37
+ ownerState: t,
38
+ ...process.env.NODE_ENV !== "production" ? { [m]: u(_) } : {},
19
39
  children: [
20
- e ? /* @__PURE__ */ o(
21
- c,
22
- {
23
- size: t,
24
- tooltip: s,
25
- "aria-label": s,
26
- dataTestId: "AppBarMobileMenuButton",
27
- src: `${n}/${r}/${l}`,
28
- onClick: m
29
- }
30
- ) : /* @__PURE__ */ o(
31
- c,
32
- {
33
- src: `${n}/${r}/${l}`,
34
- onClick: d,
35
- rotationAngle: u ? 0 : 180,
36
- variant: "contained",
37
- role: "anchored-button"
38
- }
39
- ),
40
- /* @__PURE__ */ o(
41
- R,
42
- {
43
- ownerState: M,
44
- ...process.env.NODE_ENV !== "production" ? { [i]: a("containerChilds") } : {},
45
- children: _
46
- }
47
- )
40
+ /* @__PURE__ */ p(N, { ownerState: t, children: [
41
+ /* @__PURE__ */ a(
42
+ P,
43
+ {
44
+ "aria-label": d,
45
+ dataTestId: o ? "AppBarMobileMenuButton" : "AppBarAnchoredButton",
46
+ onClick: o ? n : g,
47
+ role: o ? "button" : "anchored-button",
48
+ rotationAngle: o ? void 0 : r ? 0 : 180,
49
+ selected: o ? void 0 : r,
50
+ size: s,
51
+ src: `${v}/${A}/${y}`,
52
+ tooltip: d,
53
+ variant: "outline",
54
+ color: "default"
55
+ }
56
+ ),
57
+ c ? /* @__PURE__ */ a(
58
+ D,
59
+ {
60
+ ownerState: t,
61
+ ...process.env.NODE_ENV !== "production" ? { [m]: u("containerChilds") } : {},
62
+ children: c
63
+ }
64
+ ) : null
65
+ ] }),
66
+ i ? /* @__PURE__ */ a(x, { ownerState: t, children: i }) : null
48
67
  ]
49
68
  }
50
69
  );
51
70
  };
52
71
  export {
53
- x as AppBar
72
+ w as AppBar
54
73
  };
@@ -1,7 +1,9 @@
1
1
  export declare enum AppBarSlots {
2
2
  appBarRoot = "appBarRoot",
3
+ primarySection = "primarySection",
3
4
  containerIsotypeName = "containerIsotypeName",
4
5
  menuIconButton = "menuIconButton",
5
- content = "content"
6
+ content = "content",
7
+ endContent = "endContent"
6
8
  }
7
9
  //# sourceMappingURL=AppBarEnum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppBarEnum.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/AppBar/slots/AppBarEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,UAAU,eAAe;IACzB,oBAAoB,yBAAyB;IAC7C,cAAc,mBAAmB;IACjC,OAAO,YAAY;CACpB"}
1
+ {"version":3,"file":"AppBarEnum.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/AppBar/slots/AppBarEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,oBAAoB,yBAAyB;IAC7C,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B"}
@@ -1,4 +1,4 @@
1
- var t = /* @__PURE__ */ ((n) => (n.appBarRoot = "appBarRoot", n.containerIsotypeName = "containerIsotypeName", n.menuIconButton = "menuIconButton", n.content = "content", n))(t || {});
1
+ var e = /* @__PURE__ */ ((n) => (n.appBarRoot = "appBarRoot", n.primarySection = "primarySection", n.containerIsotypeName = "containerIsotypeName", n.menuIconButton = "menuIconButton", n.content = "content", n.endContent = "endContent", n))(e || {});
2
2
  export {
3
- t as AppBarSlots
3
+ e as AppBarSlots
4
4
  };
@@ -1,13 +1,19 @@
1
1
  export declare const AppBarRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
2
2
  ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
3
3
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
4
+ export declare const PrimarySectionStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
5
+ ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
6
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
7
  export declare const ContainerIsotypeNameStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
5
8
  ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
6
9
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
7
- export declare const MenuIconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../..').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "title" | "component" | "size" | "variant" | "color" | "action" | "content" | "translate" | "className" | "style" | "classes" | "children" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "tooltip" | "value" | "instaceDataTestId" | "icon" | "selected" | "dataTestId" | "placement" | "rotationAngle" | "instanceDataTestId" | "disabled" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
10
+ export declare const MenuIconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../..').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "color" | "content" | "translate" | "action" | "hidden" | "form" | "slot" | "style" | "title" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "sx" | "component" | "classes" | "size" | "variant" | "src" | "tooltip" | "value" | "instaceDataTestId" | "icon" | "selected" | "dataTestId" | "placement" | "rotationAngle" | "instanceDataTestId" | "disabled" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
8
11
  ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
9
12
  }, {}, {}>;
10
13
  export declare const ContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
11
14
  ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
12
15
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
16
+ export declare const EndContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
17
+ ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
18
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
13
19
  //# sourceMappingURL=AppBarSlots.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppBarSlots.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/AppBar/slots/AppBarSlots.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB;;iNAGD,CAAC;AAC7B,eAAO,MAAM,0BAA0B;;6NAGD,CAAC;AACvC,eAAO,MAAM,oBAAoB;;UAGD,CAAC;AACjC,eAAO,MAAM,aAAa;;6NAGD,CAAC"}
1
+ {"version":3,"file":"AppBarSlots.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/AppBar/slots/AppBarSlots.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB;;iNAGF,CAAC;AAE5B,eAAO,MAAM,oBAAoB;;6NAGF,CAAC;AAEhC,eAAO,MAAM,0BAA0B;;6NAGF,CAAC;AAEtC,eAAO,MAAM,oBAAoB;;UAGF,CAAC;AAEhC,eAAO,MAAM,aAAa;;6NAGF,CAAC;AAEzB,eAAO,MAAM,gBAAgB;;6NAGF,CAAC"}
@@ -1,25 +1,33 @@
1
- import { styled as o } from "@mui/material/styles";
2
- import { APP_BAR_KEY as t } from "../constants.js";
3
- import { AppBarSlots as n } from "./AppBarEnum.js";
4
- import { appBarStyles as e } from "../styles.js";
1
+ import { styled as t } from "@mui/material/styles";
2
+ import { APP_BAR_KEY as o } from "../constants.js";
3
+ import { appBarStyles as n } from "../styles.js";
4
+ import { AppBarSlots as e } from "./AppBarEnum.js";
5
5
  import { IconButton as r } from "../../extended/mui/IconButton/IconButton.js";
6
- const l = o("header", {
7
- name: t,
8
- slot: n.appBarRoot
9
- })(e?.appBarRoot);
10
- o("div", {
11
- name: t,
12
- slot: n.containerIsotypeName
13
- })(e?.containerIsotypeName);
14
- const B = o(r, {
15
- name: t,
16
- slot: n.menuIconButton
17
- })(e?.menuIconButton), i = o("div", {
18
- name: t,
19
- slot: n.content
20
- })(e?.content);
6
+ const s = t("nav", {
7
+ name: o,
8
+ slot: e.appBarRoot
9
+ })(n.appBarRoot), l = t("div", {
10
+ name: o,
11
+ slot: e.primarySection
12
+ })(n.primarySection);
13
+ t("div", {
14
+ name: o,
15
+ slot: e.containerIsotypeName
16
+ })(n.containerIsotypeName);
17
+ const d = t(r, {
18
+ name: o,
19
+ slot: e.menuIconButton
20
+ })(n.menuIconButton), y = t("div", {
21
+ name: o,
22
+ slot: e.content
23
+ })(n.content), B = t("div", {
24
+ name: o,
25
+ slot: e.endContent
26
+ })(n.endContent);
21
27
  export {
22
- l as AppBarRootStyled,
23
- i as ContentStyled,
24
- B as MenuIconButtonStyled
28
+ s as AppBarRootStyled,
29
+ y as ContentStyled,
30
+ B as EndContentStyled,
31
+ d as MenuIconButtonStyled,
32
+ l as PrimarySectionStyled
25
33
  };
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/AppBar/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,eAAO,MAAM,YAAY,EAAE,YA+D1B,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/AppBar/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,YAAY,EAAE,YAmH1B,CAAC"}