@m4l/components 9.2.60 → 9.2.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/types.d.ts +8 -0
- package/components/Chip/Chip.js +9 -10
- package/components/Chip/ChipStyles.js +13 -2
- package/components/Chip/constants.d.ts +9 -0
- package/components/Chip/constants.js +6 -2
- package/components/Chip/slots/ChipEnum.d.ts +3 -0
- package/components/Chip/slots/ChipEnum.js +6 -1
- package/components/Chip/slots/ChipSlots.js +1 -1
- package/components/DataGrid/DataGrid.js +17 -3
- package/components/DataGrid/Datagrid.styles.js +80 -33
- package/components/DataGrid/constants.d.ts +2 -0
- package/components/DataGrid/constants.js +7 -3
- package/components/DataGrid/contexts/DataGridContext/index.js +77 -30
- package/components/DataGrid/contexts/DataGridContext/types.d.ts +5 -2
- package/components/DataGrid/dictionary.d.ts +8 -0
- package/components/DataGrid/dictionary.js +26 -17
- package/components/DataGrid/icons.d.ts +7 -0
- package/components/DataGrid/icons.js +8 -1
- package/components/DataGrid/slots/DataGridEnum.d.ts +7 -1
- package/components/DataGrid/slots/DataGridEnum.js +6 -0
- package/components/DataGrid/slots/DataGridSlot.d.ts +6 -0
- package/components/DataGrid/slots/DataGridSlot.js +35 -5
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Filter/index.js +9 -1
- package/components/DataGrid/subcomponents/Table/hooks/getDragHeaderRenderer.d.ts +3 -1
- package/components/DataGrid/subcomponents/Table/hooks/getDragHeaderRenderer.js +9 -2
- package/components/DataGrid/subcomponents/Table/hooks/useHeaderMenuActions.d.ts +6 -0
- package/components/DataGrid/subcomponents/Table/hooks/useHeaderMenuActions.js +262 -0
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.d.ts +6 -4
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +35 -18
- package/components/DataGrid/subcomponents/Table/index.js +97 -34
- package/components/DataGrid/subcomponents/Table/subcomponents/ActionsColumn.js +1 -1
- package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.d.ts +1 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +79 -4
- package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/HeaderRenderClick.d.ts +5 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/HeaderRenderClick.js +146 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/index.d.ts +1 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/index.js +1 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/types.d.ts +131 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +1 -1
- package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
- package/components/DataGrid/tests/HeaderRenderClick.test.d.ts +1 -0
- package/components/DataGrid/tests/useHeaderMenuActions.test.d.ts +1 -0
- package/components/DataGrid/types.d.ts +53 -0
- package/components/DynamicFilter/DynamicFilter.styles.js +99 -90
- package/components/DynamicFilter/slots/SlotsEnum.d.ts +0 -3
- package/components/DynamicFilter/slots/SlotsEnum.js +0 -3
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +0 -9
- package/components/DynamicFilter/slots/dynamicFilterSlots.js +3 -19
- package/components/DynamicFilter/store/DynamicFilterContext.js +67 -28
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +1 -1
- package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.d.ts +1 -0
- package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -1
- package/components/DynamicFilter/subcomponents/InputFilter/InputFilter.js +2 -0
- package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +24 -18
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +4 -1
- package/components/DynamicFilter/types.d.ts +3 -0
- package/components/DynamicSort/DynamicSort.js +10 -6
- package/components/DynamicSort/DynamicSort.styles.js +92 -90
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +0 -9
- package/components/DynamicSort/slots/DynamicSortSlots.js +7 -23
- package/components/DynamicSort/slots/SlotsEnum.d.ts +1 -4
- package/components/DynamicSort/slots/SlotsEnum.js +1 -4
- package/components/DynamicSort/store/DynamicSortContext.js +96 -67
- package/components/DynamicSort/store/DynamicSortStore.js +53 -4
- package/components/DynamicSort/store/types.d.ts +11 -0
- package/components/DynamicSort/subcomponents/FieldTypes/StringSort/index.js +2 -2
- package/components/DynamicSort/subcomponents/InputSort/InputSort.js +2 -0
- package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +22 -17
- package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
- package/components/DynamicSort/subcomponents/SortActions/SortActions.js +2 -2
- package/components/DynamicSort/subcomponents/SortActions/useSortActions.d.ts +2 -0
- package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -1
- package/components/DynamicSort/types.d.ts +4 -0
- package/components/LanguagePopover/LanguagePopover.js +7 -5
- package/components/LanguagePopover/LanguagePopover.styles.js +32 -4
- package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +9 -3
- package/components/LanguagePopover/slots/LanguagePopoverSlots.js +1 -3
- package/components/LanguagePopover/types.d.ts +6 -1
- package/components/PaperForm/styles.js +2 -1
- package/components/PropertyValue/PropertyValue.js +2 -1
- package/components/PropertyValue/PropertyValue.styles.js +7 -4
- package/components/PropertyValue/types.d.ts +4 -0
- package/components/SideBar/SideBar.js +4 -2
- package/components/SideBar/constants.d.ts +26 -2
- package/components/SideBar/constants.js +19 -7
- package/components/SideBar/context/sideBarContext/index.js +19 -5
- package/components/SideBar/context/sideBarContext/types.d.ts +22 -1
- package/components/SideBar/helpers/getMenuDataWithState/index.js +25 -8
- package/components/SideBar/hooks/useCollapse/index.d.ts +1 -0
- package/components/SideBar/hooks/useCollapse/index.js +1 -0
- package/components/SideBar/hooks/useCollapse/useCollapse.d.ts +11 -0
- package/components/SideBar/hooks/useCollapse/useCollapse.js +23 -0
- package/components/SideBar/slots/SideBarEnum.d.ts +5 -5
- package/components/SideBar/slots/SideBarEnum.js +9 -11
- package/components/SideBar/slots/SideBarSlots.d.ts +9 -3
- package/components/SideBar/slots/SideBarSlots.js +36 -28
- package/components/SideBar/styles.js +2 -4
- package/components/SideBar/subcomponents/ContentComponent/index.js +39 -19
- package/components/SideBar/subcomponents/ContentComponent/style.js +171 -22
- package/components/SideBar/subcomponents/{FooterSidebar → Promotion}/index.d.ts +2 -2
- package/components/SideBar/subcomponents/{FooterSidebar → Promotion}/index.js +8 -15
- package/components/SideBar/subcomponents/{FooterSidebar → Promotion}/styles.js +2 -2
- package/components/SideBar/subcomponents/Promotion/types.d.ts +5 -0
- package/components/SideBar/subcomponents/SideBarDesktop/index.js +1 -1
- package/components/SideBar/subcomponents/SideBarDesktop/styles.js +10 -14
- package/components/SideBar/subcomponents/SideBarMobile/index.js +1 -1
- package/components/SideBar/subcomponents/TreeGroupItems/index.d.ts +5 -0
- package/components/SideBar/subcomponents/{ContentGroups → TreeGroupItems}/index.js +16 -18
- package/components/SideBar/subcomponents/{ContentGroups → TreeGroupItems}/styles.js +5 -7
- package/components/SideBar/subcomponents/{ContentGroups/subcomponents/ContainerMenuItemsMain → TreeGroupItems}/subcomponents/ArrowIcon/index.js +10 -7
- package/components/SideBar/subcomponents/{ContentGroups/subcomponents/ContainerMenuItemsMain → TreeGroupItems/subcomponents/NodeMenuItem}/index.d.ts +3 -3
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItem/index.js +69 -0
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItem/types.d.ts +9 -0
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItemMain/NodeMenuItemMain.d.ts +5 -0
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItemMain/NodeMenuItemMain.js +56 -0
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItemMain/index.d.ts +1 -0
- package/components/SideBar/subcomponents/TreeGroupItems/types.d.ts +4 -0
- package/components/SideBar/types.d.ts +7 -3
- package/components/WindowBase/WindowBase.js +7 -1
- package/components/WindowBase/WindowBase.styles.js +50 -15
- package/components/WindowBase/constants.d.ts +1 -0
- package/components/WindowBase/constants.js +5 -1
- package/components/WindowBase/slots/WindowBaseEnum.d.ts +2 -1
- package/components/WindowBase/slots/WindowBaseEnum.js +1 -0
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +3 -0
- package/components/WindowBase/slots/WindowBaseSlots.js +6 -1
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +11 -5
- package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
- package/components/WindowBase/subcomponents/Header/useButtonActions.js +4 -2
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +5 -0
- package/components/WindowBase/types.d.ts +16 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +13 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +26 -20
- package/components/areas/contexts/AreasContext/store.js +2 -2
- package/components/extended/React-Resizable/helpers.js +1 -1
- package/components/extended/React-resizable-panels/SplitLayout.js +6 -3
- package/components/extended/React-resizable-panels/SplitLayout.styles.js +78 -36
- package/components/extended/React-resizable-panels/constants.d.ts +6 -0
- package/components/extended/React-resizable-panels/constants.js +5 -1
- package/components/extended/React-resizable-panels/slots/SplitLayoutEnum.d.ts +2 -1
- package/components/extended/React-resizable-panels/slots/SplitLayoutEnum.js +1 -0
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +3 -0
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.js +7 -1
- package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.js +1 -0
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.styles.js +3 -38
- package/components/hook-form/RHFormContext/index.d.ts +1 -1
- package/components/mui_extended/Accordion/styles.js +10 -2
- package/components/mui_extended/Button/Button.js +3 -1
- package/components/mui_extended/Button/ButtonStyles.js +6 -1
- package/components/mui_extended/Button/types.d.ts +1 -1
- package/components/mui_extended/CheckBox/CheckBox.styles.js +2 -1
- package/components/mui_extended/Divider/index.d.ts +1 -0
- package/components/mui_extended/Divider/index.js +1 -0
- package/components/mui_extended/NavLink/NavLink.js +3 -1
- package/components/mui_extended/NavLink/NavLink.styles.js +2 -1
- package/components/mui_extended/NavLink/types.d.ts +3 -1
- package/components/mui_extended/Tab/Tab.styles.js +2 -1
- package/components/mui_extended/TabContent/TabContent.styles.js +2 -8
- package/components/mui_extended/TextField/TextField.js +1 -1
- package/components/mui_extended/TextField/TextField.styles.js +20 -18
- package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
- package/components/mui_extended/index.d.ts +1 -0
- package/hooks/useDynamicFilterAndSort/styles.js +1 -1
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.d.ts +3 -0
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +334 -88
- package/index.d.ts +1 -0
- package/index.js +23 -20
- package/package.json +4 -3
- package/storybook/components/DataGrid/DataGrid.stories.d.ts +22 -0
- package/storybook/components/DataGrid/MswHandles.d.ts +1 -0
- package/storybook/components/DataGrid/helpers/filterFieldsSeedData.d.ts +5 -0
- package/storybook/components/DataGrid/helpers/getRows.d.ts +4 -0
- package/storybook/components/DataGrid/helpers/getRowsWithBackendSimulation.d.ts +9 -0
- package/storybook/components/DataGrid/helpers/sortsSeedData.d.ts +5 -0
- package/storybook/components/DataGrid/helpers/types.d.ts +1 -0
- package/storybook/components/DataGrid/helpers/useSeed.d.ts +3 -0
- package/storybook/components/DataGrid/subcomponents/DataGridRender.d.ts +2 -0
- package/storybook/components/DynamicFilter/DynamicFilter.stories.d.ts +27 -11
- package/storybook/components/DynamicSort/DynamicSort.stories.d.ts +26 -10
- package/storybook/components/SideBar/subcomponents/FooterPromotion/FooterPromotion.d.ts +4 -0
- package/storybook/components/SideBar/subcomponents/FooterPromotion/constants.d.ts +3 -0
- package/storybook/components/SideBar/subcomponents/FooterPromotion/index.d.ts +1 -0
- package/storybook/components/extended/mui/IconButton/IconButton.stories.d.ts +1 -0
- package/storybook/components/extended/mui/TextField/TextFieldText.stories.d.ts +1 -0
- package/utils/index.d.ts +1 -0
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.js +0 -63
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +0 -47
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/types.d.ts +0 -7
- package/components/SideBar/subcomponents/ContentGroups/types.d.ts +0 -4
- package/components/SideBar/subcomponents/FooterSidebar/types.d.ts +0 -5
- package/components/SideBar/subcomponents/HeaderSidebar/index.js +0 -25
- /package/components/SideBar/subcomponents/{FooterSidebar → Promotion}/styles.d.ts +0 -0
- /package/components/SideBar/subcomponents/{ContentGroups → TreeGroupItems}/styles.d.ts +0 -0
- /package/components/SideBar/subcomponents/{ContentGroups/subcomponents/ContainerMenuItemsMain → TreeGroupItems}/subcomponents/ArrowIcon/index.d.ts +0 -0
- /package/components/SideBar/subcomponents/{ContentGroups/subcomponents/ContainerMenuItemsMain → TreeGroupItems}/subcomponents/ArrowIcon/types.d.ts +0 -0
package/index.js
CHANGED
|
@@ -33,7 +33,7 @@ import { D as D2 } from "./components/DataGrid/DataGrid.js";
|
|
|
33
33
|
import { g as g5 } from "./components/DataGrid/dictionary.js";
|
|
34
34
|
import { N, T as T2 } from "./components/DataGrid/subcomponents/editors/TextEditor/index.js";
|
|
35
35
|
import { g as g6 } from "./components/DataGrid/utils/getDataGridRowsFromSet.js";
|
|
36
|
-
import { b as b3, a as a4,
|
|
36
|
+
import { b as b3, a as a4, e } from "./components/DataGrid/constants.js";
|
|
37
37
|
import { C as C2 } from "./components/DataGrid/formatters/ColumnBooleanFormatter/formatter.js";
|
|
38
38
|
import { u as u2 } from "./components/DataGrid/formatters/ColumnBooleanFormatter/useColumnBoolean.js";
|
|
39
39
|
import { C as C3 } from "./components/DataGrid/formatters/ColumnConcatenatedValuesFormatter/formatter.js";
|
|
@@ -56,7 +56,7 @@ import { u as u10 } from "./components/DataGrid/formatters/ColumnUncertaintyForm
|
|
|
56
56
|
import { C as C12 } from "./components/DataGrid/formatters/ColumnChipStatusFormatter/formatter.js";
|
|
57
57
|
import { u as u11 } from "./components/DataGrid/formatters/ColumnChipStatusFormatter/useColumnChipStatus.js";
|
|
58
58
|
import { D as D3 } from "./components/DragResizeWindowRND/DragResizeWindowRND.js";
|
|
59
|
-
import { d as
|
|
59
|
+
import { d as d2 } from "./components/DragResizeWindowRND/classes/index.js";
|
|
60
60
|
import { g as g7 } from "./components/DynamicFilter/dictionary.js";
|
|
61
61
|
import { a as a5, g as g8 } from "./components/DynamicFilter/helpers/frontEndHelpers.js";
|
|
62
62
|
import { g as g9 } from "./components/DynamicFilter/helpers/getRawFiltersForNetwork.js";
|
|
@@ -106,8 +106,9 @@ import { T as T15 } from "./components/mui_extended/ToggleIconButton/slots/Toggl
|
|
|
106
106
|
import { T as T16 } from "./components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.js";
|
|
107
107
|
import { N as N2 } from "./components/mui_extended/NavLink/NavLink.js";
|
|
108
108
|
import { D as D6 } from "./components/mui_extended/Dialog/Dialog.js";
|
|
109
|
+
import { D as D7 } from "./components/mui_extended/Divider/Divider.js";
|
|
109
110
|
import { B as B6 } from "./components/formatters/BooleanFormatter/BooleanFormatter.js";
|
|
110
|
-
import { D as
|
|
111
|
+
import { D as D8, g as g12 } from "./components/formatters/DateFormatter/DateFormatter.js";
|
|
111
112
|
import { U, g as g13 } from "./components/formatters/UncertaintyFormatter/UncertaintyFormatter.js";
|
|
112
113
|
import { P as P3, g as g14 } from "./components/formatters/PointsFormatter/PointsFormatter.js";
|
|
113
114
|
import { C as C15, g as g15 } from "./components/formatters/ConcatenatedFormatter/ConcatenatedFormatter.js";
|
|
@@ -115,11 +116,11 @@ import { P as P4, u as u12 } from "./components/formatters/PeriodFormatter/Perio
|
|
|
115
116
|
import { P as P5, g as g16 } from "./components/formatters/PriceFormatter/PriceFormatter.js";
|
|
116
117
|
import { C as C16 } from "./components/formatters/ChipStatusFormatter/ChipStatusFormatter.js";
|
|
117
118
|
import { g as g17 } from "./components/formatters/DistanceToNowFormatter/dictionary.js";
|
|
118
|
-
import { D as
|
|
119
|
+
import { D as D9 } from "./components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.js";
|
|
119
120
|
import { g as g18 } from "./components/formatters/dictionary.js";
|
|
120
121
|
import { G } from "./components/GridLayout/GridLayout.js";
|
|
121
122
|
import { R as R3 } from "./components/GridLayout/subcomponents/Responsive/index.js";
|
|
122
|
-
import { c as c2, e, d as
|
|
123
|
+
import { c as c2, e as e2, d as d3 } from "./components/GridLayout/subcomponents/Responsive/responsiveUtils.js";
|
|
123
124
|
import { i, k } from "./components/GridLayout/utils.js";
|
|
124
125
|
import { w } from "./components/GridLayout/subcomponents/withSizeProvider/index.js";
|
|
125
126
|
import { H as H2 } from "./components/HelmetPage/index.js";
|
|
@@ -179,7 +180,7 @@ import { u as u14 } from "./components/WindowBase/hooks/useWindowToolsMF/index.j
|
|
|
179
180
|
import { u as u15, a as a11 } from "./components/WindowBase/hooks/useDynamicMFParameters/index.js";
|
|
180
181
|
import { M as M6, W as W2, a as a12 } from "./components/WindowBase/contexts/WindowToolsMFContext/WindowToolsMFContext.js";
|
|
181
182
|
import { c as c3 } from "./components/WindowBase/contexts/DynamicMFParmsContext/store.js";
|
|
182
|
-
import { D as
|
|
183
|
+
import { D as D10, a as a13, M as M7 } from "./components/WindowBase/contexts/DynamicMFParmsContext/DynamicMFParmsContext.js";
|
|
183
184
|
import { W as W3 } from "./components/WindowConfirm/WindowConfirm.js";
|
|
184
185
|
import { a as a14, g as g27 } from "./components/ModalDialog/dictionary.js";
|
|
185
186
|
import { M as M8 } from "./components/ModalDialog/ModalDialog.js";
|
|
@@ -209,12 +210,12 @@ import { g as g30 } from "./utils/getComponentUtilityClass.js";
|
|
|
209
210
|
import { g as g31 } from "./utils/getPaletteColor.js";
|
|
210
211
|
import { g as g32 } from "./utils/getTypographyStyles.js";
|
|
211
212
|
import { g as g33 } from "./utils/getIconColor.js";
|
|
212
|
-
import { a as a16 } from "./utils/getSizeStyles/getSizeStyles.js";
|
|
213
|
+
import { a as a16, g as g34 } from "./utils/getSizeStyles/getSizeStyles.js";
|
|
213
214
|
import { O as O2 } from "./utils/ObjectQueue.js";
|
|
214
|
-
import { g as
|
|
215
|
+
import { g as g35, a as a17 } from "./utils/getComponentSlotRoot.js";
|
|
215
216
|
import { f } from "./utils/formatDistanceToNow/formatDistanteToNow.js";
|
|
216
|
-
import { g as
|
|
217
|
-
import { g as
|
|
217
|
+
import { g as g36 } from "./utils/getValidDate.js";
|
|
218
|
+
import { g as g37 } from "./utils/getNullGuard.js";
|
|
218
219
|
export {
|
|
219
220
|
A7 as AREAS_DICCTIONARY,
|
|
220
221
|
a3 as AREAS_DICTIONARY_ID,
|
|
@@ -258,15 +259,16 @@ export {
|
|
|
258
259
|
C15 as ConcatenatedFormatter,
|
|
259
260
|
b3 as DATAGRID_ROW_HEADER_HEIGHTS,
|
|
260
261
|
a4 as DATAGRID_ROW_HEIGHTS,
|
|
261
|
-
|
|
262
|
+
e as DATAGRID_SEMANTIC_WIDTHS,
|
|
262
263
|
D as DICTIONARY,
|
|
263
264
|
D2 as DataGrid,
|
|
264
|
-
|
|
265
|
+
D8 as DateFormatter,
|
|
265
266
|
D6 as Dialog,
|
|
266
|
-
|
|
267
|
+
D9 as DistanceToNowFormatter,
|
|
268
|
+
D7 as Divider,
|
|
267
269
|
D3 as DragResizeWindowRND,
|
|
268
270
|
D4 as DynamicFilter,
|
|
269
|
-
|
|
271
|
+
D10 as DynamicMFParmsContext,
|
|
270
272
|
a13 as DynamicMFParmsProvider,
|
|
271
273
|
D5 as DynamicSort,
|
|
272
274
|
F as FixedSizeList,
|
|
@@ -379,20 +381,20 @@ export {
|
|
|
379
381
|
W2 as WindowToolsMFContext,
|
|
380
382
|
a12 as WindowToolsMFProvider,
|
|
381
383
|
c2 as addLayoutItemToBreakPointIfNoExists,
|
|
382
|
-
|
|
384
|
+
e2 as addLayoutItemToBreakPoints,
|
|
383
385
|
c4 as capitalizeFirstLetter,
|
|
384
|
-
|
|
386
|
+
d3 as cloneLayouts,
|
|
385
387
|
c3 as createDynamicMFStore,
|
|
386
388
|
c as createToaster,
|
|
387
389
|
d as defaultCommonActionsDictionary,
|
|
388
|
-
|
|
390
|
+
d2 as dragResizeWindowRNDClasses,
|
|
389
391
|
f as formatDistanceToNow,
|
|
390
392
|
g as getAccountPopoverDictionary,
|
|
391
393
|
g2 as getAppBarDictionary,
|
|
392
394
|
b2 as getAreasComponentsDictionary,
|
|
393
395
|
g3 as getAreasDictionary,
|
|
394
396
|
g4 as getCommonActionsDictionary,
|
|
395
|
-
|
|
397
|
+
g35 as getComponentClasses,
|
|
396
398
|
a17 as getComponentSlotRoot,
|
|
397
399
|
g30 as getComponentUtilityClass,
|
|
398
400
|
g5 as getDataGridComponentsDictionary,
|
|
@@ -416,7 +418,7 @@ export {
|
|
|
416
418
|
a14 as getModalDialogComponentsDictionary,
|
|
417
419
|
g27 as getModalDictionary,
|
|
418
420
|
g25 as getNoItemSelectedComponentsDictionary,
|
|
419
|
-
|
|
421
|
+
g37 as getNullGuard,
|
|
420
422
|
g26 as getObjectLogsComponentsDictionary,
|
|
421
423
|
g11 as getPagerComponentsDictionary,
|
|
422
424
|
g31 as getPaletteColor,
|
|
@@ -425,9 +427,10 @@ export {
|
|
|
425
427
|
g19 as getRHFAutocompleteComponentsDictionary,
|
|
426
428
|
g9 as getRawFiltersForNetwork,
|
|
427
429
|
g10 as getRawSortsForNetwork,
|
|
430
|
+
g34 as getSizeStyles,
|
|
428
431
|
g32 as getTypographyStyles,
|
|
429
432
|
g13 as getUncertaintyFormat,
|
|
430
|
-
|
|
433
|
+
g36 as getValidDate,
|
|
431
434
|
g29 as getformAddEditDictionary,
|
|
432
435
|
i as isEqualLayout,
|
|
433
436
|
k as isEqualLayouts,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.62",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "M4L Components",
|
|
6
6
|
"lint-staged": {
|
|
@@ -62,9 +62,10 @@
|
|
|
62
62
|
"@types/react": "18.3.23",
|
|
63
63
|
"@types/react-dom": "18.3.7",
|
|
64
64
|
"react-dom": "18.3.1",
|
|
65
|
-
"storybook": "^8.3.4",
|
|
66
65
|
"attr-accept": "2.2.2",
|
|
67
|
-
"@vitejs/plugin-react": "4.3.4"
|
|
66
|
+
"@vitejs/plugin-react": "4.3.4",
|
|
67
|
+
"storybook": "8.3.4",
|
|
68
|
+
"@storybook/react": "8.3.4"
|
|
68
69
|
},
|
|
69
70
|
"overrides": {
|
|
70
71
|
"glob": "^10.4.5",
|
|
@@ -49,5 +49,27 @@ export declare const RowMenuActions: Story;
|
|
|
49
49
|
* Filter y Sort en busqueda manual
|
|
50
50
|
*/
|
|
51
51
|
export declare const CustomHeaderFilterSortManual: Story;
|
|
52
|
+
/**
|
|
53
|
+
* DataGrid con leftActions, rightActions y
|
|
54
|
+
* Filter y Sort en busqueda automatica
|
|
55
|
+
*/
|
|
56
|
+
export declare const CustomHeaderAutomaticWithExternalFiltersAndSorts: Story;
|
|
57
|
+
/**
|
|
58
|
+
* DataGrid con leftActions, rightActions y
|
|
59
|
+
* Filter y Sort en busqueda manual
|
|
60
|
+
*/
|
|
61
|
+
export declare const CustomHeaderManualWithExternalFiltersAndSorts: Story;
|
|
52
62
|
export declare const DynamicColumns: Story;
|
|
63
|
+
/**
|
|
64
|
+
* Menú de columna con botón de remover sort deshabilitado
|
|
65
|
+
*/
|
|
66
|
+
export declare const HeaderRenderClickRemoveExternalSortDisabled: Story;
|
|
67
|
+
/**
|
|
68
|
+
* Menú de columna con botón de agregar filtro deshabilitado
|
|
69
|
+
*/
|
|
70
|
+
export declare const HeaderRenderClickAddFilterDisabled: Story;
|
|
71
|
+
/**
|
|
72
|
+
* Demostración completa: aplica sort DESC en 'phone', agrega filtro 'email contains 5' y cambia sort DESC en 'name'
|
|
73
|
+
*/
|
|
74
|
+
export declare const HeaderRenderClickFullActions: Story;
|
|
53
75
|
export default meta;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const mswHandles: import('msw').HttpHandler[];
|
|
@@ -3,3 +3,7 @@ import { RowType, SeedProps } from './types';
|
|
|
3
3
|
* Función para generar las filas para el DataGrid de Storybook
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRows: (props: SeedProps) => RowType[];
|
|
6
|
+
/**
|
|
7
|
+
* Función para generar filas con nombres duplicados para probar ordenamiento múltiple
|
|
8
|
+
*/
|
|
9
|
+
export declare const getRowsForMultiSort: (props: SeedProps) => RowType[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RowType } from './types';
|
|
2
|
+
import { RawFilterFieldApply } from '../../../../src/components/DynamicFilter/types';
|
|
3
|
+
import { RawSortFieldApply } from '../../../../src/components/DynamicSort/types';
|
|
4
|
+
/**
|
|
5
|
+
* Función que simula el comportamiento del backend
|
|
6
|
+
* Recibe exactamente los mismos parámetros que se enviarían al backend real
|
|
7
|
+
*/
|
|
8
|
+
export declare function getRowsWithBackendSimulation(originalRows: RowType[], f: Omit<RawFilterFieldApply, 'ft'>[] | undefined, // filtros en formato snake_case (sin ft)
|
|
9
|
+
s: RawSortFieldApply[] | undefined): RowType[];
|
|
@@ -4,5 +4,8 @@ import { SeedProps } from './types';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const useSeed: (props: SeedProps) => {
|
|
6
6
|
columns: readonly import('./types').Column<import('./types').RowType, unknown>[];
|
|
7
|
+
filters: import('../../../../src').FilterField[];
|
|
8
|
+
sorts: import('../../../../src').SortField[];
|
|
7
9
|
rows: import('./types').RowType[];
|
|
10
|
+
rowsMultiSort: import('./types').RowType[];
|
|
8
11
|
};
|
|
@@ -8,6 +8,8 @@ interface DataGridRenderProps<TRow, TSummaryRow, TKey extends RowKey = RowKey> {
|
|
|
8
8
|
dynamicColumns?: boolean;
|
|
9
9
|
filterSortAutomatic?: boolean;
|
|
10
10
|
visibleRefreshFilterSort?: boolean;
|
|
11
|
+
withExternalSortSettings?: boolean;
|
|
12
|
+
withExternalFilterSettings?: boolean;
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
13
15
|
* Componente que renderiza el DataGrid para el storybook
|
|
@@ -8,26 +8,42 @@ type Story = StoryObj<typeof DynamicFilter>;
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const Base: Story;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Filtro habilitado automático con filtros aplicados.
|
|
12
12
|
*/
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const H001_EnabledAutomaticFiltersApplied: Story;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Filtro habilitado automático sin filtros aplicados.
|
|
16
|
+
*/
|
|
17
|
+
export declare const H002_EnabledAutomaticNoFiltersApplied: Story;
|
|
18
|
+
/**
|
|
19
|
+
* Filtro habilitado automático sin filtros aplicados, con PopoverMenuFields abierto.
|
|
20
|
+
*/
|
|
21
|
+
export declare const H003_EnabledAutomaticNoFiltersAppliedPopoverMenuFieldsOpen: Story;
|
|
22
|
+
/**
|
|
23
|
+
* Filtro habilitado automático sin filtros aplicados, con popoverFilter abierto.
|
|
16
24
|
*/
|
|
17
|
-
export declare const
|
|
25
|
+
export declare const H004_EnabledAutomaticNoFiltersAppliedPopoverFilterOpen: Story;
|
|
18
26
|
/**
|
|
19
|
-
*
|
|
27
|
+
* Filtro habilitado En formato manual con filtros aplicados, no dirty.
|
|
20
28
|
*/
|
|
21
|
-
export declare const
|
|
29
|
+
export declare const H005_EnabledManualFiltersAppliedNoDirty: Story;
|
|
22
30
|
/**
|
|
23
|
-
*
|
|
31
|
+
* Filtro habilitado En formato manual con filtros aplicados y en estado dirty.
|
|
32
|
+
*/
|
|
33
|
+
export declare const H006_EnabledManualFiltersAppliedDirty: Story;
|
|
34
|
+
/**
|
|
35
|
+
* Filtro habilitado En formato manual sin filtros aplicados.
|
|
36
|
+
*/
|
|
37
|
+
export declare const H007_EnabledManualNoFiltersApplied: Story;
|
|
38
|
+
/**
|
|
39
|
+
* DynamicFilter With props `visibleRefresh=true`
|
|
24
40
|
*/
|
|
25
|
-
export declare const
|
|
41
|
+
export declare const H008_WithAutomaticVisibleRefreshFalse: Story;
|
|
26
42
|
/**
|
|
27
|
-
* DynamicFilter
|
|
43
|
+
* DynamicFilter con skeleton
|
|
28
44
|
*/
|
|
29
|
-
export declare const
|
|
45
|
+
export declare const H009_WithSkeleton: Story;
|
|
30
46
|
/**
|
|
31
47
|
* DynamicFilter with errors
|
|
32
48
|
*/
|
|
33
|
-
export declare const
|
|
49
|
+
export declare const H010_WithErrors: Story;
|
|
@@ -8,22 +8,38 @@ type Story = StoryObj<typeof DynamicSort>;
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const Base: Story;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* sort habilitado automático con sorts aplicados.
|
|
12
12
|
*/
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const H001_EnabledAutomaticSortsApplied: Story;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* sort habilitado automático sin sorts aplicados.
|
|
16
16
|
*/
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const H002_EnabledAutomaticNoSortsApplied: Story;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* sort habilitado automático sin sorts aplicados, con PopoverMenuFields abierto.
|
|
20
20
|
*/
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const H003_EnabledAutomaticNoSortsAppliedPopoverMenuFieldsOpen: Story;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* sort habilitado automático sin sorts aplicados, con popoverSort abierto.
|
|
24
24
|
*/
|
|
25
|
-
export declare const
|
|
25
|
+
export declare const H004_EnabledAutomaticNoSortsAppliedPopoverSortOpen: Story;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* sort habilitado En formato manual con sorts aplicados, no dirty.
|
|
28
28
|
*/
|
|
29
|
-
export declare const
|
|
29
|
+
export declare const H005_EnabledManualSortsAppliedNoDirty: Story;
|
|
30
|
+
/**
|
|
31
|
+
* sort habilitado En formato manual con sorts aplicados y en estado dirty.
|
|
32
|
+
*/
|
|
33
|
+
export declare const H006_EnabledManualSortsAppliedDirty: Story;
|
|
34
|
+
/**
|
|
35
|
+
* sort habilitado En formato manual sin sorts aplicados.
|
|
36
|
+
*/
|
|
37
|
+
export declare const H007_EnabledManualNoSortsApplied: Story;
|
|
38
|
+
/**
|
|
39
|
+
* DynamicSort With props `visibleRefresh=true`
|
|
40
|
+
*/
|
|
41
|
+
export declare const H008_WithAutomaticVisibleRefreshFalse: Story;
|
|
42
|
+
/**
|
|
43
|
+
* DynamicSort con skeleton
|
|
44
|
+
*/
|
|
45
|
+
export declare const H009_WithSkeleton: Story;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const POWERBY_LABEL = "label_powerby";
|
|
2
|
+
export declare const IMAGE_ILLUSTRATION = "https://s3.us-east-1.amazonaws.com/static.assets.gclick/frontend/images/promotional/sidebar/assets/img/illustration.svg";
|
|
3
|
+
export declare const IMAGE_POWERBY = "https://s3.us-east-1.amazonaws.com/static.assets.gclick/frontend/images/promotional/sidebar/assets/img/powerby.svg";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FooterPromotion } from './FooterPromotion';
|
package/utils/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './getComponentSlotRoot';
|
|
|
7
7
|
export { getTypographyStyles } from './getTypographyStyles';
|
|
8
8
|
export { getIconColor } from './getIconColor';
|
|
9
9
|
export { getHeightSizeStyles } from './getSizeStyles';
|
|
10
|
+
export { getSizeStyles } from './getSizeStyles';
|
|
10
11
|
export * from './formatDistanceToNow';
|
|
11
12
|
export * from './getValidDate';
|
|
12
13
|
export * from './getNullGuard';
|
package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Collapse } from "@mui/material";
|
|
3
|
-
import { useState } from "react";
|
|
4
|
-
import { useIsMobile } from "@m4l/graphics";
|
|
5
|
-
import clsx from "clsx";
|
|
6
|
-
import { u as useSideBar } from "../../../../hooks/useSideBar/index.js";
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../../../../../test/constants_no_mock.js";
|
|
8
|
-
import { g as getNameDataTestId } from "../../../../tests/utils.js";
|
|
9
|
-
import { A as ArrowIcon } from "./subcomponents/ArrowIcon/index.js";
|
|
10
|
-
import { h as ContainerMenuItemsStyled } from "../../../../slots/SideBarSlots.js";
|
|
11
|
-
import { a as getComponentSlotRoot } from "../../../../../../utils/getComponentSlotRoot.js";
|
|
12
|
-
import { I as ITEM_ACTIVE, b as ITEM_IN_TREE_ACTIVE, L as LIST_MENU_ITEM } from "../../../../constants.js";
|
|
13
|
-
import { u as useComponentSize } from "../../../../../../hooks/useComponentSize/useComponentSize.js";
|
|
14
|
-
import { M as MenuItem } from "../../../../../mui_extended/MenuItem/MenuItem.js";
|
|
15
|
-
function ContainerMenuItemsMain(props) {
|
|
16
|
-
const { item, size } = props;
|
|
17
|
-
const { onMenuItemClick, onToggleVisible, urlIconPrefix } = useSideBar();
|
|
18
|
-
const [openSub, setOpenSub] = useState(props.openSubItem ?? false);
|
|
19
|
-
const hasChildren = item.children && Array.isArray(item.children) && item.children.length > 0;
|
|
20
|
-
const isMobile = useIsMobile();
|
|
21
|
-
const { currentSize } = useComponentSize(size);
|
|
22
|
-
const adjustedSize = currentSize === "small" || currentSize === "medium" ? currentSize : "medium";
|
|
23
|
-
const ownerState = {
|
|
24
|
-
active: item.active,
|
|
25
|
-
itemInTreeActive: item.itemInTreeActive,
|
|
26
|
-
sidebarSize: adjustedSize
|
|
27
|
-
};
|
|
28
|
-
const handlerClick = () => {
|
|
29
|
-
onMenuItemClick(item);
|
|
30
|
-
setOpenSub(!openSub);
|
|
31
|
-
if (isMobile && (!hasChildren || hasChildren === void 0)) {
|
|
32
|
-
onToggleVisible(true);
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
const classRoot = getComponentSlotRoot(LIST_MENU_ITEM);
|
|
36
|
-
return /* @__PURE__ */ jsxs(
|
|
37
|
-
ContainerMenuItemsStyled,
|
|
38
|
-
{
|
|
39
|
-
className: clsx(classRoot),
|
|
40
|
-
role: "listitem",
|
|
41
|
-
ownerState,
|
|
42
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("menuItems") } : {},
|
|
43
|
-
children: [
|
|
44
|
-
/* @__PURE__ */ jsx(
|
|
45
|
-
MenuItem,
|
|
46
|
-
{
|
|
47
|
-
className: clsx(item.active ? ITEM_ACTIVE : ITEM_IN_TREE_ACTIVE),
|
|
48
|
-
label: item.title,
|
|
49
|
-
selected: item.active || item.itemInTreeActive,
|
|
50
|
-
startIcon: `${urlIconPrefix}${item.iconUrl}`,
|
|
51
|
-
endIcon: hasChildren ? /* @__PURE__ */ jsx(ArrowIcon, { openState: openSub, active: item.active }) : null,
|
|
52
|
-
onClick: () => handlerClick(),
|
|
53
|
-
size: adjustedSize
|
|
54
|
-
}
|
|
55
|
-
),
|
|
56
|
-
hasChildren ? /* @__PURE__ */ jsx(Collapse, { in: openSub, timeout: "auto", unmountOnExit: true, children: (item.children || []).map((child) => /* @__PURE__ */ jsx(ContainerMenuItemsMain, { item: child, size: adjustedSize }, child.title)) }) : null
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
export {
|
|
62
|
-
ContainerMenuItemsMain as C
|
|
63
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { a as getHeightSizeStyles } from "../../../../../../utils/getSizeStyles/getSizeStyles.js";
|
|
2
|
-
import { I as ITEM_ACTIVE, b as ITEM_IN_TREE_ACTIVE } from "../../../../constants.js";
|
|
3
|
-
const containerMenuItemsMainStyles = {
|
|
4
|
-
/**
|
|
5
|
-
* Style aplicado al contenedor de los items del menú
|
|
6
|
-
*/
|
|
7
|
-
containerMenuItems: ({ theme, ownerState }) => ({
|
|
8
|
-
marginLeft: theme.vars.size.baseSpacings.sp4,
|
|
9
|
-
display: "flex",
|
|
10
|
-
flexDirection: "column",
|
|
11
|
-
gap: theme.vars.size.baseSpacings["sp0-5"],
|
|
12
|
-
...getHeightSizeStyles(
|
|
13
|
-
theme.generalSettings.isMobile,
|
|
14
|
-
ownerState?.size || "medium",
|
|
15
|
-
"container",
|
|
16
|
-
(height) => {
|
|
17
|
-
return {
|
|
18
|
-
height: "auto",
|
|
19
|
-
minHeight: height
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
),
|
|
23
|
-
[`&.M4LListMenuItem-root > .M4LMenuItem-root[class*="${ITEM_IN_TREE_ACTIVE}"]`]: {
|
|
24
|
-
borderColor: theme.vars.palette.divider,
|
|
25
|
-
"& span": {
|
|
26
|
-
color: theme.vars.palette.text.primary
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
[`&.M4LListMenuItem-root > .M4LMenuItem-root[class*="${ITEM_IN_TREE_ACTIVE}"] .M4LIconClass-root`]: {
|
|
30
|
-
background: theme.vars.palette.text.primary
|
|
31
|
-
},
|
|
32
|
-
[`&.M4LListMenuItem-root > .M4LMenuItem-root[class*="${ITEM_ACTIVE}"]`]: {
|
|
33
|
-
borderColor: theme.vars.palette.primary.enabled,
|
|
34
|
-
"& span": {
|
|
35
|
-
color: theme.vars.palette.primary.enabled
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"& .MuiCollapse-wrapperInner": {
|
|
39
|
-
display: "flex",
|
|
40
|
-
flexDirection: "column",
|
|
41
|
-
gap: theme.vars.size.baseSpacings["sp0-5"]
|
|
42
|
-
}
|
|
43
|
-
})
|
|
44
|
-
};
|
|
45
|
-
export {
|
|
46
|
-
containerMenuItemsMainStyles as c
|
|
47
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { k as ContainerHeaderSidebarRootStyled, l as ContainerTitleSubtitleStyled } from "../../slots/SideBarSlots.js";
|
|
3
|
-
import { T as Typography } from "../../../mui_extended/Typography/Typography.js";
|
|
4
|
-
import { I as Image } from "../../../Image/Image.js";
|
|
5
|
-
const HeaderSidebar = ({ srcIcon, title, subtitle }) => {
|
|
6
|
-
return /* @__PURE__ */ jsxs(ContainerHeaderSidebarRootStyled, { role: "heading", children: [
|
|
7
|
-
/* @__PURE__ */ jsx(
|
|
8
|
-
Image,
|
|
9
|
-
{
|
|
10
|
-
width: "24px",
|
|
11
|
-
height: "24px",
|
|
12
|
-
src: srcIcon,
|
|
13
|
-
alt: "logo"
|
|
14
|
-
},
|
|
15
|
-
"Logo"
|
|
16
|
-
),
|
|
17
|
-
/* @__PURE__ */ jsxs(ContainerTitleSubtitleStyled, { children: [
|
|
18
|
-
/* @__PURE__ */ jsx(Typography, { variant: "subtitleDens", size: "medium", skeletonWidth: 120, children: title }),
|
|
19
|
-
/* @__PURE__ */ jsx(Typography, { variant: "paragraph", size: "medium", margin: 0, skeletonWidth: 150, children: subtitle })
|
|
20
|
-
] })
|
|
21
|
-
] });
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
HeaderSidebar as H
|
|
25
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|